/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Geography EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGeography(Geography geography) { base.AddObject("Geography", geography); }