Testing.AdventureWorksEntities.AddToLocations C# (CSharp) Method

AddToLocations() public method

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