Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都可以解释 QueryById() 和 GetById() 之间的区别,因为它们都有相同的签名。并且有许多以 Query 和 Get 开头的常用功能,可能有一些我认为我缺少的主要区别。
OrmLite 的QueryById和任何开始Query*或Where*结束的API*Param在幕后使用参数化查询,而其他一切都没有。
Query*
Where*
*Param
OrmLite 的项目主页上的文档中解释了更多内容:
https://github.com/ServiceStack/ServiceStack.OrmLite/