Example #1
0
 /// <summary>
 /// Create a new CartLocation object.
 /// </summary>
 /// <param name="locationId">Initial value of the LocationId property.</param>
 /// <param name="cartId">Initial value of the CartId property.</param>
 /// <param name="locationType">Initial value of the LocationType property.</param>
 /// <param name="businessName">Initial value of the BusinessName property.</param>
 /// <param name="fullName">Initial value of the FullName property.</param>
 /// <param name="address1">Initial value of the Address1 property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="stateCode">Initial value of the StateCode property.</param>
 /// <param name="postalCode">Initial value of the PostalCode property.</param>
 /// <param name="countryCode">Initial value of the CountryCode property.</param>
 /// <param name="phone">Initial value of the Phone property.</param>
 public static CartLocation CreateCartLocation(global::System.Int32 locationId, global::System.Int32 cartId, global::System.Int32 locationType, global::System.String businessName, global::System.String fullName, global::System.String address1, global::System.String city, global::System.String stateCode, global::System.String postalCode, global::System.String countryCode, global::System.String phone)
 {
     CartLocation cartLocation = new CartLocation();
     cartLocation.LocationId = locationId;
     cartLocation.CartId = cartId;
     cartLocation.LocationType = locationType;
     cartLocation.BusinessName = businessName;
     cartLocation.FullName = fullName;
     cartLocation.Address1 = address1;
     cartLocation.City = city;
     cartLocation.StateCode = stateCode;
     cartLocation.PostalCode = postalCode;
     cartLocation.CountryCode = countryCode;
     cartLocation.Phone = phone;
     return cartLocation;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CartLocations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCartLocations(CartLocation cartLocation)
 {
     base.AddObject("CartLocations", cartLocation);
 }