public void CreateTempTable(VfpConnection connection, DataTableDbcCreator dbcCreator)
        {
            ArgumentUtility.CheckNotNull("connection", connection);

            DataTable dataTable = null;

            connection.DoConnected(() => {
                dataTable = this.GetSchema(connection);
            });

            dbcCreator.Add(dataTable);

            TempTableFullPath = dataTable.TableName;
        }
Exemplo n.º 2
0
 private SchemaManager(VfpConnection connection, DataTableDbcCreator dbcCreator)
 {
     _connection = connection;
     _schemas    = GetSchemas();
     _dbcCreator = dbcCreator;
 }
 public string GetSelectStatement(DataTableDbcCreator dbcCreator)
 {
     return(string.Format("SELECT * FROM '{0}!{1}'", dbcCreator.DbcPath, TempTableFullPath));
 }