#pragma warning disable 1591 //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace HeuristicLab.Services.Authentication.DataAccess { using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Linq.Expressions; using System.ComponentModel; using System; [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="HeuristicLab.Authentication")] public partial class UserManagementDataContext : System.Data.Linq.DataContext { private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); #region Extensibility Method Definitions partial void OnCreated(); partial void Insertaspnet_Application(aspnet_Application instance); partial void Updateaspnet_Application(aspnet_Application instance); partial void Deleteaspnet_Application(aspnet_Application instance); partial void Insertaspnet_Membership(aspnet_Membership instance); partial void Updateaspnet_Membership(aspnet_Membership instance); partial void Deleteaspnet_Membership(aspnet_Membership instance); partial void Insertaspnet_Path(aspnet_Path instance); partial void Updateaspnet_Path(aspnet_Path instance); partial void Deleteaspnet_Path(aspnet_Path instance); partial void Insertaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance); partial void Updateaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance); partial void Deleteaspnet_PersonalizationAllUser(aspnet_PersonalizationAllUser instance); partial void Insertaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance); partial void Updateaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance); partial void Deleteaspnet_PersonalizationPerUser(aspnet_PersonalizationPerUser instance); partial void Insertaspnet_Profile(aspnet_Profile instance); partial void Updateaspnet_Profile(aspnet_Profile instance); partial void Deleteaspnet_Profile(aspnet_Profile instance); partial void Insertaspnet_Role(aspnet_Role instance); partial void Updateaspnet_Role(aspnet_Role instance); partial void Deleteaspnet_Role(aspnet_Role instance); partial void Insertaspnet_SchemaVersion(aspnet_SchemaVersion instance); partial void Updateaspnet_SchemaVersion(aspnet_SchemaVersion instance); partial void Deleteaspnet_SchemaVersion(aspnet_SchemaVersion instance); partial void Insertaspnet_User(aspnet_User instance); partial void Updateaspnet_User(aspnet_User instance); partial void Deleteaspnet_User(aspnet_User instance); partial void Insertaspnet_UsersInRole(aspnet_UsersInRole instance); partial void Updateaspnet_UsersInRole(aspnet_UsersInRole instance); partial void Deleteaspnet_UsersInRole(aspnet_UsersInRole instance); partial void Insertaspnet_WebEvent_Event(aspnet_WebEvent_Event instance); partial void Updateaspnet_WebEvent_Event(aspnet_WebEvent_Event instance); partial void Deleteaspnet_WebEvent_Event(aspnet_WebEvent_Event instance); #endregion public UserManagementDataContext() : base(global::HeuristicLab.Services.Authentication.DataAccess.Properties.Settings.Default.HeuristicLab_AuthenticationConnectionString, mappingSource) { OnCreated(); } public UserManagementDataContext(string connection) : base(connection, mappingSource) { OnCreated(); } public UserManagementDataContext(System.Data.IDbConnection connection) : base(connection, mappingSource) { OnCreated(); } public UserManagementDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public UserManagementDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public System.Data.Linq.Table aspnet_Applications { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_Memberships { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_Paths { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_PersonalizationAllUsers { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_PersonalizationPerUsers { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_Profiles { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_Roles { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_SchemaVersions { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_Users { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_UsersInRoles { get { return this.GetTable(); } } public System.Data.Linq.Table aspnet_WebEvent_Events { get { return this.GetTable(); } } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Users_DeleteUser")] public int aspnet_Users_DeleteUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="TablesToDeleteFrom", DbType="Int")] System.Nullable tablesToDeleteFrom, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="NumTablesDeletedFrom", DbType="Int")] ref System.Nullable numTablesDeletedFrom) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, tablesToDeleteFrom, numTablesDeletedFrom); numTablesDeletedFrom = ((System.Nullable)(result.GetParameterValue(3))); return ((int)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Users_CreateUser")] public int aspnet_Users_CreateUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationId", DbType="UniqueIdentifier")] System.Nullable applicationId, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="IsUserAnonymous", DbType="Bit")] System.Nullable isUserAnonymous, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="LastActivityDate", DbType="DateTime")] System.Nullable lastActivityDate, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserId", DbType="UniqueIdentifier")] ref System.Nullable userId) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationId, userName, isUserAnonymous, lastActivityDate, userId); userId = ((System.Nullable)(result.GetParameterValue(4))); return ((int)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_AddUsersToRoles")] public ISingleResult aspnet_UsersInRoles_AddUsersToRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNames", DbType="NVarChar(4000)")] string userNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleNames", DbType="NVarChar(4000)")] string roleNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CurrentTimeUtc", DbType="DateTime")] System.Nullable currentTimeUtc) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userNames, roleNames, currentTimeUtc); return ((ISingleResult)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_RemoveUsersFromRoles")] public ISingleResult aspnet_UsersInRoles_RemoveUsersFromRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNames", DbType="NVarChar(4000)")] string userNames, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleNames", DbType="NVarChar(4000)")] string roleNames) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userNames, roleNames); return ((ISingleResult)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_IsUserInRole")] public int aspnet_UsersInRoles_IsUserInRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, roleName); return ((int)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_GetUsersInRoles")] public ISingleResult aspnet_UsersInRoles_GetUsersInRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName); return ((ISingleResult)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_GetRolesForUser")] public ISingleResult aspnet_UsersInRoles_GetRolesForUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName); return ((ISingleResult)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_UsersInRoles_FindUsersInRole")] public ISingleResult aspnet_UsersInRoles_FindUsersInRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserNameToMatch", DbType="NVarChar(256)")] string userNameToMatch) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName, userNameToMatch); return ((ISingleResult)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_CreateRole")] public int aspnet_Roles_CreateRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName); return ((int)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_DeleteRole")] public int aspnet_Roles_DeleteRole([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="DeleteOnlyIfRoleIsEmpty", DbType="Bit")] System.Nullable deleteOnlyIfRoleIsEmpty) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName, deleteOnlyIfRoleIsEmpty); return ((int)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Applications_CreateApplication")] public int aspnet_Applications_CreateApplication([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationId", DbType="UniqueIdentifier")] ref System.Nullable applicationId) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, applicationId); applicationId = ((System.Nullable)(result.GetParameterValue(1))); return ((int)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_RoleExists")] public int aspnet_Roles_RoleExists([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="RoleName", DbType="NVarChar(256)")] string roleName) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, roleName); return ((int)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Roles_GetAllRoles")] public ISingleResult aspnet_Roles_GetAllRoles([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName); return ((ISingleResult)(result.ReturnValue)); } [global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.aspnet_Membership_CreateUser")] public int aspnet_Membership_CreateUser([global::System.Data.Linq.Mapping.ParameterAttribute(Name="ApplicationName", DbType="NVarChar(256)")] string applicationName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserName", DbType="NVarChar(256)")] string userName, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="Password", DbType="NVarChar(128)")] string password, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordSalt", DbType="NVarChar(128)")] string passwordSalt, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="Email", DbType="NVarChar(256)")] string email, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordQuestion", DbType="NVarChar(256)")] string passwordQuestion, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordAnswer", DbType="NVarChar(128)")] string passwordAnswer, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="IsApproved", DbType="Bit")] System.Nullable isApproved, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CurrentTimeUtc", DbType="DateTime")] System.Nullable currentTimeUtc, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="CreateDate", DbType="DateTime")] System.Nullable createDate, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UniqueEmail", DbType="Int")] System.Nullable uniqueEmail, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="PasswordFormat", DbType="Int")] System.Nullable passwordFormat, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="UserId", DbType="UniqueIdentifier")] ref System.Nullable userId) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), applicationName, userName, password, passwordSalt, email, passwordQuestion, passwordAnswer, isApproved, currentTimeUtc, createDate, uniqueEmail, passwordFormat, userId); userId = ((System.Nullable)(result.GetParameterValue(12))); return ((int)(result.ReturnValue)); } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Applications")] public partial class aspnet_Application : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _ApplicationName; private string _LoweredApplicationName; private System.Guid _ApplicationId; private string _Description; private EntitySet _aspnet_Memberships; private EntitySet _aspnet_Paths; private EntitySet _aspnet_Roles; private EntitySet _aspnet_Users; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnApplicationNameChanging(string value); partial void OnApplicationNameChanged(); partial void OnLoweredApplicationNameChanging(string value); partial void OnLoweredApplicationNameChanged(); partial void OnApplicationIdChanging(System.Guid value); partial void OnApplicationIdChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); #endregion public aspnet_Application() { this._aspnet_Memberships = new EntitySet(new Action(this.attach_aspnet_Memberships), new Action(this.detach_aspnet_Memberships)); this._aspnet_Paths = new EntitySet(new Action(this.attach_aspnet_Paths), new Action(this.detach_aspnet_Paths)); this._aspnet_Roles = new EntitySet(new Action(this.attach_aspnet_Roles), new Action(this.detach_aspnet_Roles)); this._aspnet_Users = new EntitySet(new Action(this.attach_aspnet_Users), new Action(this.detach_aspnet_Users)); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string ApplicationName { get { return this._ApplicationName; } set { if ((this._ApplicationName != value)) { this.OnApplicationNameChanging(value); this.SendPropertyChanging(); this._ApplicationName = value; this.SendPropertyChanged("ApplicationName"); this.OnApplicationNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredApplicationName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string LoweredApplicationName { get { return this._LoweredApplicationName; } set { if ((this._LoweredApplicationName != value)) { this.OnLoweredApplicationNameChanging(value); this.SendPropertyChanging(); this._LoweredApplicationName = value; this.SendPropertyChanged("LoweredApplicationName"); this.OnLoweredApplicationNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid ApplicationId { get { return this._ApplicationId; } set { if ((this._ApplicationId != value)) { this.OnApplicationIdChanging(value); this.SendPropertyChanging(); this._ApplicationId = value; this.SendPropertyChanged("ApplicationId"); this.OnApplicationIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(256)")] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Membership", Storage="_aspnet_Memberships", ThisKey="ApplicationId", OtherKey="ApplicationId")] public EntitySet aspnet_Memberships { get { return this._aspnet_Memberships; } set { this._aspnet_Memberships.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Path", Storage="_aspnet_Paths", ThisKey="ApplicationId", OtherKey="ApplicationId")] public EntitySet aspnet_Paths { get { return this._aspnet_Paths; } set { this._aspnet_Paths.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Role", Storage="_aspnet_Roles", ThisKey="ApplicationId", OtherKey="ApplicationId")] public EntitySet aspnet_Roles { get { return this._aspnet_Roles; } set { this._aspnet_Roles.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_User", Storage="_aspnet_Users", ThisKey="ApplicationId", OtherKey="ApplicationId")] public EntitySet aspnet_Users { get { return this._aspnet_Users; } set { this._aspnet_Users.Assign(value); } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } private void attach_aspnet_Memberships(aspnet_Membership entity) { this.SendPropertyChanging(); entity.aspnet_Application = this; } private void detach_aspnet_Memberships(aspnet_Membership entity) { this.SendPropertyChanging(); entity.aspnet_Application = null; } private void attach_aspnet_Paths(aspnet_Path entity) { this.SendPropertyChanging(); entity.aspnet_Application = this; } private void detach_aspnet_Paths(aspnet_Path entity) { this.SendPropertyChanging(); entity.aspnet_Application = null; } private void attach_aspnet_Roles(aspnet_Role entity) { this.SendPropertyChanging(); entity.aspnet_Application = this; } private void detach_aspnet_Roles(aspnet_Role entity) { this.SendPropertyChanging(); entity.aspnet_Application = null; } private void attach_aspnet_Users(aspnet_User entity) { this.SendPropertyChanging(); entity.aspnet_Application = this; } private void detach_aspnet_Users(aspnet_User entity) { this.SendPropertyChanging(); entity.aspnet_Application = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Membership")] public partial class aspnet_Membership : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private System.Guid _ApplicationId; private System.Guid _UserId; private string _Password; private int _PasswordFormat; private string _PasswordSalt; private string _MobilePIN; private string _Email; private string _LoweredEmail; private string _PasswordQuestion; private string _PasswordAnswer; private bool _IsApproved; private bool _IsLockedOut; private System.DateTime _CreateDate; private System.DateTime _LastLoginDate; private System.DateTime _LastPasswordChangedDate; private System.DateTime _LastLockoutDate; private int _FailedPasswordAttemptCount; private System.DateTime _FailedPasswordAttemptWindowStart; private int _FailedPasswordAnswerAttemptCount; private System.DateTime _FailedPasswordAnswerAttemptWindowStart; private string _Comment; private EntityRef _aspnet_Application; private EntityRef _aspnet_User; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnApplicationIdChanging(System.Guid value); partial void OnApplicationIdChanged(); partial void OnUserIdChanging(System.Guid value); partial void OnUserIdChanged(); partial void OnPasswordChanging(string value); partial void OnPasswordChanged(); partial void OnPasswordFormatChanging(int value); partial void OnPasswordFormatChanged(); partial void OnPasswordSaltChanging(string value); partial void OnPasswordSaltChanged(); partial void OnMobilePINChanging(string value); partial void OnMobilePINChanged(); partial void OnEmailChanging(string value); partial void OnEmailChanged(); partial void OnLoweredEmailChanging(string value); partial void OnLoweredEmailChanged(); partial void OnPasswordQuestionChanging(string value); partial void OnPasswordQuestionChanged(); partial void OnPasswordAnswerChanging(string value); partial void OnPasswordAnswerChanged(); partial void OnIsApprovedChanging(bool value); partial void OnIsApprovedChanged(); partial void OnIsLockedOutChanging(bool value); partial void OnIsLockedOutChanged(); partial void OnCreateDateChanging(System.DateTime value); partial void OnCreateDateChanged(); partial void OnLastLoginDateChanging(System.DateTime value); partial void OnLastLoginDateChanged(); partial void OnLastPasswordChangedDateChanging(System.DateTime value); partial void OnLastPasswordChangedDateChanged(); partial void OnLastLockoutDateChanging(System.DateTime value); partial void OnLastLockoutDateChanged(); partial void OnFailedPasswordAttemptCountChanging(int value); partial void OnFailedPasswordAttemptCountChanged(); partial void OnFailedPasswordAttemptWindowStartChanging(System.DateTime value); partial void OnFailedPasswordAttemptWindowStartChanged(); partial void OnFailedPasswordAnswerAttemptCountChanging(int value); partial void OnFailedPasswordAnswerAttemptCountChanged(); partial void OnFailedPasswordAnswerAttemptWindowStartChanging(System.DateTime value); partial void OnFailedPasswordAnswerAttemptWindowStartChanged(); partial void OnCommentChanging(string value); partial void OnCommentChanged(); #endregion public aspnet_Membership() { this._aspnet_Application = default(EntityRef); this._aspnet_User = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")] public System.Guid ApplicationId { get { return this._ApplicationId; } set { if ((this._ApplicationId != value)) { if (this._aspnet_Application.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnApplicationIdChanging(value); this.SendPropertyChanging(); this._ApplicationId = value; this.SendPropertyChanged("ApplicationId"); this.OnApplicationIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid UserId { get { return this._UserId; } set { if ((this._UserId != value)) { if (this._aspnet_User.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserIdChanging(value); this.SendPropertyChanging(); this._UserId = value; this.SendPropertyChanged("UserId"); this.OnUserIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Password", DbType="NVarChar(128) NOT NULL", CanBeNull=false)] public string Password { get { return this._Password; } set { if ((this._Password != value)) { this.OnPasswordChanging(value); this.SendPropertyChanging(); this._Password = value; this.SendPropertyChanged("Password"); this.OnPasswordChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PasswordFormat", DbType="Int NOT NULL")] public int PasswordFormat { get { return this._PasswordFormat; } set { if ((this._PasswordFormat != value)) { this.OnPasswordFormatChanging(value); this.SendPropertyChanging(); this._PasswordFormat = value; this.SendPropertyChanged("PasswordFormat"); this.OnPasswordFormatChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PasswordSalt", DbType="NVarChar(128) NOT NULL", CanBeNull=false)] public string PasswordSalt { get { return this._PasswordSalt; } set { if ((this._PasswordSalt != value)) { this.OnPasswordSaltChanging(value); this.SendPropertyChanging(); this._PasswordSalt = value; this.SendPropertyChanged("PasswordSalt"); this.OnPasswordSaltChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MobilePIN", DbType="NVarChar(16)")] public string MobilePIN { get { return this._MobilePIN; } set { if ((this._MobilePIN != value)) { this.OnMobilePINChanging(value); this.SendPropertyChanging(); this._MobilePIN = value; this.SendPropertyChanged("MobilePIN"); this.OnMobilePINChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="NVarChar(256)")] public string Email { get { return this._Email; } set { if ((this._Email != value)) { this.OnEmailChanging(value); this.SendPropertyChanging(); this._Email = value; this.SendPropertyChanged("Email"); this.OnEmailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredEmail", DbType="NVarChar(256)")] public string LoweredEmail { get { return this._LoweredEmail; } set { if ((this._LoweredEmail != value)) { this.OnLoweredEmailChanging(value); this.SendPropertyChanging(); this._LoweredEmail = value; this.SendPropertyChanged("LoweredEmail"); this.OnLoweredEmailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PasswordQuestion", DbType="NVarChar(256)")] public string PasswordQuestion { get { return this._PasswordQuestion; } set { if ((this._PasswordQuestion != value)) { this.OnPasswordQuestionChanging(value); this.SendPropertyChanging(); this._PasswordQuestion = value; this.SendPropertyChanged("PasswordQuestion"); this.OnPasswordQuestionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PasswordAnswer", DbType="NVarChar(128)")] public string PasswordAnswer { get { return this._PasswordAnswer; } set { if ((this._PasswordAnswer != value)) { this.OnPasswordAnswerChanging(value); this.SendPropertyChanging(); this._PasswordAnswer = value; this.SendPropertyChanged("PasswordAnswer"); this.OnPasswordAnswerChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsApproved", DbType="Bit NOT NULL")] public bool IsApproved { get { return this._IsApproved; } set { if ((this._IsApproved != value)) { this.OnIsApprovedChanging(value); this.SendPropertyChanging(); this._IsApproved = value; this.SendPropertyChanged("IsApproved"); this.OnIsApprovedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsLockedOut", DbType="Bit NOT NULL")] public bool IsLockedOut { get { return this._IsLockedOut; } set { if ((this._IsLockedOut != value)) { this.OnIsLockedOutChanging(value); this.SendPropertyChanging(); this._IsLockedOut = value; this.SendPropertyChanged("IsLockedOut"); this.OnIsLockedOutChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime NOT NULL")] public System.DateTime CreateDate { get { return this._CreateDate; } set { if ((this._CreateDate != value)) { this.OnCreateDateChanging(value); this.SendPropertyChanging(); this._CreateDate = value; this.SendPropertyChanged("CreateDate"); this.OnCreateDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastLoginDate", DbType="DateTime NOT NULL")] public System.DateTime LastLoginDate { get { return this._LastLoginDate; } set { if ((this._LastLoginDate != value)) { this.OnLastLoginDateChanging(value); this.SendPropertyChanging(); this._LastLoginDate = value; this.SendPropertyChanged("LastLoginDate"); this.OnLastLoginDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastPasswordChangedDate", DbType="DateTime NOT NULL")] public System.DateTime LastPasswordChangedDate { get { return this._LastPasswordChangedDate; } set { if ((this._LastPasswordChangedDate != value)) { this.OnLastPasswordChangedDateChanging(value); this.SendPropertyChanging(); this._LastPasswordChangedDate = value; this.SendPropertyChanged("LastPasswordChangedDate"); this.OnLastPasswordChangedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastLockoutDate", DbType="DateTime NOT NULL")] public System.DateTime LastLockoutDate { get { return this._LastLockoutDate; } set { if ((this._LastLockoutDate != value)) { this.OnLastLockoutDateChanging(value); this.SendPropertyChanging(); this._LastLockoutDate = value; this.SendPropertyChanged("LastLockoutDate"); this.OnLastLockoutDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedPasswordAttemptCount", DbType="Int NOT NULL")] public int FailedPasswordAttemptCount { get { return this._FailedPasswordAttemptCount; } set { if ((this._FailedPasswordAttemptCount != value)) { this.OnFailedPasswordAttemptCountChanging(value); this.SendPropertyChanging(); this._FailedPasswordAttemptCount = value; this.SendPropertyChanged("FailedPasswordAttemptCount"); this.OnFailedPasswordAttemptCountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedPasswordAttemptWindowStart", DbType="DateTime NOT NULL")] public System.DateTime FailedPasswordAttemptWindowStart { get { return this._FailedPasswordAttemptWindowStart; } set { if ((this._FailedPasswordAttemptWindowStart != value)) { this.OnFailedPasswordAttemptWindowStartChanging(value); this.SendPropertyChanging(); this._FailedPasswordAttemptWindowStart = value; this.SendPropertyChanged("FailedPasswordAttemptWindowStart"); this.OnFailedPasswordAttemptWindowStartChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedPasswordAnswerAttemptCount", DbType="Int NOT NULL")] public int FailedPasswordAnswerAttemptCount { get { return this._FailedPasswordAnswerAttemptCount; } set { if ((this._FailedPasswordAnswerAttemptCount != value)) { this.OnFailedPasswordAnswerAttemptCountChanging(value); this.SendPropertyChanging(); this._FailedPasswordAnswerAttemptCount = value; this.SendPropertyChanged("FailedPasswordAnswerAttemptCount"); this.OnFailedPasswordAnswerAttemptCountChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FailedPasswordAnswerAttemptWindowStart", DbType="DateTime NOT NULL")] public System.DateTime FailedPasswordAnswerAttemptWindowStart { get { return this._FailedPasswordAnswerAttemptWindowStart; } set { if ((this._FailedPasswordAnswerAttemptWindowStart != value)) { this.OnFailedPasswordAnswerAttemptWindowStartChanging(value); this.SendPropertyChanging(); this._FailedPasswordAnswerAttemptWindowStart = value; this.SendPropertyChanged("FailedPasswordAnswerAttemptWindowStart"); this.OnFailedPasswordAnswerAttemptWindowStartChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Comment", DbType="NText", UpdateCheck=UpdateCheck.Never)] public string Comment { get { return this._Comment; } set { if ((this._Comment != value)) { this.OnCommentChanging(value); this.SendPropertyChanging(); this._Comment = value; this.SendPropertyChanged("Comment"); this.OnCommentChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Membership", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)] public aspnet_Application aspnet_Application { get { return this._aspnet_Application.Entity; } set { aspnet_Application previousValue = this._aspnet_Application.Entity; if (((previousValue != value) || (this._aspnet_Application.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Application.Entity = null; previousValue.aspnet_Memberships.Remove(this); } this._aspnet_Application.Entity = value; if ((value != null)) { value.aspnet_Memberships.Add(this); this._ApplicationId = value.ApplicationId; } else { this._ApplicationId = default(System.Guid); } this.SendPropertyChanged("aspnet_Application"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Membership", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] public aspnet_User aspnet_User { get { return this._aspnet_User.Entity; } set { aspnet_User previousValue = this._aspnet_User.Entity; if (((previousValue != value) || (this._aspnet_User.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_User.Entity = null; previousValue.aspnet_Membership = null; } this._aspnet_User.Entity = value; if ((value != null)) { value.aspnet_Membership = this; this._UserId = value.UserId; } else { this._UserId = default(System.Guid); } this.SendPropertyChanged("aspnet_User"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Paths")] public partial class aspnet_Path : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private System.Guid _ApplicationId; private System.Guid _PathId; private string _Path; private string _LoweredPath; private EntityRef _aspnet_PersonalizationAllUser; private EntitySet _aspnet_PersonalizationPerUsers; private EntityRef _aspnet_Application; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnApplicationIdChanging(System.Guid value); partial void OnApplicationIdChanged(); partial void OnPathIdChanging(System.Guid value); partial void OnPathIdChanged(); partial void OnPathChanging(string value); partial void OnPathChanged(); partial void OnLoweredPathChanging(string value); partial void OnLoweredPathChanged(); #endregion public aspnet_Path() { this._aspnet_PersonalizationAllUser = default(EntityRef); this._aspnet_PersonalizationPerUsers = new EntitySet(new Action(this.attach_aspnet_PersonalizationPerUsers), new Action(this.detach_aspnet_PersonalizationPerUsers)); this._aspnet_Application = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")] public System.Guid ApplicationId { get { return this._ApplicationId; } set { if ((this._ApplicationId != value)) { if (this._aspnet_Application.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnApplicationIdChanging(value); this.SendPropertyChanging(); this._ApplicationId = value; this.SendPropertyChanged("ApplicationId"); this.OnApplicationIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid PathId { get { return this._PathId; } set { if ((this._PathId != value)) { this.OnPathIdChanging(value); this.SendPropertyChanging(); this._PathId = value; this.SendPropertyChanged("PathId"); this.OnPathIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Path", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string Path { get { return this._Path; } set { if ((this._Path != value)) { this.OnPathChanging(value); this.SendPropertyChanging(); this._Path = value; this.SendPropertyChanged("Path"); this.OnPathChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredPath", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string LoweredPath { get { return this._LoweredPath; } set { if ((this._LoweredPath != value)) { this.OnLoweredPathChanging(value); this.SendPropertyChanging(); this._LoweredPath = value; this.SendPropertyChanged("LoweredPath"); this.OnLoweredPathChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationAllUser", Storage="_aspnet_PersonalizationAllUser", ThisKey="PathId", OtherKey="PathId", IsUnique=true, IsForeignKey=false)] public aspnet_PersonalizationAllUser aspnet_PersonalizationAllUser { get { return this._aspnet_PersonalizationAllUser.Entity; } set { aspnet_PersonalizationAllUser previousValue = this._aspnet_PersonalizationAllUser.Entity; if (((previousValue != value) || (this._aspnet_PersonalizationAllUser.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_PersonalizationAllUser.Entity = null; previousValue.aspnet_Path = null; } this._aspnet_PersonalizationAllUser.Entity = value; if ((value != null)) { value.aspnet_Path = this; } this.SendPropertyChanged("aspnet_PersonalizationAllUser"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationPerUser", Storage="_aspnet_PersonalizationPerUsers", ThisKey="PathId", OtherKey="PathId")] public EntitySet aspnet_PersonalizationPerUsers { get { return this._aspnet_PersonalizationPerUsers; } set { this._aspnet_PersonalizationPerUsers.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Path", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)] public aspnet_Application aspnet_Application { get { return this._aspnet_Application.Entity; } set { aspnet_Application previousValue = this._aspnet_Application.Entity; if (((previousValue != value) || (this._aspnet_Application.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Application.Entity = null; previousValue.aspnet_Paths.Remove(this); } this._aspnet_Application.Entity = value; if ((value != null)) { value.aspnet_Paths.Add(this); this._ApplicationId = value.ApplicationId; } else { this._ApplicationId = default(System.Guid); } this.SendPropertyChanged("aspnet_Application"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } private void attach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity) { this.SendPropertyChanging(); entity.aspnet_Path = this; } private void detach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity) { this.SendPropertyChanging(); entity.aspnet_Path = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_PersonalizationAllUsers")] public partial class aspnet_PersonalizationAllUser : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private System.Guid _PathId; private System.Data.Linq.Binary _PageSettings; private System.DateTime _LastUpdatedDate; private EntityRef _aspnet_Path; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnPathIdChanging(System.Guid value); partial void OnPathIdChanged(); partial void OnPageSettingsChanging(System.Data.Linq.Binary value); partial void OnPageSettingsChanged(); partial void OnLastUpdatedDateChanging(System.DateTime value); partial void OnLastUpdatedDateChanged(); #endregion public aspnet_PersonalizationAllUser() { this._aspnet_Path = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid PathId { get { return this._PathId; } set { if ((this._PathId != value)) { if (this._aspnet_Path.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnPathIdChanging(value); this.SendPropertyChanging(); this._PathId = value; this.SendPropertyChanged("PathId"); this.OnPathIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageSettings", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary PageSettings { get { return this._PageSettings; } set { if ((this._PageSettings != value)) { this.OnPageSettingsChanging(value); this.SendPropertyChanging(); this._PageSettings = value; this.SendPropertyChanged("PageSettings"); this.OnPageSettingsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")] public System.DateTime LastUpdatedDate { get { return this._LastUpdatedDate; } set { if ((this._LastUpdatedDate != value)) { this.OnLastUpdatedDateChanging(value); this.SendPropertyChanging(); this._LastUpdatedDate = value; this.SendPropertyChanged("LastUpdatedDate"); this.OnLastUpdatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationAllUser", Storage="_aspnet_Path", ThisKey="PathId", OtherKey="PathId", IsForeignKey=true)] public aspnet_Path aspnet_Path { get { return this._aspnet_Path.Entity; } set { aspnet_Path previousValue = this._aspnet_Path.Entity; if (((previousValue != value) || (this._aspnet_Path.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Path.Entity = null; previousValue.aspnet_PersonalizationAllUser = null; } this._aspnet_Path.Entity = value; if ((value != null)) { value.aspnet_PersonalizationAllUser = this; this._PathId = value.PathId; } else { this._PathId = default(System.Guid); } this.SendPropertyChanged("aspnet_Path"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_PersonalizationPerUser")] public partial class aspnet_PersonalizationPerUser : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private System.Guid _Id; private System.Nullable _PathId; private System.Nullable _UserId; private System.Data.Linq.Binary _PageSettings; private System.DateTime _LastUpdatedDate; private EntityRef _aspnet_Path; private EntityRef _aspnet_User; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIdChanging(System.Guid value); partial void OnIdChanged(); partial void OnPathIdChanging(System.Nullable value); partial void OnPathIdChanged(); partial void OnUserIdChanging(System.Nullable value); partial void OnUserIdChanged(); partial void OnPageSettingsChanging(System.Data.Linq.Binary value); partial void OnPageSettingsChanged(); partial void OnLastUpdatedDateChanging(System.DateTime value); partial void OnLastUpdatedDateChanged(); #endregion public aspnet_PersonalizationPerUser() { this._aspnet_Path = default(EntityRef); this._aspnet_User = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid Id { get { return this._Id; } set { if ((this._Id != value)) { this.OnIdChanging(value); this.SendPropertyChanging(); this._Id = value; this.SendPropertyChanged("Id"); this.OnIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PathId", DbType="UniqueIdentifier")] public System.Nullable PathId { get { return this._PathId; } set { if ((this._PathId != value)) { if (this._aspnet_Path.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnPathIdChanging(value); this.SendPropertyChanging(); this._PathId = value; this.SendPropertyChanged("PathId"); this.OnPathIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier")] public System.Nullable UserId { get { return this._UserId; } set { if ((this._UserId != value)) { if (this._aspnet_User.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserIdChanging(value); this.SendPropertyChanging(); this._UserId = value; this.SendPropertyChanged("UserId"); this.OnUserIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageSettings", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary PageSettings { get { return this._PageSettings; } set { if ((this._PageSettings != value)) { this.OnPageSettingsChanging(value); this.SendPropertyChanging(); this._PageSettings = value; this.SendPropertyChanged("PageSettings"); this.OnPageSettingsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")] public System.DateTime LastUpdatedDate { get { return this._LastUpdatedDate; } set { if ((this._LastUpdatedDate != value)) { this.OnLastUpdatedDateChanging(value); this.SendPropertyChanging(); this._LastUpdatedDate = value; this.SendPropertyChanged("LastUpdatedDate"); this.OnLastUpdatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Path_aspnet_PersonalizationPerUser", Storage="_aspnet_Path", ThisKey="PathId", OtherKey="PathId", IsForeignKey=true)] public aspnet_Path aspnet_Path { get { return this._aspnet_Path.Entity; } set { aspnet_Path previousValue = this._aspnet_Path.Entity; if (((previousValue != value) || (this._aspnet_Path.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Path.Entity = null; previousValue.aspnet_PersonalizationPerUsers.Remove(this); } this._aspnet_Path.Entity = value; if ((value != null)) { value.aspnet_PersonalizationPerUsers.Add(this); this._PathId = value.PathId; } else { this._PathId = default(Nullable); } this.SendPropertyChanged("aspnet_Path"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_PersonalizationPerUser", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] public aspnet_User aspnet_User { get { return this._aspnet_User.Entity; } set { aspnet_User previousValue = this._aspnet_User.Entity; if (((previousValue != value) || (this._aspnet_User.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_User.Entity = null; previousValue.aspnet_PersonalizationPerUsers.Remove(this); } this._aspnet_User.Entity = value; if ((value != null)) { value.aspnet_PersonalizationPerUsers.Add(this); this._UserId = value.UserId; } else { this._UserId = default(Nullable); } this.SendPropertyChanged("aspnet_User"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Profile")] public partial class aspnet_Profile : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private System.Guid _UserId; private string _PropertyNames; private string _PropertyValuesString; private System.Data.Linq.Binary _PropertyValuesBinary; private System.DateTime _LastUpdatedDate; private EntityRef _aspnet_User; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnUserIdChanging(System.Guid value); partial void OnUserIdChanged(); partial void OnPropertyNamesChanging(string value); partial void OnPropertyNamesChanged(); partial void OnPropertyValuesStringChanging(string value); partial void OnPropertyValuesStringChanged(); partial void OnPropertyValuesBinaryChanging(System.Data.Linq.Binary value); partial void OnPropertyValuesBinaryChanged(); partial void OnLastUpdatedDateChanging(System.DateTime value); partial void OnLastUpdatedDateChanged(); #endregion public aspnet_Profile() { this._aspnet_User = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid UserId { get { return this._UserId; } set { if ((this._UserId != value)) { if (this._aspnet_User.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserIdChanging(value); this.SendPropertyChanging(); this._UserId = value; this.SendPropertyChanged("UserId"); this.OnUserIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyNames", DbType="NText NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] public string PropertyNames { get { return this._PropertyNames; } set { if ((this._PropertyNames != value)) { this.OnPropertyNamesChanging(value); this.SendPropertyChanging(); this._PropertyNames = value; this.SendPropertyChanged("PropertyNames"); this.OnPropertyNamesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyValuesString", DbType="NText NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] public string PropertyValuesString { get { return this._PropertyValuesString; } set { if ((this._PropertyValuesString != value)) { this.OnPropertyValuesStringChanging(value); this.SendPropertyChanging(); this._PropertyValuesString = value; this.SendPropertyChanged("PropertyValuesString"); this.OnPropertyValuesStringChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyValuesBinary", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary PropertyValuesBinary { get { return this._PropertyValuesBinary; } set { if ((this._PropertyValuesBinary != value)) { this.OnPropertyValuesBinaryChanging(value); this.SendPropertyChanging(); this._PropertyValuesBinary = value; this.SendPropertyChanged("PropertyValuesBinary"); this.OnPropertyValuesBinaryChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastUpdatedDate", DbType="DateTime NOT NULL")] public System.DateTime LastUpdatedDate { get { return this._LastUpdatedDate; } set { if ((this._LastUpdatedDate != value)) { this.OnLastUpdatedDateChanging(value); this.SendPropertyChanging(); this._LastUpdatedDate = value; this.SendPropertyChanged("LastUpdatedDate"); this.OnLastUpdatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Profile", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] public aspnet_User aspnet_User { get { return this._aspnet_User.Entity; } set { aspnet_User previousValue = this._aspnet_User.Entity; if (((previousValue != value) || (this._aspnet_User.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_User.Entity = null; previousValue.aspnet_Profile = null; } this._aspnet_User.Entity = value; if ((value != null)) { value.aspnet_Profile = this; this._UserId = value.UserId; } else { this._UserId = default(System.Guid); } this.SendPropertyChanged("aspnet_User"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Roles")] public partial class aspnet_Role : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private System.Guid _ApplicationId; private System.Guid _RoleId; private string _RoleName; private string _LoweredRoleName; private string _Description; private EntitySet _aspnet_UsersInRoles; private EntityRef _aspnet_Application; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnApplicationIdChanging(System.Guid value); partial void OnApplicationIdChanged(); partial void OnRoleIdChanging(System.Guid value); partial void OnRoleIdChanged(); partial void OnRoleNameChanging(string value); partial void OnRoleNameChanged(); partial void OnLoweredRoleNameChanging(string value); partial void OnLoweredRoleNameChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); #endregion public aspnet_Role() { this._aspnet_UsersInRoles = new EntitySet(new Action(this.attach_aspnet_UsersInRoles), new Action(this.detach_aspnet_UsersInRoles)); this._aspnet_Application = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")] public System.Guid ApplicationId { get { return this._ApplicationId; } set { if ((this._ApplicationId != value)) { if (this._aspnet_Application.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnApplicationIdChanging(value); this.SendPropertyChanging(); this._ApplicationId = value; this.SendPropertyChanged("ApplicationId"); this.OnApplicationIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid RoleId { get { return this._RoleId; } set { if ((this._RoleId != value)) { this.OnRoleIdChanging(value); this.SendPropertyChanging(); this._RoleId = value; this.SendPropertyChanged("RoleId"); this.OnRoleIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string RoleName { get { return this._RoleName; } set { if ((this._RoleName != value)) { this.OnRoleNameChanging(value); this.SendPropertyChanging(); this._RoleName = value; this.SendPropertyChanged("RoleName"); this.OnRoleNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredRoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string LoweredRoleName { get { return this._LoweredRoleName; } set { if ((this._LoweredRoleName != value)) { this.OnLoweredRoleNameChanging(value); this.SendPropertyChanging(); this._LoweredRoleName = value; this.SendPropertyChanged("LoweredRoleName"); this.OnLoweredRoleNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(256)")] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Role_aspnet_UsersInRole", Storage="_aspnet_UsersInRoles", ThisKey="RoleId", OtherKey="RoleId")] public EntitySet aspnet_UsersInRoles { get { return this._aspnet_UsersInRoles; } set { this._aspnet_UsersInRoles.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_Role", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)] public aspnet_Application aspnet_Application { get { return this._aspnet_Application.Entity; } set { aspnet_Application previousValue = this._aspnet_Application.Entity; if (((previousValue != value) || (this._aspnet_Application.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Application.Entity = null; previousValue.aspnet_Roles.Remove(this); } this._aspnet_Application.Entity = value; if ((value != null)) { value.aspnet_Roles.Add(this); this._ApplicationId = value.ApplicationId; } else { this._ApplicationId = default(System.Guid); } this.SendPropertyChanged("aspnet_Application"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } private void attach_aspnet_UsersInRoles(aspnet_UsersInRole entity) { this.SendPropertyChanging(); entity.aspnet_Role = this; } private void detach_aspnet_UsersInRoles(aspnet_UsersInRole entity) { this.SendPropertyChanging(); entity.aspnet_Role = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_SchemaVersions")] public partial class aspnet_SchemaVersion : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _Feature; private string _CompatibleSchemaVersion; private bool _IsCurrentVersion; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnFeatureChanging(string value); partial void OnFeatureChanged(); partial void OnCompatibleSchemaVersionChanging(string value); partial void OnCompatibleSchemaVersionChanged(); partial void OnIsCurrentVersionChanging(bool value); partial void OnIsCurrentVersionChanged(); #endregion public aspnet_SchemaVersion() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Feature", DbType="NVarChar(128) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string Feature { get { return this._Feature; } set { if ((this._Feature != value)) { this.OnFeatureChanging(value); this.SendPropertyChanging(); this._Feature = value; this.SendPropertyChanged("Feature"); this.OnFeatureChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompatibleSchemaVersion", DbType="NVarChar(128) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string CompatibleSchemaVersion { get { return this._CompatibleSchemaVersion; } set { if ((this._CompatibleSchemaVersion != value)) { this.OnCompatibleSchemaVersionChanging(value); this.SendPropertyChanging(); this._CompatibleSchemaVersion = value; this.SendPropertyChanged("CompatibleSchemaVersion"); this.OnCompatibleSchemaVersionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCurrentVersion", DbType="Bit NOT NULL")] public bool IsCurrentVersion { get { return this._IsCurrentVersion; } set { if ((this._IsCurrentVersion != value)) { this.OnIsCurrentVersionChanging(value); this.SendPropertyChanging(); this._IsCurrentVersion = value; this.SendPropertyChanged("IsCurrentVersion"); this.OnIsCurrentVersionChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_Users")] public partial class aspnet_User : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private System.Guid _ApplicationId; private System.Guid _UserId; private string _UserName; private string _LoweredUserName; private string _MobileAlias; private bool _IsAnonymous; private System.DateTime _LastActivityDate; private EntityRef _aspnet_Membership; private EntitySet _aspnet_PersonalizationPerUsers; private EntityRef _aspnet_Profile; private EntitySet _aspnet_UsersInRoles; private EntityRef _aspnet_Application; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnApplicationIdChanging(System.Guid value); partial void OnApplicationIdChanged(); partial void OnUserIdChanging(System.Guid value); partial void OnUserIdChanged(); partial void OnUserNameChanging(string value); partial void OnUserNameChanged(); partial void OnLoweredUserNameChanging(string value); partial void OnLoweredUserNameChanged(); partial void OnMobileAliasChanging(string value); partial void OnMobileAliasChanged(); partial void OnIsAnonymousChanging(bool value); partial void OnIsAnonymousChanged(); partial void OnLastActivityDateChanging(System.DateTime value); partial void OnLastActivityDateChanged(); #endregion public aspnet_User() { this._aspnet_Membership = default(EntityRef); this._aspnet_PersonalizationPerUsers = new EntitySet(new Action(this.attach_aspnet_PersonalizationPerUsers), new Action(this.detach_aspnet_PersonalizationPerUsers)); this._aspnet_Profile = default(EntityRef); this._aspnet_UsersInRoles = new EntitySet(new Action(this.attach_aspnet_UsersInRoles), new Action(this.detach_aspnet_UsersInRoles)); this._aspnet_Application = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")] public System.Guid ApplicationId { get { return this._ApplicationId; } set { if ((this._ApplicationId != value)) { if (this._aspnet_Application.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnApplicationIdChanging(value); this.SendPropertyChanging(); this._ApplicationId = value; this.SendPropertyChanged("ApplicationId"); this.OnApplicationIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid UserId { get { return this._UserId; } set { if ((this._UserId != value)) { this.OnUserIdChanging(value); this.SendPropertyChanging(); this._UserId = value; this.SendPropertyChanged("UserId"); this.OnUserIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string UserName { get { return this._UserName; } set { if ((this._UserName != value)) { this.OnUserNameChanging(value); this.SendPropertyChanging(); this._UserName = value; this.SendPropertyChanged("UserName"); this.OnUserNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoweredUserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string LoweredUserName { get { return this._LoweredUserName; } set { if ((this._LoweredUserName != value)) { this.OnLoweredUserNameChanging(value); this.SendPropertyChanging(); this._LoweredUserName = value; this.SendPropertyChanged("LoweredUserName"); this.OnLoweredUserNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MobileAlias", DbType="NVarChar(16)")] public string MobileAlias { get { return this._MobileAlias; } set { if ((this._MobileAlias != value)) { this.OnMobileAliasChanging(value); this.SendPropertyChanging(); this._MobileAlias = value; this.SendPropertyChanged("MobileAlias"); this.OnMobileAliasChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAnonymous", DbType="Bit NOT NULL")] public bool IsAnonymous { get { return this._IsAnonymous; } set { if ((this._IsAnonymous != value)) { this.OnIsAnonymousChanging(value); this.SendPropertyChanging(); this._IsAnonymous = value; this.SendPropertyChanged("IsAnonymous"); this.OnIsAnonymousChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastActivityDate", DbType="DateTime NOT NULL")] public System.DateTime LastActivityDate { get { return this._LastActivityDate; } set { if ((this._LastActivityDate != value)) { this.OnLastActivityDateChanging(value); this.SendPropertyChanging(); this._LastActivityDate = value; this.SendPropertyChanged("LastActivityDate"); this.OnLastActivityDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Membership", Storage="_aspnet_Membership", ThisKey="UserId", OtherKey="UserId", IsUnique=true, IsForeignKey=false)] public aspnet_Membership aspnet_Membership { get { return this._aspnet_Membership.Entity; } set { aspnet_Membership previousValue = this._aspnet_Membership.Entity; if (((previousValue != value) || (this._aspnet_Membership.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Membership.Entity = null; previousValue.aspnet_User = null; } this._aspnet_Membership.Entity = value; if ((value != null)) { value.aspnet_User = this; } this.SendPropertyChanged("aspnet_Membership"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_PersonalizationPerUser", Storage="_aspnet_PersonalizationPerUsers", ThisKey="UserId", OtherKey="UserId")] public EntitySet aspnet_PersonalizationPerUsers { get { return this._aspnet_PersonalizationPerUsers; } set { this._aspnet_PersonalizationPerUsers.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_Profile", Storage="_aspnet_Profile", ThisKey="UserId", OtherKey="UserId", IsUnique=true, IsForeignKey=false)] public aspnet_Profile aspnet_Profile { get { return this._aspnet_Profile.Entity; } set { aspnet_Profile previousValue = this._aspnet_Profile.Entity; if (((previousValue != value) || (this._aspnet_Profile.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Profile.Entity = null; previousValue.aspnet_User = null; } this._aspnet_Profile.Entity = value; if ((value != null)) { value.aspnet_User = this; } this.SendPropertyChanged("aspnet_Profile"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_UsersInRole", Storage="_aspnet_UsersInRoles", ThisKey="UserId", OtherKey="UserId")] public EntitySet aspnet_UsersInRoles { get { return this._aspnet_UsersInRoles; } set { this._aspnet_UsersInRoles.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Application_aspnet_User", Storage="_aspnet_Application", ThisKey="ApplicationId", OtherKey="ApplicationId", IsForeignKey=true)] public aspnet_Application aspnet_Application { get { return this._aspnet_Application.Entity; } set { aspnet_Application previousValue = this._aspnet_Application.Entity; if (((previousValue != value) || (this._aspnet_Application.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Application.Entity = null; previousValue.aspnet_Users.Remove(this); } this._aspnet_Application.Entity = value; if ((value != null)) { value.aspnet_Users.Add(this); this._ApplicationId = value.ApplicationId; } else { this._ApplicationId = default(System.Guid); } this.SendPropertyChanged("aspnet_Application"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } private void attach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity) { this.SendPropertyChanging(); entity.aspnet_User = this; } private void detach_aspnet_PersonalizationPerUsers(aspnet_PersonalizationPerUser entity) { this.SendPropertyChanging(); entity.aspnet_User = null; } private void attach_aspnet_UsersInRoles(aspnet_UsersInRole entity) { this.SendPropertyChanging(); entity.aspnet_User = this; } private void detach_aspnet_UsersInRoles(aspnet_UsersInRole entity) { this.SendPropertyChanging(); entity.aspnet_User = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_UsersInRoles")] public partial class aspnet_UsersInRole : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private System.Guid _UserId; private System.Guid _RoleId; private EntityRef _aspnet_Role; private EntityRef _aspnet_User; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnUserIdChanging(System.Guid value); partial void OnUserIdChanged(); partial void OnRoleIdChanging(System.Guid value); partial void OnRoleIdChanged(); #endregion public aspnet_UsersInRole() { this._aspnet_Role = default(EntityRef); this._aspnet_User = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid UserId { get { return this._UserId; } set { if ((this._UserId != value)) { if (this._aspnet_User.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserIdChanging(value); this.SendPropertyChanging(); this._UserId = value; this.SendPropertyChanged("UserId"); this.OnUserIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] public System.Guid RoleId { get { return this._RoleId; } set { if ((this._RoleId != value)) { if (this._aspnet_Role.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnRoleIdChanging(value); this.SendPropertyChanging(); this._RoleId = value; this.SendPropertyChanged("RoleId"); this.OnRoleIdChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_Role_aspnet_UsersInRole", Storage="_aspnet_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] public aspnet_Role aspnet_Role { get { return this._aspnet_Role.Entity; } set { aspnet_Role previousValue = this._aspnet_Role.Entity; if (((previousValue != value) || (this._aspnet_Role.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_Role.Entity = null; previousValue.aspnet_UsersInRoles.Remove(this); } this._aspnet_Role.Entity = value; if ((value != null)) { value.aspnet_UsersInRoles.Add(this); this._RoleId = value.RoleId; } else { this._RoleId = default(System.Guid); } this.SendPropertyChanged("aspnet_Role"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="aspnet_User_aspnet_UsersInRole", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] public aspnet_User aspnet_User { get { return this._aspnet_User.Entity; } set { aspnet_User previousValue = this._aspnet_User.Entity; if (((previousValue != value) || (this._aspnet_User.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._aspnet_User.Entity = null; previousValue.aspnet_UsersInRoles.Remove(this); } this._aspnet_User.Entity = value; if ((value != null)) { value.aspnet_UsersInRoles.Add(this); this._UserId = value.UserId; } else { this._UserId = default(System.Guid); } this.SendPropertyChanged("aspnet_User"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.aspnet_WebEvent_Events")] public partial class aspnet_WebEvent_Event : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private string _EventId; private System.DateTime _EventTimeUtc; private System.DateTime _EventTime; private string _EventType; private decimal _EventSequence; private decimal _EventOccurrence; private int _EventCode; private int _EventDetailCode; private string _Message; private string _ApplicationPath; private string _ApplicationVirtualPath; private string _MachineName; private string _RequestUrl; private string _ExceptionType; private string _Details; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEventIdChanging(string value); partial void OnEventIdChanged(); partial void OnEventTimeUtcChanging(System.DateTime value); partial void OnEventTimeUtcChanged(); partial void OnEventTimeChanging(System.DateTime value); partial void OnEventTimeChanged(); partial void OnEventTypeChanging(string value); partial void OnEventTypeChanged(); partial void OnEventSequenceChanging(decimal value); partial void OnEventSequenceChanged(); partial void OnEventOccurrenceChanging(decimal value); partial void OnEventOccurrenceChanged(); partial void OnEventCodeChanging(int value); partial void OnEventCodeChanged(); partial void OnEventDetailCodeChanging(int value); partial void OnEventDetailCodeChanged(); partial void OnMessageChanging(string value); partial void OnMessageChanged(); partial void OnApplicationPathChanging(string value); partial void OnApplicationPathChanged(); partial void OnApplicationVirtualPathChanging(string value); partial void OnApplicationVirtualPathChanged(); partial void OnMachineNameChanging(string value); partial void OnMachineNameChanged(); partial void OnRequestUrlChanging(string value); partial void OnRequestUrlChanged(); partial void OnExceptionTypeChanging(string value); partial void OnExceptionTypeChanged(); partial void OnDetailsChanging(string value); partial void OnDetailsChanged(); #endregion public aspnet_WebEvent_Event() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventId", DbType="Char(32) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string EventId { get { return this._EventId; } set { if ((this._EventId != value)) { this.OnEventIdChanging(value); this.SendPropertyChanging(); this._EventId = value; this.SendPropertyChanged("EventId"); this.OnEventIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTimeUtc", DbType="DateTime NOT NULL")] public System.DateTime EventTimeUtc { get { return this._EventTimeUtc; } set { if ((this._EventTimeUtc != value)) { this.OnEventTimeUtcChanging(value); this.SendPropertyChanging(); this._EventTimeUtc = value; this.SendPropertyChanged("EventTimeUtc"); this.OnEventTimeUtcChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTime", DbType="DateTime NOT NULL")] public System.DateTime EventTime { get { return this._EventTime; } set { if ((this._EventTime != value)) { this.OnEventTimeChanging(value); this.SendPropertyChanging(); this._EventTime = value; this.SendPropertyChanged("EventTime"); this.OnEventTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventType", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string EventType { get { return this._EventType; } set { if ((this._EventType != value)) { this.OnEventTypeChanging(value); this.SendPropertyChanging(); this._EventType = value; this.SendPropertyChanged("EventType"); this.OnEventTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventSequence", DbType="Decimal(19,0) NOT NULL")] public decimal EventSequence { get { return this._EventSequence; } set { if ((this._EventSequence != value)) { this.OnEventSequenceChanging(value); this.SendPropertyChanging(); this._EventSequence = value; this.SendPropertyChanged("EventSequence"); this.OnEventSequenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventOccurrence", DbType="Decimal(19,0) NOT NULL")] public decimal EventOccurrence { get { return this._EventOccurrence; } set { if ((this._EventOccurrence != value)) { this.OnEventOccurrenceChanging(value); this.SendPropertyChanging(); this._EventOccurrence = value; this.SendPropertyChanged("EventOccurrence"); this.OnEventOccurrenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventCode", DbType="Int NOT NULL")] public int EventCode { get { return this._EventCode; } set { if ((this._EventCode != value)) { this.OnEventCodeChanging(value); this.SendPropertyChanging(); this._EventCode = value; this.SendPropertyChanged("EventCode"); this.OnEventCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventDetailCode", DbType="Int NOT NULL")] public int EventDetailCode { get { return this._EventDetailCode; } set { if ((this._EventDetailCode != value)) { this.OnEventDetailCodeChanging(value); this.SendPropertyChanging(); this._EventDetailCode = value; this.SendPropertyChanged("EventDetailCode"); this.OnEventDetailCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Message", DbType="NVarChar(1024)")] public string Message { get { return this._Message; } set { if ((this._Message != value)) { this.OnMessageChanging(value); this.SendPropertyChanging(); this._Message = value; this.SendPropertyChanged("Message"); this.OnMessageChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationPath", DbType="NVarChar(256)")] public string ApplicationPath { get { return this._ApplicationPath; } set { if ((this._ApplicationPath != value)) { this.OnApplicationPathChanging(value); this.SendPropertyChanging(); this._ApplicationPath = value; this.SendPropertyChanged("ApplicationPath"); this.OnApplicationPathChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApplicationVirtualPath", DbType="NVarChar(256)")] public string ApplicationVirtualPath { get { return this._ApplicationVirtualPath; } set { if ((this._ApplicationVirtualPath != value)) { this.OnApplicationVirtualPathChanging(value); this.SendPropertyChanging(); this._ApplicationVirtualPath = value; this.SendPropertyChanged("ApplicationVirtualPath"); this.OnApplicationVirtualPathChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MachineName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string MachineName { get { return this._MachineName; } set { if ((this._MachineName != value)) { this.OnMachineNameChanging(value); this.SendPropertyChanging(); this._MachineName = value; this.SendPropertyChanged("MachineName"); this.OnMachineNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RequestUrl", DbType="NVarChar(1024)")] public string RequestUrl { get { return this._RequestUrl; } set { if ((this._RequestUrl != value)) { this.OnRequestUrlChanging(value); this.SendPropertyChanging(); this._RequestUrl = value; this.SendPropertyChanged("RequestUrl"); this.OnRequestUrlChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExceptionType", DbType="NVarChar(256)")] public string ExceptionType { get { return this._ExceptionType; } set { if ((this._ExceptionType != value)) { this.OnExceptionTypeChanging(value); this.SendPropertyChanging(); this._ExceptionType = value; this.SendPropertyChanged("ExceptionType"); this.OnExceptionTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Details", DbType="NText", UpdateCheck=UpdateCheck.Never)] public string Details { get { return this._Details; } set { if ((this._Details != value)) { this.OnDetailsChanging(value); this.SendPropertyChanging(); this._Details = value; this.SendPropertyChanged("Details"); this.OnDetailsChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } public partial class aspnet_UsersInRoles_AddUsersToRolesResult { private string _Name; public aspnet_UsersInRoles_AddUsersToRolesResult() { } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this._Name = value; } } } } public partial class aspnet_UsersInRoles_RemoveUsersFromRolesResult { private string _Column1; private string _Name; public aspnet_UsersInRoles_RemoveUsersFromRolesResult() { } [global::System.Data.Linq.Mapping.ColumnAttribute(Name="", Storage="_Column1", DbType="NVarChar(1) NOT NULL", CanBeNull=false)] public string Column1 { get { return this._Column1; } set { if ((this._Column1 != value)) { this._Column1 = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this._Name = value; } } } } public partial class aspnet_UsersInRoles_GetUsersInRolesResult { private string _UserName; public aspnet_UsersInRoles_GetUsersInRolesResult() { } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string UserName { get { return this._UserName; } set { if ((this._UserName != value)) { this._UserName = value; } } } } public partial class aspnet_UsersInRoles_GetRolesForUserResult { private string _RoleName; public aspnet_UsersInRoles_GetRolesForUserResult() { } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string RoleName { get { return this._RoleName; } set { if ((this._RoleName != value)) { this._RoleName = value; } } } } public partial class aspnet_UsersInRoles_FindUsersInRoleResult { private string _UserName; public aspnet_UsersInRoles_FindUsersInRoleResult() { } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string UserName { get { return this._UserName; } set { if ((this._UserName != value)) { this._UserName = value; } } } } public partial class aspnet_Roles_GetAllRolesResult { private string _RoleName; public aspnet_Roles_GetAllRolesResult() { } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(256) NOT NULL", CanBeNull=false)] public string RoleName { get { return this._RoleName; } set { if ((this._RoleName != value)) { this._RoleName = value; } } } } } #pragma warning restore 1591