linq2db.EntityFrameworkCore icon indicating copy to clipboard operation
linq2db.EntityFrameworkCore copied to clipboard

Bring power of Linq To DB to Entity Framework Core projects

Results 69 linq2db.EntityFrameworkCore issues
Sort by recently updated
recently updated
newest added

FYI : I noticed TPH doesn't work well with BulkCopy https://github.com/NosCoreIO/NosCore.Dao/blob/52480cab1ca7bbf3244663441603a4bcbf82b911/src/NosCore.Dao/Dao.cs#L145 the dbcontext https://github.com/NosCoreIO/NosCore.Dao/blob/master/test/NosCore.Dao.Tests/Database/NosCoreContext.cs when running the tests i'm getting "NOT NULL constraint failed: CompositeTphBaseEntity.Discriminator" i don't think TPH is...

when trying to bulk copy a list of entities containing Enum parameters (that are represented by enum in postgres) i'm getting this message. (here for the enum currency) ``` Npgsql.PostgresException...

Let's assume I have theese entities: ```cs public class Base { public Guid Id {get; set;} [ForeignKey("Other")] public Guid OtherId {get; set;} public Other Other {get; set;} } public class...

Hi Svyatoslav, Can you help me solve my next problem... I have a table that records data daily every 15 minutes, based on this frequency, I would have a total...

question

Hello! I have a following data model (using PgSql array data type): ```cs public class Material { public Guid MaterialId {get; set;} public Guid[] Linked {get; set;} [NotMapped] public Guid[]...

question

Trying to use linq2db with existing EF code base and found a case, which might be interesting to you as it seems to be valid for EF, but will fail...

When a column is "ValueGeneratedOnAdd", it appears that linqtodb maps it as an identity column by default, but I believe it should instead be using [columnmetadata].GetValueGenerationStrategy() == SqlServerValueGenerationStrategy.IdentityColumn to determine...

linq2db already had the StringAggregate extension method, I define one more aggregate method like this: ```csharp [Sql.Function("ANY_VALUE", ServerSideOnly = true, IsAggregate = true, ArgIndices = new[] { 0 })] public...

An update on column with DateTimeOffset? throws exception: ``` Exception message: Stack trace: Message: System.ArgumentException : Property 'Int64 Ticks' is not defined for type 'System.Nullable`1[System.DateTimeOffset]' (Parameter 'property') Stack Trace: Expression.Property(Expression...

Steps: 1. Use code like Details.Include(d => d.Master).AsNoTracking().ToLinq2Db().ToArray() 2. Use code like Details.Include(d => d.Master).ToLinq2Db().AsNoTracking().ToArray() Expected result: resul of 1 == result of 2 Actual result: result of 1 duplicates...