On the other hand, if you make your year column nvarchar/text, you can set Length property, but then you'll have to handle conversions between String and Int :)
2014-11-01 16:52 GMT+04:00 mwpowellhtx <mwpowell...@gmail.com>: > > > On Friday, October 31, 2014 4:52:16 AM UTC-5, Gleb Chermennov wrote: >> >> How do you expect this to behave? Length is only applicable to text >> columns - you know, nvarchar or whatever - when you can say "no longer than >> 100 characters". >> In case of integer, that just does not make sense. >> > > This was my first thought as well: isn't that for xVARCHAR columns? > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Fluent NHibernate" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/fluent-nhibernate/uBYqoyixbH0/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > fluent-nhibernate+unsubscr...@googlegroups.com. > To post to this group, send email to fluent-nhibernate@googlegroups.com. > Visit this group at http://groups.google.com/group/fluent-nhibernate. > For more options, visit https://groups.google.com/d/optout. > -- С уважением, Чермённов Глеб -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To unsubscribe from this group and stop receiving emails from it, send an email to fluent-nhibernate+unsubscr...@googlegroups.com. To post to this group, send email to fluent-nhibernate@googlegroups.com. Visit this group at http://groups.google.com/group/fluent-nhibernate. For more options, visit https://groups.google.com/d/optout.