class Employee : Person

 

This way the Employee is still validation base.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Neuwirt
Sent: Tuesday, July 11, 2006 7:07 PM
To: [email protected]
Subject: Re: [Castle-users] Using ActiveRecordValidationBase<T> with inheritance

 

class Person : ActiveRecordValidationBase<Person>

 

class Employee : ActiveRecordValidationBase<Employee>

 

How can Employee inherit Person?

 

On 7/11/06, G. Richard Bellamy <[EMAIL PROTECTED]> wrote:

Would the JoinedBase or the Discriminator type hierarchy work? I've never tried it with the ActiveRecardValidationBase<T> class, but I think it should.

 

- Richard

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Craig Neuwirt
Sent: Tuesday, July 11, 2006 9:47 AM
To: [email protected]
Subject: [Castle-users] Using ActiveRecordValidationBase<T> with inheritance

 

If I have a Person => Employee relationship (Employee isa Person), how

do I use the ActiveRecordValidationBase<T> such that I can represent the

inheritance?

 

thanks,

  craig



-------------------------------------------------------------------------
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

Reply via email to