<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  <!-- EF Runtime content -->
  <edmx:Runtime>
    <!-- SSDL content -->
    <edmx:StorageModels>
    <Schema Namespace="newswebappModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
        <EntityType Name="category">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="link" Type="nvarchar(max)" />
          <Property Name="title" Type="nvarchar(max)" />
        </EntityType>
        <EntityType Name="news">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="title" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="image" Type="nvarchar(max)" />
          <Property Name="link" Type="nvarchar(max)" Nullable="false" />
          <Property Name="summary" Type="nvarchar" MaxLength="200" />
          <Property Name="cat" Type="nvarchar(max)" />
          <Property Name="tag" Type="nvarchar(max)" />
          <Property Name="publishDate" Type="datetime2" Precision="7" />
          <Property Name="userID" Type="int" Nullable="false" />
          <Property Name="Content" Type="nvarchar(max)" Nullable="false" />
          <Property Name="views" Type="int" />
        </EntityType>
        <EntityType Name="response">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="title" Type="nvarchar" MaxLength="150" />
          <Property Name="content" Type="nvarchar(max)" />
          <Property Name="adminid" Type="int" />
          <Property Name="ticketid" Type="int" />
        </EntityType>
        <EntityType Name="tag">
          <Key>
            <PropertyRef Name="code" />
          </Key>
          <Property Name="code" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="link" Type="nvarchar(max)" />
          <Property Name="title" Type="nvarchar" MaxLength="50" />
        </EntityType>
        <EntityType Name="ticket">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="title" Type="nvarchar" MaxLength="150" Nullable="false" />
          <Property Name="content" Type="nvarchar(max)" Nullable="false" />
          <Property Name="priority" Type="int" Nullable="false" />
          <Property Name="senderid" Type="int" Nullable="false" />
          <Property Name="status" Type="int" />
          <Property Name="responsid" Type="int" />
        </EntityType>
        <EntityType Name="user">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="usename" Type="nvarchar" MaxLength="50" Nullable="false" />
          <Property Name="password" Type="nvarchar(max)" Nullable="false" />
          <Property Name="displayname" Type="nvarchar" MaxLength="50" />
          <Property Name="role" Type="nvarchar" MaxLength="70" Nullable="false" />
        </EntityType>
        <EntityType Name="viewlog">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="ipadd" Type="nvarchar(max)" />
          <Property Name="newsid" Type="int" />
          <Property Name="viewdate" Type="datetime" />
        </EntityType>
        <EntityContainer Name="newswebappModelStoreContainer">
          <EntitySet Name="category" EntityType="Self.category" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="news" EntityType="Self.news" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="response" EntityType="Self.response" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="tag" EntityType="Self.tag" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="ticket" EntityType="Self.ticket" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="user" EntityType="Self.user" Schema="dbo" store:Type="Tables" />
          <EntitySet Name="viewlog" EntityType="Self.viewlog" Schema="dbo" store:Type="Tables" />
        </EntityContainer>
      </Schema></edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <Schema Namespace="newswebappModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
        <EntityContainer Name="newswebappEntities" annotation:LazyLoadingEnabled="true">
          <EntitySet Name="categories" EntityType="newswebappModel.category" />
          <EntitySet Name="news" EntityType="newswebappModel.news" />
          <EntitySet Name="tags" EntityType="newswebappModel.tag" />
          <EntitySet Name="tickets" EntityType="newswebappModel.ticket" />
          <EntitySet Name="users" EntityType="newswebappModel.user" />
          <EntitySet Name="responses" EntityType="newswebappModel.response" />
          <EntitySet Name="viewlogs" EntityType="newswebappModel.viewlog" />
        </EntityContainer>
        <EntityType Name="category">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="link" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="title" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
        </EntityType>
        <EntityType Name="news">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="title" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Name="image" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="link" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="summary" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
          <Property Name="cat" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="tag" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="publishDate" Type="DateTime" Precision="7" />
          <Property Name="userID" Type="Int32" Nullable="false" />
          <Property Name="Content" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="views" Type="Int32" />
        </EntityType>
        <EntityType Name="tag">
          <Key>
            <PropertyRef Name="code" />
          </Key>
          <Property Name="code" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="link" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="title" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
        </EntityType>
        <EntityType Name="ticket">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="title" Type="String" MaxLength="150" FixedLength="false" Unicode="true" Nullable="false" />
          <Property Name="content" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
          <Property Name="priority" Type="Int32" Nullable="false" />
          <Property Name="senderid" Type="Int32" Nullable="false" />
          <Property Name="status" Type="Int32" />
          <Property Name="responsid" Type="Int32" />
        </EntityType>
        <EntityType Name="user">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="usename" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Name="password" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="displayname" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
          <Property Name="role" Type="String" Nullable="false" />
        </EntityType>
        <EntityType Name="response">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="title" Type="String" MaxLength="150" FixedLength="false" Unicode="true" />
          <Property Name="content" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="adminid" Type="Int32" />
          <Property Name="ticketid" Type="Int32" />
        </EntityType>
        <EntityType Name="viewlog">
          <Key>
            <PropertyRef Name="ID" />
          </Key>
          <Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="ipadd" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
          <Property Name="newsid" Type="Int32" />
          <Property Name="viewdate" Type="DateTime" Precision="3" />
        </EntityType>
      </Schema>
    </edmx:ConceptualModels>
    <!-- C-S mapping content -->
    <edmx:Mappings>
      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
        <EntityContainerMapping StorageEntityContainer="newswebappModelStoreContainer" CdmEntityContainer="newswebappEntities">
          <EntitySetMapping Name="categories">
            <EntityTypeMapping TypeName="newswebappModel.category">
              <MappingFragment StoreEntitySet="category">
                <ScalarProperty Name="title" ColumnName="title" />
                <ScalarProperty Name="link" ColumnName="link" />
                <ScalarProperty Name="ID" ColumnName="ID" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="news">
            <EntityTypeMapping TypeName="newswebappModel.news">
              <MappingFragment StoreEntitySet="news">
                <ScalarProperty Name="views" ColumnName="views" />
                <ScalarProperty Name="Content" ColumnName="Content" />
                <ScalarProperty Name="userID" ColumnName="userID" />
                <ScalarProperty Name="publishDate" ColumnName="publishDate" />
                <ScalarProperty Name="tag" ColumnName="tag" />
                <ScalarProperty Name="cat" ColumnName="cat" />
                <ScalarProperty Name="summary" ColumnName="summary" />
                <ScalarProperty Name="link" ColumnName="link" />
                <ScalarProperty Name="image" ColumnName="image" />
                <ScalarProperty Name="title" ColumnName="title" />
                <ScalarProperty Name="ID" ColumnName="ID" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="tags">
            <EntityTypeMapping TypeName="newswebappModel.tag">
              <MappingFragment StoreEntitySet="tag">
                <ScalarProperty Name="title" ColumnName="title" />
                <ScalarProperty Name="link" ColumnName="link" />
                <ScalarProperty Name="code" ColumnName="code" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="tickets">
            <EntityTypeMapping TypeName="newswebappModel.ticket">
              <MappingFragment StoreEntitySet="ticket">
                <ScalarProperty Name="responsid" ColumnName="responsid" />
                <ScalarProperty Name="status" ColumnName="status" />
                <ScalarProperty Name="senderid" ColumnName="senderid" />
                <ScalarProperty Name="priority" ColumnName="priority" />
                <ScalarProperty Name="content" ColumnName="content" />
                <ScalarProperty Name="title" ColumnName="title" />
                <ScalarProperty Name="ID" ColumnName="ID" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="users">
            <EntityTypeMapping TypeName="newswebappModel.user">
              <MappingFragment StoreEntitySet="user">
                <ScalarProperty Name="role" ColumnName="role" />
                <ScalarProperty Name="displayname" ColumnName="displayname" />
                <ScalarProperty Name="password" ColumnName="password" />
                <ScalarProperty Name="usename" ColumnName="usename" />
                <ScalarProperty Name="ID" ColumnName="ID" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="responses">
            <EntityTypeMapping TypeName="newswebappModel.response">
              <MappingFragment StoreEntitySet="response">
                <ScalarProperty Name="ticketid" ColumnName="ticketid" />
                <ScalarProperty Name="adminid" ColumnName="adminid" />
                <ScalarProperty Name="content" ColumnName="content" />
                <ScalarProperty Name="title" ColumnName="title" />
                <ScalarProperty Name="ID" ColumnName="ID" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="viewlogs">
            <EntityTypeMapping TypeName="newswebappModel.viewlog">
              <MappingFragment StoreEntitySet="viewlog">
                <ScalarProperty Name="viewdate" ColumnName="viewdate" />
                <ScalarProperty Name="newsid" ColumnName="newsid" />
                <ScalarProperty Name="ipadd" ColumnName="ipadd" />
                <ScalarProperty Name="ID" ColumnName="ID" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
        </EntityContainerMapping>
      </Mapping>
    </edmx:Mappings>
  </edmx:Runtime>
  <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/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="true" />
        <DesignerProperty Name="UseLegacyProvider" Value="false" />
        <DesignerProperty Name="CodeGenerationStrategy" Value="None" />
      </DesignerInfoPropertySet>
    </Options>
    <!-- Diagram content (shape and connector positions) -->
    <Diagrams></Diagrams>
  </Designer>
</edmx:Edmx>