📄 joinquerydataset.xsd
字号:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="JOINQueryDataSet" targetNamespace="http://tempuri.org/JOINQueryDataSet.xsd" xmlns:mstns="http://tempuri.org/JOINQueryDataSet.xsd" xmlns="http://tempuri.org/JOINQueryDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection ConnectionStringObject="Data Source =".\MyDatabase.sdf"; Password ="MobileP@ssw0rd";" IsAppSettingsProperty="False" Modifier="Assembly" Name="MyDatabaseConnectionString" ParameterPrefix="@" Provider="Microsoft.SqlServerCe.Client">
</Connection>
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductsCategoryTableAdapter" GeneratorDataComponentClassName="ProductsCategoryTableAdapter" Name="ProductsCategory" UserDataComponentName="ProductsCategoryTableAdapter">
<MainSource>
<DbSource ConnectionRef="MyDatabaseConnectionString" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="False" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="True">
<CommandText>SELECT Product.ProductID, Product.Name, Product.Color, Product.ListPrice, Product.Size,
ProductCategory.Name AS CategoryName
FROM Product, ProductCategory
WHERE Product.ProductCategoryID = ProductCategory.ProductCategoryID</CommandText>
<Parameters>
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
<Mapping SourceColumn="Name" DataSetColumn="Name" />
<Mapping SourceColumn="Color" DataSetColumn="Color" />
<Mapping SourceColumn="ListPrice" DataSetColumn="ListPrice" />
<Mapping SourceColumn="Size" DataSetColumn="Size" />
<Mapping SourceColumn="CategoryName" DataSetColumn="CategoryName" />
</Mappings>
<Sources>
</Sources>
</TableAdapter>
</Tables>
<Sources>
</Sources>
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="JOINQueryDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="JOINQueryDataSet" msprop:Generator_DataSetName="JOINQueryDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ProductsCategory" msprop:Generator_UserTableName="ProductsCategory" msprop:Generator_RowDeletedName="ProductsCategoryRowDeleted" msprop:Generator_TableClassName="ProductsCategoryDataTable" msprop:Generator_RowChangedName="ProductsCategoryRowChanged" msprop:Generator_RowClassName="ProductsCategoryRow" msprop:Generator_RowChangingName="ProductsCategoryRowChanging" msprop:Generator_RowEvArgName="ProductsCategoryRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductsCategoryRowChangeEventHandler" msprop:Generator_TablePropName="ProductsCategory" msprop:Generator_TableVarName="tableProductsCategory" msprop:Generator_RowDeletingName="ProductsCategoryRowDeleting">
<xs:complexType>
<xs:sequence>
<xs:element name="ProductID" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" type="xs:int" minOccurs="0" />
<xs:element name="Name" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Color" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Color" msprop:Generator_ColumnPropNameInRow="Color" msprop:Generator_ColumnVarNameInTable="columnColor" msprop:Generator_ColumnPropNameInTable="ColorColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ListPrice" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ListPrice" msprop:Generator_ColumnPropNameInRow="ListPrice" msprop:Generator_ColumnVarNameInTable="columnListPrice" msprop:Generator_ColumnPropNameInTable="ListPriceColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="Size" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Size" msprop:Generator_ColumnPropNameInRow="Size" msprop:Generator_ColumnVarNameInTable="columnSize" msprop:Generator_ColumnPropNameInTable="SizeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CategoryName" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CategoryName" msprop:Generator_ColumnPropNameInRow="CategoryName" msprop:Generator_ColumnVarNameInTable="columnCategoryName" msprop:Generator_ColumnPropNameInTable="CategoryNameColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -