ORM Delete record with by PK value Home › Forums › kbmMW › ORM Delete record with by PK value This topic contains 1 reply, has 2 voices, and was last updated by kimbomadsen 3 months ago. Log In Register Lost Password Author Posts April 13, 2019 at 17:06 #53903 mrluigi2017Participant 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>(); Thanks in advance! April 14, 2019 at 23:51 #53907 kimbomadsenKeymaster Hi, The ORM already have ORM.Delete<TPerson>() which deletes according to the defined primary key, and ORM.Delete<TPerson>([‘fld2′,’fld3’],[10,20]) which deletes according to specific fields. Author Posts Log In Register Lost Password You must be logged in to reply to this topic.