Model design for code generation for C# and SQL Server

Authors

DOI:

https://doi.org/10.15381/rpcs.v4i2.24852

Keywords:

Software Engineering, CASE Tools, Time Optimization, CASE Technology, Source code generation

Abstract

Currently there are tools that generate source code automatically. We propose a source code generation architecture focused on the 3-layer architecture, additionally we build a source code generation tool. The Tool allows to load a database schema and from this it generates the source code for the SQL Server and C# language, we use an .xls file to import or export the database schema. We have used 5 code generation requirements and their database schemas for the test, obtaining as a result the generation of source code without errors. Carrying out the time analysis, our model generates 6,998 lines of code per second, in total we have generated 13,283 lines of source code in 1472 milliseconds that correspond to 5 requirements for generating source code with their respective databases.

Downloads

Published

2022-12-31

Issue

Section

Contribution

How to Cite

Model design for code generation for C# and SQL Server. (2022). Revista Peruana De Computación Y Sistemas, 4(2), 31-40. https://doi.org/10.15381/rpcs.v4i2.24852