linq
Here are 983 public repositories matching this topic...
-
Updated
Jan 23, 2022 - C#
-
Updated
Apr 7, 2022 - C#
The .forall
pattern is a great way to create an optional filter for a field that could be defined or not:
case class Person(name: String, age: Int)
val nameOpt: Option[String] = Some("Joe")
run { query[Person].filter(p => lift(nameOpt).forall(_ == p.name)) }
// SELECT p.name, p.age FROM Person p WHERE ? IS NULL OR ? = p.name
// (i.e. when nameOpt := None then the `WHERE ? IS NULL`
SessionFactoryImpl.Close
currently allows the body of the function to be run multiple times as it does not check if it is closed prior to proceeding. This should be changed so that Close
when called from Dispose
does nothing when Close
has been called by the application.
On a general level I am not an expert in NHibernate or FluentNHibernate. I need your help to collect all the improvements and bugs that have been lost in the past and are relevant, and the following NHibernate improvements.
We can just break down everything in Features, Improvements and Bugs. If a new idea or bug just open a issue, if not leave here the reference to the issue or PR (example: #1
-
Updated
Apr 4, 2022 - C#
-
Updated
Mar 17, 2022 - HTML
-
Updated
Mar 14, 2022 - TypeScript
-
Updated
Apr 5, 2022 - C#
-
Updated
Dec 15, 2021 - TypeScript
-
Updated
Mar 23, 2022 - C#
-
Updated
Oct 8, 2021 - C#
-
Updated
May 5, 2020 - C#
-
Updated
Apr 4, 2022 - C#
-
Updated
Oct 1, 2020 - C++
-
Updated
Mar 13, 2022 - TypeScript
-
Updated
Mar 23, 2022 - C#
-
Updated
Nov 2, 2021 - PHP
-
Updated
Mar 10, 2022 - C#
-
Updated
Aug 18, 2020 - C#
-
Updated
Mar 31, 2022 - Pascal
-
Updated
Jan 27, 2022 - C#
Improve this page
Add a description, image, and links to the linq topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the linq topic, visit your repo's landing page and select "manage topics."
I am trying to implement retry logic for Aws Aurora Mysql.
In Linq2db there is retyrpolicy already implemented except there is no way to pass retrypolicy to DataContext.
So I have extended the DataContext as follows.
public class RetryingDataContext : DataContext
{
protected IRetryPolicy _retryPolicy;
public RetryingDataContext(IDataProvider dataProvider, string c