Пример #1
0
 /// <summary>
 /// Create a new Geography object.
 /// </summary>
 /// <param name="geographyID">Initial value of the GeographyID property.</param>
 /// <param name="geography1">Initial value of the Geography1 property.</param>
 /// <param name="geographyTypeID">Initial value of the GeographyTypeID property.</param>
 public static Geography CreateGeography(global::System.Int32 geographyID, global::System.String geography1, global::System.Int32 geographyTypeID)
 {
     Geography geography = new Geography();
     geography.GeographyID = geographyID;
     geography.Geography1 = geography1;
     geography.GeographyTypeID = geographyTypeID;
     return geography;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Geographies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGeographies(Geography geography)
 {
     base.AddObject("Geographies", geography);
 }