Skip to content

Conversation

@smitpatel
Copy link
Contributor

Run benchmarks for Sqlite provider

Resolves #9681

@smitpatel
Copy link
Contributor Author

cc: @roji

public static class AdventureWorksFixture
{
// TODO: No database for Sqlite
private static string _connectionString = $"DataSource=AdventureWorks2014;";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bricelam some of our tests uses AdventureWorks database. To run those tests, we would need copy of the database for Sqlite.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed offline, use .EnsureCreated() to create the schema, select the data from SQL Server and insert into SQLite.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you file an issue for that?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

protected override string StoredProcedureCreationScript
=> @"";

// TODO: Define stored procedure creation script
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bricelam how to define a stored procedure in sqlite? We have definition for SqlServer right now. It is used in a test where FromSql is used with sproc

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No procedures in SQLite--just TVFs.

Run benchmarks for Sqlite provider

Resolves #9681
@smitpatel smitpatel merged commit 0ab0729 into dev Feb 28, 2018
@smitpatel smitpatel deleted the smit/benchmarks branch March 1, 2018 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants