How to use linq dataContext methods from stored procs
- From: "Andy B" <a_borka@xxxxxxxxxxxxx>
- Date: Fri, 18 Apr 2008 16:10:31 -0400
I have a stored proc that selects all from a database table. I drug it from
the server explorer onto the o/r designer to make it part of the
dataContext. Now I can't figure out how to use it. I don't think I know how
to use the ISingleResult type since that is what it returns from what I can
see. Any examples of how to do this? any examples I can find are either
incomplete, or bad examples. The dataContext is called TestXmlDataContext,
the entity class is called TestXml and the dataContext method is called
SelectAll. I let vs2008 auto pick the return type.
.
- Prev by Date: Re: Compiler Error CS0702
- Next by Date: Re: Compiler Error CS0702
- Previous by thread: Express and full VS
- Next by thread: problem with client activated object's lease time
- Index(es):