예제 #1
0
 /// <summary>
 /// Create a new address object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="address_code">Initial value of the address_code property.</param>
 /// <param name="address1">Initial value of the address1 property.</param>
 /// <param name="address2">Initial value of the address2 property.</param>
 /// <param name="address3">Initial value of the address3 property.</param>
 /// <param name="city">Initial value of the city property.</param>
 /// <param name="state">Initial value of the state property.</param>
 /// <param name="country">Initial value of the country property.</param>
 /// <param name="postcode">Initial value of the postcode property.</param>
 /// <param name="stamp">Initial value of the stamp property.</param>
 /// <param name="access_criteria">Initial value of the access_criteria property.</param>
 public static address Createaddress(global::System.Int32 id, global::System.String address_code, global::System.String address1, global::System.String address2, global::System.String address3, global::System.String city, global::System.String state, global::System.String country, global::System.String postcode, global::System.DateTime stamp, global::System.String access_criteria)
 {
     address address = new address();
     address.id = id;
     address.address_code = address_code;
     address.address1 = address1;
     address.address2 = address2;
     address.address3 = address3;
     address.city = city;
     address.state = state;
     address.country = country;
     address.postcode = postcode;
     address.stamp = stamp;
     address.access_criteria = access_criteria;
     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);
 }