<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dtsRoomTypes" targetNamespace="http://tempuri.org/dtsRoomTypes.xsd" xmlns:mstns="http://tempuri.org/dtsRoomTypes.xsd" xmlns="http://tempuri.org/dtsRoomTypes.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="HotelConString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="HotelConString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.HotelConString.ConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblRoomTypesTableAdapter" GeneratorDataComponentClassName="tblRoomTypesTableAdapter" Name="tblRoomTypes" UserDataComponentName="tblRoomTypesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="HotelConString (Web.config)" DbObjectName="HotelOnline.dbo.tblRoomTypes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>DELETE FROM [tblRoomTypes] WHERE (([RoomTypeID] = @Original_RoomTypeID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoomTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoomTypeID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>INSERT INTO [tblRoomTypes] ([RoomTypeDescription]) VALUES (@RoomTypeDescription)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoomTypeDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoomTypeDescription" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     RoomTypeID, RoomTypeDescription
FROM         tblRoomTypes</CommandText>
                    <Parameters>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="False">
                    <CommandText>UPDATE [tblRoomTypes] SET [RoomTypeDescription] = @RoomTypeDescription WHERE (([RoomTypeID] = @Original_RoomTypeID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoomTypeDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoomTypeDescription" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoomTypeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoomTypeID" SourceColumnNullMapping="False" SourceVersion="Original">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="RoomTypeID" DataSetColumn="RoomTypeID" />
              <Mapping SourceColumn="RoomTypeDescription" DataSetColumn="RoomTypeDescription" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="HotelConString (Web.config)" DbObjectName="HotelOnline.dbo.tblRoomTypes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Both" GenerateShortCommands="True" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     RoomTypeID, RoomTypeDescription
FROM         tblRoomTypes
WHERE     (RoomTypeDescription = @RoomTypeDescription)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="RoomTypeDescription" ColumnName="RoomTypeDescription" DataSourceName="HotelOnline.dbo.tblRoomTypes" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@RoomTypeDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="RoomTypeDescription" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dtsRoomTypes" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dtsRoomTypes" msprop:Generator_DataSetName="dtsRoomTypes">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="tblRoomTypes" msprop:Generator_UserTableName="tblRoomTypes" msprop:Generator_RowDeletedName="tblRoomTypesRowDeleted" msprop:Generator_RowChangedName="tblRoomTypesRowChanged" msprop:Generator_RowClassName="tblRoomTypesRow" msprop:Generator_RowChangingName="tblRoomTypesRowChanging" msprop:Generator_RowEvArgName="tblRoomTypesRowChangeEvent" msprop:Generator_RowEvHandlerName="tblRoomTypesRowChangeEventHandler" msprop:Generator_TableClassName="tblRoomTypesDataTable" msprop:Generator_TableVarName="tabletblRoomTypes" msprop:Generator_RowDeletingName="tblRoomTypesRowDeleting" msprop:Generator_TablePropName="tblRoomTypes">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="RoomTypeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="RoomTypeID" msprop:Generator_ColumnVarNameInTable="columnRoomTypeID" msprop:Generator_ColumnPropNameInRow="RoomTypeID" msprop:Generator_ColumnPropNameInTable="RoomTypeIDColumn" type="xs:int" />
              <xs:element name="RoomTypeDescription" msprop:Generator_UserColumnName="RoomTypeDescription" msprop:Generator_ColumnVarNameInTable="columnRoomTypeDescription" msprop:Generator_ColumnPropNameInRow="RoomTypeDescription" msprop:Generator_ColumnPropNameInTable="RoomTypeDescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </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:tblRoomTypes" />
      <xs:field xpath="mstns:RoomTypeID" />
    </xs:unique>
  </xs:element>
</xs:schema>