Пример #1
0
 /// <summary>
 /// Create a new ShipmentMode object.
 /// </summary>
 /// <param name="shipmentModeID">Initial value of the ShipmentModeID property.</param>
 /// <param name="mode">Initial value of the Mode property.</param>
 public static ShipmentMode CreateShipmentMode(global::System.Byte shipmentModeID, global::System.String mode)
 {
     ShipmentMode shipmentMode = new ShipmentMode();
     shipmentMode.ShipmentModeID = shipmentModeID;
     shipmentMode.Mode = mode;
     return shipmentMode;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ShipmentModes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShipmentModes(ShipmentMode shipmentMode)
 {
     base.AddObject("ShipmentModes", shipmentMode);
 }