Linq to a TypedView

Posts   
 
    
Jed
User
Posts: 38
Joined: 08-Oct-2010
# Posted on: 12-May-2011 13:27:25   

I have a view in the database.

How can i access this in linq.

The

var metaData = new LinqMetaData(adapter);

does not contain the values.

Thanks in advance

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 12-May-2011 15:44:26   

LINQ is for querieing entities only - to be able to get data from your view you can map an entity to it.

Matt