-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathModel1.edmx
142 lines (142 loc) · 7.92 KB
/
Model1.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
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
<?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="Projekt1DBModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
<!--Errors Found During Generation:
warning 6002: The table/view 'Projekt1DB.dbo.admintbl' does not have a primary key defined. The key has been inferred and the definition was created as a read-only table/view.-->
<EntityType Name="admintbl">
<Key>
<PropertyRef Name="Username" />
<PropertyRef Name="Password" />
<PropertyRef Name="Usertype" />
</Key>
<Property Name="Username" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Password" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Usertype" Type="nvarchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityType Name="contact">
<Key>
<PropertyRef Name="Email" />
</Key>
<Property Name="Username" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Email" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Reasons" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Text" Type="nvarchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityType Name="usertbl">
<Key>
<PropertyRef Name="Email" />
</Key>
<Property Name="Email" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Username" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Password" Type="nvarchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityContainer Name="Projekt1DBModelStoreContainer">
<EntitySet Name="contact" EntityType="Self.contact" Schema="dbo" store:Type="Tables" />
<EntitySet Name="usertbl" EntityType="Self.usertbl" Schema="dbo" store:Type="Tables" />
<EntitySet Name="admintbl" EntityType="Self.admintbl" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[admintbl].[Username] AS [Username],
[admintbl].[Password] AS [Password],
[admintbl].[Usertype] AS [Usertype]
FROM [dbo].[admintbl] AS [admintbl]</DefiningQuery>
</EntitySet>
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="Projekt1DBModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
<EntityType Name="contact">
<Key>
<PropertyRef Name="Email" />
</Key>
<Property Name="Username" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Email" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Reasons" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Text" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
</EntityType>
<EntityType Name="usertbl">
<Key>
<PropertyRef Name="Email" />
</Key>
<Property Name="Email" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Username" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
</EntityType>
<EntityType Name="admintbl">
<Key>
<PropertyRef Name="Username" />
<PropertyRef Name="Password" />
<PropertyRef Name="Usertype" />
</Key>
<Property Name="Username" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Password" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Usertype" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
</EntityType>
<EntityContainer Name="Projekt1DBEntities2" annotation:LazyLoadingEnabled="true">
<EntitySet Name="contacts" EntityType="Self.contact" />
<EntitySet Name="usertbls" EntityType="Self.usertbl" />
<EntitySet Name="admintbls" EntityType="Self.admintbl" />
</EntityContainer>
</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="Projekt1DBModelStoreContainer" CdmEntityContainer="Projekt1DBEntities2">
<EntitySetMapping Name="contacts">
<EntityTypeMapping TypeName="Projekt1DBModel.contact">
<MappingFragment StoreEntitySet="contact">
<ScalarProperty Name="Username" ColumnName="Username" />
<ScalarProperty Name="Email" ColumnName="Email" />
<ScalarProperty Name="Reasons" ColumnName="Reasons" />
<ScalarProperty Name="Text" ColumnName="Text" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="usertbls">
<EntityTypeMapping TypeName="Projekt1DBModel.usertbl">
<MappingFragment StoreEntitySet="usertbl">
<ScalarProperty Name="Email" ColumnName="Email" />
<ScalarProperty Name="Username" ColumnName="Username" />
<ScalarProperty Name="Password" ColumnName="Password" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="admintbls">
<EntityTypeMapping TypeName="Projekt1DBModel.admintbl">
<MappingFragment StoreEntitySet="admintbl">
<ScalarProperty Name="Username" ColumnName="Username" />
<ScalarProperty Name="Password" ColumnName="Password" />
<ScalarProperty Name="Usertype" ColumnName="Usertype" />
</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/2009/11/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" />
<DesignerProperty Name="UseLegacyProvider" Value="false" />
<DesignerProperty Name="CodeGenerationStrategy" Value="None" />
</DesignerInfoPropertySet>
</Options>
<!-- Diagram content (shape and connector positions) -->
<Diagrams></Diagrams>
</Designer>
</edmx:Edmx>