root / trunk / Libraries / Json40r2 / Source / Src / Newtonsoft.Json.Tests / FileSystemEntityModel.edmx @ 0eea575a
History | View | Annotate | Download (10.9 kB)
1 |
<?xml version="1.0" encoding="utf-8"?> |
---|---|
2 |
<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx"> |
3 |
<!-- EF Runtime content --> |
4 |
<edmx:Runtime> |
5 |
<!-- SSDL content --> |
6 |
<edmx:StorageModels> |
7 |
<Schema Namespace="DataServicesTestDatabaseModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2005" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl"> |
8 |
<EntityContainer Name="DataServicesTestDatabaseModelStoreContainer"> |
9 |
<EntitySet Name="File" EntityType="DataServicesTestDatabaseModel.Store.File" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" /> |
10 |
<EntitySet Name="Folder" EntityType="DataServicesTestDatabaseModel.Store.Folder" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" /> |
11 |
<AssociationSet Name="FK_File_Folder" Association="DataServicesTestDatabaseModel.Store.FK_File_Folder"> |
12 |
<End Role="Folder" EntitySet="Folder" /> |
13 |
<End Role="File" EntitySet="File" /> |
14 |
</AssociationSet> |
15 |
<AssociationSet Name="FK_Folder_Folder" Association="DataServicesTestDatabaseModel.Store.FK_Folder_Folder"> |
16 |
<End Role="Folder" EntitySet="Folder" /> |
17 |
<End Role="Folder1" EntitySet="Folder" /> |
18 |
</AssociationSet> |
19 |
</EntityContainer> |
20 |
<EntityType Name="File"> |
21 |
<Key> |
22 |
<PropertyRef Name="FileId" /> |
23 |
</Key> |
24 |
<Property Name="FileId" Type="uniqueidentifier" Nullable="false" /> |
25 |
<Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="200" /> |
26 |
<Property Name="Description" Type="nvarchar" Nullable="false" MaxLength="200" /> |
27 |
<Property Name="CreatedDate" Type="datetime" Nullable="false" /> |
28 |
<Property Name="FolderId" Type="uniqueidentifier" Nullable="false" /> |
29 |
</EntityType> |
30 |
<EntityType Name="Folder"> |
31 |
<Key> |
32 |
<PropertyRef Name="FolderId" /> |
33 |
</Key> |
34 |
<Property Name="FolderId" Type="uniqueidentifier" Nullable="false" /> |
35 |
<Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="200" /> |
36 |
<Property Name="Description" Type="nvarchar" Nullable="false" MaxLength="200" /> |
37 |
<Property Name="CreatedDate" Type="datetime" Nullable="false" /> |
38 |
<Property Name="ParentFolderId" Type="uniqueidentifier" /> |
39 |
</EntityType> |
40 |
<Association Name="FK_File_Folder"> |
41 |
<End Role="Folder" Type="DataServicesTestDatabaseModel.Store.Folder" Multiplicity="1" /> |
42 |
<End Role="File" Type="DataServicesTestDatabaseModel.Store.File" Multiplicity="*" /> |
43 |
<ReferentialConstraint> |
44 |
<Principal Role="Folder"> |
45 |
<PropertyRef Name="FolderId" /> |
46 |
</Principal> |
47 |
<Dependent Role="File"> |
48 |
<PropertyRef Name="FolderId" /> |
49 |
</Dependent> |
50 |
</ReferentialConstraint> |
51 |
</Association> |
52 |
<Association Name="FK_Folder_Folder"> |
53 |
<End Role="Folder" Type="DataServicesTestDatabaseModel.Store.Folder" Multiplicity="0..1" /> |
54 |
<End Role="Folder1" Type="DataServicesTestDatabaseModel.Store.Folder" Multiplicity="*" /> |
55 |
<ReferentialConstraint> |
56 |
<Principal Role="Folder"> |
57 |
<PropertyRef Name="FolderId" /> |
58 |
</Principal> |
59 |
<Dependent Role="Folder1"> |
60 |
<PropertyRef Name="ParentFolderId" /> |
61 |
</Dependent> |
62 |
</ReferentialConstraint> |
63 |
</Association> |
64 |
</Schema> |
65 |
</edmx:StorageModels> |
66 |
<!-- CSDL content --> |
67 |
<edmx:ConceptualModels> |
68 |
<Schema Namespace="DataServicesTestDatabaseModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"> |
69 |
<EntityContainer Name="DataServicesTestDatabaseEntities"> |
70 |
<EntitySet Name="File" EntityType="DataServicesTestDatabaseModel.File" /> |
71 |
<EntitySet Name="Folder" EntityType="DataServicesTestDatabaseModel.Folder" /> |
72 |
<AssociationSet Name="FK_File_Folder" Association="DataServicesTestDatabaseModel.FK_File_Folder"> |
73 |
<End Role="Folder" EntitySet="Folder" /> |
74 |
<End Role="File" EntitySet="File" /> |
75 |
</AssociationSet> |
76 |
<AssociationSet Name="FK_Folder_Folder" Association="DataServicesTestDatabaseModel.FK_Folder_Folder"> |
77 |
<End Role="Folder" EntitySet="Folder" /> |
78 |
<End Role="Folder1" EntitySet="Folder" /> |
79 |
</AssociationSet> |
80 |
</EntityContainer> |
81 |
<EntityType Name="File"> |
82 |
<Key> |
83 |
<PropertyRef Name="FileId" /> |
84 |
</Key> |
85 |
<Property Name="FileId" Type="Guid" Nullable="false" /> |
86 |
<Property Name="Name" Type="String" Nullable="false" MaxLength="200" Unicode="true" FixedLength="false" /> |
87 |
<Property Name="Description" Type="String" Nullable="false" MaxLength="200" Unicode="true" FixedLength="false" /> |
88 |
<Property Name="CreatedDate" Type="DateTime" Nullable="false" /> |
89 |
<NavigationProperty Name="Folder" Relationship="DataServicesTestDatabaseModel.FK_File_Folder" FromRole="File" ToRole="Folder" /> |
90 |
</EntityType> |
91 |
<EntityType Name="Folder"> |
92 |
<Key> |
93 |
<PropertyRef Name="FolderId" /> |
94 |
</Key> |
95 |
<Property Name="FolderId" Type="Guid" Nullable="false" /> |
96 |
<Property Name="Name" Type="String" Nullable="false" MaxLength="200" Unicode="true" FixedLength="false" /> |
97 |
<Property Name="Description" Type="String" Nullable="false" MaxLength="200" Unicode="true" FixedLength="false" /> |
98 |
<Property Name="CreatedDate" Type="DateTime" Nullable="false" /> |
99 |
<NavigationProperty Name="Files" Relationship="DataServicesTestDatabaseModel.FK_File_Folder" FromRole="Folder" ToRole="File" /> |
100 |
<NavigationProperty Name="ChildFolders" Relationship="DataServicesTestDatabaseModel.FK_Folder_Folder" FromRole="Folder" ToRole="Folder1" /> |
101 |
<NavigationProperty Name="ParentFolder" Relationship="DataServicesTestDatabaseModel.FK_Folder_Folder" FromRole="Folder1" ToRole="Folder" /> |
102 |
</EntityType> |
103 |
<Association Name="FK_File_Folder"> |
104 |
<End Role="Folder" Type="DataServicesTestDatabaseModel.Folder" Multiplicity="1" /> |
105 |
<End Role="File" Type="DataServicesTestDatabaseModel.File" Multiplicity="*" /> |
106 |
</Association> |
107 |
<Association Name="FK_Folder_Folder"> |
108 |
<End Role="Folder" Type="DataServicesTestDatabaseModel.Folder" Multiplicity="0..1" /> |
109 |
<End Role="Folder1" Type="DataServicesTestDatabaseModel.Folder" Multiplicity="*" /> |
110 |
</Association> |
111 |
</Schema> |
112 |
</edmx:ConceptualModels> |
113 |
<!-- C-S mapping content --> |
114 |
<edmx:Mappings> |
115 |
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs"> |
116 |
<EntityContainerMapping StorageEntityContainer="DataServicesTestDatabaseModelStoreContainer" CdmEntityContainer="DataServicesTestDatabaseEntities"> |
117 |
<EntitySetMapping Name="File"> |
118 |
<EntityTypeMapping TypeName="IsTypeOf(DataServicesTestDatabaseModel.File)"> |
119 |
<MappingFragment StoreEntitySet="File"> |
120 |
<ScalarProperty Name="FileId" ColumnName="FileId" /> |
121 |
<ScalarProperty Name="Name" ColumnName="Name" /> |
122 |
<ScalarProperty Name="Description" ColumnName="Description" /> |
123 |
<ScalarProperty Name="CreatedDate" ColumnName="CreatedDate" /> |
124 |
</MappingFragment> |
125 |
</EntityTypeMapping> |
126 |
</EntitySetMapping> |
127 |
<EntitySetMapping Name="Folder"> |
128 |
<EntityTypeMapping TypeName="IsTypeOf(DataServicesTestDatabaseModel.Folder)"> |
129 |
<MappingFragment StoreEntitySet="Folder"> |
130 |
<ScalarProperty Name="FolderId" ColumnName="FolderId" /> |
131 |
<ScalarProperty Name="Name" ColumnName="Name" /> |
132 |
<ScalarProperty Name="Description" ColumnName="Description" /> |
133 |
<ScalarProperty Name="CreatedDate" ColumnName="CreatedDate" /> |
134 |
</MappingFragment> |
135 |
</EntityTypeMapping> |
136 |
</EntitySetMapping> |
137 |
<AssociationSetMapping Name="FK_File_Folder" TypeName="DataServicesTestDatabaseModel.FK_File_Folder" StoreEntitySet="File"> |
138 |
<EndProperty Name="Folder"> |
139 |
<ScalarProperty Name="FolderId" ColumnName="FolderId" /> |
140 |
</EndProperty> |
141 |
<EndProperty Name="File"> |
142 |
<ScalarProperty Name="FileId" ColumnName="FileId" /> |
143 |
</EndProperty> |
144 |
</AssociationSetMapping> |
145 |
<AssociationSetMapping Name="FK_Folder_Folder" TypeName="DataServicesTestDatabaseModel.FK_Folder_Folder" StoreEntitySet="Folder"> |
146 |
<EndProperty Name="Folder"> |
147 |
<ScalarProperty Name="FolderId" ColumnName="ParentFolderId" /> |
148 |
</EndProperty> |
149 |
<EndProperty Name="Folder1"> |
150 |
<ScalarProperty Name="FolderId" ColumnName="FolderId" /> |
151 |
</EndProperty> |
152 |
<Condition ColumnName="ParentFolderId" IsNull="false" /> |
153 |
</AssociationSetMapping> |
154 |
</EntityContainerMapping> |
155 |
</Mapping> |
156 |
</edmx:Mappings> |
157 |
</edmx:Runtime> |
158 |
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) --> |
159 |
<edmx:Designer> |
160 |
<edmx:Connection> |
161 |
<DesignerInfoPropertySet xmlns="http://schemas.microsoft.com/ado/2008/10/edmx"> |
162 |
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" /> |
163 |
</DesignerInfoPropertySet> |
164 |
</edmx:Connection> |
165 |
<edmx:Options> |
166 |
<DesignerInfoPropertySet xmlns="http://schemas.microsoft.com/ado/2008/10/edmx"> |
167 |
<DesignerProperty Name="ValidateOnBuild" Value="true" /> |
168 |
</DesignerInfoPropertySet> |
169 |
</edmx:Options> |
170 |
<!-- Diagram content (shape and connector positions) --> |
171 |
<edmx:Diagrams> |
172 |
<Diagram Name="FileSystemEntityModel" xmlns="http://schemas.microsoft.com/ado/2008/10/edmx"> |
173 |
<EntityTypeShape EntityType="DataServicesTestDatabaseModel.File" Width="1.5" PointX="3" PointY="1.125" Height="1.9802864583333335" IsExpanded="true" /> |
174 |
<EntityTypeShape EntityType="DataServicesTestDatabaseModel.Folder" Width="1.5" PointX="0.75" PointY="1" Height="2.3648893229166665" IsExpanded="true" /> |
175 |
<AssociationConnector Association="DataServicesTestDatabaseModel.FK_File_Folder" ManuallyRouted="false"> |
176 |
<ConnectorPoint PointX="2.25" PointY="2.1151432291666667" /> |
177 |
<ConnectorPoint PointX="3" PointY="2.1151432291666667" /></AssociationConnector> |
178 |
<AssociationConnector Association="DataServicesTestDatabaseModel.FK_Folder_Folder" ManuallyRouted="false"> |
179 |
<ConnectorPoint PointX="1.2819230769230767" PointY="3.3648893229166665" /> |
180 |
<ConnectorPoint PointX="1.2819230769230767" PointY="3.6148893229166665" /> |
181 |
<ConnectorPoint PointX="1.7284615384615383" PointY="3.6148893229166665" /> |
182 |
<ConnectorPoint PointX="1.7284615384615383" PointY="3.3648893229166665" /></AssociationConnector></Diagram></edmx:Diagrams> |
183 |
</edmx:Designer> |
184 |
</edmx:Edmx> |