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
Abey Varghese
NA
18
9.4k
EF : Get table to List with out using stored procedure.
Apr 2 2013 4:24 PM
This is my code for grab data from table to List using stored procedure. My question is how I will grab data to List without using stored procedure ?
using ( CWPRTestEntities ctx=new CWPRTestEntities())
{
var qry = from okc_SelectCyclicalWorkOrdersGenerated_Result p in ctx.okc_SelectCyclicalWorkOrdersGenerated() select p;
List<okc_SelectCyclicalWorkOrdersGenerated_Result> myworkorders = qry.ToList();
foreach (okc_SelectCyclicalWorkOrdersGenerated_Result myworkerder in myworkorders)
{
//TO Do
}
Reply
Answers (
5
)
change text for Yes, No, Cancel buttons
Uncheck all checkbox still maintain check when data value 1