6
Answers

how to get data in property class while using EDMX.

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)
0
Pratheesh s

Pratheesh s

NA 5 1.7k 10y
Can any one could solve this problem, if yes plz help me to solve it.
0
Pratheesh s

Pratheesh s

NA 5 1.7k 10y
hai Sanjay Kumar,

Thanks for your valuable reply, Actually what iam trying to implement is to make a repeater user control that can generate dynamic columns , that is if i use that repeater in a web form with 3 columns  i must be able to use that repeater control in the next web form for more than or less than 3 columns , so the problem is i need to bind that data with out using source code, that is "Eval" method can only add one data from a particular table only, i need to generalize that part and need to made that part data binding in general, so can i bind data to a repeater without source code by using only code behind.

Please pardon me if there is any confusions, ask me for more clarifications to my idea.
0
Sanjay Kumar

Sanjay Kumar

NA 5.8k 2.8m 10y