My googling the actual error did not help, but eventually I just googled "StringClob" and found this-- http://www.jamesthigpen.com/blog/2008/07/07/stringclob-ftl/ which describes the right way to do it:
[Property(ColumnType = "StringClob", SqlType = "NTEXT")] On Sep 18, 10:19 am, JakeS <[email protected]> wrote: > I've got a class like so: > > public class WhiteBoardData : ModelBase<WhiteBoardData>, ISearchable > { > [Property(ColumnType = "StringClob")] > public string Text > { > get; > set; > } > > [Property] > public int Revision > { > get; > set; > } > ... > > } > > But when ActiveRecord creates the schema, the text column is nvarchar > (255)! Any clues about why it's failing? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
