/// <summary> /// Deprecated Method for adding a new object to the T_UserRole EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToT_UserRole(T_UserRole t_UserRole) { base.AddObject("T_UserRole", t_UserRole); }
/// <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; }