Testing.AdventureWorksEntities.AddToContactTypes C# (CSharp) Method

AddToContactTypes() public method

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