Skip navigation

I’ve mostly operate on well known types: int, string and DateTime, and I’ve newer suspect that some hidden dragon is there… And so once I’ve decided to be more specific, we’ve got ushorts and other beautiful types..
And there is my waring: BE VERY CONSISTENT. If your property is ushort your mapping must be type UInt16, if you map it as Int16 you will end with Invalid Cast, and with no precise clue which property is guilty!
So again my piece of advice: if you mean ushort map UInt16, not anything else.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.