hi
Consider the following relationship with business object.
Member.SubAccounts returns subaccounts for the particular member
aSubaccount.transferLines returns the transferlines with that particular subaccount
i want to write one query with below condition at presenatation layer
- "member", "Member.@MemberId"
- "sub", "member/Subaccounts[SubaccountType <> '_Data_' and Closed = 0]"
- "tl", "sub[SubaccountType = _Data]/TransferLines[Category IN (_Data_)]"
[ represents where clause
in BusinessLayer's i have one Business Object file(SubAccount.cs) i have write one statement like
foreach(transferline tl in this.transferlines)
as current scenario ideablade returns all transferlines(lets say 500) records i want transferlines to return records based on the condition 3(lets say it returns 30 records) which needs to be control from presentation layer.
When i am not specifying any query at presentation layer then it should consider all records at business layers
InShort, i want to write one query with the above various conditions in presentation so whenever
particular business object referenced in business layer then those
business objects should satisfy the above condition.
pl. help me in this regards...
Regards.