Câu 14: 70-487: MCSD Developing Windows Azure and Web Services
You are developing an ASP. NET MVC application. The application has a page that searches for and displays an image stored in a database. Members of theEntityClient namespace are used to access an ADO. NET Entity Framework data model Images and associated metadata are stored in a database table. You need to run a query…
Nội dung câu hỏi
You are developing an ASP. NET MVC application. The application has a page that searches for and displays an image stored in a database. Members of theEntityClient namespace are used to access an ADO. NET Entity Framework data model Images and associated metadata are stored in a database table. You need to run a query that returns only the image while minimizing the amount of data that is transmitted. Which method of the EntityCommand type should you use?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. ExecuteScalar — đáp án hiện tại
- B. ExecuteDbDataReader
- C. ExecuteReader
- D. ExecuteNonQuery
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.