"NHibernate Mappings"



Product Table - for product entity Productname,description,category{string}

Category Table categoryid,category{string}

Current Window: Product.Xaml [iam binding product entity to this form/window]

what i am trying to do is - while accessing product entity from product table i need to access all categories from category table.So that it will be binded to a dropdownlist. is it possible to do that mapping in product.hbm.xml file only..? or i need to bind categories programmatically

ANY HELP WILL BE APPRECIATED..

REGARDS meibbu.

Avatar

meibbu

over 3 years ago
 



 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.