protected override void AddValue(string value)
 {
     District d = new District();
     d.idDistrict = FreeIndex;
     d.nameDistrict = value;
     EntitiesHolder.Entities.District.AddObject(d);
 }
 /// <summary>
 /// Create a new District object.
 /// </summary>
 /// <param name="idDistrict">Initial value of the idDistrict property.</param>
 public static District CreateDistrict(global::System.Decimal idDistrict)
 {
     District district = new District();
     district.idDistrict = idDistrict;
     return district;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the District EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDistrict(District district)
 {
     base.AddObject("District", district);
 }