/// <summary> /// Create a new UserRole object. /// </summary> /// <param name="userRoleID">Initial value of the UserRoleID property.</param> public static UserRole CreateUserRole(global::System.Int32 userRoleID) { UserRole userRole = new UserRole(); userRole.UserRoleID = userRoleID; return userRole; }
/// <summary> /// Deprecated Method for adding a new object to the UserRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserRoles(UserRole userRole) { base.AddObject("UserRoles", userRole); }