Generate springmvc from T4 template to construct rest code: Summary

Source: Internet
Author: User

T4 template generation springmvc construction restCodeOfSource code: Http://download.csdn.net/detail/lxhjh/5459731

Rest Interface Test Tool: 1. RunProgram: Http://download.csdn.net/detail/lxhjh/5459939

2, source code: http://download.csdn.net/detail/lxhjh/5459977

1. Where is the generated code?

A:In solution javagenerate, click the project to be viewed, right-click the project, and select Open folder in file resource manager, you can copy the file to the folder of the corresponding Java project, and press F5 in eclipse to refresh the file.

2. How can I modify the database?

A: A. Open the edmx project;

B. There are two methods below:

One method isDelete and rebuild;

Another method isOpen the dblxh. edmx file, delete all models, right-click the graph, and select "Slave database and new model ".

C. Right-click all template files and select "Run custom tool" to change the generated code.

D. Copy the production code to the Java environment.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.