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
Anchal Sikarwar
NA
23
2.5k
How do we combine expressions in c#.
Aug 7 2020 8:47 AM
public
virtual
IQueryable<T> AddExpression(Expression<Func<T,
bool
>> inputExpression)
{
var parameter = Expression.Parameter(
typeof
(T));
var e1 = Expression.Equal(Expression.Property(parameter,
"RowStatusId"
), Expression.Constant(1));
var lambda = Expression.Lambda>(e1, parameter);
//how can I combine this e1 with inputExpression ?
//expression = Combine e1 and inputExpression
return
this
.entities.Where(expression);
}
Reply
Answers (
1
)
Xamarin simulation with pixel
Datetime picker in Datagridview