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

SaveTable() protected method

protected SaveTable ( DbConnection conn, IDataClient client, DataTable dt ) : bool
conn System.Data.Common.DbConnection
client IDataClient
dt System.Data.DataTable
return bool
        protected bool SaveTable(DbConnection conn, IDataClient client, DataTable dt)
        {
            string selectAllSQL = string.Format("select * from \"{0}\"", tempTableName);

            _log.Debug("Saving...");
            var adapter = DataClient.GetMagicAdapter(conn, client, selectAllSQL);
            adapter.Update(dt);
            dt.AcceptChanges();

            return true;
        }