<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AmozeshgahDataSet1" targetNamespace="http://tempuri.org/AmozeshgahDataSet1.xsd" xmlns:mstns="http://tempuri.org/AmozeshgahDataSet1.xsd" xmlns="http://tempuri.org/AmozeshgahDataSet1.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="AmozeshgahConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AmozeshgahConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Amozeshgah.Properties.Settings.GlobalReference.Default.AmozeshgahConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TeacherTableAdapter" GeneratorDataComponentClassName="TeacherTableAdapter" Name="Teacher" UserDataComponentName="TeacherTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Teacher" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT T_id, T_name, T_family, T_father,T_name + ' ' +T_family AS FullName, T_code, T_shomare_sh, T_birth, T_genus, T_email, T_tel, T_mobile, T_address, T_date, T_madrk FROM dbo.Teacher</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="T_id" DataSetColumn="کد پرسنلی" />
              <Mapping SourceColumn="T_name" DataSetColumn="نام" />
              <Mapping SourceColumn="T_family" DataSetColumn="نام خانوادگی" />
              <Mapping SourceColumn="T_father" DataSetColumn="نام پدر" />
              <Mapping SourceColumn="FullName" DataSetColumn="نام و نام خانوادگی" />
              <Mapping SourceColumn="T_code" DataSetColumn="کد ملی" />
              <Mapping SourceColumn="T_shomare_sh" DataSetColumn="شماره شناسنامه" />
              <Mapping SourceColumn="T_birth" DataSetColumn="تاریخ تولد" />
              <Mapping SourceColumn="T_genus" DataSetColumn="جنسیت" />
              <Mapping SourceColumn="T_email" DataSetColumn="ایمیل" />
              <Mapping SourceColumn="T_tel" DataSetColumn="تلفن" />
              <Mapping SourceColumn="T_mobile" DataSetColumn="موبایل" />
              <Mapping SourceColumn="T_address" DataSetColumn="آدرس" />
              <Mapping SourceColumn="T_date" DataSetColumn="تاریخ درج" />
              <Mapping SourceColumn="T_madrk" DataSetColumn="مدرک تحصیلی" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Teacher" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="SearchByFamily" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy2" GeneratorSourceName="SearchByFamily" GetMethodModifier="Public" GetMethodName="GetDataBy2" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="SearchByFamily">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT T_address, T_birth, T_code, T_date, T_email, T_family, T_father, T_genus, T_id, T_madrk, T_mobile, T_name, T_shomare_sh, T_tel FROM Teacher WHERE (T_family LIKE @Family)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Family" ColumnName="T_family" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Teacher" DataTypeServer="nvarchar(35)" DbType="String" Direction="Input" ParameterName="@Family" Precision="0" ProviderType="NVarChar" Scale="0" Size="35" SourceColumn="T_family" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Teacher" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="SearchById" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="SearchById" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="SearchById">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT T_address, T_birth, T_code, T_date, T_email, T_family, T_father, T_genus, T_id, T_madrk, T_mobile, T_name, T_shomare_sh, T_tel FROM Teacher WHERE (T_id = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="T_id" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Teacher" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="T_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Teacher" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="SearchByName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="SearchByName" GetMethodModifier="Public" GetMethodName="GetDataBy1" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="SearchByName">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT T_address, T_birth, T_code, T_date, T_email, T_family, T_father, T_genus, T_id, T_madrk, T_mobile, T_name, T_shomare_sh, T_tel FROM Teacher WHERE (T_name LIKE @name)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="name" ColumnName="T_name" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Teacher" DataTypeServer="nvarchar(35)" DbType="String" Direction="Input" ParameterName="@name" Precision="0" ProviderType="NVarChar" Scale="0" Size="35" SourceColumn="T_name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StudentTableAdapter" GeneratorDataComponentClassName="StudentTableAdapter" Name="Student" UserDataComponentName="StudentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Student" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Student] WHERE (([S_id] = @Original_S_id) AND ((@IsNull_S_name = 1 AND [S_name] IS NULL) OR ([S_name] = @Original_S_name)) AND ((@IsNull_S_family = 1 AND [S_family] IS NULL) OR ([S_family] = @Original_S_family)) AND ((@IsNull_S_father = 1 AND [S_father] IS NULL) OR ([S_father] = @Original_S_father)) AND ((@IsNull_S_birth = 1 AND [S_birth] IS NULL) OR ([S_birth] = @Original_S_birth)) AND ((@IsNull_S_code = 1 AND [S_code] IS NULL) OR ([S_code] = @Original_S_code)) AND ((@IsNull_S_email = 1 AND [S_email] IS NULL) OR ([S_email] = @Original_S_email)) AND ((@IsNull_S_mobile = 1 AND [S_mobile] IS NULL) OR ([S_mobile] = @Original_S_mobile)) AND ((@IsNull_S_address = 1 AND [S_address] IS NULL) OR ([S_address] = @Original_S_address)) AND ((@IsNull_S_genus = 1 AND [S_genus] IS NULL) OR ([S_genus] = @Original_S_genus)) AND ((@IsNull_S_shomare_sh = 1 AND [S_shomare_sh] IS NULL) OR ([S_shomare_sh] = @Original_S_shomare_sh)) AND ((@IsNull_S_tel = 1 AND [S_tel] IS NULL) OR ([S_tel] = @Original_S_tel)) AND ((@IsNull_S_date = 1 AND [S_date] IS NULL) OR ([S_date] = @Original_S_date)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_S_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_family" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_family" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_family" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_family" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_father" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_father" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_father" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_father" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_birth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_birth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_birth" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_birth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_code" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_code" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_email" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_mobile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_mobile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_mobile" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_genus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_genus" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_genus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_genus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_shomare_sh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_shomare_sh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_shomare_sh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_shomare_sh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_tel" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_tel" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_date" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_date" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_date" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Student] ([S_name], [S_family], [S_father], [S_birth], [S_code], [S_email], [S_mobile], [S_address], [S_genus], [S_shomare_sh], [S_tel], [S_date]) VALUES (@S_name, @S_family, @S_father, @S_birth, @S_code, @S_email, @S_mobile, @S_address, @S_genus, @S_shomare_sh, @S_tel, @S_date);
SELECT S_id, S_name, S_family, S_father, S_birth, S_code, S_email, S_mobile, S_address, S_genus, S_shomare_sh, S_tel, S_date FROM Student WHERE (S_id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_family" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_family" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_father" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_father" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_birth" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_birth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_genus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_genus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_shomare_sh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_shomare_sh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_tel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_date" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_date" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT S_id, S_name, S_family, S_father, S_birth, S_code, S_email, S_mobile, S_address, S_genus, S_shomare_sh, S_tel, S_date FROM dbo.Student</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Student] SET [S_name] = @S_name, [S_family] = @S_family, [S_father] = @S_father, [S_birth] = @S_birth, [S_code] = @S_code, [S_email] = @S_email, [S_mobile] = @S_mobile, [S_address] = @S_address, [S_genus] = @S_genus, [S_shomare_sh] = @S_shomare_sh, [S_tel] = @S_tel, [S_date] = @S_date WHERE (([S_id] = @Original_S_id) AND ((@IsNull_S_name = 1 AND [S_name] IS NULL) OR ([S_name] = @Original_S_name)) AND ((@IsNull_S_family = 1 AND [S_family] IS NULL) OR ([S_family] = @Original_S_family)) AND ((@IsNull_S_father = 1 AND [S_father] IS NULL) OR ([S_father] = @Original_S_father)) AND ((@IsNull_S_birth = 1 AND [S_birth] IS NULL) OR ([S_birth] = @Original_S_birth)) AND ((@IsNull_S_code = 1 AND [S_code] IS NULL) OR ([S_code] = @Original_S_code)) AND ((@IsNull_S_email = 1 AND [S_email] IS NULL) OR ([S_email] = @Original_S_email)) AND ((@IsNull_S_mobile = 1 AND [S_mobile] IS NULL) OR ([S_mobile] = @Original_S_mobile)) AND ((@IsNull_S_address = 1 AND [S_address] IS NULL) OR ([S_address] = @Original_S_address)) AND ((@IsNull_S_genus = 1 AND [S_genus] IS NULL) OR ([S_genus] = @Original_S_genus)) AND ((@IsNull_S_shomare_sh = 1 AND [S_shomare_sh] IS NULL) OR ([S_shomare_sh] = @Original_S_shomare_sh)) AND ((@IsNull_S_tel = 1 AND [S_tel] IS NULL) OR ([S_tel] = @Original_S_tel)) AND ((@IsNull_S_date = 1 AND [S_date] IS NULL) OR ([S_date] = @Original_S_date)));
SELECT S_id, S_name, S_family, S_father, S_birth, S_code, S_email, S_mobile, S_address, S_genus, S_shomare_sh, S_tel, S_date FROM Student WHERE (S_id = @S_id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_family" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_family" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_father" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_father" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_birth" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_birth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_code" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_genus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_genus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_shomare_sh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_shomare_sh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_tel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@S_date" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_S_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_family" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_family" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_family" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_family" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_father" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_father" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_father" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_father" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_birth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_birth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_birth" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_birth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_code" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_code" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_code" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_code" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_email" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_mobile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_mobile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_mobile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_mobile" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_genus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_genus" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_genus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_genus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_shomare_sh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_shomare_sh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_shomare_sh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_shomare_sh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_tel" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_tel" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_tel" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_tel" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_S_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="S_date" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_S_date" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="S_date" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="S_id" ColumnName="S_id" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@S_id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="S_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="S_id" DataSetColumn="شماره فراگیر" />
              <Mapping SourceColumn="S_name" DataSetColumn="نام " />
              <Mapping SourceColumn="S_family" DataSetColumn="نام خانوادگی" />
              <Mapping SourceColumn="S_father" DataSetColumn="نام پدر" />
              <Mapping SourceColumn="S_birth" DataSetColumn="تاریخ تولد" />
              <Mapping SourceColumn="S_code" DataSetColumn="کد ملی" />
              <Mapping SourceColumn="S_email" DataSetColumn="ایمیل" />
              <Mapping SourceColumn="S_mobile" DataSetColumn="موبایل" />
              <Mapping SourceColumn="S_address" DataSetColumn="آدرس" />
              <Mapping SourceColumn="S_genus" DataSetColumn="جنسیت" />
              <Mapping SourceColumn="S_shomare_sh" DataSetColumn="شماره شناسنامه" />
              <Mapping SourceColumn="S_tel" DataSetColumn="تلفن" />
              <Mapping SourceColumn="S_date" DataSetColumn="تاریخ ثبت نام" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Student" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="SearchByFamily" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy2" GeneratorSourceName="SearchByFamily" GetMethodModifier="Public" GetMethodName="GetDataBy2" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="SearchByFamily">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        S_id, S_name, S_family, S_father, S_birth, S_code, S_email, S_mobile, S_address, S_genus, S_shomare_sh, S_tel, S_date
FROM            Student
WHERE        (S_family LIKE @Name)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Name" ColumnName="S_family" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Student" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="S_family" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Student" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="SearchByID" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="SearchByID" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="SearchByID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        S_id, S_name, S_family, S_father, S_birth, S_code, S_email, S_mobile, S_address, S_genus, S_shomare_sh, S_tel, S_date
FROM            Student
WHERE        (S_id = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="S_id" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Student" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="S_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Student" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="SearchByName" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy1" GeneratorSourceName="SearchByName" GetMethodModifier="Public" GetMethodName="GetDataBy1" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="SearchByName">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        S_id, S_name, S_family, S_father, S_birth, S_code, S_email, S_mobile, S_address, S_genus, S_shomare_sh, S_tel, S_date
FROM            Student
WHERE        (S_name LIKE @Family)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Family" ColumnName="S_name" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Student" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Family" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="S_name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LessonTableAdapter" GeneratorDataComponentClassName="LessonTableAdapter" Name="Lesson" UserDataComponentName="LessonTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Lesson" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Lesson] WHERE (([L_id] = @Original_L_id) AND ((@IsNull_L_ttile = 1 AND [L_ttile] IS NULL) OR ([L_ttile] = @Original_L_ttile)) AND ((@IsNull_L_vahed = 1 AND [L_vahed] IS NULL) OR ([L_vahed] = @Original_L_vahed)) AND ((@IsNull_L_sharyeh = 1 AND [L_sharyeh] IS NULL) OR ([L_sharyeh] = @Original_L_sharyeh)) AND ((@IsNull_L_kind = 1 AND [L_kind] IS NULL) OR ([L_kind] = @Original_L_kind)) AND ((@IsNull_L_duration = 1 AND [L_duration] IS NULL) OR ([L_duration] = @Original_L_duration)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_L_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_ttile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_ttile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_ttile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_ttile" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_vahed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_vahed" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_vahed" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_vahed" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_sharyeh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_sharyeh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_sharyeh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_sharyeh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_kind" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_kind" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_kind" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_kind" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_duration" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_duration" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_duration" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_duration" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Lesson] ([L_ttile], [L_vahed], [L_sharyeh], [L_kind], [L_duration]) VALUES (@L_ttile, @L_vahed, @L_sharyeh, @L_kind, @L_duration);
SELECT L_id, L_ttile, L_vahed, L_sharyeh, L_kind, L_duration FROM Lesson WHERE (L_id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_ttile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_ttile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_vahed" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_vahed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_sharyeh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_sharyeh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_kind" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_kind" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_duration" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_duration" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT L_id, L_ttile, L_vahed, L_sharyeh, L_kind, L_duration FROM dbo.Lesson</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Lesson] SET [L_ttile] = @L_ttile, [L_vahed] = @L_vahed, [L_sharyeh] = @L_sharyeh, [L_kind] = @L_kind, [L_duration] = @L_duration WHERE (([L_id] = @Original_L_id) AND ((@IsNull_L_ttile = 1 AND [L_ttile] IS NULL) OR ([L_ttile] = @Original_L_ttile)) AND ((@IsNull_L_vahed = 1 AND [L_vahed] IS NULL) OR ([L_vahed] = @Original_L_vahed)) AND ((@IsNull_L_sharyeh = 1 AND [L_sharyeh] IS NULL) OR ([L_sharyeh] = @Original_L_sharyeh)) AND ((@IsNull_L_kind = 1 AND [L_kind] IS NULL) OR ([L_kind] = @Original_L_kind)) AND ((@IsNull_L_duration = 1 AND [L_duration] IS NULL) OR ([L_duration] = @Original_L_duration)));
SELECT L_id, L_ttile, L_vahed, L_sharyeh, L_kind, L_duration FROM Lesson WHERE (L_id = @L_id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_ttile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_ttile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_vahed" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_vahed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_sharyeh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_sharyeh" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_kind" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_kind" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@L_duration" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_duration" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_L_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_ttile" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_ttile" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_ttile" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_ttile" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_vahed" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_vahed" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_vahed" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_vahed" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_sharyeh" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_sharyeh" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_sharyeh" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_sharyeh" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_kind" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_kind" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_kind" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_kind" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_L_duration" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="L_duration" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_L_duration" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="L_duration" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="L_id" ColumnName="L_id" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@L_id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="L_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="L_id" DataSetColumn="کد درس" />
              <Mapping SourceColumn="L_ttile" DataSetColumn="عنوان درس" />
              <Mapping SourceColumn="L_vahed" DataSetColumn="تعداد واحد" />
              <Mapping SourceColumn="L_sharyeh" DataSetColumn="شهریه" />
              <Mapping SourceColumn="L_kind" DataSetColumn="نوع درس" />
              <Mapping SourceColumn="L_duration" DataSetColumn="تعداد ساعات" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TermTableAdapter" GeneratorDataComponentClassName="TermTableAdapter" Name="Term" UserDataComponentName="TermTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Term" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Term] WHERE (([Trm_id] = @Original_Trm_id) AND ((@IsNull_Trm_title = 1 AND [Trm_title] IS NULL) OR ([Trm_title] = @Original_Trm_title)) AND ((@IsNull_Trm_start = 1 AND [Trm_start] IS NULL) OR ([Trm_start] = @Original_Trm_start)) AND ((@IsNull_Trm_end = 1 AND [Trm_end] IS NULL) OR ([Trm_end] = @Original_Trm_end)) AND ((@IsNull_Trm_year = 1 AND [Trm_year] IS NULL) OR ([Trm_year] = @Original_Trm_year)) AND ((@IsNull_Trm_month = 1 AND [Trm_month] IS NULL) OR ([Trm_month] = @Original_Trm_month)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Trm_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_title" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_start" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_start" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_start" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_start" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_end" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_end" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_end" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_end" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_year" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_year" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_year" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_year" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_month" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_month" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_month" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_month" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Term] ([Trm_title], [Trm_start], [Trm_end], [Trm_year], [Trm_month]) VALUES (@Trm_title, @Trm_start, @Trm_end, @Trm_year, @Trm_month);
SELECT Trm_id, Trm_title, Trm_start, Trm_end, Trm_year, Trm_month FROM Term WHERE (Trm_id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_start" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_start" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_end" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_end" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_year" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_year" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_month" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_month" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Trm_id, Trm_title, Trm_start, Trm_end, Trm_year, Trm_month FROM dbo.Term</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Term] SET [Trm_title] = @Trm_title, [Trm_start] = @Trm_start, [Trm_end] = @Trm_end, [Trm_year] = @Trm_year, [Trm_month] = @Trm_month WHERE (([Trm_id] = @Original_Trm_id) AND ((@IsNull_Trm_title = 1 AND [Trm_title] IS NULL) OR ([Trm_title] = @Original_Trm_title)) AND ((@IsNull_Trm_start = 1 AND [Trm_start] IS NULL) OR ([Trm_start] = @Original_Trm_start)) AND ((@IsNull_Trm_end = 1 AND [Trm_end] IS NULL) OR ([Trm_end] = @Original_Trm_end)) AND ((@IsNull_Trm_year = 1 AND [Trm_year] IS NULL) OR ([Trm_year] = @Original_Trm_year)) AND ((@IsNull_Trm_month = 1 AND [Trm_month] IS NULL) OR ([Trm_month] = @Original_Trm_month)));
SELECT Trm_id, Trm_title, Trm_start, Trm_end, Trm_year, Trm_month FROM Term WHERE (Trm_id = @Trm_id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_start" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_start" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_end" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_end" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_year" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_year" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Trm_month" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_month" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Trm_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_title" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_start" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_start" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_start" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_start" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_end" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_end" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_end" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_end" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_year" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_year" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_year" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_year" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Trm_month" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Trm_month" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Trm_month" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Trm_month" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Trm_id" ColumnName="Trm_id" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Trm_id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Trm_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Trm_id" DataSetColumn="کد ترم" />
              <Mapping SourceColumn="Trm_title" DataSetColumn="عنوان ترم" />
              <Mapping SourceColumn="Trm_start" DataSetColumn="تاریخ شروع ترم " />
              <Mapping SourceColumn="Trm_end" DataSetColumn="تاریخ پایان ترم" />
              <Mapping SourceColumn="Trm_year" DataSetColumn="سال " />
              <Mapping SourceColumn="Trm_month" DataSetColumn="ماه" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ClassTableAdapter" GeneratorDataComponentClassName="ClassTableAdapter" Name="Class" UserDataComponentName="ClassTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Class" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Class] WHERE (([C_id] = @Original_C_id) AND ((@IsNull_C_title = 1 AND [C_title] IS NULL) OR ([C_title] = @Original_C_title)) AND ((@IsNull_C_capacity = 1 AND [C_capacity] IS NULL) OR ([C_capacity] = @Original_C_capacity)) AND ((@IsNull_C_genus = 1 AND [C_genus] IS NULL) OR ([C_genus] = @Original_C_genus)) AND ((@IsNull_C_des = 1 AND [C_des] IS NULL) OR ([C_des] = @Original_C_des)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_C_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_title" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_C_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C_capacity" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_capacity" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_C_capacity" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_capacity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C_genus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_genus" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_C_genus" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="C_genus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C_des" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_des" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_C_des" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_des" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Class] ([C_title], [C_capacity], [C_genus], [C_des]) VALUES (@C_title, @C_capacity, @C_genus, @C_des);
SELECT C_id, C_title, C_capacity, C_genus, C_des FROM Class WHERE (C_id = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@C_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@C_capacity" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_capacity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@C_genus" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="C_genus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@C_des" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_des" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT C_id, C_title, C_capacity, C_genus, C_des FROM dbo.Class</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Class] SET [C_title] = @C_title, [C_capacity] = @C_capacity, [C_genus] = @C_genus, [C_des] = @C_des WHERE (([C_id] = @Original_C_id) AND ((@IsNull_C_title = 1 AND [C_title] IS NULL) OR ([C_title] = @Original_C_title)) AND ((@IsNull_C_capacity = 1 AND [C_capacity] IS NULL) OR ([C_capacity] = @Original_C_capacity)) AND ((@IsNull_C_genus = 1 AND [C_genus] IS NULL) OR ([C_genus] = @Original_C_genus)) AND ((@IsNull_C_des = 1 AND [C_des] IS NULL) OR ([C_des] = @Original_C_des)));
SELECT C_id, C_title, C_capacity, C_genus, C_des FROM Class WHERE (C_id = @C_id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@C_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@C_capacity" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_capacity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@C_genus" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="C_genus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@C_des" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_des" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_C_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_title" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_C_title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C_capacity" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_capacity" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_C_capacity" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_capacity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C_genus" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_genus" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_C_genus" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="C_genus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_C_des" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="C_des" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_C_des" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="C_des" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="C_id" ColumnName="C_id" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@C_id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="C_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="C_id" DataSetColumn="کد کلاس" />
              <Mapping SourceColumn="C_title" DataSetColumn="عنوان کلاس" />
              <Mapping SourceColumn="C_capacity" DataSetColumn="ظرفیت" />
              <Mapping SourceColumn="C_genus" DataSetColumn="جنسیت" />
              <Mapping SourceColumn="C_des" DataSetColumn="توضیحات" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TimeTableAdapter" GeneratorDataComponentClassName="TimeTableAdapter" Name="Time" UserDataComponentName="TimeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Time" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Time] WHERE (([ID] = @Original_ID) AND ((@IsNull_Time_start = 1 AND [Time_start] IS NULL) OR ([Time_start] = @Original_Time_start)) AND ((@IsNull_Time_end = 1 AND [Time_end] IS NULL) OR ([Time_end] = @Original_Time_end)) AND ((@IsNull_Time_week_day = 1 AND [Time_week_day] IS NULL) OR ([Time_week_day] = @Original_Time_week_day)) AND ((@IsNull_Time_des = 1 AND [Time_des] IS NULL) OR ([Time_des] = @Original_Time_des)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Time_start" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Time_start" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Time_start" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_start" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Time_end" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Time_end" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Time_end" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_end" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Time_week_day" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Time_week_day" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Time_week_day" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Time_week_day" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Time_des" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Time_des" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Time_des" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_des" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Time] ([Time_start], [Time_end], [Time_week_day], [Time_des]) VALUES (@Time_start, @Time_end, @Time_week_day, @Time_des);
SELECT ID, Time_start, Time_end, Time_week_day, Time_des FROM Time WHERE (ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Time_start" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_start" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Time_end" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_end" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Time_week_day" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Time_week_day" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Time_des" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_des" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ID, Time_start, Time_end, Time_week_day, Time_des FROM dbo.Time</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Time] SET [Time_start] = @Time_start, [Time_end] = @Time_end, [Time_week_day] = @Time_week_day, [Time_des] = @Time_des WHERE (([ID] = @Original_ID) AND ((@IsNull_Time_start = 1 AND [Time_start] IS NULL) OR ([Time_start] = @Original_Time_start)) AND ((@IsNull_Time_end = 1 AND [Time_end] IS NULL) OR ([Time_end] = @Original_Time_end)) AND ((@IsNull_Time_week_day = 1 AND [Time_week_day] IS NULL) OR ([Time_week_day] = @Original_Time_week_day)) AND ((@IsNull_Time_des = 1 AND [Time_des] IS NULL) OR ([Time_des] = @Original_Time_des)));
SELECT ID, Time_start, Time_end, Time_week_day, Time_des FROM Time WHERE (ID = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Time_start" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_start" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Time_end" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_end" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Time_week_day" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Time_week_day" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Time_des" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_des" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Time_start" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Time_start" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Time_start" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_start" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Time_end" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Time_end" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Time_end" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_end" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Time_week_day" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Time_week_day" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Time_week_day" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Time_week_day" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Time_des" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Time_des" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Time_des" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Time_des" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="کد" />
              <Mapping SourceColumn="Time_start" DataSetColumn="ساعت شروع" />
              <Mapping SourceColumn="Time_end" DataSetColumn="ساعت پایان" />
              <Mapping SourceColumn="Time_week_day" DataSetColumn="روز تشکیل" />
              <Mapping SourceColumn="Time_des" DataSetColumn="توضیحات" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Unit SelectTableAdapter" GeneratorDataComponentClassName="Unit_SelectTableAdapter" Name="Unit Select" UserDataComponentName="Unit SelectTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        [Unit Select].ID, [Unit Select].Course, [Unit Select].Users, [Unit Select].student, Lesson.L_ttile, Teacher.T_name + ' ' + Teacher.T_family AS FullNameStu, 
                         Term.Trm_title, Class.C_title, Time.Time_week_day + ' ' + Time.Time_start + '- ' + Time.Time_end AS Times, 
                         Teacher.T_name + ' ' + Teacher.T_family AS FullNameTea
FROM            [Unit Select] INNER JOIN
                         Course ON [Unit Select].Course = Course.Crs_id INNER JOIN
                         Class ON Course.C_id = Class.C_id INNER JOIN
                         Lesson ON Course.L_id = Lesson.L_id INNER JOIN
                         Teacher ON Course.T_id = Teacher.T_id INNER JOIN
                         Term ON Course.Trm_id = Term.Trm_id INNER JOIN
                         Time ON Course.Time = Time.ID</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="کد فراگیر" />
              <Mapping SourceColumn="Course" DataSetColumn="Course" />
              <Mapping SourceColumn="Users" DataSetColumn="Users" />
              <Mapping SourceColumn="student" DataSetColumn="student" />
              <Mapping SourceColumn="L_ttile" DataSetColumn="عنوان سرفصل " />
              <Mapping SourceColumn="FullNameStu" DataSetColumn="نام و نام خانوادگی فراگیر" />
              <Mapping SourceColumn="Trm_title" DataSetColumn="ترم" />
              <Mapping SourceColumn="C_title" DataSetColumn="کلاس" />
              <Mapping SourceColumn="Times" DataSetColumn="زمان برگزاری" />
              <Mapping SourceColumn="FullNameTea" DataSetColumn="نام و نام خانوادگی مدرس" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="New" Modifier="Public" Name="New" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="New">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [Unit Select]
                         (Course, Users, student)
VALUES        (@Course,@users,@student)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Course" ColumnName="Course" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.[Unit Select]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Course" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Course" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="users" ColumnName="Users" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.[Unit Select]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@users" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Users" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="student" ColumnName="student" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.[Unit Select]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@student" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="student" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Select_Unit" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="Select_Unit" GetMethodModifier="Public" GetMethodName="GetDataBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="Select_Unit">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        [Unit Select].ID, Term.Trm_title, Teacher.T_name + ' ' + Teacher.T_family AS Fullname, Lesson.L_ttile, Class.C_title, 
                         Time.Time_week_day + ' ' + Time.Time_start + '-' + Time.Time_end AS Times, [Unit Select].Course, [Unit Select].student
FROM            [Unit Select] INNER JOIN
                         Course ON [Unit Select].Course = Course.Crs_id INNER JOIN
                         Class ON Course.C_id = Class.C_id INNER JOIN
                         Lesson ON Course.L_id = Lesson.L_id INNER JOIN
                         Teacher ON Course.T_id = Teacher.T_id INNER JOIN
                         Term ON Course.Trm_id = Term.Trm_id INNER JOIN
                         Time ON Course.Time = Time.ID
WHERE        ([Unit Select].student = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="ID" ColumnName="student" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.[Unit Select]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="student" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Users] WHERE (([ID] = @Original_ID) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_family = 1 AND [family] IS NULL) OR ([family] = @Original_family)) AND ((@IsNull_UserName = 1 AND [UserName] IS NULL) OR ([UserName] = @Original_UserName)) AND ((@IsNull_pass = 1 AND [pass] IS NULL) OR ([pass] = @Original_pass)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_family" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="family" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_family" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="family" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UserName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pass" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_pass" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Users] ([name], [family], [UserName], [pass]) VALUES (@name, @family, @UserName, @pass);
SELECT ID, name, family, UserName, pass FROM Users WHERE (ID = SCOPE_IDENTITY())</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="@family" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="family" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pass" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ID, name, family, UserName, pass FROM dbo.Users</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Users] SET [name] = @name, [family] = @family, [UserName] = @UserName, [pass] = @pass WHERE (([ID] = @Original_ID) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_family = 1 AND [family] IS NULL) OR ([family] = @Original_family)) AND ((@IsNull_UserName = 1 AND [UserName] IS NULL) OR ([UserName] = @Original_UserName)) AND ((@IsNull_pass = 1 AND [pass] IS NULL) OR ([pass] = @Original_pass)));
SELECT ID, name, family, UserName, pass FROM Users WHERE (ID = @ID)</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="@family" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="family" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@pass" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_family" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="family" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_family" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="family" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UserName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pass" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_pass" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="pass" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="کد" />
              <Mapping SourceColumn="name" DataSetColumn="نام" />
              <Mapping SourceColumn="family" DataSetColumn="نام خانوادگی" />
              <Mapping SourceColumn="UserName" DataSetColumn="نام کاربری" />
              <Mapping SourceColumn="pass" DataSetColumn="کلمه عبور" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CourseTableAdapter" GeneratorDataComponentClassName="CourseTableAdapter" Name="Course" UserDataComponentName="CourseTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Course.Crs_id, Course.T_id, Course.Trm_id, Course.L_id, Course.C_id, Course.Time, Lesson.L_ttile, Term.Trm_title, 
                         Teacher.T_name + ' ' + Teacher.T_family AS FullName, Class.C_title, Time.Time_week_day + ' ' + Time.Time_start + ' -  ' + Time.Time_end AS Times
FROM            Course INNER JOIN
                         Class ON Course.C_id = Class.C_id INNER JOIN
                         Lesson ON Course.L_id = Lesson.L_id INNER JOIN
                         Teacher ON Course.T_id = Teacher.T_id INNER JOIN
                         Term ON Course.Trm_id = Term.Trm_id INNER JOIN
                         Time ON Course.Time = Time.ID</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Crs_id" DataSetColumn="کد دوره" />
              <Mapping SourceColumn="T_id" DataSetColumn="کد مدرس" />
              <Mapping SourceColumn="Trm_id" DataSetColumn="کد ترم" />
              <Mapping SourceColumn="L_id" DataSetColumn="کد درس" />
              <Mapping SourceColumn="C_id" DataSetColumn="کد کلاس" />
              <Mapping SourceColumn="Time" DataSetColumn="کد زمان" />
              <Mapping SourceColumn="L_ttile" DataSetColumn="عنوان سرفصل" />
              <Mapping SourceColumn="FullName" DataSetColumn="نام و نام خانوادگی مدرس" />
              <Mapping SourceColumn="C_title" DataSetColumn="کلاس" />
              <Mapping SourceColumn="Trm_title" DataSetColumn="ترم" />
              <Mapping SourceColumn="Times" DataSetColumn="زمان برگزاری" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="Delete1" Modifier="Public" Name="Delete1" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="Delete1">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM Course
WHERE        (Crs_id = @ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="Crs_id" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Course" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Crs_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="New" Modifier="Public" Name="New" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="New">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO Course
                         (T_id, Trm_id, L_id, C_id, Time)
VALUES        (@Teacher,@Term,@Lesson,@Class,@Time)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Teacher" ColumnName="T_id" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Course" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Teacher" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="T_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Term" ColumnName="Trm_id" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Course" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Term" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Trm_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Lesson" ColumnName="L_id" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Course" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Lesson" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="L_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Class" ColumnName="C_id" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Course" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Class" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="C_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="Time" ColumnName="Time" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Course" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Time" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Time" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="SearchByTeacher" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy2" GeneratorSourceName="SearchByTeacher" GetMethodModifier="Public" GetMethodName="GetDataBy2" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="SearchByTeacher">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Course.Crs_id, Course.T_id, Course.Trm_id, Course.L_id, Course.C_id, Course.Time, Lesson.L_ttile, Term.Trm_title, 
                         Teacher.T_name + ' ' + Teacher.T_family AS FullName, Class.C_title, Time.Time_week_day + ' ' + Time.Time_start + ' -  ' + Time.Time_end AS Times
FROM            Course INNER JOIN
                         Class ON Course.C_id = Class.C_id INNER JOIN
                         Lesson ON Course.L_id = Lesson.L_id INNER JOIN
                         Teacher ON Course.T_id = Teacher.T_id INNER JOIN
                         Term ON Course.Trm_id = Term.Trm_id INNER JOIN
                         Time ON Course.Time = Time.ID
WHERE        (Teacher.T_name + ' ' + Teacher.T_family LIKE @Teacher)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Teacher" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="String" Direction="Input" ParameterName="@Teacher" Precision="0" Scale="0" Size="1024" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AmozeshgahConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="SearchByTerm" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy3" GeneratorSourceName="SearchByTerm" GetMethodModifier="Public" GetMethodName="GetDataBy3" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="SearchByTerm">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Course.Crs_id, Course.T_id, Course.Trm_id, Course.L_id, Course.C_id, Course.Time, Lesson.L_ttile, Term.Trm_title, 
                         Teacher.T_name + ' ' + Teacher.T_family AS FullName, Class.C_title, Time.Time_week_day + ' ' + Time.Time_start + ' -  ' + Time.Time_end AS Times
FROM            Course INNER JOIN
                         Class ON Course.C_id = Class.C_id INNER JOIN
                         Lesson ON Course.L_id = Lesson.L_id INNER JOIN
                         Teacher ON Course.T_id = Teacher.T_id INNER JOIN
                         Term ON Course.Trm_id = Term.Trm_id INNER JOIN
                         Time ON Course.Time = Time.ID
WHERE        (Term.Trm_title LIKE @Term)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Term" ColumnName="Trm_title" DataSourceName="[H:\MY PROJECTS\C#\AMOZESHGAH 1.1\AMOZESHGAH\AMOZESHGAH\AMOZESHGAH.MDF].dbo.Term" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@Term" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="Trm_title" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="AmozeshgahDataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="AmozeshgahDataSet1" msprop:Generator_UserDSName="AmozeshgahDataSet1">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Teacher" msprop:Generator_TableClassName="TeacherDataTable" msprop:Generator_TableVarName="tableTeacher" msprop:Generator_TablePropName="Teacher" msprop:Generator_RowDeletingName="TeacherRowDeleting" msprop:Generator_UserTableName="Teacher" msprop:Generator_RowChangingName="TeacherRowChanging" msprop:Generator_RowEvHandlerName="TeacherRowChangeEventHandler" msprop:Generator_RowDeletedName="TeacherRowDeleted" msprop:Generator_RowEvArgName="TeacherRowChangeEvent" msprop:Generator_RowChangedName="TeacherRowChanged" msprop:Generator_RowClassName="TeacherRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="کد_x0020_پرسنلی" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msdata:Caption="T_id" msprop:Generator_ColumnVarNameInTable="columnکد_پرسنلی" msprop:Generator_ColumnPropNameInRow="کد_پرسنلی" msprop:Generator_ColumnPropNameInTable="کد_پرسنلیColumn" msprop:Generator_UserColumnName="کد پرسنلی" type="xs:int" />
              <xs:element name="نام" msdata:Caption="T_name" msprop:Generator_ColumnVarNameInTable="columnنام" msprop:Generator_ColumnPropNameInRow="نام" msprop:Generator_ColumnPropNameInTable="نامColumn" msprop:Generator_UserColumnName="نام" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="35" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_خانوادگی" msdata:Caption="T_family" msprop:Generator_ColumnVarNameInTable="columnنام_خانوادگی" msprop:Generator_ColumnPropNameInRow="نام_خانوادگی" msprop:Generator_ColumnPropNameInTable="نام_خانوادگیColumn" msprop:Generator_UserColumnName="نام خانوادگی" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="35" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_پدر" msdata:Caption="T_father" msprop:Generator_ColumnVarNameInTable="columnنام_پدر" msprop:Generator_ColumnPropNameInRow="نام_پدر" msprop:Generator_ColumnPropNameInTable="نام_پدرColumn" msprop:Generator_UserColumnName="نام پدر" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="35" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_و_x0020_نام_x0020_خانوادگی" msdata:ReadOnly="true" msdata:Caption="FullName" msprop:Generator_ColumnVarNameInTable="columnنام_و_نام_خانوادگی" msprop:Generator_ColumnPropNameInRow="نام_و_نام_خانوادگی" msprop:Generator_ColumnPropNameInTable="نام_و_نام_خانوادگیColumn" msprop:Generator_UserColumnName="نام و نام خانوادگی" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="71" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="کد_x0020_ملی" msdata:Caption="T_code" msprop:Generator_ColumnVarNameInTable="columnکد_ملی" msprop:Generator_ColumnPropNameInRow="کد_ملی" msprop:Generator_ColumnPropNameInTable="کد_ملیColumn" msprop:Generator_UserColumnName="کد ملی" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="شماره_x0020_شناسنامه" msdata:Caption="T_shomare_sh" msprop:Generator_ColumnVarNameInTable="columnشماره_شناسنامه" msprop:Generator_ColumnPropNameInRow="شماره_شناسنامه" msprop:Generator_ColumnPropNameInTable="شماره_شناسنامهColumn" msprop:Generator_UserColumnName="شماره شناسنامه" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تاریخ_x0020_تولد" msdata:Caption="T_birth" msprop:Generator_ColumnVarNameInTable="columnتاریخ_تولد" msprop:Generator_ColumnPropNameInRow="تاریخ_تولد" msprop:Generator_ColumnPropNameInTable="تاریخ_تولدColumn" msprop:Generator_UserColumnName="تاریخ تولد" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="جنسیت" msdata:Caption="T_genus" msprop:Generator_ColumnVarNameInTable="columnجنسیت" msprop:Generator_ColumnPropNameInRow="جنسیت" msprop:Generator_ColumnPropNameInTable="جنسیتColumn" msprop:Generator_UserColumnName="جنسیت" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ایمیل" msdata:Caption="T_email" msprop:Generator_ColumnVarNameInTable="columnایمیل" msprop:Generator_ColumnPropNameInRow="ایمیل" msprop:Generator_ColumnPropNameInTable="ایمیلColumn" msprop:Generator_UserColumnName="ایمیل" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تلفن" msdata:Caption="T_tel" msprop:Generator_ColumnVarNameInTable="columnتلفن" msprop:Generator_ColumnPropNameInRow="تلفن" msprop:Generator_ColumnPropNameInTable="تلفنColumn" msprop:Generator_UserColumnName="تلفن" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="موبایل" msdata:Caption="T_mobile" msprop:Generator_ColumnVarNameInTable="columnموبایل" msprop:Generator_ColumnPropNameInRow="موبایل" msprop:Generator_ColumnPropNameInTable="موبایلColumn" msprop:Generator_UserColumnName="موبایل" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="آدرس" msdata:Caption="T_address" msprop:Generator_ColumnVarNameInTable="columnآدرس" msprop:Generator_ColumnPropNameInRow="آدرس" msprop:Generator_ColumnPropNameInTable="آدرسColumn" msprop:Generator_UserColumnName="آدرس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تاریخ_x0020_درج" msdata:Caption="T_date" msprop:Generator_ColumnVarNameInTable="columnتاریخ_درج" msprop:Generator_ColumnPropNameInRow="تاریخ_درج" msprop:Generator_ColumnPropNameInTable="تاریخ_درجColumn" msprop:Generator_UserColumnName="تاریخ درج" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="مدرک_x0020_تحصیلی" msdata:Caption="T_madrk" msprop:Generator_ColumnVarNameInTable="columnمدرک_تحصیلی" msprop:Generator_ColumnPropNameInRow="مدرک_تحصیلی" msprop:Generator_ColumnPropNameInTable="مدرک_تحصیلیColumn" msprop:Generator_UserColumnName="مدرک تحصیلی" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="35" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Student" msprop:Generator_TableClassName="StudentDataTable" msprop:Generator_TableVarName="tableStudent" msprop:Generator_TablePropName="Student" msprop:Generator_RowDeletingName="StudentRowDeleting" msprop:Generator_UserTableName="Student" msprop:Generator_RowChangingName="StudentRowChanging" msprop:Generator_RowEvHandlerName="StudentRowChangeEventHandler" msprop:Generator_RowDeletedName="StudentRowDeleted" msprop:Generator_RowEvArgName="StudentRowChangeEvent" msprop:Generator_RowChangedName="StudentRowChanged" msprop:Generator_RowClassName="StudentRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="شماره_x0020_فراگیر" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msdata:Caption="S_id" msprop:Generator_ColumnVarNameInTable="columnشماره_فراگیر" msprop:Generator_ColumnPropNameInRow="شماره_فراگیر" msprop:Generator_ColumnPropNameInTable="شماره_فراگیرColumn" msprop:Generator_UserColumnName="شماره فراگیر" type="xs:int" />
              <xs:element name="نام_x0020_" msdata:Caption="S_name" msprop:Generator_ColumnVarNameInTable="columnنام_" msprop:Generator_ColumnPropNameInRow="نام_" msprop:Generator_ColumnPropNameInTable="نام_Column" msprop:Generator_UserColumnName="نام " minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_خانوادگی" msdata:Caption="S_family" msprop:Generator_ColumnVarNameInTable="columnنام_خانوادگی" msprop:Generator_ColumnPropNameInRow="نام_خانوادگی" msprop:Generator_ColumnPropNameInTable="نام_خانوادگیColumn" msprop:Generator_UserColumnName="نام خانوادگی" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_پدر" msdata:Caption="S_father" msprop:Generator_ColumnVarNameInTable="columnنام_پدر" msprop:Generator_ColumnPropNameInRow="نام_پدر" msprop:Generator_ColumnPropNameInTable="نام_پدرColumn" msprop:Generator_UserColumnName="نام پدر" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تاریخ_x0020_تولد" msdata:Caption="S_birth" msprop:Generator_ColumnVarNameInTable="columnتاریخ_تولد" msprop:Generator_ColumnPropNameInRow="تاریخ_تولد" msprop:Generator_ColumnPropNameInTable="تاریخ_تولدColumn" msprop:Generator_UserColumnName="تاریخ تولد" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="کد_x0020_ملی" msdata:Caption="S_code" msprop:Generator_ColumnVarNameInTable="columnکد_ملی" msprop:Generator_ColumnPropNameInRow="کد_ملی" msprop:Generator_ColumnPropNameInTable="کد_ملیColumn" msprop:Generator_UserColumnName="کد ملی" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ایمیل" msdata:Caption="S_email" msprop:Generator_ColumnVarNameInTable="columnایمیل" msprop:Generator_ColumnPropNameInRow="ایمیل" msprop:Generator_ColumnPropNameInTable="ایمیلColumn" msprop:Generator_UserColumnName="ایمیل" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="موبایل" msdata:Caption="S_mobile" msprop:Generator_ColumnVarNameInTable="columnموبایل" msprop:Generator_ColumnPropNameInRow="موبایل" msprop:Generator_ColumnPropNameInTable="موبایلColumn" msprop:Generator_UserColumnName="موبایل" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="آدرس" msdata:Caption="S_address" msprop:Generator_ColumnVarNameInTable="columnآدرس" msprop:Generator_ColumnPropNameInRow="آدرس" msprop:Generator_ColumnPropNameInTable="آدرسColumn" msprop:Generator_UserColumnName="آدرس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="جنسیت" msdata:Caption="S_genus" msprop:Generator_ColumnVarNameInTable="columnجنسیت" msprop:Generator_ColumnPropNameInRow="جنسیت" msprop:Generator_ColumnPropNameInTable="جنسیتColumn" msprop:Generator_UserColumnName="جنسیت" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="شماره_x0020_شناسنامه" msdata:Caption="S_shomare_sh" msprop:Generator_ColumnVarNameInTable="columnشماره_شناسنامه" msprop:Generator_ColumnPropNameInRow="شماره_شناسنامه" msprop:Generator_ColumnPropNameInTable="شماره_شناسنامهColumn" msprop:Generator_UserColumnName="شماره شناسنامه" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تلفن" msdata:Caption="S_tel" msprop:Generator_ColumnVarNameInTable="columnتلفن" msprop:Generator_ColumnPropNameInRow="تلفن" msprop:Generator_ColumnPropNameInTable="تلفنColumn" msprop:Generator_UserColumnName="تلفن" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تاریخ_x0020_ثبت_x0020_نام" msdata:Caption="S_date" msprop:Generator_ColumnVarNameInTable="columnتاریخ_ثبت_نام" msprop:Generator_ColumnPropNameInRow="تاریخ_ثبت_نام" msprop:Generator_ColumnPropNameInTable="تاریخ_ثبت_نامColumn" msprop:Generator_UserColumnName="تاریخ ثبت نام" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Lesson" msprop:Generator_TableClassName="LessonDataTable" msprop:Generator_TableVarName="tableLesson" msprop:Generator_TablePropName="Lesson" msprop:Generator_RowDeletingName="LessonRowDeleting" msprop:Generator_UserTableName="Lesson" msprop:Generator_RowChangingName="LessonRowChanging" msprop:Generator_RowEvHandlerName="LessonRowChangeEventHandler" msprop:Generator_RowDeletedName="LessonRowDeleted" msprop:Generator_RowEvArgName="LessonRowChangeEvent" msprop:Generator_RowChangedName="LessonRowChanged" msprop:Generator_RowClassName="LessonRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="کد_x0020_درس" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msdata:Caption="L_id" msprop:Generator_ColumnVarNameInTable="columnکد_درس" msprop:Generator_ColumnPropNameInRow="کد_درس" msprop:Generator_ColumnPropNameInTable="کد_درسColumn" msprop:Generator_UserColumnName="کد درس" type="xs:int" />
              <xs:element name="عنوان_x0020_درس" msdata:Caption="L_ttile" msprop:Generator_ColumnVarNameInTable="columnعنوان_درس" msprop:Generator_ColumnPropNameInRow="عنوان_درس" msprop:Generator_ColumnPropNameInTable="عنوان_درسColumn" msprop:Generator_UserColumnName="عنوان درس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تعداد_x0020_واحد" msdata:Caption="L_vahed" msprop:Generator_ColumnVarNameInTable="columnتعداد_واحد" msprop:Generator_ColumnPropNameInRow="تعداد_واحد" msprop:Generator_ColumnPropNameInTable="تعداد_واحدColumn" msprop:Generator_UserColumnName="تعداد واحد" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="شهریه" msdata:Caption="L_sharyeh" msprop:Generator_ColumnVarNameInTable="columnشهریه" msprop:Generator_ColumnPropNameInRow="شهریه" msprop:Generator_ColumnPropNameInTable="شهریهColumn" msprop:Generator_UserColumnName="شهریه" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نوع_x0020_درس" msdata:Caption="L_kind" msprop:Generator_ColumnVarNameInTable="columnنوع_درس" msprop:Generator_ColumnPropNameInRow="نوع_درس" msprop:Generator_ColumnPropNameInTable="نوع_درسColumn" msprop:Generator_UserColumnName="نوع درس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تعداد_x0020_ساعات" msdata:Caption="L_duration" msprop:Generator_ColumnVarNameInTable="columnتعداد_ساعات" msprop:Generator_ColumnPropNameInRow="تعداد_ساعات" msprop:Generator_ColumnPropNameInTable="تعداد_ساعاتColumn" msprop:Generator_UserColumnName="تعداد ساعات" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Term" msprop:Generator_TableClassName="TermDataTable" msprop:Generator_TableVarName="tableTerm" msprop:Generator_TablePropName="Term" msprop:Generator_RowDeletingName="TermRowDeleting" msprop:Generator_UserTableName="Term" msprop:Generator_RowChangingName="TermRowChanging" msprop:Generator_RowEvHandlerName="TermRowChangeEventHandler" msprop:Generator_RowDeletedName="TermRowDeleted" msprop:Generator_RowEvArgName="TermRowChangeEvent" msprop:Generator_RowChangedName="TermRowChanged" msprop:Generator_RowClassName="TermRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="کد_x0020_ترم" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msdata:Caption="Trm_id" msprop:Generator_ColumnVarNameInTable="columnکد_ترم" msprop:Generator_ColumnPropNameInRow="کد_ترم" msprop:Generator_ColumnPropNameInTable="کد_ترمColumn" msprop:Generator_UserColumnName="کد ترم" type="xs:int" />
              <xs:element name="عنوان_x0020_ترم" msdata:Caption="Trm_title" msprop:Generator_ColumnVarNameInTable="columnعنوان_ترم" msprop:Generator_ColumnPropNameInRow="عنوان_ترم" msprop:Generator_ColumnPropNameInTable="عنوان_ترمColumn" msprop:Generator_UserColumnName="عنوان ترم" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تاریخ_x0020_شروع_x0020_ترم_x0020_" msdata:Caption="Trm_start" msprop:Generator_ColumnVarNameInTable="columnتاریخ_شروع_ترم_" msprop:Generator_ColumnPropNameInRow="تاریخ_شروع_ترم_" msprop:Generator_ColumnPropNameInTable="تاریخ_شروع_ترم_Column" msprop:Generator_UserColumnName="تاریخ شروع ترم " minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="تاریخ_x0020_پایان_x0020_ترم" msdata:Caption="Trm_end" msprop:Generator_ColumnVarNameInTable="columnتاریخ_پایان_ترم" msprop:Generator_ColumnPropNameInRow="تاریخ_پایان_ترم" msprop:Generator_ColumnPropNameInTable="تاریخ_پایان_ترمColumn" msprop:Generator_UserColumnName="تاریخ پایان ترم" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="سال_x0020_" msdata:Caption="Trm_year" msprop:Generator_ColumnVarNameInTable="columnسال_" msprop:Generator_ColumnPropNameInRow="سال_" msprop:Generator_ColumnPropNameInTable="سال_Column" msprop:Generator_UserColumnName="سال " minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ماه" msdata:Caption="Trm_month" msprop:Generator_ColumnVarNameInTable="columnماه" msprop:Generator_ColumnPropNameInRow="ماه" msprop:Generator_ColumnPropNameInTable="ماهColumn" msprop:Generator_UserColumnName="ماه" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="12" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Class" msprop:Generator_TableClassName="ClassDataTable" msprop:Generator_TableVarName="tableClass" msprop:Generator_TablePropName="Class" msprop:Generator_RowDeletingName="ClassRowDeleting" msprop:Generator_UserTableName="Class" msprop:Generator_RowChangingName="ClassRowChanging" msprop:Generator_RowEvHandlerName="ClassRowChangeEventHandler" msprop:Generator_RowDeletedName="ClassRowDeleted" msprop:Generator_RowEvArgName="ClassRowChangeEvent" msprop:Generator_RowChangedName="ClassRowChanged" msprop:Generator_RowClassName="ClassRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="کد_x0020_کلاس" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msdata:Caption="C_id" msprop:Generator_ColumnVarNameInTable="columnکد_کلاس" msprop:Generator_ColumnPropNameInRow="کد_کلاس" msprop:Generator_ColumnPropNameInTable="کد_کلاسColumn" msprop:Generator_UserColumnName="کد کلاس" type="xs:int" />
              <xs:element name="عنوان_x0020_کلاس" msdata:Caption="C_title" msprop:Generator_ColumnVarNameInTable="columnعنوان_کلاس" msprop:Generator_ColumnPropNameInRow="عنوان_کلاس" msprop:Generator_ColumnPropNameInTable="عنوان_کلاسColumn" msprop:Generator_UserColumnName="عنوان کلاس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ظرفیت" msdata:Caption="C_capacity" msprop:Generator_ColumnVarNameInTable="columnظرفیت" msprop:Generator_ColumnPropNameInRow="ظرفیت" msprop:Generator_ColumnPropNameInTable="ظرفیتColumn" msprop:Generator_UserColumnName="ظرفیت" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="جنسیت" msdata:Caption="C_genus" msprop:Generator_ColumnVarNameInTable="columnجنسیت" msprop:Generator_ColumnPropNameInRow="جنسیت" msprop:Generator_ColumnPropNameInTable="جنسیتColumn" msprop:Generator_UserColumnName="جنسیت" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="توضیحات" msdata:Caption="C_des" msprop:Generator_ColumnVarNameInTable="columnتوضیحات" msprop:Generator_ColumnPropNameInRow="توضیحات" msprop:Generator_ColumnPropNameInTable="توضیحاتColumn" msprop:Generator_UserColumnName="توضیحات" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Time" msprop:Generator_TableClassName="TimeDataTable" msprop:Generator_TableVarName="tableTime" msprop:Generator_TablePropName="Time" msprop:Generator_RowDeletingName="TimeRowDeleting" msprop:Generator_UserTableName="Time" msprop:Generator_RowChangingName="TimeRowChanging" msprop:Generator_RowEvHandlerName="TimeRowChangeEventHandler" msprop:Generator_RowDeletedName="TimeRowDeleted" msprop:Generator_RowEvArgName="TimeRowChangeEvent" msprop:Generator_RowChangedName="TimeRowChanged" msprop:Generator_RowClassName="TimeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="کد" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msdata:Caption="ID" msprop:Generator_ColumnVarNameInTable="columnکد" msprop:Generator_ColumnPropNameInRow="کد" msprop:Generator_ColumnPropNameInTable="کدColumn" msprop:Generator_UserColumnName="کد" type="xs:int" />
              <xs:element name="ساعت_x0020_شروع" msdata:Caption="Time_start" msprop:Generator_ColumnVarNameInTable="columnساعت_شروع" msprop:Generator_ColumnPropNameInRow="ساعت_شروع" msprop:Generator_ColumnPropNameInTable="ساعت_شروعColumn" msprop:Generator_UserColumnName="ساعت شروع" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ساعت_x0020_پایان" msdata:Caption="Time_end" msprop:Generator_ColumnVarNameInTable="columnساعت_پایان" msprop:Generator_ColumnPropNameInRow="ساعت_پایان" msprop:Generator_ColumnPropNameInTable="ساعت_پایانColumn" msprop:Generator_UserColumnName="ساعت پایان" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="روز_x0020_تشکیل" msdata:Caption="Time_week_day" msprop:Generator_ColumnVarNameInTable="columnروز_تشکیل" msprop:Generator_ColumnPropNameInRow="روز_تشکیل" msprop:Generator_ColumnPropNameInTable="روز_تشکیلColumn" msprop:Generator_UserColumnName="روز تشکیل" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="توضیحات" msdata:Caption="Time_des" msprop:Generator_ColumnVarNameInTable="columnتوضیحات" msprop:Generator_ColumnPropNameInRow="توضیحات" msprop:Generator_ColumnPropNameInTable="توضیحاتColumn" msprop:Generator_UserColumnName="توضیحات" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Unit_x0020_Select" msprop:Generator_TableClassName="Unit_SelectDataTable" msprop:Generator_TableVarName="tableUnit_Select" msprop:Generator_TablePropName="Unit_Select" msprop:Generator_RowDeletingName="Unit_SelectRowDeleting" msprop:Generator_UserTableName="Unit Select" msprop:Generator_RowChangingName="Unit_SelectRowChanging" msprop:Generator_RowEvHandlerName="Unit_SelectRowChangeEventHandler" msprop:Generator_RowDeletedName="Unit_SelectRowDeleted" msprop:Generator_RowEvArgName="Unit_SelectRowChangeEvent" msprop:Generator_RowChangedName="Unit_SelectRowChanged" msprop:Generator_RowClassName="Unit_SelectRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="کد_x0020_فراگیر" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnکد_فراگیر" msprop:Generator_ColumnPropNameInRow="کد_فراگیر" msprop:Generator_ColumnPropNameInTable="کد_فراگیرColumn" msprop:Generator_UserColumnName="کد فراگیر" type="xs:int" />
              <xs:element name="Course" msprop:Generator_ColumnVarNameInTable="columnCourse" msprop:Generator_ColumnPropNameInRow="Course" msprop:Generator_ColumnPropNameInTable="CourseColumn" msprop:Generator_UserColumnName="Course" type="xs:int" minOccurs="0" />
              <xs:element name="Users" msprop:Generator_ColumnVarNameInTable="columnUsers" msprop:Generator_ColumnPropNameInRow="Users" msprop:Generator_ColumnPropNameInTable="UsersColumn" msprop:Generator_UserColumnName="Users" type="xs:int" minOccurs="0" />
              <xs:element name="student" msprop:Generator_ColumnVarNameInTable="columnstudent" msprop:Generator_ColumnPropNameInRow="student" msprop:Generator_ColumnPropNameInTable="studentColumn" msprop:Generator_UserColumnName="student" type="xs:int" minOccurs="0" />
              <xs:element name="عنوان_x0020_سرفصل_x0020_" msdata:Caption="L_ttile" msprop:Generator_ColumnVarNameInTable="columnعنوان_سرفصل_" msprop:Generator_ColumnPropNameInRow="عنوان_سرفصل_" msprop:Generator_ColumnPropNameInTable="عنوان_سرفصل_Column" msprop:Generator_UserColumnName="عنوان سرفصل " minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_و_x0020_نام_x0020_خانوادگی_x0020_فراگیر" msdata:ReadOnly="true" msdata:Caption="FullNameStu" msprop:Generator_ColumnVarNameInTable="columnنام_و_نام_خانوادگی_فراگیر" msprop:Generator_ColumnPropNameInRow="نام_و_نام_خانوادگی_فراگیر" msprop:Generator_ColumnPropNameInTable="نام_و_نام_خانوادگی_فراگیرColumn" msprop:Generator_UserColumnName="نام و نام خانوادگی فراگیر" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="71" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ترم" msdata:Caption="Trm_title" msprop:Generator_ColumnVarNameInTable="columnترم" msprop:Generator_ColumnPropNameInRow="ترم" msprop:Generator_ColumnPropNameInTable="ترمColumn" msprop:Generator_UserColumnName="ترم" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="کلاس" msdata:Caption="C_title" msprop:Generator_ColumnVarNameInTable="columnکلاس" msprop:Generator_ColumnPropNameInRow="کلاس" msprop:Generator_ColumnPropNameInTable="کلاسColumn" msprop:Generator_UserColumnName="کلاس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="زمان_x0020_برگزاری" msdata:ReadOnly="true" msdata:Caption="Times" msprop:Generator_ColumnVarNameInTable="columnزمان_برگزاری" msprop:Generator_ColumnPropNameInRow="زمان_برگزاری" msprop:Generator_ColumnPropNameInTable="زمان_برگزاریColumn" msprop:Generator_UserColumnName="زمان برگزاری" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="53" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_و_x0020_نام_x0020_خانوادگی_x0020_مدرس" msdata:ReadOnly="true" msdata:Caption="FullNameTea" msprop:Generator_ColumnVarNameInTable="columnنام_و_نام_خانوادگی_مدرس" msprop:Generator_ColumnPropNameInRow="نام_و_نام_خانوادگی_مدرس" msprop:Generator_ColumnPropNameInTable="نام_و_نام_خانوادگی_مدرسColumn" msprop:Generator_UserColumnName="نام و نام خانوادگی مدرس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="71" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowClassName="UsersRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="کد" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msdata:Caption="ID" msprop:Generator_ColumnVarNameInTable="columnکد" msprop:Generator_ColumnPropNameInRow="کد" msprop:Generator_ColumnPropNameInTable="کدColumn" msprop:Generator_UserColumnName="کد" type="xs:int" />
              <xs:element name="نام" msdata:Caption="name" msprop:Generator_ColumnVarNameInTable="columnنام" msprop:Generator_ColumnPropNameInRow="نام" msprop:Generator_ColumnPropNameInTable="نامColumn" msprop:Generator_UserColumnName="نام" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_خانوادگی" msdata:Caption="family" msprop:Generator_ColumnVarNameInTable="columnنام_خانوادگی" msprop:Generator_ColumnPropNameInRow="نام_خانوادگی" msprop:Generator_ColumnPropNameInTable="نام_خانوادگیColumn" msprop:Generator_UserColumnName="نام خانوادگی" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_کاربری" msdata:Caption="UserName" msprop:Generator_ColumnVarNameInTable="columnنام_کاربری" msprop:Generator_ColumnPropNameInRow="نام_کاربری" msprop:Generator_ColumnPropNameInTable="نام_کاربریColumn" msprop:Generator_UserColumnName="نام کاربری" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="کلمه_x0020_عبور" msdata:Caption="pass" msprop:Generator_ColumnVarNameInTable="columnکلمه_عبور" msprop:Generator_ColumnPropNameInRow="کلمه_عبور" msprop:Generator_ColumnPropNameInTable="کلمه_عبورColumn" msprop:Generator_UserColumnName="کلمه عبور" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Course" msprop:Generator_TableClassName="CourseDataTable" msprop:Generator_TableVarName="tableCourse" msprop:Generator_TablePropName="Course" msprop:Generator_RowDeletingName="CourseRowDeleting" msprop:Generator_UserTableName="Course" msprop:Generator_RowChangingName="CourseRowChanging" msprop:Generator_RowEvHandlerName="CourseRowChangeEventHandler" msprop:Generator_RowDeletedName="CourseRowDeleted" msprop:Generator_RowEvArgName="CourseRowChangeEvent" msprop:Generator_RowChangedName="CourseRowChanged" msprop:Generator_RowClassName="CourseRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="کد_x0020_دوره" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msdata:Caption="Crs_id" msprop:Generator_ColumnVarNameInTable="columnکد_دوره" msprop:Generator_ColumnPropNameInRow="کد_دوره" msprop:Generator_ColumnPropNameInTable="کد_دورهColumn" msprop:Generator_UserColumnName="کد دوره" type="xs:int" />
              <xs:element name="کد_x0020_مدرس" msdata:Caption="T_id" msprop:Generator_ColumnVarNameInTable="columnکد_مدرس" msprop:Generator_ColumnPropNameInRow="کد_مدرس" msprop:Generator_ColumnPropNameInTable="کد_مدرسColumn" msprop:Generator_UserColumnName="کد مدرس" type="xs:int" minOccurs="0" />
              <xs:element name="کد_x0020_ترم" msdata:Caption="Trm_id" msprop:Generator_ColumnVarNameInTable="columnکد_ترم" msprop:Generator_ColumnPropNameInRow="کد_ترم" msprop:Generator_ColumnPropNameInTable="کد_ترمColumn" msprop:Generator_UserColumnName="کد ترم" type="xs:int" minOccurs="0" />
              <xs:element name="کد_x0020_درس" msdata:Caption="L_id" msprop:Generator_ColumnVarNameInTable="columnکد_درس" msprop:Generator_ColumnPropNameInRow="کد_درس" msprop:Generator_ColumnPropNameInTable="کد_درسColumn" msprop:Generator_UserColumnName="کد درس" type="xs:int" minOccurs="0" />
              <xs:element name="کد_x0020_کلاس" msdata:Caption="C_id" msprop:Generator_ColumnVarNameInTable="columnکد_کلاس" msprop:Generator_ColumnPropNameInRow="کد_کلاس" msprop:Generator_ColumnPropNameInTable="کد_کلاسColumn" msprop:Generator_UserColumnName="کد کلاس" type="xs:int" minOccurs="0" />
              <xs:element name="کد_x0020_زمان" msdata:Caption="Time" msprop:Generator_ColumnVarNameInTable="columnکد_زمان" msprop:Generator_ColumnPropNameInRow="کد_زمان" msprop:Generator_ColumnPropNameInTable="کد_زمانColumn" msprop:Generator_UserColumnName="کد زمان" type="xs:int" minOccurs="0" />
              <xs:element name="عنوان_x0020_سرفصل" msdata:Caption="L_ttile" msprop:Generator_ColumnVarNameInTable="columnعنوان_سرفصل" msprop:Generator_ColumnPropNameInRow="عنوان_سرفصل" msprop:Generator_ColumnPropNameInTable="عنوان_سرفصلColumn" msprop:Generator_UserColumnName="عنوان سرفصل" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="نام_x0020_و_x0020_نام_x0020_خانوادگی_x0020_مدرس" msdata:ReadOnly="true" msdata:Caption="FullName" msprop:Generator_ColumnVarNameInTable="columnنام_و_نام_خانوادگی_مدرس" msprop:Generator_ColumnPropNameInRow="نام_و_نام_خانوادگی_مدرس" msprop:Generator_ColumnPropNameInTable="نام_و_نام_خانوادگی_مدرسColumn" msprop:Generator_UserColumnName="نام و نام خانوادگی مدرس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="86" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="کلاس" msdata:Caption="C_title" msprop:Generator_ColumnVarNameInTable="columnکلاس" msprop:Generator_ColumnPropNameInRow="کلاس" msprop:Generator_ColumnPropNameInTable="کلاسColumn" msprop:Generator_UserColumnName="کلاس" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ترم" msdata:Caption="Trm_title" msprop:Generator_ColumnVarNameInTable="columnترم" msprop:Generator_ColumnPropNameInRow="ترم" msprop:Generator_ColumnPropNameInTable="ترمColumn" msprop:Generator_UserColumnName="ترم" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="زمان_x0020_برگزاری" msdata:ReadOnly="true" msdata:Caption="Times" msprop:Generator_ColumnVarNameInTable="columnزمان_برگزاری" msprop:Generator_ColumnPropNameInRow="زمان_برگزاری" msprop:Generator_ColumnPropNameInTable="زمان_برگزاریColumn" msprop:Generator_UserColumnName="زمان برگزاری" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="55" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Teacher" />
      <xs:field xpath="mstns:کد_x0020_پرسنلی" />
    </xs:unique>
    <xs:unique name="Student_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Student" />
      <xs:field xpath="mstns:شماره_x0020_فراگیر" />
    </xs:unique>
    <xs:unique name="Lesson_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Lesson" />
      <xs:field xpath="mstns:کد_x0020_درس" />
    </xs:unique>
    <xs:unique name="Term_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Term" />
      <xs:field xpath="mstns:کد_x0020_ترم" />
    </xs:unique>
    <xs:unique name="Class_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Class" />
      <xs:field xpath="mstns:کد_x0020_کلاس" />
    </xs:unique>
    <xs:unique name="Time_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Time" />
      <xs:field xpath="mstns:کد" />
    </xs:unique>
    <xs:unique name="Unit_x0020_Select_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Unit_x0020_Select" />
      <xs:field xpath="mstns:کد_x0020_فراگیر" />
    </xs:unique>
    <xs:unique name="Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Users" />
      <xs:field xpath="mstns:کد" />
    </xs:unique>
    <xs:unique name="Course_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Course" />
      <xs:field xpath="mstns:کد_x0020_دوره" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_Unit_x0020_Select_Student" msdata:parent="Student" msdata:child="Unit_x0020_Select" msdata:parentkey="شماره_x0020_فراگیر" msdata:childkey="student" msprop:Generator_UserChildTable="Unit Select" msprop:Generator_ChildPropName="GetUnit_SelectRows" msprop:Generator_ParentPropName="StudentRow" msprop:Generator_UserRelationName="FK_Unit Select_Student" msprop:Generator_RelationVarName="relationFK_Unit_Select_Student" msprop:Generator_UserParentTable="Student" />
      <msdata:Relationship name="FK_Unit_x0020_Select_Users" msdata:parent="Users" msdata:child="Unit_x0020_Select" msdata:parentkey="کد" msdata:childkey="Users" msprop:Generator_UserChildTable="Unit Select" msprop:Generator_ChildPropName="GetUnit_SelectRows" msprop:Generator_ParentPropName="UsersRow" msprop:Generator_UserRelationName="FK_Unit Select_Users" msprop:Generator_RelationVarName="relationFK_Unit_Select_Users" msprop:Generator_UserParentTable="Users" />
      <msdata:Relationship name="FK_Unit_x0020_Select_Course" msdata:parent="Course" msdata:child="Unit_x0020_Select" msdata:parentkey="کد_x0020_دوره" msdata:childkey="Course" msprop:Generator_UserChildTable="Unit Select" msprop:Generator_ChildPropName="GetUnit_SelectRows" msprop:Generator_UserParentTable="Course" msprop:Generator_UserRelationName="FK_Unit Select_Course" msprop:Generator_RelationVarName="relationFK_Unit_Select_Course" msprop:Generator_ParentPropName="CourseRow" />
      <msdata:Relationship name="FK_Course_Class" msdata:parent="Class" msdata:child="Course" msdata:parentkey="کد_x0020_کلاس" msdata:childkey="کد_x0020_کلاس" msprop:Generator_UserChildTable="Course" msprop:Generator_ChildPropName="GetCourseRows" msprop:Generator_UserParentTable="Class" msprop:Generator_UserRelationName="FK_Course_Class" msprop:Generator_RelationVarName="relationFK_Course_Class" msprop:Generator_ParentPropName="ClassRow" />
      <msdata:Relationship name="FK_Course_Lesson" msdata:parent="Lesson" msdata:child="Course" msdata:parentkey="کد_x0020_درس" msdata:childkey="کد_x0020_درس" msprop:Generator_UserChildTable="Course" msprop:Generator_ChildPropName="GetCourseRows" msprop:Generator_UserParentTable="Lesson" msprop:Generator_UserRelationName="FK_Course_Lesson" msprop:Generator_RelationVarName="relationFK_Course_Lesson" msprop:Generator_ParentPropName="LessonRow" />
      <msdata:Relationship name="FK_Course_Teacher" msdata:parent="Teacher" msdata:child="Course" msdata:parentkey="کد_x0020_پرسنلی" msdata:childkey="کد_x0020_مدرس" msprop:Generator_UserChildTable="Course" msprop:Generator_ChildPropName="GetCourseRows" msprop:Generator_UserParentTable="Teacher" msprop:Generator_UserRelationName="FK_Course_Teacher" msprop:Generator_RelationVarName="relationFK_Course_Teacher" msprop:Generator_ParentPropName="TeacherRow" />
      <msdata:Relationship name="FK_Course_Term" msdata:parent="Term" msdata:child="Course" msdata:parentkey="کد_x0020_ترم" msdata:childkey="کد_x0020_ترم" msprop:Generator_UserChildTable="Course" msprop:Generator_ChildPropName="GetCourseRows" msprop:Generator_UserParentTable="Term" msprop:Generator_UserRelationName="FK_Course_Term" msprop:Generator_RelationVarName="relationFK_Course_Term" msprop:Generator_ParentPropName="TermRow" />
      <msdata:Relationship name="FK_Course_Time" msdata:parent="Time" msdata:child="Course" msdata:parentkey="کد" msdata:childkey="کد_x0020_زمان" msprop:Generator_UserChildTable="Course" msprop:Generator_ChildPropName="GetCourseRows" msprop:Generator_UserParentTable="Time" msprop:Generator_UserRelationName="FK_Course_Time" msprop:Generator_RelationVarName="relationFK_Course_Time" msprop:Generator_ParentPropName="TimeRow" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>