EnVisageOnline/Main/Source/PrevuWebAPI/PrevuAPIEFModel.edmx

114 lines
6.5 KiB
XML

<?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="PrevuAPIModel.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="Properties">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="ClientId" Type="uniqueidentifier" Nullable="false" />
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="propertyName" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="propertyValue" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="propertyType" Type="nvarchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityType Name="Settings">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="ClientID" Type="uniqueidentifier" Nullable="false" />
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
<Property Name="setting" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="value" Type="nvarchar(max)" Nullable="false" />
<Property Name="valueType" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="description" Type="nvarchar(max)" Nullable="false" />
</EntityType>
<EntityContainer Name="PrevuAPIModelStoreContainer">
<EntitySet Name="Properties" EntityType="Self.Properties" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Settings" EntityType="Self.Settings" Schema="dbo" store:Type="Tables" />
</EntityContainer>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="PrevuAPIModel" 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="PrevuAPIEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="Properties" EntityType="PrevuAPIModel.Property" />
<EntitySet Name="Settings" EntityType="PrevuAPIModel.Setting" />
</EntityContainer>
<EntityType Name="Property">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="ClientId" Type="Guid" Nullable="false" />
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="propertyName" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="propertyValue" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="propertyType" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="Setting">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="ClientID" Type="Guid" Nullable="false" />
<Property Name="Id" Type="Guid" Nullable="false" />
<Property Name="setting1" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="value" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="valueType" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="description" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
</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="PrevuAPIModelStoreContainer" CdmEntityContainer="PrevuAPIEntities">
<EntitySetMapping Name="Properties">
<EntityTypeMapping TypeName="PrevuAPIModel.Property">
<MappingFragment StoreEntitySet="Properties">
<ScalarProperty Name="propertyType" ColumnName="propertyType" />
<ScalarProperty Name="propertyValue" ColumnName="propertyValue" />
<ScalarProperty Name="propertyName" ColumnName="propertyName" />
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="ClientId" ColumnName="ClientId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Settings">
<EntityTypeMapping TypeName="PrevuAPIModel.Setting">
<MappingFragment StoreEntitySet="Settings">
<ScalarProperty Name="description" ColumnName="description" />
<ScalarProperty Name="valueType" ColumnName="valueType" />
<ScalarProperty Name="value" ColumnName="value" />
<ScalarProperty Name="setting1" ColumnName="setting" />
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="ClientID" ColumnName="ClientID" />
</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>