In active record to write a model you write:

[ActiveRecord("TableName")] public class Model {
   [Property("SomeField")]
   public virtual string SomeField { get; set; };

   [Property("SomeLazyField"), Lazy= true]
   public virtual string SomeLazyField { get; set; };
 }


If the field is lazy it must fetch it on the first access, so how does the
Property attribute override the property and fetches the SomeLazyField
value?

Thanks,
Omer

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