/// <summary> /// Deprecated Method for adding a new object to the Privacies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrivacies(Privacy privacy) { base.AddObject("Privacies", privacy); }
/// <summary> /// Create a new Privacy object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="profile">Initial value of the Profile property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="feed">Initial value of the Feed property.</param> /// <param name="pics">Initial value of the Pics property.</param> public static Privacy CreatePrivacy(global::System.Guid userId, global::System.Int16 profile, global::System.Int16 address, global::System.Int16 feed, global::System.Int16 pics) { Privacy privacy = new Privacy(); privacy.UserId = userId; privacy.Profile = profile; privacy.Address = address; privacy.Feed = feed; privacy.Pics = pics; return privacy; }