This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I'm trying to translate a column type from an EntityProperty, however I've been unable to figure out how to translate the ModelDataType to a usable type in the T4 Template. Below is the example code I'm trying to use. I've been using the Object Browser to look through the DLLs but haven't been able to figure out to do this.
|
|
|
There is a method available called GetClrType() which will return the mapped CLR data type.
|
|