/// <summary> /// Deprecated Method for adding a new object to the UserConfirmations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserConfirmations(UserConfirmation userConfirmation) { base.AddObject("UserConfirmations", userConfirmation); }
/// <summary> /// Create a new UserConfirmation object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="createdAt">Initial value of the CreatedAt property.</param> public static UserConfirmation CreateUserConfirmation(global::System.Guid userId, global::System.String code, global::System.DateTime createdAt) { UserConfirmation userConfirmation = new UserConfirmation(); userConfirmation.UserId = userId; userConfirmation.Code = code; userConfirmation.CreatedAt = createdAt; return userConfirmation; }