TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jim
NA
2
0
Encapsulating Lambda Expression / Extension Methods
Dec 12 2007 3:48 PM
I have a domain model: ie.
User
-> Accounts -> Portfolios . Each
User
has a List<
Account
> and each Account has a List
<
Portfolio
>.
I have a user context so to access a specific portfolio, right now I do... UserContext.User.Accounts.Where().Single().Portfolios.Where().Single().Name .... I want to encapsulate all the Extension Methods with the Lambda expression .... I am thinking User.ActiveAccount.ActivePortfolio. etc but im not sure how since theres params that need to be passed.
Using vs 2k8 .net 3.5
Thanks
Reply
Answers (
1
)
Is there alternative to use dbSchemaName.StoreProcedureName in ADO.NET?
New Questions