Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserProfiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProfiles(UserProfile userProfile)
 {
     base.AddObject("UserProfiles", userProfile);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new UserProfile object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static UserProfile CreateUserProfile(global::System.Int32 userId)
 {
     UserProfile userProfile = new UserProfile();
     userProfile.UserId = userId;
     return userProfile;
 }