File: FileSystemEntityModel.edmx

package info (click to toggle)
mono 4.6.2.7+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 778,148 kB
  • ctags: 914,052
  • sloc: cs: 5,779,509; xml: 2,773,713; ansic: 432,645; sh: 14,749; makefile: 12,361; perl: 2,488; python: 1,434; cpp: 849; asm: 531; sql: 95; sed: 16; php: 1
file content (184 lines) | stat: -rw-r--r-- 11,134 bytes parent folder | download | duplicates (4)
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<?xml version="1.0" encoding="utf-8"?>
<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="DataServicesTestDatabaseModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2005" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
        <EntityContainer Name="DataServicesTestDatabaseModelStoreContainer">
          <EntitySet Name="File" EntityType="DataServicesTestDatabaseModel.Store.File" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
          <EntitySet Name="Folder" EntityType="DataServicesTestDatabaseModel.Store.Folder" store:Type="Tables" Schema="dbo" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
          <AssociationSet Name="FK_File_Folder" Association="DataServicesTestDatabaseModel.Store.FK_File_Folder">
            <End Role="Folder" EntitySet="Folder" />
            <End Role="File" EntitySet="File" />
          </AssociationSet>
          <AssociationSet Name="FK_Folder_Folder" Association="DataServicesTestDatabaseModel.Store.FK_Folder_Folder">
            <End Role="Folder" EntitySet="Folder" />
            <End Role="Folder1" EntitySet="Folder" />
          </AssociationSet>
        </EntityContainer>
        <EntityType Name="File">
          <Key>
            <PropertyRef Name="FileId" />
          </Key>
          <Property Name="FileId" Type="uniqueidentifier" Nullable="false" />
          <Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="200" />
          <Property Name="Description" Type="nvarchar" Nullable="false" MaxLength="200" />
          <Property Name="CreatedDate" Type="datetime" Nullable="false" />
          <Property Name="FolderId" Type="uniqueidentifier" Nullable="false" />
        </EntityType>
        <EntityType Name="Folder">
          <Key>
            <PropertyRef Name="FolderId" />
          </Key>
          <Property Name="FolderId" Type="uniqueidentifier" Nullable="false" />
          <Property Name="Name" Type="nvarchar" Nullable="false" MaxLength="200" />
          <Property Name="Description" Type="nvarchar" Nullable="false" MaxLength="200" />
          <Property Name="CreatedDate" Type="datetime" Nullable="false" />
          <Property Name="ParentFolderId" Type="uniqueidentifier" />
        </EntityType>
        <Association Name="FK_File_Folder">
          <End Role="Folder" Type="DataServicesTestDatabaseModel.Store.Folder" Multiplicity="1" />
          <End Role="File" Type="DataServicesTestDatabaseModel.Store.File" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Folder">
              <PropertyRef Name="FolderId" />
            </Principal>
            <Dependent Role="File">
              <PropertyRef Name="FolderId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
        <Association Name="FK_Folder_Folder">
          <End Role="Folder" Type="DataServicesTestDatabaseModel.Store.Folder" Multiplicity="0..1" />
          <End Role="Folder1" Type="DataServicesTestDatabaseModel.Store.Folder" Multiplicity="*" />
          <ReferentialConstraint>
            <Principal Role="Folder">
              <PropertyRef Name="FolderId" />
            </Principal>
            <Dependent Role="Folder1">
              <PropertyRef Name="ParentFolderId" />
            </Dependent>
          </ReferentialConstraint>
        </Association>
      </Schema>
    </edmx:StorageModels>
    <!-- CSDL content -->
    <edmx:ConceptualModels>
      <Schema Namespace="DataServicesTestDatabaseModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
        <EntityContainer Name="DataServicesTestDatabaseEntities">
          <EntitySet Name="File" EntityType="DataServicesTestDatabaseModel.File" />
          <EntitySet Name="Folder" EntityType="DataServicesTestDatabaseModel.Folder" />
          <AssociationSet Name="FK_File_Folder" Association="DataServicesTestDatabaseModel.FK_File_Folder">
            <End Role="Folder" EntitySet="Folder" />
            <End Role="File" EntitySet="File" />
          </AssociationSet>
          <AssociationSet Name="FK_Folder_Folder" Association="DataServicesTestDatabaseModel.FK_Folder_Folder">
            <End Role="Folder" EntitySet="Folder" />
            <End Role="Folder1" EntitySet="Folder" />
          </AssociationSet>
        </EntityContainer>
        <EntityType Name="File">
          <Key>
            <PropertyRef Name="FileId" />
          </Key>
          <Property Name="FileId" Type="Guid" Nullable="false" />
          <Property Name="Name" Type="String" Nullable="false" MaxLength="200" Unicode="true" FixedLength="false" />
          <Property Name="Description" Type="String" Nullable="false" MaxLength="200" Unicode="true" FixedLength="false" />
          <Property Name="CreatedDate" Type="DateTime" Nullable="false" />
          <NavigationProperty Name="Folder" Relationship="DataServicesTestDatabaseModel.FK_File_Folder" FromRole="File" ToRole="Folder" />
        </EntityType>
        <EntityType Name="Folder">
          <Key>
            <PropertyRef Name="FolderId" />
          </Key>
          <Property Name="FolderId" Type="Guid" Nullable="false" />
          <Property Name="Name" Type="String" Nullable="false" MaxLength="200" Unicode="true" FixedLength="false" />
          <Property Name="Description" Type="String" Nullable="false" MaxLength="200" Unicode="true" FixedLength="false" />
          <Property Name="CreatedDate" Type="DateTime" Nullable="false" />
          <NavigationProperty Name="Files" Relationship="DataServicesTestDatabaseModel.FK_File_Folder" FromRole="Folder" ToRole="File" />
          <NavigationProperty Name="ChildFolders" Relationship="DataServicesTestDatabaseModel.FK_Folder_Folder" FromRole="Folder" ToRole="Folder1" />
          <NavigationProperty Name="ParentFolder" Relationship="DataServicesTestDatabaseModel.FK_Folder_Folder" FromRole="Folder1" ToRole="Folder" />
        </EntityType>
        <Association Name="FK_File_Folder">
          <End Role="Folder" Type="DataServicesTestDatabaseModel.Folder" Multiplicity="1" />
          <End Role="File" Type="DataServicesTestDatabaseModel.File" Multiplicity="*" />
        </Association>
        <Association Name="FK_Folder_Folder">
          <End Role="Folder" Type="DataServicesTestDatabaseModel.Folder" Multiplicity="0..1" />
          <End Role="Folder1" Type="DataServicesTestDatabaseModel.Folder" Multiplicity="*" />
        </Association>
      </Schema>
    </edmx:ConceptualModels>
    <!-- C-S mapping content -->
    <edmx:Mappings>
      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
        <EntityContainerMapping StorageEntityContainer="DataServicesTestDatabaseModelStoreContainer" CdmEntityContainer="DataServicesTestDatabaseEntities">
          <EntitySetMapping Name="File">
            <EntityTypeMapping TypeName="IsTypeOf(DataServicesTestDatabaseModel.File)">
              <MappingFragment StoreEntitySet="File">
                <ScalarProperty Name="FileId" ColumnName="FileId" />
                <ScalarProperty Name="Name" ColumnName="Name" />
                <ScalarProperty Name="Description" ColumnName="Description" />
                <ScalarProperty Name="CreatedDate" ColumnName="CreatedDate" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <EntitySetMapping Name="Folder">
            <EntityTypeMapping TypeName="IsTypeOf(DataServicesTestDatabaseModel.Folder)">
              <MappingFragment StoreEntitySet="Folder">
                <ScalarProperty Name="FolderId" ColumnName="FolderId" />
                <ScalarProperty Name="Name" ColumnName="Name" />
                <ScalarProperty Name="Description" ColumnName="Description" />
                <ScalarProperty Name="CreatedDate" ColumnName="CreatedDate" />
              </MappingFragment>
            </EntityTypeMapping>
          </EntitySetMapping>
          <AssociationSetMapping Name="FK_File_Folder" TypeName="DataServicesTestDatabaseModel.FK_File_Folder" StoreEntitySet="File">
            <EndProperty Name="Folder">
              <ScalarProperty Name="FolderId" ColumnName="FolderId" />
            </EndProperty>
            <EndProperty Name="File">
              <ScalarProperty Name="FileId" ColumnName="FileId" />
            </EndProperty>
          </AssociationSetMapping>
          <AssociationSetMapping Name="FK_Folder_Folder" TypeName="DataServicesTestDatabaseModel.FK_Folder_Folder" StoreEntitySet="Folder">
            <EndProperty Name="Folder">
              <ScalarProperty Name="FolderId" ColumnName="ParentFolderId" />
            </EndProperty>
            <EndProperty Name="Folder1">
              <ScalarProperty Name="FolderId" ColumnName="FolderId" />
            </EndProperty>
            <Condition ColumnName="ParentFolderId" IsNull="false" />
          </AssociationSetMapping>
        </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/2008/10/edmx">
        <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
      </DesignerInfoPropertySet>
    </edmx:Connection>
    <edmx:Options>
      <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="FileSystemEntityModel" xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
        <EntityTypeShape EntityType="DataServicesTestDatabaseModel.File" Width="1.5" PointX="3" PointY="1.125" Height="1.9802864583333335" IsExpanded="true" />
        <EntityTypeShape EntityType="DataServicesTestDatabaseModel.Folder" Width="1.5" PointX="0.75" PointY="1" Height="2.3648893229166665" IsExpanded="true" />
        <AssociationConnector Association="DataServicesTestDatabaseModel.FK_File_Folder" ManuallyRouted="false">
          <ConnectorPoint PointX="2.25" PointY="2.1151432291666667" />
          <ConnectorPoint PointX="3" PointY="2.1151432291666667" /></AssociationConnector>
        <AssociationConnector Association="DataServicesTestDatabaseModel.FK_Folder_Folder" ManuallyRouted="false">
          <ConnectorPoint PointX="1.2819230769230767" PointY="3.3648893229166665" />
          <ConnectorPoint PointX="1.2819230769230767" PointY="3.6148893229166665" />
          <ConnectorPoint PointX="1.7284615384615383" PointY="3.6148893229166665" />
          <ConnectorPoint PointX="1.7284615384615383" PointY="3.3648893229166665" /></AssociationConnector></Diagram></edmx:Diagrams>
  </edmx:Designer>
</edmx:Edmx>