public LightGroupInfo(bool isAll) { if (isAll) { tLightGroupInfo = new Model.tLightGroupInfoes() { sGUID = "", sID = "", sName = "全部" } } ; else { tLightGroupInfo = new Model.tLightGroupInfoes(); } }
public LightGroupInfo() { tLightGroupInfo = new Model.tLightGroupInfoes(); }
/// <summary> /// 更新一条数据 /// </summary> public bool Update(LumluxSSYDB.Model.tLightGroupInfoes model) { return(dal.Update(model)); }
public LightGroupInfo(Model.tLightGroupInfoes lgi) { tLightGroupInfo = lgi; }
/// <summary> /// 增加一条数据 /// </summary> public bool Add(LumluxSSYDB.Model.tLightGroupInfoes model) { return(dal.Add(model)); }