/// <summary> /// Deprecated Method for adding a new object to the VisitorGeos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVisitorGeos(VisitorGeo visitorGeo) { base.AddObject("VisitorGeos", visitorGeo); }
/// <summary> /// Create a new VisitorGeo object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="adId">Initial value of the AdId property.</param> /// <param name="iPAddress">Initial value of the IPAddress property.</param> /// <param name="countryName">Initial value of the CountryName property.</param> /// <param name="countryCode">Initial value of the CountryCode property.</param> /// <param name="region">Initial value of the Region property.</param> /// <param name="cityName">Initial value of the CityName property.</param> /// <param name="postalCode">Initial value of the PostalCode property.</param> /// <param name="areaCode">Initial value of the AreaCode property.</param> /// <param name="metroCode">Initial value of the MetroCode property.</param> /// <param name="latitude">Initial value of the Latitude property.</param> /// <param name="longitude">Initial value of the Longitude property.</param> public static VisitorGeo CreateVisitorGeo(global::System.Int32 id, global::System.Int32 adId, global::System.String iPAddress, global::System.String countryName, global::System.String countryCode, global::System.String region, global::System.String cityName, global::System.String postalCode, global::System.Int32 areaCode, global::System.Int32 metroCode, global::System.Double latitude, global::System.Double longitude) { VisitorGeo visitorGeo = new VisitorGeo(); visitorGeo.Id = id; visitorGeo.AdId = adId; visitorGeo.IPAddress = iPAddress; visitorGeo.CountryName = countryName; visitorGeo.CountryCode = countryCode; visitorGeo.Region = region; visitorGeo.CityName = cityName; visitorGeo.PostalCode = postalCode; visitorGeo.AreaCode = areaCode; visitorGeo.MetroCode = metroCode; visitorGeo.Latitude = latitude; visitorGeo.Longitude = longitude; return visitorGeo; }