public DataBaseFactory(string providerName, string connectionString, DbMappingSchema mappingSchema) { DataConnection.GetDataProvider(providerName, connectionString); this.connectionString = connectionString; this.mappingSchema = mappingSchema; }
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); }