/// <summary>
 /// Deprecated Method for adding a new object to the Depots EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDepots(Depot depot)
 {
     base.AddObject("Depots", depot);
 }
 /// <summary>
 /// Create a new Depot object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 public static Depot CreateDepot(global::System.Int32 id, global::System.String name, Address address)
 {
     Depot depot = new Depot();
     depot.Id = id;
     depot.Name = name;
     depot.Address = StructuralObject.VerifyComplexObjectIsNotNull(address, "Address");
     return depot;
 }