Exactly as you normally would. There's no difference between implementing an
interface on a class or one decorated with the AR attribute.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Henrique Costa
Sent: 11 April 2011 05:14 PM
To: [email protected]
Subject: interface + activerecord

 

how to use interface with ar ?
example
interface car
{
   int codigo
   string nome
   void move()
}

[activerecord]
class car : activerecordbase<car>
[primarykey]
int codigo{get;set;}
string nome{get;set}

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.

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

Reply via email to