# MyOrmSqlite **Repository Path**: mapleSeriesX/MyOrmSqlite ## Basic Information - **Project Name**: MyOrmSqlite - **Description**: 对象关系映射数据库框架 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MyOrmSqlite #### Introduction MyOrmSqlite is an Android object relational mapping database framework, support database version upgrade, support multi-user sub database, automatic code generation! #### Software Architecture ![MyOrmSqlite流程图](myormsqlite.png) ##### Workflow: 1. Get the objects and variables to be created and create tables and fields through user-defined annotation reflection. 2. Crud: get the attribute value of the object by passing in the object, get the field name through the cache, build a contentvalues, and pass it to the corresponding SQLite method. 3. Database version upgrade: get the new version database information through XML, create / modify the table, backup the old database, save the old database data in the new database table, and then delete the backup database. 4. Multi user sub database: create a database named with a unique identifier. When crud, open the corresponding database first, and then crud.