/// <summary> /// Deprecated Method for adding a new object to the ENTtblAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToENTtblAddresses(ENTtblAddress eNTtblAddress) { base.AddObject("ENTtblAddresses", eNTtblAddress); }
/// <summary> /// Create a new ENTtblAddress object. /// </summary> /// <param name="addressId">Initial value of the AddressId property.</param> /// <param name="isBillingAddress">Initial value of the IsBillingAddress property.</param> /// <param name="isShippingAddress">Initial value of the IsShippingAddress property.</param> public static ENTtblAddress CreateENTtblAddress(global::System.Int32 addressId, global::System.Boolean isBillingAddress, global::System.Boolean isShippingAddress) { ENTtblAddress eNTtblAddress = new ENTtblAddress(); eNTtblAddress.AddressId = addressId; eNTtblAddress.IsBillingAddress = isBillingAddress; eNTtblAddress.IsShippingAddress = isShippingAddress; return eNTtblAddress; }