Skip to content

0.9.7

Compare
Choose a tag to compare
@gwgrubbs gwgrubbs released this 06 Mar 22:06
2653c91

Added

  • Ability to specify a base type for code generated POCOs.
  • Support to add and remove interfaces for code generated POCOs via configuration (see https://dbexpression.com/docs/reference/configuration/scaffolding/object-overrides)
  • Added new function:
    • Soundex
  • Package compatibility verification. When dbExpression starts up at runtime, it verifies that the version of tools used to generate code is compatible with the runtime version of dbExpression.
  • Created resource files for exception messages for future support of internationalization. Changed most "common" exceptions to pull messages from a service backed by this resource.
  • Created new excecption types that extend DbExpressionException:
    • DbExpressionConversionException - thrown when there is an excecption converting data on read and on persistence
    • DbExpressionEventException - thrown when an excecption occurs in a user-provided pipeline event
    • DbExpressionMappingException - thrown when there is an exception mapping data to an object (entity, dynamic, etc)
    • DbExpressionMetadataException - thrown when metadata cannot be found for a requested expression element
    • DbExpressionQueryException - general exception thrown when an exception occurs during query execution

Changed

  • 35% reduction in memory allocations!
  • Synthetic aliases. When rendering entity expressions, a synthetic alias is created and used to further reduce the size of sql statements.
  • Disabled nullable feature in internal generated code to alleviate weird code analysis warnings
  • Count function simply renders a *, instead of creating a parameter with a value of *
  • Query execution for select many returns IList instead of IEnumerable

Fixed

Breaking Changes