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

Compatible with 4.2.0

Open darkflame0 opened this issue 3 years ago • 3 comments

error now:

System.TypeLoadException:“Could not load type 'LinqToDB.Expressions.Extensions' from assembly 'linq2db, Version=4.2.0.0, Culture=neutral, PublicKeyToken=e41013125f9e410a'.”

darkflame0 avatar Sep 06 '22 06:09 darkflame0

Just released new version.

sdanyliv avatar Sep 06 '22 13:09 sdanyliv

@sdanyliv same issue in 4.3.0

      System.TypeLoadException: Could not load type 'LinqToDB.Expressions.ExpressionExtensions' from assembly 'linq2db, Version=4.3.0.0, Culture=neutral, PublicKeyToken=e41013125f9e410a'.
         at LinqToDB.EntityFrameworkCore.EFCoreMetadataReader.GetAttributes[T](Type type, Boolean inherit)
         at LinqToDB.Mapping.MappingSchema.GetAttributes[T](Type type, Boolean inherit)
         at LinqToDB.Mapping.MappingSchema.GetAttributes[T](Type type, Func`2 configGetter, Boolean inherit, Boolean exactForConfiguration)
         at LinqToDB.Mapping.MappingSchema.GetAttribute[T](Type type, Func`2 configGetter, Boolean inherit)
         at LinqToDB.Mapping.EntityDescriptor.Init()
         at LinqToDB.Mapping.EntityDescriptor..ctor(MappingSchema mappingSchema, Type type)
         at LinqToDB.Mapping.MappingSchema.<>c.<GetEntityDescriptor>b__98_0(ICacheEntry`1 o, MappingSchema context)
         at LinqToDB.Common.Internal.Cache.CacheExtensions.GetOrCreate[TItem,TKey,TContext](IMemoryCache`1 cache, TKey key, TContext context, Func`3 factory)
         at LinqToDB.Mapping.MappingSchema.GetEntityDescriptor(Type type)
         at LinqToDB.Linq.Table`1.InitTable(IDataContext dataContext, Expression expression)
         at LinqToDB.Linq.Table`1..ctor(IDataContext dataContext)
         at LinqToDB.DataExtensions.GetTable[T](IDataContext dataContext)

darkflame0 avatar Oct 10 '22 02:10 darkflame0

@sdanyliv , caused by refactoring revert in linq2db. It also reverted extension classes rename. I've renamed them back, so it probably better to release linq2db 4.3.1 as fix

MaceWindu avatar Oct 10 '22 06:10 MaceWindu