/// <summary> /// Deprecated Method for adding a new object to the ShippedSerials EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShippedSerials(ShippedSerial shippedSerial) { base.AddObject("ShippedSerials", shippedSerial); }
/// <summary> /// Create a new ShippedSerial object. /// </summary> /// <param name="shippedSerialId">Initial value of the ShippedSerialId property.</param> /// <param name="orderLineItemId">Initial value of the OrderLineItemId property.</param> /// <param name="entityId">Initial value of the EntityId property.</param> /// <param name="shipDateTime">Initial value of the ShipDateTime property.</param> public static ShippedSerial CreateShippedSerial(global::System.Int32 shippedSerialId, global::System.Int32 orderLineItemId, global::System.Int32 entityId, global::System.DateTime shipDateTime) { ShippedSerial shippedSerial = new ShippedSerial(); shippedSerial.ShippedSerialId = shippedSerialId; shippedSerial.OrderLineItemId = orderLineItemId; shippedSerial.EntityId = entityId; shippedSerial.ShipDateTime = shipDateTime; return shippedSerial; }