/// <summary> /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsers(User user) { base.AddObject("Users", user); }
/// <summary> /// Create a new User object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="updateDateUtc">Initial value of the UpdateDateUtc property.</param> /// <param name="createDateUtc">Initial value of the CreateDateUtc property.</param> /// <param name="updatedBy">Initial value of the UpdatedBy property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> /// <param name="referenceId">Initial value of the ReferenceId property.</param> public static User CreateUser(global::System.Int32 userId, global::System.String username, global::System.String email, global::System.DateTime updateDateUtc, global::System.DateTime createDateUtc, global::System.String updatedBy, global::System.Boolean isDeleted, global::System.Guid referenceId) { User user = new User(); user.UserId = userId; user.Username = username; user.Email = email; user.UpdateDateUtc = updateDateUtc; user.CreateDateUtc = createDateUtc; user.UpdatedBy = updatedBy; user.IsDeleted = isDeleted; user.ReferenceId = referenceId; return user; }