Login Skip Navigation LinksWilsonWebPortal > Forums Search
Download WebPortal Download WebPortal
Download and start using the full WebPortal completely free, including the source for the basic modules so you can see how to create your own if the included modules aren't enough.

PayPal Subscribe
Get It All for $50 USD:
WebPortal, ORMapper,
Source Code, All Updates
PayPal

User Login User Login
Log In
 
 
Reset Password

Wilson WebPortal Forums Wilson WebPortal Forums : Advanced Topics : Add table with multiple primary key

Date Post
9/28/2006 8:55:26 AM

Hello Paul,

I am modifying your webportal to include localization. I want the localizable properties of each entity in a separate table, like this:

 

Now how does this tblLanguageLocales fit into the mapper classes? I don't know how i can use a class with multiple primary key into your webportal design, and your cache mechanism.

I want to be able to ask the page class to give me the name of the page. In the page class the pagelocale is fetched out of the cache and, based on the language in the users profile, the correct name is returned. Could you be so kind to give me a small sample how to achieve this?

Thanks very much,

Frans