//添加设备类型 public void Insert_EquipTypeTableInfo(EMEquipTypeTableInfo eMEquipTypeTableInfo) { SqlParameter[] parm = new SqlParameter[1]; parm[0] = new SqlParameter("@ETT_Type", SqlDbType.VarChar, 20); parm[0].Value = eMEquipTypeTableInfo.ETT_Type; SqlHelper.ExecuteNonQuery(SqlHelper.ConnectionStringLocalTransaction, CommandType.StoredProcedure, "Proc_I_EquipTypeTable", parm); }
// 修改设备类型 public void Update_EquipTypeTableInfo(EMEquipTypeTableInfo eMEquipTypeTableInfo) { SqlParameter[] parm = new SqlParameter[2]; parm[0] = new SqlParameter("@ETT_ID", SqlDbType.UniqueIdentifier); parm[0].Value = eMEquipTypeTableInfo.ETT_ID; parm[1] = new SqlParameter("@ETT_Type", SqlDbType.VarChar, 20); parm[1].Value = eMEquipTypeTableInfo.ETT_Type; SqlHelper.ExecuteNonQuery(SqlHelper.ConnectionStringLocalTransaction, CommandType.StoredProcedure, "Proc_U_EquipTypeTable", parm); }
public void Update_EquipTypeTableInfo(EMEquipTypeTableInfo eMEquipTypeTableInfo) { equipm.Update_EquipTypeTableInfo(eMEquipTypeTableInfo); }
public void Insert_EquipTypeTableInfo(EMEquipTypeTableInfo eMEquipTypeTableInfo) { equipm.Insert_EquipTypeTableInfo(eMEquipTypeTableInfo); }