public QuantivEntityQueryBuilder(string controllerPool, string activityRef, string entityClassRef)
        {
            _controllerPool = controllerPool;
            _activityRef = activityRef;
            _entityClassRef = entityClassRef;

            _activityController = ActivityControllerPooler.AllocateController(_controllerPool);
            _activity = _activityController.StartActivity(_activityRef);

            var manager = _activity.GetEntityManager(_entityClassRef);
            _retriever = manager.CreateEntityListRetriever();
        }
Exemplo n.º 2
0
 private void CreateActivity()
 {
     ActivityController = ActivityControllerPooler.AllocateController(_controllerPool);
     Activity = ActivityController.StartActivity(_activityRef);
 }
 public QuantivActivityControllerWrapper(ActivityController activityController)
 {
     ActivityController = activityController;
 }