The name including "Field" is only a mirage.
We can't really intercept field access; instead we are intercepting
autoproperties.

On Tue, Feb 22, 2011 at 11:17 AM, Michael DELVA <[email protected]>wrote:

> For example:
>
> using (var s = SessionFactory.OpenSession())
> {
>     var customer = s.Load<Customer>(customerId);
>     customer.name = "Mike";
> }
>
> would be intercepted by IFieldInterceptorAccessor, whereas
>
> using (var s = SessionFactory.OpenSession())
> {
>     var customer = s.Load<Customer>(customerId);
>     customer.Name = "Mike";
> }
>
> would be intercepted by ILazyInitializer ?
>
> Am I right?
>



-- 
Fabio Maulo

Reply via email to