예제 #1
0
 /// <summary>
 /// Create a new address object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="station_id">Initial value of the station_id property.</param>
 /// <param name="address1">Initial value of the address1 property.</param>
 /// <param name="longitude">Initial value of the longitude property.</param>
 /// <param name="latitude">Initial value of the latitude property.</param>
 public static address Createaddress(global::System.Int32 id, global::System.Int32 station_id, global::System.String address1, global::System.String longitude, global::System.String latitude)
 {
     address address = new address();
     address.id = id;
     address.station_id = station_id;
     address.address1 = address1;
     address.longitude = longitude;
     address.latitude = latitude;
     return address;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the addresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaddresses(address address)
 {
     base.AddObject("addresses", address);
 }