/// <summary> /// Create a new ContactDetail object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="contactName">Initial value of the ContactName property.</param> public static ContactDetail CreateContactDetail(global::System.Guid id, global::System.String contactName) { ContactDetail contactDetail = new ContactDetail(); contactDetail.Id = id; contactDetail.ContactName = contactName; return contactDetail; }
/// <summary> /// Deprecated Method for adding a new object to the ContactDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContactDetails(ContactDetail contactDetail) { base.AddObject("ContactDetails", contactDetail); }