<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.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="db_restooranConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="db_restooranConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.restooran.Properties.Settings.GlobalReference.Default.db_restooranConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_ghazaTableAdapter" GeneratorDataComponentClassName="tbl_ghazaTableAdapter" Name="tbl_ghaza" UserDataComponentName="tbl_ghazaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_ghaza" 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 [tbl_ghaza] WHERE (([code] = @Original_code) AND ((@IsNull_sharh = 1 AND [sharh] IS NULL) OR ([sharh] = @Original_sharh)) AND ((@IsNull_gheymat = 1 AND [gheymat] IS NULL) OR ([gheymat] = @Original_gheymat)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sharh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gheymat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbl_ghaza] ([code], [sharh], [gheymat]) VALUES (@code, @sharh, @gheymat);
SELECT code, sharh, gheymat FROM tbl_ghaza WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_ghaza.*
FROM            tbl_ghaza</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbl_ghaza] SET [code] = @code, [sharh] = @sharh, [gheymat] = @gheymat WHERE (([code] = @Original_code) AND ((@IsNull_sharh = 1 AND [sharh] IS NULL) OR ([sharh] = @Original_sharh)) AND ((@IsNull_gheymat = 1 AND [gheymat] IS NULL) OR ([gheymat] = @Original_gheymat)));
SELECT code, sharh, gheymat FROM tbl_ghaza WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sharh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gheymat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="code" DataSetColumn="code" />
              <Mapping SourceColumn="sharh" DataSetColumn="sharh" />
              <Mapping SourceColumn="gheymat" DataSetColumn="gheymat" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_ghaza" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBycode" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy4" GeneratorSourceName="FillBycode" GetMethodModifier="Public" GetMethodName="GetDataBy4" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="FillBycode">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_ghaza.*
FROM            tbl_ghaza where code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_ghaza" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBysharh" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy5" GeneratorSourceName="FillBysharh" GetMethodModifier="Public" GetMethodName="GetDataBy5" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="FillBysharh">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        *
FROM            tbl_ghaza where sharh=@sharh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_ghaza" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="getcode" Modifier="Public" Name="getcode" QueryType="Scalar" ScalarCallRetval="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getcode">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT code FROM tbl_ghaza where sharh=@sharh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_ghaza" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="getgheymat" Modifier="Public" Name="getgheymat" QueryType="Scalar" ScalarCallRetval="System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="getgheymat">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT gheymat FROM tbl_ghaza where code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="mydelete" Modifier="Public" Name="mydelete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="mydelete">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [tbl_ghaza] WHERE code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myinsert" Modifier="Public" Name="myinsert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="myinsert">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [tbl_ghaza] ([code], [sharh], [gheymat]) VALUES (@code, @sharh, @gheymat);
SELECT code, sharh, gheymat FROM tbl_ghaza WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="gheymat" ColumnName="gheymat" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myupdate" Modifier="Public" Name="myupdate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="myupdate">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [tbl_ghaza] SET [code] = @code, [sharh] = @sharh, [gheymat] = @gheymat WHERE code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="gheymat" ColumnName="gheymat" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_ghaza" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_deserTableAdapter" GeneratorDataComponentClassName="tbl_deserTableAdapter" Name="tbl_deser" UserDataComponentName="tbl_deserTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_deser" 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 [tbl_deser] WHERE (([code] = @Original_code) AND ((@IsNull_sharh = 1 AND [sharh] IS NULL) OR ([sharh] = @Original_sharh)) AND ((@IsNull_gheymat = 1 AND [gheymat] IS NULL) OR ([gheymat] = @Original_gheymat)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sharh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gheymat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbl_deser] ([code], [sharh], [gheymat]) VALUES (@code, @sharh, @gheymat);
SELECT code, sharh, gheymat FROM tbl_deser WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_deser.*
FROM            tbl_deser</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbl_deser] SET [code] = @code, [sharh] = @sharh, [gheymat] = @gheymat WHERE (([code] = @Original_code) AND ((@IsNull_sharh = 1 AND [sharh] IS NULL) OR ([sharh] = @Original_sharh)) AND ((@IsNull_gheymat = 1 AND [gheymat] IS NULL) OR ([gheymat] = @Original_gheymat)));
SELECT code, sharh, gheymat FROM tbl_deser WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sharh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gheymat" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="code" DataSetColumn="code" />
              <Mapping SourceColumn="sharh" DataSetColumn="sharh" />
              <Mapping SourceColumn="gheymat" DataSetColumn="gheymat" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_deser" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBycode" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy4" GeneratorSourceName="FillBycode" GetMethodModifier="Public" GetMethodName="GetDataBy4" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="FillBycode">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_deser.*
