summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.edmx
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Model.edmx')
-rw-r--r--projecttemplates/RelyingPartyLogic/Model.edmx58
1 files changed, 29 insertions, 29 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Model.edmx b/projecttemplates/RelyingPartyLogic/Model.edmx
index f3bb739..d00060c 100644
--- a/projecttemplates/RelyingPartyLogic/Model.edmx
+++ b/projecttemplates/RelyingPartyLogic/Model.edmx
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
+<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
- <Schema Namespace="DatabaseModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2005" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl">
+ <Schema Namespace="DatabaseModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2005" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
<EntityContainer Name="DatabaseModelStoreContainer">
- <EntitySet Name="AuthenticationToken" EntityType="DatabaseModel.Store.AuthenticationToken" store:Type="Tables" Schema="dbo" />
- <EntitySet Name="Consumer" EntityType="DatabaseModel.Store.Consumer" store:Type="Tables" Schema="dbo" />
- <EntitySet Name="IssuedToken" EntityType="DatabaseModel.Store.IssuedToken" store:Type="Tables" Schema="dbo" />
- <EntitySet Name="Nonce" EntityType="DatabaseModel.Store.Nonce" store:Type="Tables" Schema="dbo" />
- <EntitySet Name="OpenIDAssociation" EntityType="DatabaseModel.Store.OpenIDAssociation" store:Type="Tables" Schema="dbo" />
- <EntitySet Name="Role" EntityType="DatabaseModel.Store.Role" store:Type="Tables" Schema="dbo" />
- <EntitySet Name="User" EntityType="DatabaseModel.Store.User" store:Type="Tables" Schema="dbo" />
- <EntitySet Name="UserRole" EntityType="DatabaseModel.Store.UserRole" store:Type="Tables" Schema="dbo" />
+ <EntitySet Name="AuthenticationToken" EntityType="DatabaseModel.Store.AuthenticationToken" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
+ <EntitySet Name="Consumer" EntityType="DatabaseModel.Store.Consumer" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
+ <EntitySet Name="IssuedToken" EntityType="DatabaseModel.Store.IssuedToken" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
+ <EntitySet Name="Nonce" EntityType="DatabaseModel.Store.Nonce" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
+ <EntitySet Name="OpenIDAssociation" EntityType="DatabaseModel.Store.OpenIDAssociation" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
+ <EntitySet Name="Role" EntityType="DatabaseModel.Store.Role" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
+ <EntitySet Name="User" EntityType="DatabaseModel.Store.User" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
+ <EntitySet Name="UserRole" EntityType="DatabaseModel.Store.UserRole" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
<AssociationSet Name="FK_AuthenticationToken_User" Association="DatabaseModel.Store.FK_AuthenticationToken_User">
<End Role="User" EntitySet="User" />
<End Role="AuthenticationToken" EntitySet="AuthenticationToken" />
@@ -199,7 +199,7 @@
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
- <Schema Namespace="DatabaseModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2006/04/edm">
+ <Schema Namespace="DatabaseModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
<EntityContainer Name="DatabaseEntities">
<EntitySet Name="Roles" EntityType="DatabaseModel.Role" />
<EntitySet Name="Users" EntityType="DatabaseModel.User" />
@@ -243,11 +243,11 @@
<PropertyRef Name="UserId" /></Key>
<Property Name="FirstName" Type="String" MaxLength="50" Unicode="true" FixedLength="false" />
<Property Name="LastName" Type="String" MaxLength="50" Unicode="true" FixedLength="false" />
- <Property Name="EmailAddress" Type="String" MaxLength="100" Unicode="true" FixedLength="false" >
+ <Property Name="EmailAddress" Type="String" MaxLength="100" Unicode="true" FixedLength="false">
<Documentation>
<Summary>The email address claimed to be controlled by the user. Whether it is actually owned by the user is indicated by the EmailAddressVerified property.</Summary></Documentation></Property>
<NavigationProperty Name="Roles" Relationship="DatabaseModel.UserRole" FromRole="User" ToRole="Role" />
- <Property Name="EmailAddressVerified" Type="Boolean" Nullable="false" >
+ <Property Name="EmailAddressVerified" Type="Boolean" Nullable="false">
<Documentation>
<Summary>A value indicating whether the email address has been verified as actually owned by this user.</Summary></Documentation></Property>
<Property Name="CreatedOnUtc" Type="DateTime" Nullable="false" a:SetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" />
@@ -263,9 +263,9 @@
<PropertyRef Name="ConsumerId" /></Key>
<Property Name="ConsumerKey" Type="String" Nullable="false" />
<Property Name="ConsumerSecret" Type="String" Nullable="true" />
- <Property Name="X509CertificateAsBinary" Type="Binary" Nullable="true" a:SetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" a:GetterAccess="Private" />
+ <Property Name="X509CertificateAsBinary" Type="Binary" Nullable="true" a:SetterAccess="Private" a:GetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" />
<Property Name="CallbackAsString" Type="String" Nullable="true" />
- <Property Name="VerificationCodeFormatAsInt" Type="Int32" Nullable="false" a:GetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" a:SetterAccess="Private" />
+ <Property Name="VerificationCodeFormatAsInt" Type="Int32" Nullable="false" a:GetterAccess="Private" a:SetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" />
<Property Name="VerificationCodeLength" Type="Int32" Nullable="false" />
<Property Name="ConsumerId" Type="Int32" Nullable="false" a:SetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" />
<Property Name="Name" Type="String" Nullable="true" />
@@ -281,9 +281,9 @@
<NavigationProperty Name="Consumer" Relationship="DatabaseModel.FK_IssuedToken_Consumer1" FromRole="IssuedToken" ToRole="Consumer" />
<NavigationProperty Name="User" Relationship="DatabaseModel.FK_IssuedToken_User1" FromRole="IssuedToken" ToRole="User" /></EntityType>
<EntityType Name="IssuedRequestToken" BaseType="DatabaseModel.IssuedToken">
- <Property Name="ConsumerVersionAsString" Type="String" Nullable="false" a:GetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" a:SetterAccess="Private" />
+ <Property Name="ConsumerVersionAsString" Type="String" Nullable="false" a:GetterAccess="Private" a:SetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" />
<Property Name="VerificationCode" Type="String" Nullable="true" />
- <Property Name="CallbackAsString" Type="String" Nullable="true" a:GetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" a:SetterAccess="Private" /></EntityType>
+ <Property Name="CallbackAsString" Type="String" Nullable="true" a:GetterAccess="Private" a:SetterAccess="Private" xmlns:a="http://schemas.microsoft.com/ado/2006/04/codegeneration" /></EntityType>
<EntityType Name="IssuedAccessToken" BaseType="DatabaseModel.IssuedToken">
<Property Name="ExpirationDateUtc" Type="DateTime" Nullable="true" /></EntityType>
<Association Name="FK_AuthenticationToken_User">
@@ -299,7 +299,7 @@
<Key>
<PropertyRef Name="NonceId" /></Key>
<Property Name="NonceId" Type="Int32" Nullable="false" />
- <Property Name="Context" Type="String" Nullable="false" >
+ <Property Name="Context" Type="String" Nullable="false">
<Documentation>
<Summary>Gets or sets the Provider Endpoint URL the nonce came from.</Summary></Documentation></Property>
<Property Name="Code" Type="String" Nullable="false" />
@@ -309,7 +309,7 @@
<Key>
<PropertyRef Name="AssociationId" /></Key>
<Property Name="AssociationId" Type="Int32" Nullable="false" />
- <Property Name="DistinguishingFactor" Type="String" Nullable="false" >
+ <Property Name="DistinguishingFactor" Type="String" Nullable="false">
<Documentation>
<Summary>Gets or sets the Provider Endpoint URL the association is with.</Summary></Documentation></Property>
<Property Name="AssociationHandle" Type="String" Nullable="false" />
@@ -319,7 +319,7 @@
</edmx:ConceptualModels>
<!-- C-S mapping content -->
<edmx:Mappings>
- <Mapping Space="C-S" xmlns="urn:schemas-microsoft-com:windows:storage:mapping:CS">
+ <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
<EntityContainerMapping StorageEntityContainer="DatabaseModelStoreContainer" CdmEntityContainer="DatabaseEntities">
<EntitySetMapping Name="Roles">
<EntityTypeMapping TypeName="IsTypeOf(DatabaseModel.Role)">
@@ -379,14 +379,14 @@
<ScalarProperty Name="Token" ColumnName="Token" />
</MappingFragment></EntityTypeMapping>
<EntityTypeMapping TypeName="IsTypeOf(DatabaseModel.IssuedRequestToken)">
- <MappingFragment StoreEntitySet="IssuedToken" >
+ <MappingFragment StoreEntitySet="IssuedToken">
<ScalarProperty Name="IssuedTokenId" ColumnName="IssuedTokenId" />
<ScalarProperty Name="CallbackAsString" ColumnName="Callback" />
<ScalarProperty Name="ConsumerVersionAsString" ColumnName="ConsumerVersion" />
<ScalarProperty Name="VerificationCode" ColumnName="VerificationCode" />
<Condition ColumnName="IsAccessToken" Value="0" /></MappingFragment></EntityTypeMapping>
<EntityTypeMapping TypeName="IsTypeOf(DatabaseModel.IssuedAccessToken)">
- <MappingFragment StoreEntitySet="IssuedToken" >
+ <MappingFragment StoreEntitySet="IssuedToken">
<ScalarProperty Name="IssuedTokenId" ColumnName="IssuedTokenId" />
<ScalarProperty Name="ExpirationDateUtc" ColumnName="ExpirationDate" />
<Condition ColumnName="IsAccessToken" Value="1" /></MappingFragment></EntityTypeMapping></EntitySetMapping>
@@ -428,20 +428,20 @@
</edmx:Mappings>
</edmx:Runtime>
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
- <edmx:Designer xmlns="http://schemas.microsoft.com/ado/2007/06/edmx">
+ <edmx:Designer>
<edmx:Connection>
- <DesignerInfoPropertySet>
+ <DesignerInfoPropertySet xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
</DesignerInfoPropertySet>
</edmx:Connection>
<edmx:Options>
- <DesignerInfoPropertySet>
+ <DesignerInfoPropertySet xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
<DesignerProperty Name="ValidateOnBuild" Value="true" />
</DesignerInfoPropertySet>
</edmx:Options>
<!-- Diagram content (shape and connector positions) -->
<edmx:Diagrams>
- <Diagram Name="Model" ZoomLevel="56">
+ <Diagram Name="Model" ZoomLevel="56" xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
<EntityTypeShape EntityType="DatabaseModel.AuthenticationToken" Width="1.875" PointX="5.25" PointY="0.75" Height="2.5571907552083339" IsExpanded="true" />
<EntityTypeShape EntityType="DatabaseModel.Role" Width="1.5" PointX="0.75" PointY="1.25" Height="1.59568359375" IsExpanded="true" />
<EntityTypeShape EntityType="DatabaseModel.User" Width="1.75" PointX="2.875" PointY="0.5" Height="3.1340950520833339" IsExpanded="true" />
@@ -463,14 +463,14 @@
<ConnectorPoint PointX="6.875" PointY="6.6244921875" />
<ConnectorPoint PointX="6.875" PointY="7" />
</InheritanceConnector>
- <AssociationConnector Association="DatabaseModel.FK_AuthenticationToken_User" >
+ <AssociationConnector Association="DatabaseModel.FK_AuthenticationToken_User">
<ConnectorPoint PointX="4.625" PointY="1.4776205358072916" />
<ConnectorPoint PointX="5.25" PointY="1.4776205358072916" /></AssociationConnector>
- <AssociationConnector Association="DatabaseModel.FK_IssuedToken_Consumer1" >
+ <AssociationConnector Association="DatabaseModel.FK_IssuedToken_Consumer1">
<ConnectorPoint PointX="2.625" PointY="4.8322661624685885" />
<ConnectorPoint PointX="5.25" PointY="4.8322661624685885" />
</AssociationConnector>
- <AssociationConnector Association="DatabaseModel.FK_IssuedToken_User1" >
+ <AssociationConnector Association="DatabaseModel.FK_IssuedToken_User1">
<ConnectorPoint PointX="3.75" PointY="3.6340950520833339" />
<ConnectorPoint PointX="3.75" PointY="4.0627779870647478" />
<ConnectorPoint PointX="5.25" PointY="4.0627779870647478" /></AssociationConnector>