private void Init() { ServiceProvider = new SystemServiceProvider(this); this.UseDefaultSqlCompiler(); this.UseDefaultQueryPlanner(); this.UseDefaultTableCellCache(); this.UseSystemFunctions(); ServiceProvider.AttachContext(this); }
private void Dispose(bool disposing) { if (disposing) { if (ServiceProvider != null) ServiceProvider.Dispose(); } ServiceProvider = null; }