public int Delete(AcquisitionBaseData model)
        {
            return(CommonAccess.ComSQLiteDelete(model, "ID"));

            //var sql = "DELETE FROM [AcquisitionBaseData] WHERE [Id]=@Id";
            //var conn = new SQLiteConnection(connstr);
            //object[] para = { new SQLiteParameter("@Id", model.Id) };
            //return SqLiteHelper.ExecuteNonQuery(conn, sql, para);
        }
 public int Delete(Department model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Delete(AlarmHistory model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Delete(SystemModule model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
Example #5
0
 public int Delete(EquipmentAlarmRecord model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Delete(EquipmentLedger model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
Example #7
0
 public int Delete(Role model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Delete(SystemSetting model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Delete(ErrorDictionary model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
Example #10
0
 public int Delete(EquipmentMaterial model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Delete(Dictionary model, string _identit)
 {
     return(CommonAccess.ComSQLiteDelete(model, _identit));
 }
 public int Delete(DataEntiry.Equipment model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
Example #13
0
 public int Delete(AcquisitionSetting model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }
 public int Delete(Jurisdiction model)
 {
     return(CommonAccess.ComSQLiteDelete(model, "ID"));
 }