Azavea.NijPredictivePolicing.ACSAlchemistLibrary.FileFormats.DesiredColumnsReader.SetupTable C# (CSharp) Method

SetupTable() protected method

protected SetupTable ( DbConnection conn, IDataClient client, string tablename ) : DataTable
conn System.Data.Common.DbConnection
client IDataClient
tablename string
return System.Data.DataTable
        protected DataTable SetupTable(DbConnection conn, IDataClient client, string tablename)
        {
            tempTableName = tablename;

            client.GetCommand(string.Format(CreateTableSQL, tablename), conn).ExecuteNonQuery();
            string selectAllSQL = string.Format("select * from \"{0}\"", tablename);
            return DataClient.GetMagicTable(conn, client, selectAllSQL);
        }