Exemplo n.º 1
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SystemCityEntity(int id, string name, string abbrName, string code, SystemProvinceEntity provinceID, bool?capital)
 {
     _id         = id;
     _name       = name;
     _abbrName   = abbrName;
     _code       = code;
     _provinceID = provinceID;
     _capital    = capital;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SystemCityEntity()
 {
     _id         = 0;
     _name       = null;
     _abbrName   = null;
     _code       = null;
     _provinceID = null;
     _capital    = null;
 }