Exemplo n.º 1
0
 /// <summary>
 /// Create a new Plante object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="nume">Initial value of the Nume property.</param>
 public static Plante CreatePlante(global::System.Byte id, global::System.String nume)
 {
     Plante plante = new Plante();
     plante.ID = id;
     plante.Nume = nume;
     return plante;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Plantes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPlantes(Plante plante)
 {
     base.AddObject("Plantes", plante);
 }