/// <summary> /// Create a new ShippingCarrier object. /// </summary> /// <param name="shippingCarrier_Id">Initial value of the ShippingCarrier_Id property.</param> /// <param name="shippingCarrier_Name">Initial value of the ShippingCarrier_Name property.</param> public static ShippingCarrier CreateShippingCarrier(global::System.Int32 shippingCarrier_Id, global::System.String shippingCarrier_Name) { ShippingCarrier shippingCarrier = new ShippingCarrier(); shippingCarrier.ShippingCarrier_Id = shippingCarrier_Id; shippingCarrier.ShippingCarrier_Name = shippingCarrier_Name; return(shippingCarrier); }
/// <summary> /// Create a new ShippingCarrier object. /// </summary> /// <param name="shippingCarrier_Id">Initial value of the ShippingCarrier_Id property.</param> /// <param name="shippingCarrier_Name">Initial value of the ShippingCarrier_Name property.</param> public static ShippingCarrier CreateShippingCarrier(global::System.Int32 shippingCarrier_Id, global::System.String shippingCarrier_Name) { ShippingCarrier shippingCarrier = new ShippingCarrier(); shippingCarrier.ShippingCarrier_Id = shippingCarrier_Id; shippingCarrier.ShippingCarrier_Name = shippingCarrier_Name; return shippingCarrier; }
/// <summary> /// Deprecated Method for adding a new object to the ShippingCarriers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShippingCarriers(ShippingCarrier shippingCarrier) { base.AddObject("ShippingCarriers", shippingCarrier); }