async public Task <IDataset2> EmptyCopy() { SQLiteFDBDataset dataset = new SQLiteFDBDataset(); await dataset.SetConnectionString(ConnectionString); await dataset.Open(); return(dataset); }
public IDataset2 EmptyCopy() { SQLiteFDBDataset dataset = new SQLiteFDBDataset(); dataset.ConnectionString = ConnectionString; dataset.Open(); return(dataset); }
async static internal Task <SQLiteFDBDataset> Create(SQLiteFDB fdb, string dsname) { var ds = new SQLiteFDBDataset(); ds._dsname = dsname; string connStr = fdb.DatabaseConnectionString; if (!connStr.Contains(";dsname=" + dsname)) { connStr += ";dsname=" + dsname; } await ds.SetConnectionString(connStr); await ds.Open(); return(ds); }