⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dscustomerorders.xsd

📁 东软内部材料(六)ado .net相关
💻 XSD
字号:
<?xml version="1.0" standalone="yes" ?>
<xs:schema id="dsCustomerOrders" targetNamespace="http://www.tempuri.org/dsCustomerOrders.xsd" xmlns:mstns="http://www.tempuri.org/dsCustomerOrders.xsd" xmlns="http://www.tempuri.org/dsCustomerOrders.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
	<xs:element name="dsCustomerOrders" msdata:IsDataSet="true">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element name="CustomerList">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CompanyName" type="xs:string" minOccurs="0" />
							<xs:element name="CustomerID" type="xs:string" />
							<xs:element name="FullID" msdata:ReadOnly="true" type="xs:string" minOccurs="0" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="Orders">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="OrderID" msdata:AutoIncrement="true" type="xs:int" />
							<xs:element name="CustomerID" type="xs:string" minOccurs="0" />
							<xs:element name="OrderDate" type="xs:dateTime" minOccurs="0" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:choice>
		</xs:complexType>
		<xs:unique name="Constraint1" msdata:PrimaryKey="true">
			<xs:selector xpath=".//mstns:CustomerList" />
			<xs:field xpath="mstns:CustomerID" />
		</xs:unique>
		<xs:unique name="Orders_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
			<xs:selector xpath=".//mstns:Orders" />
			<xs:field xpath="mstns:OrderID" />
		</xs:unique>
		<xs:keyref name="CustomerListOrders" refer="mstns:Constraint1">
			<xs:selector xpath=".//mstns:Orders" />
			<xs:field xpath="mstns:CustomerID" />
		</xs:keyref>
	</xs:element>
</xs:schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -