Microsoft. NET Pet Shop 4.0 learning Tour (III)-Project Reference 2

Source: Internet
Author: User

Microsoft. NET Pet Shop 4.0 learning Tour (III)

Project Reference 2

 

Continue with the previous discussion. Today we will talk about the two remaining projects: dalfactory, BLL, and four relationships.

 

1. Data Access factory dalfactory: The instance used to reflect the data layer interface and generate the interface ).So he referencesIdal.

2. Business logic layer [BLL]: Responsible for logical execution of business data. First, BLL calls the factory class to create an interface instance ),ThereforeBllReference dalfactory. The generated interface instance is in BLL,HenceBllIdal must be referenced. The bll layer must discard the instance of the model layer to the idal operation and return the result to the high-level (UI ),SoBllReference Model.

3. Based on the two projects and four relationships above, we can clearly see the project relationship graph below:

Conclusion: dalfactory references idal, BLL references dalfactory, BLL references idal, and BLL references model.

 

4. Summarize the above analysis to obtain a complete 6-layer structure:

 

Note! Reposted outside the blog community, which must be noted:
By Clark Chan
And Source: http://clarkchan.cnblogs.com/
Otherwise, reprint is declined!

//////////////////////////////////////// //////////////////////////////////////// //////////////////////////////////////

 

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.