/// <summary>
 /// 用于向 Pharmacies EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToPharmacies(Pharmacy pharmacy)
 {
     base.AddObject("Pharmacies", pharmacy);
 }
 /// <summary>
 /// 创建新的 Pharmacy 对象。
 /// </summary>
 /// <param name="pharmacyID">PharmacyID 属性的初始值。</param>
 /// <param name="password">Password 属性的初始值。</param>
 public static Pharmacy CreatePharmacy(global::System.String pharmacyID, global::System.String password)
 {
     Pharmacy pharmacy = new Pharmacy();
     pharmacy.PharmacyID = pharmacyID;
     pharmacy.Password = password;
     return pharmacy;
 }