New Year's new signs, my New Year is to do Lor. What is LOR? LOR is the meaning of the Lightweight OR, which is the O / R mapping project I have developed according to the actual needs. As it is said, it is a lightweight O / R mapping. The main feature is to use fast, simple, multiple options to make you try to simplify the operation with the database without affecting (very few) efficiency. . This is LOR. The following is the basic needs of LOR.
Description of Requirement
Data is only a simple mapping between data and objects, and other factors are not considered, but other factors can be implemented in the original way, and their applicability cannot be lowered.
1. Support delay load 2. Support constraints 3. Support calculated value 4. Internal data status. 5. You must serialize and serialize in XML sequence. 6. Consider multithreading operations. 7. Support a single transaction of a data entity with multiple data entities common. Business logic achieves a simple data relationship and object relationship mapping, regardless of other factors, but it provides its implementation path.
1. Inline relationship, the outside world is not directly operating, but can reach an extension of the object-oriented standard mode (inheritance, aggregation). 2. Basic relationship between data entities, create, modify, and destroy relationships. General requirements 1. Dynamic database binding, can be binded to fields different from the database without changing the source code. 2. Concentrately define the model, use the model to generate the corresponding database and code. 3. Consider the generation support for multi-database libraries, and pay attention to different source code to generate different source code for different databases. 4. Consider the generation support for multi-programming languages. 5. Provide image model design tools, design models. 6. Provide option to select whether or not to overwrite all generated files, or only override changes in its structure (that is, personal implementation will be saved). At the same time, support the database script and the source code generation.
Lor is not considered for open source projects, but may open source in the future. Please look forward to! ^ _ ^
In addition, it is worth mentioning that in the future, my development may be biased to Java. When the development is based on Java, but new technologies on .NET wait for me to lose, I want to take the essence of two platforms. ! ^ _ ^