fieldsubsonic3maxlength

On subsonic3 How to get the name of a field from a table, and the max length, type etc


How to get the string-name of a field from a table on subsonic 3?

On subsonic version 2 I use the TableName.columns.Field

Also in subsonic 2 I have the opportunity to get the max length of a string field. How can I do that on subsonic 3 ?


Solution

  • I end up that we need to change the tt files and create that fields.

    Of cource maybe they was better to exist in the default files, however they not

    here is the page for how to create the dal for t4 http://subsonicproject.com/docs/Creating_Your_Own_DAL