﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="BranchAuthorisation" targetNamespace="http://tempuri.org/BranchAuthorisation.xsd" xmlns:mstns="http://tempuri.org/BranchAuthorisation.xsd" xmlns="http://tempuri.org/BranchAuthorisation.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" 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="dbnewgsFMobConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dbnewgsFMobConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.dbnewgsFMobConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SelBranchTableAdapter" Name="SelBranch">
            <MainSource>
              <DbSource ConnectionRef="dbnewgsFMobConnectionString (Web.config)" DbObjectName="dbnewgsFMob.dbo.SelBranch" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.SelBranch</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="row" DataSetColumn="row" />
              <Mapping SourceColumn="branchCodeId" DataSetColumn="branchCodeId" />
              <Mapping SourceColumn="branchCode" DataSetColumn="branchCode" />
              <Mapping SourceColumn="branchName" DataSetColumn="branchName" />
              <Mapping SourceColumn="branchAddress" DataSetColumn="branchAddress" />
              <Mapping SourceColumn="branchPhone" DataSetColumn="branchPhone" />
              <Mapping SourceColumn="branchMobile" DataSetColumn="branchMobile" />
              <Mapping SourceColumn="branchEmail" DataSetColumn="branchEmail" />
              <Mapping SourceColumn="branchCity" DataSetColumn="branchCity" />
              <Mapping SourceColumn="branchDistrict" DataSetColumn="branchDistrict" />
              <Mapping SourceColumn="branchState" DataSetColumn="branchState" />
              <Mapping SourceColumn="branchLimit" DataSetColumn="branchLimit" />
              <Mapping SourceColumn="branchType" DataSetColumn="branchType" />
              <Mapping SourceColumn="branchStatus" DataSetColumn="branchStatus" />
              <Mapping SourceColumn="empLoginPassword" DataSetColumn="empLoginPassword" />
              <Mapping SourceColumn="empLoginName" DataSetColumn="empLoginName" />
              <Mapping SourceColumn="ReferenceBrachCodeId" DataSetColumn="ReferenceBrachCodeId" />
              <Mapping SourceColumn="branchSecurity" DataSetColumn="branchSecurity" />
              <Mapping SourceColumn="commPerStudent" DataSetColumn="commPerStudent" />
              <Mapping SourceColumn="branchMSecurityComm" DataSetColumn="branchMSecurityComm" />
              <Mapping SourceColumn="branchMStudentComm" DataSetColumn="branchMStudentComm" />
              <Mapping SourceColumn="branchContactPerson" DataSetColumn="branchContactPerson" />
              <Mapping SourceColumn="branchRenewal" DataSetColumn="branchRenewal" />
              <Mapping SourceColumn="RenewalDate" DataSetColumn="RenewalDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="BranchAuthorisation" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SelBranch">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="row" msdata:ReadOnly="true" type="xs:long" minOccurs="0" />
              <xs:element name="branchCodeId" type="xs:int" minOccurs="0" />
              <xs:element name="branchCode" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchAddress" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchPhone" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchMobile" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchEmail" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchCity" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="70" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchDistrict" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchState" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchLimit" type="xs:int" minOccurs="0" />
              <xs:element name="branchType" type="xs:int" minOccurs="0" />
              <xs:element name="branchStatus" type="xs:int" minOccurs="0" />
              <xs:element name="empLoginPassword" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="empLoginName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ReferenceBrachCodeId" type="xs:int" minOccurs="0" />
              <xs:element name="branchSecurity" type="xs:decimal" minOccurs="0" />
              <xs:element name="commPerStudent" type="xs:decimal" minOccurs="0" />
              <xs:element name="branchMSecurityComm" type="xs:decimal" minOccurs="0" />
              <xs:element name="branchMStudentComm" type="xs:decimal" minOccurs="0" />
              <xs:element name="branchContactPerson" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="branchRenewal" type="xs:decimal" minOccurs="0" />
              <xs:element name="RenewalDate" msdata:ReadOnly="true" 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:element>
</xs:schema>