Omprakash Amarwal

Omprakash Amarwal

  • NA
  • 47
  • 3.6k

how to get data in property class while using EDMX.

Jul 26 2016 6:13 AM
Hello
 
i am using database first approach in my project. my question is that when we are us store procedure in edmx then edmx will generate property class according to first select command of the store procedure. if we have conditional multiple select query's in store procedure. so how would be edmx will decide to generate property class and fill the results in fields.
 
i am getting error while store procedure will execute second or third select command. 
 
i am sure that edmx will take only first select command fields and generates property fields accordingly. 
 
  

Answers (6)