예제 #1
0
 public DataBaseFactory(string providerName, string connectionString, DbMappingSchema mappingSchema)
 {
     DataConnection.GetDataProvider(providerName, connectionString);
     this.connectionString = connectionString;
     this.mappingSchema    = mappingSchema;
 }
예제 #2
0
 public DataBaseFactory(IDataProvider dataProvider, string connectionString, DbMappingSchema mappingSchema)
 {
     this.dataProvider     = dataProvider;
     this.connectionString = connectionString;
     this.mappingSchema    = mappingSchema;
 }
 public DataBaseConnection(string providerName, string connectionString, DbMappingSchema mappingSchema) : base(
         providerName, connectionString)
 {
     AddMappingSchema(mappingSchema);
 }