- This topic has 1 reply, 2 voices, and was last updated 7 years ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Hi,
I couldn’t found any examples in the demo about this. Do you always need the object to do a delete with ORM or is there a way to do it with just the primary key (or other parameters)?
I am looking for something like this:
ORM .Delete<TPerson>([145]);
Thanks in advance!
Hi,
The ORM already have ORM.Delete<TPerson>([145]) which deletes according to the defined primary key, and ORM.Delete<TPerson>([‘fld2′,’fld3’],[10,20]) which deletes according to specific fields.