<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="LibraryDataSet" targetNamespace="http://tempuri.org/LibraryDataSet.xsd" xmlns:mstns="http://tempuri.org/LibraryDataSet.xsd" xmlns="http://tempuri.org/LibraryDataSet.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="LibraryConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="LibraryConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.LibraryMangementSystem.Properties.Settings.GlobalReference.Default.LibraryConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PublisherlnfoTableAdapter" GeneratorDataComponentClassName="PublisherlnfoTableAdapter" Name="Publisherlnfo" UserDataComponentName="PublisherlnfoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="LibraryConnectionString (Settings)" DbObjectName="Library.dbo.Publisherlnfo" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Publisherlnfo] WHERE (([PublisherId] = @Original_PublisherId) AND ((@IsNull_Publisher = 1 AND [Publisher] IS NULL) OR ([Publisher] = @Original_Publisher)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PublisherId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PublisherId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Publisher" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Publisher" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Publisher" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Publisher" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Publisherlnfo] ([PublisherId], [Publisher]) VALUES (@PublisherId, @Publisher);
SELECT PublisherId, Publisher FROM Publisherlnfo WHERE (PublisherId = @PublisherId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PublisherId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PublisherId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Publisher" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Publisher" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PublisherId, Publisher FROM dbo.Publisherlnfo</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Publisherlnfo] SET [PublisherId] = @PublisherId, [Publisher] = @Publisher WHERE (([PublisherId] = @Original_PublisherId) AND ((@IsNull_Publisher = 1 AND [Publisher] IS NULL) OR ([Publisher] = @Original_Publisher)));
SELECT PublisherId, Publisher FROM Publisherlnfo WHERE (PublisherId = @PublisherId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PublisherId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PublisherId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Publisher" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Publisher" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PublisherId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PublisherId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Publisher" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Publisher" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Publisher" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Publisher" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PublisherId" DataSetColumn="PublisherId" />
              <Mapping SourceColumn="Publisher" DataSetColumn="Publisher" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="LibraryDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="LibraryDataSet" msprop:Generator_UserDSName="LibraryDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Publisherlnfo" msprop:Generator_TableClassName="PublisherlnfoDataTable" msprop:Generator_TableVarName="tablePublisherlnfo" msprop:Generator_TablePropName="Publisherlnfo" msprop:Generator_RowDeletingName="PublisherlnfoRowDeleting" msprop:Generator_RowChangingName="PublisherlnfoRowChanging" msprop:Generator_RowEvHandlerName="PublisherlnfoRowChangeEventHandler" msprop:Generator_RowDeletedName="PublisherlnfoRowDeleted" msprop:Generator_UserTableName="Publisherlnfo" msprop:Generator_RowChangedName="PublisherlnfoRowChanged" msprop:Generator_RowEvArgName="PublisherlnfoRowChangeEvent" msprop:Generator_RowClassName="PublisherlnfoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PublisherId" msprop:Generator_ColumnVarNameInTable="columnPublisherId" msprop:Generator_ColumnPropNameInRow="PublisherId" msprop:Generator_ColumnPropNameInTable="PublisherIdColumn" msprop:Generator_UserColumnName="PublisherId">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Publisher" msprop:Generator_ColumnVarNameInTable="columnPublisher" msprop:Generator_ColumnPropNameInRow="Publisher" msprop:Generator_ColumnPropNameInTable="PublisherColumn" msprop:Generator_UserColumnName="Publisher" 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:Publisherlnfo" />
      <xs:field xpath="mstns:PublisherId" />
    </xs:unique>
  </xs:element>
</xs:schema>