Hello,
I'm trying to connect EntityDataSource Wizard with existing ObjectContext but a method that executes data retrieval doesn't show on Object Context members list. Method GetProducts looks like this:
Complete solution is rebuilded successfuly. Why there is no GetProducts method on the Object Context members list?
Any help appreciated!
I'm trying to connect EntityDataSource Wizard with existing ObjectContext but a method that executes data retrieval doesn't show on Object Context members list. Method GetProducts looks like this:
[EnableClientAccess] public class AdventureWorksDomainService : LinqToEntitiesDomainService<AdventureWorksEntities> { public IQueryable<Product> GetProducts(string name) { return ObjectContext.Products.Include("ProductModel").Where(w => w.Name.Contains(name)); } }Complete solution is rebuilded successfuly. Why there is no GetProducts method on the Object Context members list?
Any help appreciated!