/// <summary> /// Create a new UsersInRole object. /// </summary> /// <param name="recID">Initial value of the RecID property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="portalID">Initial value of the PortalID property.</param> /// <param name="roleID">Initial value of the RoleID property.</param> /// <param name="userID">Initial value of the UserID property.</param> public static UsersInRole CreateUsersInRole(global::System.Int32 recID, global::System.DateTime createDate, global::System.Int32 portalID, global::System.Int32 roleID, global::System.Int32 userID) { UsersInRole usersInRole = new UsersInRole(); usersInRole.RecID = recID; usersInRole.CreateDate = createDate; usersInRole.PortalID = portalID; usersInRole.RoleID = roleID; usersInRole.UserID = userID; return usersInRole; }
/// <summary> /// Deprecated Method for adding a new object to the UsersInRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsersInRoles(UsersInRole usersInRole) { base.AddObject("UsersInRoles", usersInRole); }