Lightweight ORM-PetaPoco, ormpetapoco
Almost Product Data access is based on the lightweight ORM-PetaPoco, even the latest version 5.2 is also based on PetaPoco.
Product source: http://www.jinhusns.com/Products/Download
Data access is implemented in the Repository mode based on PetaPoco (lightweight ORM. It has the following features:
- While ensuring performance and flexibility, it minimizes the amount of data access code to improve development efficiency;
- SQL Server2005 ~ 20 08R2, SQL Server Express2005 ~ 2008R2, SQL Server 2014, and MySql. For compatibility purposes of these databases, refer to [appendix]-> [How to Ensure database compatibility] to create data tables and write SQL scripts.
What problems does Repository solve?
- Code is not required for adding, deleting, and modifying a single table;
- No code is required for a single table to obtain objects based on the primary key;
- Get all data: no code is required (applicable when the data volume is small and the total record is below 1000)
- Most cache operations are completed in Repository <T>, and no code is required.