示例#1
0
 public EventuateTramDbContextProvider(DbContextOptions <EventuateTramDbContext> dbContextOptions,
                                       EventuateSchema eventuateSchema)
 {
     _eventuateSchema  = eventuateSchema;
     _dbContextOptions = dbContextOptions;
 }
 /// <summary>
 /// Create the context and specify the schema for the eventuate tables
 /// </summary>
 /// <param name="options">Database context options for the base DbContext</param>
 /// <param name="eventuateSchema">Name for the schema to add the eventuate tables to</param>
 public EventuateTramDbContext(DbContextOptions <EventuateTramDbContext> options, EventuateSchema eventuateSchema) : base(options)
 {
     _eventuateSchema = eventuateSchema;
 }