A software that automatically generates code - Code Machine

xiaoxiao2021-03-06  14

Product Website: http://codemachine.icpcn.com

When most programmers are studying such as NHibernate, ObjectSpace, I don't know that it is not an object-related mapping (ORM) program - Code Machine, you must be puzzled.

The function of Code Machine is automatically generated, and the generated code has the following features: 1. Code structure Similar to PETSHOP 3.02. Code contains a solution file and 5 projects BLL, DALFACTORY, IDAL, MODEL, SQLDAL3. Code contains interfaces Methods Findall, FindByPrimaryKey, INSERT, UPDATE, DELETE 5 basic methods, in subsequent versions, there will be user-defined methods 4. In the generated code, the IDAL project defines the interface to access the database, and the specific implementation is corresponding Data Access Layer (DAL) to implement 5. Data transmission uses sequentially, which type of database, only need to specify in the application's configuration 7. It is free 8. Currently only Support Microsoft SQL Server

So what is the advantages and disadvantages of Code Machine and ORM?

People who have used NHibernate, ObjectSpace must know that they are a mechanical strict ORM framework, and the programmer can do a program that is not related to the database according to certain rules. But there are also some shortcomings, such as low efficiency, to ensure that the ORM's framework is safe, and the development personnel and maintenance staff are relatively high, and N years later, the code maintenance will be a problem.

Code Machine is just a tool. The code generated is the basic, direct usage of ADO.NET. Therefore, the efficiency is relatively high, and the requirements for development and maintenance personnel are relatively low. The disadvantage is that the functionality of Code Machine is currently less. improve. -----------------------------------------------

Friendly link Flying Computer Service Station Gold Caucasus Accounting Studio

转载请注明原文地址:https://www.9cbs.com/read-48657.html

New Post(0)