/// <summary> /// Create a new Contacts object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="line1">Initial value of the Line1 property.</param> /// <param name="line2">Initial value of the Line2 property.</param> /// <param name="line3">Initial value of the Line3 property.</param> /// <param name="town">Initial value of the Town property.</param> /// <param name="county">Initial value of the County property.</param> /// <param name="postcode">Initial value of the Postcode property.</param> /// <param name="phoneNumbers">Initial value of the PhoneNumbers property.</param> /// <param name="contacts_ContactTypes">Initial value of the Contacts_ContactTypes property.</param> /// <param name="contacts_Countries">Initial value of the Contacts_Countries property.</param> public static Contacts CreateContacts(global::System.Int32 id, global::System.String title, global::System.String firstName, global::System.String lastName, global::System.String line1, global::System.String line2, global::System.String line3, global::System.String town, global::System.String county, global::System.String postcode, global::System.String phoneNumbers, global::System.Int32 contacts_ContactTypes, global::System.Int32 contacts_Countries) { Contacts contacts = new Contacts(); contacts.Id = id; contacts.Title = title; contacts.FirstName = firstName; contacts.LastName = lastName; contacts.Line1 = line1; contacts.Line2 = line2; contacts.Line3 = line3; contacts.Town = town; contacts.County = county; contacts.Postcode = postcode; contacts.PhoneNumbers = phoneNumbers; contacts.Contacts_ContactTypes = contacts_ContactTypes; contacts.Contacts_Countries = contacts_Countries; return contacts; }
/// <summary> /// Deprecated Method for adding a new object to the ContactsSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContactsSet(Contacts contacts) { base.AddObject("ContactsSet", contacts); }