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
Seshu B
NA
442
145k
How to convert IQueryable to List<string> value in entity
Jun 5 2017 2:58 AM
This is my code
public List<string> GetColumnNames(string tablename)
{
using (var Context = new MCPEntities())
{
PropertyInfo info = Context.GetType().GetProperty(tableName);
IQueryable table = info.GetValue(Context, null) as IQueryable;
return table;
}
}
Reply
Answers (
2
)
want to Session killed
Getting Issue in IIS Server