/// <summary> /// Create a new ShippingMethod object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="shipper">Initial value of the Shipper property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static ShippingMethod CreateShippingMethod(global::System.Int32 id, global::System.String shipper, global::System.Byte[] rowVersion) { ShippingMethod shippingMethod = new ShippingMethod(); shippingMethod.Id = id; shippingMethod.Shipper = shipper; shippingMethod.RowVersion = rowVersion; return shippingMethod; }
/// <summary> /// Deprecated Method for adding a new object to the ShippingMethods EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShippingMethods(ShippingMethod shippingMethod) { base.AddObject("ShippingMethods", shippingMethod); }