/// <summary> /// Deprecated Method for adding a new object to the Drugs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDrugs(DRUG dRUG) { base.AddObject("Drugs", dRUG); }
/// <summary> /// Create a new DRUG object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="nAME">Initial value of the NAME property.</param> public static DRUG CreateDRUG(global::System.Guid id, global::System.String nAME) { DRUG dRUG = new DRUG(); dRUG.Id = id; dRUG.NAME = nAME; return dRUG; }