/// <summary> /// 创建新的 vUTPRightWithRole 对象。 /// </summary> /// <param name="rightCode">RightCode 属性的初始值。</param> /// <param name="roleID">RoleID 属性的初始值。</param> public static vUTPRightWithRole CreatevUTPRightWithRole(global::System.String rightCode, global::System.String roleID) { vUTPRightWithRole vUTPRightWithRole = new vUTPRightWithRole(); vUTPRightWithRole.RightCode = rightCode; vUTPRightWithRole.RoleID = roleID; return(vUTPRightWithRole); }
/// <summary> /// 创建新的 vUTPRightWithRole 对象。 /// </summary> /// <param name="rightCode">RightCode 属性的初始值。</param> /// <param name="roleID">RoleID 属性的初始值。</param> public static vUTPRightWithRole CreatevUTPRightWithRole(global::System.String rightCode, global::System.String roleID) { vUTPRightWithRole vUTPRightWithRole = new vUTPRightWithRole(); vUTPRightWithRole.RightCode = rightCode; vUTPRightWithRole.RoleID = roleID; return vUTPRightWithRole; }
/// <summary> /// 用于向 vUTPRightWithRole EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTovUTPRightWithRole(vUTPRightWithRole vUTPRightWithRole) { base.AddObject("vUTPRightWithRole", vUTPRightWithRole); }