FROM            tbl_deser where code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_deser" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBysharh" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy5" GeneratorSourceName="FillBysharh" GetMethodModifier="Public" GetMethodName="GetDataBy5" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="FillBysharh">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_deser.*
FROM            tbl_deser where sharh=@sharh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_deser" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="getgheymat" Modifier="Public" Name="getgheymat" QueryType="Scalar" ScalarCallRetval="System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getgheymat">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT gheymat FROM tbl_deser where code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="mydelete" Modifier="Public" Name="mydelete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="mydelete">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [tbl_deser] WHERE code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myinsert" Modifier="Public" Name="myinsert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="myinsert">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [tbl_deser] ([code], [sharh], [gheymat]) VALUES (@code, @sharh, @gheymat);
SELECT code, sharh, gheymat FROM tbl_deser WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="gheymat" ColumnName="gheymat" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myupdate" Modifier="Public" Name="myupdate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="myupdate">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [tbl_deser] SET [code] = @code, [sharh] = @sharh, [gheymat] = @gheymat WHERE code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="gheymat" ColumnName="gheymat" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_deser" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@gheymat" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="gheymat" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_factorTableAdapter" GeneratorDataComponentClassName="tbl_factorTableAdapter" Name="tbl_factor" UserDataComponentName="tbl_factorTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_factor" 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 [tbl_factor] WHERE (([sh_factor] = @Original_sh_factor) AND ((@IsNull_date = 1 AND [date] IS NULL) OR ([date] = @Original_date)) AND ((@IsNull_total = 1 AND [total] IS NULL) OR ([total] = @Original_total)) AND ((@IsNull_takhfif = 1 AND [takhfif] IS NULL) OR ([takhfif] = @Original_takhfif)) AND ((@IsNull_mablagh = 1 AND [mablagh] IS NULL) OR ([mablagh] = @Original_mablagh)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sh_factor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_total" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_takhfif" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="takhfif" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_takhfif" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="takhfif" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mablagh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mablagh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_mablagh" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="mablagh" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbl_factor] ([sh_factor], [date], [total], [takhfif], [mablagh]) VALUES (@sh_factor, @date, @total, @takhfif, @mablagh);
SELECT sh_factor, date, total, takhfif, mablagh FROM tbl_factor WHERE (sh_factor = @sh_factor)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sh_factor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@date" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@takhfif" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="takhfif" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@mablagh" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="mablagh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_factor.*
FROM            tbl_factor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbl_factor] SET [sh_factor] = @sh_factor, [date] = @date, [total] = @total, [takhfif] = @takhfif, [mablagh] = @mablagh WHERE (([sh_factor] = @Original_sh_factor) AND ((@IsNull_date = 1 AND [date] IS NULL) OR ([date] = @Original_date)) AND ((@IsNull_total = 1 AND [total] IS NULL) OR ([total] = @Original_total)) AND ((@IsNull_takhfif = 1 AND [takhfif] IS NULL) OR ([takhfif] = @Original_takhfif)) AND ((@IsNull_mablagh = 1 AND [mablagh] IS NULL) OR ([mablagh] = @Original_mablagh)));
SELECT sh_factor, date, total, takhfif, mablagh FROM tbl_factor WHERE (sh_factor = @sh_factor)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sh_factor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@date" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@takhfif" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="takhfif" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@mablagh" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="mablagh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sh_factor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_total" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_takhfif" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="takhfif" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_takhfif" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="takhfif" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_mablagh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="mablagh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_mablagh" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="mablagh" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="sh_factor" DataSetColumn="sh_factor" />
              <Mapping SourceColumn="date" DataSetColumn="date" />
              <Mapping SourceColumn="total" DataSetColumn="total" />
              <Mapping SourceColumn="takhfif" DataSetColumn="takhfif" />
              <Mapping SourceColumn="mablagh" DataSetColumn="mablagh" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_factor" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBydate" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy2" GeneratorSourceName="FillBydate" GetMethodModifier="Public" GetMethodName="GetDataBy2" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="FillBydate">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_factor.*
