Exemplo n.º 1
0
 private protected override DatabaseModel CreateModel()
 {
     var databaseModel = base.CreateModel();
     var databaseModelBuilder = new DatabaseModelBuilder<TImplementation>(databaseModel);
     OnModelCreating(databaseModelBuilder);
     return databaseModelBuilder.Build();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Extension point for customizing model and analysis
 /// </summary>
 /// <param name="modelBuilder"></param>
 protected virtual void OnModelCreating(DatabaseModelBuilder <TImplementation> modelBuilder)
 {
 }