Missing types in conversion from property to db type

Jul 20, 2010 at 7:27 PM

Hello,

First and foremost, let me congratulate you for this great library.

The only issue that I've found is that if, for example, you define an entity class with a property of type System.Guid, a NotSupportedException is thrown when the entity is manually added to the datastore. I took a peek in the code and noticed that there's an extension method (ToDbType) that does the "mapping" between the type of the property and the corresponding db type. There are several types missing in this method (System.Guid, System.Decimal, to name a couple) that have corresponding db types.

Is there any particular reason for the omission of these types?

Thanks in advance

Coordinator
Jul 20, 2010 at 9:09 PM

The reason for the omission is actually pretty straightforward - I didn't need those types in the project I'm working on right now so I didn't add them - I was kind of fast-tracking to get something working at that point.  If you have a list of types you'd like added (other than the two mentioned already) let me know and I'll try to get them added or go ahead and submit a patch and I can integrate it.