I guess it depends on what you're trying to do. If it will map to an existing field type (yeah, in the fieldtypemssql.xml file) then you can just change the XML field definition to use that type. If you need a type other than what is included in the OOTB data type dictionary (ie the types in the fieldtype*.xml files) then you'll need to add custom ones and refer to them in the field def.

Basically the induce model stuff just guesses at an appropriate field type, so it's usually a good idea to check them anyway.

-David


On Jun 11, 2009, at 2:39 PM, Vince Clark wrote:

I ran "Induce Model XML from Database" against a connection to a MS SQL Server database. Most of the fields mapped correctly but several came back with "invalid" in the type. Examples:
invalid-nchar:32:0
invalid-bit:1:0
invalid-int identity:10:0

Do I need to add some mappings to fieldtypemssql.xml?


Vince Clark
[email protected]
(303) 493-6723

Reply via email to