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.