The Wayback Machine - https://web.archive.org/web/20220407102614/https://github.com/topics/linq
Skip to content
#

linq

Here are 983 public repositories matching this topic...

streamzyuk
streamzyuk commented Feb 18, 2022

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

deusaquilus
deusaquilus commented Oct 26, 2021

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`
jrgcubano
jrgcubano commented Apr 17, 2018

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

QuickLib

Quick development library (AutoMapper, LinQ, IOC Dependency Injection, MemoryCache, Scheduled tasks, Json and Yml Config and Options pattern, Serializers, etc) with crossplatform support for Delphi/Firemonkey (Windows,Linux,OSX/IOS/Android) and freepascal (Windows/Linux).
  • Updated Mar 31, 2022
  • Pascal

Improve this page

Add a description, image, and links to the linq topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the linq topic, visit your repo's landing page and select "manage topics."

Learn more