Implementing Search on business objects in NTier Architecture ?
Hi Imar.
I am using NTier Architecture as you mention in your articles.
My NTier Layers are
-- UI Layer
--- BusinessEntity
--- BusinessManager
--- DataAcess
My CustomerEntity class have 120 attribute's.
Users can peform search on only 6 attribute's (like Fname,Lname-----) .
while perfroming search at UI layer my CustomerManager class returns collection of CustomerEntity .
I am binding only 10 attribute's of search result in gridview.
If search result have more then 100 customer records then it takes few second to populate.
To make search process faster, Should I create a CustomerEntitySearchResult Class with only 10 attributes that are required to display in Gridview.
I am not using DataTable ,DataSet at UI layer.
Please suggest any effective and efficient way to accomplish above task.
|