コード例 #1
0
ファイル: erd.Designer.cs プロジェクト: tigerss/Grow-Romania
 /// <summary>
 /// Deprecated Method for adding a new object to the Camps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCamps(Camp camp)
 {
     base.AddObject("Camps", camp);
 }
コード例 #2
0
ファイル: erd.Designer.cs プロジェクト: tigerss/Grow-Romania
 /// <summary>
 /// Create a new Camp object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="fK_SubRegiune">Initial value of the FK_SubRegiune property.</param>
 /// <param name="suprafata">Initial value of the Suprafata property.</param>
 /// <param name="nivelPoluareAer">Initial value of the NivelPoluareAer property.</param>
 /// <param name="nivelPoluareSol">Initial value of the NivelPoluareSol property.</param>
 /// <param name="nivelPoluareApa">Initial value of the NivelPoluareApa property.</param>
 public static Camp CreateCamp(global::System.Int32 id, global::System.Int32 fK_SubRegiune, global::System.Double suprafata, global::System.Double nivelPoluareAer, global::System.Double nivelPoluareSol, global::System.Double nivelPoluareApa)
 {
     Camp camp = new Camp();
     camp.ID = id;
     camp.FK_SubRegiune = fK_SubRegiune;
     camp.Suprafata = suprafata;
     camp.NivelPoluareAer = nivelPoluareAer;
     camp.NivelPoluareSol = nivelPoluareSol;
     camp.NivelPoluareApa = nivelPoluareApa;
     return camp;
 }