Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StatisticaPerAnimals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatisticaPerAnimals(StatisticaPerAnimal statisticaPerAnimal)
 {
     base.AddObject("StatisticaPerAnimals", statisticaPerAnimal);
 }
Exemple #2
0
 /// <summary>
 /// Create a new StatisticaPerAnimal object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="fK_Usr">Initial value of the FK_Usr property.</param>
 /// <param name="isFromPadure">Initial value of the IsFromPadure property.</param>
 public static StatisticaPerAnimal CreateStatisticaPerAnimal(global::System.Int32 id, global::System.Int32 fK_Usr, global::System.Boolean isFromPadure)
 {
     StatisticaPerAnimal statisticaPerAnimal = new StatisticaPerAnimal();
     statisticaPerAnimal.ID = id;
     statisticaPerAnimal.FK_Usr = fK_Usr;
     statisticaPerAnimal.IsFromPadure = isFromPadure;
     return statisticaPerAnimal;
 }