예제 #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);
        }