コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the T_UserRole EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToT_UserRole(T_UserRole t_UserRole)
 {
     base.AddObject("T_UserRole", t_UserRole);
 }
コード例 #2
0
 /// <summary>
 /// Create a new T_UserRole object.
 /// </summary>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="roleID">Initial value of the RoleID property.</param>
 public static T_UserRole CreateT_UserRole(global::System.Int32 userID, global::System.Int32 roleID)
 {
     T_UserRole t_UserRole = new T_UserRole();
     t_UserRole.UserID = userID;
     t_UserRole.RoleID = roleID;
     return t_UserRole;
 }