dotConnect for Oracle V9.14.1180

Released: Jan 14, 2021

Mises à jour de V9.14.1180

Fonctionnalités

Entity Developer

  • Added new attribute DisplayName for model objects' extended properties which are available via template properties.
  • Added new options --ContextNamespace and --DefaultNamespace to the Create-Model command of Console Entity Developer.
  • Added new extended model property Base Context Type for specifying a parent class for the generated context in Entity Framework Core Model.
  • Added new extended properties Base Type for complex types and Base Complex Type for model in Entity Framework Core Model.
  • The %type name% keyword is now supported in the Base Type extended property of entities and complex types as well as in Base Complex Type, Base Entity Type and Base Context Type extended model properties for setting generic base type in Entity Framework Core Model.
  • Improved code generation: RelationalIndexBuilderExtensions.HasDatabaseName is now generated instead of RelationalIndexBuilderExtensions.HasName in Entity Framework Core 5.
  • Updated display names of extended properties in Entity Framework Core Model: Entity Base has been renamed to Base Type in class and model properties and Context Base has been renamed to Base Context Type in model properties.

LinqConnect (formerly known as LINQ to Oracle)

  • Added new Local property to the Table and Table<T> classes to return a collection of the entities attached to the context.
  • Added new method GetEntityState(object entity) to Table class and ITable interface to return one of the EntityState values.

Entity Framework support

  • Entity Framework Core 5.0.2 is now supported.
  • Entity Framework Core 3.1.11 is now supported.
  • Added new metadata to describe autoincremental columns via annotations in Entity Framework Core Code-First Migrations.
  • Added new config.DatabaseScript.Index.UseCurrentSchema option (default value is false) which allows you to ignore schema set for indexes via Entity Framework Core Code-First Migrations.
  • Changed behavior: config.DatabaseScript.Index.UseCurrentSchema is set to false by default; as a result, the schema argument in CreateIndex(), DropIndex(), AddUniqueConstraint(), DropUniqueConstraint() operations is now applied not only to the table name, but also to the index name, i.e. previously, the index was always created in the current schema, and now it is created in the schema of the table to which the index belongs.

Correctifs

  • Fixed the bug with blocking thread during retrieving a connection from the pool, when connections from the same pool are used in several threads.
  • Fixed the bug with memory leaks when running a lot of queries in OCI mode.

Entity Developer

  • Fixed the bug with setting additional keyboard mapping scheme via menu Options on Windows with German display language.

LinqConnect (formerly known as LINQ to Oracle)

  • Fixed the bug with throwing "Bad key member '...' in association '...' of type '...'." in runtime by .NET Standard compliant assemblies.

Entity Framework support

  • Fixed the bug with ignoring schema set for indexes via CreateIndex(), DropIndex(), AddUniqueConstraint(), DropUniqueConstraint() operations of Entity Framework Core Code-First Migrations.