protected override void AddValue(string value)
 {
     PropertyType pt = new PropertyType();
     pt.idPropertyType = FreeIndex;
     pt.namePropertyType = value;
     EntitiesHolder.Entities.PropertyType.AddObject(pt);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the PropertyType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPropertyType(PropertyType propertyType)
 {
     base.AddObject("PropertyType", propertyType);
 }
 /// <summary>
 /// Create a new PropertyType object.
 /// </summary>
 /// <param name="idPropertyType">Initial value of the idPropertyType property.</param>
 /// <param name="namePropertyType">Initial value of the namePropertyType property.</param>
 public static PropertyType CreatePropertyType(global::System.Decimal idPropertyType, global::System.String namePropertyType)
 {
     PropertyType propertyType = new PropertyType();
     propertyType.idPropertyType = idPropertyType;
     propertyType.namePropertyType = namePropertyType;
     return propertyType;
 }