156 lines
14 KiB
XML
156 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<xs:schema id="dwms4DataSet" targetNamespace="http://tempuri.org/dwms4DataSet.xsd" xmlns:mstns="http://tempuri.org/dwms4DataSet.xsd" xmlns="http://tempuri.org/dwms4DataSet.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 AppSettingsObjectName="Settings" AppSettingsPropertyName="dwms4ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dwms4ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.ReportPrint.Properties.Settings.GlobalReference.Default.dwms4ConnectionString" Provider="System.Data.SqlClient" />
|
|
</Connections>
|
|
<Tables>
|
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_reportStockRecordTableAdapter" GeneratorDataComponentClassName="v_reportStockRecordTableAdapter" Name="v_reportStockRecord" UserDataComponentName="v_reportStockRecordTableAdapter">
|
|
<MainSource>
|
|
<DbSource ConnectionRef="dwms4ConnectionString (Settings)" DbObjectName="dwms4.dbo.v_reportStockRecord" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
|
|
<SelectCommand>
|
|
<DbCommand CommandType="Text" ModifiedByUser="false">
|
|
<CommandText>SELECT id, locationCode, orderNo, goodsId, batch, locationId, count, direction, validDate, productDate, description, operater, lastmodified, createtime, dr, bigCount, unit, spec, manufacturer, goodsName, box, type FROM dbo.v_reportStockRecord</CommandText>
|
|
<Parameters />
|
|
</DbCommand>
|
|
</SelectCommand>
|
|
</DbSource>
|
|
</MainSource>
|
|
<Mappings>
|
|
<Mapping SourceColumn="id" DataSetColumn="id" />
|
|
<Mapping SourceColumn="locationCode" DataSetColumn="locationCode" />
|
|
<Mapping SourceColumn="orderNo" DataSetColumn="orderNo" />
|
|
<Mapping SourceColumn="goodsId" DataSetColumn="goodsId" />
|
|
<Mapping SourceColumn="batch" DataSetColumn="batch" />
|
|
<Mapping SourceColumn="locationId" DataSetColumn="locationId" />
|
|
<Mapping SourceColumn="count" DataSetColumn="count" />
|
|
<Mapping SourceColumn="direction" DataSetColumn="direction" />
|
|
<Mapping SourceColumn="validDate" DataSetColumn="validDate" />
|
|
<Mapping SourceColumn="productDate" DataSetColumn="productDate" />
|
|
<Mapping SourceColumn="description" DataSetColumn="description" />
|
|
<Mapping SourceColumn="operater" DataSetColumn="operater" />
|
|
<Mapping SourceColumn="lastmodified" DataSetColumn="lastmodified" />
|
|
<Mapping SourceColumn="createtime" DataSetColumn="createtime" />
|
|
<Mapping SourceColumn="dr" DataSetColumn="dr" />
|
|
<Mapping SourceColumn="bigCount" DataSetColumn="bigCount" />
|
|
<Mapping SourceColumn="unit" DataSetColumn="unit" />
|
|
<Mapping SourceColumn="spec" DataSetColumn="spec" />
|
|
<Mapping SourceColumn="manufacturer" DataSetColumn="manufacturer" />
|
|
<Mapping SourceColumn="goodsName" DataSetColumn="goodsName" />
|
|
<Mapping SourceColumn="box" DataSetColumn="box" />
|
|
<Mapping SourceColumn="type" DataSetColumn="type" />
|
|
</Mappings>
|
|
<Sources />
|
|
</TableAdapter>
|
|
</Tables>
|
|
<Sources />
|
|
</DataSource>
|
|
</xs:appinfo>
|
|
</xs:annotation>
|
|
<xs:element name="dwms4DataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="dwms4DataSet" msprop:Generator_UserDSName="dwms4DataSet">
|
|
<xs:complexType>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element name="v_reportStockRecord" msprop:Generator_TableClassName="v_reportStockRecordDataTable" msprop:Generator_TableVarName="tablev_reportStockRecord" msprop:Generator_TablePropName="v_reportStockRecord" msprop:Generator_RowDeletingName="v_reportStockRecordRowDeleting" msprop:Generator_RowChangingName="v_reportStockRecordRowChanging" msprop:Generator_RowEvHandlerName="v_reportStockRecordRowChangeEventHandler" msprop:Generator_RowDeletedName="v_reportStockRecordRowDeleted" msprop:Generator_UserTableName="v_reportStockRecord" msprop:Generator_RowChangedName="v_reportStockRecordRowChanged" msprop:Generator_RowEvArgName="v_reportStockRecordRowChangeEvent" msprop:Generator_RowClassName="v_reportStockRecordRow">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
|
|
<xs:element name="locationCode" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlocationCode" msprop:Generator_ColumnPropNameInRow="locationCode" msprop:Generator_ColumnPropNameInTable="locationCodeColumn" msprop:Generator_UserColumnName="locationCode" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="10" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="orderNo" msprop:Generator_ColumnVarNameInTable="columnorderNo" msprop:Generator_ColumnPropNameInRow="orderNo" msprop:Generator_ColumnPropNameInTable="orderNoColumn" msprop:Generator_UserColumnName="orderNo">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="goodsId" msprop:Generator_ColumnVarNameInTable="columngoodsId" msprop:Generator_ColumnPropNameInRow="goodsId" msprop:Generator_ColumnPropNameInTable="goodsIdColumn" msprop:Generator_UserColumnName="goodsId">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="batch" msprop:Generator_ColumnVarNameInTable="columnbatch" msprop:Generator_ColumnPropNameInRow="batch" msprop:Generator_ColumnPropNameInTable="batchColumn" msprop:Generator_UserColumnName="batch" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="200" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="locationId" msprop:Generator_ColumnVarNameInTable="columnlocationId" msprop:Generator_ColumnPropNameInRow="locationId" msprop:Generator_ColumnPropNameInTable="locationIdColumn" msprop:Generator_UserColumnName="locationId">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="50" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="count" msprop:Generator_ColumnVarNameInTable="columncount" msprop:Generator_ColumnPropNameInRow="count" msprop:Generator_ColumnPropNameInTable="countColumn" msprop:Generator_UserColumnName="count" type="xs:decimal" minOccurs="0" />
|
|
<xs:element name="direction" msprop:Generator_ColumnVarNameInTable="columndirection" msprop:Generator_ColumnPropNameInRow="direction" msprop:Generator_ColumnPropNameInTable="directionColumn" msprop:Generator_UserColumnName="direction" type="xs:int" />
|
|
<xs:element name="validDate" msprop:Generator_ColumnVarNameInTable="columnvalidDate" msprop:Generator_ColumnPropNameInRow="validDate" msprop:Generator_ColumnPropNameInTable="validDateColumn" msprop:Generator_UserColumnName="validDate" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="productDate" msprop:Generator_ColumnVarNameInTable="columnproductDate" msprop:Generator_ColumnPropNameInRow="productDate" msprop:Generator_ColumnPropNameInTable="productDateColumn" msprop:Generator_UserColumnName="productDate" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnPropNameInTable="descriptionColumn" msprop:Generator_UserColumnName="description" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="250" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="operater" msprop:Generator_ColumnVarNameInTable="columnoperater" msprop:Generator_ColumnPropNameInRow="operater" msprop:Generator_ColumnPropNameInTable="operaterColumn" msprop:Generator_UserColumnName="operater" type="xs:int" minOccurs="0" />
|
|
<xs:element name="lastmodified" msprop:Generator_ColumnVarNameInTable="columnlastmodified" msprop:Generator_ColumnPropNameInRow="lastmodified" msprop:Generator_ColumnPropNameInTable="lastmodifiedColumn" msprop:Generator_UserColumnName="lastmodified" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="createtime" msprop:Generator_ColumnVarNameInTable="columncreatetime" msprop:Generator_ColumnPropNameInRow="createtime" msprop:Generator_ColumnPropNameInTable="createtimeColumn" msprop:Generator_UserColumnName="createtime" type="xs:dateTime" minOccurs="0" />
|
|
<xs:element name="dr" msprop:Generator_ColumnVarNameInTable="columndr" msprop:Generator_ColumnPropNameInRow="dr" msprop:Generator_ColumnPropNameInTable="drColumn" msprop:Generator_UserColumnName="dr" type="xs:boolean" minOccurs="0" />
|
|
<xs:element name="bigCount" msprop:Generator_ColumnVarNameInTable="columnbigCount" msprop:Generator_ColumnPropNameInRow="bigCount" msprop:Generator_ColumnPropNameInTable="bigCountColumn" msprop:Generator_UserColumnName="bigCount" type="xs:int" minOccurs="0" />
|
|
<xs:element name="unit" msprop:Generator_ColumnVarNameInTable="columnunit" msprop:Generator_ColumnPropNameInRow="unit" msprop:Generator_ColumnPropNameInTable="unitColumn" msprop:Generator_UserColumnName="unit" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="20" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="spec" msprop:Generator_ColumnVarNameInTable="columnspec" msprop:Generator_ColumnPropNameInRow="spec" msprop:Generator_ColumnPropNameInTable="specColumn" msprop:Generator_UserColumnName="spec" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="100" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="manufacturer" msprop:Generator_ColumnVarNameInTable="columnmanufacturer" msprop:Generator_ColumnPropNameInRow="manufacturer" msprop:Generator_ColumnPropNameInTable="manufacturerColumn" msprop:Generator_UserColumnName="manufacturer" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="256" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="goodsName" msprop:Generator_ColumnVarNameInTable="columngoodsName" msprop:Generator_ColumnPropNameInRow="goodsName" msprop:Generator_ColumnPropNameInTable="goodsNameColumn" msprop:Generator_UserColumnName="goodsName" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="120" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="box" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnbox" msprop:Generator_ColumnPropNameInRow="box" msprop:Generator_ColumnPropNameInTable="boxColumn" msprop:Generator_UserColumnName="box" type="xs:decimal" minOccurs="0" />
|
|
<xs:element name="type" msprop:Generator_ColumnVarNameInTable="columntype" msprop:Generator_ColumnPropNameInRow="type" msprop:Generator_ColumnPropNameInTable="typeColumn" msprop:Generator_UserColumnName="type" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="30" />
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
|
<xs:selector xpath=".//mstns:v_reportStockRecord" />
|
|
<xs:field xpath="mstns:id" />
|
|
</xs:unique>
|
|
</xs:element>
|
|
</xs:schema> |