MySql.Data.Entity.Tests.testEntities.AddToPublishers C# (CSharp) Method

AddToPublishers() public method

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