Inheritance: global::System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the Toys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToToys(Toy toy)
 {
     base.AddObject("Toys", toy);
 }
 /// <summary>
 /// Create a new Toy object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="minAge">Initial value of the MinAge property.</param>
 public static Toy CreateToy(global::System.Int32 id, global::System.String name, global::System.Int32 minAge)
 {
     Toy toy = new Toy();
     toy.Id = id;
     toy.Name = name;
     toy.MinAge = minAge;
     return toy;
 }