Created
March 7, 2012 08:43
-
-
Save smiler/1992001 to your computer and use it in GitHub Desktop.
This file contains 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
namespace CampaignTracker.Data.Data { | |
public class CampaignTrackerDataReader : CampaignTrackerDataContext { | |
public CampaignTrackerDataReader() { | |
ObjectTrackingEnabled = false; | |
} | |
public CampaignTrackerDataReader( IDbConnection connection ) : base( connection ) {} | |
public CampaignTrackerDataReader( bool log ) { | |
ObjectTrackingEnabled = false; | |
#if DEBUG | |
if( log ) | |
Log = new LinqQueryDumper(); | |
#endif | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment