Hi.

I my domain model I have 2 date attributes with no setter in my class.
FluentMapping is :

            Id(x => x.Id).GeneratedBy.Assigned();

            Map(x => x.Name).Not.Nullable();
            Map(x => x.Description);
            Map(x => x.CreateDate).Access.CamelCaseField();
            Map(x => x.EditedDate).Access.CamelCaseField();

when calling VerifyTheMappings() on the PersistenceSpecification I get
the following errors:
System.ArgumentException: Property set method not found.
System.ApplicationException: Error while trying to set property
CreateDate

Shouldn't Access.CamelCaseField() force the value to be set on the
field rather than the property?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to