Difference between QueryById () and GetById () in ServiceStack OrmLite

Can anyone explain the difference between QueryById () and GetById () since they both have the same signature. And there are many common functions that start with Query and Get, there may be some significant difference that I think I am missing.

+4
source share
1 answer

OrmLite QueryById , and any API starting Query* or Where* or ending *Param uses parameterized queries behind the scenes, while everything else does not.

More about this is explained in the documentation on the OrmLite homepage:

https://github.com/ServiceStack/ServiceStack.OrmLite/

+5
source

Source: https://habr.com/ru/post/1469037/


All Articles