//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.91
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DashboardDataAccess {
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Query;
using System.Expressions;
using System.Data;
using System.Data.DLinq;
public partial class DashboardData : DataContext {
public Table<AspnetApplication> AspnetApplications;
public Table<WidgetInstance> WidgetInstances;
public Table<AspnetUser> AspnetUsers;
public Table<AspnetSchemaVersion> AspnetSchemaVersions;
public Table<AspnetMembership> AspnetMemberships;
public Table<AspnetProfile> AspnetProfiles;
public Table<AspnetRoles> AspnetRoles;
public Table<AspnetUsersInRoles> AspnetUsersInRoles;
public Table<AspnetPath> AspnetPaths;
public Table<AspnetPersonalizationAllUser> AspnetPersonalizationAllUsers;
public Table<AspnetPersonalizationPerUser> AspnetPersonalizationPerUsers;
public Table<AspnetWebEventEvent> AspnetWebEventEvents;
public Table<Page> Pages;
public Table<Widget> Widgets;
public Table<UserSetting> UserSettings;
public Table<Sysdiagram> Sysdiagrams;
public DashboardData(string connection) :
base(connection) {
}
public DashboardData(System.Data.IDbConnection connection) :
base(connection) {
}
public DashboardData(string connection, System.Data.DLinq.MappingSource mappingSource) :
base(connection, mappingSource) {
}
public DashboardData(System.Data.IDbConnection connection, System.Data.DLinq.MappingSource mappingSource) :
base(connection, mappingSource) {
}
}
[Table(Name="aspnet_Applications")]
public partial class AspnetApplication : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private string _ApplicationName;
private string _LoweredApplicationName;
private System.Guid _ApplicationId;
private string _Description;
private EntitySet<AspnetMembership> _AspnetMemberships;
private EntitySet<AspnetPath> _AspnetPaths;
private EntitySet<AspnetRoles> _AspnetRoles;
private EntitySet<AspnetUser> _AspnetUsers;
public AspnetApplication() {
this._AspnetMemberships = new EntitySet<AspnetMembership>(new Notification<AspnetMembership>(this.attach_AspnetMemberships), new Notification<AspnetMembership>(this.detach_AspnetMemberships));
this._AspnetPaths = new EntitySet<AspnetPath>(new Notification<AspnetPath>(this.attach_AspnetPaths), new Notification<AspnetPath>(this.detach_AspnetPaths));
this._AspnetRoles = new EntitySet<AspnetRoles>(new Notification<AspnetRoles>(this.attach_AspnetRoles), new Notification<AspnetRoles>(this.detach_AspnetRoles));
this._AspnetUsers = new EntitySet<AspnetUser>(new Notification<AspnetUser>(this.attach_AspnetUsers), new Notification<AspnetUser>(this.detach_AspnetUsers));
}
[Column(Storage="_ApplicationName", DBType="NVarChar(256) NOT NULL")]
public string ApplicationName {
get {
return this._ApplicationName;
}
set {
if ((this._ApplicationName != value)) {
this.OnPropertyChanging("ApplicationName");
this._ApplicationName = value;
this.OnPropertyChanged("ApplicationName");
}
}
}
[Column(Storage="_LoweredApplicationName", DBType="NVarChar(256) NOT NULL")]
public string LoweredApplicationName {
get {
return this._LoweredApplicationName;
}
set {
if ((this._LoweredApplicationName != value)) {
this.OnPropertyChanging("LoweredApplicationName");
this._LoweredApplicationName = value;
this.OnPropertyChanged("LoweredApplicationName");
}
}
}
[Column(Storage="_ApplicationId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid ApplicationId {
get {
return this._ApplicationId;
}
set {
if ((this._ApplicationId != value)) {
this.OnPropertyChanging("ApplicationId");
this._ApplicationId = value;
this.OnPropertyChanged("ApplicationId");
}
}
}
[Column(Storage="_Description", DBType="NVarChar(256)")]
public string Description {
get {
return this._Description;
}
set {
if ((this._Description != value)) {
this.OnPropertyChanging("Description");
this._Description = value;
this.OnPropertyChanged("Description");
}
}
}
[Association(Name="FK__aspnet_Me__Appli__1920BF5C", Storage="_AspnetMemberships", OtherKey="ApplicationId")]
public EntitySet<AspnetMembership> AspnetMemberships {
get {
return this._AspnetMemberships;
}
set {
this._AspnetMemberships.Assign(value);
}
}
[Association(Name="FK__aspnet_Pa__Appli__4AB81AF0", Storage="_AspnetPaths", OtherKey="ApplicationId")]
public EntitySet<AspnetPath> AspnetPaths {
get {
return this._AspnetPaths;
}
set {
this._AspnetPaths.Assign(value);
}
}
[Association(Name="FK__aspnet_Ro__Appli__37A5467C", Storage="_AspnetRoles", OtherKey="ApplicationId")]
public EntitySet<AspnetRoles> AspnetRoles {
get {
return this._AspnetRoles;
}
set {
this._AspnetRoles.Assign(value);
}
}
[Association(Name="FK__aspnet_Us__Appli__08EA5793", Storage="_AspnetUsers", OtherKey="ApplicationId")]
public EntitySet<AspnetUser> AspnetUsers {
get {
return this._AspnetUsers;
}
set {
this._AspnetUsers.Assign(value);
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
private void attach_AspnetMemberships(AspnetMembership entity) {
this.OnPropertyChanging(null);
entity.AspnetApplication = this;
this.OnPropertyChanged(null);
}
private void detach_AspnetMemberships(AspnetMembership entity) {
this.OnPropertyChanging(null);
entity.AspnetApplication = null;
this.OnPropertyChanged(null);
}
private void attach_AspnetPaths(AspnetPath entity) {
this.OnPropertyChanging(null);
entity.AspnetApplication = this;
this.OnPropertyChanged(null);
}
private void detach_AspnetPaths(AspnetPath entity) {
this.OnPropertyChanging(null);
entity.AspnetApplication = null;
this.OnPropertyChanged(null);
}
private void attach_AspnetRoles(AspnetRoles entity) {
this.OnPropertyChanging(null);
entity.AspnetApplication = this;
this.OnPropertyChanged(null);
}
private void detach_AspnetRoles(AspnetRoles entity) {
this.OnPropertyChanging(null);
entity.AspnetApplication = null;
this.OnPropertyChanged(null);
}
private void attach_AspnetUsers(AspnetUser entity) {
this.OnPropertyChanging(null);
entity.AspnetApplication = this;
this.OnPropertyChanged(null);
}
private void detach_AspnetUsers(AspnetUser entity) {
this.OnPropertyChanging(null);
entity.AspnetApplication = null;
this.OnPropertyChanged(null);
}
}
[Table(Name="WidgetInstance")]
public partial class WidgetInstance : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private int _Id;
private int _PageId;
private int _WidgetId;
private int _ColumnNo;
private int _OrderNo;
private bool _Expanded;
private string _Title;
private string _State;
private System.DateTime _CreatedDate;
private System.DateTime _LastUpdate;
private int _VersionNo;
private EntityRef<Widget> _Widget;
public WidgetInstance() {
this._Widget = default(EntityRef<Widget>);
}
[Column(Storage="_Id", DBType="Int NOT NULL IDENTITY", Id=true, AutoGen=true)]
public int Id {
get {
return this._Id;
}
set {
if ((this._Id != value)) {
this.OnPropertyChanging("Id");
this._Id = value;
this.OnPropertyChanged("Id");
}
}
}
[Column(Storage="_PageId", DBType="Int NOT NULL")]
public int PageId {
get {
return this._PageId;
}
set {
if ((this._PageId != value)) {
this.OnPropertyChanging("PageId");
this._PageId = value;
this.OnPropertyChanged("PageId");
}
}
}
[Column(Storage="_WidgetId", DBType="Int NOT NULL")]
public int WidgetId {
get {
return this._WidgetId;
}
set {
if ((this._WidgetId != value)) {
this.OnPropertyChanging("WidgetId");
this._WidgetId = value;
this.OnPropertyChanged("WidgetId");
}
}
}
[Column(Storage="_ColumnNo", DBType="Int NOT NULL")]
public int ColumnNo {
get {
return this._ColumnNo;
}
set {
if ((this._ColumnNo != value)) {
this.OnPropertyChanging("ColumnNo");
this._ColumnNo = value;
this.OnPropertyChanged("ColumnNo");
}
}
}
[Column(Storage="_OrderNo", DBType="Int NOT NULL")]
public int OrderNo {
get {
return this._OrderNo;
}
set {
if ((this._OrderNo != value)) {
this.OnPropertyChanging("OrderNo");
this._OrderNo = value;
this.OnPropertyChanged("OrderNo");
}
}
}
[Column(Storage="_Expanded", DBType="Bit NOT NULL")]
public bool Expanded {
get {
return this._Expanded;
}
set {
if ((this._Expanded != value)) {
this.OnPropertyChanging("Expanded");
this._Expanded = value;
this.OnPropertyChanged("Expanded");
}
}
}
[Column(Storage="_Title", DBType="NVarChar(255) NOT NULL")]
public string Title {
get {
return this._Title;
}
set {
if ((this._Title != value)) {
this.OnPropertyChanging("Title");
this._Title = value;
this.OnPropertyChanged("Title");
}
}
}
[Column(Storage="_State", DBType="NVarChar(2147483647) NOT NULL", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public string State {
get {
return this._State;
}
set {
if ((this._State != value)) {
this.OnPropertyChanging("State");
this._State = value;
this.OnPropertyChanged("State");
}
}
}
[Column(Storage="_CreatedDate", DBType="DateTime NOT NULL")]
public System.DateTime CreatedDate {
get {
return this._CreatedDate;
}
set {
if ((this._CreatedDate != value)) {
this.OnPropertyChanging("CreatedDate");
this._CreatedDate = value;
this.OnPropertyChanged("CreatedDate");
}
}
}
[Column(Storage="_LastUpdate", DBType="DateTime NOT NULL")]
public System.DateTime LastUpdate {
get {
return this._LastUpdate;
}
set {
if ((this._LastUpdate != value)) {
this.OnPropertyChanging("LastUpdate");
this._LastUpdate = value;
this.OnPropertyChanged("LastUpdate");
}
}
}
[Column(Storage="_VersionNo", DBType="Int NOT NULL")]
public int VersionNo {
get {
return this._VersionNo;
}
set {
if ((this._VersionNo != value)) {
this.OnPropertyChanging("VersionNo");
this._VersionNo = value;
this.OnPropertyChanged("VersionNo");
}
}
}
[Association(Name="FK_WidgetInstance_Widget", Storage="_Widget", ThisKey="WidgetId", IsParent=true)]
public Widget Widget {
get {
return this._Widget.Entity;
}
set {
Widget v = this._Widget.Entity;
if ((v != value)) {
this.OnPropertyChanging("Widget");
if ((v != null)) {
this._Widget.Entity = null;
v.WidgetInstances.Remove(this);
}
this._Widget.Entity = value;
if ((value != null)) {
value.WidgetInstances.Add(this);
}
this.OnPropertyChanged("Widget");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="aspnet_Users")]
public partial class AspnetUser : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
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<AspnetMembership> _AspnetMembership;
private EntitySet<AspnetPersonalizationPerUser> _AspnetPersonalizationPerUsers;
private EntityRef<AspnetProfile> _AspnetProfile;
private EntityRef<AspnetApplication> _AspnetApplication;
private EntitySet<AspnetUsersInRoles> _AspnetUsersInRoles;
private EntitySet<Page> _Pages;
private EntityRef<UserSetting> _UserSetting;
public AspnetUser() {
this._AspnetMembership = default(EntityRef<AspnetMembership>);
this._AspnetPersonalizationPerUsers = new EntitySet<AspnetPersonalizationPerUser>(new Notification<AspnetPersonalizationPerUser>(this.attach_AspnetPersonalizationPerUsers), new Notification<AspnetPersonalizationPerUser>(this.detach_AspnetPersonalizationPerUsers));
this._AspnetProfile = default(EntityRef<AspnetProfile>);
this._AspnetApplication = default(EntityRef<AspnetApplication>);
this._AspnetUsersInRoles = new EntitySet<AspnetUsersInRoles>(new Notification<AspnetUsersInRoles>(this.attach_AspnetUsersInRoles), new Notification<AspnetUsersInRoles>(this.detach_AspnetUsersInRoles));
this._Pages = new EntitySet<Page>(new Notification<Page>(this.attach_Pages), new Notification<Page>(this.detach_Pages));
this._UserSetting = default(EntityRef<UserSetting>);
}
[Column(Storage="_ApplicationId", DBType="UniqueIdentifier NOT NULL")]
public System.Guid ApplicationId {
get {
return this._ApplicationId;
}
set {
if ((this._ApplicationId != value)) {
this.OnPropertyChanging("ApplicationId");
this._ApplicationId = value;
this.OnPropertyChanged("ApplicationId");
}
}
}
[Column(Storage="_UserId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid UserId {
get {
return this._UserId;
}
set {
if ((this._UserId != value)) {
this.OnPropertyChanging("UserId");
this._UserId = value;
this.OnPropertyChanged("UserId");
}
}
}
[Column(Storage="_UserName", DBType="NVarChar(256) NOT NULL")]
public string UserName {
get {
return this._UserName;
}
set {
if ((this._UserName != value)) {
this.OnPropertyChanging("UserName");
this._UserName = value;
this.OnPropertyChanged("UserName");
}
}
}
[Column(Storage="_LoweredUserName", DBType="NVarChar(256) NOT NULL")]
public string LoweredUserName {
get {
return this._LoweredUserName;
}
set {
if ((this._LoweredUserName != value)) {
this.OnPropertyChanging("LoweredUserName");
this._LoweredUserName = value;
this.OnPropertyChanged("LoweredUserName");
}
}
}
[Column(Storage="_MobileAlias", DBType="NVarChar(16)")]
public string MobileAlias {
get {
return this._MobileAlias;
}
set {
if ((this._MobileAlias != value)) {
this.OnPropertyChanging("MobileAlias");
this._MobileAlias = value;
this.OnPropertyChanged("MobileAlias");
}
}
}
[Column(Storage="_IsAnonymous", DBType="Bit NOT NULL")]
public bool IsAnonymous {
get {
return this._IsAnonymous;
}
set {
if ((this._IsAnonymous != value)) {
this.OnPropertyChanging("IsAnonymous");
this._IsAnonymous = value;
this.OnPropertyChanged("IsAnonymous");
}
}
}
[Column(Storage="_LastActivityDate", DBType="DateTime NOT NULL")]
public System.DateTime LastActivityDate {
get {
return this._LastActivityDate;
}
set {
if ((this._LastActivityDate != value)) {
this.OnPropertyChanging("LastActivityDate");
this._LastActivityDate = value;
this.OnPropertyChanged("LastActivityDate");
}
}
}
[Association(Name="FK__aspnet_Me__UserI__1A14E395", Storage="_AspnetMembership", ThisKey="UserId", Unique=true)]
public AspnetMembership AspnetMembership {
get {
return this._AspnetMembership.Entity;
}
set {
AspnetMembership v = this._AspnetMembership.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetMembership");
if ((v != null)) {
this._AspnetMembership.Entity = null;
v.AspnetUser = null;
}
this._AspnetMembership.Entity = value;
if ((value != null)) {
value.AspnetUser = this;
}
this.OnPropertyChanged("AspnetMembership");
}
}
}
[Association(Name="FK__aspnet_Pe__UserI__5535A963", Storage="_AspnetPersonalizationPerUsers", OtherKey="UserId")]
public EntitySet<AspnetPersonalizationPerUser> AspnetPersonalizationPerUsers {
get {
return this._AspnetPersonalizationPerUsers;
}
set {
this._AspnetPersonalizationPerUsers.Assign(value);
}
}
[Association(Name="FK__aspnet_Pr__UserI__2E1BDC42", Storage="_AspnetProfile", ThisKey="UserId", Unique=true)]
public AspnetProfile AspnetProfile {
get {
return this._AspnetProfile.Entity;
}
set {
AspnetProfile v = this._AspnetProfile.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetProfile");
if ((v != null)) {
this._AspnetProfile.Entity = null;
v.AspnetUser = null;
}
this._AspnetProfile.Entity = value;
if ((value != null)) {
value.AspnetUser = this;
}
this.OnPropertyChanged("AspnetProfile");
}
}
}
[Association(Name="FK__aspnet_Us__Appli__08EA5793", Storage="_AspnetApplication", ThisKey="ApplicationId", IsParent=true)]
public AspnetApplication AspnetApplication {
get {
return this._AspnetApplication.Entity;
}
set {
AspnetApplication v = this._AspnetApplication.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetApplication");
if ((v != null)) {
this._AspnetApplication.Entity = null;
v.AspnetUsers.Remove(this);
}
this._AspnetApplication.Entity = value;
if ((value != null)) {
value.AspnetUsers.Add(this);
}
this.OnPropertyChanged("AspnetApplication");
}
}
}
[Association(Name="FK__aspnet_Us__UserI__3B75D760", Storage="_AspnetUsersInRoles", OtherKey="UserId")]
public EntitySet<AspnetUsersInRoles> AspnetUsersInRoles {
get {
return this._AspnetUsersInRoles;
}
set {
this._AspnetUsersInRoles.Assign(value);
}
}
[Association(Name="FK_Page_aspnet_Users", Storage="_Pages", OtherKey="UserId")]
public EntitySet<Page> Pages {
get {
return this._Pages;
}
set {
this._Pages.Assign(value);
}
}
[Association(Name="FK_UserSetting_aspnet_Users", Storage="_UserSetting", ThisKey="UserId", Unique=true)]
public UserSetting UserSetting {
get {
return this._UserSetting.Entity;
}
set {
UserSetting v = this._UserSetting.Entity;
if ((v != value)) {
this.OnPropertyChanging("UserSetting");
if ((v != null)) {
this._UserSetting.Entity = null;
v.AspnetUser = null;
}
this._UserSetting.Entity = value;
if ((value != null)) {
value.AspnetUser = this;
}
this.OnPropertyChanged("UserSetting");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
private void attach_AspnetPersonalizationPerUsers(AspnetPersonalizationPerUser entity) {
this.OnPropertyChanging(null);
entity.AspnetUser = this;
this.OnPropertyChanged(null);
}
private void detach_AspnetPersonalizationPerUsers(AspnetPersonalizationPerUser entity) {
this.OnPropertyChanging(null);
entity.AspnetUser = null;
this.OnPropertyChanged(null);
}
private void attach_AspnetUsersInRoles(AspnetUsersInRoles entity) {
this.OnPropertyChanging(null);
entity.AspnetUser = this;
this.OnPropertyChanged(null);
}
private void detach_AspnetUsersInRoles(AspnetUsersInRoles entity) {
this.OnPropertyChanging(null);
entity.AspnetUser = null;
this.OnPropertyChanged(null);
}
private void attach_Pages(Page entity) {
this.OnPropertyChanging(null);
entity.AspnetUser = this;
this.OnPropertyChanged(null);
}
private void detach_Pages(Page entity) {
this.OnPropertyChanging(null);
entity.AspnetUser = null;
this.OnPropertyChanged(null);
}
}
[Table(Name="aspnet_SchemaVersions")]
public partial class AspnetSchemaVersion : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private string _Feature;
private string _CompatibleSchemaVersion;
private bool _IsCurrentVersion;
public AspnetSchemaVersion() {
}
[Column(Storage="_Feature", DBType="NVarChar(128) NOT NULL", Id=true)]
public string Feature {
get {
return this._Feature;
}
set {
if ((this._Feature != value)) {
this.OnPropertyChanging("Feature");
this._Feature = value;
this.OnPropertyChanged("Feature");
}
}
}
[Column(Storage="_CompatibleSchemaVersion", DBType="NVarChar(128) NOT NULL", Id=true)]
public string CompatibleSchemaVersion {
get {
return this._CompatibleSchemaVersion;
}
set {
if ((this._CompatibleSchemaVersion != value)) {
this.OnPropertyChanging("CompatibleSchemaVersion");
this._CompatibleSchemaVersion = value;
this.OnPropertyChanged("CompatibleSchemaVersion");
}
}
}
[Column(Storage="_IsCurrentVersion", DBType="Bit NOT NULL")]
public bool IsCurrentVersion {
get {
return this._IsCurrentVersion;
}
set {
if ((this._IsCurrentVersion != value)) {
this.OnPropertyChanging("IsCurrentVersion");
this._IsCurrentVersion = value;
this.OnPropertyChanged("IsCurrentVersion");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="aspnet_Membership")]
public partial class AspnetMembership : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
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<AspnetApplication> _AspnetApplication;
private EntityRef<AspnetUser> _AspnetUser;
public AspnetMembership() {
this._AspnetApplication = default(EntityRef<AspnetApplication>);
this._AspnetUser = default(EntityRef<AspnetUser>);
}
[Column(Storage="_ApplicationId", DBType="UniqueIdentifier NOT NULL")]
public System.Guid ApplicationId {
get {
return this._ApplicationId;
}
set {
if ((this._ApplicationId != value)) {
this.OnPropertyChanging("ApplicationId");
this._ApplicationId = value;
this.OnPropertyChanged("ApplicationId");
}
}
}
[Column(Storage="_UserId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid UserId {
get {
return this._UserId;
}
set {
if ((this._UserId != value)) {
this.OnPropertyChanging("UserId");
this._UserId = value;
this.OnPropertyChanged("UserId");
}
}
}
[Column(Storage="_Password", DBType="NVarChar(128) NOT NULL")]
public string Password {
get {
return this._Password;
}
set {
if ((this._Password != value)) {
this.OnPropertyChanging("Password");
this._Password = value;
this.OnPropertyChanged("Password");
}
}
}
[Column(Storage="_PasswordFormat", DBType="Int NOT NULL")]
public int PasswordFormat {
get {
return this._PasswordFormat;
}
set {
if ((this._PasswordFormat != value)) {
this.OnPropertyChanging("PasswordFormat");
this._PasswordFormat = value;
this.OnPropertyChanged("PasswordFormat");
}
}
}
[Column(Storage="_PasswordSalt", DBType="NVarChar(128) NOT NULL")]
public string PasswordSalt {
get {
return this._PasswordSalt;
}
set {
if ((this._PasswordSalt != value)) {
this.OnPropertyChanging("PasswordSalt");
this._PasswordSalt = value;
this.OnPropertyChanged("PasswordSalt");
}
}
}
[Column(Storage="_MobilePIN", DBType="NVarChar(16)")]
public string MobilePIN {
get {
return this._MobilePIN;
}
set {
if ((this._MobilePIN != value)) {
this.OnPropertyChanging("MobilePIN");
this._MobilePIN = value;
this.OnPropertyChanged("MobilePIN");
}
}
}
[Column(Storage="_Email", DBType="NVarChar(256)")]
public string Email {
get {
return this._Email;
}
set {
if ((this._Email != value)) {
this.OnPropertyChanging("Email");
this._Email = value;
this.OnPropertyChanged("Email");
}
}
}
[Column(Storage="_LoweredEmail", DBType="NVarChar(256)")]
public string LoweredEmail {
get {
return this._LoweredEmail;
}
set {
if ((this._LoweredEmail != value)) {
this.OnPropertyChanging("LoweredEmail");
this._LoweredEmail = value;
this.OnPropertyChanged("LoweredEmail");
}
}
}
[Column(Storage="_PasswordQuestion", DBType="NVarChar(256)")]
public string PasswordQuestion {
get {
return this._PasswordQuestion;
}
set {
if ((this._PasswordQuestion != value)) {
this.OnPropertyChanging("PasswordQuestion");
this._PasswordQuestion = value;
this.OnPropertyChanged("PasswordQuestion");
}
}
}
[Column(Storage="_PasswordAnswer", DBType="NVarChar(128)")]
public string PasswordAnswer {
get {
return this._PasswordAnswer;
}
set {
if ((this._PasswordAnswer != value)) {
this.OnPropertyChanging("PasswordAnswer");
this._PasswordAnswer = value;
this.OnPropertyChanged("PasswordAnswer");
}
}
}
[Column(Storage="_IsApproved", DBType="Bit NOT NULL")]
public bool IsApproved {
get {
return this._IsApproved;
}
set {
if ((this._IsApproved != value)) {
this.OnPropertyChanging("IsApproved");
this._IsApproved = value;
this.OnPropertyChanged("IsApproved");
}
}
}
[Column(Storage="_IsLockedOut", DBType="Bit NOT NULL")]
public bool IsLockedOut {
get {
return this._IsLockedOut;
}
set {
if ((this._IsLockedOut != value)) {
this.OnPropertyChanging("IsLockedOut");
this._IsLockedOut = value;
this.OnPropertyChanged("IsLockedOut");
}
}
}
[Column(Storage="_CreateDate", DBType="DateTime NOT NULL")]
public System.DateTime CreateDate {
get {
return this._CreateDate;
}
set {
if ((this._CreateDate != value)) {
this.OnPropertyChanging("CreateDate");
this._CreateDate = value;
this.OnPropertyChanged("CreateDate");
}
}
}
[Column(Storage="_LastLoginDate", DBType="DateTime NOT NULL")]
public System.DateTime LastLoginDate {
get {
return this._LastLoginDate;
}
set {
if ((this._LastLoginDate != value)) {
this.OnPropertyChanging("LastLoginDate");
this._LastLoginDate = value;
this.OnPropertyChanged("LastLoginDate");
}
}
}
[Column(Storage="_LastPasswordChangedDate", DBType="DateTime NOT NULL")]
public System.DateTime LastPasswordChangedDate {
get {
return this._LastPasswordChangedDate;
}
set {
if ((this._LastPasswordChangedDate != value)) {
this.OnPropertyChanging("LastPasswordChangedDate");
this._LastPasswordChangedDate = value;
this.OnPropertyChanged("LastPasswordChangedDate");
}
}
}
[Column(Storage="_LastLockoutDate", DBType="DateTime NOT NULL")]
public System.DateTime LastLockoutDate {
get {
return this._LastLockoutDate;
}
set {
if ((this._LastLockoutDate != value)) {
this.OnPropertyChanging("LastLockoutDate");
this._LastLockoutDate = value;
this.OnPropertyChanged("LastLockoutDate");
}
}
}
[Column(Storage="_FailedPasswordAttemptCount", DBType="Int NOT NULL")]
public int FailedPasswordAttemptCount {
get {
return this._FailedPasswordAttemptCount;
}
set {
if ((this._FailedPasswordAttemptCount != value)) {
this.OnPropertyChanging("FailedPasswordAttemptCount");
this._FailedPasswordAttemptCount = value;
this.OnPropertyChanged("FailedPasswordAttemptCount");
}
}
}
[Column(Storage="_FailedPasswordAttemptWindowStart", DBType="DateTime NOT NULL")]
public System.DateTime FailedPasswordAttemptWindowStart {
get {
return this._FailedPasswordAttemptWindowStart;
}
set {
if ((this._FailedPasswordAttemptWindowStart != value)) {
this.OnPropertyChanging("FailedPasswordAttemptWindowStart");
this._FailedPasswordAttemptWindowStart = value;
this.OnPropertyChanged("FailedPasswordAttemptWindowStart");
}
}
}
[Column(Storage="_FailedPasswordAnswerAttemptCount", DBType="Int NOT NULL")]
public int FailedPasswordAnswerAttemptCount {
get {
return this._FailedPasswordAnswerAttemptCount;
}
set {
if ((this._FailedPasswordAnswerAttemptCount != value)) {
this.OnPropertyChanging("FailedPasswordAnswerAttemptCount");
this._FailedPasswordAnswerAttemptCount = value;
this.OnPropertyChanged("FailedPasswordAnswerAttemptCount");
}
}
}
[Column(Storage="_FailedPasswordAnswerAttemptWindowStart", DBType="DateTime NOT NULL")]
public System.DateTime FailedPasswordAnswerAttemptWindowStart {
get {
return this._FailedPasswordAnswerAttemptWindowStart;
}
set {
if ((this._FailedPasswordAnswerAttemptWindowStart != value)) {
this.OnPropertyChanging("FailedPasswordAnswerAttemptWindowStart");
this._FailedPasswordAnswerAttemptWindowStart = value;
this.OnPropertyChanged("FailedPasswordAnswerAttemptWindowStart");
}
}
}
[Column(Storage="_Comment", DBType="NText", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public string Comment {
get {
return this._Comment;
}
set {
if ((this._Comment != value)) {
this.OnPropertyChanging("Comment");
this._Comment = value;
this.OnPropertyChanged("Comment");
}
}
}
[Association(Name="FK__aspnet_Me__Appli__1920BF5C", Storage="_AspnetApplication", ThisKey="ApplicationId", IsParent=true)]
public AspnetApplication AspnetApplication {
get {
return this._AspnetApplication.Entity;
}
set {
AspnetApplication v = this._AspnetApplication.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetApplication");
if ((v != null)) {
this._AspnetApplication.Entity = null;
v.AspnetMemberships.Remove(this);
}
this._AspnetApplication.Entity = value;
if ((value != null)) {
value.AspnetMemberships.Add(this);
}
this.OnPropertyChanged("AspnetApplication");
}
}
}
[Association(Name="FK__aspnet_Me__UserI__1A14E395", Storage="_AspnetUser", ThisKey="UserId", Unique=true, IsParent=true)]
public AspnetUser AspnetUser {
get {
return this._AspnetUser.Entity;
}
set {
AspnetUser v = this._AspnetUser.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetUser");
if ((v != null)) {
this._AspnetUser.Entity = null;
v.AspnetMembership = null;
}
this._AspnetUser.Entity = value;
if ((value != null)) {
value.AspnetMembership = this;
}
this.OnPropertyChanged("AspnetUser");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="aspnet_Profile")]
public partial class AspnetProfile : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private System.Guid _UserId;
private string _PropertyNames;
private string _PropertyValuesString;
private byte[] _PropertyValuesBinary;
private System.DateTime _LastUpdatedDate;
private EntityRef<AspnetUser> _AspnetUser;
public AspnetProfile() {
this._AspnetUser = default(EntityRef<AspnetUser>);
}
[Column(Storage="_UserId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid UserId {
get {
return this._UserId;
}
set {
if ((this._UserId != value)) {
this.OnPropertyChanging("UserId");
this._UserId = value;
this.OnPropertyChanged("UserId");
}
}
}
[Column(Storage="_PropertyNames", DBType="NText NOT NULL", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public string PropertyNames {
get {
return this._PropertyNames;
}
set {
if ((this._PropertyNames != value)) {
this.OnPropertyChanging("PropertyNames");
this._PropertyNames = value;
this.OnPropertyChanged("PropertyNames");
}
}
}
[Column(Storage="_PropertyValuesString", DBType="NText NOT NULL", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public string PropertyValuesString {
get {
return this._PropertyValuesString;
}
set {
if ((this._PropertyValuesString != value)) {
this.OnPropertyChanging("PropertyValuesString");
this._PropertyValuesString = value;
this.OnPropertyChanged("PropertyValuesString");
}
}
}
[Column(Storage="_PropertyValuesBinary", DBType="Image NOT NULL", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public byte[] PropertyValuesBinary {
get {
return this._PropertyValuesBinary;
}
set {
if ((this._PropertyValuesBinary != value)) {
this.OnPropertyChanging("PropertyValuesBinary");
this._PropertyValuesBinary = value;
this.OnPropertyChanged("PropertyValuesBinary");
}
}
}
[Column(Storage="_LastUpdatedDate", DBType="DateTime NOT NULL")]
public System.DateTime LastUpdatedDate {
get {
return this._LastUpdatedDate;
}
set {
if ((this._LastUpdatedDate != value)) {
this.OnPropertyChanging("LastUpdatedDate");
this._LastUpdatedDate = value;
this.OnPropertyChanged("LastUpdatedDate");
}
}
}
[Association(Name="FK__aspnet_Pr__UserI__2E1BDC42", Storage="_AspnetUser", ThisKey="UserId", Unique=true, IsParent=true)]
public AspnetUser AspnetUser {
get {
return this._AspnetUser.Entity;
}
set {
AspnetUser v = this._AspnetUser.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetUser");
if ((v != null)) {
this._AspnetUser.Entity = null;
v.AspnetProfile = null;
}
this._AspnetUser.Entity = value;
if ((value != null)) {
value.AspnetProfile = this;
}
this.OnPropertyChanged("AspnetUser");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="aspnet_Roles")]
public partial class AspnetRoles : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private System.Guid _ApplicationId;
private System.Guid _RoleId;
private string _RoleName;
private string _LoweredRoleName;
private string _Description;
private EntityRef<AspnetApplication> _AspnetApplication;
private EntitySet<AspnetUsersInRoles> _AspnetUsersInRoles;
public AspnetRoles() {
this._AspnetApplication = default(EntityRef<AspnetApplication>);
this._AspnetUsersInRoles = new EntitySet<AspnetUsersInRoles>(new Notification<AspnetUsersInRoles>(this.attach_AspnetUsersInRoles), new Notification<AspnetUsersInRoles>(this.detach_AspnetUsersInRoles));
}
[Column(Storage="_ApplicationId", DBType="UniqueIdentifier NOT NULL")]
public System.Guid ApplicationId {
get {
return this._ApplicationId;
}
set {
if ((this._ApplicationId != value)) {
this.OnPropertyChanging("ApplicationId");
this._ApplicationId = value;
this.OnPropertyChanged("ApplicationId");
}
}
}
[Column(Storage="_RoleId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid RoleId {
get {
return this._RoleId;
}
set {
if ((this._RoleId != value)) {
this.OnPropertyChanging("RoleId");
this._RoleId = value;
this.OnPropertyChanged("RoleId");
}
}
}
[Column(Storage="_RoleName", DBType="NVarChar(256) NOT NULL")]
public string RoleName {
get {
return this._RoleName;
}
set {
if ((this._RoleName != value)) {
this.OnPropertyChanging("RoleName");
this._RoleName = value;
this.OnPropertyChanged("RoleName");
}
}
}
[Column(Storage="_LoweredRoleName", DBType="NVarChar(256) NOT NULL")]
public string LoweredRoleName {
get {
return this._LoweredRoleName;
}
set {
if ((this._LoweredRoleName != value)) {
this.OnPropertyChanging("LoweredRoleName");
this._LoweredRoleName = value;
this.OnPropertyChanged("LoweredRoleName");
}
}
}
[Column(Storage="_Description", DBType="NVarChar(256)")]
public string Description {
get {
return this._Description;
}
set {
if ((this._Description != value)) {
this.OnPropertyChanging("Description");
this._Description = value;
this.OnPropertyChanged("Description");
}
}
}
[Association(Name="FK__aspnet_Ro__Appli__37A5467C", Storage="_AspnetApplication", ThisKey="ApplicationId", IsParent=true)]
public AspnetApplication AspnetApplication {
get {
return this._AspnetApplication.Entity;
}
set {
AspnetApplication v = this._AspnetApplication.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetApplication");
if ((v != null)) {
this._AspnetApplication.Entity = null;
v.AspnetRoles.Remove(this);
}
this._AspnetApplication.Entity = value;
if ((value != null)) {
value.AspnetRoles.Add(this);
}
this.OnPropertyChanged("AspnetApplication");
}
}
}
[Association(Name="FK__aspnet_Us__RoleI__3C69FB99", Storage="_AspnetUsersInRoles", OtherKey="RoleId")]
public EntitySet<AspnetUsersInRoles> AspnetUsersInRoles {
get {
return this._AspnetUsersInRoles;
}
set {
this._AspnetUsersInRoles.Assign(value);
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
private void attach_AspnetUsersInRoles(AspnetUsersInRoles entity) {
this.OnPropertyChanging(null);
entity.AspnetRoles = this;
this.OnPropertyChanged(null);
}
private void detach_AspnetUsersInRoles(AspnetUsersInRoles entity) {
this.OnPropertyChanging(null);
entity.AspnetRoles = null;
this.OnPropertyChanged(null);
}
}
[Table(Name="aspnet_UsersInRoles")]
public partial class AspnetUsersInRoles : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private System.Guid _UserId;
private System.Guid _RoleId;
private EntityRef<AspnetRoles> _AspnetRoles;
private EntityRef<AspnetUser> _AspnetUser;
public AspnetUsersInRoles() {
this._AspnetRoles = default(EntityRef<AspnetRoles>);
this._AspnetUser = default(EntityRef<AspnetUser>);
}
[Column(Storage="_UserId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid UserId {
get {
return this._UserId;
}
set {
if ((this._UserId != value)) {
this.OnPropertyChanging("UserId");
this._UserId = value;
this.OnPropertyChanged("UserId");
}
}
}
[Column(Storage="_RoleId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid RoleId {
get {
return this._RoleId;
}
set {
if ((this._RoleId != value)) {
this.OnPropertyChanging("RoleId");
this._RoleId = value;
this.OnPropertyChanged("RoleId");
}
}
}
[Association(Name="FK__aspnet_Us__RoleI__3C69FB99", Storage="_AspnetRoles", ThisKey="RoleId", IsParent=true)]
public AspnetRoles AspnetRoles {
get {
return this._AspnetRoles.Entity;
}
set {
AspnetRoles v = this._AspnetRoles.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetRoles");
if ((v != null)) {
this._AspnetRoles.Entity = null;
v.AspnetUsersInRoles.Remove(this);
}
this._AspnetRoles.Entity = value;
if ((value != null)) {
value.AspnetUsersInRoles.Add(this);
}
this.OnPropertyChanged("AspnetRoles");
}
}
}
[Association(Name="FK__aspnet_Us__UserI__3B75D760", Storage="_AspnetUser", ThisKey="UserId", IsParent=true)]
public AspnetUser AspnetUser {
get {
return this._AspnetUser.Entity;
}
set {
AspnetUser v = this._AspnetUser.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetUser");
if ((v != null)) {
this._AspnetUser.Entity = null;
v.AspnetUsersInRoles.Remove(this);
}
this._AspnetUser.Entity = value;
if ((value != null)) {
value.AspnetUsersInRoles.Add(this);
}
this.OnPropertyChanged("AspnetUser");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="aspnet_Paths")]
public partial class AspnetPath : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private System.Guid _ApplicationId;
private System.Guid _PathId;
private string _Path;
private string _LoweredPath;
private EntityRef<AspnetApplication> _AspnetApplication;
private EntityRef<AspnetPersonalizationAllUser> _AspnetPersonalizationAllUser;
private EntitySet<AspnetPersonalizationPerUser> _AspnetPersonalizationPerUsers;
public AspnetPath() {
this._AspnetApplication = default(EntityRef<AspnetApplication>);
this._AspnetPersonalizationAllUser = default(EntityRef<AspnetPersonalizationAllUser>);
this._AspnetPersonalizationPerUsers = new EntitySet<AspnetPersonalizationPerUser>(new Notification<AspnetPersonalizationPerUser>(this.attach_AspnetPersonalizationPerUsers), new Notification<AspnetPersonalizationPerUser>(this.detach_AspnetPersonalizationPerUsers));
}
[Column(Storage="_ApplicationId", DBType="UniqueIdentifier NOT NULL")]
public System.Guid ApplicationId {
get {
return this._ApplicationId;
}
set {
if ((this._ApplicationId != value)) {
this.OnPropertyChanging("ApplicationId");
this._ApplicationId = value;
this.OnPropertyChanged("ApplicationId");
}
}
}
[Column(Storage="_PathId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid PathId {
get {
return this._PathId;
}
set {
if ((this._PathId != value)) {
this.OnPropertyChanging("PathId");
this._PathId = value;
this.OnPropertyChanged("PathId");
}
}
}
[Column(Storage="_Path", DBType="NVarChar(256) NOT NULL")]
public string Path {
get {
return this._Path;
}
set {
if ((this._Path != value)) {
this.OnPropertyChanging("Path");
this._Path = value;
this.OnPropertyChanged("Path");
}
}
}
[Column(Storage="_LoweredPath", DBType="NVarChar(256) NOT NULL")]
public string LoweredPath {
get {
return this._LoweredPath;
}
set {
if ((this._LoweredPath != value)) {
this.OnPropertyChanging("LoweredPath");
this._LoweredPath = value;
this.OnPropertyChanged("LoweredPath");
}
}
}
[Association(Name="FK__aspnet_Pa__Appli__4AB81AF0", Storage="_AspnetApplication", ThisKey="ApplicationId", IsParent=true)]
public AspnetApplication AspnetApplication {
get {
return this._AspnetApplication.Entity;
}
set {
AspnetApplication v = this._AspnetApplication.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetApplication");
if ((v != null)) {
this._AspnetApplication.Entity = null;
v.AspnetPaths.Remove(this);
}
this._AspnetApplication.Entity = value;
if ((value != null)) {
value.AspnetPaths.Add(this);
}
this.OnPropertyChanged("AspnetApplication");
}
}
}
[Association(Name="FK__aspnet_Pe__PathI__5070F446", Storage="_AspnetPersonalizationAllUser", ThisKey="PathId", Unique=true)]
public AspnetPersonalizationAllUser AspnetPersonalizationAllUser {
get {
return this._AspnetPersonalizationAllUser.Entity;
}
set {
AspnetPersonalizationAllUser v = this._AspnetPersonalizationAllUser.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetPersonalizationAllUser");
if ((v != null)) {
this._AspnetPersonalizationAllUser.Entity = null;
v.AspnetPath = null;
}
this._AspnetPersonalizationAllUser.Entity = value;
if ((value != null)) {
value.AspnetPath = this;
}
this.OnPropertyChanged("AspnetPersonalizationAllUser");
}
}
}
[Association(Name="FK__aspnet_Pe__PathI__5441852A", Storage="_AspnetPersonalizationPerUsers", OtherKey="PathId")]
public EntitySet<AspnetPersonalizationPerUser> AspnetPersonalizationPerUsers {
get {
return this._AspnetPersonalizationPerUsers;
}
set {
this._AspnetPersonalizationPerUsers.Assign(value);
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
private void attach_AspnetPersonalizationPerUsers(AspnetPersonalizationPerUser entity) {
this.OnPropertyChanging(null);
entity.AspnetPath = this;
this.OnPropertyChanged(null);
}
private void detach_AspnetPersonalizationPerUsers(AspnetPersonalizationPerUser entity) {
this.OnPropertyChanging(null);
entity.AspnetPath = null;
this.OnPropertyChanged(null);
}
}
[Table(Name="aspnet_PersonalizationAllUsers")]
public partial class AspnetPersonalizationAllUser : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private System.Guid _PathId;
private byte[] _PageSettings;
private System.DateTime _LastUpdatedDate;
private EntityRef<AspnetPath> _AspnetPath;
public AspnetPersonalizationAllUser() {
this._AspnetPath = default(EntityRef<AspnetPath>);
}
[Column(Storage="_PathId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid PathId {
get {
return this._PathId;
}
set {
if ((this._PathId != value)) {
this.OnPropertyChanging("PathId");
this._PathId = value;
this.OnPropertyChanged("PathId");
}
}
}
[Column(Storage="_PageSettings", DBType="Image NOT NULL", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public byte[] PageSettings {
get {
return this._PageSettings;
}
set {
if ((this._PageSettings != value)) {
this.OnPropertyChanging("PageSettings");
this._PageSettings = value;
this.OnPropertyChanged("PageSettings");
}
}
}
[Column(Storage="_LastUpdatedDate", DBType="DateTime NOT NULL")]
public System.DateTime LastUpdatedDate {
get {
return this._LastUpdatedDate;
}
set {
if ((this._LastUpdatedDate != value)) {
this.OnPropertyChanging("LastUpdatedDate");
this._LastUpdatedDate = value;
this.OnPropertyChanged("LastUpdatedDate");
}
}
}
[Association(Name="FK__aspnet_Pe__PathI__5070F446", Storage="_AspnetPath", ThisKey="PathId", Unique=true, IsParent=true)]
public AspnetPath AspnetPath {
get {
return this._AspnetPath.Entity;
}
set {
AspnetPath v = this._AspnetPath.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetPath");
if ((v != null)) {
this._AspnetPath.Entity = null;
v.AspnetPersonalizationAllUser = null;
}
this._AspnetPath.Entity = value;
if ((value != null)) {
value.AspnetPersonalizationAllUser = this;
}
this.OnPropertyChanged("AspnetPath");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="aspnet_PersonalizationPerUser")]
public partial class AspnetPersonalizationPerUser : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private System.Guid _Id;
private System.Nullable<System.Guid> _PathId;
private System.Nullable<System.Guid> _UserId;
private byte[] _PageSettings;
private System.DateTime _LastUpdatedDate;
private EntityRef<AspnetPath> _AspnetPath;
private EntityRef<AspnetUser> _AspnetUser;
public AspnetPersonalizationPerUser() {
this._AspnetPath = default(EntityRef<AspnetPath>);
this._AspnetUser = default(EntityRef<AspnetUser>);
}
[Column(Storage="_Id", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid Id {
get {
return this._Id;
}
set {
if ((this._Id != value)) {
this.OnPropertyChanging("Id");
this._Id = value;
this.OnPropertyChanged("Id");
}
}
}
[Column(Storage="_PathId", DBType="UniqueIdentifier")]
public System.Nullable<System.Guid> PathId {
get {
return this._PathId;
}
set {
if ((this._PathId != value)) {
this.OnPropertyChanging("PathId");
this._PathId = value;
this.OnPropertyChanged("PathId");
}
}
}
[Column(Storage="_UserId", DBType="UniqueIdentifier")]
public System.Nullable<System.Guid> UserId {
get {
return this._UserId;
}
set {
if ((this._UserId != value)) {
this.OnPropertyChanging("UserId");
this._UserId = value;
this.OnPropertyChanged("UserId");
}
}
}
[Column(Storage="_PageSettings", DBType="Image NOT NULL", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public byte[] PageSettings {
get {
return this._PageSettings;
}
set {
if ((this._PageSettings != value)) {
this.OnPropertyChanging("PageSettings");
this._PageSettings = value;
this.OnPropertyChanged("PageSettings");
}
}
}
[Column(Storage="_LastUpdatedDate", DBType="DateTime NOT NULL")]
public System.DateTime LastUpdatedDate {
get {
return this._LastUpdatedDate;
}
set {
if ((this._LastUpdatedDate != value)) {
this.OnPropertyChanging("LastUpdatedDate");
this._LastUpdatedDate = value;
this.OnPropertyChanged("LastUpdatedDate");
}
}
}
[Association(Name="FK__aspnet_Pe__PathI__5441852A", Storage="_AspnetPath", ThisKey="PathId", IsParent=true)]
public AspnetPath AspnetPath {
get {
return this._AspnetPath.Entity;
}
set {
AspnetPath v = this._AspnetPath.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetPath");
if ((v != null)) {
this._AspnetPath.Entity = null;
v.AspnetPersonalizationPerUsers.Remove(this);
}
this._AspnetPath.Entity = value;
if ((value != null)) {
value.AspnetPersonalizationPerUsers.Add(this);
}
this.OnPropertyChanged("AspnetPath");
}
}
}
[Association(Name="FK__aspnet_Pe__UserI__5535A963", Storage="_AspnetUser", ThisKey="UserId", IsParent=true)]
public AspnetUser AspnetUser {
get {
return this._AspnetUser.Entity;
}
set {
AspnetUser v = this._AspnetUser.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetUser");
if ((v != null)) {
this._AspnetUser.Entity = null;
v.AspnetPersonalizationPerUsers.Remove(this);
}
this._AspnetUser.Entity = value;
if ((value != null)) {
value.AspnetPersonalizationPerUsers.Add(this);
}
this.OnPropertyChanged("AspnetUser");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="aspnet_WebEvent_Events")]
public partial class AspnetWebEventEvent : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
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;
public AspnetWebEventEvent() {
}
[Column(Storage="_EventId", DBType="Char(32) NOT NULL", Id=true)]
public string EventId {
get {
return this._EventId;
}
set {
if ((this._EventId != value)) {
this.OnPropertyChanging("EventId");
this._EventId = value;
this.OnPropertyChanged("EventId");
}
}
}
[Column(Storage="_EventTimeUtc", DBType="DateTime NOT NULL")]
public System.DateTime EventTimeUtc {
get {
return this._EventTimeUtc;
}
set {
if ((this._EventTimeUtc != value)) {
this.OnPropertyChanging("EventTimeUtc");
this._EventTimeUtc = value;
this.OnPropertyChanged("EventTimeUtc");
}
}
}
[Column(Storage="_EventTime", DBType="DateTime NOT NULL")]
public System.DateTime EventTime {
get {
return this._EventTime;
}
set {
if ((this._EventTime != value)) {
this.OnPropertyChanging("EventTime");
this._EventTime = value;
this.OnPropertyChanged("EventTime");
}
}
}
[Column(Storage="_EventType", DBType="NVarChar(256) NOT NULL")]
public string EventType {
get {
return this._EventType;
}
set {
if ((this._EventType != value)) {
this.OnPropertyChanging("EventType");
this._EventType = value;
this.OnPropertyChanged("EventType");
}
}
}
[Column(Storage="_EventSequence", DBType="Decimal(19,0) NOT NULL")]
public decimal EventSequence {
get {
return this._EventSequence;
}
set {
if ((this._EventSequence != value)) {
this.OnPropertyChanging("EventSequence");
this._EventSequence = value;
this.OnPropertyChanged("EventSequence");
}
}
}
[Column(Storage="_EventOccurrence", DBType="Decimal(19,0) NOT NULL")]
public decimal EventOccurrence {
get {
return this._EventOccurrence;
}
set {
if ((this._EventOccurrence != value)) {
this.OnPropertyChanging("EventOccurrence");
this._EventOccurrence = value;
this.OnPropertyChanged("EventOccurrence");
}
}
}
[Column(Storage="_EventCode", DBType="Int NOT NULL")]
public int EventCode {
get {
return this._EventCode;
}
set {
if ((this._EventCode != value)) {
this.OnPropertyChanging("EventCode");
this._EventCode = value;
this.OnPropertyChanged("EventCode");
}
}
}
[Column(Storage="_EventDetailCode", DBType="Int NOT NULL")]
public int EventDetailCode {
get {
return this._EventDetailCode;
}
set {
if ((this._EventDetailCode != value)) {
this.OnPropertyChanging("EventDetailCode");
this._EventDetailCode = value;
this.OnPropertyChanged("EventDetailCode");
}
}
}
[Column(Storage="_Message", DBType="NVarChar(1024)")]
public string Message {
get {
return this._Message;
}
set {
if ((this._Message != value)) {
this.OnPropertyChanging("Message");
this._Message = value;
this.OnPropertyChanged("Message");
}
}
}
[Column(Storage="_ApplicationPath", DBType="NVarChar(256)")]
public string ApplicationPath {
get {
return this._ApplicationPath;
}
set {
if ((this._ApplicationPath != value)) {
this.OnPropertyChanging("ApplicationPath");
this._ApplicationPath = value;
this.OnPropertyChanged("ApplicationPath");
}
}
}
[Column(Storage="_ApplicationVirtualPath", DBType="NVarChar(256)")]
public string ApplicationVirtualPath {
get {
return this._ApplicationVirtualPath;
}
set {
if ((this._ApplicationVirtualPath != value)) {
this.OnPropertyChanging("ApplicationVirtualPath");
this._ApplicationVirtualPath = value;
this.OnPropertyChanged("ApplicationVirtualPath");
}
}
}
[Column(Storage="_MachineName", DBType="NVarChar(256) NOT NULL")]
public string MachineName {
get {
return this._MachineName;
}
set {
if ((this._MachineName != value)) {
this.OnPropertyChanging("MachineName");
this._MachineName = value;
this.OnPropertyChanged("MachineName");
}
}
}
[Column(Storage="_RequestUrl", DBType="NVarChar(1024)")]
public string RequestUrl {
get {
return this._RequestUrl;
}
set {
if ((this._RequestUrl != value)) {
this.OnPropertyChanging("RequestUrl");
this._RequestUrl = value;
this.OnPropertyChanged("RequestUrl");
}
}
}
[Column(Storage="_ExceptionType", DBType="NVarChar(256)")]
public string ExceptionType {
get {
return this._ExceptionType;
}
set {
if ((this._ExceptionType != value)) {
this.OnPropertyChanging("ExceptionType");
this._ExceptionType = value;
this.OnPropertyChanged("ExceptionType");
}
}
}
[Column(Storage="_Details", DBType="NText", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public string Details {
get {
return this._Details;
}
set {
if ((this._Details != value)) {
this.OnPropertyChanging("Details");
this._Details = value;
this.OnPropertyChanged("Details");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="Page")]
public partial class Page : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private int _ID;
private string _Title;
private System.Guid _UserId;
private System.DateTime _CreatedDate;
private System.DateTime _LastUpdate;
private int _VersionNo;
private EntityRef<AspnetUser> _AspnetUser;
public Page() {
this._AspnetUser = default(EntityRef<AspnetUser>);
}
[Column(Storage="_ID", DBType="Int NOT NULL IDENTITY", Id=true, AutoGen=true)]
public int ID {
get {
return this._ID;
}
set {
if ((this._ID != value)) {
this.OnPropertyChanging("ID");
this._ID = value;
this.OnPropertyChanged("ID");
}
}
}
[Column(Storage="_Title", DBType="NVarChar(255) NOT NULL")]
public string Title {
get {
return this._Title;
}
set {
if ((this._Title != value)) {
this.OnPropertyChanging("Title");
this._Title = value;
this.OnPropertyChanged("Title");
}
}
}
[Column(Storage="_UserId", DBType="UniqueIdentifier NOT NULL")]
public System.Guid UserId {
get {
return this._UserId;
}
set {
if ((this._UserId != value)) {
this.OnPropertyChanging("UserId");
this._UserId = value;
this.OnPropertyChanged("UserId");
}
}
}
[Column(Storage="_CreatedDate", DBType="DateTime NOT NULL")]
public System.DateTime CreatedDate {
get {
return this._CreatedDate;
}
set {
if ((this._CreatedDate != value)) {
this.OnPropertyChanging("CreatedDate");
this._CreatedDate = value;
this.OnPropertyChanged("CreatedDate");
}
}
}
[Column(Storage="_LastUpdate", DBType="DateTime NOT NULL")]
public System.DateTime LastUpdate {
get {
return this._LastUpdate;
}
set {
if ((this._LastUpdate != value)) {
this.OnPropertyChanging("LastUpdate");
this._LastUpdate = value;
this.OnPropertyChanged("LastUpdate");
}
}
}
[Column(Storage="_VersionNo", DBType="Int NOT NULL")]
public int VersionNo {
get {
return this._VersionNo;
}
set {
if ((this._VersionNo != value)) {
this.OnPropertyChanging("VersionNo");
this._VersionNo = value;
this.OnPropertyChanged("VersionNo");
}
}
}
[Association(Name="FK_Page_aspnet_Users", Storage="_AspnetUser", ThisKey="UserId", IsParent=true)]
public AspnetUser AspnetUser {
get {
return this._AspnetUser.Entity;
}
set {
AspnetUser v = this._AspnetUser.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetUser");
if ((v != null)) {
this._AspnetUser.Entity = null;
v.Pages.Remove(this);
}
this._AspnetUser.Entity = value;
if ((value != null)) {
value.Pages.Add(this);
}
this.OnPropertyChanged("AspnetUser");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="Widget")]
public partial class Widget : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private int _ID;
private string _Name;
private string _Url;
private string _Description;
private System.DateTime _CreatedDate;
private System.DateTime _LastUpdate;
private int _VersionNo;
private bool _IsDefault;
private string _DefaultState;
private string _Icon;
private EntitySet<WidgetInstance> _WidgetInstances;
public Widget() {
this._WidgetInstances = new EntitySet<WidgetInstance>(new Notification<WidgetInstance>(this.attach_WidgetInstances), new Notification<WidgetInstance>(this.detach_WidgetInstances));
}
[Column(Storage="_ID", DBType="Int NOT NULL IDENTITY", Id=true, AutoGen=true)]
public int ID {
get {
return this._ID;
}
set {
if ((this._ID != value)) {
this.OnPropertyChanging("ID");
this._ID = value;
this.OnPropertyChanged("ID");
}
}
}
[Column(Storage="_Name", DBType="NVarChar(255) NOT NULL")]
public string Name {
get {
return this._Name;
}
set {
if ((this._Name != value)) {
this.OnPropertyChanging("Name");
this._Name = value;
this.OnPropertyChanged("Name");
}
}
}
[Column(Storage="_Url", DBType="NVarChar(255) NOT NULL")]
public string Url {
get {
return this._Url;
}
set {
if ((this._Url != value)) {
this.OnPropertyChanging("Url");
this._Url = value;
this.OnPropertyChanged("Url");
}
}
}
[Column(Storage="_Description", DBType="NVarChar(255) NOT NULL")]
public string Description {
get {
return this._Description;
}
set {
if ((this._Description != value)) {
this.OnPropertyChanging("Description");
this._Description = value;
this.OnPropertyChanged("Description");
}
}
}
[Column(Storage="_CreatedDate", DBType="DateTime NOT NULL")]
public System.DateTime CreatedDate {
get {
return this._CreatedDate;
}
set {
if ((this._CreatedDate != value)) {
this.OnPropertyChanging("CreatedDate");
this._CreatedDate = value;
this.OnPropertyChanged("CreatedDate");
}
}
}
[Column(Storage="_LastUpdate", DBType="DateTime NOT NULL")]
public System.DateTime LastUpdate {
get {
return this._LastUpdate;
}
set {
if ((this._LastUpdate != value)) {
this.OnPropertyChanging("LastUpdate");
this._LastUpdate = value;
this.OnPropertyChanged("LastUpdate");
}
}
}
[Column(Storage="_VersionNo", DBType="Int NOT NULL")]
public int VersionNo {
get {
return this._VersionNo;
}
set {
if ((this._VersionNo != value)) {
this.OnPropertyChanging("VersionNo");
this._VersionNo = value;
this.OnPropertyChanged("VersionNo");
}
}
}
[Column(Storage="_IsDefault", DBType="Bit NOT NULL")]
public bool IsDefault {
get {
return this._IsDefault;
}
set {
if ((this._IsDefault != value)) {
this.OnPropertyChanging("IsDefault");
this._IsDefault = value;
this.OnPropertyChanged("IsDefault");
}
}
}
[Column(Storage="_DefaultState", DBType="NVarChar(2147483647)", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public string DefaultState {
get {
return this._DefaultState;
}
set {
if ((this._DefaultState != value)) {
this.OnPropertyChanging("DefaultState");
this._DefaultState = value;
this.OnPropertyChanged("DefaultState");
}
}
}
[Column(Storage="_Icon", DBType="VarChar(255) NOT NULL")]
public string Icon {
get {
return this._Icon;
}
set {
if ((this._Icon != value)) {
this.OnPropertyChanging("Icon");
this._Icon = value;
this.OnPropertyChanged("Icon");
}
}
}
[Association(Name="FK_WidgetInstance_Widget", Storage="_WidgetInstances", OtherKey="WidgetId")]
public EntitySet<WidgetInstance> WidgetInstances {
get {
return this._WidgetInstances;
}
set {
this._WidgetInstances.Assign(value);
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
private void attach_WidgetInstances(WidgetInstance entity) {
this.OnPropertyChanging(null);
entity.Widget = this;
this.OnPropertyChanged(null);
}
private void detach_WidgetInstances(WidgetInstance entity) {
this.OnPropertyChanging(null);
entity.Widget = null;
this.OnPropertyChanged(null);
}
}
[Table(Name="UserSetting")]
public partial class UserSetting : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private System.Guid _UserId;
private int _CurrentPageId;
private EntityRef<AspnetUser> _AspnetUser;
public UserSetting() {
this._AspnetUser = default(EntityRef<AspnetUser>);
}
[Column(Storage="_UserId", DBType="UniqueIdentifier NOT NULL", Id=true)]
public System.Guid UserId {
get {
return this._UserId;
}
set {
if ((this._UserId != value)) {
this.OnPropertyChanging("UserId");
this._UserId = value;
this.OnPropertyChanged("UserId");
}
}
}
[Column(Storage="_CurrentPageId", DBType="Int NOT NULL")]
public int CurrentPageId {
get {
return this._CurrentPageId;
}
set {
if ((this._CurrentPageId != value)) {
this.OnPropertyChanging("CurrentPageId");
this._CurrentPageId = value;
this.OnPropertyChanged("CurrentPageId");
}
}
}
[Association(Name="FK_UserSetting_aspnet_Users", Storage="_AspnetUser", ThisKey="UserId", Unique=true, IsParent=true)]
public AspnetUser AspnetUser {
get {
return this._AspnetUser.Entity;
}
set {
AspnetUser v = this._AspnetUser.Entity;
if ((v != value)) {
this.OnPropertyChanging("AspnetUser");
if ((v != null)) {
this._AspnetUser.Entity = null;
v.UserSetting = null;
}
this._AspnetUser.Entity = value;
if ((value != null)) {
value.UserSetting = this;
}
this.OnPropertyChanged("AspnetUser");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
[Table(Name="sysdiagrams")]
public partial class Sysdiagram : System.Data.DLinq.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged {
private string _Name;
private int _PrincipalId;
private int _DiagramId;
private System.Nullable<int> _Version;
private byte[] _Definition;
public Sysdiagram() {
}
[Column(Name="name", Storage="_Name", DBType="NVarChar(128) NOT NULL")]
public string Name {
get {
return this._Name;
}
set {
if ((this._Name != value)) {
this.OnPropertyChanging("Name");
this._Name = value;
this.OnPropertyChanged("Name");
}
}
}
[Column(Name="principal_id", Storage="_PrincipalId", DBType="Int NOT NULL")]
public int PrincipalId {
get {
return this._PrincipalId;
}
set {
if ((this._PrincipalId != value)) {
this.OnPropertyChanging("PrincipalId");
this._PrincipalId = value;
this.OnPropertyChanged("PrincipalId");
}
}
}
[Column(Name="diagram_id", Storage="_DiagramId", DBType="Int NOT NULL IDENTITY", Id=true, AutoGen=true)]
public int DiagramId {
get {
return this._DiagramId;
}
set {
if ((this._DiagramId != value)) {
this.OnPropertyChanging("DiagramId");
this._DiagramId = value;
this.OnPropertyChanged("DiagramId");
}
}
}
[Column(Name="version", Storage="_Version", DBType="Int")]
public System.Nullable<int> Version {
get {
return this._Version;
}
set {
if ((this._Version != value)) {
this.OnPropertyChanging("Version");
this._Version = value;
this.OnPropertyChanged("Version");
}
}
}
[Column(Name="definition", Storage="_Definition", DBType="VarBinary(2147483647)", UpdateCheck=System.Data.DLinq.UpdateCheck.Never)]
public byte[] Definition {
get {
return this._Definition;
}
set {
if ((this._Definition != value)) {
this.OnPropertyChanging("Definition");
this._Definition = value;
this.OnPropertyChanged("Definition");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanging;
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanging(string PropertyName) {
if ((this.PropertyChanging != null)) {
this.PropertyChanging(this, new PropertyChangedEventArgs(PropertyName));
}
}
protected virtual void OnPropertyChanged(string PropertyName) {
if ((this.PropertyChanged != null)) {
this.PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
}
}
}
}