This question is locked. New answers and comments are not allowed.
Hello
I'm trying to pick up OQL and ORM at the moment and going a bit slow.
I've reverse mapped some classes from a database table and have written a couple of functions to add rows and delete rows, all good.
Now I'm trying to write a OQL statement to pick one row out.
Think the trouble is that both the fields in the table in wuestion are of type Guid.
Im assuming I need to pass a guid in my query but not sure I do this as seem to have gone back to writing text strings to query the database with?
Any help getting going much appreciated, I'm nearly there with my first ORM! :)
Thanks
Matt
I'm trying to pick up OQL and ORM at the moment and going a bit slow.
I've reverse mapped some classes from a database table and have written a couple of functions to add rows and delete rows, all good.
Now I'm trying to write a OQL statement to pick one row out.
Think the trouble is that both the fields in the table in wuestion are of type Guid.
Im assuming I need to pass a guid in my query but not sure I do this as seem to have gone back to writing text strings to query the database with?
Any help getting going much appreciated, I'm nearly there with my first ORM! :)
Thanks
Matt