示例#1
0
        public Tickets_Counter(BackendSession backend)
        {
            this.session = backend.GetSession();
            this.mapper  = backend.GetMapper();
            // this.queryOptions = backend.GetQueryOptions();
            var statements = backend.GetPreparedStatements();

            this.incrementCounter = statements[0];
            this.decrementCounter = statements[1];
        }
示例#2
0
        public Reservation(BackendSession backend)
        {
            this.mapper = backend.GetMapper();

            this.tickets_Counter = new Tickets_Counter(backend);
        }
示例#3
0
 public Event(BackendSession backend)
 {
     this.mapper = backend.GetMapper();
 }