Created
November 26, 2009 14:26
-
-
Save jfromaniello/243483 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MiQueryManager<T, TQueryT> : QueryManager<T, TQueryT> where TQueryT : IQuery | |
{ | |
private readonly IPersistenceConversation _conversation; | |
public MiQueryManager(IPersistenceConversation conversation, IQueryDAO pQueryDAO, Sort pDefaultSort) | |
: base(pQueryDAO, pDefaultSort) | |
{ | |
_conversation = conversation; | |
} | |
public MiQueryManager(IPersistenceConversation conversation, IQueryDAO pQueryDAO, Sort pDefaultSort, int pPageSize) | |
: base(pQueryDAO, pDefaultSort, pPageSize) | |
{ | |
_conversation = conversation; | |
} | |
protected override void InternalLoadData() | |
{ | |
_conversation.InConversation(base.InternalLoadData, ConversationEndMode.Continue); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment