private static IDataContextConfigurator Create() { var instance = new DataContextConfigurator(); instance.EnableCaching = bool.Parse(CloudConfigurationManager.GetSetting("EnableDataLayerCaching")); instance.EnableTracing = bool.Parse(CloudConfigurationManager.GetSetting("EnableDataLayerTracing")); return instance; }
public void InitializeTest() { MockKernel = MockRepository.GenerateMock <IKernel>(); Target = new DataContextConfigurator(); }