v2.4.0-beta.3 Support for Nullable / Mutable
Pre-release
Pre-release
·
149 commits
to main
since this release
SqlHydra.Cli
- Added new tom configuration options to generate mutable properties and
System.Nullable
properties. This can be useful for CRUD scenarios where you want to data bind generated types directly to UI controls. (Generally, I would recommend mapping generated types to domain entities or DTOs, but it's nice to have the option to do things in a quick and dirty way.)mutable_properties = true
nullable_property_type = "Nullable"
SqlHydra.Query
- Added
head
custom operation to theSelectBuilder
for queries where you know there should always be at least one result. (Before you had to usetryHead
, and then manually extract the value.) - Changes to support the new
System.Nullable
column/properties in the Linq query syntax - Changes to support the new
System.Nullable
column/properties query parameters