Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Drugs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDrugs(DRUG dRUG)
 {
     base.AddObject("Drugs", dRUG);
 }
Пример #2
0
 /// <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;
 }