/// <summary> /// Create a new Contact object. /// </summary> /// <param name="contactId">Initial value of the ContactId property.</param> /// <param name="naam">Initial value of the Naam property.</param> /// <param name="adres">Initial value of the Adres property.</param> /// <param name="telefoon">Initial value of the Telefoon property.</param> /// <param name="email">Initial value of the Email property.</param> public static Contact CreateContact(global::System.Int32 contactId, global::System.String naam, global::System.String adres, global::System.String telefoon, global::System.String email) { Contact contact = new Contact(); contact.ContactId = contactId; contact.Naam = naam; contact.Adres = adres; contact.Telefoon = telefoon; contact.Email = email; 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); }