示例#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));
        }