Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the View1 EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToView1(View1 view1)
 {
     base.AddObject("View1", view1);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new View1 object.
 /// </summary>
 /// <param name="firma">Initial value of the Firma property.</param>
 /// <param name="nUmar_de_animale">Initial value of the NUmar_de_animale property.</param>
 /// <param name="animalul">Initial value of the Animalul property.</param>
 /// <param name="eU">Initial value of the EU property.</param>
 /// <param name="iD_vanzator">Initial value of the ID_vanzator property.</param>
 /// <param name="iD_cumparator">Initial value of the ID_cumparator property.</param>
 public static View1 CreateView1(global::System.String firma, global::System.Int16 nUmar_de_animale, global::System.String animalul, global::System.String eU, global::System.Int32 iD_vanzator, global::System.Int32 iD_cumparator)
 {
     View1 view1 = new View1();
     view1.Firma = firma;
     view1.NUmar_de_animale = nUmar_de_animale;
     view1.Animalul = animalul;
     view1.EU = eU;
     view1.ID_vanzator = iD_vanzator;
     view1.ID_cumparator = iD_cumparator;
     return view1;
 }