コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the User_AccessRight EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUser_AccessRight(User_AccessRight user_AccessRight)
 {
     base.AddObject("User_AccessRight", user_AccessRight);
 }
コード例 #2
0
 /// <summary>
 /// Create a new User_AccessRight object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="user_Id">Initial value of the User_Id property.</param>
 /// <param name="accessRight_Id">Initial value of the AccessRight_Id property.</param>
 public static User_AccessRight CreateUser_AccessRight(global::System.Int32 id, global::System.Int32 user_Id, global::System.Int32 accessRight_Id)
 {
     User_AccessRight user_AccessRight = new User_AccessRight();
     user_AccessRight.Id = id;
     user_AccessRight.User_Id = user_Id;
     user_AccessRight.AccessRight_Id = accessRight_Id;
     return user_AccessRight;
 }