nreco / data

Fast DB-independent DAL for .NET Core: abstract queries, SQL commands builder, schema-less data access, POCO mapping (micro-ORM).
https://www.nrecosite.com/dalc_net.aspx
MIT License
184 stars 39 forks source link

Add == and != operator overload for DBNull #49

Closed VitaliyMF closed 5 years ago

VitaliyMF commented 5 years ago

Right now "IS NULL" (or "IS NOT NULL") condition is possible only with new QConditonNode( (QField)"col_name", Conditions.Null, null) what is not very handy.

Lets add overloads for DBNull and allow comparisons like (QField)"col_name" == DBNull.Value

VitaliyMF commented 5 years ago

Shipped in 1.0.6