/// <summary> /// Create a new GeographyType object. /// </summary> /// <param name="geographyTypeID">Initial value of the GeographyTypeID property.</param> public static GeographyType CreateGeographyType(global::System.Int32 geographyTypeID) { GeographyType geographyType = new GeographyType(); geographyType.GeographyTypeID = geographyTypeID; return geographyType; }
/// <summary> /// Deprecated Method for adding a new object to the GeographyType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGeographyType(GeographyType geographyType) { base.AddObject("GeographyType", geographyType); }