/// <summary> /// Create a new Users_Roles object. /// </summary> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="roleID">Initial value of the RoleID property.</param> public static Users_Roles CreateUsers_Roles(global::System.Int32 userID, global::System.Int32 roleID) { Users_Roles users_Roles = new Users_Roles(); users_Roles.UserID = userID; users_Roles.RoleID = roleID; return(users_Roles); }
/// <summary> /// Deprecated Method for adding a new object to the Users_Roles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsers_Roles(Users_Roles users_Roles) { base.AddObject("Users_Roles", users_Roles); }