title: TVF (Table Value Function) in entity framework using code-first
body: <p>Does anyone know if it is possible to use TVFs in the entity framework using code-first? To be specific:</p>
  
  <p>I know this is not supported for code-first currently (and it does not look like EF6 will allow it either). On the other hand, later versions of EF support TVFs in a database-first scenario (which is not an option for me). I am wondering if anyone know if there is some way to emulate what database first does by manipulating the model or something similar?</p>
  
  <p>One further clarification; I know its possible to include TVFs by using SQL, but I also need the TVFs to be composable (i.e. be part of the entity LINQ statement).</p>