You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
linq2db integration with EF.Core needs access to DbContextOptions for specific DbContext instance or more precisely, to DbContextOptions.Extensions collection.
@MaceWindu For what reason do you need DbContextOptions? The reason I ask is because it is not intended that these options be obtained and used directly. Instead, the way to access options is from registered options extensions. For example:
Created on request from @divega #11657 (comment)
linq2db integration with EF.Core needs access to
DbContextOptions
for specificDbContext
instance or more precisely, toDbContextOptions.Extensions
collection.Current implementation uses reflection to read private field
_options
: https://github.com/linq2db/linq2db.EntityFrameworkCore/blob/master/Source/LinqToDB.EntityFrameworkCore/LinqToDBForEFToolsImplDefault.cs#L300The text was updated successfully, but these errors were encountered: