Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Laboratories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLaboratories(Laboratory laboratory)
 {
     base.AddObject("Laboratories", laboratory);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Laboratory object.
 /// </summary>
 /// <param name="laboratoryID">Initial value of the LaboratoryID property.</param>
 public static Laboratory CreateLaboratory(global::System.Decimal laboratoryID)
 {
     Laboratory laboratory = new Laboratory();
     laboratory.LaboratoryID = laboratoryID;
     return laboratory;
 }