/// <summary> /// Deprecated Method for adding a new object to the tsysstaticvalue EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotsysstaticvalue(tsysstaticvalue tsysstaticvalue) { base.AddObject("tsysstaticvalue", tsysstaticvalue); }
/// <summary> /// Create a new tsysstaticvalue object. /// </summary> /// <param name="svid">Initial value of the svid property.</param> /// <param name="svtype">Initial value of the svtype property.</param> /// <param name="svtext">Initial value of the svtext property.</param> /// <param name="svvalue">Initial value of the svvalue property.</param> /// <param name="svstatus">Initial value of the svstatus property.</param> public static tsysstaticvalue Createtsysstaticvalue(global::System.String svid, global::System.String svtype, global::System.String svtext, global::System.String svvalue, global::System.String svstatus) { tsysstaticvalue tsysstaticvalue = new tsysstaticvalue(); tsysstaticvalue.svid = svid; tsysstaticvalue.svtype = svtype; tsysstaticvalue.svtext = svtext; tsysstaticvalue.svvalue = svvalue; tsysstaticvalue.svstatus = svstatus; return tsysstaticvalue; }
public void DoUpdateStaticValue(ContextInfo contextInfo,tsysstaticvalue staticValue) { contextInfo.Action = MES_ActionType.Update; StaticValueBll bll = new StaticValueBll(contextInfo); bll.CallAccessControl(); bll.DoUpdate(staticValue); GC.Collect(); }