Making my own model based on Telerik OpenAccess, i ran into a little converion problem.
In OpenAccess the model has a Application_authorization_user_Entity
Class. In my model i have a class that inherits from him and is called User
Ofcource when using the Telerik Context GetAll function it retrieves a IQueryable(Of Application_authorization_user_Entity)
I would like to convert that to: IQueryable(Of User)
I thougt of doing that with the IQueryable.Cast
function, but then i get that the conversion failed (could not cast)
Any ideas on that?
u = mobj_OAContext.GetAll(Of Application_authorization_user_Entity)()
x = u.Cast(Of User)()