EntityFramework-Reverse-POCO-Code-First-Generator icon indicating copy to clipboard operation
EntityFramework-Reverse-POCO-Code-First-Generator copied to clipboard

.NET6 FakeDbSet<T>

Open bobbyangers opened this issue 4 years ago • 0 comments

When Targetting .net 6.0 and using ef6,

Severity Code Description Project File Line Suppression State Error CS0534 'FakeDbSet<TEntity>' does not implement inherited abstract member 'DbSet<TEntity>.EntityType.get' Tester.Integration.EFCore5 (net6.0) C:<devPath>\EntityFramework-Reverse-POCO-Code-First-Generator\Tester.Integration.EfCore5\Northwind.cs 939 Active

Should add this property (and proper implementation)

    #if NET6_0
    public override IEntityType EntityType { get; }
    #endif

bobbyangers avatar Nov 15 '21 14:11 bobbyangers