<?xml version="1.0" encoding="utf-8"?>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
  <EntityContainerMapping StorageEntityContainer="ModelStoreContainer" CdmEntityContainer="Entity_FrameWorkEntities5">
    <FunctionImportMapping FunctionImportName="Sp_UpdateTedad" FunctionName="Model.Store.Sp_UpdateTedad" />
    <EntitySetMapping Name="Table_TelephoneCompany">
      <EntityTypeMapping TypeName="Model.Table_TelephoneCompany">
        <MappingFragment StoreEntitySet="Table_TelephoneCompany">
          <ScalarProperty Name="Address" ColumnName="Address" />
          <ScalarProperty Name="Mobile" ColumnName="Mobile" />
          <ScalarProperty Name="Telephone" ColumnName="Telephone" />
          <ScalarProperty Name="NameMassol" ColumnName="NameMassol" />
          <ScalarProperty Name="NameBakshe" ColumnName="NameBakshe" />
          <ScalarProperty Name="CompanyName" ColumnName="CompanyName" />
          <ScalarProperty Name="id" ColumnName="id" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Table_TelephonePerson">
      <EntityTypeMapping TypeName="Model.Table_TelephonePerson">
        <MappingFragment StoreEntitySet="Table_TelephonePerson">
          <ScalarProperty Name="Address" ColumnName="Address" />
          <ScalarProperty Name="Mobile" ColumnName="Mobile" />
          <ScalarProperty Name="Telephone" ColumnName="Telephone" />
          <ScalarProperty Name="LastName" ColumnName="LastName" />
          <ScalarProperty Name="Name" ColumnName="Name" />
          <ScalarProperty Name="id" ColumnName="id" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Table_Kala">
      <EntityTypeMapping TypeName="Model.Table_Kala">
        <MappingFragment StoreEntitySet="Table_Kala">
          <ScalarProperty Name="Money" ColumnName="Money" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="image" ColumnName="image" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <FunctionImportMapping FunctionImportName="Sp_UpdateCustomer" FunctionName="Model.Store.Sp_UpdateCustomer" />
    <FunctionImportMapping FunctionImportName="Sp_DeleteCustomer" FunctionName="Model.Store.Sp_DeleteCustomer" />
    <EntitySetMapping Name="ViewFactorNews">
      <EntityTypeMapping TypeName="Model.ViewFactorNew">
        <MappingFragment StoreEntitySet="ViewFactorNew">
          <ScalarProperty Name="Money" ColumnName="Money" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Table_Comment">
      <EntityTypeMapping TypeName="Model.Table_Comment">
        <MappingFragment StoreEntitySet="Table_Comment">
          <ScalarProperty Name="Comment" ColumnName="Comment" />
          <ScalarProperty Name="DateComment" ColumnName="DateComment" />
          <ScalarProperty Name="id" ColumnName="id" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <FunctionImportMapping FunctionImportName="Sp_InsertCustomer" FunctionName="Model.Store.Sp_InsertCustomer" />
    <FunctionImportMapping FunctionImportName="Sp_InsertFactor" FunctionName="Model.Store.Sp_InsertFactor" />
    <EntitySetMapping Name="Table_Customer">
      <EntityTypeMapping TypeName="Model.Table_Customer">
        <MappingFragment StoreEntitySet="Table_Customer">
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Table_Factor">
      <EntityTypeMapping TypeName="Model.Table_Factor">
        <MappingFragment StoreEntitySet="Table_Factor">
          <ScalarProperty Name="Money" ColumnName="Money" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <FunctionImportMapping FunctionImportName="Sp_MaxCustomer" FunctionName="Model.Store.Sp_MaxCustomer">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_MaxCustomer_Result">
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="tedadkharid" ColumnName="tedadkharid" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SearchTarikh" FunctionName="Model.Store.Sp_SearchTarikh">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SearchTarikh_Result">
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="tedad" ColumnName="tedad" />
          <ScalarProperty Name="money" ColumnName="money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <EntitySetMapping Name="Table_User">
      <EntityTypeMapping TypeName="Model.Table_User">
        <MappingFragment StoreEntitySet="Table_User">
          <ScalarProperty Name="Password" ColumnName="Password" />
          <ScalarProperty Name="User" ColumnName="User" />
          <ScalarProperty Name="id" ColumnName="id" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <FunctionImportMapping FunctionImportName="Sp_Backup" FunctionName="Model.Store.Sp_Backup" />
    <FunctionImportMapping FunctionImportName="Sp_Restore" FunctionName="Model.Store.Sp_Restore" />
    <FunctionImportMapping FunctionImportName="Sp_SearchCustomer" FunctionName="Model.Store.Sp_SearchCustomer">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SearchCustomer_Result">
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SearchDate" FunctionName="Model.Store.Sp_SearchDate">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SearchDate_Result">
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SelectFactor" FunctionName="Model.Store.Sp_SelectFactor">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SelectFactor_Result3">
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SearchFactor" FunctionName="Model.Store.Sp_SearchFactor">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SearchFactor_Result">
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SelectKharid" FunctionName="Model.Store.Sp_SelectKharid">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SelectKharid_Result">
          <ScalarProperty Name="CodCompany" ColumnName="CodCompany" />
          <ScalarProperty Name="CodBuy" ColumnName="CodBuy" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SelectListKharid" FunctionName="Model.Store.Sp_SelectListKharid">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SelectListKharid_Result">
          <ScalarProperty Name="CodBuy" ColumnName="CodBuy" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SelectCompany" FunctionName="Model.Store.Sp_SelectCompany">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SelectCompany_Result">
          <ScalarProperty Name="CodCompany" ColumnName="CodCompany" />
          <ScalarProperty Name="CompanyName" ColumnName="CompanyName" />
          <ScalarProperty Name="Comment" ColumnName="Comment" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SelectComment" FunctionName="Model.Store.Sp_SelectComment">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SelectComment_Result">
          <ScalarProperty Name="id" ColumnName="id" />
          <ScalarProperty Name="DateComment" ColumnName="DateComment" />
          <ScalarProperty Name="Comment" ColumnName="Comment" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SelectCustomer" FunctionName="Model.Store.Sp_SelectCustomer">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SelectCustomer_Result">
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_PrintFactor" FunctionName="Model.Store.Sp_PrintFactor">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_PrintFactor_Result">
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="CodFactor1" ColumnName="CodFactor1" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_PrintFactornew" FunctionName="Model.Store.Sp_PrintFactornew">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_PrintFactornew_Result">
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_MaxFrosh" FunctionName="Model.Store.Sp_MaxFrosh">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_MaxFrosh_Result">
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Frosh" ColumnName="Frosh" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <EntitySetMapping Name="ViewFactors">
      <EntityTypeMapping TypeName="Model.ViewFactor">
        <MappingFragment StoreEntitySet="ViewFactor">
          <ScalarProperty Name="Money" ColumnName="Money" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="Buyer" ColumnName="Buyer" />
          <ScalarProperty Name="CodFactor" ColumnName="CodFactor" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <FunctionImportMapping FunctionImportName="Sp_InsertKharid" FunctionName="Model.Store.Sp_InsertKharid" />
    <FunctionImportMapping FunctionImportName="Sp_UpdateKharid" FunctionName="Model.Store.Sp_UpdateKharid" />
    <FunctionImportMapping FunctionImportName="Sp_UpdateDateBuy" FunctionName="Model.Store.Sp_UpdateDateBuy" />
    <FunctionImportMapping FunctionImportName="Sp_DeleteDateBuy" FunctionName="Model.Store.Sp_DeleteDateBuy" />
    <FunctionImportMapping FunctionImportName="Sp_DeleteKharid" FunctionName="Model.Store.Sp_DeleteKharid" />
    <FunctionImportMapping FunctionImportName="Sp_SearchKharid" FunctionName="Model.Store.Sp_SearchKharid">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SearchKharid_Result">
          <ScalarProperty Name="CodCompany" ColumnName="CodCompany" />
          <ScalarProperty Name="CodBuy" ColumnName="CodBuy" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_Insertuser" FunctionName="Model.Store.Sp_Insertuser" />
    <EntitySetMapping Name="Table_DataBuy">
      <EntityTypeMapping TypeName="Model.Table_DataBuy">
        <MappingFragment StoreEntitySet="Table_DataBuy">
          <ScalarProperty Name="Money" ColumnName="Money" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="CodBuy" ColumnName="CodBuy" />
        </MappingFragment>
      </EntityTypeMapping>
      <EntityTypeMapping TypeName="Model.Table_DataBuy">
        <ModificationFunctionMapping>
          <UpdateFunction FunctionName="Model.Store.Sp_UpdateDateBuy">
            <ScalarProperty Name="Money" ParameterName="Money" Version="Current" />
            <ScalarProperty Name="Tedad" ParameterName="Tedad" Version="Current" />
            <ScalarProperty Name="Color" ParameterName="Color" Version="Current" />
            <ScalarProperty Name="Model" ParameterName="Model" Version="Current" />
            <ScalarProperty Name="NameKala" ParameterName="NameKala" Version="Current" />
            <ScalarProperty Name="CodKala" ParameterName="CodKala" Version="Current" />
          </UpdateFunction>
          <DeleteFunction FunctionName="Model.Store.Sp_DeleteDateBuy">
            <ScalarProperty Name="CodKala" ParameterName="CodKala" />
          </DeleteFunction>
          <InsertFunction FunctionName="Model.Store.Sp_InsertDataBuy">
            <ScalarProperty Name="Money" ParameterName="Money" />
            <ScalarProperty Name="Tedad" ParameterName="Tedad" />
            <ScalarProperty Name="Color" ParameterName="Color" />
            <ScalarProperty Name="Model" ParameterName="Model" />
            <ScalarProperty Name="NameKala" ParameterName="NameKala" />
            <ScalarProperty Name="CodKala" ParameterName="CodKala" />
            <ScalarProperty Name="CodBuy" ParameterName="CodBuy" />
          </InsertFunction>
        </ModificationFunctionMapping>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Table_Kharid">
      <EntityTypeMapping TypeName="Model.Table_Kharid">
        <MappingFragment StoreEntitySet="Table_Kharid">
          <ScalarProperty Name="Money" ColumnName="Money" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="CodBuy" ColumnName="CodBuy" />
          <ScalarProperty Name="CodCompany" ColumnName="CodCompany" />
        </MappingFragment>
      </EntityTypeMapping>
      <EntityTypeMapping TypeName="Model.Table_Kharid">
        <ModificationFunctionMapping>
          <InsertFunction FunctionName="Model.Store.Sp_InsertKharid">
            <ScalarProperty Name="DateBuy" ParameterName="Datebuy" />
            <ScalarProperty Name="Money" ParameterName="Money" />
          </InsertFunction>
          <UpdateFunction FunctionName="Model.Store.Sp_UpdateKharid">
            <ScalarProperty Name="Money" ParameterName="Money" Version="Current" />
            <ScalarProperty Name="DateBuy" ParameterName="DateBuy" Version="Current" />
            <ScalarProperty Name="CodBuy" ParameterName="CodBuy" Version="Current" />
          </UpdateFunction>
          <DeleteFunction FunctionName="Model.Store.Sp_DeleteKharid">
            <ScalarProperty Name="CodBuy" ParameterName="CodBuy" />
          </DeleteFunction>
        </ModificationFunctionMapping>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Table_Sherkat">
      <EntityTypeMapping TypeName="Model.Table_Sherkat">
        <MappingFragment StoreEntitySet="Table_Sherkat">
          <ScalarProperty Name="Comment" ColumnName="Comment" />
          <ScalarProperty Name="CompanyName" ColumnName="CompanyName" />
          <ScalarProperty Name="CodCompany" ColumnName="CodCompany" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <FunctionImportMapping FunctionImportName="Sp_InsertDataBuy" FunctionName="Model.Store.Sp_InsertDataBuy" />
    <FunctionImportMapping FunctionImportName="Sp_SearchCompany" FunctionName="Model.Store.Sp_SearchCompany">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SearchCompany_Result">
          <ScalarProperty Name="CodCompany" ColumnName="CodCompany" />
          <ScalarProperty Name="CompanyName" ColumnName="CompanyName" />
          <ScalarProperty Name="Comment" ColumnName="Comment" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SearchKharidCompany" FunctionName="Model.Store.Sp_SearchKharidCompany">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SearchKharidCompany_Result">
          <ScalarProperty Name="CodCompany" ColumnName="CodCompany" />
          <ScalarProperty Name="CodBuy" ColumnName="CodBuy" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_SearchListKharid" FunctionName="Model.Store.Sp_SearchListKharid">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_SearchListKharid_Result">
          <ScalarProperty Name="CodBuy" ColumnName="CodBuy" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
    <FunctionImportMapping FunctionImportName="Sp_ListKharidKoli" FunctionName="Model.Store.Sp_ListKharidKoli">
      <ResultMapping>
        <ComplexTypeMapping TypeName="Model.Sp_ListKharidKoli_Result">
          <ScalarProperty Name="CodCompany" ColumnName="CodCompany" />
          <ScalarProperty Name="CompanyName" ColumnName="CompanyName" />
          <ScalarProperty Name="CodBuy" ColumnName="CodBuy" />
          <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
          <ScalarProperty Name="CodKala" ColumnName="CodKala" />
          <ScalarProperty Name="NameKala" ColumnName="NameKala" />
          <ScalarProperty Name="Model" ColumnName="Model" />
          <ScalarProperty Name="Color" ColumnName="Color" />
          <ScalarProperty Name="Tedad" ColumnName="Tedad" />
          <ScalarProperty Name="Money" ColumnName="Money" />
        </ComplexTypeMapping>
      </ResultMapping>
    </FunctionImportMapping>
  </EntityContainerMapping>
</Mapping>