You can find the associations from the AR model pretty easily.
On 6/25/06, Craig Neuwirt
<[EMAIL PROTECTED]> wrote:
It invokes NHibernate.IValidatable.Validate method which is
implemented by ActiveRecordValidationBasegood to know. Unfortunately, I can't benefit from this yet. I am constrained to usethe nasty data model described in an earlier thread. I created an AR Domain Modelto reflect the business, but still must perform my own data access until I fully migratethe database. I am calling AR validation directly so i'll have to explicitly call IsValid onthe nested components until we can decide how to proceed.
> Should IsValid on an entity check IsValid on all associations and nested
> components.
Sure, but we don't have this information easily, do we? We'd need to
inspect the ARModel..We sure don't. If the ARModel does not exposed this information easily, Iwonder if the raw NHibernate Models would be any better. They havefacilities to retrieve the associations.craig
--
Cheers,
hammett
http://hammett.castleproject.org/
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ CastleProject-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/castleproject-users
