-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAccounts.edmx
73 lines (73 loc) · 3.51 KB
/
Accounts.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
<?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="AccountsModel.Store" Alias="Self" Provider="System.Data.SqlServerCe.3.5" ProviderManifestToken="3.5" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
<EntityContainer Name="AccountsModelStoreContainer">
<EntitySet Name="Accounts" EntityType="AccountsModel.Store.Accounts" store:Type="Tables" Schema="dbo" />
</EntityContainer>
<EntityType Name="Accounts">
<Key>
<PropertyRef Name="Username" />
</Key>
<Property Name="Username" Type="nvarchar" Nullable="false" />
<Property Name="Password" Type="nvarchar" Nullable="false" />
<Property Name="UserLevel" Type="nvarchar" Nullable="false" />
</EntityType>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="AccountsModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
<EntityContainer Name="AccountsEntities" annotation:LazyLoadingEnabled="true" >
<EntitySet Name="Accounts" EntityType="AccountsModel.Account" />
</EntityContainer>
<EntityType Name="Account">
<Key>
<PropertyRef Name="Username" />
</Key>
<Property Type="String" Name="Username" Nullable="false" />
<Property Type="String" Name="Password" Nullable="false" />
<Property Type="String" Name="UserLevel" Nullable="false" />
</EntityType>
</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="AccountsModelStoreContainer" CdmEntityContainer="AccountsEntities">
<EntitySetMapping Name="Accounts">
<EntityTypeMapping TypeName="IsTypeOf(AccountsModel.Account)">
<MappingFragment StoreEntitySet="Accounts">
<ScalarProperty Name="Username" ColumnName="Username" />
<ScalarProperty Name="Password" ColumnName="Password" />
<ScalarProperty Name="UserLevel" ColumnName="UserLevel" />
</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/2008/10/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" />
</DesignerInfoPropertySet>
</Options>
<!-- Diagram content (shape and connector positions) -->
<Diagrams>
<Diagram Name="Model1" >
<EntityTypeShape EntityType="AccountsModel.Account" Width="1.5" PointX="2.5" PointY="1.5" Height="1.59568359375" />
</Diagram>
</Diagrams>
</Designer>
</edmx:Edmx>