よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
private static DataFactory CreateDataFactory(string connectionStringName) { // retrieve the provider and connection string from app.config ConnectionStringSettings css = ConfigurationManager.ConnectionStrings[connectionStringName]; DataFactory df = new DataFactory(Providers.Converter(css.ProviderName), css.ConnectionString); return(df); }