Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Product p = DALProduct.getByID(2)
- p.name //results in the language of the current UICulture
- class Product
- {
- string LocalizedName
- {
- get { return AllProductNames[Thread.CurrentThread.CurrentCulture.LCID]; }
- }
- IDictionary<int, string> AllProductNames { get; private set; }
- }
Add Comment
Please, Sign In to add comment