Öffentlichkeit 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 = s.ReturnCode;
// MessageBox.Show (stockMovementItems.First () .ToString ());
ReturnMsg = s.ReturnMessage;
TransactionType = s.TransactionType;
TicketID = s.TicketID;
|