<?xml version="1.0" encoding="utf-8"?>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  <EntityContainerMapping StorageEntityContainer="LibraryModelStoreContainer" CdmEntityContainer="LibraryEntities1">
    <EntitySetMapping Name="BookClass">
      <EntityTypeMapping TypeName="LibraryModel.BookClass">
        <MappingFragment StoreEntitySet="BookClass">
          <ScalarProperty Name="ClassID" ColumnName="ClassID" />
          <ScalarProperty Name="Classname" ColumnName="Classname" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="BookInfo">
      <EntityTypeMapping TypeName="LibraryModel.BookInfo">
        <MappingFragment StoreEntitySet="BookInfo">
          <ScalarProperty Name="ClassID" ColumnName="ClassID" />
          <ScalarProperty Name="BookID" ColumnName="BookID" />
          <ScalarProperty Name="ISBN" ColumnName="ISBN" />
          <ScalarProperty Name="Title" ColumnName="Title" />
          <ScalarProperty Name="Publish" ColumnName="Publish" />
          <ScalarProperty Name="Author" ColumnName="Author" />
          <ScalarProperty Name="Words" ColumnName="Words" />
          <ScalarProperty Name="PublisherID" ColumnName="PublisherID" />
          <ScalarProperty Name="Number" ColumnName="Number" />
          <ScalarProperty Name="Price" ColumnName="Price" />
          <ScalarProperty Name="Keyword" ColumnName="Keyword" />
          <ScalarProperty Name="Abstract" ColumnName="Abstract" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="CertificateInfo">
      <EntityTypeMapping TypeName="LibraryModel.CertificateInfo">
        <MappingFragment StoreEntitySet="CertificateInfo">
          <ScalarProperty Name="Cert_type" ColumnName="Cert_type" />
          <ScalarProperty Name="Cert_id" ColumnName="Cert_id" />
          <ScalarProperty Name="Cert_name" ColumnName="Cert_name" />
          <ScalarProperty Name="Cert_value" ColumnName="Cert_value" />
          <ScalarProperty Name="Name" ColumnName="Name" />
          <ScalarProperty Name="Depart" ColumnName="Depart" />
          <ScalarProperty Name="flag" ColumnName="flag" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Loan">
      <EntityTypeMapping TypeName="LibraryModel.Loan">
        <MappingFragment StoreEntitySet="Loan">
          <ScalarProperty Name="BookID" ColumnName="BookID" />
          <ScalarProperty Name="Cert_id" ColumnName="Cert_id" />
          <ScalarProperty Name="Loandates" ColumnName="Loandates" />
          <ScalarProperty Name="Return" ColumnName="Return" />
          <ScalarProperty Name="flag" ColumnName="flag" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Publisherlnfo">
      <EntityTypeMapping TypeName="LibraryModel.Publisherlnfo">
        <MappingFragment StoreEntitySet="Publisherlnfo">
          <ScalarProperty Name="PublisherId" ColumnName="PublisherId" />
          <ScalarProperty Name="Publisher" ColumnName="Publisher" />
          <ScalarProperty Name="Address" ColumnName="Address" />
          <ScalarProperty Name="Tel" ColumnName="Tel" />
          <ScalarProperty Name="Fax" ColumnName="Fax" />
          <ScalarProperty Name="Postcode" ColumnName="Postcode" />
          <ScalarProperty Name="http" ColumnName="http" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="user">
      <EntityTypeMapping TypeName="LibraryModel.user">
        <MappingFragment StoreEntitySet="user">
          <ScalarProperty Name="userId" ColumnName="userId" />
          <ScalarProperty Name="username" ColumnName="username" />
          <ScalarProperty Name="password" ColumnName="password" />
          <ScalarProperty Name="flag" ColumnName="flag" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="BaseSet">
      <EntityTypeMapping TypeName="LibraryModel.BaseSet">
        <MappingFragment StoreEntitySet="BaseSet">
          <ScalarProperty Name="Tch_BorrowDays" ColumnName="Tch_BorrowDays" />
          <ScalarProperty Name="flag" ColumnName="flag" />
          <ScalarProperty Name="Rates" ColumnName="Rates" />
          <ScalarProperty Name="Borrow_days" ColumnName="Borrow_days" />
          <ScalarProperty Name="Tch_BorrowNums" ColumnName="Tch_BorrowNums" />
          <ScalarProperty Name="Stu_BorrowNums" ColumnName="Stu_BorrowNums" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="Depart">
      <EntityTypeMapping TypeName="LibraryModel.Depart">
        <MappingFragment StoreEntitySet="Depart">
          <ScalarProperty Name="Dept_Name" ColumnName="Dept_Name" />
          <ScalarProperty Name="Dept_ID" ColumnName="Dept_ID" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
  </EntityContainerMapping>
</Mapping>