customersdataset.xsd

来自「Winform_OnlineTraning 我们培训机构的在线培训部分」· XSD 代码 · 共 26 行

XSD
26
字号
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="Dataset1" targetNamespace="http://tempuri.org/Dataset1.xsd" elementFormDefault="qualified"
	attributeFormDefault="qualified" xmlns="http://tempuri.org/Dataset1.xsd" xmlns:mstns="http://tempuri.org/Dataset1.xsd"
	xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
	<xs:element name="Dataset1" msdata:IsDataSet="true">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element name="Customers">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CustomerID" type="xs:string" />
							<xs:element name="CustomerName" type="xs:string" />
							<xs:element name="Address" type="xs:string" />
							<xs:element name="LastYearSales" type="xs:decimal" />
							<xs:element name="Country" type="xs:string" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:choice>
		</xs:complexType>
		<xs:unique name="Dataset1Key1" msdata:PrimaryKey="true">
			<xs:selector xpath=".//mstns:Customers" />
			<xs:field xpath="mstns:CustomerID" />
		</xs:unique>
	</xs:element>
</xs:schema>

⌨️ 快捷键说明

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