Page 1 of 1

Table<T> does not implement all members of IQueryProvider

Posted: Tue 28 Oct 2008 14:35
by freakshow
When using the extension method System.Linq.Cast(this IQueryable source) on your Table object it throws a NotImplementedException.

Background:
I need to return an IQueryable where T is an interface representing the table.

Code: Select all

public IQueryable Entities{
Devart.Data.Linq.ITable table = this.GetTable(ResolveType());
return table.Cast();
}

Using stacktrace and Reflector it turns out that this is a member of IQueryProvider called CreateQuery that is not implemented. The strange thing is that you implement a similar, but generic version of the same method on the interface.

Will this be fixed soon or for the release?

I am using the newest beta (downloaded today) of dotConnect.

Posted: Thu 30 Oct 2008 15:41
by Shalex
Thank you for the bug report. It will be fixed in the new build of dotConnect beta version.