Esempio n. 1
0
 public UpdateSchemaResult UpdateSchema(bool dontCreateIfFirstTableNotExist, params DBTable[] tables)
 {
     var args = new DataStoreUpdateSchemaEventArgs(dontCreateIfFirstTableNotExist, tables);
     RaiseDataStoreUpdateSchema(args);
     dataStoreCore.UpdateSchema(false, args.Tables);
     return UpdateSchemaResult.SchemaExists;
 }
Esempio n. 2
0
 protected void RaiseDataStoreUpdateSchema(DataStoreUpdateSchemaEventArgs args)
 {
     if (DataStoreUpdateSchema != null) {
         DataStoreUpdateSchema(this, args);
     }
 }
Esempio n. 3
0
 public virtual UpdateSchemaResult UpdateSchema(bool dontCreateIfFirstTableNotExist, params DBTable[] tables){
     var args = new DataStoreUpdateSchemaEventArgs(dontCreateIfFirstTableNotExist, tables);
     OnDataStoreUpdateSchema(args);
     return dataStoreCore.UpdateSchema(false, args.Tables);
 }