Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DVUserProfiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDVUserProfiles(DVUserProfile dVUserProfile)
 {
     base.AddObject("DVUserProfiles", dVUserProfile);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new DVUserProfile object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="isVerified">Initial value of the IsVerified property.</param>
 public static DVUserProfile CreateDVUserProfile(global::System.Int32 userId, global::System.String userName, global::System.Boolean isVerified)
 {
     DVUserProfile dVUserProfile = new DVUserProfile();
     dVUserProfile.UserId = userId;
     dVUserProfile.UserName = userName;
     dVUserProfile.IsVerified = isVerified;
     return dVUserProfile;
 }