QuoteReplyTopic: Argument Types Do Not Match Posted: 05-Nov-2013 at 11:29am
I am getting an error:
private async Task<List<WorkspaceEntity>> GetWorkspaces(String key) {
var provider = new EntityManagerProvider<ShellEntityManager>();
var uow = new UnitOfWork<WorkspaceEntity>(provider);
var query = await uow.Entities.FindAsync(a=> a.ToolbarKey == key);
return new List<WorkspaceEntity>(query);
}
If I hard code a value for the "key" then it works fine. (It's just a simple string.)
This is the error that the BOS writes to the log:
Error System.ArgumentException: Argument types do not match at System.Linq.Expressions.Expression.Constant(Object value, Type type) at ....
This makes no sense to me. This project is using 7.1.0
Greg, if you've verified that your client and server are both using the same DevForce and Cocktail versions yet you're still seeing the error, please let us know.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum