public MySqlConnection(string connectionString, SchemaCreationPriority schemaCreationPriority) { //connection = new SqlConnection(); //connection.ConnectionString = connectionString; Commands = new Dictionary <Entity, MySqlCommand>(); SchemaCreationPriority = schemaCreationPriority; }
public MySqlDatabase(string connectionString, SchemaCreationPriority schemaCreationPriority) { Connection = new MySqlConnection(); Connection.ConnectionString = connectionString; Commands = new Dictionary <Entity, MySqlCrudCommand>(); SchemaCreationPriority = schemaCreationPriority; }
private static Connection GetMySqlConnection(XmlReader reader) { string connectionString = reader.GetAttribute("connectionString"); string priority = reader.GetAttribute("priority"); SchemaCreationPriority schema = GetPriority(priority); return(new MySqlDatabase(connectionString, schema)); }
private static Connection GetXmlConnection(XmlReader reader) { string directory = reader.GetAttribute("directory"); string priority = reader.GetAttribute("priority"); SchemaCreationPriority schema = GetPriority(priority); return(new XmlConnection(directory, schema)); }
internal XmlConnection(string directory, SchemaCreationPriority schemaCreationPriority) { }