Thursday, June 30, 2011

Columns not supported for now

For now there are some columns that are not supported.

XML Columns

In this case we see the example of the column “Instructions” of the “ProductModel” table in sample project of AdventureWorks Database.

The table shows the real data type:
image

But to be mapped to Entity Framework the data type is changed to “string”:
image

But, with SFS Tools can not used this property as string, because the real data is XML and actually not be automatically supported (But the developer can add code for implement this data type).

Just specify the type on the property in the XML configuration file.
image

Then you must regenerate the code for the business rules layer project and the user interface presentation layer.

Done.

No comments:

Post a Comment