A
A
addd2015-11-13 16:02:16
C++ / C#
addd, 2015-11-13 16:02:16

How to call datareader through ModelContext EF?

How to call the datareader through the ModelContext EF, ADO.NET does not suggest that you need to get the Datareader through EF.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sumor, 2015-11-13
@addd

The DatabaseContext of your database has a GetCommand(IQuerable<>) method. It returns a DbCommand on which ExecuteReader can be called.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question