/// <summary> /// Deprecated Method for adding a new object to the ENTtblAddressBooks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToENTtblAddressBooks(ENTtblAddressBook eNTtblAddressBook) { base.AddObject("ENTtblAddressBooks", eNTtblAddressBook); }
/// <summary> /// Create a new ENTtblAddressBook object. /// </summary> /// <param name="entityAddressBookId">Initial value of the EntityAddressBookId property.</param> /// <param name="entityId">Initial value of the EntityId property.</param> /// <param name="reference">Initial value of the Reference property.</param> /// <param name="referenceId">Initial value of the ReferenceId property.</param> /// <param name="isDefault">Initial value of the IsDefault property.</param> /// <param name="hierarchyId">Initial value of the HierarchyId property.</param> public static ENTtblAddressBook CreateENTtblAddressBook(global::System.Int32 entityAddressBookId, global::System.Int32 entityId, global::System.String reference, global::System.Int32 referenceId, global::System.Boolean isDefault, global::System.Int32 hierarchyId) { ENTtblAddressBook eNTtblAddressBook = new ENTtblAddressBook(); eNTtblAddressBook.EntityAddressBookId = entityAddressBookId; eNTtblAddressBook.EntityId = entityId; eNTtblAddressBook.Reference = reference; eNTtblAddressBook.ReferenceId = referenceId; eNTtblAddressBook.IsDefault = isDefault; eNTtblAddressBook.HierarchyId = hierarchyId; return eNTtblAddressBook; }