Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            ServiceProxy proxy = new ServiceProxy();

            using (SoaServiceCallContext soaContext = new SoaServiceCallContext(true, true))
            {
                soaContext.BeginRecordLogTrackEvent += SoaContext_BeginRecordLogTrackEvent;
                soaContext.TransactionEndEvent      += SoaContext_TransactionEndEvent;
                proxy.SetTicketPrice("123456", 12.4);
                proxy.UpdateTIcketCache("123456", 32.4);
            }
        }
Ejemplo n.º 2
0
 public SoaServiceCallContext(bool transaction, bool logtrack)
 {
     this.Transaction = transaction;
     this.LogTrack    = logtrack;
     SoaServiceCallContext._context = this;
 }