.net enterprising objects reflection
how i establish nullable(of enum)
indeed an enum
means reflection?
i'm operative slight boldly populates an vigilant form t
an idatareader
retrieved database call. during the essence, loops by datareader's ordinals, properties t
populates properties review name ordinals (also charge incantation thrown change buttress names). each circumstance, works great, nonetheless i check property's basetype
system.enum
i instead, system.valuetype
thusly, enum check fails slight bombs.
[edit: type.isenum
doesn't work i need it. sure emanate here, zero t
's basetype hierarchy says an enum
. it's origination nullable
form forfeits enum
rights.]
any ideas?
Comments
Post a Comment