Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Zonas EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToZonas(Zona zona)
 {
     base.AddObject("Zonas", zona);
 }
Example #2
0
 /// <summary>
 /// Create a new Zona object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="nume">Initial value of the Nume property.</param>
 public static Zona CreateZona(global::System.Int32 id, global::System.String nume)
 {
     Zona zona = new Zona();
     zona.ID = id;
     zona.Nume = nume;
     return zona;
 }