public void Create(City city) { CityDAO cityDAO = new CityDAO(); cityDAO.Create(TABLE, city.AssembleDictionary()); }
/// <summary> /// 创建一个新实例 /// </summary> /// <param name="pEntity">实体实例</param> public void Create(CityEntity pEntity) { _currentDAO.Create(pEntity); }