Jimit Bhatt

Jimit Bhatt

  • 965
  • 666
  • 676k

Use Oracle View Objects in MVC Application by Dapper

Feb 5 2016 3:31 AM

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)