Beispiel #1
0
        /// <summary>
        /// Create a new Geoname object.
        /// </summary>
        /// <param name="locationID">Initial value of the LocationID property.</param>
        /// <param name="country">Initial value of the Country property.</param>
        /// <param name="county">Initial value of the County property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        public static Geoname CreateGeoname(global::System.Int32 locationID, global::System.String country, global::System.String county, global::System.String name)
        {
            Geoname geoname = new Geoname();

            geoname.LocationID = locationID;
            geoname.Country    = country;
            geoname.County     = county;
            geoname.Name       = name;
            return(geoname);
        }
 /// <summary>
 /// Create a new Geoname object.
 /// </summary>
 /// <param name="locationID">Initial value of the LocationID property.</param>
 /// <param name="country">Initial value of the Country property.</param>
 /// <param name="county">Initial value of the County property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Geoname CreateGeoname(global::System.Int32 locationID, global::System.String country, global::System.String county, global::System.String name)
 {
     Geoname geoname = new Geoname();
     geoname.LocationID = locationID;
     geoname.Country = country;
     geoname.County = county;
     geoname.Name = name;
     return geoname;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Geonames EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGeonames(Geoname geoname)
 {
     base.AddObject("Geonames", geoname);
 }
Beispiel #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Geonames EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGeonames(Geoname geoname)
 {
     base.AddObject("Geonames", geoname);
 }