I'm afraid that's up to NHibernate to interpret mapping in a particular way
2014-11-01 23:35 GMT+03:00 Yek MX <yek...@gmail.com>: > thought it would be smart in some databases like mysql, the int fields can > be assigned a length > like: > Map(x => > x.year).Column("year").CustomSqlType("Int(4)").Default(0).GeneratedBy.Assigned(); > > > El sábado, 1 de noviembre de 2014 06:52:11 UTC-6, mwpowellhtx escribió: > >> >> >> 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.