Skip to content

Release v2.5.0

Latest

Choose a tag to compare

@cajuncoding cajuncoding released this 26 Jan 21:52
1ba9e5d
  • Fix issues with SLQ Server non-writeable fields such as Computed Columns & Persisted Columns causing failures during Bulk Insert/Update operations.
  • Migrate from FastMember to Fasterflect for improved performance, reliability and functionality.
  • Implement support for Property Handler interceptors to enable advanced dynamic transformation of property values during Bulk Insert/Update operations.
  • Add Support to intentionally ignore properties on data models (for edge cases) using SqlBulkIgnoreAttribute (e.g. [SqlBulkIgnore]).
  • Add Support for property mapping/interception handling for dynamic conversions before writing to the DB via new ISqlBulkHelpersPropertyConverter interface that can be added to any custom Attribute (e.g. transform complex object properties to Json to store in a single field).
    • Add Support for dynamic Json property conversion with new SqlBulkConvertToJsonAttribute (e.g. [SqlBulkConvertToJson]) now provided out-of-the-box.
  • Improve compatibility with RepoDb by implementing support for RepoDb PropertyHandler interceptors by dynamically detecting and using any registered PropertyHandlers (Annotations on Properties) if already used on models.
    • Add compatibility support to utilize RepoDb IPropertyHandler and PropertyHandlerAttribute for conversions before writing to the DB.