Testing.AdventureWorksEntities.AddToCustomerAddresses C# (CSharp) Method

AddToCustomerAddresses() public method

Deprecated Method for adding a new object to the CustomerAddresses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToCustomerAddresses ( CustomerAddress customerAddress ) : void
customerAddress CustomerAddress
return void
        public void AddToCustomerAddresses(CustomerAddress customerAddress)
        {
            base.AddObject("CustomerAddresses", customerAddress);
        }
    
AdventureWorksEntities