Entity Framework 6.1 map entities to table-valued-functions

c# entity-framework-6 sql-server

Question

Using Entity Framework 6.1, I have a scenario in which the entities I am going to query should be mapped to SQL table-valued-functions. During the model creation we can use the .ToTable("TableName") method to map the entities to tables (or views). Is there a way in which I can get the entities to be mapped to functions passing a constant parameter which only depends on the DataContext?

Thank you.

1
0
6/13/2014 9:03:16 AM

Popular Answer

0
5/23/2017 10:25:05 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow