Hi Folks,
I am new to NHibernate, and using the same in one of my projects. I stuck up at one point, please look into this problem and help me.
There is Tables like (
Branch :- BranchID, Name, City, State, Country.
City :- CityID, Name.
State :- StateID, Name.
Country :- CountryID, Name.
There is proper relationship( one to many from all regeonol tables to Branch).
I have a search page to locate the Branches in deferent values like
Branch ID, Name or City ID, City Name, State Id, State Name, Country Id, Country Name.
I need to return all the branches which matches th gien creiteria.
(If two or more values from GUI is given then we need to return the collection of branches whcih matches all the conditions.)
for this I Have another class called
SearchCreiteria - BranchID, BranchName,CityID, CityName, StateId, StateName, CountryId, CountryName.
can any one tell me the easy way to achive the this search functionality and get the collection of branches would be greate full to me.
thank you/
_________________ Thanks & Regards
Babar Shaik.
|