コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 /// <summary>
 /// 用于向 vUTPRightWithRole EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTovUTPRightWithRole(vUTPRightWithRole vUTPRightWithRole)
 {
     base.AddObject("vUTPRightWithRole", vUTPRightWithRole);
 }
コード例 #4
0
 /// <summary>
 /// 用于向 vUTPRightWithRole EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTovUTPRightWithRole(vUTPRightWithRole vUTPRightWithRole)
 {
     base.AddObject("vUTPRightWithRole", vUTPRightWithRole);
 }