New features in the Entity Framework support!

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Locked
Devart
Site Admin
Posts: 3276
Joined: Tue 26 Oct 2004 13:51

New features in the Entity Framework support!

Post by Devart » Fri 08 Jun 2012 12:06

Dear users,

We are glad to announce the new features that are available in the Entity Framework support in the latest version:
  • The config.CodeFirstOptions.RemoveSchemaFromDefaultConstraintName option for removing schema name from the default constraint name is implemented in Code-First Migrations (by default, true) (MySQL, Oracle, PostgreSQL, SQLite)
  • The config.CodeFirstOptions.AddTableNameInDefaultIndexName option for adding a table name to the default index name is implemented in Code-First Migrations (by default, true) (MySQL, Oracle, PostgreSQL, SQLite)
  • The config.CodeFirstOptions.DisableIndexQuoting option is implemented for a backward compatibility with migrations which use indexes, generated and applied in the 6.xx versions (Oracle)
  • The config.CodeFirstOptions.DisableIndexQuoting option is implemented for a backward compatibility with migrations which use indexes, generated and applied in the 5.xx versions (PostgreSQL)
  • The MySqlRenameColumnConfiguration class is added for the possibility of setting column definition for the RenameColumn operation in Code-First Migrations (MySQL)
  • The MySqlAddForeignKeyConfiguration class for the customization of the AddForeignKey operation (setting ON UPDATE and ON DELETE actions) in Code-First Migrations is added (MySQL)
  • The behaviour is changed: an exception is generated for the default RenameColumn operation which is without column definition in Code-First Migrations (MySQL)
  • The behaviour is changed: ON UPDATE NO ACTION is generated for the AddForeignKey operation by default now in Code-First Migrations (MySQL)
  • The bug with quoting indexes in Code-First Migrations is fixed (MySQL, Oracle, PostgreSQL, SQLite)
  • The bug with HistoryTable in Code-First Migrations when using the DisableQuoting option is fixed (MySQL, Oracle, PostgreSQL, SQLite)
  • The bug with adding a schema prefix to default constraint name (PK and FK) in Code-First Migrations is fixed (MySQL, Oracle, PostgreSQL, SQLite)
  • The bug with generating invalid SQL statement for the DropPrimaryKey operation in Code-First Migrations is fixed (MySQL)
Devart development team
http://www.devart.com/dotconnect/entityframework.html

Locked