public int Insert(AcquisitionBaseData model)
        {
            return(CommonAccess.ComSQLiteInsert(model));

            //var sql = "INSERT INTO [AcquisitionBaseData] ([Code],[Confidence],[Remark],[Name],[Value]) VALUES (@Code,@Confidence,@Remark,@Name,@Value)";
            //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)
            //                      };
            //return SqLiteHelper.ExecuteNonQuery(conn, sql, para);
        }
 public int Insert(Department model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Insert(AlarmHistory model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Insert(SystemModule model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
Beispiel #5
0
 public int Insert(EquipmentAlarmRecord model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Insert(EquipmentLedger model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
Beispiel #7
0
 public int Insert(Role model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Insert(SystemSetting model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Insert(ErrorDictionary model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Insert(UploadSetting model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
Beispiel #11
0
 public int Insert(EquipmentMaterial model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
Beispiel #12
0
 public int Insert(EquipmentHealth model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Insert(DataEntiry.Equipment model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
Beispiel #14
0
 public int Insert(AcquisitionSetting model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }
 public int Insert(Jurisdiction model)
 {
     return(CommonAccess.ComSQLiteInsert(model));
 }