-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTokenStore.edmx
83 lines (83 loc) · 4.42 KB
/
TokenStore.edmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?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="mammerla.YammerIntegration.Tokens.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
<EntityContainer Name="MicrosoftYammerIntegrationTokensStoreContainer">
<EntitySet Name="Tokens" EntityType="mammerla.YammerIntegration.Tokens.Store.Tokens" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
</EntityContainer>
<EntityType Name="Tokens">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uniqueidentifier" StoreGeneratedPattern="None" Nullable="false" />
<Property Name="StoreTypeId" Type="tinyint" Nullable="false" />
<Property Name="UserId" Type="nvarchar(max)" Nullable="false" />
<Property Name="TokenContent" Type="nvarchar(max)" Nullable="false" />
<Property Name="Type" Type="int" Nullable="false" />
<Property Name="Secret" Type="nvarchar(max)" Nullable="true" />
<Property Name="ContextContent" Type="nvarchar(max)" Nullable="true" />
</EntityType>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="mammerla.ServerIntegration" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns="http://schemas.microsoft.com/ado/2009/11/edm" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation">
<EntityContainer Name="TokenStore" annotation:LazyLoadingEnabled="true">
<EntitySet Name="Tokens" EntityType="mammerla.ServerIntegration.Token" />
</EntityContainer>
<EntityType Name="Token">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Type="Guid" Name="Id" Nullable="false" annotation:StoreGeneratedPattern="None" />
<Property Type="Byte" Name="StoreTypeId" Nullable="false" />
<Property Type="String" Name="UserId" Nullable="false" />
<Property Type="String" Name="TokenContent" Nullable="false" />
<Property Type="Int32" Name="Type" Nullable="false" />
<Property Type="String" Name="Secret" Nullable="true" />
<Property Type="String" Name="ContextContent" Nullable="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="MicrosoftYammerIntegrationTokensStoreContainer" CdmEntityContainer="TokenStore">
<EntitySetMapping Name="Tokens">
<EntityTypeMapping TypeName="IsTypeOf(mammerla.ServerIntegration.Token)">
<MappingFragment StoreEntitySet="Tokens">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="StoreTypeId" ColumnName="StoreTypeId" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="TokenContent" ColumnName="TokenContent" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Secret" ColumnName="Secret" />
<ScalarProperty Name="ContextContent" ColumnName="ContextContent" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping>
</Mapping></edmx:Mappings>
</edmx:Runtime>
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
<edmx:Designer>
<edmx:Connection>
<DesignerInfoPropertySet xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
</DesignerInfoPropertySet>
</edmx:Connection>
<edmx:Options>
<DesignerInfoPropertySet xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
<DesignerProperty Name="ValidateOnBuild" Value="true" />
<DesignerProperty Name="EnablePluralization" Value="True" />
<DesignerProperty Name="CodeGenerationStrategy" Value="Default" />
<DesignerProperty Name="ProcessDependentTemplatesOnSave" Value="False" />
</DesignerInfoPropertySet>
</edmx:Options>
<!-- Diagram content (shape and connector positions) -->
<edmx:Diagrams>
</edmx:Diagrams>
</edmx:Designer>
</edmx:Edmx>