Inheritance: System.Data.Objects.DataClasses.EntityObject
Ejemplo n.º 1
0
 /// <summary>
 /// Create a new address object.
 /// </summary>
 /// <param name="address_id">Initial value of the address_id property.</param>
 /// <param name="address1">Initial value of the address1 property.</param>
 /// <param name="district">Initial value of the district property.</param>
 /// <param name="city_id">Initial value of the city_id property.</param>
 /// <param name="phone">Initial value of the phone property.</param>
 /// <param name="last_update">Initial value of the last_update property.</param>
 public static address Createaddress(global::System.Int32 address_id, global::System.String address1, global::System.String district, global::System.Int32 city_id, global::System.String phone, global::System.DateTime last_update)
 {
     address address = new address();
     address.address_id = address_id;
     address.address1 = address1;
     address.district = district;
     address.city_id = city_id;
     address.phone = phone;
     address.last_update = last_update;
     return address;
 }
Ejemplo n.º 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);
 }