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
Bryan Krossley
NA
8
3.8k
ASYNC LINQ METHOD
Feb 11 2014 2:19 PM
Hello,
How would I change this method to be async?
public
void
GetValue() {
var
ctx
=
new
CoinCatalogEntities
(
new
Uri
(
"http://localhost:54405/WcfDataService1.svc"
));
var
query
=
(
from
c
in
ctx
.
USsingle
select
new
USsingleResults
() { CoinID
=
c
.
CoinID, Checkbox
=
(
bool
)c
.
Checkbox, Year
=
c
.
Year, Description
=
c
.
Description, Type
=
c
.
Type, Value
=
c
.
Value, G
=
c
.
G, VG
=
c
.
VG, F
=
c
.
F, VF
=
c
.
VF, XF
=
c
.
XF, AU
=
c
.
AU, MS60
=
c
.
MS60, MS63
=
c
.
MS63, MS64
=
c
.
MS64, MS64FB
=
c
.
MS64FB, MS65
=
c
.
MS65, MS65FB
=
c
.
MS65FB })
.
ToList
<
USsingleResults
>
(); Value
=
query; }
Thanks,
Bryan
Reply
Answers (
4
)
linq and xml query in vb.net
linq to sql using webservices