I have this problem for 2 months now
How can I use stored procedures whith RIA.
I was using LinqToSql and everithing works fine.
I've made an class in designer and mapped it to a SP.
Now in EF I saw this ComplexTypes I've imported son SP with result in ComplexTypes.
But in DomainDataSource are not appear.
OK.
But how can I use them ?
I need only to retreive some data.
I've tried all solutions (List, IList, etc.) but I get
Unable to cast object of type 'System.Data.Metadata.Edm.ComplexType' to type 'System.Data.Metadata.Edm.EntityType'. BusinessApplication2
Any solutions please ?