does the sql data type money map to c# float?
No...it maps to a decimal. If the column allows null, it maps to Nullable<Decimal>.
Mapping CLR Parameter Data
float isn't precise enough to be used for monetary calculations. You'd be losing/gaining money all over the place.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With