FullName is de default.

2009/8/27 YJingLee <[email protected]>

>
> Thanks, in uNHAddins has
>
>    public class EntityNameInterceptor : EmptyInterceptor
>    {
>        public override string GetEntityName(object entity)
>        {
>            if (entity is INamedEntity)
>            {
>                var namedEntity = (INamedEntity) entity;
>                return namedEntity.EntityName;
>            }
>
>            return base.GetEntityName(entity);
>        }
>    }
>
> why  base.GetEntityName(entity) return null,
>
> in EmptyInterceptor return null
> public virtual string GetEntityName(object entity)
> {
>   return null;
> }
>
> What is the format of entity? for example: class name  or Assembly
> name.namespace name.class name,Assembly name?
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to