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