Exemple #1
0
        public void Create(City city)
        {
            CityDAO cityDAO = new CityDAO();

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