I believe you need to set Length, and it will use different types
depending on the demand. In that case, you don't need to specify
StringClob IIRC.

Chris Sims wrote:
> I am using Castle ActiveRecord accessing an MS Sql 2005 DB. I need a
> Text field, but when I use the following code:
>
>         [Property(ColumnType="StringClob", Column =
> "products_description")]
>         public String Description { get; set; }
>
> The column ends up being created as a varchar(255). What am I doing
> wrong and how do I resolve this issue?
>
> Thank you!
> Chris Sims
>
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to