-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUsersDataSet.xsd
171 lines (171 loc) · 23.9 KB
/
UsersDataSet.xsd
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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="UsersDataSet" targetNamespace="http://tempuri.org/UsersDataSet.xsd" xmlns:mstns="http://tempuri.org/UsersDataSet.xsd" xmlns="http://tempuri.org/UsersDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ClinicConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ClinicConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Clinic.Properties.Settings.GlobalReference.Default.ClinicConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
<MainSource>
<DbSource ConnectionRef="ClinicConnectionString (Settings)" DbObjectName="dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[Users] WHERE (([userID] = @Original_userID) AND ([userName] = @Original_userName) AND ((@IsNull_userPassword = 1 AND [userPassword] IS NULL) OR ([userPassword] = @Original_userPassword)) AND ((@IsNull_userMail = 1 AND [userMail] IS NULL) OR ([userMail] = @Original_userMail)) AND ((@IsNull_Admin = 1 AND [Admin] IS NULL) OR ([Admin] = @Original_Admin)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_userID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_userPassword" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userPassword" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userPassword" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_userMail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userMail" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userMail" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Admin" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Admin" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Admin" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[Users] ([userID], [userName], [userPassword], [userMail], [Admin]) VALUES (@userID, @userName, @userPassword, @userMail, @Admin);
SELECT userID, userName, userPassword, userMail, Admin FROM Users WHERE (userID = @userID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@userID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userMail" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Admin" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT userID, userName, userPassword, userMail, Admin FROM dbo.Users</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[Users] SET [userID] = @userID, [userName] = @userName, [userPassword] = @userPassword, [userMail] = @userMail, [Admin] = @Admin WHERE (([userID] = @Original_userID) AND ([userName] = @Original_userName) AND ((@IsNull_userPassword = 1 AND [userPassword] IS NULL) OR ([userPassword] = @Original_userPassword)) AND ((@IsNull_userMail = 1 AND [userMail] IS NULL) OR ([userMail] = @Original_userMail)) AND ((@IsNull_Admin = 1 AND [Admin] IS NULL) OR ([Admin] = @Original_Admin)));
SELECT userID, userName, userPassword, userMail, Admin FROM Users WHERE (userID = @userID)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@userID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@userMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userMail" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Admin" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_userID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userID" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_userPassword" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userPassword" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userPassword" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_userMail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="userMail" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_userMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="userMail" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Admin" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Admin" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Admin" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Admin" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="userID" DataSetColumn="userID" />
<Mapping SourceColumn="userName" DataSetColumn="userName" />
<Mapping SourceColumn="userPassword" DataSetColumn="userPassword" />
<Mapping SourceColumn="userMail" DataSetColumn="userMail" />
<Mapping SourceColumn="Admin" DataSetColumn="Admin" />
</Mappings>
<Sources>
<DbSource ConnectionRef="ClinicConnectionString (Settings)" DbObjectName="dbo.Users" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetAllUsers" GetMethodModifier="Public" GetMethodName="GetAllUsers" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetAllUsers" UserSourceName="GetAllUsers">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT userID, userName, userPassword, userMail, Admin FROM dbo.Users</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ClinicConnectionString (Settings)" DbObjectName="dbo.Users" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetUserByName" GetMethodModifier="Public" GetMethodName="GetUserByName" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetUserByName" UserSourceName="GetUserByName">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT userID, userName, userPassword, userMail, Admin FROM dbo.Users WHERE userName = @userName and userPassword = @userPassword</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="userName" ColumnName="userName" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="userName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userPassword" ColumnName="userPassword" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@userPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="userPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="ClinicConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InsertUser" Modifier="Public" Name="InsertUser" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="InsertUser">
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>INSERT INTO [dbo].[Users] ([userID], [userName], [userPassword], [userMail], [Admin]) VALUES (@userID, @userName, @userPassword, @userMail, @Admin);</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="userID" ColumnName="userID" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@userID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="userID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="userName" ColumnName="userName" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="userName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userPassword" ColumnName="userPassword" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@userPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="userPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userMail" ColumnName="userMail" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@userMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="userMail" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Admin" ColumnName="Admin" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Admin" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="Admin" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
</DbSource>
<DbSource ConnectionRef="ClinicConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateUser" Modifier="Public" Name="UpdateUser" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="UpdateUser">
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>UPDATE [dbo].[Users] SET [userName] = @userName, [userPassword] = @userPassword, [userMail] = @userMail, [Admin] = @Admin WHERE userID = @Original_userID</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="userName" ColumnName="userName" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@userName" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="userName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userPassword" ColumnName="userPassword" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@userPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="userPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="userMail" ColumnName="userMail" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@userMail" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="userMail" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="Admin" ColumnName="Admin" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@Admin" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="Admin" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="Original_userID" ColumnName="userID" DataSourceName="[D:\PERSONAL\STUDYS\FUTURE ACADEMY\CLINIC\CLINIC\CLINIC.MDF].dbo.Users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_userID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="userID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="UsersDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="UsersDataSet" msprop:Generator_UserDSName="UsersDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Users" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_TablePropName="Users" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_UserTableName="Users" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowClassName="UsersRow">
<xs:complexType>
<xs:sequence>
<xs:element name="userID" msprop:Generator_ColumnVarNameInTable="columnuserID" msprop:Generator_ColumnPropNameInRow="userID" msprop:Generator_ColumnPropNameInTable="userIDColumn" msprop:Generator_UserColumnName="userID" type="xs:int" />
<xs:element name="userName" msprop:Generator_ColumnVarNameInTable="columnuserName" msprop:Generator_ColumnPropNameInRow="userName" msprop:Generator_ColumnPropNameInTable="userNameColumn" msprop:Generator_UserColumnName="userName">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="userPassword" msprop:Generator_ColumnVarNameInTable="columnuserPassword" msprop:Generator_ColumnPropNameInRow="userPassword" msprop:Generator_ColumnPropNameInTable="userPasswordColumn" msprop:Generator_UserColumnName="userPassword" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="userMail" msprop:Generator_ColumnVarNameInTable="columnuserMail" msprop:Generator_ColumnPropNameInRow="userMail" msprop:Generator_ColumnPropNameInTable="userMailColumn" msprop:Generator_UserColumnName="userMail" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Admin" msprop:Generator_ColumnVarNameInTable="columnAdmin" msprop:Generator_ColumnPropNameInRow="Admin" msprop:Generator_ColumnPropNameInTable="AdminColumn" msprop:Generator_UserColumnName="Admin" type="xs:boolean" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:Users" />
<xs:field xpath="mstns:userID" />
</xs:unique>
</xs:element>
</xs:schema>