http://www.webdevbros.net/2009/06/24/create-a-multi-languaged-domain-model-with-nhibernate-and-c/
<http://www.webdevbros.net/2009/06/24/create-a-multi-languaged-domain-model-with-nhibernate-and-c/>
http://fabiomaulo.blogspot.com/2009/06/localized-property-with-nhibernate.html

2009/8/5 Ramon Smits <[email protected]>

>
>
> Maybe it is usefull to see a minimal code design:
>
> public class Index
> {
>    public virtual int Id { get; set; }
>    public IDictionary<string, IndexLocalizated> Local { get; set; }
>    // ....
> }
>
> public class IndexLocalized
> {
>    public string Title { get; set; }
>    public string Description { get; set; }
>    public IList<string> Tags { get; set; } // Addition to previous
> version
>    // ....
> }
>
> The entities have more attributes but are not listed here.
>
> >
>


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