private bool FilterAddress1(Address entity)
 {
     return (entity.AddressID == this.ShipToAddressID);
 }
 /// <summary>
 /// Create a new Address object.
 /// </summary>
 /// <param name="addressID">Initial value of the AddressID property.</param>
 /// <param name="addressLine1">Initial value of the AddressLine1 property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="stateProvince">Initial value of the StateProvince property.</param>
 /// <param name="countryRegion">Initial value of the CountryRegion property.</param>
 /// <param name="postalCode">Initial value of the PostalCode property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static Address CreateAddress(global::System.Int32 addressID, global::System.String addressLine1, global::System.String city, global::System.String stateProvince, global::System.String countryRegion, global::System.String postalCode, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     Address address = new Address();
     address.AddressID = addressID;
     address.AddressLine1 = addressLine1;
     address.City = city;
     address.StateProvince = stateProvince;
     address.CountryRegion = countryRegion;
     address.PostalCode = postalCode;
     address.rowguid = rowguid;
     address.ModifiedDate = modifiedDate;
     return address;
 }
 private bool FilterAddress(Address entity)
 {
     return (entity.AddressID == this.BillToAddressID);
 }
 /// <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);
 }