File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
src/Paillave.EntityFrameworkCoreExtension/Core Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 11using Microsoft . EntityFrameworkCore ;
22using System . Linq ;
3- using Microsoft . EntityFrameworkCore . Migrations ;
43using System . Threading . Tasks ;
54using System . Threading ;
65using System . Collections . Generic ;
7- using Paillave . EntityFrameworkCoreExtension . MigrationOperations ;
86using System . Collections ;
97using Microsoft . EntityFrameworkCore . ChangeTracking ;
108using Microsoft . EntityFrameworkCore . Infrastructure ;
@@ -49,12 +47,12 @@ private void SetupMultiTenant<TEntity>(ModelBuilder modelBuilder) where TEntity
4947 // if (entityType.GetQueryFilter() == null)
5048 entityTypeBuilder . HasQueryFilter ( i => EF . Property < int > ( i , "TenantId" ) == tenantProvider . Current ) ;
5149 }
52- protected override void OnConfiguring ( DbContextOptionsBuilder optionsBuilder )
53- {
54- optionsBuilder . EnableSensitiveDataLogging ( true ) ;
55- optionsBuilder . ReplaceService < IMigrationsSqlGenerator , CustomMigrationsSqlGenerator > ( ) ;
56- base . OnConfiguring ( optionsBuilder ) ;
57- }
50+ // protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
51+ // {
52+ // optionsBuilder.EnableSensitiveDataLogging(true);
53+ // optionsBuilder.ReplaceService<IMigrationsSqlGenerator, CustomMigrationsSqlGenerator>();
54+ // base.OnConfiguring(optionsBuilder);
55+ // }
5856 public override int SaveChanges ( )
5957 {
6058 lock ( _sync )
You can’t perform that action at this time.
0 commit comments