Testing.AdventureWorksEntities.AddToAddressTypes C# (CSharp) Method

AddToAddressTypes() public method

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