Using VS to create a three-tier structure of the project

Using VS to create a three-tier structure of the project

1. Open VS software;

 

 2. Create a new project;

 

3. Create a select SAP options open to create a new project Click {Note; and above this there is a similar project to create; see the choice;

 

4. Create a name change after the next, as far as possible into the framework of 3.5 or 3.5 or 4 if not 4, and then click Create, click Create to create out of the box again;

 

 

 

5. Select the right side of the box to open the right solutions to add new projects;

 

 

 

 

 6. Open the selected library after adding new projects; {Note; select box options have similar names; see note in the election};

 

7. Save the text before the open folder

 

 

 

 

 8. Select VS software, created to continue to step 6, the name changed to the name of one of the three documents which seven steps, the framework of 3.5 or 4, and then click Create. Once created VS software is displayed on the right box

 

 

Once created VS software the right box will display the file indicated by the arrow;

 

 

9. Create a total of three times more than the new project, the project name are BLL 'DAL' Model

 

 10. Check BLL file, right click and choose Add reference -----

 

 

When referring to the BLL, are simultaneously tick BAL Model option, and then identified;

 

10. Select the Right DAL, DAL be quoted,

 

 

 

 When the selected reference DAL tick on Model Options, and then identified

 

 

11. Add BLL DAL Model open the text file in the folder in Step 7, DLL DAL Model folder are the text of a T_User

 

 Copy of each file in text-to-VS software in the BLL DAL Model file, the file copy when copying 1-1

 

12 to change the name attribute BLL DAL MOdell

Select the text in each file, double-click

 

 The procedure to delete the arrow j,

 

 And selecting the copy of the arrow

 

 

 Right-click on the right after copying the file selection box to change the properties of the bottom two names i have changed; then Ctrl + S to save DAL and similar MOdell

 

 

 

 

 

 DLL  

  

 

 

 

 

Model,

 

 

 

 Upon completion of Ctrl + S to save,

 Step 13. After completion of the above pressing option 'generating' and select the program to generate summary

 

 14. The completion of the above does not go below the alarm if an error did not occur, as evidenced been OK

 

 

  If there is an error in some checking steps are correct.

 

Guess you like

Origin www.cnblogs.com/yutang-wangweisong/p/11434496.html