/// <summary> /// Deprecated Method for adding a new object to the Laboratories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLaboratories(Laboratory laboratory) { base.AddObject("Laboratories", laboratory); }
/// <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; }