示例#1
0
 private void ExecutePostSelect(RequestScope request)
 {
     while (request.QueueSelect.Count > 0)
     {
         PostBindind postSelect = request.QueueSelect.Dequeue() as PostBindind;
         PostSelectStrategyFactory.Get(postSelect.Method).Execute(postSelect, request);
     }
 }
示例#2
0
        /// <summary>
        /// Executes the <see cref="PostBindind"/>.
        /// </summary>
        /// <param name="request">The current <see cref="RequestScope"/>.</param>
        private static void ExecuteDelayedLoad(RequestScope request)
        {
            while (request.DelayedLoad.Count > 0)
            {
                PostBindind postSelect = request.DelayedLoad.Dequeue();

                PostSelectStrategyFactory.Get(postSelect.Method).Execute(postSelect, request);
            }
        }