﻿<?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="Model.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2008" 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="CaptureFields">
          <Key>
            <PropertyRef Name="CaptureFieldID" />
          </Key>
          <Property Name="CaptureFieldID" Type="smallint" StoreGeneratedPattern="Identity" Nullable="false" />
          <Property Name="Description" Type="varchar" MaxLength="100" Nullable="false" />
          <Property Name="IsCancelled" Type="bit" Nullable="false" />
        </EntityType>
        <EntityContainer Name="ModelStoreContainer">
          <EntitySet Name="CaptureFields" EntityType="Self.CaptureFields" Schema="Form" store:Type="Tables" />
        </EntityContainer>
      </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/2009/11/edm">
        <EntityContainer Name="FormContext" annotation:LazyLoadingEnabled="true">
          <EntitySet Name="CaptureFields" EntityType="Model.CaptureField" />
          <FunctionImport Name="Pr_ChecklistResultUpsert" ReturnType="Collection(Int64)">
            <Parameter Name="EntityID" Mode="In" Type="Int32" />
            <Parameter Name="ItemID" Mode="In" Type="Int64" />
            <Parameter Name="ChecklistTemplateQuestionID" Mode="In" Type="Int64" />
            <Parameter Name="Result" Mode="In" Type="String" />
            <Parameter Name="Comments" Mode="In" Type="String" />
            <Parameter Name="ChecklistResultByUserName" Mode="In" Type="String" />
          </FunctionImport>
          <FunctionImport Name="Pr_HyperLinkCreate" ReturnType="Collection(Int64)">
            <Parameter Name="EntityID" Mode="In" Type="Int32" />
            <Parameter Name="ItemID" Mode="In" Type="Int64" />
            <Parameter Name="Title" Mode="In" Type="String" />
            <Parameter Name="Description" Mode="In" Type="String" />
            <Parameter Name="Url" Mode="In" Type="String" />
            <Parameter Name="ThumbnailUrl" Mode="In" Type="String" />
            <Parameter Name="OpenInNewWindow" Mode="In" Type="Boolean" />
            <Parameter Name="HyperLinkByUserName" Mode="In" Type="String" />
          </FunctionImport>
          <FunctionImport Name="Pr_HyperLinkDelete" ReturnType="Collection(Boolean)">
            <Parameter Name="HyperLinkID" Mode="In" Type="Int64" />
            <Parameter Name="HyperLinkByUserName" Mode="In" Type="String" />
          </FunctionImport>
          <FunctionImport Name="Pr_HyperLinkUpdate" ReturnType="Collection(Boolean)">
            <Parameter Name="HyperLinkID" Mode="In" Type="Int64" />
            <Parameter Name="Title" Mode="In" Type="String" />
            <Parameter Name="Description" Mode="In" Type="String" />
            <Parameter Name="Url" Mode="In" Type="String" />
            <Parameter Name="ThumbnailUrl" Mode="In" Type="String" />
            <Parameter Name="OpenInNewWindow" Mode="In" Type="Boolean" />
            <Parameter Name="HyperLinkByUserName" Mode="In" Type="String" />
          </FunctionImport>
          </EntityContainer>
        <EntityType Name="CaptureField">
          <Key>
            <PropertyRef Name="CaptureFieldID" />
          </Key>
          <Property Name="CaptureFieldID" Type="Int16" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
          <Property Name="Description" Type="String" Nullable="false" MaxLength="100" Unicode="false" FixedLength="false" />
          <Property Name="IsCancelled" Type="Boolean" Nullable="false" />
        </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="ModelStoreContainer" CdmEntityContainer="FormContext">
          <EntitySetMapping Name="CaptureFields"><EntityTypeMapping TypeName="Model.CaptureField"><MappingFragment StoreEntitySet="CaptureFields">
            <ScalarProperty Name="CaptureFieldID" ColumnName="CaptureFieldID" />
            <ScalarProperty Name="Description" ColumnName="Description" />
            <ScalarProperty Name="IsCancelled" ColumnName="IsCancelled" />
          </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="CodeGenerationStrategy" Value="None" />
        <DesignerProperty Name="UseLegacyProvider" Value="True" />
      </DesignerInfoPropertySet>
    </Options>
    <!-- Diagram content (shape and connector positions) -->
    <Diagrams>
      <Diagram Name="FormModel" ZoomLevel="82">
        <EntityTypeShape EntityType="Model.CaptureField" Width="2.5" PointX="8" PointY="5.625" Height="1.787985026041667" IsExpanded="true" />
      </Diagram>
    </Diagrams>
  </Designer>
</edmx:Edmx>