示例#1
0
 /// <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;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserEmailConfirmations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserEmailConfirmations(UserEmailConfirmation userEmailConfirmation)
 {
     base.AddObject("UserEmailConfirmations", userEmailConfirmation);
 }