That code is using FluentNHibernate mappings. You should direct the question to that mailing list.
I think when you specify map the same property several times you will get strange results. /Oskar 2014-11-02 4:35 GMT+01:00 Yek MX <[email protected]>: > class impresorasMap : ClassMap<impresoras> > { > public impresorasMap() > { > Table("impresoras"); > LazyLoad(); > > > CompositeId() > .KeyProperty(x => x.codigo) > .KeyProperty(x => x.id); > > Map(x => x.codigo).Column("codigo").CustomSqlType("Int(4)"). > Not.Nullable().Default("0"); > Map(x => x.id).Column("id").Length(15).Not.Nullable(); > > Map(x => x.nombre).Column("nombre").Not.Nullable().Length(30). > Default("''"); > Map(x => x.impresiones).Column("impresiones").Not.Nullable().C > ustomSqlType("Int(10)").Default("1"); > } > } > Mapping is not respected for: codigo and id, not create default, length > and not create customsqltype > > any solution? > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/nhusers. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers. For more options, visit https://groups.google.com/d/optout.
