Files
thinkyu/Web/config/ConnectionConfig.xsd
sryang 577060bc78 chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
2026-09-10 09:42:37 +08:00

30 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ConnectionConfig" targetNamespace="http://www.wellan.com.tw/ConnectionConfig.xsd" elementFormDefault="qualified" xmlns="http://www.wellan.com.tw/ConnectionConfig.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="Connection">
<xs:sequence>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="type" type="ConnType" use="required" />
<xs:attribute name="provider" type="xs:string" />
<xs:attribute name="server" type="xs:string" use="required" />
<xs:attribute name="userId" type="xs:string" />
<xs:attribute name="password" type="xs:string" />
<xs:attribute name="database" type="xs:string" />
<xs:attribute name="extendedProperties" type="xs:string" />
</xs:complexType>
<xs:simpleType name="ConnType">
<xs:restriction base="xs:string">
<xs:enumeration value="SQL" />
<xs:enumeration value="ORACLE" />
<xs:enumeration value="OLEDB" />
<xs:enumeration value="JET" />
</xs:restriction>
</xs:simpleType>
<xs:element name="connectionConfig">
<xs:complexType>
<xs:sequence>
<xs:element name="connection" type="Connection" maxOccurs="unbounded" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>