public WithSettings ( |
||
settings | The new settings to use. | |
Результат |
static TestBase() { s_DataSource = new SQLiteDataSource("Data Source=SQLiteTestDatabase.sqlite;"); s_StrictDataSource = s_DataSource.WithSettings(new SQLiteDataSourceSettings() { StrictMode = true }); }
static TestBase() { s_DataSource = new SQLiteDataSource(System.Configuration.ConfigurationManager.ConnectionStrings["SQLiteTestDatabase"].ConnectionString); s_StrictDataSource = s_DataSource.WithSettings(new SQLiteDataSourceSettings() { StrictMode = true }); }