Whats new in v2.12.1:
- Case 101. SQL Server compact connection string only looks in current project. It now looks in all project paths for the SDF file, in a similar way to finding the app.config file for the connection string.
- Much faster TableSQL. Query plan cost is 97% vs 3%. Thanks to Glenn Orr.
- Much faster ForeignKeySQL. Query plan cost is 71% vs 29%.
- Unique indexes are now checked for. Previously, for tables without primary keys, all the NOT NULL columns used to be marked as a primary key. Now, if the table has a unique index, these unique index columns are used instead. However, the columns are still checked for being NOT NULL as entity framework will not allow a primary key to be made up of a column which can be NULLable.
- MakeClassesPartial flag now adds partial keyword to the stored procedure model classes.
- Added AdditionalContextInterfaceItems array to allow adding of extra functions to the db context interface.
- Fix schema prepending for Stored Procedures. Thanks to Emanov.
- Fix bug in MigrationStrategy when set to CreateDatabaseIfNotExists or DropCreateDatabaseIfModelChanges. Thanks to Will.
- Case 102. Stored procedures with no input parameters and all columns are nullable views cannot get populated in .cs. Thanks to disanxian.
- Calls to stored procedures are now placed in square brackets in case there are spaces in its name.
- Case 103. Check for column name C# reserved word name clashes. Thanks to swago.
- Do not include foreign keys which use composite keys.