/// <summary> /// Deprecated Method for adding a new object to the ContactList_Attribute EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContactList_Attribute(ContactList_Attribute contactList_Attribute) { base.AddObject("ContactList_Attribute", contactList_Attribute); }
/// <summary> /// Create a new ContactList_Attribute object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="attributeTypeId">Initial value of the AttributeTypeId property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> public static ContactList_Attribute CreateContactList_Attribute(global::System.Int32 id, global::System.String name, global::System.Int32 attributeTypeId, global::System.Boolean isActive, global::System.DateTime dateCreated) { ContactList_Attribute contactList_Attribute = new ContactList_Attribute(); contactList_Attribute.Id = id; contactList_Attribute.Name = name; contactList_Attribute.AttributeTypeId = attributeTypeId; contactList_Attribute.IsActive = isActive; contactList_Attribute.DateCreated = dateCreated; return contactList_Attribute; }