linq2db.EntityFrameworkCore
linq2db.EntityFrameworkCore copied to clipboard
Bring power of Linq To DB to Entity Framework Core projects
My application uses the InsertWhenNotMatched/UpdateWhenMatched combination to insert or update a BLOB type column in a Oracle. When the blob size exceeds 4000 bytes, the exception "ORA-01704 string literal too...
Looks like it could be releated to PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#1801 ``` System.Diagnostics.UnreachableException: The program executed an instruction that was thought to be unreachable. at Pomelo.EntityFrameworkCore.MySql.Query.ExpressionVisitors.Internal.MySqlSqlTranslatingExpressionVisitor.CallBaseVisitMethodCall(MethodCallExpression methodCallExpression) at Pomelo.EntityFrameworkCore.MySql.Query.ExpressionVisitors.Internal.MySqlSqlTranslatingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression) at Microsoft.EntityFrameworkCore.Query.RelationalSqlTranslatingExpressionVisitor.TranslateInternal(Expression expression,...
I am using the linq2db package to implement a "upsert" for a Oracle database. Is it possible to configure the library to produce logs containing the generated sql queries? I...
There doesn't seem to be a way to set `BulkCopyTimeout` for example, on the whole context, rather than per operation, non-globally. The only way to configure it seems to be...
We have a .NET 7 web application. We are using [Microsoft.EntityFrameworkCore.Relational 7.0.13](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Relational/7.0.13), [Npgsql.EntityFrameworkCore.PostgreSQL 7.0.11](https://www.nuget.org/packages/Npgsql.EntityFrameworkCore.PostgreSQL/7.0.11) and [linq2db.EntityFrameworkCore 7.6.0](https://www.nuget.org/packages/linq2db.EntityFrameworkCore/7.6.0). We use database-first approach and scaffold our database tables to C# models. Our...
The code below throws the exception ```Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid object name 'String'.``` ```cs var values = Enumerable.Range(0, 100).Select(i => i.ToString()).ToArray(); await using var linq2dbContext = dbContext.CreateLinqToDBContext(); await using var tempTable...
I understand that this issue might be outside the scope and you might not care to support it. I'm trying to use the library in combination with [this](https://github.com/koenbeuk/EntityFrameworkCore.Projectables). It fails...
I have a situation like this: - The main entity `A` which is stored in the Db and is registered with EF Core. The column names here are UPPER_SNAKE_CASE. -...
Hi, i have different complex search queries defined in a lot of IQueryables, which i materialize using this model: ``` public class SearchResults { public string? Id { get; set;...
hi i think this is a possible bug, can you check this query: ``` pageRepository.Query().Where(x => x.IsActive == true && x.SiteId == accountService.GetSiteId() && x.RecordStatus == RecordStatus.Published) .Select(x => new...