コード例 #1
0
		public static IDataSource Create(DbProviderFactory dbProviderFactory, string connectionString) {
			var wrapper = new DbProviderAdapter(dbProviderFactory, connectionString);
			return new DataSource(wrapper);
		}
コード例 #2
0
        public static IDataSource Create(DbProviderFactory dbProviderFactory, string connectionString)
        {
            var wrapper = new DbProviderAdapter(dbProviderFactory, connectionString);

            return(new DataSource(wrapper));
        }