public DataContext(DbContextOptions <DataContext> options) : base(options) { _timestampProvider = options.GetService <ITimestampProvider>(); _principal = options.GetService <IPrincipal>(); }
public DataContext(DbContextOptions <DataContext> options) : base(options) { _timestampProvider = options.GetService <ITimestampProvider>(); _principal = options.GetService <IPrincipal>(); }