FROM            tbl_factor where date&gt;=@from and date&lt;=@to</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="from" ColumnName="date" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="nvarchar(15)" DbType="String" Direction="Input" ParameterName="@from" Precision="0" ProviderType="NVarChar" Scale="0" Size="15" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="to" ColumnName="date" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="nvarchar(15)" DbType="String" Direction="Input" ParameterName="@to" Precision="0" ProviderType="NVarChar" Scale="0" Size="15" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getbydate" Modifier="Public" Name="getbydate" QueryType="Scalar" ScalarCallRetval="System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getbydate">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT sum(mablagh) FROM tbl_factor where date&gt;=@from and date&lt;=@to </CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="from" ColumnName="date" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="nvarchar(15)" DbType="String" Direction="Input" ParameterName="@from" Precision="0" ProviderType="NVarChar" Scale="0" Size="15" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="to" ColumnName="date" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="nvarchar(15)" DbType="String" Direction="Input" ParameterName="@to" Precision="0" ProviderType="NVarChar" Scale="0" Size="15" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getmax1" Modifier="Public" Name="getmax1" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="getmax1">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT max(sh_factor)+1 FROM tbl_factor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="getsum" Modifier="Public" Name="getsum" QueryType="Scalar" ScalarCallRetval="System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="getsum">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT sum(mablagh) FROM tbl_factor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="mydelete" Modifier="Public" Name="mydelete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="mydelete">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [tbl_factor] WHERE sh_factor=@sh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="sh" ColumnName="sh_factor" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@sh" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myinsert" Modifier="Public" Name="myinsert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="myinsert">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [tbl_factor] ([sh_factor], [date], [total], [takhfif], [mablagh]) VALUES (@sh_factor, @date, @total, @takhfif, @mablagh);
SELECT sh_factor, date, total, takhfif, mablagh FROM tbl_factor WHERE (sh_factor = @sh_factor)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="sh_factor" ColumnName="sh_factor" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@sh_factor" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="date" ColumnName="date" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="nvarchar(15)" DbType="String" Direction="Input" ParameterName="@date" Precision="0" ProviderType="NVarChar" Scale="0" Size="15" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="total" ColumnName="total" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="takhfif" ColumnName="takhfif" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@takhfif" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="takhfif" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="mablagh" ColumnName="mablagh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_factor" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@mablagh" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="mablagh" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_fTableAdapter" GeneratorDataComponentClassName="tbl_fTableAdapter" Name="tbl_f" UserDataComponentName="tbl_fTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_f" 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 [tbl_f] WHERE (([code] = @Original_code) AND ((@IsNull_sharh = 1 AND [sharh] IS NULL) OR ([sharh] = @Original_sharh)) AND ((@IsNull_tedad = 1 AND [tedad] IS NULL) OR ([tedad] = @Original_tedad)) AND ((@IsNull_gheymat_vahed = 1 AND [gheymat_vahed] IS NULL) OR ([gheymat_vahed] = @Original_gheymat_vahed)) AND ((@IsNull_total = 1 AND [total] IS NULL) OR ([total] = @Original_total)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sharh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tedad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tedad" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gheymat_vahed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gheymat_vahed" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gheymat_vahed" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_total" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbl_f] ([code], [sharh], [tedad], [gheymat_vahed], [total]) VALUES (@code, @sharh, @tedad, @gheymat_vahed, @total);
SELECT code, sharh, tedad, gheymat_vahed, total FROM tbl_f WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat_vahed" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_f.*
FROM            tbl_f</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbl_f] SET [code] = @code, [sharh] = @sharh, [tedad] = @tedad, [gheymat_vahed] = @gheymat_vahed, [total] = @total WHERE (([code] = @Original_code) AND ((@IsNull_sharh = 1 AND [sharh] IS NULL) OR ([sharh] = @Original_sharh)) AND ((@IsNull_tedad = 1 AND [tedad] IS NULL) OR ([tedad] = @Original_tedad)) AND ((@IsNull_gheymat_vahed = 1 AND [gheymat_vahed] IS NULL) OR ([gheymat_vahed] = @Original_gheymat_vahed)) AND ((@IsNull_total = 1 AND [total] IS NULL) OR ([total] = @Original_total)));
SELECT code, sharh, tedad, gheymat_vahed, total FROM tbl_f WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat_vahed" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sharh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tedad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tedad" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gheymat_vahed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gheymat_vahed" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gheymat_vahed" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_total" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="code" DataSetColumn="code" />
              <Mapping SourceColumn="sharh" DataSetColumn="sharh" />
              <Mapping SourceColumn="tedad" DataSetColumn="tedad" />
              <Mapping SourceColumn="gheymat_vahed" DataSetColumn="gheymat_vahed" />
              <Mapping SourceColumn="total" DataSetColumn="total" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQuery">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [tbl_f] </CommandText>
                    <Parameters />
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_f" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="gettedad" Modifier="Public" Name="gettedad" QueryType="Scalar" ScalarCallRetval="System.Decimal, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="gettedad">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT tedad FROM tbl_f where code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="mydelete" Modifier="Public" Name="mydelete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="mydelete">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [tbl_f] WHERE code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myinsert" Modifier="Public" Name="myinsert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="myinsert">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [tbl_f] ([code], [sharh], [tedad], [gheymat_vahed], [total]) VALUES (@code, @sharh, @tedad, @gheymat_vahed, @total);
SELECT code, sharh, tedad, gheymat_vahed, total FROM tbl_f WHERE (code = @code)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="tedad" ColumnName="tedad" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="tedad" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="gheymat_vahed" ColumnName="gheymat_vahed" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@gheymat_vahed" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="gheymat_vahed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="total" ColumnName="total" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateQuery" Modifier="Public" Name="UpdateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="UpdateQuery">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [tbl_f] SET tedad=@tedad , total=@total where code=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tedad" ColumnName="tedad" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="tedad" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="total" ColumnName="total" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_f" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_faTableAdapter" GeneratorDataComponentClassName="tbl_faTableAdapter" Name="tbl_fa" UserDataComponentName="tbl_faTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_fa" 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 [tbl_fa] WHERE (([code1] = @Original_code1) AND ((@IsNull_sharh1 = 1 AND [sharh1] IS NULL) OR ([sharh1] = @Original_sharh1)) AND ((@IsNull_tedad1 = 1 AND [tedad1] IS NULL) OR ([tedad1] = @Original_tedad1)) AND ((@IsNull_gheymat_vahed1 = 1 AND [gheymat_vahed1] IS NULL) OR ([gheymat_vahed1] = @Original_gheymat_vahed1)) AND ((@IsNull_total1 = 1 AND [total1] IS NULL) OR ([total1] = @Original_total1)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_code1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sharh1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sharh1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sharh1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tedad1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tedad1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tedad1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gheymat_vahed1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gheymat_vahed1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gheymat_vahed1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_total1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="total1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_total1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total1" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbl_fa] ([code1], [sharh1], [tedad1], [gheymat_vahed1], [total1]) VALUES (@code1, @sharh1, @tedad1, @gheymat_vahed1, @total1);
SELECT code1, sharh1, tedad1, gheymat_vahed1, total1 FROM tbl_fa WHERE (code1 = @code1)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@code1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tedad1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat_vahed1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total1" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT code1, sharh1, tedad1, gheymat_vahed1, total1 FROM tbl_fa</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [tbl_fa] SET [code1] = @code1, [sharh1] = @sharh1, [tedad1] = @tedad1, [gheymat_vahed1] = @gheymat_vahed1, [total1] = @total1 WHERE (([code1] = @Original_code1) AND ((@IsNull_sharh1 = 1 AND [sharh1] IS NULL) OR ([sharh1] = @Original_sharh1)) AND ((@IsNull_tedad1 = 1 AND [tedad1] IS NULL) OR ([tedad1] = @Original_tedad1)) AND ((@IsNull_gheymat_vahed1 = 1 AND [gheymat_vahed1] IS NULL) OR ([gheymat_vahed1] = @Original_gheymat_vahed1)) AND ((@IsNull_total1 = 1 AND [total1] IS NULL) OR ([total1] = @Original_total1)));
SELECT code1, sharh1, tedad1, gheymat_vahed1, total1 FROM tbl_fa WHERE (code1 = @code1)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@code1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tedad1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat_vahed1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_code1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="code1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_sharh1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="sharh1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sharh1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tedad1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tedad1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tedad1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gheymat_vahed1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gheymat_vahed1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_gheymat_vahed1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_total1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="total1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_total1" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total1" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="code1" DataSetColumn="code1" />
              <Mapping SourceColumn="sharh1" DataSetColumn="sharh1" />
              <Mapping SourceColumn="tedad1" DataSetColumn="tedad1" />
              <Mapping SourceColumn="gheymat_vahed1" DataSetColumn="gheymat_vahed1" />
              <Mapping SourceColumn="total1" DataSetColumn="total1" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteQuery" Modifier="Public" Name="DeleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQuery">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [tbl_fa] </CommandText>
                    <Parameters />
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_fa" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="gettedad" Modifier="Public" Name="gettedad" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="gettedad">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT tedad1 FROM tbl_fa where code1=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code1" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="mydelete" Modifier="Public" Name="mydelete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="mydelete">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [tbl_fa] WHERE code1=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code1" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myinsert" Modifier="Public" Name="myinsert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="myinsert">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [tbl_fa] ([code1], [sharh1], [tedad1], [gheymat_vahed1], [total1]) VALUES (@code1, @sharh1, @tedad1, @gheymat_vahed1, @total1);
SELECT code1, sharh1, tedad1, gheymat_vahed1, total1 FROM tbl_fa WHERE (code1 = @code1)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="code1" ColumnName="code1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code1" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh1" ColumnName="sharh1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh1" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="tedad1" ColumnName="tedad1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@tedad1" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="tedad1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="gheymat_vahed1" ColumnName="gheymat_vahed1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@gheymat_vahed1" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="gheymat_vahed1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="total1" ColumnName="total1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@total1" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="total1" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateQuery" Modifier="Public" Name="UpdateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="UpdateQuery">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [tbl_fa] SET tedad1=@tedad , total1=@total where code1=@code</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="tedad" ColumnName="tedad1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="tedad1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="total" ColumnName="total1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="total1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="code" ColumnName="code1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_fa" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@code" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="code1" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_subfactorTableAdapter" GeneratorDataComponentClassName="tbl_subfactorTableAdapter" Name="tbl_subfactor" UserDataComponentName="tbl_subfactorTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_subfactor" 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">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbl_subfactor] ([sh_factor], [sharh], [tedad], [gheymat_vahed], [total]) VALUES (@sh_factor, @sharh, @tedad, @gheymat_vahed, @total)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sh_factor" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="tedad" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@gheymat_vahed" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="gheymat_vahed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_subfactor.*
FROM            tbl_subfactor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="sh_factor" DataSetColumn="sh_factor" />
              <Mapping SourceColumn="sharh" DataSetColumn="sharh" />
              <Mapping SourceColumn="tedad" DataSetColumn="tedad" />
              <Mapping SourceColumn="gheymat_vahed" DataSetColumn="gheymat_vahed" />
              <Mapping SourceColumn="total" DataSetColumn="total" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_subfactor" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBysh" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="FillBysh" GetMethodModifier="Public" GetMethodName="GetDataBy1" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="FillBysh">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_subfactor.*
