blah blah blah is here! blah blah » Close

0
votes
1 answers

Implications of using nullable types?

Rick_A
761

C# supports nullable types, but is it a good idea to introduce nulls just because the database columns are nullable? It seems that it complicates the logic, because you can't just do: [code]if(someObject.BoolField) { }[/code] S ...

1
votes
1 answers

reading nulls from MySQL into nullables in C#

I'm using Connector/NET to connect to MySQL and I want to read float? and int? values from the database. I looked at the metadata and MySQLDataReader does not have any nullable equivalents to GetFloat() and GetUInt32(). I noticed a ...

Feedback