66 строки
8.5 KiB
XML
66 строки
8.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
<xs:schema id="TourRatingDataset" targetNamespace="http://tempuri.org/DataSet2.xsd" xmlns:mstns="http://tempuri.org/DataSet2.xsd" xmlns="http://tempuri.org/DataSet2.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="Web.config" AppSettingsPropertyName="WWTToursConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="WWTToursConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.WWTToursConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
|
|||
|
</Connections>
|
|||
|
<Tables>
|
|||
|
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spInsertTourRatingOrCommentTableAdapter" GeneratorDataComponentClassName="spInsertTourRatingOrCommentTableAdapter" Name="spInsertTourRatingOrComment" UserDataComponentName="spInsertTourRatingOrCommentTableAdapter">
|
|||
|
<MainSource>
|
|||
|
<DbSource ConnectionRef="WWTToursConnectionString (Web.config)" DbObjectName="WWTTours.dbo.spInsertTourRatingOrComment" DbObjectType="StoredProcedure" 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="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
|||
|
<SelectCommand>
|
|||
|
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
|||
|
<CommandText>dbo.spInsertTourRatingOrComment</CommandText>
|
|||
|
<Parameters>
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pUserGUID" Precision="0" ProviderType="VarChar" Scale="0" Size="48" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pTourGUID" Precision="0" ProviderType="VarChar" Scale="0" Size="48" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pRating" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pComment" Precision="0" ProviderType="NVarChar" Scale="0" Size="1000" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pUserSelfRatingID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pUserContactInfo" Precision="0" ProviderType="NVarChar" Scale="0" Size="2000" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pObjectionTypeID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pObjectionComment" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
|
|||
|
</Parameters>
|
|||
|
</DbCommand>
|
|||
|
</SelectCommand>
|
|||
|
</DbSource>
|
|||
|
</MainSource>
|
|||
|
<Mappings>
|
|||
|
<Mapping SourceColumn="TourGUID" DataSetColumn="TourGUID" />
|
|||
|
<Mapping SourceColumn="NumberOfRatings" DataSetColumn="NumberOfRatings" />
|
|||
|
<Mapping SourceColumn="AverageRating" DataSetColumn="AverageRating" />
|
|||
|
<Mapping SourceColumn="NumberOfObjections" DataSetColumn="NumberOfObjections" />
|
|||
|
<Mapping SourceColumn="StatsLastUpdatedDateTime" DataSetColumn="StatsLastUpdatedDateTime" />
|
|||
|
</Mappings>
|
|||
|
<Sources />
|
|||
|
</TableAdapter>
|
|||
|
</Tables>
|
|||
|
<Sources />
|
|||
|
</DataSource>
|
|||
|
</xs:appinfo>
|
|||
|
</xs:annotation>
|
|||
|
<xs:element name="TourRatingDataset" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="TourRatingDataset" msprop:Generator_UserDSName="TourRatingDataset">
|
|||
|
<xs:complexType>
|
|||
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|||
|
<xs:element name="spInsertTourRatingOrComment" msprop:Generator_TableClassName="spInsertTourRatingOrCommentDataTable" msprop:Generator_RowEvArgName="spInsertTourRatingOrCommentRowChangeEvent" msprop:Generator_TablePropName="spInsertTourRatingOrComment" msprop:Generator_TableVarName="tablespInsertTourRatingOrComment" msprop:Generator_RowEvHandlerName="spInsertTourRatingOrCommentRowChangeEventHandler" msprop:Generator_RowDeletingName="spInsertTourRatingOrCommentRowDeleting" msprop:Generator_RowChangingName="spInsertTourRatingOrCommentRowChanging" msprop:Generator_RowDeletedName="spInsertTourRatingOrCommentRowDeleted" msprop:Generator_UserTableName="spInsertTourRatingOrComment" msprop:Generator_RowChangedName="spInsertTourRatingOrCommentRowChanged" msprop:Generator_RowClassName="spInsertTourRatingOrCommentRow">
|
|||
|
<xs:complexType>
|
|||
|
<xs:sequence>
|
|||
|
<xs:element name="TourGUID" msdata:DataType="System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnTourGUID" msprop:Generator_ColumnPropNameInRow="TourGUID" msprop:Generator_ColumnPropNameInTable="TourGUIDColumn" msprop:Generator_UserColumnName="TourGUID" type="xs:string" />
|
|||
|
<xs:element name="NumberOfRatings" msprop:Generator_ColumnVarNameInTable="columnNumberOfRatings" msprop:Generator_ColumnPropNameInRow="NumberOfRatings" msprop:Generator_ColumnPropNameInTable="NumberOfRatingsColumn" msprop:Generator_UserColumnName="NumberOfRatings" type="xs:int" />
|
|||
|
<xs:element name="AverageRating" msprop:Generator_ColumnVarNameInTable="columnAverageRating" msprop:Generator_ColumnPropNameInRow="AverageRating" msprop:Generator_ColumnPropNameInTable="AverageRatingColumn" msprop:Generator_UserColumnName="AverageRating" type="xs:double" minOccurs="0" />
|
|||
|
<xs:element name="NumberOfObjections" msprop:Generator_ColumnVarNameInTable="columnNumberOfObjections" msprop:Generator_ColumnPropNameInRow="NumberOfObjections" msprop:Generator_ColumnPropNameInTable="NumberOfObjectionsColumn" msprop:Generator_UserColumnName="NumberOfObjections" type="xs:int" />
|
|||
|
<xs:element name="StatsLastUpdatedDateTime" msprop:Generator_ColumnVarNameInTable="columnStatsLastUpdatedDateTime" msprop:Generator_ColumnPropNameInRow="StatsLastUpdatedDateTime" msprop:Generator_ColumnPropNameInTable="StatsLastUpdatedDateTimeColumn" msprop:Generator_UserColumnName="StatsLastUpdatedDateTime" type="xs:dateTime" />
|
|||
|
</xs:sequence>
|
|||
|
</xs:complexType>
|
|||
|
</xs:element>
|
|||
|
</xs:choice>
|
|||
|
</xs:complexType>
|
|||
|
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
|||
|
<xs:selector xpath=".//mstns:spInsertTourRatingOrComment" />
|
|||
|
<xs:field xpath="mstns:TourGUID" />
|
|||
|
</xs:unique>
|
|||
|
</xs:element>
|
|||
|
</xs:schema>
|