3 instantiations of DatabaseSource
Microsoft.ML.Tests (3)
DatabaseLoaderTests.cs (3)
259var source = new DatabaseSource(SQLiteFactory.Instance, connectionString, "SELECT datetime FROM Datetime"); 279return new DatabaseSource( 285return new DatabaseSource(
14 references to DatabaseSource
Microsoft.ML.Data (9)
DataLoadSave\Database\DatabaseLoader.cs (4)
21public sealed partial class DatabaseLoader : IDataLoader<DatabaseSource> 100public IDataView Load(DatabaseSource source) => new BoundLoader(this, source); 704private readonly DatabaseSource _source; 706public BoundLoader(DatabaseLoader loader, DatabaseSource source)
DataLoadSave\Database\DatabaseLoaderCursor.cs (3)
22private readonly DatabaseSource _source; 35private Cursor(DatabaseLoader parent, DatabaseSource source, bool[] active) 96public static DataViewRowCursor Create(DatabaseLoader parent, DatabaseSource source, bool[] active)
DataLoadSave\Database\DatabaseSource.cs (2)
15/// <summary>Creates a new instance of the <see cref="DatabaseSource" /> class.</summary> 24/// <summary>Creates a new instance of the <see cref="DatabaseSource" /> class.</summary>
Microsoft.ML.Tests (5)
DatabaseLoaderTests.cs (5)
36DatabaseSource dbs = GetIrisDatabaseSource("SELECT * FROM {0}"); 45DatabaseSource dbs = GetIrisDatabaseSource("WAITFOR DELAY '00:00:01'; SELECT * FROM {0}", 1); 50private void IrisLightGbmImpl(DatabaseSource dbs) 259var source = new DatabaseSource(SQLiteFactory.Instance, connectionString, "SELECT datetime FROM Datetime"); 275private DatabaseSource GetIrisDatabaseSource(string command, int commandTimeoutInSeconds = 30)