AdoNetCore.AseClient icon indicating copy to clipboard operation
AdoNetCore.AseClient copied to clipboard

AseParameter.Value should support String/Int/bool type for when it comes to AseDbType.Bit

Open ngvtien opened this issue 4 years ago • 0 comments

To continue the idea of drop in replacement,

Current legacy driver support passing in values of 1,"True", true when it comes to setting up AseParameter with AseDbType.Bit type.

AseParameter.Value should support String/Int/bool typed when AseParameter.AseDbType is of type AseDbType.Bit and would convert the equivalent Boolean value accordingly before hitting the database.

ngvtien avatar Feb 12 '21 14:02 ngvtien