示例#1
0
 /// <summary>
 /// Create a new Pharmacy object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 public static Pharmacy CreatePharmacy(global::System.Int32 id, global::System.String name, global::System.String code)
 {
     Pharmacy pharmacy = new Pharmacy();
     pharmacy.Id = id;
     pharmacy.Name = name;
     pharmacy.Code = code;
     return pharmacy;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Pharmacies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPharmacies(Pharmacy pharmacy)
 {
     base.AddObject("Pharmacies", pharmacy);
 }