示例#1
0
        public IDataset2 EmptyCopy()
        {
            SqlFDBDataset dataset = new SqlFDBDataset();
            dataset.ConnectionString = ConnectionString;
            dataset.Open();

            return dataset;
        }
示例#2
0
        async public Task <IDataset2> EmptyCopy()
        {
            SqlFDBDataset dataset = new SqlFDBDataset();
            await dataset.SetConnectionString(ConnectionString);

            await dataset.Open();

            return(dataset);
        }
示例#3
0
        async static internal Task <SqlFDBDataset> Create(SqlFDB fdb, string dsname)
        {
            var ds = new SqlFDBDataset();

            await ds.SetConnectionString(fdb.ConnectionString + ";dsname=" + dsname);

            await ds.Open();

            return(ds);
        }