/// <summary> /// Deprecated Method for adding a new object to the Labratories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLabratories(Labratory labratory) { base.AddObject("Labratories", labratory); }
/// <summary> /// Create a new Labratory object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="title">Initial value of the Title property.</param> public static Labratory CreateLabratory(global::System.Int32 id, global::System.String title) { Labratory labratory = new Labratory(); labratory.Id = id; labratory.Title = title; return labratory; }