public void Clear() { if (_scalarMapCompilers.Count > 0) { _defaultCompiler = null; _scalarMapCompilers.Clear(); } }
public ExecutionContext(IDbConnectionFactory factory, IProviderConfiguration provider, IDbCommandStringifier stringifier, IMapCompiler compiler, IMapCache mapCache) { MapCompiler = compiler; Stringifier = stringifier; Provider = provider; MapCache = mapCache; _completed = 0; _opened = 0; Connection = factory.Create(); }
public void Add(IScalarMapCompiler compiler) { _defaultCompiler = null; _scalarMapCompilers.Add(compiler); }
public MapCompilerSource() { _scalarMapCompilers = new List <IScalarMapCompiler>(_defaultScalarMapCompilers); _defaultCompiler = null; }