dotConnect Oracle and Entity Framework ExecuteStoreCommand
Posted: Thu 29 Jul 2010 16:18
Hi All -
When I execute a direct command in entity framework using the ExecuteStoreCommand method, I am getting a "missing expression" exception. It seems the cause of this is that Oracle uses ":" for variables, and it looks as though the provider is actually passing "@" as variable name values to the oracle server. Could someone let me know if there is a way to change the default variable prefix or some other way around this? I definitely want to parameterize the query, so I don't want to hard code any values in the query.
Thanks,
Mark
When I execute a direct command in entity framework using the ExecuteStoreCommand method, I am getting a "missing expression" exception. It seems the cause of this is that Oracle uses ":" for variables, and it looks as though the provider is actually passing "@" as variable name values to the oracle server. Could someone let me know if there is a way to change the default variable prefix or some other way around this? I definitely want to parameterize the query, so I don't want to hard code any values in the query.
Thanks,
Mark