1 | #pragma warning disable 1591
|
---|
2 | //------------------------------------------------------------------------------
|
---|
3 | // <auto-generated>
|
---|
4 | // This code was generated by a tool.
|
---|
5 | // Runtime Version:4.0.30319.1
|
---|
6 | //
|
---|
7 | // Changes to this file may cause incorrect behavior and will be lost if
|
---|
8 | // the code is regenerated.
|
---|
9 | // </auto-generated>
|
---|
10 | //------------------------------------------------------------------------------
|
---|
11 |
|
---|
12 | namespace HeuristicLab.Services.Authentication.DataAccess
|
---|
13 | {
|
---|
14 | using System.Data.Linq;
|
---|
15 | using System.Data.Linq.Mapping;
|
---|
16 | using System.Data;
|
---|
17 | using System.Collections.Generic;
|
---|
18 | using System.Reflection;
|
---|
19 | using System.Linq;
|
---|
20 | using System.Linq.Expressions;
|
---|
21 | using System.ComponentModel;
|
---|
22 | using System;
|
---|
23 |
|
---|
24 |
|
---|
25 | [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="HeuristicLab.Authentication")]
|
---|
26 | public partial class UserManagementDataContext : System.Data.Linq.DataContext
|
---|
27 | {
|
---|
28 |
|
---|
29 | private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
|
---|
30 |
|
---|
31 | #region Extensibility Method Definitions
|
---|
32 | partial void OnCreated();
|
---|
33 | partial void Insertaspnet_Application(aspnet_Application instance);
|
---|
34 | partial void Updateaspnet_Application(aspnet_Application instance);
|
---|
35 | partial void Deleteaspnet_Application(aspnet_Application instance);
|
---|
36 | partial void Insertaspnet_Membership(aspnet_Membership instance);
|
---|
37 | partial void Updateaspnet_Membership(aspnet_Membership instance);
|
---|
38 | partial void Deleteaspnet_Membership(aspnet_Membership instance);
|
---|
39 | partial void Insertaspnet_Path(aspnet_Path instance);
|
---|
40 | partial void Updateaspnet_Path(aspnet_Path instance);
|
---|
41 | partial void Deleteaspnet_Path(aspnet_Path instance);
|
---|
42 | partial void Insertaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance);
|
---|
43 | partial void Updateaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance);
|
---|
44 | partial void Deleteaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance);
|
---|
45 | partial void Insertaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance);
|
---|
46 | partial void Updateaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance);
|
---|
47 | partial void Deleteaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance);
|
---|
48 | partial void Insertaspnet_Profile(aspnet_Profile instance);
|
---|
49 | partial void Updateaspnet_Profile(aspnet_Profile instance);
|
---|
50 | partial void Deleteaspnet_Profile(aspnet_Profile instance);
|
---|
51 | partial void Insertaspnet_Role(aspnet_Role instance);
|
---|
52 | partial void Updateaspnet_Role(aspnet_Role instance);
|
---|
53 | partial void Deleteaspnet_Role(aspnet_Role instance);
|
---|
54 | partial void Insertaspnet_SchemaVersion(aspnet_SchemaVersion instance);
|
---|
55 | partial void Updateaspnet_SchemaVersion(aspnet_SchemaVersion instance);
|
---|
56 | partial void Deleteaspnet_SchemaVersion(aspnet_SchemaVersion instance);
|
---|
57 | partial void Insertaspnet_User(aspnet_User instance);
|
---|
58 | partial void Updateaspnet_User(aspnet_User instance);
|
---|
59 | partial void Deleteaspnet_User(aspnet_User instance);
|
---|
60 | partial void Insertaspnet_UsersInRole(aspnet_UsersInRole instance);
|
---|
61 | partial void Updateaspnet_UsersInRole(aspnet_UsersInRole instance);
|
---|
62 | partial void Deleteaspnet_UsersInRole(aspnet_UsersInRole instance);
|
---|
63 | partial void Insertaspnet_WebEvent_Event(aspnet_WebEvent_Event instance);
|
---|
64 | partial void Updateaspnet_WebEvent_Event(aspnet_WebEvent_Event instance);
|
---|
65 | partial void Deleteaspnet_WebEvent_Event(aspnet_WebEvent_Event instance);
|
---|
66 | #endregion
|
---|
67 |
|
---|
68 | public UserManagementDataContext() :
|
---|
69 | base(global::HeuristicLab.Services.Authentication.DataAccess.Properties.Settings.Default.HeuristicLab_AuthenticationConnectionString, mappingSource)
|
---|
70 | {
|
---|
71 | OnCreated();
|
---|
72 | }
|
---|
73 |
|
---|
74 | public UserManagementDataContext(string connection) :
|
---|
75 | base(connection, mappingSource)
|
---|
76 | {
|
---|
77 | OnCreated();
|
---|
78 | }
|
---|
79 |
|
---|
80 | public UserManagementDataContext(System.Data.IDbConnection connection) :
|
---|
81 | base(connection, mappingSource)
|
---|
82 | {
|
---|
83 | OnCreated();
|
---|
84 | }
|
---|
85 |
|
---|
86 | public UserManagementDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
---|
87 | base(connection, mappingSource)
|
---|
88 | {
|
---|
89 | OnCreated();
|
---|
90 | }
|
---|
91 |
|
---|
92 | public UserManagementDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
|
---|
93 | base(connection, mappingSource)
|
---|
94 | {
|
---|
95 | OnCreated();
|
---|
96 | }
|
---|
97 |
|
---|
98 | public System.Data.Linq.Table<aspnet_Application> aspnet_Applications
|
---|
99 | {
|
---|
100 | get
|
---|
101 | {
|
---|
102 | return this.GetTable<aspnet_Application>();
|
---|
103 | }
|
---|
104 | }
|
---|
105 |
|
---|
106 | public System.Data.Linq.Table<aspnet_Membership> aspnet_Memberships
|
---|
107 | {
|
---|
108 | get
|
---|
109 | {
|
---|
110 | return this.GetTable<aspnet_Membership>();
|
---|
111 | }
|
---|
112 | }
|
---|
113 |
|
---|
114 | public System.Data.Linq.Table<aspnet_Path> aspnet_Paths
|
---|
115 | {
|
---|
116 | get
|
---|
117 | {
|
---|
118 | return this.GetTable<aspnet_Path>();
|
---|
119 | }
|
---|
120 | }
|
---|
121 |
|
---|
122 | public System.Data.Linq.Table<aspnet_PersonalizationAllUser> aspnet_PersonalizationAllUsers
|
---|
123 | {
|
---|
124 | get
|
---|
125 | {
|
---|
126 | return this.GetTable<aspnet_PersonalizationAllUser>();
|
---|
127 | }
|
---|
128 | }
|
---|
129 |
|
---|
130 | public System.Data.Linq.Table<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUsers
|
---|
131 | {
|
---|
132 | get
|
---|
133 | {
|
---|
134 | return this.GetTable<aspnet_PersonalizationPerUser>();
|
---|
135 | }
|
---|
136 | }
|
---|
137 |
|
---|
138 | public System.Data.Linq.Table<aspnet_Profile> aspnet_Profiles
|
---|
139 | {
|
---|
140 | get
|
---|
141 | {
|
---|
142 | return this.GetTable<aspnet_Profile>();
|
---|
143 | }
|
---|
144 | }
|
---|
145 |
|
---|
146 | public System.Data.Linq.Table<aspnet_Role> aspnet_Roles
|
---|
147 | {
|
---|
148 | get
|
---|
149 | {
|
---|
150 | return this.GetTable<aspnet_Role>();
|
---|
151 | }
|
---|
152 | }
|
---|
153 |
|
---|
154 | public System.Data.Linq.Table<aspnet_SchemaVersion> aspnet_SchemaVersions
|
---|
155 | {
|
---|
156 | get
|
---|
157 | {
|
---|
158 | return this.GetTable<aspnet_SchemaVersion>();
|
---|
159 | }
|
---|
160 | }
|
---|
161 |
|
---|
162 | public System.Data.Linq.Table<aspnet_User> aspnet_Users
|
---|
163 | {
|
---|
164 | get
|
---|
165 | {
|
---|
166 | return this.GetTable<aspnet_User>();
|
---|
167 | }
|
---|
168 | }
|
---|
169 |
|
---|
170 | public System.Data.Linq.Table<aspnet_UsersInRole> aspnet_UsersInRoles
|
---|
171 | {
|
---|
172 | get
|
---|
173 | {
|
---|
174 | return this.GetTable<aspnet_UsersInRole>();
|
---|
175 | }
|
---|
176 | }
|
---|
177 |
|
---|
178 | public System.Data.Linq.Table<aspnet_WebEvent_Event> aspnet_WebEvent_Events
|
---|
179 | {
|
---|
180 | get
|
---|
181 | {
|
---|
182 | return this.GetTable<aspnet_WebEvent_Event>();
|
---|
183 | }
|
---|
184 | }
|
---|
185 |
|
---|
186 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Users_DeleteUser")]
|
---|
187 | public int aspnet_Users_DeleteUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="TablesToDeleteFrom", DbType="Int")] System.Nullable<int> tablesToDeleteFrom, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="NumTablesDeletedFrom", DbType="Int")] ref System.Nullable<int> numTablesDeletedFrom)
|
---|
188 | {
|
---|
189 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, tablesToDeleteFrom, numTablesDeletedFrom);
|
---|
190 | numTablesDeletedFrom = ((System.Nullable<int>)(result.GetParameterValue(3)));
|
---|
191 | return ((int)(result.ReturnValue));
|
---|
192 | }
|
---|
193 |
|
---|
194 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Users_CreateUser")]
|
---|
195 | public int aspnet_Users_CreateUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationId", DbType="UniqueIdentifier")] System.Nullable<System.Guid> applicationId, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="IsUserAnonymous", DbType="Bit")] System.Nullable<bool> isUserAnonymous, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="LastActivityDate", DbType="DateTime")] System.Nullable<System.DateTime> lastActivityDate, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserId", DbType="UniqueIdentifier")] ref System.Nullable<System.Guid> userId)
|
---|
196 | {
|
---|
197 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationId, userName, isUserAnonymous, lastActivityDate, userId);
|
---|
198 | userId = ((System.Nullable<System.Guid>)(result.GetParameterValue(4)));
|
---|
199 | return ((int)(result.ReturnValue));
|
---|
200 | }
|
---|
201 |
|
---|
202 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_AddUsersToRoles")]
|
---|
203 | public ISingleResult<aspnet_UsersInRoles_AddUsersToRolesResult> aspnet_UsersInRoles_AddUsersToRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNames", DbType="NVarChar(4000)")] string userNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleNames", DbType="NVarChar(4000)")] string roleNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CurrentTimeUtc", DbType="DateTime")] System.Nullable<System.DateTime> currentTimeUtc)
|
---|
204 | {
|
---|
205 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userNames, roleNames, currentTimeUtc);
|
---|
206 | return ((ISingleResult<aspnet_UsersInRoles_AddUsersToRolesResult>)(result.ReturnValue));
|
---|
207 | }
|
---|
208 |
|
---|
209 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_RemoveUsersFromRoles")]
|
---|
210 | public ISingleResult<aspnet_UsersInRoles_RemoveUsersFromRolesResult> aspnet_UsersInRoles_RemoveUsersFromRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNames", DbType="NVarChar(4000)")] string userNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleNames", DbType="NVarChar(4000)")] string roleNames)
|
---|
211 | {
|
---|
212 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userNames, roleNames);
|
---|
213 | return ((ISingleResult<aspnet_UsersInRoles_RemoveUsersFromRolesResult>)(result.ReturnValue));
|
---|
214 | }
|
---|
215 |
|
---|
216 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_IsUserInRole")]
|
---|
217 | public int aspnet_UsersInRoles_IsUserInRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName)
|
---|
218 | {
|
---|
219 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, roleName);
|
---|
220 | return ((int)(result.ReturnValue));
|
---|
221 | }
|
---|
222 |
|
---|
223 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_GetUsersInRoles")]
|
---|
224 | public ISingleResult<aspnet_UsersInRoles_GetUsersInRolesResult> aspnet_UsersInRoles_GetUsersInRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName)
|
---|
225 | {
|
---|
226 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName);
|
---|
227 | return ((ISingleResult<aspnet_UsersInRoles_GetUsersInRolesResult>)(result.ReturnValue));
|
---|
228 | }
|
---|
229 |
|
---|
230 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_GetRolesForUser")]
|
---|
231 | public ISingleResult<aspnet_UsersInRoles_GetRolesForUserResult> aspnet_UsersInRoles_GetRolesForUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName)
|
---|
232 | {
|
---|
233 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName);
|
---|
234 | return ((ISingleResult<aspnet_UsersInRoles_GetRolesForUserResult>)(result.ReturnValue));
|
---|
235 | }
|
---|
236 |
|
---|
237 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_FindUsersInRole")]
|
---|
238 | public ISingleResult<aspnet_UsersInRoles_FindUsersInRoleResult> aspnet_UsersInRoles_FindUsersInRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNameToMatch", DbType="NVarChar(256)")] string userNameToMatch)
|
---|
239 | {
|
---|
240 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName, userNameToMatch);
|
---|
241 | return ((ISingleResult<aspnet_UsersInRoles_FindUsersInRoleResult>)(result.ReturnValue));
|
---|
242 | }
|
---|
243 |
|
---|
244 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_CreateRole")]
|
---|
245 | public int aspnet_Roles_CreateRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName)
|
---|
246 | {
|
---|
247 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName);
|
---|
248 | return ((int)(result.ReturnValue));
|
---|
249 | }
|
---|
250 |
|
---|
251 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_DeleteRole")]
|
---|
252 | public int aspnet_Roles_DeleteRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="DeleteOnlyIfRoleIsEmpty", DbType="Bit")] System.Nullable<bool> deleteOnlyIfRoleIsEmpty)
|
---|
253 | {
|
---|
254 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName, deleteOnlyIfRoleIsEmpty);
|
---|
255 | return ((int)(result.ReturnValue));
|
---|
256 | }
|
---|
257 |
|
---|
258 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Applications_CreateApplication")]
|
---|
259 | public int aspnet_Applications_CreateApplication([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationId", DbType="UniqueIdentifier")] ref System.Nullable<System.Guid> applicationId)
|
---|
260 | {
|
---|
261 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, applicationId);
|
---|
262 | applicationId = ((System.Nullable<System.Guid>)(result.GetParameterValue(1)));
|
---|
263 | return ((int)(result.ReturnValue));
|
---|
264 | }
|
---|
265 |
|
---|
266 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_RoleExists")]
|
---|
267 | public int aspnet_Roles_RoleExists([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName)
|
---|
268 | {
|
---|
269 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName);
|
---|
270 | return ((int)(result.ReturnValue));
|
---|
271 | }
|
---|
272 |
|
---|
273 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_GetAllRoles")]
|
---|
274 | public ISingleResult<aspnet_Roles_GetAllRolesResult> aspnet_Roles_GetAllRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName)
|
---|
275 | {
|
---|
276 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName);
|
---|
277 | return ((ISingleResult<aspnet_Roles_GetAllRolesResult>)(result.ReturnValue));
|
---|
278 | }
|
---|
279 |
|
---|
280 | [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Membership_CreateUser")]
|
---|
281 | public int aspnet_Membership_CreateUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="Password", DbType="NVarChar(128)")] string password, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordSalt", DbType="NVarChar(128)")] string passwordSalt, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="Email", DbType="NVarChar(256)")] string email, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordQuestion", DbType="NVarChar(256)")] string passwordQuestion, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordAnswer", DbType="NVarChar(128)")] string passwordAnswer, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="IsApproved", DbType="Bit")] System.Nullable<bool> isApproved, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CurrentTimeUtc", DbType="DateTime")] System.Nullable<System.DateTime> currentTimeUtc, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CreateDate", DbType="DateTime")] System.Nullable<System.DateTime> createDate, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UniqueEmail", DbType="Int")] System.Nullable<int> uniqueEmail, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordFormat", DbType="Int")] System.Nullable<int> passwordFormat, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserId", DbType="UniqueIdentifier")] ref System.Nullable<System.Guid> userId)
|
---|
282 | {
|
---|
283 | IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, password, passwordSalt, email, passwordQuestion, passwordAnswer, isApproved, currentTimeUtc, createDate, uniqueEmail, passwordFormat, userId);
|
---|
284 | userId = ((System.Nullable<System.Guid>)(result.GetParameterValue(12)));
|
---|
285 | return ((int)(result.ReturnValue));
|
---|
286 | }
|
---|
287 | }
|
---|
288 |
|
---|
289 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Applications")]
|
---|
290 | public partial class aspnet_Application : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
291 | {
|
---|
292 |
|
---|
293 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
294 |
|
---|
295 | private string _ApplicationName;
|
---|
296 |
|
---|
297 | private string _LoweredApplicationName;
|
---|
298 |
|
---|
299 | private System.Guid _ApplicationId;
|
---|
300 |
|
---|
301 | private string _Description;
|
---|
302 |
|
---|
303 | private EntitySet<aspnet_Membership> _aspnet_Memberships;
|
---|
304 |
|
---|
305 | private EntitySet<aspnet_Path> _aspnet_Paths;
|
---|
306 |
|
---|
307 | private EntitySet<aspnet_Role> _aspnet_Roles;
|
---|
308 |
|
---|
309 | private EntitySet<aspnet_User> _aspnet_Users;
|
---|
310 |
|
---|
311 | #region Extensibility Method Definitions
|
---|
312 | partial void OnLoaded();
|
---|
313 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
314 | partial void OnCreated();
|
---|
315 | partial void OnApplicationNameChanging(string value);
|
---|
316 | partial void OnApplicationNameChanged();
|
---|
317 | partial void OnLoweredApplicationNameChanging(string value);
|
---|
318 | partial void OnLoweredApplicationNameChanged();
|
---|
319 | partial void OnApplicationIdChanging(System.Guid value);
|
---|
320 | partial void OnApplicationIdChanged();
|
---|
321 | partial void OnDescriptionChanging(string value);
|
---|
322 | partial void OnDescriptionChanged();
|
---|
323 | #endregion
|
---|
324 |
|
---|
325 | public aspnet_Application()
|
---|
326 | {
|
---|
327 | this._aspnet_Memberships = new EntitySet<aspnet_Membership>(new Action<aspnet_Membership>(this.attach_aspnet_Memberships), new Action<aspnet_Membership>(this.detach_aspnet_Memberships));
|
---|
328 | this._aspnet_Paths = new EntitySet<aspnet_Path>(new Action<aspnet_Path>(this.attach_aspnet_Paths), new Action<aspnet_Path>(this.detach_aspnet_Paths));
|
---|
329 | this._aspnet_Roles = new EntitySet<aspnet_Role>(new Action<aspnet_Role>(this.attach_aspnet_Roles), new Action<aspnet_Role>(this.detach_aspnet_Roles));
|
---|
330 | this._aspnet_Users = new EntitySet<aspnet_User>(new Action<aspnet_User>(this.attach_aspnet_Users), new Action<aspnet_User>(this.detach_aspnet_Users));
|
---|
331 | OnCreated();
|
---|
332 | }
|
---|
333 |
|
---|
334 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
335 | public string ApplicationName
|
---|
336 | {
|
---|
337 | get
|
---|
338 | {
|
---|
339 | return this._ApplicationName;
|
---|
340 | }
|
---|
341 | set
|
---|
342 | {
|
---|
343 | if ((this._ApplicationName != value))
|
---|
344 | {
|
---|
345 | this.OnApplicationNameChanging(value);
|
---|
346 | this.SendPropertyChanging();
|
---|
347 | this._ApplicationName = value;
|
---|
348 | this.SendPropertyChanged("ApplicationName");
|
---|
349 | this.OnApplicationNameChanged();
|
---|
350 | }
|
---|
351 | }
|
---|
352 | }
|
---|
353 |
|
---|
354 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredApplicationName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
355 | public string LoweredApplicationName
|
---|
356 | {
|
---|
357 | get
|
---|
358 | {
|
---|
359 | return this._LoweredApplicationName;
|
---|
360 | }
|
---|
361 | set
|
---|
362 | {
|
---|
363 | if ((this._LoweredApplicationName != value))
|
---|
364 | {
|
---|
365 | this.OnLoweredApplicationNameChanging(value);
|
---|
366 | this.SendPropertyChanging();
|
---|
367 | this._LoweredApplicationName = value;
|
---|
368 | this.SendPropertyChanged("LoweredApplicationName");
|
---|
369 | this.OnLoweredApplicationNameChanged();
|
---|
370 | }
|
---|
371 | }
|
---|
372 | }
|
---|
373 |
|
---|
374 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
375 | public System.Guid ApplicationId
|
---|
376 | {
|
---|
377 | get
|
---|
378 | {
|
---|
379 | return this._ApplicationId;
|
---|
380 | }
|
---|
381 | set
|
---|
382 | {
|
---|
383 | if ((this._ApplicationId != value))
|
---|
384 | {
|
---|
385 | this.OnApplicationIdChanging(value);
|
---|
386 | this.SendPropertyChanging();
|
---|
387 | this._ApplicationId = value;
|
---|
388 | this.SendPropertyChanged("ApplicationId");
|
---|
389 | this.OnApplicationIdChanged();
|
---|
390 | }
|
---|
391 | }
|
---|
392 | }
|
---|
393 |
|
---|
394 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(256)")]
|
---|
395 | public string Description
|
---|
396 | {
|
---|
397 | get
|
---|
398 | {
|
---|
399 | return this._Description;
|
---|
400 | }
|
---|
401 | set
|
---|
402 | {
|
---|
403 | if ((this._Description != value))
|
---|
404 | {
|
---|
405 | this.OnDescriptionChanging(value);
|
---|
406 | this.SendPropertyChanging();
|
---|
407 | this._Description = value;
|
---|
408 | this.SendPropertyChanged("Description");
|
---|
409 | this.OnDescriptionChanged();
|
---|
410 | }
|
---|
411 | }
|
---|
412 | }
|
---|
413 |
|
---|
414 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Membership", Storage="_aspnet_Memberships", ThisKey="ApplicationId", OtherKey="ApplicationId")]
|
---|
415 | public EntitySet<aspnet_Membership> aspnet_Memberships
|
---|
416 | {
|
---|
417 | get
|
---|
418 | {
|
---|
419 | return this._aspnet_Memberships;
|
---|
420 | }
|
---|
421 | set
|
---|
422 | {
|
---|
423 | this._aspnet_Memberships.Assign(value);
|
---|
424 | }
|
---|
425 | }
|
---|
426 |
|
---|
427 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Path", Storage="_aspnet_Paths", ThisKey="ApplicationId", OtherKey="ApplicationId")]
|
---|
428 | public EntitySet<aspnet_Path> aspnet_Paths
|
---|
429 | {
|
---|
430 | get
|
---|
431 | {
|
---|
432 | return this._aspnet_Paths;
|
---|
433 | }
|
---|
434 | set
|
---|
435 | {
|
---|
436 | this._aspnet_Paths.Assign(value);
|
---|
437 | }
|
---|
438 | }
|
---|
439 |
|
---|
440 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Role", Storage="_aspnet_Roles", ThisKey="ApplicationId", OtherKey="ApplicationId")]
|
---|
441 | public EntitySet<aspnet_Role> aspnet_Roles
|
---|
442 | {
|
---|
443 | get
|
---|
444 | {
|
---|
445 | return this._aspnet_Roles;
|
---|
446 | }
|
---|
447 | set
|
---|
448 | {
|
---|
449 | this._aspnet_Roles.Assign(value);
|
---|
450 | }
|
---|
451 | }
|
---|
452 |
|
---|
453 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_User", Storage="_aspnet_Users", ThisKey="ApplicationId", OtherKey="ApplicationId")]
|
---|
454 | public EntitySet<aspnet_User> aspnet_Users
|
---|
455 | {
|
---|
456 | get
|
---|
457 | {
|
---|
458 | return this._aspnet_Users;
|
---|
459 | }
|
---|
460 | set
|
---|
461 | {
|
---|
462 | this._aspnet_Users.Assign(value);
|
---|
463 | }
|
---|
464 | }
|
---|
465 |
|
---|
466 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
467 |
|
---|
468 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
469 |
|
---|
470 | protected virtual void SendPropertyChanging()
|
---|
471 | {
|
---|
472 | if ((this.PropertyChanging != null))
|
---|
473 | {
|
---|
474 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
475 | }
|
---|
476 | }
|
---|
477 |
|
---|
478 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
479 | {
|
---|
480 | if ((this.PropertyChanged != null))
|
---|
481 | {
|
---|
482 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
483 | }
|
---|
484 | }
|
---|
485 |
|
---|
486 | private void attach_aspnet_Memberships(aspnet_Membership entity)
|
---|
487 | {
|
---|
488 | this.SendPropertyChanging();
|
---|
489 | entity.aspnet_Application = this;
|
---|
490 | }
|
---|
491 |
|
---|
492 | private void detach_aspnet_Memberships(aspnet_Membership entity)
|
---|
493 | {
|
---|
494 | this.SendPropertyChanging();
|
---|
495 | entity.aspnet_Application = null;
|
---|
496 | }
|
---|
497 |
|
---|
498 | private void attach_aspnet_Paths(aspnet_Path entity)
|
---|
499 | {
|
---|
500 | this.SendPropertyChanging();
|
---|
501 | entity.aspnet_Application = this;
|
---|
502 | }
|
---|
503 |
|
---|
504 | private void detach_aspnet_Paths(aspnet_Path entity)
|
---|
505 | {
|
---|
506 | this.SendPropertyChanging();
|
---|
507 | entity.aspnet_Application = null;
|
---|
508 | }
|
---|
509 |
|
---|
510 | private void attach_aspnet_Roles(aspnet_Role entity)
|
---|
511 | {
|
---|
512 | this.SendPropertyChanging();
|
---|
513 | entity.aspnet_Application = this;
|
---|
514 | }
|
---|
515 |
|
---|
516 | private void detach_aspnet_Roles(aspnet_Role entity)
|
---|
517 | {
|
---|
518 | this.SendPropertyChanging();
|
---|
519 | entity.aspnet_Application = null;
|
---|
520 | }
|
---|
521 |
|
---|
522 | private void attach_aspnet_Users(aspnet_User entity)
|
---|
523 | {
|
---|
524 | this.SendPropertyChanging();
|
---|
525 | entity.aspnet_Application = this;
|
---|
526 | }
|
---|
527 |
|
---|
528 | private void detach_aspnet_Users(aspnet_User entity)
|
---|
529 | {
|
---|
530 | this.SendPropertyChanging();
|
---|
531 | entity.aspnet_Application = null;
|
---|
532 | }
|
---|
533 | }
|
---|
534 |
|
---|
535 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Membership")]
|
---|
536 | public partial class aspnet_Membership : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
537 | {
|
---|
538 |
|
---|
539 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
540 |
|
---|
541 | private System.Guid _ApplicationId;
|
---|
542 |
|
---|
543 | private System.Guid _UserId;
|
---|
544 |
|
---|
545 | private string _Password;
|
---|
546 |
|
---|
547 | private int _PasswordFormat;
|
---|
548 |
|
---|
549 | private string _PasswordSalt;
|
---|
550 |
|
---|
551 | private string _MobilePIN;
|
---|
552 |
|
---|
553 | private string _Email;
|
---|
554 |
|
---|
555 | private string _LoweredEmail;
|
---|
556 |
|
---|
557 | private string _PasswordQuestion;
|
---|
558 |
|
---|
559 | private string _PasswordAnswer;
|
---|
560 |
|
---|
561 | private bool _IsApproved;
|
---|
562 |
|
---|
563 | private bool _IsLockedOut;
|
---|
564 |
|
---|
565 | private System.DateTime _CreateDate;
|
---|
566 |
|
---|
567 | private System.DateTime _LastLoginDate;
|
---|
568 |
|
---|
569 | private System.DateTime _LastPasswordChangedDate;
|
---|
570 |
|
---|
571 | private System.DateTime _LastLockoutDate;
|
---|
572 |
|
---|
573 | private int _FailedPasswordAttemptCount;
|
---|
574 |
|
---|
575 | private System.DateTime _FailedPasswordAttemptWindowStart;
|
---|
576 |
|
---|
577 | private int _FailedPasswordAnswerAttemptCount;
|
---|
578 |
|
---|
579 | private System.DateTime _FailedPasswordAnswerAttemptWindowStart;
|
---|
580 |
|
---|
581 | private string _Comment;
|
---|
582 |
|
---|
583 | private EntityRef<aspnet_Application> _aspnet_Application;
|
---|
584 |
|
---|
585 | private EntityRef<aspnet_User> _aspnet_User;
|
---|
586 |
|
---|
587 | #region Extensibility Method Definitions
|
---|
588 | partial void OnLoaded();
|
---|
589 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
590 | partial void OnCreated();
|
---|
591 | partial void OnApplicationIdChanging(System.Guid value);
|
---|
592 | partial void OnApplicationIdChanged();
|
---|
593 | partial void OnUserIdChanging(System.Guid value);
|
---|
594 | partial void OnUserIdChanged();
|
---|
595 | partial void OnPasswordChanging(string value);
|
---|
596 | partial void OnPasswordChanged();
|
---|
597 | partial void OnPasswordFormatChanging(int value);
|
---|
598 | partial void OnPasswordFormatChanged();
|
---|
599 | partial void OnPasswordSaltChanging(string value);
|
---|
600 | partial void OnPasswordSaltChanged();
|
---|
601 | partial void OnMobilePINChanging(string value);
|
---|
602 | partial void OnMobilePINChanged();
|
---|
603 | partial void OnEmailChanging(string value);
|
---|
604 | partial void OnEmailChanged();
|
---|
605 | partial void OnLoweredEmailChanging(string value);
|
---|
606 | partial void OnLoweredEmailChanged();
|
---|
607 | partial void OnPasswordQuestionChanging(string value);
|
---|
608 | partial void OnPasswordQuestionChanged();
|
---|
609 | partial void OnPasswordAnswerChanging(string value);
|
---|
610 | partial void OnPasswordAnswerChanged();
|
---|
611 | partial void OnIsApprovedChanging(bool value);
|
---|
612 | partial void OnIsApprovedChanged();
|
---|
613 | partial void OnIsLockedOutChanging(bool value);
|
---|
614 | partial void OnIsLockedOutChanged();
|
---|
615 | partial void OnCreateDateChanging(System.DateTime value);
|
---|
616 | partial void OnCreateDateChanged();
|
---|
617 | partial void OnLastLoginDateChanging(System.DateTime value);
|
---|
618 | partial void OnLastLoginDateChanged();
|
---|
619 | partial void OnLastPasswordChangedDateChanging(System.DateTime value);
|
---|
620 | partial void OnLastPasswordChangedDateChanged();
|
---|
621 | partial void OnLastLockoutDateChanging(System.DateTime value);
|
---|
622 | partial void OnLastLockoutDateChanged();
|
---|
623 | partial void OnFailedPasswordAttemptCountChanging(int value);
|
---|
624 | partial void OnFailedPasswordAttemptCountChanged();
|
---|
625 | partial void OnFailedPasswordAttemptWindowStartChanging(System.DateTime value);
|
---|
626 | partial void OnFailedPasswordAttemptWindowStartChanged();
|
---|
627 | partial void OnFailedPasswordAnswerAttemptCountChanging(int value);
|
---|
628 | partial void OnFailedPasswordAnswerAttemptCountChanged();
|
---|
629 | partial void OnFailedPasswordAnswerAttemptWindowStartChanging(System.DateTime value);
|
---|
630 | partial void OnFailedPasswordAnswerAttemptWindowStartChanged();
|
---|
631 | partial void OnCommentChanging(string value);
|
---|
632 | partial void OnCommentChanged();
|
---|
633 | #endregion
|
---|
634 |
|
---|
635 | public aspnet_Membership()
|
---|
636 | {
|
---|
637 | this._aspnet_Application = default(EntityRef<aspnet_Application>);
|
---|
638 | this._aspnet_User = default(EntityRef<aspnet_User>);
|
---|
639 | OnCreated();
|
---|
640 | }
|
---|
641 |
|
---|
642 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")]
|
---|
643 | public System.Guid ApplicationId
|
---|
644 | {
|
---|
645 | get
|
---|
646 | {
|
---|
647 | return this._ApplicationId;
|
---|
648 | }
|
---|
649 | set
|
---|
650 | {
|
---|
651 | if ((this._ApplicationId != value))
|
---|
652 | {
|
---|
653 | if (this._aspnet_Application.HasLoadedOrAssignedValue)
|
---|
654 | {
|
---|
655 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
656 | }
|
---|
657 | this.OnApplicationIdChanging(value);
|
---|
658 | this.SendPropertyChanging();
|
---|
659 | this._ApplicationId = value;
|
---|
660 | this.SendPropertyChanged("ApplicationId");
|
---|
661 | this.OnApplicationIdChanged();
|
---|
662 | }
|
---|
663 | }
|
---|
664 | }
|
---|
665 |
|
---|
666 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
667 | public System.Guid UserId
|
---|
668 | {
|
---|
669 | get
|
---|
670 | {
|
---|
671 | return this._UserId;
|
---|
672 | }
|
---|
673 | set
|
---|
674 | {
|
---|
675 | if ((this._UserId != value))
|
---|
676 | {
|
---|
677 | if (this._aspnet_User.HasLoadedOrAssignedValue)
|
---|
678 | {
|
---|
679 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
680 | }
|
---|
681 | this.OnUserIdChanging(value);
|
---|
682 | this.SendPropertyChanging();
|
---|
683 | this._UserId = value;
|
---|
684 | this.SendPropertyChanged("UserId");
|
---|
685 | this.OnUserIdChanged();
|
---|
686 | }
|
---|
687 | }
|
---|
688 | }
|
---|
689 |
|
---|
690 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Password", DbType="NVarChar(128) NOT NULL", CanBeNull=false)]
|
---|
691 | public string Password
|
---|
692 | {
|
---|
693 | get
|
---|
694 | {
|
---|
695 | return this._Password;
|
---|
696 | }
|
---|
697 | set
|
---|
698 | {
|
---|
699 | if ((this._Password != value))
|
---|
700 | {
|
---|
701 | this.OnPasswordChanging(value);
|
---|
702 | this.SendPropertyChanging();
|
---|
703 | this._Password = value;
|
---|
704 | this.SendPropertyChanged("Password");
|
---|
705 | this.OnPasswordChanged();
|
---|
706 | }
|
---|
707 | }
|
---|
708 | }
|
---|
709 |
|
---|
710 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PasswordFormat", DbType="Int NOT NULL")]
|
---|
711 | public int PasswordFormat
|
---|
712 | {
|
---|
713 | get
|
---|
714 | {
|
---|
715 | return this._PasswordFormat;
|
---|
716 | }
|
---|
717 | set
|
---|
718 | {
|
---|
719 | if ((this._PasswordFormat != value))
|
---|
720 | {
|
---|
721 | this.OnPasswordFormatChanging(value);
|
---|
722 | this.SendPropertyChanging();
|
---|
723 | this._PasswordFormat = value;
|
---|
724 | this.SendPropertyChanged("PasswordFormat");
|
---|
725 | this.OnPasswordFormatChanged();
|
---|
726 | }
|
---|
727 | }
|
---|
728 | }
|
---|
729 |
|
---|
730 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PasswordSalt", DbType="NVarChar(128) NOT NULL", CanBeNull=false)]
|
---|
731 | public string PasswordSalt
|
---|
732 | {
|
---|
733 | get
|
---|
734 | {
|
---|
735 | return this._PasswordSalt;
|
---|
736 | }
|
---|
737 | set
|
---|
738 | {
|
---|
739 | if ((this._PasswordSalt != value))
|
---|
740 | {
|
---|
741 | this.OnPasswordSaltChanging(value);
|
---|
742 | this.SendPropertyChanging();
|
---|
743 | this._PasswordSalt = value;
|
---|
744 | this.SendPropertyChanged("PasswordSalt");
|
---|
745 | this.OnPasswordSaltChanged();
|
---|
746 | }
|
---|
747 | }
|
---|
748 | }
|
---|
749 |
|
---|
750 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MobilePIN", DbType="NVarChar(16)")]
|
---|
751 | public string MobilePIN
|
---|
752 | {
|
---|
753 | get
|
---|
754 | {
|
---|
755 | return this._MobilePIN;
|
---|
756 | }
|
---|
757 | set
|
---|
758 | {
|
---|
759 | if ((this._MobilePIN != value))
|
---|
760 | {
|
---|
761 | this.OnMobilePINChanging(value);
|
---|
762 | this.SendPropertyChanging();
|
---|
763 | this._MobilePIN = value;
|
---|
764 | this.SendPropertyChanged("MobilePIN");
|
---|
765 | this.OnMobilePINChanged();
|
---|
766 | }
|
---|
767 | }
|
---|
768 | }
|
---|
769 |
|
---|
770 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="NVarChar(256)")]
|
---|
771 | public string Email
|
---|
772 | {
|
---|
773 | get
|
---|
774 | {
|
---|
775 | return this._Email;
|
---|
776 | }
|
---|
777 | set
|
---|
778 | {
|
---|
779 | if ((this._Email != value))
|
---|
780 | {
|
---|
781 | this.OnEmailChanging(value);
|
---|
782 | this.SendPropertyChanging();
|
---|
783 | this._Email = value;
|
---|
784 | this.SendPropertyChanged("Email");
|
---|
785 | this.OnEmailChanged();
|
---|
786 | }
|
---|
787 | }
|
---|
788 | }
|
---|
789 |
|
---|
790 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredEmail", DbType="NVarChar(256)")]
|
---|
791 | public string LoweredEmail
|
---|
792 | {
|
---|
793 | get
|
---|
794 | {
|
---|
795 | return this._LoweredEmail;
|
---|
796 | }
|
---|
797 | set
|
---|
798 | {
|
---|
799 | if ((this._LoweredEmail != value))
|
---|
800 | {
|
---|
801 | this.OnLoweredEmailChanging(value);
|
---|
802 | this.SendPropertyChanging();
|
---|
803 | this._LoweredEmail = value;
|
---|
804 | this.SendPropertyChanged("LoweredEmail");
|
---|
805 | this.OnLoweredEmailChanged();
|
---|
806 | }
|
---|
807 | }
|
---|
808 | }
|
---|
809 |
|
---|
810 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PasswordQuestion", DbType="NVarChar(256)")]
|
---|
811 | public string PasswordQuestion
|
---|
812 | {
|
---|
813 | get
|
---|
814 | {
|
---|
815 | return this._PasswordQuestion;
|
---|
816 | }
|
---|
817 | set
|
---|
818 | {
|
---|
819 | if ((this._PasswordQuestion != value))
|
---|
820 | {
|
---|
821 | this.OnPasswordQuestionChanging(value);
|
---|
822 | this.SendPropertyChanging();
|
---|
823 | this._PasswordQuestion = value;
|
---|
824 | this.SendPropertyChanged("PasswordQuestion");
|
---|
825 | this.OnPasswordQuestionChanged();
|
---|
826 | }
|
---|
827 | }
|
---|
828 | }
|
---|
829 |
|
---|
830 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PasswordAnswer", DbType="NVarChar(128)")]
|
---|
831 | public string PasswordAnswer
|
---|
832 | {
|
---|
833 | get
|
---|
834 | {
|
---|
835 | return this._PasswordAnswer;
|
---|
836 | }
|
---|
837 | set
|
---|
838 | {
|
---|
839 | if ((this._PasswordAnswer != value))
|
---|
840 | {
|
---|
841 | this.OnPasswordAnswerChanging(value);
|
---|
842 | this.SendPropertyChanging();
|
---|
843 | this._PasswordAnswer = value;
|
---|
844 | this.SendPropertyChanged("PasswordAnswer");
|
---|
845 | this.OnPasswordAnswerChanged();
|
---|
846 | }
|
---|
847 | }
|
---|
848 | }
|
---|
849 |
|
---|
850 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsApproved", DbType="Bit NOT NULL")]
|
---|
851 | public bool IsApproved
|
---|
852 | {
|
---|
853 | get
|
---|
854 | {
|
---|
855 | return this._IsApproved;
|
---|
856 | }
|
---|
857 | set
|
---|
858 | {
|
---|
859 | if ((this._IsApproved != value))
|
---|
860 | {
|
---|
861 | this.OnIsApprovedChanging(value);
|
---|
862 | this.SendPropertyChanging();
|
---|
863 | this._IsApproved = value;
|
---|
864 | this.SendPropertyChanged("IsApproved");
|
---|
865 | this.OnIsApprovedChanged();
|
---|
866 | }
|
---|
867 | }
|
---|
868 | }
|
---|
869 |
|
---|
870 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsLockedOut", DbType="Bit NOT NULL")]
|
---|
871 | public bool IsLockedOut
|
---|
872 | {
|
---|
873 | get
|
---|
874 | {
|
---|
875 | return this._IsLockedOut;
|
---|
876 | }
|
---|
877 | set
|
---|
878 | {
|
---|
879 | if ((this._IsLockedOut != value))
|
---|
880 | {
|
---|
881 | this.OnIsLockedOutChanging(value);
|
---|
882 | this.SendPropertyChanging();
|
---|
883 | this._IsLockedOut = value;
|
---|
884 | this.SendPropertyChanged("IsLockedOut");
|
---|
885 | this.OnIsLockedOutChanged();
|
---|
886 | }
|
---|
887 | }
|
---|
888 | }
|
---|
889 |
|
---|
890 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime NOT NULL")]
|
---|
891 | public System.DateTime CreateDate
|
---|
892 | {
|
---|
893 | get
|
---|
894 | {
|
---|
895 | return this._CreateDate;
|
---|
896 | }
|
---|
897 | set
|
---|
898 | {
|
---|
899 | if ((this._CreateDate != value))
|
---|
900 | {
|
---|
901 | this.OnCreateDateChanging(value);
|
---|
902 | this.SendPropertyChanging();
|
---|
903 | this._CreateDate = value;
|
---|
904 | this.SendPropertyChanged("CreateDate");
|
---|
905 | this.OnCreateDateChanged();
|
---|
906 | }
|
---|
907 | }
|
---|
908 | }
|
---|
909 |
|
---|
910 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastLoginDate", DbType="DateTime NOT NULL")]
|
---|
911 | public System.DateTime LastLoginDate
|
---|
912 | {
|
---|
913 | get
|
---|
914 | {
|
---|
915 | return this._LastLoginDate;
|
---|
916 | }
|
---|
917 | set
|
---|
918 | {
|
---|
919 | if ((this._LastLoginDate != value))
|
---|
920 | {
|
---|
921 | this.OnLastLoginDateChanging(value);
|
---|
922 | this.SendPropertyChanging();
|
---|
923 | this._LastLoginDate = value;
|
---|
924 | this.SendPropertyChanged("LastLoginDate");
|
---|
925 | this.OnLastLoginDateChanged();
|
---|
926 | }
|
---|
927 | }
|
---|
928 | }
|
---|
929 |
|
---|
930 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastPasswordChangedDate", DbType="DateTime NOT NULL")]
|
---|
931 | public System.DateTime LastPasswordChangedDate
|
---|
932 | {
|
---|
933 | get
|
---|
934 | {
|
---|
935 | return this._LastPasswordChangedDate;
|
---|
936 | }
|
---|
937 | set
|
---|
938 | {
|
---|
939 | if ((this._LastPasswordChangedDate != value))
|
---|
940 | {
|
---|
941 | this.OnLastPasswordChangedDateChanging(value);
|
---|
942 | this.SendPropertyChanging();
|
---|
943 | this._LastPasswordChangedDate = value;
|
---|
944 | this.SendPropertyChanged("LastPasswordChangedDate");
|
---|
945 | this.OnLastPasswordChangedDateChanged();
|
---|
946 | }
|
---|
947 | }
|
---|
948 | }
|
---|
949 |
|
---|
950 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastLockoutDate", DbType="DateTime NOT NULL")]
|
---|
951 | public System.DateTime LastLockoutDate
|
---|
952 | {
|
---|
953 | get
|
---|
954 | {
|
---|
955 | return this._LastLockoutDate;
|
---|
956 | }
|
---|
957 | set
|
---|
958 | {
|
---|
959 | if ((this._LastLockoutDate != value))
|
---|
960 | {
|
---|
961 | this.OnLastLockoutDateChanging(value);
|
---|
962 | this.SendPropertyChanging();
|
---|
963 | this._LastLockoutDate = value;
|
---|
964 | this.SendPropertyChanged("LastLockoutDate");
|
---|
965 | this.OnLastLockoutDateChanged();
|
---|
966 | }
|
---|
967 | }
|
---|
968 | }
|
---|
969 |
|
---|
970 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedPasswordAttemptCount", DbType="Int NOT NULL")]
|
---|
971 | public int FailedPasswordAttemptCount
|
---|
972 | {
|
---|
973 | get
|
---|
974 | {
|
---|
975 | return this._FailedPasswordAttemptCount;
|
---|
976 | }
|
---|
977 | set
|
---|
978 | {
|
---|
979 | if ((this._FailedPasswordAttemptCount != value))
|
---|
980 | {
|
---|
981 | this.OnFailedPasswordAttemptCountChanging(value);
|
---|
982 | this.SendPropertyChanging();
|
---|
983 | this._FailedPasswordAttemptCount = value;
|
---|
984 | this.SendPropertyChanged("FailedPasswordAttemptCount");
|
---|
985 | this.OnFailedPasswordAttemptCountChanged();
|
---|
986 | }
|
---|
987 | }
|
---|
988 | }
|
---|
989 |
|
---|
990 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedPasswordAttemptWindowStart", DbType="DateTime NOT NULL")]
|
---|
991 | public System.DateTime FailedPasswordAttemptWindowStart
|
---|
992 | {
|
---|
993 | get
|
---|
994 | {
|
---|
995 | return this._FailedPasswordAttemptWindowStart;
|
---|
996 | }
|
---|
997 | set
|
---|
998 | {
|
---|
999 | if ((this._FailedPasswordAttemptWindowStart != value))
|
---|
1000 | {
|
---|
1001 | this.OnFailedPasswordAttemptWindowStartChanging(value);
|
---|
1002 | this.SendPropertyChanging();
|
---|
1003 | this._FailedPasswordAttemptWindowStart = value;
|
---|
1004 | this.SendPropertyChanged("FailedPasswordAttemptWindowStart");
|
---|
1005 | this.OnFailedPasswordAttemptWindowStartChanged();
|
---|
1006 | }
|
---|
1007 | }
|
---|
1008 | }
|
---|
1009 |
|
---|
1010 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedPasswordAnswerAttemptCount", DbType="Int NOT NULL")]
|
---|
1011 | public int FailedPasswordAnswerAttemptCount
|
---|
1012 | {
|
---|
1013 | get
|
---|
1014 | {
|
---|
1015 | return this._FailedPasswordAnswerAttemptCount;
|
---|
1016 | }
|
---|
1017 | set
|
---|
1018 | {
|
---|
1019 | if ((this._FailedPasswordAnswerAttemptCount != value))
|
---|
1020 | {
|
---|
1021 | this.OnFailedPasswordAnswerAttemptCountChanging(value);
|
---|
1022 | this.SendPropertyChanging();
|
---|
1023 | this._FailedPasswordAnswerAttemptCount = value;
|
---|
1024 | this.SendPropertyChanged("FailedPasswordAnswerAttemptCount");
|
---|
1025 | this.OnFailedPasswordAnswerAttemptCountChanged();
|
---|
1026 | }
|
---|
1027 | }
|
---|
1028 | }
|
---|
1029 |
|
---|
1030 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedPasswordAnswerAttemptWindowStart", DbType="DateTime NOT NULL")]
|
---|
1031 | public System.DateTime FailedPasswordAnswerAttemptWindowStart
|
---|
1032 | {
|
---|
1033 | get
|
---|
1034 | {
|
---|
1035 | return this._FailedPasswordAnswerAttemptWindowStart;
|
---|
1036 | }
|
---|
1037 | set
|
---|
1038 | {
|
---|
1039 | if ((this._FailedPasswordAnswerAttemptWindowStart != value))
|
---|
1040 | {
|
---|
1041 | this.OnFailedPasswordAnswerAttemptWindowStartChanging(value);
|
---|
1042 | this.SendPropertyChanging();
|
---|
1043 | this._FailedPasswordAnswerAttemptWindowStart = value;
|
---|
1044 | this.SendPropertyChanged("FailedPasswordAnswerAttemptWindowStart");
|
---|
1045 | this.OnFailedPasswordAnswerAttemptWindowStartChanged();
|
---|
1046 | }
|
---|
1047 | }
|
---|
1048 | }
|
---|
1049 |
|
---|
1050 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Comment", DbType="NText", UpdateCheck=UpdateCheck.Never)]
|
---|
1051 | public string Comment
|
---|
1052 | {
|
---|
1053 | get
|
---|
1054 | {
|
---|
1055 | return this._Comment;
|
---|
1056 | }
|
---|
1057 | set
|
---|
1058 | {
|
---|
1059 | if ((this._Comment != value))
|
---|
1060 | {
|
---|
1061 | this.OnCommentChanging(value);
|
---|
1062 | this.SendPropertyChanging();
|
---|
1063 | this._Comment = value;
|
---|
1064 | this.SendPropertyChanged("Comment");
|
---|
1065 | this.OnCommentChanged();
|
---|
1066 | }
|
---|
1067 | }
|
---|
1068 | }
|
---|
1069 |
|
---|
1070 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Membership", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)]
|
---|
1071 | public aspnet_Application aspnet_Application
|
---|
1072 | {
|
---|
1073 | get
|
---|
1074 | {
|
---|
1075 | return this._aspnet_Application.Entity;
|
---|
1076 | }
|
---|
1077 | set
|
---|
1078 | {
|
---|
1079 | aspnet_Application previousValue = this._aspnet_Application.Entity;
|
---|
1080 | if (((previousValue != value)
|
---|
1081 | || (this._aspnet_Application.HasLoadedOrAssignedValue == false)))
|
---|
1082 | {
|
---|
1083 | this.SendPropertyChanging();
|
---|
1084 | if ((previousValue != null))
|
---|
1085 | {
|
---|
1086 | this._aspnet_Application.Entity = null;
|
---|
1087 | previousValue.aspnet_Memberships.Remove(this);
|
---|
1088 | }
|
---|
1089 | this._aspnet_Application.Entity = value;
|
---|
1090 | if ((value != null))
|
---|
1091 | {
|
---|
1092 | value.aspnet_Memberships.Add(this);
|
---|
1093 | this._ApplicationId = value.ApplicationId;
|
---|
1094 | }
|
---|
1095 | else
|
---|
1096 | {
|
---|
1097 | this._ApplicationId = default(System.Guid);
|
---|
1098 | }
|
---|
1099 | this.SendPropertyChanged("aspnet_Application");
|
---|
1100 | }
|
---|
1101 | }
|
---|
1102 | }
|
---|
1103 |
|
---|
1104 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Membership", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
|
---|
1105 | public aspnet_User aspnet_User
|
---|
1106 | {
|
---|
1107 | get
|
---|
1108 | {
|
---|
1109 | return this._aspnet_User.Entity;
|
---|
1110 | }
|
---|
1111 | set
|
---|
1112 | {
|
---|
1113 | aspnet_User previousValue = this._aspnet_User.Entity;
|
---|
1114 | if (((previousValue != value)
|
---|
1115 | || (this._aspnet_User.HasLoadedOrAssignedValue == false)))
|
---|
1116 | {
|
---|
1117 | this.SendPropertyChanging();
|
---|
1118 | if ((previousValue != null))
|
---|
1119 | {
|
---|
1120 | this._aspnet_User.Entity = null;
|
---|
1121 | previousValue.aspnet_Membership = null;
|
---|
1122 | }
|
---|
1123 | this._aspnet_User.Entity = value;
|
---|
1124 | if ((value != null))
|
---|
1125 | {
|
---|
1126 | value.aspnet_Membership = this;
|
---|
1127 | this._UserId = value.UserId;
|
---|
1128 | }
|
---|
1129 | else
|
---|
1130 | {
|
---|
1131 | this._UserId = default(System.Guid);
|
---|
1132 | }
|
---|
1133 | this.SendPropertyChanged("aspnet_User");
|
---|
1134 | }
|
---|
1135 | }
|
---|
1136 | }
|
---|
1137 |
|
---|
1138 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
1139 |
|
---|
1140 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
1141 |
|
---|
1142 | protected virtual void SendPropertyChanging()
|
---|
1143 | {
|
---|
1144 | if ((this.PropertyChanging != null))
|
---|
1145 | {
|
---|
1146 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
1147 | }
|
---|
1148 | }
|
---|
1149 |
|
---|
1150 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
1151 | {
|
---|
1152 | if ((this.PropertyChanged != null))
|
---|
1153 | {
|
---|
1154 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
1155 | }
|
---|
1156 | }
|
---|
1157 | }
|
---|
1158 |
|
---|
1159 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Paths")]
|
---|
1160 | public partial class aspnet_Path : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
1161 | {
|
---|
1162 |
|
---|
1163 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
1164 |
|
---|
1165 | private System.Guid _ApplicationId;
|
---|
1166 |
|
---|
1167 | private System.Guid _PathId;
|
---|
1168 |
|
---|
1169 | private string _Path;
|
---|
1170 |
|
---|
1171 | private string _LoweredPath;
|
---|
1172 |
|
---|
1173 | private EntityRef<aspnet_PersonalizationAllUser> _aspnet_PersonalizationAllUser;
|
---|
1174 |
|
---|
1175 | private EntitySet<aspnet_PersonalizationPerUser> _aspnet_PersonalizationPerUsers;
|
---|
1176 |
|
---|
1177 | private EntityRef<aspnet_Application> _aspnet_Application;
|
---|
1178 |
|
---|
1179 | #region Extensibility Method Definitions
|
---|
1180 | partial void OnLoaded();
|
---|
1181 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
1182 | partial void OnCreated();
|
---|
1183 | partial void OnApplicationIdChanging(System.Guid value);
|
---|
1184 | partial void OnApplicationIdChanged();
|
---|
1185 | partial void OnPathIdChanging(System.Guid value);
|
---|
1186 | partial void OnPathIdChanged();
|
---|
1187 | partial void OnPathChanging(string value);
|
---|
1188 | partial void OnPathChanged();
|
---|
1189 | partial void OnLoweredPathChanging(string value);
|
---|
1190 | partial void OnLoweredPathChanged();
|
---|
1191 | #endregion
|
---|
1192 |
|
---|
1193 | public aspnet_Path()
|
---|
1194 | {
|
---|
1195 | this._aspnet_PersonalizationAllUser = default(EntityRef<aspnet_PersonalizationAllUser>);
|
---|
1196 | this._aspnet_PersonalizationPerUsers = new EntitySet<aspnet_PersonalizationPerUser>(new Action<aspnet_PersonalizationPerUser>(this.attach_aspnet_PersonalizationPerUsers), new Action<aspnet_PersonalizationPerUser>(this.detach_aspnet_PersonalizationPerUsers));
|
---|
1197 | this._aspnet_Application = default(EntityRef<aspnet_Application>);
|
---|
1198 | OnCreated();
|
---|
1199 | }
|
---|
1200 |
|
---|
1201 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")]
|
---|
1202 | public System.Guid ApplicationId
|
---|
1203 | {
|
---|
1204 | get
|
---|
1205 | {
|
---|
1206 | return this._ApplicationId;
|
---|
1207 | }
|
---|
1208 | set
|
---|
1209 | {
|
---|
1210 | if ((this._ApplicationId != value))
|
---|
1211 | {
|
---|
1212 | if (this._aspnet_Application.HasLoadedOrAssignedValue)
|
---|
1213 | {
|
---|
1214 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
1215 | }
|
---|
1216 | this.OnApplicationIdChanging(value);
|
---|
1217 | this.SendPropertyChanging();
|
---|
1218 | this._ApplicationId = value;
|
---|
1219 | this.SendPropertyChanged("ApplicationId");
|
---|
1220 | this.OnApplicationIdChanged();
|
---|
1221 | }
|
---|
1222 | }
|
---|
1223 | }
|
---|
1224 |
|
---|
1225 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
1226 | public System.Guid PathId
|
---|
1227 | {
|
---|
1228 | get
|
---|
1229 | {
|
---|
1230 | return this._PathId;
|
---|
1231 | }
|
---|
1232 | set
|
---|
1233 | {
|
---|
1234 | if ((this._PathId != value))
|
---|
1235 | {
|
---|
1236 | this.OnPathIdChanging(value);
|
---|
1237 | this.SendPropertyChanging();
|
---|
1238 | this._PathId = value;
|
---|
1239 | this.SendPropertyChanged("PathId");
|
---|
1240 | this.OnPathIdChanged();
|
---|
1241 | }
|
---|
1242 | }
|
---|
1243 | }
|
---|
1244 |
|
---|
1245 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Path", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
1246 | public string Path
|
---|
1247 | {
|
---|
1248 | get
|
---|
1249 | {
|
---|
1250 | return this._Path;
|
---|
1251 | }
|
---|
1252 | set
|
---|
1253 | {
|
---|
1254 | if ((this._Path != value))
|
---|
1255 | {
|
---|
1256 | this.OnPathChanging(value);
|
---|
1257 | this.SendPropertyChanging();
|
---|
1258 | this._Path = value;
|
---|
1259 | this.SendPropertyChanged("Path");
|
---|
1260 | this.OnPathChanged();
|
---|
1261 | }
|
---|
1262 | }
|
---|
1263 | }
|
---|
1264 |
|
---|
1265 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredPath", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
1266 | public string LoweredPath
|
---|
1267 | {
|
---|
1268 | get
|
---|
1269 | {
|
---|
1270 | return this._LoweredPath;
|
---|
1271 | }
|
---|
1272 | set
|
---|
1273 | {
|
---|
1274 | if ((this._LoweredPath != value))
|
---|
1275 | {
|
---|
1276 | this.OnLoweredPathChanging(value);
|
---|
1277 | this.SendPropertyChanging();
|
---|
1278 | this._LoweredPath = value;
|
---|
1279 | this.SendPropertyChanged("LoweredPath");
|
---|
1280 | this.OnLoweredPathChanged();
|
---|
1281 | }
|
---|
1282 | }
|
---|
1283 | }
|
---|
1284 |
|
---|
1285 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationAllUser", Storage="_aspnet_PersonalizationAllUser", ThisKey="PathId", OtherKey="PathId", IsUnique=true, IsForeignKey=false)]
|
---|
1286 | public aspnet_PersonalizationAllUser aspnet_PersonalizationAllUser
|
---|
1287 | {
|
---|
1288 | get
|
---|
1289 | {
|
---|
1290 | return this._aspnet_PersonalizationAllUser.Entity;
|
---|
1291 | }
|
---|
1292 | set
|
---|
1293 | {
|
---|
1294 | aspnet_PersonalizationAllUser previousValue = this._aspnet_PersonalizationAllUser.Entity;
|
---|
1295 | if (((previousValue != value)
|
---|
1296 | || (this._aspnet_PersonalizationAllUser.HasLoadedOrAssignedValue == false)))
|
---|
1297 | {
|
---|
1298 | this.SendPropertyChanging();
|
---|
1299 | if ((previousValue != null))
|
---|
1300 | {
|
---|
1301 | this._aspnet_PersonalizationAllUser.Entity = null;
|
---|
1302 | previousValue.aspnet_Path = null;
|
---|
1303 | }
|
---|
1304 | this._aspnet_PersonalizationAllUser.Entity = value;
|
---|
1305 | if ((value != null))
|
---|
1306 | {
|
---|
1307 | value.aspnet_Path = this;
|
---|
1308 | }
|
---|
1309 | this.SendPropertyChanged("aspnet_PersonalizationAllUser");
|
---|
1310 | }
|
---|
1311 | }
|
---|
1312 | }
|
---|
1313 |
|
---|
1314 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationPerUser", Storage="_aspnet_PersonalizationPerUsers", ThisKey="PathId", OtherKey="PathId")]
|
---|
1315 | public EntitySet<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUsers
|
---|
1316 | {
|
---|
1317 | get
|
---|
1318 | {
|
---|
1319 | return this._aspnet_PersonalizationPerUsers;
|
---|
1320 | }
|
---|
1321 | set
|
---|
1322 | {
|
---|
1323 | this._aspnet_PersonalizationPerUsers.Assign(value);
|
---|
1324 | }
|
---|
1325 | }
|
---|
1326 |
|
---|
1327 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Path", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)]
|
---|
1328 | public aspnet_Application aspnet_Application
|
---|
1329 | {
|
---|
1330 | get
|
---|
1331 | {
|
---|
1332 | return this._aspnet_Application.Entity;
|
---|
1333 | }
|
---|
1334 | set
|
---|
1335 | {
|
---|
1336 | aspnet_Application previousValue = this._aspnet_Application.Entity;
|
---|
1337 | if (((previousValue != value)
|
---|
1338 | || (this._aspnet_Application.HasLoadedOrAssignedValue == false)))
|
---|
1339 | {
|
---|
1340 | this.SendPropertyChanging();
|
---|
1341 | if ((previousValue != null))
|
---|
1342 | {
|
---|
1343 | this._aspnet_Application.Entity = null;
|
---|
1344 | previousValue.aspnet_Paths.Remove(this);
|
---|
1345 | }
|
---|
1346 | this._aspnet_Application.Entity = value;
|
---|
1347 | if ((value != null))
|
---|
1348 | {
|
---|
1349 | value.aspnet_Paths.Add(this);
|
---|
1350 | this._ApplicationId = value.ApplicationId;
|
---|
1351 | }
|
---|
1352 | else
|
---|
1353 | {
|
---|
1354 | this._ApplicationId = default(System.Guid);
|
---|
1355 | }
|
---|
1356 | this.SendPropertyChanged("aspnet_Application");
|
---|
1357 | }
|
---|
1358 | }
|
---|
1359 | }
|
---|
1360 |
|
---|
1361 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
1362 |
|
---|
1363 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
1364 |
|
---|
1365 | protected virtual void SendPropertyChanging()
|
---|
1366 | {
|
---|
1367 | if ((this.PropertyChanging != null))
|
---|
1368 | {
|
---|
1369 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
1370 | }
|
---|
1371 | }
|
---|
1372 |
|
---|
1373 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
1374 | {
|
---|
1375 | if ((this.PropertyChanged != null))
|
---|
1376 | {
|
---|
1377 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
1378 | }
|
---|
1379 | }
|
---|
1380 |
|
---|
1381 | private void attach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)
|
---|
1382 | {
|
---|
1383 | this.SendPropertyChanging();
|
---|
1384 | entity.aspnet_Path = this;
|
---|
1385 | }
|
---|
1386 |
|
---|
1387 | private void detach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)
|
---|
1388 | {
|
---|
1389 | this.SendPropertyChanging();
|
---|
1390 | entity.aspnet_Path = null;
|
---|
1391 | }
|
---|
1392 | }
|
---|
1393 |
|
---|
1394 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_PersonalizationAllUsers")]
|
---|
1395 | public partial class aspnet_PersonalizationAllUser : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
1396 | {
|
---|
1397 |
|
---|
1398 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
1399 |
|
---|
1400 | private System.Guid _PathId;
|
---|
1401 |
|
---|
1402 | private System.Data.Linq.Binary _PageSettings;
|
---|
1403 |
|
---|
1404 | private System.DateTime _LastUpdatedDate;
|
---|
1405 |
|
---|
1406 | private EntityRef<aspnet_Path> _aspnet_Path;
|
---|
1407 |
|
---|
1408 | #region Extensibility Method Definitions
|
---|
1409 | partial void OnLoaded();
|
---|
1410 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
1411 | partial void OnCreated();
|
---|
1412 | partial void OnPathIdChanging(System.Guid value);
|
---|
1413 | partial void OnPathIdChanged();
|
---|
1414 | partial void OnPageSettingsChanging(System.Data.Linq.Binary value);
|
---|
1415 | partial void OnPageSettingsChanged();
|
---|
1416 | partial void OnLastUpdatedDateChanging(System.DateTime value);
|
---|
1417 | partial void OnLastUpdatedDateChanged();
|
---|
1418 | #endregion
|
---|
1419 |
|
---|
1420 | public aspnet_PersonalizationAllUser()
|
---|
1421 | {
|
---|
1422 | this._aspnet_Path = default(EntityRef<aspnet_Path>);
|
---|
1423 | OnCreated();
|
---|
1424 | }
|
---|
1425 |
|
---|
1426 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
1427 | public System.Guid PathId
|
---|
1428 | {
|
---|
1429 | get
|
---|
1430 | {
|
---|
1431 | return this._PathId;
|
---|
1432 | }
|
---|
1433 | set
|
---|
1434 | {
|
---|
1435 | if ((this._PathId != value))
|
---|
1436 | {
|
---|
1437 | if (this._aspnet_Path.HasLoadedOrAssignedValue)
|
---|
1438 | {
|
---|
1439 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
1440 | }
|
---|
1441 | this.OnPathIdChanging(value);
|
---|
1442 | this.SendPropertyChanging();
|
---|
1443 | this._PathId = value;
|
---|
1444 | this.SendPropertyChanged("PathId");
|
---|
1445 | this.OnPathIdChanged();
|
---|
1446 | }
|
---|
1447 | }
|
---|
1448 | }
|
---|
1449 |
|
---|
1450 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageSettings", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]
|
---|
1451 | public System.Data.Linq.Binary PageSettings
|
---|
1452 | {
|
---|
1453 | get
|
---|
1454 | {
|
---|
1455 | return this._PageSettings;
|
---|
1456 | }
|
---|
1457 | set
|
---|
1458 | {
|
---|
1459 | if ((this._PageSettings != value))
|
---|
1460 | {
|
---|
1461 | this.OnPageSettingsChanging(value);
|
---|
1462 | this.SendPropertyChanging();
|
---|
1463 | this._PageSettings = value;
|
---|
1464 | this.SendPropertyChanged("PageSettings");
|
---|
1465 | this.OnPageSettingsChanged();
|
---|
1466 | }
|
---|
1467 | }
|
---|
1468 | }
|
---|
1469 |
|
---|
1470 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")]
|
---|
1471 | public System.DateTime LastUpdatedDate
|
---|
1472 | {
|
---|
1473 | get
|
---|
1474 | {
|
---|
1475 | return this._LastUpdatedDate;
|
---|
1476 | }
|
---|
1477 | set
|
---|
1478 | {
|
---|
1479 | if ((this._LastUpdatedDate != value))
|
---|
1480 | {
|
---|
1481 | this.OnLastUpdatedDateChanging(value);
|
---|
1482 | this.SendPropertyChanging();
|
---|
1483 | this._LastUpdatedDate = value;
|
---|
1484 | this.SendPropertyChanged("LastUpdatedDate");
|
---|
1485 | this.OnLastUpdatedDateChanged();
|
---|
1486 | }
|
---|
1487 | }
|
---|
1488 | }
|
---|
1489 |
|
---|
1490 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationAllUser", Storage="_aspnet_Path", ThisKey="PathId", OtherKey="PathId", IsForeignKey=true)]
|
---|
1491 | public aspnet_Path aspnet_Path
|
---|
1492 | {
|
---|
1493 | get
|
---|
1494 | {
|
---|
1495 | return this._aspnet_Path.Entity;
|
---|
1496 | }
|
---|
1497 | set
|
---|
1498 | {
|
---|
1499 | aspnet_Path previousValue = this._aspnet_Path.Entity;
|
---|
1500 | if (((previousValue != value)
|
---|
1501 | || (this._aspnet_Path.HasLoadedOrAssignedValue == false)))
|
---|
1502 | {
|
---|
1503 | this.SendPropertyChanging();
|
---|
1504 | if ((previousValue != null))
|
---|
1505 | {
|
---|
1506 | this._aspnet_Path.Entity = null;
|
---|
1507 | previousValue.aspnet_PersonalizationAllUser = null;
|
---|
1508 | }
|
---|
1509 | this._aspnet_Path.Entity = value;
|
---|
1510 | if ((value != null))
|
---|
1511 | {
|
---|
1512 | value.aspnet_PersonalizationAllUser = this;
|
---|
1513 | this._PathId = value.PathId;
|
---|
1514 | }
|
---|
1515 | else
|
---|
1516 | {
|
---|
1517 | this._PathId = default(System.Guid);
|
---|
1518 | }
|
---|
1519 | this.SendPropertyChanged("aspnet_Path");
|
---|
1520 | }
|
---|
1521 | }
|
---|
1522 | }
|
---|
1523 |
|
---|
1524 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
1525 |
|
---|
1526 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
1527 |
|
---|
1528 | protected virtual void SendPropertyChanging()
|
---|
1529 | {
|
---|
1530 | if ((this.PropertyChanging != null))
|
---|
1531 | {
|
---|
1532 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
1533 | }
|
---|
1534 | }
|
---|
1535 |
|
---|
1536 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
1537 | {
|
---|
1538 | if ((this.PropertyChanged != null))
|
---|
1539 | {
|
---|
1540 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
1541 | }
|
---|
1542 | }
|
---|
1543 | }
|
---|
1544 |
|
---|
1545 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_PersonalizationPerUser")]
|
---|
1546 | public partial class aspnet_PersonalizationPerUser : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
1547 | {
|
---|
1548 |
|
---|
1549 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
1550 |
|
---|
1551 | private System.Guid _Id;
|
---|
1552 |
|
---|
1553 | private System.Nullable<System.Guid> _PathId;
|
---|
1554 |
|
---|
1555 | private System.Nullable<System.Guid> _UserId;
|
---|
1556 |
|
---|
1557 | private System.Data.Linq.Binary _PageSettings;
|
---|
1558 |
|
---|
1559 | private System.DateTime _LastUpdatedDate;
|
---|
1560 |
|
---|
1561 | private EntityRef<aspnet_Path> _aspnet_Path;
|
---|
1562 |
|
---|
1563 | private EntityRef<aspnet_User> _aspnet_User;
|
---|
1564 |
|
---|
1565 | #region Extensibility Method Definitions
|
---|
1566 | partial void OnLoaded();
|
---|
1567 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
1568 | partial void OnCreated();
|
---|
1569 | partial void OnIdChanging(System.Guid value);
|
---|
1570 | partial void OnIdChanged();
|
---|
1571 | partial void OnPathIdChanging(System.Nullable<System.Guid> value);
|
---|
1572 | partial void OnPathIdChanged();
|
---|
1573 | partial void OnUserIdChanging(System.Nullable<System.Guid> value);
|
---|
1574 | partial void OnUserIdChanged();
|
---|
1575 | partial void OnPageSettingsChanging(System.Data.Linq.Binary value);
|
---|
1576 | partial void OnPageSettingsChanged();
|
---|
1577 | partial void OnLastUpdatedDateChanging(System.DateTime value);
|
---|
1578 | partial void OnLastUpdatedDateChanged();
|
---|
1579 | #endregion
|
---|
1580 |
|
---|
1581 | public aspnet_PersonalizationPerUser()
|
---|
1582 | {
|
---|
1583 | this._aspnet_Path = default(EntityRef<aspnet_Path>);
|
---|
1584 | this._aspnet_User = default(EntityRef<aspnet_User>);
|
---|
1585 | OnCreated();
|
---|
1586 | }
|
---|
1587 |
|
---|
1588 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
1589 | public System.Guid Id
|
---|
1590 | {
|
---|
1591 | get
|
---|
1592 | {
|
---|
1593 | return this._Id;
|
---|
1594 | }
|
---|
1595 | set
|
---|
1596 | {
|
---|
1597 | if ((this._Id != value))
|
---|
1598 | {
|
---|
1599 | this.OnIdChanging(value);
|
---|
1600 | this.SendPropertyChanging();
|
---|
1601 | this._Id = value;
|
---|
1602 | this.SendPropertyChanged("Id");
|
---|
1603 | this.OnIdChanged();
|
---|
1604 | }
|
---|
1605 | }
|
---|
1606 | }
|
---|
1607 |
|
---|
1608 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier")]
|
---|
1609 | public System.Nullable<System.Guid> PathId
|
---|
1610 | {
|
---|
1611 | get
|
---|
1612 | {
|
---|
1613 | return this._PathId;
|
---|
1614 | }
|
---|
1615 | set
|
---|
1616 | {
|
---|
1617 | if ((this._PathId != value))
|
---|
1618 | {
|
---|
1619 | if (this._aspnet_Path.HasLoadedOrAssignedValue)
|
---|
1620 | {
|
---|
1621 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
1622 | }
|
---|
1623 | this.OnPathIdChanging(value);
|
---|
1624 | this.SendPropertyChanging();
|
---|
1625 | this._PathId = value;
|
---|
1626 | this.SendPropertyChanged("PathId");
|
---|
1627 | this.OnPathIdChanged();
|
---|
1628 | }
|
---|
1629 | }
|
---|
1630 | }
|
---|
1631 |
|
---|
1632 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier")]
|
---|
1633 | public System.Nullable<System.Guid> UserId
|
---|
1634 | {
|
---|
1635 | get
|
---|
1636 | {
|
---|
1637 | return this._UserId;
|
---|
1638 | }
|
---|
1639 | set
|
---|
1640 | {
|
---|
1641 | if ((this._UserId != value))
|
---|
1642 | {
|
---|
1643 | if (this._aspnet_User.HasLoadedOrAssignedValue)
|
---|
1644 | {
|
---|
1645 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
1646 | }
|
---|
1647 | this.OnUserIdChanging(value);
|
---|
1648 | this.SendPropertyChanging();
|
---|
1649 | this._UserId = value;
|
---|
1650 | this.SendPropertyChanged("UserId");
|
---|
1651 | this.OnUserIdChanged();
|
---|
1652 | }
|
---|
1653 | }
|
---|
1654 | }
|
---|
1655 |
|
---|
1656 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageSettings", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]
|
---|
1657 | public System.Data.Linq.Binary PageSettings
|
---|
1658 | {
|
---|
1659 | get
|
---|
1660 | {
|
---|
1661 | return this._PageSettings;
|
---|
1662 | }
|
---|
1663 | set
|
---|
1664 | {
|
---|
1665 | if ((this._PageSettings != value))
|
---|
1666 | {
|
---|
1667 | this.OnPageSettingsChanging(value);
|
---|
1668 | this.SendPropertyChanging();
|
---|
1669 | this._PageSettings = value;
|
---|
1670 | this.SendPropertyChanged("PageSettings");
|
---|
1671 | this.OnPageSettingsChanged();
|
---|
1672 | }
|
---|
1673 | }
|
---|
1674 | }
|
---|
1675 |
|
---|
1676 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")]
|
---|
1677 | public System.DateTime LastUpdatedDate
|
---|
1678 | {
|
---|
1679 | get
|
---|
1680 | {
|
---|
1681 | return this._LastUpdatedDate;
|
---|
1682 | }
|
---|
1683 | set
|
---|
1684 | {
|
---|
1685 | if ((this._LastUpdatedDate != value))
|
---|
1686 | {
|
---|
1687 | this.OnLastUpdatedDateChanging(value);
|
---|
1688 | this.SendPropertyChanging();
|
---|
1689 | this._LastUpdatedDate = value;
|
---|
1690 | this.SendPropertyChanged("LastUpdatedDate");
|
---|
1691 | this.OnLastUpdatedDateChanged();
|
---|
1692 | }
|
---|
1693 | }
|
---|
1694 | }
|
---|
1695 |
|
---|
1696 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationPerUser", Storage="_aspnet_Path", ThisKey="PathId", OtherKey="PathId", IsForeignKey=true)]
|
---|
1697 | public aspnet_Path aspnet_Path
|
---|
1698 | {
|
---|
1699 | get
|
---|
1700 | {
|
---|
1701 | return this._aspnet_Path.Entity;
|
---|
1702 | }
|
---|
1703 | set
|
---|
1704 | {
|
---|
1705 | aspnet_Path previousValue = this._aspnet_Path.Entity;
|
---|
1706 | if (((previousValue != value)
|
---|
1707 | || (this._aspnet_Path.HasLoadedOrAssignedValue == false)))
|
---|
1708 | {
|
---|
1709 | this.SendPropertyChanging();
|
---|
1710 | if ((previousValue != null))
|
---|
1711 | {
|
---|
1712 | this._aspnet_Path.Entity = null;
|
---|
1713 | previousValue.aspnet_PersonalizationPerUsers.Remove(this);
|
---|
1714 | }
|
---|
1715 | this._aspnet_Path.Entity = value;
|
---|
1716 | if ((value != null))
|
---|
1717 | {
|
---|
1718 | value.aspnet_PersonalizationPerUsers.Add(this);
|
---|
1719 | this._PathId = value.PathId;
|
---|
1720 | }
|
---|
1721 | else
|
---|
1722 | {
|
---|
1723 | this._PathId = default(Nullable<System.Guid>);
|
---|
1724 | }
|
---|
1725 | this.SendPropertyChanged("aspnet_Path");
|
---|
1726 | }
|
---|
1727 | }
|
---|
1728 | }
|
---|
1729 |
|
---|
1730 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_PersonalizationPerUser", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
|
---|
1731 | public aspnet_User aspnet_User
|
---|
1732 | {
|
---|
1733 | get
|
---|
1734 | {
|
---|
1735 | return this._aspnet_User.Entity;
|
---|
1736 | }
|
---|
1737 | set
|
---|
1738 | {
|
---|
1739 | aspnet_User previousValue = this._aspnet_User.Entity;
|
---|
1740 | if (((previousValue != value)
|
---|
1741 | || (this._aspnet_User.HasLoadedOrAssignedValue == false)))
|
---|
1742 | {
|
---|
1743 | this.SendPropertyChanging();
|
---|
1744 | if ((previousValue != null))
|
---|
1745 | {
|
---|
1746 | this._aspnet_User.Entity = null;
|
---|
1747 | previousValue.aspnet_PersonalizationPerUsers.Remove(this);
|
---|
1748 | }
|
---|
1749 | this._aspnet_User.Entity = value;
|
---|
1750 | if ((value != null))
|
---|
1751 | {
|
---|
1752 | value.aspnet_PersonalizationPerUsers.Add(this);
|
---|
1753 | this._UserId = value.UserId;
|
---|
1754 | }
|
---|
1755 | else
|
---|
1756 | {
|
---|
1757 | this._UserId = default(Nullable<System.Guid>);
|
---|
1758 | }
|
---|
1759 | this.SendPropertyChanged("aspnet_User");
|
---|
1760 | }
|
---|
1761 | }
|
---|
1762 | }
|
---|
1763 |
|
---|
1764 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
1765 |
|
---|
1766 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
1767 |
|
---|
1768 | protected virtual void SendPropertyChanging()
|
---|
1769 | {
|
---|
1770 | if ((this.PropertyChanging != null))
|
---|
1771 | {
|
---|
1772 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
1773 | }
|
---|
1774 | }
|
---|
1775 |
|
---|
1776 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
1777 | {
|
---|
1778 | if ((this.PropertyChanged != null))
|
---|
1779 | {
|
---|
1780 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
1781 | }
|
---|
1782 | }
|
---|
1783 | }
|
---|
1784 |
|
---|
1785 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Profile")]
|
---|
1786 | public partial class aspnet_Profile : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
1787 | {
|
---|
1788 |
|
---|
1789 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
1790 |
|
---|
1791 | private System.Guid _UserId;
|
---|
1792 |
|
---|
1793 | private string _PropertyNames;
|
---|
1794 |
|
---|
1795 | private string _PropertyValuesString;
|
---|
1796 |
|
---|
1797 | private System.Data.Linq.Binary _PropertyValuesBinary;
|
---|
1798 |
|
---|
1799 | private System.DateTime _LastUpdatedDate;
|
---|
1800 |
|
---|
1801 | private EntityRef<aspnet_User> _aspnet_User;
|
---|
1802 |
|
---|
1803 | #region Extensibility Method Definitions
|
---|
1804 | partial void OnLoaded();
|
---|
1805 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
1806 | partial void OnCreated();
|
---|
1807 | partial void OnUserIdChanging(System.Guid value);
|
---|
1808 | partial void OnUserIdChanged();
|
---|
1809 | partial void OnPropertyNamesChanging(string value);
|
---|
1810 | partial void OnPropertyNamesChanged();
|
---|
1811 | partial void OnPropertyValuesStringChanging(string value);
|
---|
1812 | partial void OnPropertyValuesStringChanged();
|
---|
1813 | partial void OnPropertyValuesBinaryChanging(System.Data.Linq.Binary value);
|
---|
1814 | partial void OnPropertyValuesBinaryChanged();
|
---|
1815 | partial void OnLastUpdatedDateChanging(System.DateTime value);
|
---|
1816 | partial void OnLastUpdatedDateChanged();
|
---|
1817 | #endregion
|
---|
1818 |
|
---|
1819 | public aspnet_Profile()
|
---|
1820 | {
|
---|
1821 | this._aspnet_User = default(EntityRef<aspnet_User>);
|
---|
1822 | OnCreated();
|
---|
1823 | }
|
---|
1824 |
|
---|
1825 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
1826 | public System.Guid UserId
|
---|
1827 | {
|
---|
1828 | get
|
---|
1829 | {
|
---|
1830 | return this._UserId;
|
---|
1831 | }
|
---|
1832 | set
|
---|
1833 | {
|
---|
1834 | if ((this._UserId != value))
|
---|
1835 | {
|
---|
1836 | if (this._aspnet_User.HasLoadedOrAssignedValue)
|
---|
1837 | {
|
---|
1838 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
1839 | }
|
---|
1840 | this.OnUserIdChanging(value);
|
---|
1841 | this.SendPropertyChanging();
|
---|
1842 | this._UserId = value;
|
---|
1843 | this.SendPropertyChanged("UserId");
|
---|
1844 | this.OnUserIdChanged();
|
---|
1845 | }
|
---|
1846 | }
|
---|
1847 | }
|
---|
1848 |
|
---|
1849 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyNames", DbType="NText NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]
|
---|
1850 | public string PropertyNames
|
---|
1851 | {
|
---|
1852 | get
|
---|
1853 | {
|
---|
1854 | return this._PropertyNames;
|
---|
1855 | }
|
---|
1856 | set
|
---|
1857 | {
|
---|
1858 | if ((this._PropertyNames != value))
|
---|
1859 | {
|
---|
1860 | this.OnPropertyNamesChanging(value);
|
---|
1861 | this.SendPropertyChanging();
|
---|
1862 | this._PropertyNames = value;
|
---|
1863 | this.SendPropertyChanged("PropertyNames");
|
---|
1864 | this.OnPropertyNamesChanged();
|
---|
1865 | }
|
---|
1866 | }
|
---|
1867 | }
|
---|
1868 |
|
---|
1869 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyValuesString", DbType="NText NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]
|
---|
1870 | public string PropertyValuesString
|
---|
1871 | {
|
---|
1872 | get
|
---|
1873 | {
|
---|
1874 | return this._PropertyValuesString;
|
---|
1875 | }
|
---|
1876 | set
|
---|
1877 | {
|
---|
1878 | if ((this._PropertyValuesString != value))
|
---|
1879 | {
|
---|
1880 | this.OnPropertyValuesStringChanging(value);
|
---|
1881 | this.SendPropertyChanging();
|
---|
1882 | this._PropertyValuesString = value;
|
---|
1883 | this.SendPropertyChanged("PropertyValuesString");
|
---|
1884 | this.OnPropertyValuesStringChanged();
|
---|
1885 | }
|
---|
1886 | }
|
---|
1887 | }
|
---|
1888 |
|
---|
1889 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyValuesBinary", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)]
|
---|
1890 | public System.Data.Linq.Binary PropertyValuesBinary
|
---|
1891 | {
|
---|
1892 | get
|
---|
1893 | {
|
---|
1894 | return this._PropertyValuesBinary;
|
---|
1895 | }
|
---|
1896 | set
|
---|
1897 | {
|
---|
1898 | if ((this._PropertyValuesBinary != value))
|
---|
1899 | {
|
---|
1900 | this.OnPropertyValuesBinaryChanging(value);
|
---|
1901 | this.SendPropertyChanging();
|
---|
1902 | this._PropertyValuesBinary = value;
|
---|
1903 | this.SendPropertyChanged("PropertyValuesBinary");
|
---|
1904 | this.OnPropertyValuesBinaryChanged();
|
---|
1905 | }
|
---|
1906 | }
|
---|
1907 | }
|
---|
1908 |
|
---|
1909 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")]
|
---|
1910 | public System.DateTime LastUpdatedDate
|
---|
1911 | {
|
---|
1912 | get
|
---|
1913 | {
|
---|
1914 | return this._LastUpdatedDate;
|
---|
1915 | }
|
---|
1916 | set
|
---|
1917 | {
|
---|
1918 | if ((this._LastUpdatedDate != value))
|
---|
1919 | {
|
---|
1920 | this.OnLastUpdatedDateChanging(value);
|
---|
1921 | this.SendPropertyChanging();
|
---|
1922 | this._LastUpdatedDate = value;
|
---|
1923 | this.SendPropertyChanged("LastUpdatedDate");
|
---|
1924 | this.OnLastUpdatedDateChanged();
|
---|
1925 | }
|
---|
1926 | }
|
---|
1927 | }
|
---|
1928 |
|
---|
1929 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Profile", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
|
---|
1930 | public aspnet_User aspnet_User
|
---|
1931 | {
|
---|
1932 | get
|
---|
1933 | {
|
---|
1934 | return this._aspnet_User.Entity;
|
---|
1935 | }
|
---|
1936 | set
|
---|
1937 | {
|
---|
1938 | aspnet_User previousValue = this._aspnet_User.Entity;
|
---|
1939 | if (((previousValue != value)
|
---|
1940 | || (this._aspnet_User.HasLoadedOrAssignedValue == false)))
|
---|
1941 | {
|
---|
1942 | this.SendPropertyChanging();
|
---|
1943 | if ((previousValue != null))
|
---|
1944 | {
|
---|
1945 | this._aspnet_User.Entity = null;
|
---|
1946 | previousValue.aspnet_Profile = null;
|
---|
1947 | }
|
---|
1948 | this._aspnet_User.Entity = value;
|
---|
1949 | if ((value != null))
|
---|
1950 | {
|
---|
1951 | value.aspnet_Profile = this;
|
---|
1952 | this._UserId = value.UserId;
|
---|
1953 | }
|
---|
1954 | else
|
---|
1955 | {
|
---|
1956 | this._UserId = default(System.Guid);
|
---|
1957 | }
|
---|
1958 | this.SendPropertyChanged("aspnet_User");
|
---|
1959 | }
|
---|
1960 | }
|
---|
1961 | }
|
---|
1962 |
|
---|
1963 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
1964 |
|
---|
1965 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
1966 |
|
---|
1967 | protected virtual void SendPropertyChanging()
|
---|
1968 | {
|
---|
1969 | if ((this.PropertyChanging != null))
|
---|
1970 | {
|
---|
1971 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
1972 | }
|
---|
1973 | }
|
---|
1974 |
|
---|
1975 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
1976 | {
|
---|
1977 | if ((this.PropertyChanged != null))
|
---|
1978 | {
|
---|
1979 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
1980 | }
|
---|
1981 | }
|
---|
1982 | }
|
---|
1983 |
|
---|
1984 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Roles")]
|
---|
1985 | public partial class aspnet_Role : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
1986 | {
|
---|
1987 |
|
---|
1988 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
1989 |
|
---|
1990 | private System.Guid _ApplicationId;
|
---|
1991 |
|
---|
1992 | private System.Guid _RoleId;
|
---|
1993 |
|
---|
1994 | private string _RoleName;
|
---|
1995 |
|
---|
1996 | private string _LoweredRoleName;
|
---|
1997 |
|
---|
1998 | private string _Description;
|
---|
1999 |
|
---|
2000 | private EntitySet<aspnet_UsersInRole> _aspnet_UsersInRoles;
|
---|
2001 |
|
---|
2002 | private EntityRef<aspnet_Application> _aspnet_Application;
|
---|
2003 |
|
---|
2004 | #region Extensibility Method Definitions
|
---|
2005 | partial void OnLoaded();
|
---|
2006 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
2007 | partial void OnCreated();
|
---|
2008 | partial void OnApplicationIdChanging(System.Guid value);
|
---|
2009 | partial void OnApplicationIdChanged();
|
---|
2010 | partial void OnRoleIdChanging(System.Guid value);
|
---|
2011 | partial void OnRoleIdChanged();
|
---|
2012 | partial void OnRoleNameChanging(string value);
|
---|
2013 | partial void OnRoleNameChanged();
|
---|
2014 | partial void OnLoweredRoleNameChanging(string value);
|
---|
2015 | partial void OnLoweredRoleNameChanged();
|
---|
2016 | partial void OnDescriptionChanging(string value);
|
---|
2017 | partial void OnDescriptionChanged();
|
---|
2018 | #endregion
|
---|
2019 |
|
---|
2020 | public aspnet_Role()
|
---|
2021 | {
|
---|
2022 | this._aspnet_UsersInRoles = new EntitySet<aspnet_UsersInRole>(new Action<aspnet_UsersInRole>(this.attach_aspnet_UsersInRoles), new Action<aspnet_UsersInRole>(this.detach_aspnet_UsersInRoles));
|
---|
2023 | this._aspnet_Application = default(EntityRef<aspnet_Application>);
|
---|
2024 | OnCreated();
|
---|
2025 | }
|
---|
2026 |
|
---|
2027 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")]
|
---|
2028 | public System.Guid ApplicationId
|
---|
2029 | {
|
---|
2030 | get
|
---|
2031 | {
|
---|
2032 | return this._ApplicationId;
|
---|
2033 | }
|
---|
2034 | set
|
---|
2035 | {
|
---|
2036 | if ((this._ApplicationId != value))
|
---|
2037 | {
|
---|
2038 | if (this._aspnet_Application.HasLoadedOrAssignedValue)
|
---|
2039 | {
|
---|
2040 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
2041 | }
|
---|
2042 | this.OnApplicationIdChanging(value);
|
---|
2043 | this.SendPropertyChanging();
|
---|
2044 | this._ApplicationId = value;
|
---|
2045 | this.SendPropertyChanged("ApplicationId");
|
---|
2046 | this.OnApplicationIdChanged();
|
---|
2047 | }
|
---|
2048 | }
|
---|
2049 | }
|
---|
2050 |
|
---|
2051 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
2052 | public System.Guid RoleId
|
---|
2053 | {
|
---|
2054 | get
|
---|
2055 | {
|
---|
2056 | return this._RoleId;
|
---|
2057 | }
|
---|
2058 | set
|
---|
2059 | {
|
---|
2060 | if ((this._RoleId != value))
|
---|
2061 | {
|
---|
2062 | this.OnRoleIdChanging(value);
|
---|
2063 | this.SendPropertyChanging();
|
---|
2064 | this._RoleId = value;
|
---|
2065 | this.SendPropertyChanged("RoleId");
|
---|
2066 | this.OnRoleIdChanged();
|
---|
2067 | }
|
---|
2068 | }
|
---|
2069 | }
|
---|
2070 |
|
---|
2071 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
2072 | public string RoleName
|
---|
2073 | {
|
---|
2074 | get
|
---|
2075 | {
|
---|
2076 | return this._RoleName;
|
---|
2077 | }
|
---|
2078 | set
|
---|
2079 | {
|
---|
2080 | if ((this._RoleName != value))
|
---|
2081 | {
|
---|
2082 | this.OnRoleNameChanging(value);
|
---|
2083 | this.SendPropertyChanging();
|
---|
2084 | this._RoleName = value;
|
---|
2085 | this.SendPropertyChanged("RoleName");
|
---|
2086 | this.OnRoleNameChanged();
|
---|
2087 | }
|
---|
2088 | }
|
---|
2089 | }
|
---|
2090 |
|
---|
2091 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredRoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
2092 | public string LoweredRoleName
|
---|
2093 | {
|
---|
2094 | get
|
---|
2095 | {
|
---|
2096 | return this._LoweredRoleName;
|
---|
2097 | }
|
---|
2098 | set
|
---|
2099 | {
|
---|
2100 | if ((this._LoweredRoleName != value))
|
---|
2101 | {
|
---|
2102 | this.OnLoweredRoleNameChanging(value);
|
---|
2103 | this.SendPropertyChanging();
|
---|
2104 | this._LoweredRoleName = value;
|
---|
2105 | this.SendPropertyChanged("LoweredRoleName");
|
---|
2106 | this.OnLoweredRoleNameChanged();
|
---|
2107 | }
|
---|
2108 | }
|
---|
2109 | }
|
---|
2110 |
|
---|
2111 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(256)")]
|
---|
2112 | public string Description
|
---|
2113 | {
|
---|
2114 | get
|
---|
2115 | {
|
---|
2116 | return this._Description;
|
---|
2117 | }
|
---|
2118 | set
|
---|
2119 | {
|
---|
2120 | if ((this._Description != value))
|
---|
2121 | {
|
---|
2122 | this.OnDescriptionChanging(value);
|
---|
2123 | this.SendPropertyChanging();
|
---|
2124 | this._Description = value;
|
---|
2125 | this.SendPropertyChanged("Description");
|
---|
2126 | this.OnDescriptionChanged();
|
---|
2127 | }
|
---|
2128 | }
|
---|
2129 | }
|
---|
2130 |
|
---|
2131 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Role_aspnet_UsersInRole", Storage="_aspnet_UsersInRoles", ThisKey="RoleId", OtherKey="RoleId")]
|
---|
2132 | public EntitySet<aspnet_UsersInRole> aspnet_UsersInRoles
|
---|
2133 | {
|
---|
2134 | get
|
---|
2135 | {
|
---|
2136 | return this._aspnet_UsersInRoles;
|
---|
2137 | }
|
---|
2138 | set
|
---|
2139 | {
|
---|
2140 | this._aspnet_UsersInRoles.Assign(value);
|
---|
2141 | }
|
---|
2142 | }
|
---|
2143 |
|
---|
2144 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Role", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)]
|
---|
2145 | public aspnet_Application aspnet_Application
|
---|
2146 | {
|
---|
2147 | get
|
---|
2148 | {
|
---|
2149 | return this._aspnet_Application.Entity;
|
---|
2150 | }
|
---|
2151 | set
|
---|
2152 | {
|
---|
2153 | aspnet_Application previousValue = this._aspnet_Application.Entity;
|
---|
2154 | if (((previousValue != value)
|
---|
2155 | || (this._aspnet_Application.HasLoadedOrAssignedValue == false)))
|
---|
2156 | {
|
---|
2157 | this.SendPropertyChanging();
|
---|
2158 | if ((previousValue != null))
|
---|
2159 | {
|
---|
2160 | this._aspnet_Application.Entity = null;
|
---|
2161 | previousValue.aspnet_Roles.Remove(this);
|
---|
2162 | }
|
---|
2163 | this._aspnet_Application.Entity = value;
|
---|
2164 | if ((value != null))
|
---|
2165 | {
|
---|
2166 | value.aspnet_Roles.Add(this);
|
---|
2167 | this._ApplicationId = value.ApplicationId;
|
---|
2168 | }
|
---|
2169 | else
|
---|
2170 | {
|
---|
2171 | this._ApplicationId = default(System.Guid);
|
---|
2172 | }
|
---|
2173 | this.SendPropertyChanged("aspnet_Application");
|
---|
2174 | }
|
---|
2175 | }
|
---|
2176 | }
|
---|
2177 |
|
---|
2178 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
2179 |
|
---|
2180 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
2181 |
|
---|
2182 | protected virtual void SendPropertyChanging()
|
---|
2183 | {
|
---|
2184 | if ((this.PropertyChanging != null))
|
---|
2185 | {
|
---|
2186 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
2187 | }
|
---|
2188 | }
|
---|
2189 |
|
---|
2190 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
2191 | {
|
---|
2192 | if ((this.PropertyChanged != null))
|
---|
2193 | {
|
---|
2194 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
2195 | }
|
---|
2196 | }
|
---|
2197 |
|
---|
2198 | private void attach_aspnet_UsersInRoles(aspnet_UsersInRole entity)
|
---|
2199 | {
|
---|
2200 | this.SendPropertyChanging();
|
---|
2201 | entity.aspnet_Role = this;
|
---|
2202 | }
|
---|
2203 |
|
---|
2204 | private void detach_aspnet_UsersInRoles(aspnet_UsersInRole entity)
|
---|
2205 | {
|
---|
2206 | this.SendPropertyChanging();
|
---|
2207 | entity.aspnet_Role = null;
|
---|
2208 | }
|
---|
2209 | }
|
---|
2210 |
|
---|
2211 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_SchemaVersions")]
|
---|
2212 | public partial class aspnet_SchemaVersion : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
2213 | {
|
---|
2214 |
|
---|
2215 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
2216 |
|
---|
2217 | private string _Feature;
|
---|
2218 |
|
---|
2219 | private string _CompatibleSchemaVersion;
|
---|
2220 |
|
---|
2221 | private bool _IsCurrentVersion;
|
---|
2222 |
|
---|
2223 | #region Extensibility Method Definitions
|
---|
2224 | partial void OnLoaded();
|
---|
2225 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
2226 | partial void OnCreated();
|
---|
2227 | partial void OnFeatureChanging(string value);
|
---|
2228 | partial void OnFeatureChanged();
|
---|
2229 | partial void OnCompatibleSchemaVersionChanging(string value);
|
---|
2230 | partial void OnCompatibleSchemaVersionChanged();
|
---|
2231 | partial void OnIsCurrentVersionChanging(bool value);
|
---|
2232 | partial void OnIsCurrentVersionChanged();
|
---|
2233 | #endregion
|
---|
2234 |
|
---|
2235 | public aspnet_SchemaVersion()
|
---|
2236 | {
|
---|
2237 | OnCreated();
|
---|
2238 | }
|
---|
2239 |
|
---|
2240 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Feature", DbType="NVarChar(128) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
---|
2241 | public string Feature
|
---|
2242 | {
|
---|
2243 | get
|
---|
2244 | {
|
---|
2245 | return this._Feature;
|
---|
2246 | }
|
---|
2247 | set
|
---|
2248 | {
|
---|
2249 | if ((this._Feature != value))
|
---|
2250 | {
|
---|
2251 | this.OnFeatureChanging(value);
|
---|
2252 | this.SendPropertyChanging();
|
---|
2253 | this._Feature = value;
|
---|
2254 | this.SendPropertyChanged("Feature");
|
---|
2255 | this.OnFeatureChanged();
|
---|
2256 | }
|
---|
2257 | }
|
---|
2258 | }
|
---|
2259 |
|
---|
2260 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompatibleSchemaVersion", DbType="NVarChar(128) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
---|
2261 | public string CompatibleSchemaVersion
|
---|
2262 | {
|
---|
2263 | get
|
---|
2264 | {
|
---|
2265 | return this._CompatibleSchemaVersion;
|
---|
2266 | }
|
---|
2267 | set
|
---|
2268 | {
|
---|
2269 | if ((this._CompatibleSchemaVersion != value))
|
---|
2270 | {
|
---|
2271 | this.OnCompatibleSchemaVersionChanging(value);
|
---|
2272 | this.SendPropertyChanging();
|
---|
2273 | this._CompatibleSchemaVersion = value;
|
---|
2274 | this.SendPropertyChanged("CompatibleSchemaVersion");
|
---|
2275 | this.OnCompatibleSchemaVersionChanged();
|
---|
2276 | }
|
---|
2277 | }
|
---|
2278 | }
|
---|
2279 |
|
---|
2280 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCurrentVersion", DbType="Bit NOT NULL")]
|
---|
2281 | public bool IsCurrentVersion
|
---|
2282 | {
|
---|
2283 | get
|
---|
2284 | {
|
---|
2285 | return this._IsCurrentVersion;
|
---|
2286 | }
|
---|
2287 | set
|
---|
2288 | {
|
---|
2289 | if ((this._IsCurrentVersion != value))
|
---|
2290 | {
|
---|
2291 | this.OnIsCurrentVersionChanging(value);
|
---|
2292 | this.SendPropertyChanging();
|
---|
2293 | this._IsCurrentVersion = value;
|
---|
2294 | this.SendPropertyChanged("IsCurrentVersion");
|
---|
2295 | this.OnIsCurrentVersionChanged();
|
---|
2296 | }
|
---|
2297 | }
|
---|
2298 | }
|
---|
2299 |
|
---|
2300 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
2301 |
|
---|
2302 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
2303 |
|
---|
2304 | protected virtual void SendPropertyChanging()
|
---|
2305 | {
|
---|
2306 | if ((this.PropertyChanging != null))
|
---|
2307 | {
|
---|
2308 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
2309 | }
|
---|
2310 | }
|
---|
2311 |
|
---|
2312 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
2313 | {
|
---|
2314 | if ((this.PropertyChanged != null))
|
---|
2315 | {
|
---|
2316 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
2317 | }
|
---|
2318 | }
|
---|
2319 | }
|
---|
2320 |
|
---|
2321 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Users")]
|
---|
2322 | public partial class aspnet_User : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
2323 | {
|
---|
2324 |
|
---|
2325 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
2326 |
|
---|
2327 | private System.Guid _ApplicationId;
|
---|
2328 |
|
---|
2329 | private System.Guid _UserId;
|
---|
2330 |
|
---|
2331 | private string _UserName;
|
---|
2332 |
|
---|
2333 | private string _LoweredUserName;
|
---|
2334 |
|
---|
2335 | private string _MobileAlias;
|
---|
2336 |
|
---|
2337 | private bool _IsAnonymous;
|
---|
2338 |
|
---|
2339 | private System.DateTime _LastActivityDate;
|
---|
2340 |
|
---|
2341 | private EntityRef<aspnet_Membership> _aspnet_Membership;
|
---|
2342 |
|
---|
2343 | private EntitySet<aspnet_PersonalizationPerUser> _aspnet_PersonalizationPerUsers;
|
---|
2344 |
|
---|
2345 | private EntityRef<aspnet_Profile> _aspnet_Profile;
|
---|
2346 |
|
---|
2347 | private EntitySet<aspnet_UsersInRole> _aspnet_UsersInRoles;
|
---|
2348 |
|
---|
2349 | private EntityRef<aspnet_Application> _aspnet_Application;
|
---|
2350 |
|
---|
2351 | #region Extensibility Method Definitions
|
---|
2352 | partial void OnLoaded();
|
---|
2353 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
2354 | partial void OnCreated();
|
---|
2355 | partial void OnApplicationIdChanging(System.Guid value);
|
---|
2356 | partial void OnApplicationIdChanged();
|
---|
2357 | partial void OnUserIdChanging(System.Guid value);
|
---|
2358 | partial void OnUserIdChanged();
|
---|
2359 | partial void OnUserNameChanging(string value);
|
---|
2360 | partial void OnUserNameChanged();
|
---|
2361 | partial void OnLoweredUserNameChanging(string value);
|
---|
2362 | partial void OnLoweredUserNameChanged();
|
---|
2363 | partial void OnMobileAliasChanging(string value);
|
---|
2364 | partial void OnMobileAliasChanged();
|
---|
2365 | partial void OnIsAnonymousChanging(bool value);
|
---|
2366 | partial void OnIsAnonymousChanged();
|
---|
2367 | partial void OnLastActivityDateChanging(System.DateTime value);
|
---|
2368 | partial void OnLastActivityDateChanged();
|
---|
2369 | #endregion
|
---|
2370 |
|
---|
2371 | public aspnet_User()
|
---|
2372 | {
|
---|
2373 | this._aspnet_Membership = default(EntityRef<aspnet_Membership>);
|
---|
2374 | this._aspnet_PersonalizationPerUsers = new EntitySet<aspnet_PersonalizationPerUser>(new Action<aspnet_PersonalizationPerUser>(this.attach_aspnet_PersonalizationPerUsers), new Action<aspnet_PersonalizationPerUser>(this.detach_aspnet_PersonalizationPerUsers));
|
---|
2375 | this._aspnet_Profile = default(EntityRef<aspnet_Profile>);
|
---|
2376 | this._aspnet_UsersInRoles = new EntitySet<aspnet_UsersInRole>(new Action<aspnet_UsersInRole>(this.attach_aspnet_UsersInRoles), new Action<aspnet_UsersInRole>(this.detach_aspnet_UsersInRoles));
|
---|
2377 | this._aspnet_Application = default(EntityRef<aspnet_Application>);
|
---|
2378 | OnCreated();
|
---|
2379 | }
|
---|
2380 |
|
---|
2381 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")]
|
---|
2382 | public System.Guid ApplicationId
|
---|
2383 | {
|
---|
2384 | get
|
---|
2385 | {
|
---|
2386 | return this._ApplicationId;
|
---|
2387 | }
|
---|
2388 | set
|
---|
2389 | {
|
---|
2390 | if ((this._ApplicationId != value))
|
---|
2391 | {
|
---|
2392 | if (this._aspnet_Application.HasLoadedOrAssignedValue)
|
---|
2393 | {
|
---|
2394 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
2395 | }
|
---|
2396 | this.OnApplicationIdChanging(value);
|
---|
2397 | this.SendPropertyChanging();
|
---|
2398 | this._ApplicationId = value;
|
---|
2399 | this.SendPropertyChanged("ApplicationId");
|
---|
2400 | this.OnApplicationIdChanged();
|
---|
2401 | }
|
---|
2402 | }
|
---|
2403 | }
|
---|
2404 |
|
---|
2405 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
2406 | public System.Guid UserId
|
---|
2407 | {
|
---|
2408 | get
|
---|
2409 | {
|
---|
2410 | return this._UserId;
|
---|
2411 | }
|
---|
2412 | set
|
---|
2413 | {
|
---|
2414 | if ((this._UserId != value))
|
---|
2415 | {
|
---|
2416 | this.OnUserIdChanging(value);
|
---|
2417 | this.SendPropertyChanging();
|
---|
2418 | this._UserId = value;
|
---|
2419 | this.SendPropertyChanged("UserId");
|
---|
2420 | this.OnUserIdChanged();
|
---|
2421 | }
|
---|
2422 | }
|
---|
2423 | }
|
---|
2424 |
|
---|
2425 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
2426 | public string UserName
|
---|
2427 | {
|
---|
2428 | get
|
---|
2429 | {
|
---|
2430 | return this._UserName;
|
---|
2431 | }
|
---|
2432 | set
|
---|
2433 | {
|
---|
2434 | if ((this._UserName != value))
|
---|
2435 | {
|
---|
2436 | this.OnUserNameChanging(value);
|
---|
2437 | this.SendPropertyChanging();
|
---|
2438 | this._UserName = value;
|
---|
2439 | this.SendPropertyChanged("UserName");
|
---|
2440 | this.OnUserNameChanged();
|
---|
2441 | }
|
---|
2442 | }
|
---|
2443 | }
|
---|
2444 |
|
---|
2445 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredUserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
2446 | public string LoweredUserName
|
---|
2447 | {
|
---|
2448 | get
|
---|
2449 | {
|
---|
2450 | return this._LoweredUserName;
|
---|
2451 | }
|
---|
2452 | set
|
---|
2453 | {
|
---|
2454 | if ((this._LoweredUserName != value))
|
---|
2455 | {
|
---|
2456 | this.OnLoweredUserNameChanging(value);
|
---|
2457 | this.SendPropertyChanging();
|
---|
2458 | this._LoweredUserName = value;
|
---|
2459 | this.SendPropertyChanged("LoweredUserName");
|
---|
2460 | this.OnLoweredUserNameChanged();
|
---|
2461 | }
|
---|
2462 | }
|
---|
2463 | }
|
---|
2464 |
|
---|
2465 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MobileAlias", DbType="NVarChar(16)")]
|
---|
2466 | public string MobileAlias
|
---|
2467 | {
|
---|
2468 | get
|
---|
2469 | {
|
---|
2470 | return this._MobileAlias;
|
---|
2471 | }
|
---|
2472 | set
|
---|
2473 | {
|
---|
2474 | if ((this._MobileAlias != value))
|
---|
2475 | {
|
---|
2476 | this.OnMobileAliasChanging(value);
|
---|
2477 | this.SendPropertyChanging();
|
---|
2478 | this._MobileAlias = value;
|
---|
2479 | this.SendPropertyChanged("MobileAlias");
|
---|
2480 | this.OnMobileAliasChanged();
|
---|
2481 | }
|
---|
2482 | }
|
---|
2483 | }
|
---|
2484 |
|
---|
2485 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAnonymous", DbType="Bit NOT NULL")]
|
---|
2486 | public bool IsAnonymous
|
---|
2487 | {
|
---|
2488 | get
|
---|
2489 | {
|
---|
2490 | return this._IsAnonymous;
|
---|
2491 | }
|
---|
2492 | set
|
---|
2493 | {
|
---|
2494 | if ((this._IsAnonymous != value))
|
---|
2495 | {
|
---|
2496 | this.OnIsAnonymousChanging(value);
|
---|
2497 | this.SendPropertyChanging();
|
---|
2498 | this._IsAnonymous = value;
|
---|
2499 | this.SendPropertyChanged("IsAnonymous");
|
---|
2500 | this.OnIsAnonymousChanged();
|
---|
2501 | }
|
---|
2502 | }
|
---|
2503 | }
|
---|
2504 |
|
---|
2505 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastActivityDate", DbType="DateTime NOT NULL")]
|
---|
2506 | public System.DateTime LastActivityDate
|
---|
2507 | {
|
---|
2508 | get
|
---|
2509 | {
|
---|
2510 | return this._LastActivityDate;
|
---|
2511 | }
|
---|
2512 | set
|
---|
2513 | {
|
---|
2514 | if ((this._LastActivityDate != value))
|
---|
2515 | {
|
---|
2516 | this.OnLastActivityDateChanging(value);
|
---|
2517 | this.SendPropertyChanging();
|
---|
2518 | this._LastActivityDate = value;
|
---|
2519 | this.SendPropertyChanged("LastActivityDate");
|
---|
2520 | this.OnLastActivityDateChanged();
|
---|
2521 | }
|
---|
2522 | }
|
---|
2523 | }
|
---|
2524 |
|
---|
2525 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Membership", Storage="_aspnet_Membership", ThisKey="UserId", OtherKey="UserId", IsUnique=true, IsForeignKey=false)]
|
---|
2526 | public aspnet_Membership aspnet_Membership
|
---|
2527 | {
|
---|
2528 | get
|
---|
2529 | {
|
---|
2530 | return this._aspnet_Membership.Entity;
|
---|
2531 | }
|
---|
2532 | set
|
---|
2533 | {
|
---|
2534 | aspnet_Membership previousValue = this._aspnet_Membership.Entity;
|
---|
2535 | if (((previousValue != value)
|
---|
2536 | || (this._aspnet_Membership.HasLoadedOrAssignedValue == false)))
|
---|
2537 | {
|
---|
2538 | this.SendPropertyChanging();
|
---|
2539 | if ((previousValue != null))
|
---|
2540 | {
|
---|
2541 | this._aspnet_Membership.Entity = null;
|
---|
2542 | previousValue.aspnet_User = null;
|
---|
2543 | }
|
---|
2544 | this._aspnet_Membership.Entity = value;
|
---|
2545 | if ((value != null))
|
---|
2546 | {
|
---|
2547 | value.aspnet_User = this;
|
---|
2548 | }
|
---|
2549 | this.SendPropertyChanged("aspnet_Membership");
|
---|
2550 | }
|
---|
2551 | }
|
---|
2552 | }
|
---|
2553 |
|
---|
2554 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_PersonalizationPerUser", Storage="_aspnet_PersonalizationPerUsers", ThisKey="UserId", OtherKey="UserId")]
|
---|
2555 | public EntitySet<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUsers
|
---|
2556 | {
|
---|
2557 | get
|
---|
2558 | {
|
---|
2559 | return this._aspnet_PersonalizationPerUsers;
|
---|
2560 | }
|
---|
2561 | set
|
---|
2562 | {
|
---|
2563 | this._aspnet_PersonalizationPerUsers.Assign(value);
|
---|
2564 | }
|
---|
2565 | }
|
---|
2566 |
|
---|
2567 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Profile", Storage="_aspnet_Profile", ThisKey="UserId", OtherKey="UserId", IsUnique=true, IsForeignKey=false)]
|
---|
2568 | public aspnet_Profile aspnet_Profile
|
---|
2569 | {
|
---|
2570 | get
|
---|
2571 | {
|
---|
2572 | return this._aspnet_Profile.Entity;
|
---|
2573 | }
|
---|
2574 | set
|
---|
2575 | {
|
---|
2576 | aspnet_Profile previousValue = this._aspnet_Profile.Entity;
|
---|
2577 | if (((previousValue != value)
|
---|
2578 | || (this._aspnet_Profile.HasLoadedOrAssignedValue == false)))
|
---|
2579 | {
|
---|
2580 | this.SendPropertyChanging();
|
---|
2581 | if ((previousValue != null))
|
---|
2582 | {
|
---|
2583 | this._aspnet_Profile.Entity = null;
|
---|
2584 | previousValue.aspnet_User = null;
|
---|
2585 | }
|
---|
2586 | this._aspnet_Profile.Entity = value;
|
---|
2587 | if ((value != null))
|
---|
2588 | {
|
---|
2589 | value.aspnet_User = this;
|
---|
2590 | }
|
---|
2591 | this.SendPropertyChanged("aspnet_Profile");
|
---|
2592 | }
|
---|
2593 | }
|
---|
2594 | }
|
---|
2595 |
|
---|
2596 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_UsersInRole", Storage="_aspnet_UsersInRoles", ThisKey="UserId", OtherKey="UserId")]
|
---|
2597 | public EntitySet<aspnet_UsersInRole> aspnet_UsersInRoles
|
---|
2598 | {
|
---|
2599 | get
|
---|
2600 | {
|
---|
2601 | return this._aspnet_UsersInRoles;
|
---|
2602 | }
|
---|
2603 | set
|
---|
2604 | {
|
---|
2605 | this._aspnet_UsersInRoles.Assign(value);
|
---|
2606 | }
|
---|
2607 | }
|
---|
2608 |
|
---|
2609 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_User", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)]
|
---|
2610 | public aspnet_Application aspnet_Application
|
---|
2611 | {
|
---|
2612 | get
|
---|
2613 | {
|
---|
2614 | return this._aspnet_Application.Entity;
|
---|
2615 | }
|
---|
2616 | set
|
---|
2617 | {
|
---|
2618 | aspnet_Application previousValue = this._aspnet_Application.Entity;
|
---|
2619 | if (((previousValue != value)
|
---|
2620 | || (this._aspnet_Application.HasLoadedOrAssignedValue == false)))
|
---|
2621 | {
|
---|
2622 | this.SendPropertyChanging();
|
---|
2623 | if ((previousValue != null))
|
---|
2624 | {
|
---|
2625 | this._aspnet_Application.Entity = null;
|
---|
2626 | previousValue.aspnet_Users.Remove(this);
|
---|
2627 | }
|
---|
2628 | this._aspnet_Application.Entity = value;
|
---|
2629 | if ((value != null))
|
---|
2630 | {
|
---|
2631 | value.aspnet_Users.Add(this);
|
---|
2632 | this._ApplicationId = value.ApplicationId;
|
---|
2633 | }
|
---|
2634 | else
|
---|
2635 | {
|
---|
2636 | this._ApplicationId = default(System.Guid);
|
---|
2637 | }
|
---|
2638 | this.SendPropertyChanged("aspnet_Application");
|
---|
2639 | }
|
---|
2640 | }
|
---|
2641 | }
|
---|
2642 |
|
---|
2643 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
2644 |
|
---|
2645 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
2646 |
|
---|
2647 | protected virtual void SendPropertyChanging()
|
---|
2648 | {
|
---|
2649 | if ((this.PropertyChanging != null))
|
---|
2650 | {
|
---|
2651 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
2652 | }
|
---|
2653 | }
|
---|
2654 |
|
---|
2655 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
2656 | {
|
---|
2657 | if ((this.PropertyChanged != null))
|
---|
2658 | {
|
---|
2659 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
2660 | }
|
---|
2661 | }
|
---|
2662 |
|
---|
2663 | private void attach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)
|
---|
2664 | {
|
---|
2665 | this.SendPropertyChanging();
|
---|
2666 | entity.aspnet_User = this;
|
---|
2667 | }
|
---|
2668 |
|
---|
2669 | private void detach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity)
|
---|
2670 | {
|
---|
2671 | this.SendPropertyChanging();
|
---|
2672 | entity.aspnet_User = null;
|
---|
2673 | }
|
---|
2674 |
|
---|
2675 | private void attach_aspnet_UsersInRoles(aspnet_UsersInRole entity)
|
---|
2676 | {
|
---|
2677 | this.SendPropertyChanging();
|
---|
2678 | entity.aspnet_User = this;
|
---|
2679 | }
|
---|
2680 |
|
---|
2681 | private void detach_aspnet_UsersInRoles(aspnet_UsersInRole entity)
|
---|
2682 | {
|
---|
2683 | this.SendPropertyChanging();
|
---|
2684 | entity.aspnet_User = null;
|
---|
2685 | }
|
---|
2686 | }
|
---|
2687 |
|
---|
2688 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_UsersInRoles")]
|
---|
2689 | public partial class aspnet_UsersInRole : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
2690 | {
|
---|
2691 |
|
---|
2692 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
2693 |
|
---|
2694 | private System.Guid _UserId;
|
---|
2695 |
|
---|
2696 | private System.Guid _RoleId;
|
---|
2697 |
|
---|
2698 | private EntityRef<aspnet_Role> _aspnet_Role;
|
---|
2699 |
|
---|
2700 | private EntityRef<aspnet_User> _aspnet_User;
|
---|
2701 |
|
---|
2702 | #region Extensibility Method Definitions
|
---|
2703 | partial void OnLoaded();
|
---|
2704 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
2705 | partial void OnCreated();
|
---|
2706 | partial void OnUserIdChanging(System.Guid value);
|
---|
2707 | partial void OnUserIdChanged();
|
---|
2708 | partial void OnRoleIdChanging(System.Guid value);
|
---|
2709 | partial void OnRoleIdChanged();
|
---|
2710 | #endregion
|
---|
2711 |
|
---|
2712 | public aspnet_UsersInRole()
|
---|
2713 | {
|
---|
2714 | this._aspnet_Role = default(EntityRef<aspnet_Role>);
|
---|
2715 | this._aspnet_User = default(EntityRef<aspnet_User>);
|
---|
2716 | OnCreated();
|
---|
2717 | }
|
---|
2718 |
|
---|
2719 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
2720 | public System.Guid UserId
|
---|
2721 | {
|
---|
2722 | get
|
---|
2723 | {
|
---|
2724 | return this._UserId;
|
---|
2725 | }
|
---|
2726 | set
|
---|
2727 | {
|
---|
2728 | if ((this._UserId != value))
|
---|
2729 | {
|
---|
2730 | if (this._aspnet_User.HasLoadedOrAssignedValue)
|
---|
2731 | {
|
---|
2732 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
2733 | }
|
---|
2734 | this.OnUserIdChanging(value);
|
---|
2735 | this.SendPropertyChanging();
|
---|
2736 | this._UserId = value;
|
---|
2737 | this.SendPropertyChanged("UserId");
|
---|
2738 | this.OnUserIdChanged();
|
---|
2739 | }
|
---|
2740 | }
|
---|
2741 | }
|
---|
2742 |
|
---|
2743 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]
|
---|
2744 | public System.Guid RoleId
|
---|
2745 | {
|
---|
2746 | get
|
---|
2747 | {
|
---|
2748 | return this._RoleId;
|
---|
2749 | }
|
---|
2750 | set
|
---|
2751 | {
|
---|
2752 | if ((this._RoleId != value))
|
---|
2753 | {
|
---|
2754 | if (this._aspnet_Role.HasLoadedOrAssignedValue)
|
---|
2755 | {
|
---|
2756 | throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
|
---|
2757 | }
|
---|
2758 | this.OnRoleIdChanging(value);
|
---|
2759 | this.SendPropertyChanging();
|
---|
2760 | this._RoleId = value;
|
---|
2761 | this.SendPropertyChanged("RoleId");
|
---|
2762 | this.OnRoleIdChanged();
|
---|
2763 | }
|
---|
2764 | }
|
---|
2765 | }
|
---|
2766 |
|
---|
2767 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Role_aspnet_UsersInRole", Storage="_aspnet_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)]
|
---|
2768 | public aspnet_Role aspnet_Role
|
---|
2769 | {
|
---|
2770 | get
|
---|
2771 | {
|
---|
2772 | return this._aspnet_Role.Entity;
|
---|
2773 | }
|
---|
2774 | set
|
---|
2775 | {
|
---|
2776 | aspnet_Role previousValue = this._aspnet_Role.Entity;
|
---|
2777 | if (((previousValue != value)
|
---|
2778 | || (this._aspnet_Role.HasLoadedOrAssignedValue == false)))
|
---|
2779 | {
|
---|
2780 | this.SendPropertyChanging();
|
---|
2781 | if ((previousValue != null))
|
---|
2782 | {
|
---|
2783 | this._aspnet_Role.Entity = null;
|
---|
2784 | previousValue.aspnet_UsersInRoles.Remove(this);
|
---|
2785 | }
|
---|
2786 | this._aspnet_Role.Entity = value;
|
---|
2787 | if ((value != null))
|
---|
2788 | {
|
---|
2789 | value.aspnet_UsersInRoles.Add(this);
|
---|
2790 | this._RoleId = value.RoleId;
|
---|
2791 | }
|
---|
2792 | else
|
---|
2793 | {
|
---|
2794 | this._RoleId = default(System.Guid);
|
---|
2795 | }
|
---|
2796 | this.SendPropertyChanged("aspnet_Role");
|
---|
2797 | }
|
---|
2798 | }
|
---|
2799 | }
|
---|
2800 |
|
---|
2801 | [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_UsersInRole", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
|
---|
2802 | public aspnet_User aspnet_User
|
---|
2803 | {
|
---|
2804 | get
|
---|
2805 | {
|
---|
2806 | return this._aspnet_User.Entity;
|
---|
2807 | }
|
---|
2808 | set
|
---|
2809 | {
|
---|
2810 | aspnet_User previousValue = this._aspnet_User.Entity;
|
---|
2811 | if (((previousValue != value)
|
---|
2812 | || (this._aspnet_User.HasLoadedOrAssignedValue == false)))
|
---|
2813 | {
|
---|
2814 | this.SendPropertyChanging();
|
---|
2815 | if ((previousValue != null))
|
---|
2816 | {
|
---|
2817 | this._aspnet_User.Entity = null;
|
---|
2818 | previousValue.aspnet_UsersInRoles.Remove(this);
|
---|
2819 | }
|
---|
2820 | this._aspnet_User.Entity = value;
|
---|
2821 | if ((value != null))
|
---|
2822 | {
|
---|
2823 | value.aspnet_UsersInRoles.Add(this);
|
---|
2824 | this._UserId = value.UserId;
|
---|
2825 | }
|
---|
2826 | else
|
---|
2827 | {
|
---|
2828 | this._UserId = default(System.Guid);
|
---|
2829 | }
|
---|
2830 | this.SendPropertyChanged("aspnet_User");
|
---|
2831 | }
|
---|
2832 | }
|
---|
2833 | }
|
---|
2834 |
|
---|
2835 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
2836 |
|
---|
2837 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
2838 |
|
---|
2839 | protected virtual void SendPropertyChanging()
|
---|
2840 | {
|
---|
2841 | if ((this.PropertyChanging != null))
|
---|
2842 | {
|
---|
2843 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
2844 | }
|
---|
2845 | }
|
---|
2846 |
|
---|
2847 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
2848 | {
|
---|
2849 | if ((this.PropertyChanged != null))
|
---|
2850 | {
|
---|
2851 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
2852 | }
|
---|
2853 | }
|
---|
2854 | }
|
---|
2855 |
|
---|
2856 | [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_WebEvent_Events")]
|
---|
2857 | public partial class aspnet_WebEvent_Event : INotifyPropertyChanging, INotifyPropertyChanged
|
---|
2858 | {
|
---|
2859 |
|
---|
2860 | private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
---|
2861 |
|
---|
2862 | private string _EventId;
|
---|
2863 |
|
---|
2864 | private System.DateTime _EventTimeUtc;
|
---|
2865 |
|
---|
2866 | private System.DateTime _EventTime;
|
---|
2867 |
|
---|
2868 | private string _EventType;
|
---|
2869 |
|
---|
2870 | private decimal _EventSequence;
|
---|
2871 |
|
---|
2872 | private decimal _EventOccurrence;
|
---|
2873 |
|
---|
2874 | private int _EventCode;
|
---|
2875 |
|
---|
2876 | private int _EventDetailCode;
|
---|
2877 |
|
---|
2878 | private string _Message;
|
---|
2879 |
|
---|
2880 | private string _ApplicationPath;
|
---|
2881 |
|
---|
2882 | private string _ApplicationVirtualPath;
|
---|
2883 |
|
---|
2884 | private string _MachineName;
|
---|
2885 |
|
---|
2886 | private string _RequestUrl;
|
---|
2887 |
|
---|
2888 | private string _ExceptionType;
|
---|
2889 |
|
---|
2890 | private string _Details;
|
---|
2891 |
|
---|
2892 | #region Extensibility Method Definitions
|
---|
2893 | partial void OnLoaded();
|
---|
2894 | partial void OnValidate(System.Data.Linq.ChangeAction action);
|
---|
2895 | partial void OnCreated();
|
---|
2896 | partial void OnEventIdChanging(string value);
|
---|
2897 | partial void OnEventIdChanged();
|
---|
2898 | partial void OnEventTimeUtcChanging(System.DateTime value);
|
---|
2899 | partial void OnEventTimeUtcChanged();
|
---|
2900 | partial void OnEventTimeChanging(System.DateTime value);
|
---|
2901 | partial void OnEventTimeChanged();
|
---|
2902 | partial void OnEventTypeChanging(string value);
|
---|
2903 | partial void OnEventTypeChanged();
|
---|
2904 | partial void OnEventSequenceChanging(decimal value);
|
---|
2905 | partial void OnEventSequenceChanged();
|
---|
2906 | partial void OnEventOccurrenceChanging(decimal value);
|
---|
2907 | partial void OnEventOccurrenceChanged();
|
---|
2908 | partial void OnEventCodeChanging(int value);
|
---|
2909 | partial void OnEventCodeChanged();
|
---|
2910 | partial void OnEventDetailCodeChanging(int value);
|
---|
2911 | partial void OnEventDetailCodeChanged();
|
---|
2912 | partial void OnMessageChanging(string value);
|
---|
2913 | partial void OnMessageChanged();
|
---|
2914 | partial void OnApplicationPathChanging(string value);
|
---|
2915 | partial void OnApplicationPathChanged();
|
---|
2916 | partial void OnApplicationVirtualPathChanging(string value);
|
---|
2917 | partial void OnApplicationVirtualPathChanged();
|
---|
2918 | partial void OnMachineNameChanging(string value);
|
---|
2919 | partial void OnMachineNameChanged();
|
---|
2920 | partial void OnRequestUrlChanging(string value);
|
---|
2921 | partial void OnRequestUrlChanged();
|
---|
2922 | partial void OnExceptionTypeChanging(string value);
|
---|
2923 | partial void OnExceptionTypeChanged();
|
---|
2924 | partial void OnDetailsChanging(string value);
|
---|
2925 | partial void OnDetailsChanged();
|
---|
2926 | #endregion
|
---|
2927 |
|
---|
2928 | public aspnet_WebEvent_Event()
|
---|
2929 | {
|
---|
2930 | OnCreated();
|
---|
2931 | }
|
---|
2932 |
|
---|
2933 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventId", DbType="Char(32) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
---|
2934 | public string EventId
|
---|
2935 | {
|
---|
2936 | get
|
---|
2937 | {
|
---|
2938 | return this._EventId;
|
---|
2939 | }
|
---|
2940 | set
|
---|
2941 | {
|
---|
2942 | if ((this._EventId != value))
|
---|
2943 | {
|
---|
2944 | this.OnEventIdChanging(value);
|
---|
2945 | this.SendPropertyChanging();
|
---|
2946 | this._EventId = value;
|
---|
2947 | this.SendPropertyChanged("EventId");
|
---|
2948 | this.OnEventIdChanged();
|
---|
2949 | }
|
---|
2950 | }
|
---|
2951 | }
|
---|
2952 |
|
---|
2953 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTimeUtc", DbType="DateTime NOT NULL")]
|
---|
2954 | public System.DateTime EventTimeUtc
|
---|
2955 | {
|
---|
2956 | get
|
---|
2957 | {
|
---|
2958 | return this._EventTimeUtc;
|
---|
2959 | }
|
---|
2960 | set
|
---|
2961 | {
|
---|
2962 | if ((this._EventTimeUtc != value))
|
---|
2963 | {
|
---|
2964 | this.OnEventTimeUtcChanging(value);
|
---|
2965 | this.SendPropertyChanging();
|
---|
2966 | this._EventTimeUtc = value;
|
---|
2967 | this.SendPropertyChanged("EventTimeUtc");
|
---|
2968 | this.OnEventTimeUtcChanged();
|
---|
2969 | }
|
---|
2970 | }
|
---|
2971 | }
|
---|
2972 |
|
---|
2973 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTime", DbType="DateTime NOT NULL")]
|
---|
2974 | public System.DateTime EventTime
|
---|
2975 | {
|
---|
2976 | get
|
---|
2977 | {
|
---|
2978 | return this._EventTime;
|
---|
2979 | }
|
---|
2980 | set
|
---|
2981 | {
|
---|
2982 | if ((this._EventTime != value))
|
---|
2983 | {
|
---|
2984 | this.OnEventTimeChanging(value);
|
---|
2985 | this.SendPropertyChanging();
|
---|
2986 | this._EventTime = value;
|
---|
2987 | this.SendPropertyChanged("EventTime");
|
---|
2988 | this.OnEventTimeChanged();
|
---|
2989 | }
|
---|
2990 | }
|
---|
2991 | }
|
---|
2992 |
|
---|
2993 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventType", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
2994 | public string EventType
|
---|
2995 | {
|
---|
2996 | get
|
---|
2997 | {
|
---|
2998 | return this._EventType;
|
---|
2999 | }
|
---|
3000 | set
|
---|
3001 | {
|
---|
3002 | if ((this._EventType != value))
|
---|
3003 | {
|
---|
3004 | this.OnEventTypeChanging(value);
|
---|
3005 | this.SendPropertyChanging();
|
---|
3006 | this._EventType = value;
|
---|
3007 | this.SendPropertyChanged("EventType");
|
---|
3008 | this.OnEventTypeChanged();
|
---|
3009 | }
|
---|
3010 | }
|
---|
3011 | }
|
---|
3012 |
|
---|
3013 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventSequence", DbType="Decimal(19,0) NOT NULL")]
|
---|
3014 | public decimal EventSequence
|
---|
3015 | {
|
---|
3016 | get
|
---|
3017 | {
|
---|
3018 | return this._EventSequence;
|
---|
3019 | }
|
---|
3020 | set
|
---|
3021 | {
|
---|
3022 | if ((this._EventSequence != value))
|
---|
3023 | {
|
---|
3024 | this.OnEventSequenceChanging(value);
|
---|
3025 | this.SendPropertyChanging();
|
---|
3026 | this._EventSequence = value;
|
---|
3027 | this.SendPropertyChanged("EventSequence");
|
---|
3028 | this.OnEventSequenceChanged();
|
---|
3029 | }
|
---|
3030 | }
|
---|
3031 | }
|
---|
3032 |
|
---|
3033 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventOccurrence", DbType="Decimal(19,0) NOT NULL")]
|
---|
3034 | public decimal EventOccurrence
|
---|
3035 | {
|
---|
3036 | get
|
---|
3037 | {
|
---|
3038 | return this._EventOccurrence;
|
---|
3039 | }
|
---|
3040 | set
|
---|
3041 | {
|
---|
3042 | if ((this._EventOccurrence != value))
|
---|
3043 | {
|
---|
3044 | this.OnEventOccurrenceChanging(value);
|
---|
3045 | this.SendPropertyChanging();
|
---|
3046 | this._EventOccurrence = value;
|
---|
3047 | this.SendPropertyChanged("EventOccurrence");
|
---|
3048 | this.OnEventOccurrenceChanged();
|
---|
3049 | }
|
---|
3050 | }
|
---|
3051 | }
|
---|
3052 |
|
---|
3053 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventCode", DbType="Int NOT NULL")]
|
---|
3054 | public int EventCode
|
---|
3055 | {
|
---|
3056 | get
|
---|
3057 | {
|
---|
3058 | return this._EventCode;
|
---|
3059 | }
|
---|
3060 | set
|
---|
3061 | {
|
---|
3062 | if ((this._EventCode != value))
|
---|
3063 | {
|
---|
3064 | this.OnEventCodeChanging(value);
|
---|
3065 | this.SendPropertyChanging();
|
---|
3066 | this._EventCode = value;
|
---|
3067 | this.SendPropertyChanged("EventCode");
|
---|
3068 | this.OnEventCodeChanged();
|
---|
3069 | }
|
---|
3070 | }
|
---|
3071 | }
|
---|
3072 |
|
---|
3073 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventDetailCode", DbType="Int NOT NULL")]
|
---|
3074 | public int EventDetailCode
|
---|
3075 | {
|
---|
3076 | get
|
---|
3077 | {
|
---|
3078 | return this._EventDetailCode;
|
---|
3079 | }
|
---|
3080 | set
|
---|
3081 | {
|
---|
3082 | if ((this._EventDetailCode != value))
|
---|
3083 | {
|
---|
3084 | this.OnEventDetailCodeChanging(value);
|
---|
3085 | this.SendPropertyChanging();
|
---|
3086 | this._EventDetailCode = value;
|
---|
3087 | this.SendPropertyChanged("EventDetailCode");
|
---|
3088 | this.OnEventDetailCodeChanged();
|
---|
3089 | }
|
---|
3090 | }
|
---|
3091 | }
|
---|
3092 |
|
---|
3093 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Message", DbType="NVarChar(1024)")]
|
---|
3094 | public string Message
|
---|
3095 | {
|
---|
3096 | get
|
---|
3097 | {
|
---|
3098 | return this._Message;
|
---|
3099 | }
|
---|
3100 | set
|
---|
3101 | {
|
---|
3102 | if ((this._Message != value))
|
---|
3103 | {
|
---|
3104 | this.OnMessageChanging(value);
|
---|
3105 | this.SendPropertyChanging();
|
---|
3106 | this._Message = value;
|
---|
3107 | this.SendPropertyChanged("Message");
|
---|
3108 | this.OnMessageChanged();
|
---|
3109 | }
|
---|
3110 | }
|
---|
3111 | }
|
---|
3112 |
|
---|
3113 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationPath", DbType="NVarChar(256)")]
|
---|
3114 | public string ApplicationPath
|
---|
3115 | {
|
---|
3116 | get
|
---|
3117 | {
|
---|
3118 | return this._ApplicationPath;
|
---|
3119 | }
|
---|
3120 | set
|
---|
3121 | {
|
---|
3122 | if ((this._ApplicationPath != value))
|
---|
3123 | {
|
---|
3124 | this.OnApplicationPathChanging(value);
|
---|
3125 | this.SendPropertyChanging();
|
---|
3126 | this._ApplicationPath = value;
|
---|
3127 | this.SendPropertyChanged("ApplicationPath");
|
---|
3128 | this.OnApplicationPathChanged();
|
---|
3129 | }
|
---|
3130 | }
|
---|
3131 | }
|
---|
3132 |
|
---|
3133 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationVirtualPath", DbType="NVarChar(256)")]
|
---|
3134 | public string ApplicationVirtualPath
|
---|
3135 | {
|
---|
3136 | get
|
---|
3137 | {
|
---|
3138 | return this._ApplicationVirtualPath;
|
---|
3139 | }
|
---|
3140 | set
|
---|
3141 | {
|
---|
3142 | if ((this._ApplicationVirtualPath != value))
|
---|
3143 | {
|
---|
3144 | this.OnApplicationVirtualPathChanging(value);
|
---|
3145 | this.SendPropertyChanging();
|
---|
3146 | this._ApplicationVirtualPath = value;
|
---|
3147 | this.SendPropertyChanged("ApplicationVirtualPath");
|
---|
3148 | this.OnApplicationVirtualPathChanged();
|
---|
3149 | }
|
---|
3150 | }
|
---|
3151 | }
|
---|
3152 |
|
---|
3153 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MachineName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
3154 | public string MachineName
|
---|
3155 | {
|
---|
3156 | get
|
---|
3157 | {
|
---|
3158 | return this._MachineName;
|
---|
3159 | }
|
---|
3160 | set
|
---|
3161 | {
|
---|
3162 | if ((this._MachineName != value))
|
---|
3163 | {
|
---|
3164 | this.OnMachineNameChanging(value);
|
---|
3165 | this.SendPropertyChanging();
|
---|
3166 | this._MachineName = value;
|
---|
3167 | this.SendPropertyChanged("MachineName");
|
---|
3168 | this.OnMachineNameChanged();
|
---|
3169 | }
|
---|
3170 | }
|
---|
3171 | }
|
---|
3172 |
|
---|
3173 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RequestUrl", DbType="NVarChar(1024)")]
|
---|
3174 | public string RequestUrl
|
---|
3175 | {
|
---|
3176 | get
|
---|
3177 | {
|
---|
3178 | return this._RequestUrl;
|
---|
3179 | }
|
---|
3180 | set
|
---|
3181 | {
|
---|
3182 | if ((this._RequestUrl != value))
|
---|
3183 | {
|
---|
3184 | this.OnRequestUrlChanging(value);
|
---|
3185 | this.SendPropertyChanging();
|
---|
3186 | this._RequestUrl = value;
|
---|
3187 | this.SendPropertyChanged("RequestUrl");
|
---|
3188 | this.OnRequestUrlChanged();
|
---|
3189 | }
|
---|
3190 | }
|
---|
3191 | }
|
---|
3192 |
|
---|
3193 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExceptionType", DbType="NVarChar(256)")]
|
---|
3194 | public string ExceptionType
|
---|
3195 | {
|
---|
3196 | get
|
---|
3197 | {
|
---|
3198 | return this._ExceptionType;
|
---|
3199 | }
|
---|
3200 | set
|
---|
3201 | {
|
---|
3202 | if ((this._ExceptionType != value))
|
---|
3203 | {
|
---|
3204 | this.OnExceptionTypeChanging(value);
|
---|
3205 | this.SendPropertyChanging();
|
---|
3206 | this._ExceptionType = value;
|
---|
3207 | this.SendPropertyChanged("ExceptionType");
|
---|
3208 | this.OnExceptionTypeChanged();
|
---|
3209 | }
|
---|
3210 | }
|
---|
3211 | }
|
---|
3212 |
|
---|
3213 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Details", DbType="NText", UpdateCheck=UpdateCheck.Never)]
|
---|
3214 | public string Details
|
---|
3215 | {
|
---|
3216 | get
|
---|
3217 | {
|
---|
3218 | return this._Details;
|
---|
3219 | }
|
---|
3220 | set
|
---|
3221 | {
|
---|
3222 | if ((this._Details != value))
|
---|
3223 | {
|
---|
3224 | this.OnDetailsChanging(value);
|
---|
3225 | this.SendPropertyChanging();
|
---|
3226 | this._Details = value;
|
---|
3227 | this.SendPropertyChanged("Details");
|
---|
3228 | this.OnDetailsChanged();
|
---|
3229 | }
|
---|
3230 | }
|
---|
3231 | }
|
---|
3232 |
|
---|
3233 | public event PropertyChangingEventHandler PropertyChanging;
|
---|
3234 |
|
---|
3235 | public event PropertyChangedEventHandler PropertyChanged;
|
---|
3236 |
|
---|
3237 | protected virtual void SendPropertyChanging()
|
---|
3238 | {
|
---|
3239 | if ((this.PropertyChanging != null))
|
---|
3240 | {
|
---|
3241 | this.PropertyChanging(this, emptyChangingEventArgs);
|
---|
3242 | }
|
---|
3243 | }
|
---|
3244 |
|
---|
3245 | protected virtual void SendPropertyChanged(String propertyName)
|
---|
3246 | {
|
---|
3247 | if ((this.PropertyChanged != null))
|
---|
3248 | {
|
---|
3249 | this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
---|
3250 | }
|
---|
3251 | }
|
---|
3252 | }
|
---|
3253 |
|
---|
3254 | public partial class aspnet_UsersInRoles_AddUsersToRolesResult
|
---|
3255 | {
|
---|
3256 |
|
---|
3257 | private string _Name;
|
---|
3258 |
|
---|
3259 | public aspnet_UsersInRoles_AddUsersToRolesResult()
|
---|
3260 | {
|
---|
3261 | }
|
---|
3262 |
|
---|
3263 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
3264 | public string Name
|
---|
3265 | {
|
---|
3266 | get
|
---|
3267 | {
|
---|
3268 | return this._Name;
|
---|
3269 | }
|
---|
3270 | set
|
---|
3271 | {
|
---|
3272 | if ((this._Name != value))
|
---|
3273 | {
|
---|
3274 | this._Name = value;
|
---|
3275 | }
|
---|
3276 | }
|
---|
3277 | }
|
---|
3278 | }
|
---|
3279 |
|
---|
3280 | public partial class aspnet_UsersInRoles_RemoveUsersFromRolesResult
|
---|
3281 | {
|
---|
3282 |
|
---|
3283 | private string _Column1;
|
---|
3284 |
|
---|
3285 | private string _Name;
|
---|
3286 |
|
---|
3287 | public aspnet_UsersInRoles_RemoveUsersFromRolesResult()
|
---|
3288 | {
|
---|
3289 | }
|
---|
3290 |
|
---|
3291 | [global::System.Data.Linq.Mapping.ColumnAttribute(Name="", Storage="_Column1", DbType="NVarChar(1) NOT NULL", CanBeNull=false)]
|
---|
3292 | public string Column1
|
---|
3293 | {
|
---|
3294 | get
|
---|
3295 | {
|
---|
3296 | return this._Column1;
|
---|
3297 | }
|
---|
3298 | set
|
---|
3299 | {
|
---|
3300 | if ((this._Column1 != value))
|
---|
3301 | {
|
---|
3302 | this._Column1 = value;
|
---|
3303 | }
|
---|
3304 | }
|
---|
3305 | }
|
---|
3306 |
|
---|
3307 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
3308 | public string Name
|
---|
3309 | {
|
---|
3310 | get
|
---|
3311 | {
|
---|
3312 | return this._Name;
|
---|
3313 | }
|
---|
3314 | set
|
---|
3315 | {
|
---|
3316 | if ((this._Name != value))
|
---|
3317 | {
|
---|
3318 | this._Name = value;
|
---|
3319 | }
|
---|
3320 | }
|
---|
3321 | }
|
---|
3322 | }
|
---|
3323 |
|
---|
3324 | public partial class aspnet_UsersInRoles_GetUsersInRolesResult
|
---|
3325 | {
|
---|
3326 |
|
---|
3327 | private string _UserName;
|
---|
3328 |
|
---|
3329 | public aspnet_UsersInRoles_GetUsersInRolesResult()
|
---|
3330 | {
|
---|
3331 | }
|
---|
3332 |
|
---|
3333 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
3334 | public string UserName
|
---|
3335 | {
|
---|
3336 | get
|
---|
3337 | {
|
---|
3338 | return this._UserName;
|
---|
3339 | }
|
---|
3340 | set
|
---|
3341 | {
|
---|
3342 | if ((this._UserName != value))
|
---|
3343 | {
|
---|
3344 | this._UserName = value;
|
---|
3345 | }
|
---|
3346 | }
|
---|
3347 | }
|
---|
3348 | }
|
---|
3349 |
|
---|
3350 | public partial class aspnet_UsersInRoles_GetRolesForUserResult
|
---|
3351 | {
|
---|
3352 |
|
---|
3353 | private string _RoleName;
|
---|
3354 |
|
---|
3355 | public aspnet_UsersInRoles_GetRolesForUserResult()
|
---|
3356 | {
|
---|
3357 | }
|
---|
3358 |
|
---|
3359 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
3360 | public string RoleName
|
---|
3361 | {
|
---|
3362 | get
|
---|
3363 | {
|
---|
3364 | return this._RoleName;
|
---|
3365 | }
|
---|
3366 | set
|
---|
3367 | {
|
---|
3368 | if ((this._RoleName != value))
|
---|
3369 | {
|
---|
3370 | this._RoleName = value;
|
---|
3371 | }
|
---|
3372 | }
|
---|
3373 | }
|
---|
3374 | }
|
---|
3375 |
|
---|
3376 | public partial class aspnet_UsersInRoles_FindUsersInRoleResult
|
---|
3377 | {
|
---|
3378 |
|
---|
3379 | private string _UserName;
|
---|
3380 |
|
---|
3381 | public aspnet_UsersInRoles_FindUsersInRoleResult()
|
---|
3382 | {
|
---|
3383 | }
|
---|
3384 |
|
---|
3385 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
3386 | public string UserName
|
---|
3387 | {
|
---|
3388 | get
|
---|
3389 | {
|
---|
3390 | return this._UserName;
|
---|
3391 | }
|
---|
3392 | set
|
---|
3393 | {
|
---|
3394 | if ((this._UserName != value))
|
---|
3395 | {
|
---|
3396 | this._UserName = value;
|
---|
3397 | }
|
---|
3398 | }
|
---|
3399 | }
|
---|
3400 | }
|
---|
3401 |
|
---|
3402 | public partial class aspnet_Roles_GetAllRolesResult
|
---|
3403 | {
|
---|
3404 |
|
---|
3405 | private string _RoleName;
|
---|
3406 |
|
---|
3407 | public aspnet_Roles_GetAllRolesResult()
|
---|
3408 | {
|
---|
3409 | }
|
---|
3410 |
|
---|
3411 | [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)]
|
---|
3412 | public string RoleName
|
---|
3413 | {
|
---|
3414 | get
|
---|
3415 | {
|
---|
3416 | return this._RoleName;
|
---|
3417 | }
|
---|
3418 | set
|
---|
3419 | {
|
---|
3420 | if ((this._RoleName != value))
|
---|
3421 | {
|
---|
3422 | this._RoleName = value;
|
---|
3423 | }
|
---|
3424 | }
|
---|
3425 | }
|
---|
3426 | }
|
---|
3427 | }
|
---|
3428 | #pragma warning restore 1591
|
---|