3 instantiations of DatabaseSource
Microsoft.ML.Tests (3)
DatabaseLoaderTests.cs (3)
259
var source = new
DatabaseSource
(SQLiteFactory.Instance, connectionString, "SELECT datetime FROM Datetime");
278
return new
DatabaseSource
(
284
return new
DatabaseSource
(
14 references to DatabaseSource
Microsoft.ML.Data (9)
DataLoadSave\Database\DatabaseLoader.cs (4)
21
public sealed partial class DatabaseLoader : IDataLoader<
DatabaseSource
>
100
public IDataView Load(
DatabaseSource
source) => new BoundLoader(this, source);
704
private readonly
DatabaseSource
_source;
706
public BoundLoader(DatabaseLoader loader,
DatabaseSource
source)
DataLoadSave\Database\DatabaseLoaderCursor.cs (3)
22
private readonly
DatabaseSource
_source;
35
private Cursor(DatabaseLoader parent,
DatabaseSource
source, bool[] active)
96
public 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)
36
DatabaseSource
dbs = GetIrisDatabaseSource("SELECT * FROM {0}");
45
DatabaseSource
dbs = GetIrisDatabaseSource("WAITFOR DELAY '00:00:01'; SELECT * FROM {0}", 1);
50
private void IrisLightGbmImpl(
DatabaseSource
dbs)
259
var
source = new DatabaseSource(SQLiteFactory.Instance, connectionString, "SELECT datetime FROM Datetime");
275
private
DatabaseSource
GetIrisDatabaseSource(string command, int commandTimeoutInSeconds = 30)