/// <summary> /// Create a new UserEmailConfirmation object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> public static UserEmailConfirmation CreateUserEmailConfirmation(global::System.Int32 id, global::System.Int32 userId) { UserEmailConfirmation userEmailConfirmation = new UserEmailConfirmation(); userEmailConfirmation.Id = id; userEmailConfirmation.UserId = userId; return userEmailConfirmation; }
/// <summary> /// Deprecated Method for adding a new object to the UserEmailConfirmations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserEmailConfirmations(UserEmailConfirmation userEmailConfirmation) { base.AddObject("UserEmailConfirmations", userEmailConfirmation); }