Exemplo n.º 1
0
 /// <summary>
 /// Create a new ZipInfo object.
 /// </summary>
 /// <param name="zipInfoId">Initial value of the ZipInfoId property.</param>
 /// <param name="latitude">Initial value of the Latitude property.</param>
 /// <param name="longitude">Initial value of the Longitude property.</param>
 /// <param name="cityAliasName">Initial value of the CityAliasName property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="stateCode">Initial value of the StateCode property.</param>
 /// <param name="zipCode">Initial value of the ZipCode property.</param>
 public static ZipInfo CreateZipInfo(global::System.Int64 zipInfoId, global::System.Single latitude, global::System.Single longitude, global::System.String cityAliasName, global::System.String city, global::System.String stateCode, global::System.Int32 zipCode)
 {
     ZipInfo zipInfo = new ZipInfo();
     zipInfo.ZipInfoId = zipInfoId;
     zipInfo.Latitude = latitude;
     zipInfo.Longitude = longitude;
     zipInfo.CityAliasName = cityAliasName;
     zipInfo.City = city;
     zipInfo.StateCode = stateCode;
     zipInfo.ZipCode = zipCode;
     return zipInfo;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ZipInfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToZipInfoes(ZipInfo zipInfo)
 {
     base.AddObject("ZipInfoes", zipInfo);
 }