I am running into an error when creating an entity that has a GUID as the primary key and as a foriegn key to itself.
The error I am getting is:
An exception was caught during the execution of an action query: Operand type clash: numeric is incompatible with uniqueidentifier. Check InnerException, QueryExecuted and Parameters of this exception to examine the cause of this exception.
It is getting thrown right after this method
protected override DynamicQueryEngineBase CreateDynamicQueryEngine()
{
DynamicQueryEngine toReturn = new DynamicQueryEngine();
toReturn.PerCallCatalogNameOverwrites = _catalogNameOverwrites;
toReturn.PerCallSchemaNameOverwrites = _schemaNameOverwrites;
return (DynamicQueryEngineBase)toReturn;
}
All the fields are populated with the proper data types. I can give code/schema information if it is helpful.
Thanks!
Bob