public leeres StartTransaction ()
{
Anwendung (var stockMovementCtx = neues StockMovementCtxDataContext ())
Anwendung (var-Bereich = neues TransactionScope ())
{
var stockMovementItems = von s in stockMovementCtx.spStockMovementForTransaction (TicketID, ItemTypeNo, ItemID, TransactionType,
FromLocation, ToLocation, Menge, PersonelNo, cuser
)
s vorwählen;
ReturnCode = stockMovementItems.First () .ReturnCode;
// MessageBox.Show (stockMovementItems.First () .ToString ());
ReturnMsg = stockMovementItems.First () .ReturnMessage;
TransactionType = stockMovementItems.First () .TransactionType;
TicketID = stockMovementItems.First () .TicketID; |