How to verify dbml and external ing files

Source: Internet
Author: User

Http://u.115.com/file/f2604631a demo

This Demo Video mainly demonstrates the following two aspects:

1. How to Use the architecture file provided by Vs to verify the dbml file and XML external ing file.

2. If there is no architecture file on the computer, how can I download the file from Microsoft's website? Pay special attention to saving the file.

The external ing file you modified and the. dbml file must pass the verification of their respective schema definitions. This topic provides Visual Studio users with steps to perform the verification process.

Verify the. dBm or XML file
1. Point to "open" on the "file" menu of Visual Studio, and click "File ".
2. In the open file dialog box, click the. dbml or XML ing file you want to verify.
The file is opened in the XML editor.
3. Right-click the window and click Properties ".
4. In the "properties" window, click the ellipsis of the "architecture" attribute.
The "XML schema" dialog box is displayed.
5. Pay attention to the architecture definitions you need.
Dbmlschema. XSD is used to verify the schema definition of the. dbml file. For more information, refer to code generation in LINQ to SQL.
Linqtosqlmapping. XSD is used to verify the schema definition of the external XML ing file. For more information, see external ing reference (LINQ to SQL ).
6. In the "use" column of the required architecture definition line, click open drop-down box and then click "use this architecture ".
This schema definition file is now associated with your dbml or XML ing file.
Make sure that no other architecture definition is selected.
7. Click "Error List" on the "View" menu ".
Determines whether an error, warning, or message has been generated. If not, this XML file is valid for this schema definition.

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.