FROM            tbl_subfactor where sh_factor=@sh</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="sh" ColumnName="sh_factor" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_subfactor" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@sh" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="mydelete" Modifier="Public" Name="mydelete" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="mydelete">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE from tbl_subfactor where sh_factor=@shfactor</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="shfactor" ColumnName="sh_factor" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_subfactor" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@shfactor" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myinsert" Modifier="Public" Name="myinsert" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="myinsert">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [tbl_subfactor] ([sh_factor], [sharh], [tedad], [gheymat_vahed], [total]) VALUES (@sh_factor, @sharh, @tedad, @gheymat_vahed, @total)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="sh_factor" ColumnName="sh_factor" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_subfactor" DataTypeServer="nvarchar(5)" DbType="String" Direction="Input" ParameterName="@sh_factor" Precision="0" ProviderType="NVarChar" Scale="0" Size="5" SourceColumn="sh_factor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="sharh" ColumnName="sharh" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_subfactor" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@sharh" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="sharh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="tedad" ColumnName="tedad" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_subfactor" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@tedad" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="tedad" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="gheymat_vahed" ColumnName="gheymat_vahed" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_subfactor" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@gheymat_vahed" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="gheymat_vahed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="total" ColumnName="total" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_subfactor" DataTypeServer="decimal(18, 0)" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="0" Size="9" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_infoTableAdapter" GeneratorDataComponentClassName="tbl_infoTableAdapter" Name="tbl_info" UserDataComponentName="tbl_infoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="dbo.tbl_info" 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">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [tbl_info] ([name], [modir], [tell1], [tell2], [address], [logo]) VALUES (@name, @modir, @tell1, @tell2, @address, @logo)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@modir" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="modir" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tell1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tell1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@tell2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="tell2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@logo" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="logo" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tbl_info.*
FROM            tbl_info</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="name" DataSetColumn="name" />
              <Mapping SourceColumn="modir" DataSetColumn="modir" />
              <Mapping SourceColumn="tell1" DataSetColumn="tell1" />
              <Mapping SourceColumn="tell2" DataSetColumn="tell2" />
              <Mapping SourceColumn="address" DataSetColumn="address" />
              <Mapping SourceColumn="logo" DataSetColumn="logo" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="db_restooranConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="myupdate" Modifier="Public" Name="myupdate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="myupdate">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE tbl_info set name=@name , modir=@modir , tell1=@tell1 , tell2=@tell2 , address=@adres , logo=@logo</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="name" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_info" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="modir" ColumnName="modir" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_info" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@modir" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="modir" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="tell1" ColumnName="tell1" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_info" DataTypeServer="nvarchar(15)" DbType="String" Direction="Input" ParameterName="@tell1" Precision="0" ProviderType="NVarChar" Scale="0" Size="15" SourceColumn="tell1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="tell2" ColumnName="tell2" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_info" DataTypeServer="nvarchar(15)" DbType="String" Direction="Input" ParameterName="@tell2" Precision="0" ProviderType="NVarChar" Scale="0" Size="15" SourceColumn="tell2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="adres" ColumnName="address" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_info" DataTypeServer="nvarchar(250)" DbType="String" Direction="Input" ParameterName="@adres" Precision="0" ProviderType="NVarChar" Scale="0" Size="250" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="logo" ColumnName="logo" DataSourceName="[C:\USERS\PC\DOCUMENTS\DB_RESTOORAN.MDF].dbo.tbl_info" DataTypeServer="image" DbType="Binary" Direction="Input" ParameterName="@logo" Precision="0" ProviderType="Image" Scale="0" Size="2147483647" SourceColumn="logo" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1" msprop:Generator_UserDSName="DataSet1">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="tbl_ghaza" msprop:Generator_TableClassName="tbl_ghazaDataTable" msprop:Generator_TableVarName="tabletbl_ghaza" msprop:Generator_TablePropName="tbl_ghaza" msprop:Generator_RowDeletingName="tbl_ghazaRowDeleting" msprop:Generator_RowChangingName="tbl_ghazaRowChanging" msprop:Generator_RowEvHandlerName="tbl_ghazaRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_ghazaRowDeleted" msprop:Generator_UserTableName="tbl_ghaza" msprop:Generator_RowChangedName="tbl_ghazaRowChanged" msprop:Generator_RowEvArgName="tbl_ghazaRowChangeEvent" msprop:Generator_RowClassName="tbl_ghazaRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="code" msprop:Generator_ColumnVarNameInTable="columncode" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_UserColumnName="code">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sharh" msprop:Generator_ColumnVarNameInTable="columnsharh" msprop:Generator_ColumnPropNameInRow="sharh" msprop:Generator_ColumnPropNameInTable="sharhColumn" msprop:Generator_UserColumnName="sharh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="gheymat" msprop:Generator_ColumnVarNameInTable="columngheymat" msprop:Generator_ColumnPropNameInRow="gheymat" msprop:Generator_ColumnPropNameInTable="gheymatColumn" msprop:Generator_UserColumnName="gheymat" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbl_deser" msprop:Generator_TableClassName="tbl_deserDataTable" msprop:Generator_TableVarName="tabletbl_deser" msprop:Generator_TablePropName="tbl_deser" msprop:Generator_RowDeletingName="tbl_deserRowDeleting" msprop:Generator_RowChangingName="tbl_deserRowChanging" msprop:Generator_RowEvHandlerName="tbl_deserRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_deserRowDeleted" msprop:Generator_UserTableName="tbl_deser" msprop:Generator_RowChangedName="tbl_deserRowChanged" msprop:Generator_RowEvArgName="tbl_deserRowChangeEvent" msprop:Generator_RowClassName="tbl_deserRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="code" msprop:Generator_ColumnVarNameInTable="columncode" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_UserColumnName="code">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sharh" msprop:Generator_ColumnVarNameInTable="columnsharh" msprop:Generator_ColumnPropNameInRow="sharh" msprop:Generator_ColumnPropNameInTable="sharhColumn" msprop:Generator_UserColumnName="sharh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="gheymat" msprop:Generator_ColumnVarNameInTable="columngheymat" msprop:Generator_ColumnPropNameInRow="gheymat" msprop:Generator_ColumnPropNameInTable="gheymatColumn" msprop:Generator_UserColumnName="gheymat" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbl_factor" msprop:Generator_TableClassName="tbl_factorDataTable" msprop:Generator_TableVarName="tabletbl_factor" msprop:Generator_TablePropName="tbl_factor" msprop:Generator_RowDeletingName="tbl_factorRowDeleting" msprop:Generator_RowChangingName="tbl_factorRowChanging" msprop:Generator_RowEvHandlerName="tbl_factorRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_factorRowDeleted" msprop:Generator_UserTableName="tbl_factor" msprop:Generator_RowChangedName="tbl_factorRowChanged" msprop:Generator_RowEvArgName="tbl_factorRowChangeEvent" msprop:Generator_RowClassName="tbl_factorRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="sh_factor" msprop:Generator_ColumnVarNameInTable="columnsh_factor" msprop:Generator_ColumnPropNameInRow="sh_factor" msprop:Generator_ColumnPropNameInTable="sh_factorColumn" msprop:Generator_UserColumnName="sh_factor">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="total" msprop:Generator_ColumnVarNameInTable="columntotal" msprop:Generator_ColumnPropNameInRow="total" msprop:Generator_ColumnPropNameInTable="totalColumn" msprop:Generator_UserColumnName="total" type="xs:decimal" minOccurs="0" />
              <xs:element name="takhfif" msprop:Generator_ColumnVarNameInTable="columntakhfif" msprop:Generator_ColumnPropNameInRow="takhfif" msprop:Generator_ColumnPropNameInTable="takhfifColumn" msprop:Generator_UserColumnName="takhfif" type="xs:decimal" minOccurs="0" />
              <xs:element name="mablagh" msprop:Generator_ColumnVarNameInTable="columnmablagh" msprop:Generator_ColumnPropNameInRow="mablagh" msprop:Generator_ColumnPropNameInTable="mablaghColumn" msprop:Generator_UserColumnName="mablagh" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbl_f" msprop:Generator_TableClassName="tbl_fDataTable" msprop:Generator_TableVarName="tabletbl_f" msprop:Generator_TablePropName="tbl_f" msprop:Generator_RowDeletingName="tbl_fRowDeleting" msprop:Generator_RowChangingName="tbl_fRowChanging" msprop:Generator_RowEvHandlerName="tbl_fRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_fRowDeleted" msprop:Generator_UserTableName="tbl_f" msprop:Generator_RowChangedName="tbl_fRowChanged" msprop:Generator_RowEvArgName="tbl_fRowChangeEvent" msprop:Generator_RowClassName="tbl_fRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="code" msprop:Generator_ColumnVarNameInTable="columncode" msprop:Generator_ColumnPropNameInRow="code" msprop:Generator_ColumnPropNameInTable="codeColumn" msprop:Generator_UserColumnName="code">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sharh" msprop:Generator_ColumnVarNameInTable="columnsharh" msprop:Generator_ColumnPropNameInRow="sharh" msprop:Generator_ColumnPropNameInTable="sharhColumn" msprop:Generator_UserColumnName="sharh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tedad" msprop:Generator_ColumnVarNameInTable="columntedad" msprop:Generator_ColumnPropNameInRow="tedad" msprop:Generator_ColumnPropNameInTable="tedadColumn" msprop:Generator_UserColumnName="tedad" type="xs:decimal" minOccurs="0" />
              <xs:element name="gheymat_vahed" msprop:Generator_ColumnVarNameInTable="columngheymat_vahed" msprop:Generator_ColumnPropNameInRow="gheymat_vahed" msprop:Generator_ColumnPropNameInTable="gheymat_vahedColumn" msprop:Generator_UserColumnName="gheymat_vahed" type="xs:decimal" minOccurs="0" />
              <xs:element name="total" msprop:Generator_ColumnVarNameInTable="columntotal" msprop:Generator_ColumnPropNameInRow="total" msprop:Generator_ColumnPropNameInTable="totalColumn" msprop:Generator_UserColumnName="total" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbl_fa" msprop:Generator_TableClassName="tbl_faDataTable" msprop:Generator_TableVarName="tabletbl_fa" msprop:Generator_TablePropName="tbl_fa" msprop:Generator_RowDeletingName="tbl_faRowDeleting" msprop:Generator_RowChangingName="tbl_faRowChanging" msprop:Generator_RowEvHandlerName="tbl_faRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_faRowDeleted" msprop:Generator_UserTableName="tbl_fa" msprop:Generator_RowChangedName="tbl_faRowChanged" msprop:Generator_RowEvArgName="tbl_faRowChangeEvent" msprop:Generator_RowClassName="tbl_faRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="code1" msprop:Generator_ColumnVarNameInTable="columncode1" msprop:Generator_ColumnPropNameInRow="code1" msprop:Generator_ColumnPropNameInTable="code1Column" msprop:Generator_UserColumnName="code1">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sharh1" msprop:Generator_ColumnVarNameInTable="columnsharh1" msprop:Generator_ColumnPropNameInRow="sharh1" msprop:Generator_ColumnPropNameInTable="sharh1Column" msprop:Generator_UserColumnName="sharh1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tedad1" msprop:Generator_ColumnVarNameInTable="columntedad1" msprop:Generator_ColumnPropNameInRow="tedad1" msprop:Generator_ColumnPropNameInTable="tedad1Column" msprop:Generator_UserColumnName="tedad1" type="xs:decimal" minOccurs="0" />
              <xs:element name="gheymat_vahed1" msprop:Generator_ColumnVarNameInTable="columngheymat_vahed1" msprop:Generator_ColumnPropNameInRow="gheymat_vahed1" msprop:Generator_ColumnPropNameInTable="gheymat_vahed1Column" msprop:Generator_UserColumnName="gheymat_vahed1" type="xs:decimal" minOccurs="0" />
              <xs:element name="total1" msprop:Generator_ColumnVarNameInTable="columntotal1" msprop:Generator_ColumnPropNameInRow="total1" msprop:Generator_ColumnPropNameInTable="total1Column" msprop:Generator_UserColumnName="total1" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbl_subfactor" msprop:Generator_TableClassName="tbl_subfactorDataTable" msprop:Generator_TableVarName="tabletbl_subfactor" msprop:Generator_RowChangedName="tbl_subfactorRowChanged" msprop:Generator_TablePropName="tbl_subfactor" msprop:Generator_RowDeletingName="tbl_subfactorRowDeleting" msprop:Generator_RowChangingName="tbl_subfactorRowChanging" msprop:Generator_RowEvHandlerName="tbl_subfactorRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_subfactorRowDeleted" msprop:Generator_RowClassName="tbl_subfactorRow" msprop:Generator_UserTableName="tbl_subfactor" msprop:Generator_RowEvArgName="tbl_subfactorRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="sh_factor" msprop:Generator_ColumnVarNameInTable="columnsh_factor" msprop:Generator_ColumnPropNameInRow="sh_factor" msprop:Generator_ColumnPropNameInTable="sh_factorColumn" msprop:Generator_UserColumnName="sh_factor" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sharh" msprop:Generator_ColumnVarNameInTable="columnsharh" msprop:Generator_ColumnPropNameInRow="sharh" msprop:Generator_ColumnPropNameInTable="sharhColumn" msprop:Generator_UserColumnName="sharh" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tedad" msprop:Generator_ColumnVarNameInTable="columntedad" msprop:Generator_ColumnPropNameInRow="tedad" msprop:Generator_ColumnPropNameInTable="tedadColumn" msprop:Generator_UserColumnName="tedad" type="xs:decimal" minOccurs="0" />
              <xs:element name="gheymat_vahed" msprop:Generator_ColumnVarNameInTable="columngheymat_vahed" msprop:Generator_ColumnPropNameInRow="gheymat_vahed" msprop:Generator_ColumnPropNameInTable="gheymat_vahedColumn" msprop:Generator_UserColumnName="gheymat_vahed" type="xs:decimal" minOccurs="0" />
              <xs:element name="total" msprop:Generator_ColumnVarNameInTable="columntotal" msprop:Generator_ColumnPropNameInRow="total" msprop:Generator_ColumnPropNameInTable="totalColumn" msprop:Generator_UserColumnName="total" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tbl_info" msprop:Generator_TableClassName="tbl_infoDataTable" msprop:Generator_TableVarName="tabletbl_info" msprop:Generator_TablePropName="tbl_info" msprop:Generator_RowDeletingName="tbl_infoRowDeleting" msprop:Generator_RowChangingName="tbl_infoRowChanging" msprop:Generator_RowEvHandlerName="tbl_infoRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_infoRowDeleted" msprop:Generator_UserTableName="tbl_info" msprop:Generator_RowChangedName="tbl_infoRowChanged" msprop:Generator_RowEvArgName="tbl_infoRowChangeEvent" msprop:Generator_RowClassName="tbl_infoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="modir" msprop:Generator_ColumnVarNameInTable="columnmodir" msprop:Generator_ColumnPropNameInRow="modir" msprop:Generator_ColumnPropNameInTable="modirColumn" msprop:Generator_UserColumnName="modir" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tell1" msprop:Generator_ColumnVarNameInTable="columntell1" msprop:Generator_ColumnPropNameInRow="tell1" msprop:Generator_ColumnPropNameInTable="tell1Column" msprop:Generator_UserColumnName="tell1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="tell2" msprop:Generator_ColumnVarNameInTable="columntell2" msprop:Generator_ColumnPropNameInRow="tell2" msprop:Generator_ColumnPropNameInTable="tell2Column" msprop:Generator_UserColumnName="tell2" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="address" msprop:Generator_ColumnVarNameInTable="columnaddress" msprop:Generator_ColumnPropNameInRow="address" msprop:Generator_ColumnPropNameInTable="addressColumn" msprop:Generator_UserColumnName="address" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="logo" msprop:Generator_ColumnVarNameInTable="columnlogo" msprop:Generator_ColumnPropNameInRow="logo" msprop:Generator_ColumnPropNameInTable="logoColumn" msprop:Generator_UserColumnName="logo" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tbl_ghaza" />
      <xs:field xpath="mstns:code" />
    </xs:unique>
    <xs:unique name="tbl_deser_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tbl_deser" />
      <xs:field xpath="mstns:code" />
    </xs:unique>
    <xs:unique name="tbl_factor_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tbl_factor" />
      <xs:field xpath="mstns:sh_factor" />
    </xs:unique>
    <xs:unique name="tbl_f_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:tbl_f" />
      <xs:field xpath="mstns:code" />
    </xs:unique>
    <xs:unique name="Constraint2">
      <xs:selector xpath=".//mstns:tbl_fa" />
      <xs:field xpath="mstns:code1" />
    </xs:unique>
  </xs:element>
</xs:schema>