/// <summary>
 /// Deprecated Method for adding a new object to the PrivacySettings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPrivacySettings(PrivacySetting privacySetting)
 {
     base.AddObject("PrivacySettings", privacySetting);
 }
 /// <summary>
 /// Create a new PrivacySetting object.
 /// </summary>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="createdByUserId">Initial value of the CreatedByUserId property.</param>
 /// <param name="displayName">Initial value of the DisplayName property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="privacyGroup">Initial value of the PrivacyGroup property.</param>
 /// <param name="listOrder">Initial value of the ListOrder property.</param>
 public static PrivacySetting CreatePrivacySetting(global::System.String name, global::System.Int32 createdByUserId, global::System.String displayName, global::System.String description, global::System.String privacyGroup, global::System.Int32 listOrder)
 {
     PrivacySetting privacySetting = new PrivacySetting();
     privacySetting.Name = name;
     privacySetting.CreatedByUserId = createdByUserId;
     privacySetting.DisplayName = displayName;
     privacySetting.Description = description;
     privacySetting.PrivacyGroup = privacyGroup;
     privacySetting.ListOrder = listOrder;
     return privacySetting;
 }