4
Answers

Use Oracle View Objects in MVC Application by Dapper

Jimit Bhatt

Jimit Bhatt

8y
468
1

I am building an application in ASP.NET MVC 5 and using Dapper ORM.

I am actually stuck at the point.

I had made one view(* Not MVC View) in Oracle DB so as to reduce the query length in application. Now I want to use that View MVC Application to get the data.

DataAnnonations.Schema doesn't contain the definitions of View as it is for Table, Column etc.

like [Dapper.Table("TableName")]

Answers (4)