예제 #1
0
 /// <summary>
 /// Create a new Zone object.
 /// </summary>
 /// <param name="zoneID">Initial value of the ZoneID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Zone CreateZone(global::System.Int32 zoneID, global::System.String name)
 {
     Zone zone = new Zone();
     zone.ZoneID = zoneID;
     zone.Name = name;
     return zone;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Zones EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToZones(Zone zone)
 {
     base.AddObject("Zones", zone);
 }