public int Update(AcquisitionBaseData model, string _identity)
        {
            return(CommonAccess.ComSQLiteUpdate(model, _identity));

            //var sql = "Update [AcquisitionBaseData] set [Code] = @Code,[Confidence]=@Confidence,[Remark] = @Remark,[Name]=@Name,[Value]=@Value WHERE [Id] = @Id";
            //var conn = new SQLiteConnection(connstr);
            //object[] para = {
            //                        new SQLiteParameter("@Code",model.Code),
            //                        new SQLiteParameter("@Confidence",model.Confidence),
            //                        new SQLiteParameter("@Remark",model.Remark),
            //                        new SQLiteParameter("@Name",model.Name),
            //                        new SQLiteParameter("@Value",model.Value),
            //                        new SQLiteParameter("@Id",model.Id)
            //                      };
            //return SqLiteHelper.ExecuteNonQuery(conn, sql, para);
        }
 public int Update(Department model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int Update(AlarmHistory model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int Update(SystemModule model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
Beispiel #5
0
 public int Update(EquipmentAlarmRecord model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int Update(EquipmentLedger model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int Update(UploadSetting model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int Update(ErrorDictionary model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int Update(DataEntiry.Equipment model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
Beispiel #10
0
 public int Update(AcquisitionSetting model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }
 public int Update(Jurisdiction model, string _identity)
 {
     return(CommonAccess.ComSQLiteUpdate(model, _identity));
 }