-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Benchmarks: Refactor benchmarks to be provider agnostic #11086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cc: @roji |
| public static class AdventureWorksFixture | ||
| { | ||
| // TODO: No database for Sqlite | ||
| private static string _connectionString = $"DataSource=AdventureWorks2014;"; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
5dd16d4 to
09f5704
Compare
Run benchmarks for Sqlite provider Resolves #9681
09f5704 to
0ab0729
Compare
Run benchmarks for Sqlite provider
Resolves #9681