Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DUserProfiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDUserProfiles(DUserProfile dUserProfile)
 {
     base.AddObject("DUserProfiles", dUserProfile);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new DUserProfile 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 DUserProfile CreateDUserProfile(global::System.Int32 userId, global::System.String userName, global::System.Boolean isVerified)
 {
     DUserProfile dUserProfile = new DUserProfile();
     dUserProfile.UserId = userId;
     dUserProfile.UserName = userName;
     dUserProfile.IsVerified = isVerified;
     return dUserProfile;
 }