MySql.Data.Entity.Tests.testEntities.AddToComputers C# (CSharp) Méthode

AddToComputers() public méthode

Deprecated Method for adding a new object to the Computers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToComputers ( Computer computer ) : void
computer Computer
Résultat void
        public void AddToComputers(Computer computer)
        {
            base.AddObject("Computers", computer);
        }