Is it possible to disable auto shrink in SQL Server CE using Entity Framework

276 Views Asked by At

Is it possible to adjust SQL Server connection parameters using Entity Framework in order to completely disable auto-shrink behaviour with parameter "autoshrink threshold = 100"?

  • SQL Server CE version: 4.0
  • EntityFramework: 6.1.3
  • EntityFramework.SQLServerCompact: 6.1.3
1

There are 1 best solutions below

5
ErikEJ On BEST ANSWER

Yes of course, just add the setting to the connection string