accountdata.xsd

来自「会员管理系统」· XSD 代码 · 共 48 行

XSD
48
字号
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="AccountData" targetNamespace="http://tempuri.org/AccountData.xsd" elementFormDefault="qualified"
	attributeFormDefault="qualified" xmlns="http://tempuri.org/AccountData.xsd" xmlns:mstns="http://tempuri.org/AccountData.xsd"
	xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
	<xs:element name="AccountData" msdata:IsDataSet="true">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element name="AccountInfo">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="AccountID" type="xs:string" />
							<xs:element name="Balance" type="xs:decimal" />
							<xs:element name="OverDate" type="xs:dateTime" />
							<xs:element name="AccountType" type="xs:string" minOccurs="0" />
							<xs:element name="CalType" type="xs:string" minOccurs="0" />
							<xs:element name="Status" type="xs:string" />
							<xs:element name="Remark" type="xs:string" minOccurs="0" />
							
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="AccountHistoryInfo">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="AccountID" type="xs:string" />
							<xs:element name="BalanceChgType" type="xs:string" />
							<xs:element name="BalanceChgDate" type="xs:dateTime" />
							<xs:element name="PayType" type="xs:string" />
							<xs:element name="CalType" type="xs:string" />
							<xs:element name="BalanceChgNum" type="xs:decimal" minOccurs="0" />
							<xs:element name="Remark" type="xs:string" minOccurs="0" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:choice>
		</xs:complexType>
		<xs:unique name="AccountDataKey2" msdata:PrimaryKey="true">
			<xs:selector xpath=".//mstns:AccountInfo" />
			<xs:field xpath="mstns:AccountID" />
		</xs:unique>
		<xs:unique name="AccountDataKey1" msdata:PrimaryKey="true">
			<xs:selector xpath=".//mstns:AccountHistoryInfo" />
			<xs:field xpath="mstns:AccountID" />
			<xs:field xpath="mstns:BalanceChgType" />
			<xs:field xpath="mstns:BalanceChgDate" />
		</xs:unique>
	</xs:element>
</xs:schema>

⌨️ 快捷键说明

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