Ejemplo n.º 1
0
 public void DeleteCleanupFile(CleanupFile file)
 {
     DataAccess.ExecuteNonQuery(string.Format("delete from CleanupFiles where CleanupFileID = {0}", file.CleanupFileID));
 }
Ejemplo n.º 2
0
        public void InsertCleanupFile(CleanupFile file)
        {
            string insert = InsertStatement("CleanupFiles", file, new string[] { "CleanupFileID" }, out List <DbParameter> parameters);

            DataAccess.ExecuteNonQuery(insert, parameters);
        }