I have a stored procedure in SQL Server 2008 called \'GetPrices\' with a Table-Valued Parameter called \'StoreIDs\'.
This is the type i created for this TVP:
You can use the ObjectContext.Connection property to use ADO.NET to create and use your table-valued parameters. This might not be acceptable, but if you want to use this awesome SQL Server 2008 feature and the EF, this seems to be you're only choise.
You can then choose to extent the partially generated object context with the method to take care of all the low level ADO.NET stuff. Like this:
public partial class FriendsOnBoardEntities : ObjectContext
{
public IList GetPrices(int n)
{
// 'low-level' ado.net stuff here.
// Use SqlParameters, SqlCommand and what not...
}
}