Maybe it is because your decorator is estado and not Estado
[Property(Column="estado", ColumnType="bit" )],
public bool Estado { get; set; }
regards
2010/12/20 enzoscuro <[email protected]>
>
> Could not determine type for: bit, for columns:
> NHibernate.Mapping.Column(estado)
> en NHibernate.Mapping.SimpleValue.get_Type() en
> NHibernate.Mapping.SimpleValue.IsValid(IMapping mapping) en
> NHibernate.Mapping.Property.IsValid(IMapping mapping) en
> NHibernate.Mapping.PersistentClass.Validate(IMapping mapping) en
> NHibernate.Mapping.RootClass.Validate(IMapping mapping) en
> NHibernate.Cfg.Configuration.ValidateEntities() en
> NHibernate.Cfg.Configuration.Validate() en
> NHibernate.Cfg.Configuration.BuildSessionFactory() en
> Castle.ActiveRecord.Framework.SessionFactoryHolder.GetSessionFactory(Type
> type) en
> Castle.ActiveRecord.Framework.SessionFactoryHolder.CreateScopeSession(Type
> type) en
> Castle.ActiveRecord.Framework.SessionFactoryHolder.CreateSession(Type
> type) en Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type
> targetType, Object id, Boolean throwOnNotFound) en
> Castle.ActiveRecord.ActiveRecordBase`1.Find(Object id) en
> _Default.Page_Load(Object sender, EventArgs e) en d:\Proyectos
> \EmailPostSales\Default.aspx.cs:lĂnea 18
>
> --
> 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]<castle-project-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
>
--
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.