<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
  <!-- EF Runtime content -->
  <edmx:Runtime>
    <!-- SSDL content -->
    <edmx:StorageModels>
    <Schema Namespace="Model.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl">
        <EntityContainer Name="ModelStoreContainer">
          <EntitySet Name="Table_Customer" EntityType="Model.Store.Table_Customer" store:Type="Tables" Schema="dbo" />
          <EntitySet Name="Table_Kala" EntityType="Model.Store.Table_Kala" store:Type="Tables" Schema="dbo" />
        </EntityContainer>
        <EntityType Name="Table_Customer">
          <Key>
            <PropertyRef Name="id" />
          </Key>
          <Property Name="id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="Buyer" Type="nvarchar" MaxLength="50" />
          <Property Name="DateBuy" Type="nvarchar" MaxLength="50" />
          <Property Name="Comment Buy" Type="nvarchar" MaxLength="300" />
          <Property Name="Money" Type="int" />
        </EntityType>
        <EntityType Name="Table_Kala">
          <Key>
            <PropertyRef Name="id" />
          </Key>
          <Property Name="id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
          <Property Name="NameKala" Type="nvarchar" MaxLength="50" />
          <Property Name="Model" Type="nvarchar" MaxLength="50" />
          <Property Name="Color" Type="nvarchar" MaxLength="50" />
          <Property Name="Tedad" Type="nvarchar" MaxLength="50" />
          <Property Name="Money" Type="int" />
        </EntityType>
        <Function Name="Sp_SelectCustomer" Aggregate="false" BuiltIn="false" NiladicFunction="false" IsComposable="false" ParameterTypeSemantics="AllowImplicitConversion" Schema="dbo" />
      </Schema></edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <Schema Namespace="Model" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2006/04/edm">
        <EntityContainer Name="Entity_FrameWorkEntities1">
          <EntitySet Name="Table_Kala" EntityType="Model.Table_Kala" />
          <EntitySet Name="Table_Customer" EntityType="Model.Table_Customer" />
          <FunctionImport Name="Sp_SelectCustomer" />
        </EntityContainer>
        <EntityType Name="Table_Kala">
          <Key>
            <PropertyRef Name="id" />
          </Key>
          <Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="NameKala" Type="String" MaxLength="50" Unicode="true" FixedLength="false" />
          <Property Name="Model" Type="String" MaxLength="10" Unicode="true" FixedLength="true" />
          <Property Name="Color" Type="String" MaxLength="50" Unicode="true" FixedLength="false" />
          <Property Name="Tedad" Type="String" MaxLength="50" Unicode="true" FixedLength="false" />
          <Property Name="Money" Type="Int32" />
        </EntityType>
        <EntityType Name="Table_Customer">
          <Key>
            <PropertyRef Name="id" />
          </Key>
          <Property Type="Int32" Name="id" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Type="String" Name="Buyer" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="DateBuy" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Type="String" Name="Comment_Buy" MaxLength="300" FixedLength="false" Unicode="true" />
          <Property Type="Int32" Name="Money" />
        </EntityType>
      </Schema>
    </edmx:ConceptualModels>
    <!-- C-S mapping content -->
    <edmx:Mappings>
    <Mapping Space="C-S" xmlns="urn:schemas-microsoft-com:windows:storage:mapping:CS">
  <EntityContainerMapping StorageEntityContainer="ModelStoreContainer" CdmEntityContainer="Entity_FrameWorkEntities1">
    <EntitySetMapping Name="Table_Kala">
      <EntityTypeMapping TypeName="IsTypeOf(Model.Table_Kala)">
        <MappingFragment StoreEntitySet="Table_Kala">
          <ScalarProperty Name="id" ColumnName="id" />
          <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" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
          <EntitySetMapping Name="Table_Customer">
            <EntityTypeMapping TypeName="Model.Table_Customer">
              <MappingFragment StoreEntitySet="Table_Customer">
                <ScalarProperty Name="Money" ColumnName="Money" />
                <ScalarProperty Name="Comment_Buy" ColumnName="Comment Buy" />
                <ScalarProperty Name="DateBuy" ColumnName="DateBuy" />
                <ScalarProperty Name="Buyer" ColumnName="Buyer" />
                <ScalarProperty Name="id" ColumnName="id" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <FunctionImportMapping FunctionImportName="Sp_SelectCustomer" FunctionName="Model.Store.Sp_SelectCustomer" />
  </EntityContainerMapping>
</Mapping></edmx:Mappings>
  </edmx:Runtime>
  <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  <Designer xmlns="http://schemas.microsoft.com/ado/2007/06/edmx">
    <Connection>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
      </DesignerInfoPropertySet>
    </Connection>
    <Options>
      <DesignerInfoPropertySet>
        <DesignerProperty Name="ValidateOnBuild" Value="true" />
        <DesignerProperty Name="EnablePluralization" Value="True" />
        <DesignerProperty Name="IncludeForeignKeysInModel" Value="False" />
      </DesignerInfoPropertySet>
    </Options>
    <!-- Diagram content (shape and connector positions) -->
    <Diagrams>
      <Diagram Name="MyModel">
        <EntityTypeShape EntityType="Model.Table_Kala" Width="1.5" PointX="0.75" PointY="0.75" Height="2.172587890625" IsExpanded="true" />
        <EntityTypeShape EntityType="Model.Table_Customer" Width="1.5" PointX="3.375" PointY="0.75" Height="1.9802864583333331" />
      </Diagram>
    </Diagrams>
  </Designer>
</edmx:Edmx>