Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GeographyTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGeographyTypes(GeographyType geographyType)
 {
     base.AddObject("GeographyTypes", geographyType);
 }