I found the problem, will fix that right now in unhaddins.

On 27 ago, 11:52, Jao Henry <[email protected]> wrote:
> finally i found the problem which is in mapping file
>
> see below configuration
>
> <class name ="Schedule" table="CampaignSchedule" entity-name="cs">
>     <id name="Id" column="CampaignScheduleId">
>       <generator class="guid.comb"/>
>     </id>
>      <property name="Alias" />
>     <property name="Start" column ="StartTime" type="DateTime" />
>     <property name ="End" column="EndTime" type="DateTime"  />
>     .....
>   </class>
>
> At fist line we shouldn't customize the "entity-name" attribute.
>
> I use the uNhAddIns.WPF.Castle project to dynamic adding additional
> interface
> In order to tell IInterceptor the Nh class maping with, The
> GetEntityNameInterceptor will save the type of Nb full class name for
> EmptyInterceptor to GetEntityName.
>
> if we changed the "entity-name" attribute. the
> GetEntityNameInterceptor  just can't match with the type of Nb full
> class name.
>
> the "uNhAddIns.WPF.Castle" is create by jfromaniello. It's a greate
> work.
--~--~---------~--~----~------------~-------~--~----~
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