Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Center object.
 /// </summary>
 /// <param name="centerID">Initial value of the CenterID property.</param>
 public static Center CreateCenter(global::System.Int32 centerID)
 {
     Center center = new Center();
     center.CenterID = centerID;
     return center;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Centers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCenters(Center center)
 {
     base.AddObject("Centers", center);
 }