/// <summary> /// Create a new Contact object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="primary">Initial value of the Primary property.</param> public static Contact CreateContact(global::System.Guid id, global::System.Boolean primary) { Contact contact = new Contact(); contact.Id = id; contact.Primary = primary; return contact; }
/// <summary> /// Deprecated Method for adding a new object to the Contact EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContact(Contact contact) { base.AddObject("Contact", contact); }