Skip to content

Take() and Skip() lose ElementType #45

@jotab123

Description

@jotab123

I'm trying to build a query in different steps like:

IQueryable result;

result = db.DBEntity.Where("Property1 > 0");
....
var result2 = result1.Skip(1).Take(10);

I'm using the ElementType property to get all properties and create a table but, while result returns DBEntity as ElementType, result2 returns Object as ElementType.

Would be possible to implement Skip and Take methods that returns IQueryable of TElement?

Thank you!

Configuration:
EntityFramework Core 1.0.1
Linq Dynamic Core 1.0.5.4

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions