private void ExecutePostSelect(RequestScope request) { while (request.QueueSelect.Count > 0) { PostBindind postSelect = request.QueueSelect.Dequeue() as PostBindind; PostSelectStrategyFactory.Get(postSelect.Method).Execute(postSelect, request); } }
/// <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); } }