/AeroSched/Models/AeroSchedDAL.designer.cs
C# | 1984 lines | 1776 code | 199 blank | 9 comment | 186 complexity | c6682d6e28d71730b8ad18c6d39679b4 MD5 | raw file
Large files files are truncated, but you can click here to view the full file
- #pragma warning disable 1591
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- // Runtime Version:2.0.50727.3603
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
-
- namespace AS
- {
- 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;
-
-
- [System.Data.Linq.Mapping.DatabaseAttribute(Name="FlyHigh")]
- public partial class DB : System.Data.Linq.DataContext
- {
-
- private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
-
- #region Extensibility Method Definitions
- partial void OnCreated();
- partial void InsertItineraryFlight(AS.Model.ItineraryFlight instance);
- partial void UpdateItineraryFlight(AS.Model.ItineraryFlight instance);
- partial void DeleteItineraryFlight(AS.Model.ItineraryFlight instance);
- partial void InsertItinerary(AS.Model.Itinerary instance);
- partial void UpdateItinerary(AS.Model.Itinerary instance);
- partial void DeleteItinerary(AS.Model.Itinerary instance);
- partial void InsertFlight(AS.Model.Flight instance);
- partial void UpdateFlight(AS.Model.Flight instance);
- partial void DeleteFlight(AS.Model.Flight instance);
- partial void InsertDestination(AS.Model.Destination instance);
- partial void UpdateDestination(AS.Model.Destination instance);
- partial void DeleteDestination(AS.Model.Destination instance);
- partial void Insertaspnet_User(AS.Model.aspnet_User instance);
- partial void Updateaspnet_User(AS.Model.aspnet_User instance);
- partial void Deleteaspnet_User(AS.Model.aspnet_User instance);
- partial void Insertaspnet_Membership(AS.Model.aspnet_Membership instance);
- partial void Updateaspnet_Membership(AS.Model.aspnet_Membership instance);
- partial void Deleteaspnet_Membership(AS.Model.aspnet_Membership instance);
- #endregion
-
- public DB() :
- base(global::System.Configuration.ConfigurationManager.ConnectionStrings["ApplicationServices"].ConnectionString, mappingSource)
- {
- OnCreated();
- }
-
- public DB(string connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public DB(System.Data.IDbConnection connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public DB(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public DB(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public System.Data.Linq.Table<AS.Model.ItineraryFlight> ItineraryFlights
- {
- get
- {
- return this.GetTable<AS.Model.ItineraryFlight>();
- }
- }
-
- public System.Data.Linq.Table<AS.Model.Itinerary> Itineraries
- {
- get
- {
- return this.GetTable<AS.Model.Itinerary>();
- }
- }
-
- public System.Data.Linq.Table<AS.Model.Flight> Flights
- {
- get
- {
- return this.GetTable<AS.Model.Flight>();
- }
- }
-
- public System.Data.Linq.Table<AS.Model.Destination> Destinations
- {
- get
- {
- return this.GetTable<AS.Model.Destination>();
- }
- }
-
- public System.Data.Linq.Table<AS.Model.aspnet_User> aspnet_Users
- {
- get
- {
- return this.GetTable<AS.Model.aspnet_User>();
- }
- }
-
- public System.Data.Linq.Table<AS.Model.aspnet_Membership> aspnet_Memberships
- {
- get
- {
- return this.GetTable<AS.Model.aspnet_Membership>();
- }
- }
- }
- }
- namespace AS.Model
- {
- using System.Data.Linq;
- using System.Data.Linq.Mapping;
- using System.ComponentModel;
- using System;
-
-
- [Table(Name="dbo.ItineraryFlights")]
- public partial class ItineraryFlight : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private int _ItineraryFlightId;
-
- private int _ItineraryId;
-
- private int _FlightId;
-
- private bool _IsReturn;
-
- private EntityRef<Itinerary> _Itinerary;
-
- private EntityRef<Flight> _Flight;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnItineraryFlightIdChanging(int value);
- partial void OnItineraryFlightIdChanged();
- partial void OnItineraryIdChanging(int value);
- partial void OnItineraryIdChanged();
- partial void OnFlightIdChanging(int value);
- partial void OnFlightIdChanged();
- partial void OnIsReturnChanging(bool value);
- partial void OnIsReturnChanged();
- #endregion
-
- public ItineraryFlight()
- {
- this._Itinerary = default(EntityRef<Itinerary>);
- this._Flight = default(EntityRef<Flight>);
- OnCreated();
- }
-
- [Column(Storage="_ItineraryFlightId", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public int ItineraryFlightId
- {
- get
- {
- return this._ItineraryFlightId;
- }
- set
- {
- if ((this._ItineraryFlightId != value))
- {
- this.OnItineraryFlightIdChanging(value);
- this.SendPropertyChanging();
- this._ItineraryFlightId = value;
- this.SendPropertyChanged("ItineraryFlightId");
- this.OnItineraryFlightIdChanged();
- }
- }
- }
-
- [Column(Storage="_ItineraryId", DbType="Int NOT NULL")]
- public int ItineraryId
- {
- get
- {
- return this._ItineraryId;
- }
- set
- {
- if ((this._ItineraryId != value))
- {
- if (this._Itinerary.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnItineraryIdChanging(value);
- this.SendPropertyChanging();
- this._ItineraryId = value;
- this.SendPropertyChanged("ItineraryId");
- this.OnItineraryIdChanged();
- }
- }
- }
-
- [Column(Storage="_FlightId", DbType="Int NOT NULL")]
- public int FlightId
- {
- get
- {
- return this._FlightId;
- }
- set
- {
- if ((this._FlightId != value))
- {
- if (this._Flight.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnFlightIdChanging(value);
- this.SendPropertyChanging();
- this._FlightId = value;
- this.SendPropertyChanged("FlightId");
- this.OnFlightIdChanged();
- }
- }
- }
-
- [Column(Storage="_IsReturn", DbType="Bit NOT NULL")]
- public bool IsReturn
- {
- get
- {
- return this._IsReturn;
- }
- set
- {
- if ((this._IsReturn != value))
- {
- this.OnIsReturnChanging(value);
- this.SendPropertyChanging();
- this._IsReturn = value;
- this.SendPropertyChanged("IsReturn");
- this.OnIsReturnChanged();
- }
- }
- }
-
- [Association(Name="Itinerary_ItineraryFlight", Storage="_Itinerary", ThisKey="ItineraryId", OtherKey="ItineraryId", IsForeignKey=true, DeleteOnNull=true, DeleteRule="CASCADE")]
- public Itinerary Itinerary
- {
- get
- {
- return this._Itinerary.Entity;
- }
- set
- {
- Itinerary previousValue = this._Itinerary.Entity;
- if (((previousValue != value)
- || (this._Itinerary.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Itinerary.Entity = null;
- previousValue.ItineraryFlights.Remove(this);
- }
- this._Itinerary.Entity = value;
- if ((value != null))
- {
- value.ItineraryFlights.Add(this);
- this._ItineraryId = value.ItineraryId;
- }
- else
- {
- this._ItineraryId = default(int);
- }
- this.SendPropertyChanged("Itinerary");
- }
- }
- }
-
- [Association(Name="Flight_ItineraryFlight", Storage="_Flight", ThisKey="FlightId", OtherKey="FlightId", IsForeignKey=true, DeleteOnNull=true, DeleteRule="CASCADE")]
- public Flight Flight
- {
- get
- {
- return this._Flight.Entity;
- }
- set
- {
- Flight previousValue = this._Flight.Entity;
- if (((previousValue != value)
- || (this._Flight.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Flight.Entity = null;
- previousValue.ItineraryFlights.Remove(this);
- }
- this._Flight.Entity = value;
- if ((value != null))
- {
- value.ItineraryFlights.Add(this);
- this._FlightId = value.FlightId;
- }
- else
- {
- this._FlightId = default(int);
- }
- this.SendPropertyChanged("Flight");
- }
- }
- }
-
- 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));
- }
- }
- }
-
- [Table(Name="dbo.Itineraries")]
- public partial class Itinerary : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private int _ItineraryId;
-
- private int _JourneyType;
-
- private System.DateTime _BookingDate;
-
- private System.Guid _UserId;
-
- private EntitySet<ItineraryFlight> _ItineraryFlights;
-
- private EntityRef<aspnet_User> _aspnet_User;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnItineraryIdChanging(int value);
- partial void OnItineraryIdChanged();
- partial void OnJourneyTypeChanging(int value);
- partial void OnJourneyTypeChanged();
- partial void OnBookingDateChanging(System.DateTime value);
- partial void OnBookingDateChanged();
- partial void OnUserIdChanging(System.Guid value);
- partial void OnUserIdChanged();
- #endregion
-
- public Itinerary()
- {
- this._ItineraryFlights = new EntitySet<ItineraryFlight>(new Action<ItineraryFlight>(this.attach_ItineraryFlights), new Action<ItineraryFlight>(this.detach_ItineraryFlights));
- this._aspnet_User = default(EntityRef<aspnet_User>);
- OnCreated();
- }
-
- [Column(Storage="_ItineraryId", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public int ItineraryId
- {
- get
- {
- return this._ItineraryId;
- }
- set
- {
- if ((this._ItineraryId != value))
- {
- this.OnItineraryIdChanging(value);
- this.SendPropertyChanging();
- this._ItineraryId = value;
- this.SendPropertyChanged("ItineraryId");
- this.OnItineraryIdChanged();
- }
- }
- }
-
- [Column(Storage="_JourneyType", DbType="Int NOT NULL")]
- public int JourneyType
- {
- get
- {
- return this._JourneyType;
- }
- set
- {
- if ((this._JourneyType != value))
- {
- this.OnJourneyTypeChanging(value);
- this.SendPropertyChanging();
- this._JourneyType = value;
- this.SendPropertyChanged("JourneyType");
- this.OnJourneyTypeChanged();
- }
- }
- }
-
- [Column(Storage="_BookingDate", DbType="DateTime NOT NULL")]
- public System.DateTime BookingDate
- {
- get
- {
- return this._BookingDate;
- }
- set
- {
- if ((this._BookingDate != value))
- {
- this.OnBookingDateChanging(value);
- this.SendPropertyChanging();
- this._BookingDate = value;
- this.SendPropertyChanged("BookingDate");
- this.OnBookingDateChanged();
- }
- }
- }
-
- [Column(Storage="_UserId", DbType="UniqueIdentifier NOT NULL")]
- 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();
- }
- }
- }
-
- [Association(Name="Itinerary_ItineraryFlight", Storage="_ItineraryFlights", ThisKey="ItineraryId", OtherKey="ItineraryId")]
- public EntitySet<ItineraryFlight> ItineraryFlights
- {
- get
- {
- return this._ItineraryFlights;
- }
- set
- {
- this._ItineraryFlights.Assign(value);
- }
- }
-
- [Association(Name="aspnet_User_Itinerary", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true, DeleteOnNull=true, DeleteRule="CASCADE")]
- 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.Itineraries.Remove(this);
- }
- this._aspnet_User.Entity = value;
- if ((value != null))
- {
- value.Itineraries.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));
- }
- }
-
- private void attach_ItineraryFlights(ItineraryFlight entity)
- {
- this.SendPropertyChanging();
- entity.Itinerary = this;
- }
-
- private void detach_ItineraryFlights(ItineraryFlight entity)
- {
- this.SendPropertyChanging();
- entity.Itinerary = null;
- }
- }
-
- [Table(Name="dbo.Flights")]
- public partial class Flight : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private int _FlightId;
-
- private string _FlightNumber;
-
- private int _Capacity;
-
- private int _SeatsOpen;
-
- private System.DateTime _DeptDateTime;
-
- private System.DateTime _ArrvDateTime;
-
- private decimal _Price;
-
- private int _Origin;
-
- private int _Destination;
-
- private EntitySet<ItineraryFlight> _ItineraryFlights;
-
- private EntityRef<Destination> _Destination1;
-
- private EntityRef<Destination> _Destination2;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnFlightIdChanging(int value);
- partial void OnFlightIdChanged();
- partial void OnFlightNumberChanging(string value);
- partial void OnFlightNumberChanged();
- partial void OnCapacityChanging(int value);
- partial void OnCapacityChanged();
- partial void OnSeatsOpenChanging(int value);
- partial void OnSeatsOpenChanged();
- partial void OnDeptDateTimeChanging(System.DateTime value);
- partial void OnDeptDateTimeChanged();
- partial void OnArrvDateTimeChanging(System.DateTime value);
- partial void OnArrvDateTimeChanged();
- partial void OnPriceChanging(decimal value);
- partial void OnPriceChanged();
- partial void OnOriginChanging(int value);
- partial void OnOriginChanged();
- partial void OnDestinationChanging(int value);
- partial void OnDestinationChanged();
- #endregion
-
- public Flight()
- {
- this._ItineraryFlights = new EntitySet<ItineraryFlight>(new Action<ItineraryFlight>(this.attach_ItineraryFlights), new Action<ItineraryFlight>(this.detach_ItineraryFlights));
- this._Destination1 = default(EntityRef<Destination>);
- this._Destination2 = default(EntityRef<Destination>);
- OnCreated();
- }
-
- [Column(Storage="_FlightId", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public int FlightId
- {
- get
- {
- return this._FlightId;
- }
- set
- {
- if ((this._FlightId != value))
- {
- this.OnFlightIdChanging(value);
- this.SendPropertyChanging();
- this._FlightId = value;
- this.SendPropertyChanged("FlightId");
- this.OnFlightIdChanged();
- }
- }
- }
-
- [Column(Storage="_FlightNumber", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
- public string FlightNumber
- {
- get
- {
- return this._FlightNumber;
- }
- set
- {
- if ((this._FlightNumber != value))
- {
- this.OnFlightNumberChanging(value);
- this.SendPropertyChanging();
- this._FlightNumber = value;
- this.SendPropertyChanged("FlightNumber");
- this.OnFlightNumberChanged();
- }
- }
- }
-
- [Column(Storage="_Capacity", DbType="Int NOT NULL")]
- public int Capacity
- {
- get
- {
- return this._Capacity;
- }
- set
- {
- if ((this._Capacity != value))
- {
- this.OnCapacityChanging(value);
- this.SendPropertyChanging();
- this._Capacity = value;
- this.SendPropertyChanged("Capacity");
- this.OnCapacityChanged();
- }
- }
- }
-
- [Column(Storage="_SeatsOpen", DbType="Int NOT NULL")]
- public int SeatsOpen
- {
- get
- {
- return this._SeatsOpen;
- }
- set
- {
- if ((this._SeatsOpen != value))
- {
- this.OnSeatsOpenChanging(value);
- this.SendPropertyChanging();
- this._SeatsOpen = value;
- this.SendPropertyChanged("SeatsOpen");
- this.OnSeatsOpenChanged();
- }
- }
- }
-
- [Column(Storage="_DeptDateTime", DbType="DateTime NOT NULL")]
- public System.DateTime DeptDateTime
- {
- get
- {
- return this._DeptDateTime;
- }
- set
- {
- if ((this._DeptDateTime != value))
- {
- this.OnDeptDateTimeChanging(value);
- this.SendPropertyChanging();
- this._DeptDateTime = value;
- this.SendPropertyChanged("DeptDateTime");
- this.OnDeptDateTimeChanged();
- }
- }
- }
-
- [Column(Storage="_ArrvDateTime", DbType="DateTime NOT NULL")]
- public System.DateTime ArrvDateTime
- {
- get
- {
- return this._ArrvDateTime;
- }
- set
- {
- if ((this._ArrvDateTime != value))
- {
- this.OnArrvDateTimeChanging(value);
- this.SendPropertyChanging();
- this._ArrvDateTime = value;
- this.SendPropertyChanged("ArrvDateTime");
- this.OnArrvDateTimeChanged();
- }
- }
- }
-
- [Column(Storage="_Price", DbType="Money NOT NULL")]
- public decimal Price
- {
- get
- {
- return this._Price;
- }
- set
- {
- if ((this._Price != value))
- {
- this.OnPriceChanging(value);
- this.SendPropertyChanging();
- this._Price = value;
- this.SendPropertyChanged("Price");
- this.OnPriceChanged();
- }
- }
- }
-
- [Column(Storage="_Origin", DbType="Int NOT NULL")]
- public int Origin
- {
- get
- {
- return this._Origin;
- }
- set
- {
- if ((this._Origin != value))
- {
- if (this._Destination1.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnOriginChanging(value);
- this.SendPropertyChanging();
- this._Origin = value;
- this.SendPropertyChanged("Origin");
- this.OnOriginChanged();
- }
- }
- }
-
- [Column(Storage="_Destination", DbType="Int NOT NULL")]
- public int Destination
- {
- get
- {
- return this._Destination;
- }
- set
- {
- if ((this._Destination != value))
- {
- if (this._Destination2.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnDestinationChanging(value);
- this.SendPropertyChanging();
- this._Destination = value;
- this.SendPropertyChanged("Destination");
- this.OnDestinationChanged();
- }
- }
- }
-
- [Association(Name="Flight_ItineraryFlight", Storage="_ItineraryFlights", ThisKey="FlightId", OtherKey="FlightId")]
- public EntitySet<ItineraryFlight> ItineraryFlights
- {
- get
- {
- return this._ItineraryFlights;
- }
- set
- {
- this._ItineraryFlights.Assign(value);
- }
- }
-
- [Association(Name="Destination_Flight", Storage="_Destination1", ThisKey="Origin", OtherKey="DestinationId", IsForeignKey=true)]
- public Destination Destination1
- {
- get
- {
- return this._Destination1.Entity;
- }
- set
- {
- Destination previousValue = this._Destination1.Entity;
- if (((previousValue != value)
- || (this._Destination1.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Destination1.Entity = null;
- previousValue.Flights.Remove(this);
- }
- this._Destination1.Entity = value;
- if ((value != null))
- {
- value.Flights.Add(this);
- this._Origin = value.DestinationId;
- }
- else
- {
- this._Origin = default(int);
- }
- this.SendPropertyChanged("Destination1");
- }
- }
- }
-
- [Association(Name="Destination_Flight1", Storage="_Destination2", ThisKey="Destination", OtherKey="DestinationId", IsForeignKey=true)]
- public Destination Destination2
- {
- get
- {
- return this._Destination2.Entity;
- }
- set
- {
- Destination previousValue = this._Destination2.Entity;
- if (((previousValue != value)
- || (this._Destination2.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Destination2.Entity = null;
- previousValue.Flights1.Remove(this);
- }
- this._Destination2.Entity = value;
- if ((value != null))
- {
- value.Flights1.Add(this);
- this._Destination = value.DestinationId;
- }
- else
- {
- this._Destination = default(int);
- }
- this.SendPropertyChanged("Destination2");
- }
- }
- }
-
- 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_ItineraryFlights(ItineraryFlight entity)
- {
- this.SendPropertyChanging();
- entity.Flight = this;
- }
-
- private void detach_ItineraryFlights(ItineraryFlight entity)
- {
- this.SendPropertyChanging();
- entity.Flight = null;
- }
- }
-
- [Table(Name="dbo.Destinations")]
- public partial class Destination : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private int _DestinationId;
-
- private string _DestinationCity;
-
- private string _DestinationCountry;
-
- private string _DestinationDesc;
-
- private string _DestinationCode;
-
- private EntitySet<Flight> _Flights;
-
- private EntitySet<Flight> _Flights1;
-
- #region Extensibility Method Definitions
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnDestinationIdChanging(int value);
- partial void OnDestinationIdChanged();
- partial void OnDestinationCityChanging(string value);
- partial void OnDestinationCityChanged();
- partial void OnDestinationCountryChanging(string value);
- partial void OnDestinationCountryChanged();
- partial void OnDestinationDescChanging(string value);
- partial void OnDestinationDescChanged();
- partial void OnDestinationCodeChanging(string value);
- partial void OnDestinationCodeChanged();
- #endregion
-
- public Destination()
- {
- this._Flights = new EntitySet<Flight>(new Action<Flight>(this.attach_Flights), new Action<Flight>(this.detach_Flights));
- this._Flights1 = new EntitySet<Flight>(new Action<Flight>(this.attach_Flights1), new Action<Flight>(this.detach_Flights1));
- OnCreated();
- }
-
- [Column(Storage="_DestinationId", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
- public int DestinationId
- {
- get
- {
- return this._DestinationId;
- }
- set
- {
- if ((this._DestinationId != value))
- {
- this.OnDestinationIdChanging(value);
- this.SendPropertyChanging();
- this._DestinationId = value;
- this.SendPropertyChanged("DestinationId");
- this.OnDestinationIdChanged();
- }
- }
- }
-
- [Column(Storage="_DestinationCity", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
- public string DestinationCity
- {
- get
- {
- return this._DestinationCity;
- }
- set
- {
- if ((this._DestinationCity != value))
- {
- this.OnDestinationCityChanging(value);
- this.SendPropertyChanging();
- this._DestinationCity = value;
- this.SendPropertyChanged("DestinationCity");
- this.OnDestinationCityChanged();
- }
- }
- }
-
- [Column(Storage="_DestinationCountry", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
- public string DestinationCountry
- {
- get
- {
- return this._DestinationCountry;
- }
- set
- {
- if ((this._DestinationCountry != value))
- {
- this.OnDestinationCountryChanging(value);
- this.SendPropertyChanging();
- this._DestinationCountry = value;
- this.SendPropertyChanged("DestinationCountry");
- this.OnDestinationCountryChanged();
- }
- }
- }
-
- [Column(Storage="_DestinationDesc", DbType="NVarChar(MAX) NOT NULL", CanBeNull=false)]
- public string DestinationDesc
- {
- get
- {
- return this._DestinationDesc;
- }
- set
- {
- if ((this._DestinationDesc != value))
- {
- this.OnDestinationDescChanging(value);
- this.SendPropertyChanging();
- this._DestinationDesc = value;
- this.SendPropertyChanged("DestinationDesc");
- this.OnDestinationDescChanged();
- }
- }
- }
-
- [Column(Storage="_DestinationCode", DbType="NChar(10) NOT NULL", CanBeNull=false)]
- public string DestinationCode
- {
- get
- {
- return this._DestinationCode;
- }
- set
- {
- if ((this._DestinationCode != value))
- {
- this.OnDestinationCodeChanging(value);
- this.SendPropertyChanging();
- this._DestinationCode = value;
- this.SendPropertyChanged("DestinationCode");
- this.OnDestinationCodeChanged();
- }
- }
- }
-
- [Association(Name="Destination_Flight", Storage="_Flights", ThisKey="DestinationId", OtherKey="Origin")]
- public EntitySet<Flight> Flights
- {
- get
- {
- return this._Flights;
- }
- set
- {
- this._Flights.Assign(value);
- }
- }
-
- [Association(Name="Destination_Flight1", Storage="_Flights1", ThisKey="DestinationId", OtherKey="Destination")]
- public EntitySet<Flight> Flights1
- {
- get
- {
- return this._Flights1;
- }
- set
- {
- this._Flights1.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_Flights(Flight entity)
- {
- this.SendPropertyChanging();
- entity.Destination1 = this;
- }
-
- private void detach_Flights(Flight entity)
- {
- this.SendPropertyChanging();
- entity.Destination1 = null;
- }
-
- private void attach_Flights1(Flight entity)
- {
- this.SendPropertyChanging();
- entity.Destination2 = this;
- }
-
- private void detach_Flights1(Flight entity)
- {
- this.SendPropertyChanging();
- entity.Destination2 = null;
- }
- }
-
- [Table(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 EntitySet<Itinerary> _Itineraries;
-
- private EntityRef<aspnet_Membership> _aspnet_Membership;
-
- #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._Itineraries = new EntitySet<Itinerary>(new Action<Itinerary>(this.attach_Itineraries), new Action<Itinerary>(this.detach_Itineraries));
- this._aspnet_Membership = default(EntityRef<aspnet_Membership>);
- OnCreated();
- }
-
- [Column(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")]
- 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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Association(Name="aspnet_User_Itinerary", Storage="_Itineraries", ThisKey="UserId", OtherKey="UserId")]
- public EntitySet<Itinerary> Itineraries
- {
- get
- {
- return this._Itineraries;
- }
- set
- {
- this._Itineraries.Assign(value);
- }
- }
-
- [Association(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");
- }
- }
- }
-
- 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_Itineraries(Itinerary entity)
- {
- this.SendPropertyChanging();
- entity.aspnet_User = this;
- }
-
- private void detach_Itineraries(Itinerary entity)
- {
- this.SendPropertyChanging();
- entity.aspnet_User = null;
- }
- }
-
- [Table(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_User> _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_User = default(EntityRef<aspnet_User>);
- OnCreated();
- }
-
- [Column(Storage="_ApplicationId", DbType="UniqueIdentifier NOT NULL")]
- 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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Column(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();
- }
- }
- }
-
- [Association(Name="aspnet_User_aspnet_Membership", Storage="_aspnet_User", ThisKey="UserId", OtherKey="UserId", IsForeignK…
Large files files are truncated, but you can click here to view the full file