/// <summary> /// 用于向 SysFun EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToSysFun(SysFun sysFun) { base.AddObject("SysFun", sysFun); }
/// <summary> /// 创建新的 SysFun 对象。 /// </summary> /// <param name="nodeId">NodeId 属性的初始值。</param> /// <param name="displayName">DisplayName 属性的初始值。</param> /// <param name="displayOrder">DisplayOrder 属性的初始值。</param> /// <param name="parentNodeId">ParentNodeId 属性的初始值。</param> public static SysFun CreateSysFun(global::System.Int32 nodeId, global::System.String displayName, global::System.Int32 displayOrder, global::System.Int32 parentNodeId) { SysFun sysFun = new SysFun(); sysFun.NodeId = nodeId; sysFun.DisplayName = displayName; sysFun.DisplayOrder = displayOrder; sysFun.ParentNodeId = parentNodeId; return sysFun; }