public void Dispose() { if (_disposed || _entities == null) return; _disposed = true; _entities.Dispose(); _entities = null; }
public TigerLineDataService(string connectionString) { _entities = new Streets_SanDiegoEntities(connectionString); CreateMaps(); }
public TigerLineDataService() { _entities = new Streets_SanDiegoEntities(); CreateMaps(); }