/// <summary>
 /// Deprecated Method for adding a new object to the Profiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProfiles(Profile profile)
 {
     base.AddObject("Profiles", profile);
 }
 /// <summary>
 /// Create a new Profile object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="privacy">Initial value of the Privacy property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="creationDate">Initial value of the CreationDate property.</param>
 public static Profile CreateProfile(global::System.Guid userId, global::System.Int16 privacy, global::System.String name, global::System.DateTime creationDate)
 {
     Profile profile = new Profile();
     profile.UserId = userId;
     profile.Privacy = privacy;
     profile.Name = name;
     profile.CreationDate = creationDate;
     return profile;
 }