#pragma warning disable 1591 //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.Linq; using System.Data.Linq.Mapping; using System.Linq; using System.Linq.Expressions; using System.Reflection; [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="Classifieds")] public partial class EMUPDataContext : System.Data.Linq.DataContext { private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); #region Extensibility Method Definitions partial void OnCreated(); partial void InsertEvent_Category_Det(Event_Category_Det instance); partial void UpdateEvent_Category_Det(Event_Category_Det instance); partial void DeleteEvent_Category_Det(Event_Category_Det instance); partial void InsertEvent_Guest(Event_Guest instance); partial void UpdateEvent_Guest(Event_Guest instance); partial void DeleteEvent_Guest(Event_Guest instance); partial void InsertEvent_Invitee(Event_Invitee instance); partial void UpdateEvent_Invitee(Event_Invitee instance); partial void DeleteEvent_Invitee(Event_Invitee instance); partial void InsertEvent_Partner(Event_Partner instance); partial void UpdateEvent_Partner(Event_Partner instance); partial void DeleteEvent_Partner(Event_Partner instance); partial void InsertEvent_Schedule(Event_Schedule instance); partial void UpdateEvent_Schedule(Event_Schedule instance); partial void DeleteEvent_Schedule(Event_Schedule instance); partial void InsertEvent_Sponsor_Create(Event_Sponsor_Create instance); partial void UpdateEvent_Sponsor_Create(Event_Sponsor_Create instance); partial void DeleteEvent_Sponsor_Create(Event_Sponsor_Create instance); partial void InsertEvent_Sponsor_Det(Event_Sponsor_Det instance); partial void UpdateEvent_Sponsor_Det(Event_Sponsor_Det instance); partial void DeleteEvent_Sponsor_Det(Event_Sponsor_Det instance); partial void InsertEvent_Supplier_Service_List(Event_Supplier_Service_List instance); partial void UpdateEvent_Supplier_Service_List(Event_Supplier_Service_List instance); partial void DeleteEvent_Supplier_Service_List(Event_Supplier_Service_List instance); partial void InsertEventManagementServiceList(EventManagementServiceList instance); partial void UpdateEventManagementServiceList(EventManagementServiceList instance); partial void DeleteEventManagementServiceList(EventManagementServiceList instance); partial void InsertCityList(CityList instance); partial void UpdateCityList(CityList instance); partial void DeleteCityList(CityList instance); partial void InsertCountryList(CountryList instance); partial void UpdateCountryList(CountryList instance); partial void DeleteCountryList(CountryList instance); partial void InsertCategoryDet(CategoryDet instance); partial void UpdateCategoryDet(CategoryDet instance); partial void DeleteCategoryDet(CategoryDet instance); partial void InsertSubCategoryDet(SubCategoryDet instance); partial void UpdateSubCategoryDet(SubCategoryDet instance); partial void DeleteSubCategoryDet(SubCategoryDet instance); partial void InsertUserAdsImagesDet(UserAdsImagesDet instance); partial void UpdateUserAdsImagesDet(UserAdsImagesDet instance); partial void DeleteUserAdsImagesDet(UserAdsImagesDet instance); partial void InsertStatesList(StatesList instance); partial void UpdateStatesList(StatesList instance); partial void DeleteStatesList(StatesList instance); partial void InsertAdResponseDet(AdResponseDet instance); partial void UpdateAdResponseDet(AdResponseDet instance); partial void DeleteAdResponseDet(AdResponseDet instance); partial void InsertSignupSubcategoryDet(SignupSubcategoryDet instance); partial void UpdateSignupSubcategoryDet(SignupSubcategoryDet instance); partial void DeleteSignupSubcategoryDet(SignupSubcategoryDet instance); partial void InsertEvent_Venue_Manager(Event_Venue_Manager instance); partial void UpdateEvent_Venue_Manager(Event_Venue_Manager instance); partial void DeleteEvent_Venue_Manager(Event_Venue_Manager instance); partial void InsertEvent_Supplier_Network(Event_Supplier_Network instance); partial void UpdateEvent_Supplier_Network(Event_Supplier_Network instance); partial void DeleteEvent_Supplier_Network(Event_Supplier_Network instance); partial void InsertUserAdServiceDet(UserAdServiceDet instance); partial void UpdateUserAdServiceDet(UserAdServiceDet instance); partial void DeleteUserAdServiceDet(UserAdServiceDet instance); partial void InsertServiceDet(ServiceDet instance); partial void UpdateServiceDet(ServiceDet instance); partial void DeleteServiceDet(ServiceDet instance); partial void InsertEvent_Oraganization_Create(Event_Oraganization_Create instance); partial void UpdateEvent_Oraganization_Create(Event_Oraganization_Create instance); partial void DeleteEvent_Oraganization_Create(Event_Oraganization_Create instance); partial void InsertEvent_Organizer(Event_Organizer instance); partial void UpdateEvent_Organizer(Event_Organizer instance); partial void DeleteEvent_Organizer(Event_Organizer instance); partial void InsertEvent_Ticket_Mgmt(Event_Ticket_Mgmt instance); partial void UpdateEvent_Ticket_Mgmt(Event_Ticket_Mgmt instance); partial void DeleteEvent_Ticket_Mgmt(Event_Ticket_Mgmt instance); partial void InsertEvent_Ticket_Receipt_Det(Event_Ticket_Receipt_Det instance); partial void UpdateEvent_Ticket_Receipt_Det(Event_Ticket_Receipt_Det instance); partial void DeleteEvent_Ticket_Receipt_Det(Event_Ticket_Receipt_Det instance); partial void InsertEvent_Ticket_Buy_Detail(Event_Ticket_Buy_Detail instance); partial void UpdateEvent_Ticket_Buy_Detail(Event_Ticket_Buy_Detail instance); partial void DeleteEvent_Ticket_Buy_Detail(Event_Ticket_Buy_Detail instance); partial void InsertUserAdsDet(UserAdsDet instance); partial void UpdateUserAdsDet(UserAdsDet instance); partial void DeleteUserAdsDet(UserAdsDet instance); partial void InsertEvent_Ticket_Buyer_Det(Event_Ticket_Buyer_Det instance); partial void UpdateEvent_Ticket_Buyer_Det(Event_Ticket_Buyer_Det instance); partial void DeleteEvent_Ticket_Buyer_Det(Event_Ticket_Buyer_Det instance); partial void InsertDummy_Event_Pay_Id(Dummy_Event_Pay_Id instance); partial void UpdateDummy_Event_Pay_Id(Dummy_Event_Pay_Id instance); partial void DeleteDummy_Event_Pay_Id(Dummy_Event_Pay_Id instance); partial void InsertDummy_Event_Ticket_Available(Dummy_Event_Ticket_Available instance); partial void UpdateDummy_Event_Ticket_Available(Dummy_Event_Ticket_Available instance); partial void DeleteDummy_Event_Ticket_Available(Dummy_Event_Ticket_Available instance); partial void InsertDummy_Event_Ticket_Buyer_Det(Dummy_Event_Ticket_Buyer_Det instance); partial void UpdateDummy_Event_Ticket_Buyer_Det(Dummy_Event_Ticket_Buyer_Det instance); partial void DeleteDummy_Event_Ticket_Buyer_Det(Dummy_Event_Ticket_Buyer_Det instance); partial void InsertDummy_Event_Ticket_Buy_Detail(Dummy_Event_Ticket_Buy_Detail instance); partial void UpdateDummy_Event_Ticket_Buy_Detail(Dummy_Event_Ticket_Buy_Detail instance); partial void DeleteDummy_Event_Ticket_Buy_Detail(Dummy_Event_Ticket_Buy_Detail instance); partial void InsertAd_Management(Ad_Management instance); partial void UpdateAd_Management(Ad_Management instance); partial void DeleteAd_Management(Ad_Management instance); partial void InsertEvent_Ticket_Buyer_Companian_Det(Event_Ticket_Buyer_Companian_Det instance); partial void UpdateEvent_Ticket_Buyer_Companian_Det(Event_Ticket_Buyer_Companian_Det instance); partial void DeleteEvent_Ticket_Buyer_Companian_Det(Event_Ticket_Buyer_Companian_Det instance); partial void InsertCelebrityDet(CelebrityDet instance); partial void UpdateCelebrityDet(CelebrityDet instance); partial void DeleteCelebrityDet(CelebrityDet instance); partial void InsertCelebrityPhoto(CelebrityPhoto instance); partial void UpdateCelebrityPhoto(CelebrityPhoto instance); partial void DeleteCelebrityPhoto(CelebrityPhoto instance); partial void InsertRaffle_Master(Raffle_Master instance); partial void UpdateRaffle_Master(Raffle_Master instance); partial void DeleteRaffle_Master(Raffle_Master instance); partial void InsertEvent_Create(Event_Create instance); partial void UpdateEvent_Create(Event_Create instance); partial void DeleteEvent_Create(Event_Create instance); partial void InsertUser_Ad_Review_Det(User_Ad_Review_Det instance); partial void UpdateUser_Ad_Review_Det(User_Ad_Review_Det instance); partial void DeleteUser_Ad_Review_Det(User_Ad_Review_Det instance); partial void InsertUser_Review_Det(User_Review_Det instance); partial void UpdateUser_Review_Det(User_Review_Det instance); partial void DeleteUser_Review_Det(User_Review_Det instance); partial void InsertBusinessEnquiryDet(BusinessEnquiryDet instance); partial void UpdateBusinessEnquiryDet(BusinessEnquiryDet instance); partial void DeleteBusinessEnquiryDet(BusinessEnquiryDet instance); partial void InsertUserDet(UserDet instance); partial void UpdateUserDet(UserDet instance); partial void DeleteUserDet(UserDet instance); #endregion public EMUPDataContext() : base(global::System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString, mappingSource) { OnCreated(); } public EMUPDataContext(string connection) : base(connection, mappingSource) { OnCreated(); } public EMUPDataContext(System.Data.IDbConnection connection) : base(connection, mappingSource) { OnCreated(); } public EMUPDataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public EMUPDataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public System.Data.Linq.Table Event_Category_Dets { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Guests { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Invitees { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Partners { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Schedules { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Sponsor_Creates { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Sponsor_Dets { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Supplier_Service_Lists { get { return this.GetTable(); } } public System.Data.Linq.Table EventManagementServiceLists { get { return this.GetTable(); } } public System.Data.Linq.Table CityLists { get { return this.GetTable(); } } public System.Data.Linq.Table CountryLists { get { return this.GetTable(); } } public System.Data.Linq.Table CategoryDets { get { return this.GetTable(); } } public System.Data.Linq.Table SubCategoryDets { get { return this.GetTable(); } } public System.Data.Linq.Table UserAdsImagesDets { get { return this.GetTable(); } } public System.Data.Linq.Table StatesLists { get { return this.GetTable(); } } public System.Data.Linq.Table AdResponseDets { get { return this.GetTable(); } } public System.Data.Linq.Table SignupSubcategoryDets { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Venue_Managers { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Supplier_Networks { get { return this.GetTable(); } } public System.Data.Linq.Table UserAdServiceDets { get { return this.GetTable(); } } public System.Data.Linq.Table ServiceDets { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Oraganization_Creates { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Organizers { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Ticket_Mgmts { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Ticket_Receipt_Dets { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Ticket_Buy_Details { get { return this.GetTable(); } } public System.Data.Linq.Table UserAdsDets { get { return this.GetTable(); } } public System.Data.Linq.Table cities { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Ticket_Buyer_Dets { get { return this.GetTable(); } } public System.Data.Linq.Table Dummy_Event_Pay_Ids { get { return this.GetTable(); } } public System.Data.Linq.Table Dummy_Event_Ticket_Availables { get { return this.GetTable(); } } public System.Data.Linq.Table Dummy_Event_Ticket_Buyer_Dets { get { return this.GetTable(); } } public System.Data.Linq.Table Dummy_Event_Ticket_Buy_Details { get { return this.GetTable(); } } public System.Data.Linq.Table Ad_Managements { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Ticket_Buyer_Companian_Dets { get { return this.GetTable(); } } public System.Data.Linq.Table CelebrityDets { get { return this.GetTable(); } } public System.Data.Linq.Table CelebrityPhotos { get { return this.GetTable(); } } public System.Data.Linq.Table Raffle_Masters { get { return this.GetTable(); } } public System.Data.Linq.Table Event_Creates { get { return this.GetTable(); } } public System.Data.Linq.Table User_Ad_Review_Dets { get { return this.GetTable(); } } public System.Data.Linq.Table User_Review_Dets { get { return this.GetTable(); } } public System.Data.Linq.Table BusinessEnquiryDets { get { return this.GetTable(); } } public System.Data.Linq.Table UserDets { get { return this.GetTable(); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Category_Det")] public partial class Event_Category_Det : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _EventCategoryId; private string _CategoryName; private EntitySet _Event_Creates; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEventCategoryIdChanging(decimal value); partial void OnEventCategoryIdChanged(); partial void OnCategoryNameChanging(string value); partial void OnCategoryNameChanged(); #endregion public Event_Category_Det() { this._Event_Creates = new EntitySet(new Action(this.attach_Event_Creates), new Action(this.detach_Event_Creates)); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventCategoryId", DbType="Decimal(4,0) NOT NULL", IsPrimaryKey=true)] public decimal EventCategoryId { get { return this._EventCategoryId; } set { if ((this._EventCategoryId != value)) { this.OnEventCategoryIdChanging(value); this.SendPropertyChanging(); this._EventCategoryId = value; this.SendPropertyChanged("EventCategoryId"); this.OnEventCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryName", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string CategoryName { get { return this._CategoryName; } set { if ((this._CategoryName != value)) { this.OnCategoryNameChanging(value); this.SendPropertyChanging(); this._CategoryName = value; this.SendPropertyChanged("CategoryName"); this.OnCategoryNameChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Category_Det_Event_Create", Storage="_Event_Creates", ThisKey="EventCategoryId", OtherKey="CategoryId")] public EntitySet Event_Creates { get { return this._Event_Creates; } set { this._Event_Creates.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_Event_Creates(Event_Create entity) { this.SendPropertyChanging(); entity.Event_Category_Det = this; } private void detach_Event_Creates(Event_Create entity) { this.SendPropertyChanging(); entity.Event_Category_Det = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Guests")] public partial class Event_Guest : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Event_Guest_Id; private System.Nullable _AdId; private string _FirstName; private string _LastName; private string _EmailId; private string _EmailIdOptional; private string _ContactNumber; private string _ContactNumber1; private string _AboutGuest; private string _StartTime; private string _EndTime; private System.Data.Linq.Binary _GuestPhoto; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEvent_Guest_IdChanging(decimal value); partial void OnEvent_Guest_IdChanged(); partial void OnAdIdChanging(System.Nullable value); partial void OnAdIdChanged(); partial void OnFirstNameChanging(string value); partial void OnFirstNameChanged(); partial void OnLastNameChanging(string value); partial void OnLastNameChanged(); partial void OnEmailIdChanging(string value); partial void OnEmailIdChanged(); partial void OnEmailIdOptionalChanging(string value); partial void OnEmailIdOptionalChanged(); partial void OnContactNumberChanging(string value); partial void OnContactNumberChanged(); partial void OnContactNumber1Changing(string value); partial void OnContactNumber1Changed(); partial void OnAboutGuestChanging(string value); partial void OnAboutGuestChanged(); partial void OnStartTimeChanging(string value); partial void OnStartTimeChanged(); partial void OnEndTimeChanging(string value); partial void OnEndTimeChanged(); partial void OnGuestPhotoChanging(System.Data.Linq.Binary value); partial void OnGuestPhotoChanged(); #endregion public Event_Guest() { this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Guest_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Event_Guest_Id { get { return this._Event_Guest_Id; } set { if ((this._Event_Guest_Id != value)) { this.OnEvent_Guest_IdChanging(value); this.SendPropertyChanging(); this._Event_Guest_Id = value; this.SendPropertyChanged("Event_Guest_Id"); this.OnEvent_Guest_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0)")] public System.Nullable AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FirstName", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string FirstName { get { return this._FirstName; } set { if ((this._FirstName != value)) { this.OnFirstNameChanging(value); this.SendPropertyChanging(); this._FirstName = value; this.SendPropertyChanged("FirstName"); this.OnFirstNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastName", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string LastName { get { return this._LastName; } set { if ((this._LastName != value)) { this.OnLastNameChanging(value); this.SendPropertyChanging(); this._LastName = value; this.SendPropertyChanged("LastName"); this.OnLastNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string EmailId { get { return this._EmailId; } set { if ((this._EmailId != value)) { this.OnEmailIdChanging(value); this.SendPropertyChanging(); this._EmailId = value; this.SendPropertyChanged("EmailId"); this.OnEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailIdOptional", DbType="VarChar(50)")] public string EmailIdOptional { get { return this._EmailIdOptional; } set { if ((this._EmailIdOptional != value)) { this.OnEmailIdOptionalChanging(value); this.SendPropertyChanging(); this._EmailIdOptional = value; this.SendPropertyChanged("EmailIdOptional"); this.OnEmailIdOptionalChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactNumber", DbType="VarChar(12)")] public string ContactNumber { get { return this._ContactNumber; } set { if ((this._ContactNumber != value)) { this.OnContactNumberChanging(value); this.SendPropertyChanging(); this._ContactNumber = value; this.SendPropertyChanged("ContactNumber"); this.OnContactNumberChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactNumber1", DbType="VarChar(12)")] public string ContactNumber1 { get { return this._ContactNumber1; } set { if ((this._ContactNumber1 != value)) { this.OnContactNumber1Changing(value); this.SendPropertyChanging(); this._ContactNumber1 = value; this.SendPropertyChanged("ContactNumber1"); this.OnContactNumber1Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AboutGuest", DbType="VarChar(2000)")] public string AboutGuest { get { return this._AboutGuest; } set { if ((this._AboutGuest != value)) { this.OnAboutGuestChanging(value); this.SendPropertyChanging(); this._AboutGuest = value; this.SendPropertyChanged("AboutGuest"); this.OnAboutGuestChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartTime", DbType="VarChar(5)")] public string StartTime { get { return this._StartTime; } set { if ((this._StartTime != value)) { this.OnStartTimeChanging(value); this.SendPropertyChanging(); this._StartTime = value; this.SendPropertyChanged("StartTime"); this.OnStartTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndTime", DbType="VarChar(5)")] public string EndTime { get { return this._EndTime; } set { if ((this._EndTime != value)) { this.OnEndTimeChanging(value); this.SendPropertyChanging(); this._EndTime = value; this.SendPropertyChanged("EndTime"); this.OnEndTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GuestPhoto", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary GuestPhoto { get { return this._GuestPhoto; } set { if ((this._GuestPhoto != value)) { this.OnGuestPhotoChanging(value); this.SendPropertyChanging(); this._GuestPhoto = value; this.SendPropertyChanged("GuestPhoto"); this.OnGuestPhotoChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Guest", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Guests.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Guests.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(Nullable); } this.SendPropertyChanged("UserAdsDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Invitees")] public partial class Event_Invitee : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Evnent_InvitedId; private string _FirstName; private string _LastName; private string _EmailId; private decimal _AdId; private string _ContactNumber; private string _CreatedBy; private System.DateTime _CreatedDate; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEvnent_InvitedIdChanging(decimal value); partial void OnEvnent_InvitedIdChanged(); partial void OnFirstNameChanging(string value); partial void OnFirstNameChanged(); partial void OnLastNameChanging(string value); partial void OnLastNameChanged(); partial void OnEmailIdChanging(string value); partial void OnEmailIdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnContactNumberChanging(string value); partial void OnContactNumberChanged(); partial void OnCreatedByChanging(string value); partial void OnCreatedByChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); #endregion public Event_Invitee() { this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Evnent_InvitedId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Evnent_InvitedId { get { return this._Evnent_InvitedId; } set { if ((this._Evnent_InvitedId != value)) { this.OnEvnent_InvitedIdChanging(value); this.SendPropertyChanging(); this._Evnent_InvitedId = value; this.SendPropertyChanged("Evnent_InvitedId"); this.OnEvnent_InvitedIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FirstName", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string FirstName { get { return this._FirstName; } set { if ((this._FirstName != value)) { this.OnFirstNameChanging(value); this.SendPropertyChanging(); this._FirstName = value; this.SendPropertyChanged("FirstName"); this.OnFirstNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastName", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string LastName { get { return this._LastName; } set { if ((this._LastName != value)) { this.OnLastNameChanging(value); this.SendPropertyChanging(); this._LastName = value; this.SendPropertyChanged("LastName"); this.OnLastNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string EmailId { get { return this._EmailId; } set { if ((this._EmailId != value)) { this.OnEmailIdChanging(value); this.SendPropertyChanging(); this._EmailId = value; this.SendPropertyChanged("EmailId"); this.OnEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactNumber", DbType="VarChar(12) NOT NULL", CanBeNull=false)] public string ContactNumber { get { return this._ContactNumber; } set { if ((this._ContactNumber != value)) { this.OnContactNumberChanging(value); this.SendPropertyChanging(); this._ContactNumber = value; this.SendPropertyChanged("ContactNumber"); this.OnContactNumberChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedBy", DbType="VarChar(256) NOT NULL", CanBeNull=false)] public string CreatedBy { get { return this._CreatedBy; } set { if ((this._CreatedBy != value)) { this.OnCreatedByChanging(value); this.SendPropertyChanging(); this._CreatedBy = value; this.SendPropertyChanged("CreatedBy"); this.OnCreatedByChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Invitee", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Invitees.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Invitees.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Partner")] public partial class Event_Partner : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Event_PartnerId; private decimal _AdId; private string _PartnerName; private string _PartnerType; private string _PartnerEmail; private System.DateTime _CreatedDate; private System.Data.Linq.Binary _PartnerLogo; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEvent_PartnerIdChanging(decimal value); partial void OnEvent_PartnerIdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnPartnerNameChanging(string value); partial void OnPartnerNameChanged(); partial void OnPartnerTypeChanging(string value); partial void OnPartnerTypeChanged(); partial void OnPartnerEmailChanging(string value); partial void OnPartnerEmailChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); partial void OnPartnerLogoChanging(System.Data.Linq.Binary value); partial void OnPartnerLogoChanged(); #endregion public Event_Partner() { this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_PartnerId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Event_PartnerId { get { return this._Event_PartnerId; } set { if ((this._Event_PartnerId != value)) { this.OnEvent_PartnerIdChanging(value); this.SendPropertyChanging(); this._Event_PartnerId = value; this.SendPropertyChanged("Event_PartnerId"); this.OnEvent_PartnerIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PartnerName", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string PartnerName { get { return this._PartnerName; } set { if ((this._PartnerName != value)) { this.OnPartnerNameChanging(value); this.SendPropertyChanging(); this._PartnerName = value; this.SendPropertyChanged("PartnerName"); this.OnPartnerNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PartnerType", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string PartnerType { get { return this._PartnerType; } set { if ((this._PartnerType != value)) { this.OnPartnerTypeChanging(value); this.SendPropertyChanging(); this._PartnerType = value; this.SendPropertyChanged("PartnerType"); this.OnPartnerTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PartnerEmail", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string PartnerEmail { get { return this._PartnerEmail; } set { if ((this._PartnerEmail != value)) { this.OnPartnerEmailChanging(value); this.SendPropertyChanging(); this._PartnerEmail = value; this.SendPropertyChanged("PartnerEmail"); this.OnPartnerEmailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PartnerLogo", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary PartnerLogo { get { return this._PartnerLogo; } set { if ((this._PartnerLogo != value)) { this.OnPartnerLogoChanging(value); this.SendPropertyChanging(); this._PartnerLogo = value; this.SendPropertyChanged("PartnerLogo"); this.OnPartnerLogoChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Partner", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Partners.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Partners.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Schedules")] public partial class Event_Schedule : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Event_Schedule_Id; private decimal _AdId; private string _Title; private string _Starttime; private string _Endtime; private System.Nullable _StartDate; private System.Nullable _EndDate; private string _Description; private System.Nullable _CreatedDate; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEvent_Schedule_IdChanging(decimal value); partial void OnEvent_Schedule_IdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnTitleChanging(string value); partial void OnTitleChanged(); partial void OnStarttimeChanging(string value); partial void OnStarttimeChanged(); partial void OnEndtimeChanging(string value); partial void OnEndtimeChanged(); partial void OnStartDateChanging(System.Nullable value); partial void OnStartDateChanged(); partial void OnEndDateChanging(System.Nullable value); partial void OnEndDateChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); partial void OnCreatedDateChanging(System.Nullable value); partial void OnCreatedDateChanged(); #endregion public Event_Schedule() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Schedule_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Event_Schedule_Id { get { return this._Event_Schedule_Id; } set { if ((this._Event_Schedule_Id != value)) { this.OnEvent_Schedule_IdChanging(value); this.SendPropertyChanging(); this._Event_Schedule_Id = value; this.SendPropertyChanged("Event_Schedule_Id"); this.OnEvent_Schedule_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Title", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string Title { get { return this._Title; } set { if ((this._Title != value)) { this.OnTitleChanging(value); this.SendPropertyChanging(); this._Title = value; this.SendPropertyChanged("Title"); this.OnTitleChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Starttime", DbType="VarChar(5)")] public string Starttime { get { return this._Starttime; } set { if ((this._Starttime != value)) { this.OnStarttimeChanging(value); this.SendPropertyChanging(); this._Starttime = value; this.SendPropertyChanged("Starttime"); this.OnStarttimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Endtime", DbType="VarChar(5)")] public string Endtime { get { return this._Endtime; } set { if ((this._Endtime != value)) { this.OnEndtimeChanging(value); this.SendPropertyChanging(); this._Endtime = value; this.SendPropertyChanged("Endtime"); this.OnEndtimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="Date")] public System.Nullable StartDate { get { return this._StartDate; } set { if ((this._StartDate != value)) { this.OnStartDateChanging(value); this.SendPropertyChanging(); this._StartDate = value; this.SendPropertyChanged("StartDate"); this.OnStartDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="Date")] public System.Nullable EndDate { get { return this._EndDate; } set { if ((this._EndDate != value)) { this.OnEndDateChanging(value); this.SendPropertyChanging(); this._EndDate = value; this.SendPropertyChanged("EndDate"); this.OnEndDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(2000)")] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date")] public System.Nullable CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Sponsor_Create")] public partial class Event_Sponsor_Create : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Sponsor_Id; private decimal _AdId; private string _SponsorName; private string _SponsorType; private string _SponsorManager; private string _Website; private string _Email; private System.Data.Linq.Binary _Logo; private string _PhoneNo; private string _Address; private string _Description; private System.DateTime _CreatedDate; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnSponsor_IdChanging(decimal value); partial void OnSponsor_IdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnSponsorNameChanging(string value); partial void OnSponsorNameChanged(); partial void OnSponsorTypeChanging(string value); partial void OnSponsorTypeChanged(); partial void OnSponsorManagerChanging(string value); partial void OnSponsorManagerChanged(); partial void OnWebsiteChanging(string value); partial void OnWebsiteChanged(); partial void OnEmailChanging(string value); partial void OnEmailChanged(); partial void OnLogoChanging(System.Data.Linq.Binary value); partial void OnLogoChanged(); partial void OnPhoneNoChanging(string value); partial void OnPhoneNoChanged(); partial void OnAddressChanging(string value); partial void OnAddressChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); #endregion public Event_Sponsor_Create() { this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sponsor_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(6,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Sponsor_Id { get { return this._Sponsor_Id; } set { if ((this._Sponsor_Id != value)) { this.OnSponsor_IdChanging(value); this.SendPropertyChanging(); this._Sponsor_Id = value; this.SendPropertyChanged("Sponsor_Id"); this.OnSponsor_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SponsorName", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string SponsorName { get { return this._SponsorName; } set { if ((this._SponsorName != value)) { this.OnSponsorNameChanging(value); this.SendPropertyChanging(); this._SponsorName = value; this.SendPropertyChanged("SponsorName"); this.OnSponsorNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SponsorType", DbType="VarChar(30)")] public string SponsorType { get { return this._SponsorType; } set { if ((this._SponsorType != value)) { this.OnSponsorTypeChanging(value); this.SendPropertyChanging(); this._SponsorType = value; this.SendPropertyChanged("SponsorType"); this.OnSponsorTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SponsorManager", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string SponsorManager { get { return this._SponsorManager; } set { if ((this._SponsorManager != value)) { this.OnSponsorManagerChanging(value); this.SendPropertyChanging(); this._SponsorManager = value; this.SendPropertyChanged("SponsorManager"); this.OnSponsorManagerChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Website", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string Website { get { return this._Website; } set { if ((this._Website != value)) { this.OnWebsiteChanging(value); this.SendPropertyChanging(); this._Website = value; this.SendPropertyChanged("Website"); this.OnWebsiteChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="VarChar(256) NOT NULL", CanBeNull=false)] public string Email { get { return this._Email; } set { if ((this._Email != value)) { this.OnEmailChanging(value); this.SendPropertyChanging(); this._Email = value; this.SendPropertyChanged("Email"); this.OnEmailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Logo", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary Logo { get { return this._Logo; } set { if ((this._Logo != value)) { this.OnLogoChanging(value); this.SendPropertyChanging(); this._Logo = value; this.SendPropertyChanged("Logo"); this.OnLogoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNo", DbType="VarChar(12) NOT NULL", CanBeNull=false)] public string PhoneNo { get { return this._PhoneNo; } set { if ((this._PhoneNo != value)) { this.OnPhoneNoChanging(value); this.SendPropertyChanging(); this._PhoneNo = value; this.SendPropertyChanged("PhoneNo"); this.OnPhoneNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="VarChar(1000) NOT NULL", CanBeNull=false)] public string Address { get { return this._Address; } set { if ((this._Address != value)) { this.OnAddressChanging(value); this.SendPropertyChanging(); this._Address = value; this.SendPropertyChanged("Address"); this.OnAddressChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(2000) NOT NULL", CanBeNull=false)] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Sponsor_Create", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Sponsor_Creates.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Sponsor_Creates.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Sponsor_Det")] public partial class Event_Sponsor_Det : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _SponsorEventId; private decimal _SponsorId; private decimal _Eventd; private string _Description; private string _CreatedBy; private System.DateTime _CreatedDate; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnSponsorEventIdChanging(decimal value); partial void OnSponsorEventIdChanged(); partial void OnSponsorIdChanging(decimal value); partial void OnSponsorIdChanged(); partial void OnEventdChanging(decimal value); partial void OnEventdChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); partial void OnCreatedByChanging(string value); partial void OnCreatedByChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); #endregion public Event_Sponsor_Det() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SponsorEventId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal SponsorEventId { get { return this._SponsorEventId; } set { if ((this._SponsorEventId != value)) { this.OnSponsorEventIdChanging(value); this.SendPropertyChanging(); this._SponsorEventId = value; this.SendPropertyChanged("SponsorEventId"); this.OnSponsorEventIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SponsorId", DbType="Decimal(6,0) NOT NULL")] public decimal SponsorId { get { return this._SponsorId; } set { if ((this._SponsorId != value)) { this.OnSponsorIdChanging(value); this.SendPropertyChanging(); this._SponsorId = value; this.SendPropertyChanged("SponsorId"); this.OnSponsorIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Eventd", DbType="Decimal(10,0) NOT NULL")] public decimal Eventd { get { return this._Eventd; } set { if ((this._Eventd != value)) { this.OnEventdChanging(value); this.SendPropertyChanging(); this._Eventd = value; this.SendPropertyChanged("Eventd"); this.OnEventdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(2000)")] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedBy", DbType="VarChar(256) NOT NULL", CanBeNull=false)] public string CreatedBy { get { return this._CreatedBy; } set { if ((this._CreatedBy != value)) { this.OnCreatedByChanging(value); this.SendPropertyChanging(); this._CreatedBy = value; this.SendPropertyChanged("CreatedBy"); this.OnCreatedByChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Supplier_Service_List")] public partial class Event_Supplier_Service_List : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _SuplierServiceSerNo; private decimal _SupplierId; private bool _ConceptDesignPlanning; private bool _Budgeting; private bool _SiteSelection; private bool _LogisticVendor; private bool _TicketingRegistration; private bool _PermitLicence; private bool _ExhibitSponsor; private bool _MarketingCommunication; private bool _ArtistSpeaker; private bool _EventTechnology; private bool _MobileApp; private bool _AccountingRevenue; private bool _FoodBevarage; private bool _DecorPlanning; private bool _EntertairnemntAttractions; private bool _SoundLighting; private bool _Transportation; private bool _SecurityEmergency; private bool _SiteCleanUp; private bool _PartyGifts; private bool _Excursions; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnSuplierServiceSerNoChanging(decimal value); partial void OnSuplierServiceSerNoChanged(); partial void OnSupplierIdChanging(decimal value); partial void OnSupplierIdChanged(); partial void OnConceptDesignPlanningChanging(bool value); partial void OnConceptDesignPlanningChanged(); partial void OnBudgetingChanging(bool value); partial void OnBudgetingChanged(); partial void OnSiteSelectionChanging(bool value); partial void OnSiteSelectionChanged(); partial void OnLogisticVendorChanging(bool value); partial void OnLogisticVendorChanged(); partial void OnTicketingRegistrationChanging(bool value); partial void OnTicketingRegistrationChanged(); partial void OnPermitLicenceChanging(bool value); partial void OnPermitLicenceChanged(); partial void OnExhibitSponsorChanging(bool value); partial void OnExhibitSponsorChanged(); partial void OnMarketingCommunicationChanging(bool value); partial void OnMarketingCommunicationChanged(); partial void OnArtistSpeakerChanging(bool value); partial void OnArtistSpeakerChanged(); partial void OnEventTechnologyChanging(bool value); partial void OnEventTechnologyChanged(); partial void OnMobileAppChanging(bool value); partial void OnMobileAppChanged(); partial void OnAccountingRevenueChanging(bool value); partial void OnAccountingRevenueChanged(); partial void OnFoodBevarageChanging(bool value); partial void OnFoodBevarageChanged(); partial void OnDecorPlanningChanging(bool value); partial void OnDecorPlanningChanged(); partial void OnEntertairnemntAttractionsChanging(bool value); partial void OnEntertairnemntAttractionsChanged(); partial void OnSoundLightingChanging(bool value); partial void OnSoundLightingChanged(); partial void OnTransportationChanging(bool value); partial void OnTransportationChanged(); partial void OnSecurityEmergencyChanging(bool value); partial void OnSecurityEmergencyChanged(); partial void OnSiteCleanUpChanging(bool value); partial void OnSiteCleanUpChanged(); partial void OnPartyGiftsChanging(bool value); partial void OnPartyGiftsChanged(); partial void OnExcursionsChanging(bool value); partial void OnExcursionsChanged(); #endregion public Event_Supplier_Service_List() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuplierServiceSerNo", AutoSync=AutoSync.OnInsert, DbType="Decimal(8,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal SuplierServiceSerNo { get { return this._SuplierServiceSerNo; } set { if ((this._SuplierServiceSerNo != value)) { this.OnSuplierServiceSerNoChanging(value); this.SendPropertyChanging(); this._SuplierServiceSerNo = value; this.SendPropertyChanged("SuplierServiceSerNo"); this.OnSuplierServiceSerNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierId", DbType="Decimal(8,0) NOT NULL")] public decimal SupplierId { get { return this._SupplierId; } set { if ((this._SupplierId != value)) { this.OnSupplierIdChanging(value); this.SendPropertyChanging(); this._SupplierId = value; this.SendPropertyChanged("SupplierId"); this.OnSupplierIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConceptDesignPlanning", DbType="Bit NOT NULL")] public bool ConceptDesignPlanning { get { return this._ConceptDesignPlanning; } set { if ((this._ConceptDesignPlanning != value)) { this.OnConceptDesignPlanningChanging(value); this.SendPropertyChanging(); this._ConceptDesignPlanning = value; this.SendPropertyChanged("ConceptDesignPlanning"); this.OnConceptDesignPlanningChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Budgeting", DbType="Bit NOT NULL")] public bool Budgeting { get { return this._Budgeting; } set { if ((this._Budgeting != value)) { this.OnBudgetingChanging(value); this.SendPropertyChanging(); this._Budgeting = value; this.SendPropertyChanged("Budgeting"); this.OnBudgetingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteSelection", DbType="Bit NOT NULL")] public bool SiteSelection { get { return this._SiteSelection; } set { if ((this._SiteSelection != value)) { this.OnSiteSelectionChanging(value); this.SendPropertyChanging(); this._SiteSelection = value; this.SendPropertyChanged("SiteSelection"); this.OnSiteSelectionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogisticVendor", DbType="Bit NOT NULL")] public bool LogisticVendor { get { return this._LogisticVendor; } set { if ((this._LogisticVendor != value)) { this.OnLogisticVendorChanging(value); this.SendPropertyChanging(); this._LogisticVendor = value; this.SendPropertyChanged("LogisticVendor"); this.OnLogisticVendorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketingRegistration", DbType="Bit NOT NULL")] public bool TicketingRegistration { get { return this._TicketingRegistration; } set { if ((this._TicketingRegistration != value)) { this.OnTicketingRegistrationChanging(value); this.SendPropertyChanging(); this._TicketingRegistration = value; this.SendPropertyChanged("TicketingRegistration"); this.OnTicketingRegistrationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PermitLicence", DbType="Bit NOT NULL")] public bool PermitLicence { get { return this._PermitLicence; } set { if ((this._PermitLicence != value)) { this.OnPermitLicenceChanging(value); this.SendPropertyChanging(); this._PermitLicence = value; this.SendPropertyChanged("PermitLicence"); this.OnPermitLicenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExhibitSponsor", DbType="Bit NOT NULL")] public bool ExhibitSponsor { get { return this._ExhibitSponsor; } set { if ((this._ExhibitSponsor != value)) { this.OnExhibitSponsorChanging(value); this.SendPropertyChanging(); this._ExhibitSponsor = value; this.SendPropertyChanged("ExhibitSponsor"); this.OnExhibitSponsorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MarketingCommunication", DbType="Bit NOT NULL")] public bool MarketingCommunication { get { return this._MarketingCommunication; } set { if ((this._MarketingCommunication != value)) { this.OnMarketingCommunicationChanging(value); this.SendPropertyChanging(); this._MarketingCommunication = value; this.SendPropertyChanged("MarketingCommunication"); this.OnMarketingCommunicationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArtistSpeaker", DbType="Bit NOT NULL")] public bool ArtistSpeaker { get { return this._ArtistSpeaker; } set { if ((this._ArtistSpeaker != value)) { this.OnArtistSpeakerChanging(value); this.SendPropertyChanging(); this._ArtistSpeaker = value; this.SendPropertyChanged("ArtistSpeaker"); this.OnArtistSpeakerChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTechnology", DbType="Bit NOT NULL")] public bool EventTechnology { get { return this._EventTechnology; } set { if ((this._EventTechnology != value)) { this.OnEventTechnologyChanging(value); this.SendPropertyChanging(); this._EventTechnology = value; this.SendPropertyChanged("EventTechnology"); this.OnEventTechnologyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MobileApp", DbType="Bit NOT NULL")] public bool MobileApp { get { return this._MobileApp; } set { if ((this._MobileApp != value)) { this.OnMobileAppChanging(value); this.SendPropertyChanging(); this._MobileApp = value; this.SendPropertyChanged("MobileApp"); this.OnMobileAppChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountingRevenue", DbType="Bit NOT NULL")] public bool AccountingRevenue { get { return this._AccountingRevenue; } set { if ((this._AccountingRevenue != value)) { this.OnAccountingRevenueChanging(value); this.SendPropertyChanging(); this._AccountingRevenue = value; this.SendPropertyChanged("AccountingRevenue"); this.OnAccountingRevenueChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FoodBevarage", DbType="Bit NOT NULL")] public bool FoodBevarage { get { return this._FoodBevarage; } set { if ((this._FoodBevarage != value)) { this.OnFoodBevarageChanging(value); this.SendPropertyChanging(); this._FoodBevarage = value; this.SendPropertyChanged("FoodBevarage"); this.OnFoodBevarageChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DecorPlanning", DbType="Bit NOT NULL")] public bool DecorPlanning { get { return this._DecorPlanning; } set { if ((this._DecorPlanning != value)) { this.OnDecorPlanningChanging(value); this.SendPropertyChanging(); this._DecorPlanning = value; this.SendPropertyChanged("DecorPlanning"); this.OnDecorPlanningChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntertairnemntAttractions", DbType="Bit NOT NULL")] public bool EntertairnemntAttractions { get { return this._EntertairnemntAttractions; } set { if ((this._EntertairnemntAttractions != value)) { this.OnEntertairnemntAttractionsChanging(value); this.SendPropertyChanging(); this._EntertairnemntAttractions = value; this.SendPropertyChanged("EntertairnemntAttractions"); this.OnEntertairnemntAttractionsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SoundLighting", DbType="Bit NOT NULL")] public bool SoundLighting { get { return this._SoundLighting; } set { if ((this._SoundLighting != value)) { this.OnSoundLightingChanging(value); this.SendPropertyChanging(); this._SoundLighting = value; this.SendPropertyChanged("SoundLighting"); this.OnSoundLightingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Transportation", DbType="Bit NOT NULL")] public bool Transportation { get { return this._Transportation; } set { if ((this._Transportation != value)) { this.OnTransportationChanging(value); this.SendPropertyChanging(); this._Transportation = value; this.SendPropertyChanged("Transportation"); this.OnTransportationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SecurityEmergency", DbType="Bit NOT NULL")] public bool SecurityEmergency { get { return this._SecurityEmergency; } set { if ((this._SecurityEmergency != value)) { this.OnSecurityEmergencyChanging(value); this.SendPropertyChanging(); this._SecurityEmergency = value; this.SendPropertyChanged("SecurityEmergency"); this.OnSecurityEmergencyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteCleanUp", DbType="Bit NOT NULL")] public bool SiteCleanUp { get { return this._SiteCleanUp; } set { if ((this._SiteCleanUp != value)) { this.OnSiteCleanUpChanging(value); this.SendPropertyChanging(); this._SiteCleanUp = value; this.SendPropertyChanged("SiteCleanUp"); this.OnSiteCleanUpChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PartyGifts", DbType="Bit NOT NULL")] public bool PartyGifts { get { return this._PartyGifts; } set { if ((this._PartyGifts != value)) { this.OnPartyGiftsChanging(value); this.SendPropertyChanging(); this._PartyGifts = value; this.SendPropertyChanged("PartyGifts"); this.OnPartyGiftsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Excursions", DbType="Bit NOT NULL")] public bool Excursions { get { return this._Excursions; } set { if ((this._Excursions != value)) { this.OnExcursionsChanging(value); this.SendPropertyChanging(); this._Excursions = value; this.SendPropertyChanged("Excursions"); this.OnExcursionsChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.EventManagementServiceList")] public partial class EventManagementServiceList : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _EventMgmtServiceSerNo; private decimal _EventMgmtId; private bool _ConceptDesignPlanning; private bool _Budgeting; private bool _SiteSelection; private bool _LogisticVendor; private bool _TicketingRegistration; private bool _PermitLicence; private bool _ExhibitSponsor; private bool _MarketingCommunication; private bool _ArtistSpeaker; private bool _EventTechnology; private bool _MobileApp; private bool _AccountingRevenue; private bool _FoodBevarage; private bool _DecorPlanning; private bool _EntertairnemntAttractions; private bool _SoundLighting; private bool _Transportation; private bool _SecurityEmergency; private bool _SiteCleanUp; private bool _PartyGifts; private bool _Excursions; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEventMgmtServiceSerNoChanging(decimal value); partial void OnEventMgmtServiceSerNoChanged(); partial void OnEventMgmtIdChanging(decimal value); partial void OnEventMgmtIdChanged(); partial void OnConceptDesignPlanningChanging(bool value); partial void OnConceptDesignPlanningChanged(); partial void OnBudgetingChanging(bool value); partial void OnBudgetingChanged(); partial void OnSiteSelectionChanging(bool value); partial void OnSiteSelectionChanged(); partial void OnLogisticVendorChanging(bool value); partial void OnLogisticVendorChanged(); partial void OnTicketingRegistrationChanging(bool value); partial void OnTicketingRegistrationChanged(); partial void OnPermitLicenceChanging(bool value); partial void OnPermitLicenceChanged(); partial void OnExhibitSponsorChanging(bool value); partial void OnExhibitSponsorChanged(); partial void OnMarketingCommunicationChanging(bool value); partial void OnMarketingCommunicationChanged(); partial void OnArtistSpeakerChanging(bool value); partial void OnArtistSpeakerChanged(); partial void OnEventTechnologyChanging(bool value); partial void OnEventTechnologyChanged(); partial void OnMobileAppChanging(bool value); partial void OnMobileAppChanged(); partial void OnAccountingRevenueChanging(bool value); partial void OnAccountingRevenueChanged(); partial void OnFoodBevarageChanging(bool value); partial void OnFoodBevarageChanged(); partial void OnDecorPlanningChanging(bool value); partial void OnDecorPlanningChanged(); partial void OnEntertairnemntAttractionsChanging(bool value); partial void OnEntertairnemntAttractionsChanged(); partial void OnSoundLightingChanging(bool value); partial void OnSoundLightingChanged(); partial void OnTransportationChanging(bool value); partial void OnTransportationChanged(); partial void OnSecurityEmergencyChanging(bool value); partial void OnSecurityEmergencyChanged(); partial void OnSiteCleanUpChanging(bool value); partial void OnSiteCleanUpChanged(); partial void OnPartyGiftsChanging(bool value); partial void OnPartyGiftsChanged(); partial void OnExcursionsChanging(bool value); partial void OnExcursionsChanged(); #endregion public EventManagementServiceList() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventMgmtServiceSerNo", AutoSync=AutoSync.OnInsert, DbType="Decimal(8,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal EventMgmtServiceSerNo { get { return this._EventMgmtServiceSerNo; } set { if ((this._EventMgmtServiceSerNo != value)) { this.OnEventMgmtServiceSerNoChanging(value); this.SendPropertyChanging(); this._EventMgmtServiceSerNo = value; this.SendPropertyChanged("EventMgmtServiceSerNo"); this.OnEventMgmtServiceSerNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventMgmtId", DbType="Decimal(8,0) NOT NULL")] public decimal EventMgmtId { get { return this._EventMgmtId; } set { if ((this._EventMgmtId != value)) { this.OnEventMgmtIdChanging(value); this.SendPropertyChanging(); this._EventMgmtId = value; this.SendPropertyChanged("EventMgmtId"); this.OnEventMgmtIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConceptDesignPlanning", DbType="Bit NOT NULL")] public bool ConceptDesignPlanning { get { return this._ConceptDesignPlanning; } set { if ((this._ConceptDesignPlanning != value)) { this.OnConceptDesignPlanningChanging(value); this.SendPropertyChanging(); this._ConceptDesignPlanning = value; this.SendPropertyChanged("ConceptDesignPlanning"); this.OnConceptDesignPlanningChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Budgeting", DbType="Bit NOT NULL")] public bool Budgeting { get { return this._Budgeting; } set { if ((this._Budgeting != value)) { this.OnBudgetingChanging(value); this.SendPropertyChanging(); this._Budgeting = value; this.SendPropertyChanged("Budgeting"); this.OnBudgetingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteSelection", DbType="Bit NOT NULL")] public bool SiteSelection { get { return this._SiteSelection; } set { if ((this._SiteSelection != value)) { this.OnSiteSelectionChanging(value); this.SendPropertyChanging(); this._SiteSelection = value; this.SendPropertyChanged("SiteSelection"); this.OnSiteSelectionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogisticVendor", DbType="Bit NOT NULL")] public bool LogisticVendor { get { return this._LogisticVendor; } set { if ((this._LogisticVendor != value)) { this.OnLogisticVendorChanging(value); this.SendPropertyChanging(); this._LogisticVendor = value; this.SendPropertyChanged("LogisticVendor"); this.OnLogisticVendorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketingRegistration", DbType="Bit NOT NULL")] public bool TicketingRegistration { get { return this._TicketingRegistration; } set { if ((this._TicketingRegistration != value)) { this.OnTicketingRegistrationChanging(value); this.SendPropertyChanging(); this._TicketingRegistration = value; this.SendPropertyChanged("TicketingRegistration"); this.OnTicketingRegistrationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PermitLicence", DbType="Bit NOT NULL")] public bool PermitLicence { get { return this._PermitLicence; } set { if ((this._PermitLicence != value)) { this.OnPermitLicenceChanging(value); this.SendPropertyChanging(); this._PermitLicence = value; this.SendPropertyChanged("PermitLicence"); this.OnPermitLicenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExhibitSponsor", DbType="Bit NOT NULL")] public bool ExhibitSponsor { get { return this._ExhibitSponsor; } set { if ((this._ExhibitSponsor != value)) { this.OnExhibitSponsorChanging(value); this.SendPropertyChanging(); this._ExhibitSponsor = value; this.SendPropertyChanged("ExhibitSponsor"); this.OnExhibitSponsorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MarketingCommunication", DbType="Bit NOT NULL")] public bool MarketingCommunication { get { return this._MarketingCommunication; } set { if ((this._MarketingCommunication != value)) { this.OnMarketingCommunicationChanging(value); this.SendPropertyChanging(); this._MarketingCommunication = value; this.SendPropertyChanged("MarketingCommunication"); this.OnMarketingCommunicationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArtistSpeaker", DbType="Bit NOT NULL")] public bool ArtistSpeaker { get { return this._ArtistSpeaker; } set { if ((this._ArtistSpeaker != value)) { this.OnArtistSpeakerChanging(value); this.SendPropertyChanging(); this._ArtistSpeaker = value; this.SendPropertyChanged("ArtistSpeaker"); this.OnArtistSpeakerChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTechnology", DbType="Bit NOT NULL")] public bool EventTechnology { get { return this._EventTechnology; } set { if ((this._EventTechnology != value)) { this.OnEventTechnologyChanging(value); this.SendPropertyChanging(); this._EventTechnology = value; this.SendPropertyChanged("EventTechnology"); this.OnEventTechnologyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MobileApp", DbType="Bit NOT NULL")] public bool MobileApp { get { return this._MobileApp; } set { if ((this._MobileApp != value)) { this.OnMobileAppChanging(value); this.SendPropertyChanging(); this._MobileApp = value; this.SendPropertyChanged("MobileApp"); this.OnMobileAppChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountingRevenue", DbType="Bit NOT NULL")] public bool AccountingRevenue { get { return this._AccountingRevenue; } set { if ((this._AccountingRevenue != value)) { this.OnAccountingRevenueChanging(value); this.SendPropertyChanging(); this._AccountingRevenue = value; this.SendPropertyChanged("AccountingRevenue"); this.OnAccountingRevenueChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FoodBevarage", DbType="Bit NOT NULL")] public bool FoodBevarage { get { return this._FoodBevarage; } set { if ((this._FoodBevarage != value)) { this.OnFoodBevarageChanging(value); this.SendPropertyChanging(); this._FoodBevarage = value; this.SendPropertyChanged("FoodBevarage"); this.OnFoodBevarageChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DecorPlanning", DbType="Bit NOT NULL")] public bool DecorPlanning { get { return this._DecorPlanning; } set { if ((this._DecorPlanning != value)) { this.OnDecorPlanningChanging(value); this.SendPropertyChanging(); this._DecorPlanning = value; this.SendPropertyChanged("DecorPlanning"); this.OnDecorPlanningChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntertairnemntAttractions", DbType="Bit NOT NULL")] public bool EntertairnemntAttractions { get { return this._EntertairnemntAttractions; } set { if ((this._EntertairnemntAttractions != value)) { this.OnEntertairnemntAttractionsChanging(value); this.SendPropertyChanging(); this._EntertairnemntAttractions = value; this.SendPropertyChanged("EntertairnemntAttractions"); this.OnEntertairnemntAttractionsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SoundLighting", DbType="Bit NOT NULL")] public bool SoundLighting { get { return this._SoundLighting; } set { if ((this._SoundLighting != value)) { this.OnSoundLightingChanging(value); this.SendPropertyChanging(); this._SoundLighting = value; this.SendPropertyChanged("SoundLighting"); this.OnSoundLightingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Transportation", DbType="Bit NOT NULL")] public bool Transportation { get { return this._Transportation; } set { if ((this._Transportation != value)) { this.OnTransportationChanging(value); this.SendPropertyChanging(); this._Transportation = value; this.SendPropertyChanged("Transportation"); this.OnTransportationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SecurityEmergency", DbType="Bit NOT NULL")] public bool SecurityEmergency { get { return this._SecurityEmergency; } set { if ((this._SecurityEmergency != value)) { this.OnSecurityEmergencyChanging(value); this.SendPropertyChanging(); this._SecurityEmergency = value; this.SendPropertyChanged("SecurityEmergency"); this.OnSecurityEmergencyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteCleanUp", DbType="Bit NOT NULL")] public bool SiteCleanUp { get { return this._SiteCleanUp; } set { if ((this._SiteCleanUp != value)) { this.OnSiteCleanUpChanging(value); this.SendPropertyChanging(); this._SiteCleanUp = value; this.SendPropertyChanged("SiteCleanUp"); this.OnSiteCleanUpChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PartyGifts", DbType="Bit NOT NULL")] public bool PartyGifts { get { return this._PartyGifts; } set { if ((this._PartyGifts != value)) { this.OnPartyGiftsChanging(value); this.SendPropertyChanging(); this._PartyGifts = value; this.SendPropertyChanged("PartyGifts"); this.OnPartyGiftsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Excursions", DbType="Bit NOT NULL")] public bool Excursions { get { return this._Excursions; } set { if ((this._Excursions != value)) { this.OnExcursionsChanging(value); this.SendPropertyChanging(); this._Excursions = value; this.SendPropertyChanged("Excursions"); this.OnExcursionsChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CityList")] public partial class CityList : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Cityid; private string _CityName; private decimal _StateId; private System.Nullable _ZipCode; private EntityRef _StatesList; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnCityidChanging(decimal value); partial void OnCityidChanged(); partial void OnCityNameChanging(string value); partial void OnCityNameChanged(); partial void OnStateIdChanging(decimal value); partial void OnStateIdChanged(); partial void OnZipCodeChanging(System.Nullable value); partial void OnZipCodeChanged(); #endregion public CityList() { this._StatesList = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cityid", DbType="Decimal(6,0) NOT NULL", IsPrimaryKey=true)] public decimal Cityid { get { return this._Cityid; } set { if ((this._Cityid != value)) { this.OnCityidChanging(value); this.SendPropertyChanging(); this._Cityid = value; this.SendPropertyChanged("Cityid"); this.OnCityidChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CityName", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string CityName { get { return this._CityName; } set { if ((this._CityName != value)) { this.OnCityNameChanging(value); this.SendPropertyChanging(); this._CityName = value; this.SendPropertyChanged("CityName"); this.OnCityNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StateId", DbType="Decimal(5,0) NOT NULL")] public decimal StateId { get { return this._StateId; } set { if ((this._StateId != value)) { if (this._StatesList.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnStateIdChanging(value); this.SendPropertyChanging(); this._StateId = value; this.SendPropertyChanged("StateId"); this.OnStateIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ZipCode", DbType="Decimal(8,0)")] public System.Nullable ZipCode { get { return this._ZipCode; } set { if ((this._ZipCode != value)) { this.OnZipCodeChanging(value); this.SendPropertyChanging(); this._ZipCode = value; this.SendPropertyChanged("ZipCode"); this.OnZipCodeChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="StatesList_CityList", Storage="_StatesList", ThisKey="StateId", OtherKey="StateId", IsForeignKey=true)] public StatesList StatesList { get { return this._StatesList.Entity; } set { StatesList previousValue = this._StatesList.Entity; if (((previousValue != value) || (this._StatesList.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._StatesList.Entity = null; previousValue.CityLists.Remove(this); } this._StatesList.Entity = value; if ((value != null)) { value.CityLists.Add(this); this._StateId = value.StateId; } else { this._StateId = default(decimal); } this.SendPropertyChanged("StatesList"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CountryList")] public partial class CountryList : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _CountryId; private string _Name; private EntitySet _StatesLists; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnCountryIdChanging(decimal value); partial void OnCountryIdChanged(); partial void OnNameChanging(string value); partial void OnNameChanged(); #endregion public CountryList() { this._StatesLists = new EntitySet(new Action(this.attach_StatesLists), new Action(this.detach_StatesLists)); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CountryId", DbType="Decimal(3,0) NOT NULL", IsPrimaryKey=true)] public decimal CountryId { get { return this._CountryId; } set { if ((this._CountryId != value)) { this.OnCountryIdChanging(value); this.SendPropertyChanging(); this._CountryId = value; this.SendPropertyChanged("CountryId"); this.OnCountryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(40) NOT NULL", CanBeNull=false)] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this.OnNameChanging(value); this.SendPropertyChanging(); this._Name = value; this.SendPropertyChanged("Name"); this.OnNameChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CountryList_StatesList", Storage="_StatesLists", ThisKey="CountryId", OtherKey="CountryId")] public EntitySet StatesLists { get { return this._StatesLists; } set { this._StatesLists.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_StatesLists(StatesList entity) { this.SendPropertyChanging(); entity.CountryList = this; } private void detach_StatesLists(StatesList entity) { this.SendPropertyChanging(); entity.CountryList = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CategoryDet")] public partial class CategoryDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _CategoryId; private string _Categoryname; private EntitySet _SubCategoryDets; private EntitySet _ServiceDets; private EntitySet _UserAdsDets; private EntitySet _UserDets; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnCategoryIdChanging(decimal value); partial void OnCategoryIdChanged(); partial void OnCategorynameChanging(string value); partial void OnCategorynameChanged(); #endregion public CategoryDet() { this._SubCategoryDets = new EntitySet(new Action(this.attach_SubCategoryDets), new Action(this.detach_SubCategoryDets)); this._ServiceDets = new EntitySet(new Action(this.attach_ServiceDets), new Action(this.detach_ServiceDets)); this._UserAdsDets = new EntitySet(new Action(this.attach_UserAdsDets), new Action(this.detach_UserAdsDets)); this._UserDets = new EntitySet(new Action(this.attach_UserDets), new Action(this.detach_UserDets)); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="Decimal(2,0) NOT NULL", IsPrimaryKey=true)] public decimal CategoryId { get { return this._CategoryId; } set { if ((this._CategoryId != value)) { this.OnCategoryIdChanging(value); this.SendPropertyChanging(); this._CategoryId = value; this.SendPropertyChanged("CategoryId"); this.OnCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Categoryname", DbType="VarChar(100)")] public string Categoryname { get { return this._Categoryname; } set { if ((this._Categoryname != value)) { this.OnCategorynameChanging(value); this.SendPropertyChanging(); this._Categoryname = value; this.SendPropertyChanged("Categoryname"); this.OnCategorynameChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CategoryDet_SubCategoryDet", Storage="_SubCategoryDets", ThisKey="CategoryId", OtherKey="CategoryId")] public EntitySet SubCategoryDets { get { return this._SubCategoryDets; } set { this._SubCategoryDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CategoryDet_ServiceDet", Storage="_ServiceDets", ThisKey="CategoryId", OtherKey="CategoryId")] public EntitySet ServiceDets { get { return this._ServiceDets; } set { this._ServiceDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CategoryDet_UserAdsDet", Storage="_UserAdsDets", ThisKey="CategoryId", OtherKey="CategoryId")] public EntitySet UserAdsDets { get { return this._UserAdsDets; } set { this._UserAdsDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CategoryDet_UserDet", Storage="_UserDets", ThisKey="CategoryId", OtherKey="CategoryId")] public EntitySet UserDets { get { return this._UserDets; } set { this._UserDets.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_SubCategoryDets(SubCategoryDet entity) { this.SendPropertyChanging(); entity.CategoryDet = this; } private void detach_SubCategoryDets(SubCategoryDet entity) { this.SendPropertyChanging(); entity.CategoryDet = null; } private void attach_ServiceDets(ServiceDet entity) { this.SendPropertyChanging(); entity.CategoryDet = this; } private void detach_ServiceDets(ServiceDet entity) { this.SendPropertyChanging(); entity.CategoryDet = null; } private void attach_UserAdsDets(UserAdsDet entity) { this.SendPropertyChanging(); entity.CategoryDet = this; } private void detach_UserAdsDets(UserAdsDet entity) { this.SendPropertyChanging(); entity.CategoryDet = null; } private void attach_UserDets(UserDet entity) { this.SendPropertyChanging(); entity.CategoryDet = this; } private void detach_UserDets(UserDet entity) { this.SendPropertyChanging(); entity.CategoryDet = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SubCategoryDet")] public partial class SubCategoryDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _SubCategoryId; private string _SubCategory; private decimal _CategoryId; private EntitySet _ServiceDets; private EntitySet _UserAdsDets; private EntityRef _CategoryDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnSubCategoryIdChanging(decimal value); partial void OnSubCategoryIdChanged(); partial void OnSubCategoryChanging(string value); partial void OnSubCategoryChanged(); partial void OnCategoryIdChanging(decimal value); partial void OnCategoryIdChanged(); #endregion public SubCategoryDet() { this._ServiceDets = new EntitySet(new Action(this.attach_ServiceDets), new Action(this.detach_ServiceDets)); this._UserAdsDets = new EntitySet(new Action(this.attach_UserAdsDets), new Action(this.detach_UserAdsDets)); this._CategoryDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubCategoryId", DbType="Decimal(4,0) NOT NULL", IsPrimaryKey=true)] public decimal SubCategoryId { get { return this._SubCategoryId; } set { if ((this._SubCategoryId != value)) { this.OnSubCategoryIdChanging(value); this.SendPropertyChanging(); this._SubCategoryId = value; this.SendPropertyChanged("SubCategoryId"); this.OnSubCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubCategory", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string SubCategory { get { return this._SubCategory; } set { if ((this._SubCategory != value)) { this.OnSubCategoryChanging(value); this.SendPropertyChanging(); this._SubCategory = value; this.SendPropertyChanged("SubCategory"); this.OnSubCategoryChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="Decimal(2,0) NOT NULL")] public decimal CategoryId { get { return this._CategoryId; } set { if ((this._CategoryId != value)) { if (this._CategoryDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnCategoryIdChanging(value); this.SendPropertyChanging(); this._CategoryId = value; this.SendPropertyChanged("CategoryId"); this.OnCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="SubCategoryDet_ServiceDet", Storage="_ServiceDets", ThisKey="SubCategoryId", OtherKey="SubCategoryId")] public EntitySet ServiceDets { get { return this._ServiceDets; } set { this._ServiceDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="SubCategoryDet_UserAdsDet", Storage="_UserAdsDets", ThisKey="SubCategoryId", OtherKey="SubCategoryId")] public EntitySet UserAdsDets { get { return this._UserAdsDets; } set { this._UserAdsDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CategoryDet_SubCategoryDet", Storage="_CategoryDet", ThisKey="CategoryId", OtherKey="CategoryId", IsForeignKey=true)] public CategoryDet CategoryDet { get { return this._CategoryDet.Entity; } set { CategoryDet previousValue = this._CategoryDet.Entity; if (((previousValue != value) || (this._CategoryDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._CategoryDet.Entity = null; previousValue.SubCategoryDets.Remove(this); } this._CategoryDet.Entity = value; if ((value != null)) { value.SubCategoryDets.Add(this); this._CategoryId = value.CategoryId; } else { this._CategoryId = default(decimal); } this.SendPropertyChanged("CategoryDet"); } } } 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_ServiceDets(ServiceDet entity) { this.SendPropertyChanging(); entity.SubCategoryDet = this; } private void detach_ServiceDets(ServiceDet entity) { this.SendPropertyChanging(); entity.SubCategoryDet = null; } private void attach_UserAdsDets(UserAdsDet entity) { this.SendPropertyChanging(); entity.SubCategoryDet = this; } private void detach_UserAdsDets(UserAdsDet entity) { this.SendPropertyChanging(); entity.SubCategoryDet = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.UserAdsImagesDet")] public partial class UserAdsImagesDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _UserAdImageId; private decimal _UserAdId; private string _UserEmailId; private System.Data.Linq.Binary _Image; private EntityRef _UserAdsDet; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnUserAdImageIdChanging(decimal value); partial void OnUserAdImageIdChanged(); partial void OnUserAdIdChanging(decimal value); partial void OnUserAdIdChanged(); partial void OnUserEmailIdChanging(string value); partial void OnUserEmailIdChanged(); partial void OnImageChanging(System.Data.Linq.Binary value); partial void OnImageChanged(); #endregion public UserAdsImagesDet() { this._UserAdsDet = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserAdImageId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal UserAdImageId { get { return this._UserAdImageId; } set { if ((this._UserAdImageId != value)) { this.OnUserAdImageIdChanging(value); this.SendPropertyChanging(); this._UserAdImageId = value; this.SendPropertyChanged("UserAdImageId"); this.OnUserAdImageIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserAdId", DbType="Decimal(10,0) NOT NULL")] public decimal UserAdId { get { return this._UserAdId; } set { if ((this._UserAdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserAdIdChanging(value); this.SendPropertyChanging(); this._UserAdId = value; this.SendPropertyChanged("UserAdId"); this.OnUserAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserEmailId", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string UserEmailId { get { return this._UserEmailId; } set { if ((this._UserEmailId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserEmailIdChanging(value); this.SendPropertyChanging(); this._UserEmailId = value; this.SendPropertyChanged("UserEmailId"); this.OnUserEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Image", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary Image { get { return this._Image; } set { if ((this._Image != value)) { this.OnImageChanging(value); this.SendPropertyChanging(); this._Image = value; this.SendPropertyChanged("Image"); this.OnImageChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_UserAdsImagesDet", Storage="_UserAdsDet", ThisKey="UserAdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.UserAdsImagesDets.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.UserAdsImagesDets.Add(this); this._UserAdId = value.UserAdId; } else { this._UserAdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_UserAdsImagesDet", Storage="_UserDet", ThisKey="UserEmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.UserAdsImagesDets.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.UserAdsImagesDets.Add(this); this._UserEmailId = value.EmailId; } else { this._UserEmailId = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.StatesList")] public partial class StatesList : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _StateId; private string _ShortName; private string _StateName; private decimal _CountryId; private EntitySet _CityLists; private EntityRef _CountryList; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnStateIdChanging(decimal value); partial void OnStateIdChanged(); partial void OnShortNameChanging(string value); partial void OnShortNameChanged(); partial void OnStateNameChanging(string value); partial void OnStateNameChanged(); partial void OnCountryIdChanging(decimal value); partial void OnCountryIdChanged(); #endregion public StatesList() { this._CityLists = new EntitySet(new Action(this.attach_CityLists), new Action(this.detach_CityLists)); this._CountryList = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StateId", DbType="Decimal(5,0) NOT NULL", IsPrimaryKey=true)] public decimal StateId { get { return this._StateId; } set { if ((this._StateId != value)) { this.OnStateIdChanging(value); this.SendPropertyChanging(); this._StateId = value; this.SendPropertyChanged("StateId"); this.OnStateIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShortName", DbType="VarChar(5)")] public string ShortName { get { return this._ShortName; } set { if ((this._ShortName != value)) { this.OnShortNameChanging(value); this.SendPropertyChanging(); this._ShortName = value; this.SendPropertyChanged("ShortName"); this.OnShortNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StateName", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string StateName { get { return this._StateName; } set { if ((this._StateName != value)) { this.OnStateNameChanging(value); this.SendPropertyChanging(); this._StateName = value; this.SendPropertyChanged("StateName"); this.OnStateNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CountryId", DbType="Decimal(3,0) NOT NULL")] public decimal CountryId { get { return this._CountryId; } set { if ((this._CountryId != value)) { if (this._CountryList.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnCountryIdChanging(value); this.SendPropertyChanging(); this._CountryId = value; this.SendPropertyChanged("CountryId"); this.OnCountryIdChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="StatesList_CityList", Storage="_CityLists", ThisKey="StateId", OtherKey="StateId")] public EntitySet CityLists { get { return this._CityLists; } set { this._CityLists.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CountryList_StatesList", Storage="_CountryList", ThisKey="CountryId", OtherKey="CountryId", IsForeignKey=true)] public CountryList CountryList { get { return this._CountryList.Entity; } set { CountryList previousValue = this._CountryList.Entity; if (((previousValue != value) || (this._CountryList.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._CountryList.Entity = null; previousValue.StatesLists.Remove(this); } this._CountryList.Entity = value; if ((value != null)) { value.StatesLists.Add(this); this._CountryId = value.CountryId; } else { this._CountryId = default(decimal); } this.SendPropertyChanged("CountryList"); } } } 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_CityLists(CityList entity) { this.SendPropertyChanging(); entity.StatesList = this; } private void detach_CityLists(CityList entity) { this.SendPropertyChanging(); entity.StatesList = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AdResponseDet")] public partial class AdResponseDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _RespId; private string _RespondentMailId; private string _UserEmailId; private System.DateTime _AdResponseDate; private string _AdResponseMsg; private string _PhoneNo; private string _RespondentName; private decimal _AdId; private string _Location; private EntityRef _UserAdsDet; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnRespIdChanging(decimal value); partial void OnRespIdChanged(); partial void OnRespondentMailIdChanging(string value); partial void OnRespondentMailIdChanged(); partial void OnUserEmailIdChanging(string value); partial void OnUserEmailIdChanged(); partial void OnAdResponseDateChanging(System.DateTime value); partial void OnAdResponseDateChanged(); partial void OnAdResponseMsgChanging(string value); partial void OnAdResponseMsgChanged(); partial void OnPhoneNoChanging(string value); partial void OnPhoneNoChanged(); partial void OnRespondentNameChanging(string value); partial void OnRespondentNameChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnLocationChanging(string value); partial void OnLocationChanged(); #endregion public AdResponseDet() { this._UserAdsDet = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RespId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal RespId { get { return this._RespId; } set { if ((this._RespId != value)) { this.OnRespIdChanging(value); this.SendPropertyChanging(); this._RespId = value; this.SendPropertyChanged("RespId"); this.OnRespIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RespondentMailId", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string RespondentMailId { get { return this._RespondentMailId; } set { if ((this._RespondentMailId != value)) { this.OnRespondentMailIdChanging(value); this.SendPropertyChanging(); this._RespondentMailId = value; this.SendPropertyChanged("RespondentMailId"); this.OnRespondentMailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserEmailId", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string UserEmailId { get { return this._UserEmailId; } set { if ((this._UserEmailId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserEmailIdChanging(value); this.SendPropertyChanging(); this._UserEmailId = value; this.SendPropertyChanged("UserEmailId"); this.OnUserEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdResponseDate", DbType="DateTime NOT NULL")] public System.DateTime AdResponseDate { get { return this._AdResponseDate; } set { if ((this._AdResponseDate != value)) { this.OnAdResponseDateChanging(value); this.SendPropertyChanging(); this._AdResponseDate = value; this.SendPropertyChanged("AdResponseDate"); this.OnAdResponseDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdResponseMsg", DbType="VarChar(500) NOT NULL", CanBeNull=false)] public string AdResponseMsg { get { return this._AdResponseMsg; } set { if ((this._AdResponseMsg != value)) { this.OnAdResponseMsgChanging(value); this.SendPropertyChanging(); this._AdResponseMsg = value; this.SendPropertyChanged("AdResponseMsg"); this.OnAdResponseMsgChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNo", DbType="VarChar(12) NOT NULL", CanBeNull=false)] public string PhoneNo { get { return this._PhoneNo; } set { if ((this._PhoneNo != value)) { this.OnPhoneNoChanging(value); this.SendPropertyChanging(); this._PhoneNo = value; this.SendPropertyChanged("PhoneNo"); this.OnPhoneNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RespondentName", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string RespondentName { get { return this._RespondentName; } set { if ((this._RespondentName != value)) { this.OnRespondentNameChanging(value); this.SendPropertyChanging(); this._RespondentName = value; this.SendPropertyChanged("RespondentName"); this.OnRespondentNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Location", DbType="VarChar(100)")] public string Location { get { return this._Location; } set { if ((this._Location != value)) { this.OnLocationChanging(value); this.SendPropertyChanging(); this._Location = value; this.SendPropertyChanged("Location"); this.OnLocationChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_AdResponseDet", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.AdResponseDets.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.AdResponseDets.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_AdResponseDet", Storage="_UserDet", ThisKey="UserEmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.AdResponseDets.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.AdResponseDets.Add(this); this._UserEmailId = value.EmailId; } else { this._UserEmailId = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SignupSubcategoryDet")] public partial class SignupSubcategoryDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _SubCategoryId; private string _SubCategoryname; private decimal _CategoryId; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnSubCategoryIdChanging(decimal value); partial void OnSubCategoryIdChanged(); partial void OnSubCategorynameChanging(string value); partial void OnSubCategorynameChanged(); partial void OnCategoryIdChanging(decimal value); partial void OnCategoryIdChanged(); #endregion public SignupSubcategoryDet() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubCategoryId", DbType="Decimal(4,0) NOT NULL", IsPrimaryKey=true)] public decimal SubCategoryId { get { return this._SubCategoryId; } set { if ((this._SubCategoryId != value)) { this.OnSubCategoryIdChanging(value); this.SendPropertyChanging(); this._SubCategoryId = value; this.SendPropertyChanged("SubCategoryId"); this.OnSubCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubCategoryname", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string SubCategoryname { get { return this._SubCategoryname; } set { if ((this._SubCategoryname != value)) { this.OnSubCategorynameChanging(value); this.SendPropertyChanging(); this._SubCategoryname = value; this.SendPropertyChanged("SubCategoryname"); this.OnSubCategorynameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="Decimal(2,0) NOT NULL")] public decimal CategoryId { get { return this._CategoryId; } set { if ((this._CategoryId != value)) { this.OnCategoryIdChanging(value); this.SendPropertyChanging(); this._CategoryId = value; this.SendPropertyChanged("CategoryId"); this.OnCategoryIdChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Venue_Managers")] public partial class Event_Venue_Manager : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _VenueId; private string _Userid; private System.Nullable _AdId; private string _EmailId; private System.Data.Linq.Binary _Brochure; private string _Description; private System.DateTime _CreatedDate; private System.Nullable _Weddings; private System.Nullable _Birthdays; private System.Nullable _Mehendi_and_Sangeet; private System.Nullable _Meetings; private System.Nullable _Bridal_Showers; private System.Nullable _Baby_Showers; private System.Nullable _Corporate_Events; private System.Nullable _Sweet_Sixteen; private System.Nullable _Cultural_Events; private System.Nullable _Music_and_Entertainments; private System.Nullable _Others; private System.Nullable _Parking; private System.Nullable _Handicap_Accessible; private System.Nullable _Liability_Insurance; private System.Nullable _On_Site_Accommodations; private System.Nullable _Indoor; private System.Nullable _OutdoorNotCovered; private System.Nullable _Reception_Area; private System.Nullable _Wireless_Internet; private System.Nullable _AV_Equipped; private System.Nullable _Onsite_Audio_Visual_Services; private System.Nullable _Outside_Catering_Permitted; private System.Nullable _Onsite_Restaurant; private System.Nullable _Tables_and_Chairs; private System.Nullable _Linen_for_Table_Chairs; private System.Nullable _Full_Kitchen_Access; private System.Nullable _Onsite_Event_Decorator; private System.Nullable _Onsite_Event_Manager; private System.Nullable _Bar_and_Bartenders; private System.Nullable _Onsite_Accommodations; private System.Nullable _KidsZone; private System.Nullable _Security; private string _PriceMin; private string _PriceMax; private string _CapacityMin; private string _CapacityMax; private string _MaxAffairs; private string _PostedBy; private string _MondayOpen; private string _MondayClose; private string _TuesdayOpen; private string _TuesdayClose; private string _WednsdayOpen; private string _WednsdayClose; private string _ThursdayOpen; private string _ThursdayClose; private string _FridayOpen; private string _FridayClose; private string _SaturdayOpen; private string _SaturdayClose; private string _SundayOpen; private string _SundayClose; private System.Nullable _SundayClosed; private System.Nullable _MondayClosed; private System.Nullable _TuesdayClosed; private System.Nullable _WednesdayClosed; private System.Nullable _ThursdayClosed; private System.Nullable _FridayClosed; private System.Nullable _SaturdayClosed; private EntityRef _UserAdsDet; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnVenueIdChanging(decimal value); partial void OnVenueIdChanged(); partial void OnUseridChanging(string value); partial void OnUseridChanged(); partial void OnAdIdChanging(System.Nullable value); partial void OnAdIdChanged(); partial void OnEmailIdChanging(string value); partial void OnEmailIdChanged(); partial void OnBrochureChanging(System.Data.Linq.Binary value); partial void OnBrochureChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); partial void OnWeddingsChanging(System.Nullable value); partial void OnWeddingsChanged(); partial void OnBirthdaysChanging(System.Nullable value); partial void OnBirthdaysChanged(); partial void OnMehendi_and_SangeetChanging(System.Nullable value); partial void OnMehendi_and_SangeetChanged(); partial void OnMeetingsChanging(System.Nullable value); partial void OnMeetingsChanged(); partial void OnBridal_ShowersChanging(System.Nullable value); partial void OnBridal_ShowersChanged(); partial void OnBaby_ShowersChanging(System.Nullable value); partial void OnBaby_ShowersChanged(); partial void OnCorporate_EventsChanging(System.Nullable value); partial void OnCorporate_EventsChanged(); partial void OnSweet_SixteenChanging(System.Nullable value); partial void OnSweet_SixteenChanged(); partial void OnCultural_EventsChanging(System.Nullable value); partial void OnCultural_EventsChanged(); partial void OnMusic_and_EntertainmentsChanging(System.Nullable value); partial void OnMusic_and_EntertainmentsChanged(); partial void OnOthersChanging(System.Nullable value); partial void OnOthersChanged(); partial void OnParkingChanging(System.Nullable value); partial void OnParkingChanged(); partial void OnHandicap_AccessibleChanging(System.Nullable value); partial void OnHandicap_AccessibleChanged(); partial void OnLiability_InsuranceChanging(System.Nullable value); partial void OnLiability_InsuranceChanged(); partial void OnOn_Site_AccommodationsChanging(System.Nullable value); partial void OnOn_Site_AccommodationsChanged(); partial void OnIndoorChanging(System.Nullable value); partial void OnIndoorChanged(); partial void OnOutdoorNotCoveredChanging(System.Nullable value); partial void OnOutdoorNotCoveredChanged(); partial void OnReception_AreaChanging(System.Nullable value); partial void OnReception_AreaChanged(); partial void OnWireless_InternetChanging(System.Nullable value); partial void OnWireless_InternetChanged(); partial void OnAV_EquippedChanging(System.Nullable value); partial void OnAV_EquippedChanged(); partial void OnOnsite_Audio_Visual_ServicesChanging(System.Nullable value); partial void OnOnsite_Audio_Visual_ServicesChanged(); partial void OnOutside_Catering_PermittedChanging(System.Nullable value); partial void OnOutside_Catering_PermittedChanged(); partial void OnOnsite_RestaurantChanging(System.Nullable value); partial void OnOnsite_RestaurantChanged(); partial void OnTables_and_ChairsChanging(System.Nullable value); partial void OnTables_and_ChairsChanged(); partial void OnLinen_for_Table_ChairsChanging(System.Nullable value); partial void OnLinen_for_Table_ChairsChanged(); partial void OnFull_Kitchen_AccessChanging(System.Nullable value); partial void OnFull_Kitchen_AccessChanged(); partial void OnOnsite_Event_DecoratorChanging(System.Nullable value); partial void OnOnsite_Event_DecoratorChanged(); partial void OnOnsite_Event_ManagerChanging(System.Nullable value); partial void OnOnsite_Event_ManagerChanged(); partial void OnBar_and_BartendersChanging(System.Nullable value); partial void OnBar_and_BartendersChanged(); partial void OnOnsite_AccommodationsChanging(System.Nullable value); partial void OnOnsite_AccommodationsChanged(); partial void OnKidsZoneChanging(System.Nullable value); partial void OnKidsZoneChanged(); partial void OnSecurityChanging(System.Nullable value); partial void OnSecurityChanged(); partial void OnPriceMinChanging(string value); partial void OnPriceMinChanged(); partial void OnPriceMaxChanging(string value); partial void OnPriceMaxChanged(); partial void OnCapacityMinChanging(string value); partial void OnCapacityMinChanged(); partial void OnCapacityMaxChanging(string value); partial void OnCapacityMaxChanged(); partial void OnMaxAffairsChanging(string value); partial void OnMaxAffairsChanged(); partial void OnPostedByChanging(string value); partial void OnPostedByChanged(); partial void OnMondayOpenChanging(string value); partial void OnMondayOpenChanged(); partial void OnMondayCloseChanging(string value); partial void OnMondayCloseChanged(); partial void OnTuesdayOpenChanging(string value); partial void OnTuesdayOpenChanged(); partial void OnTuesdayCloseChanging(string value); partial void OnTuesdayCloseChanged(); partial void OnWednsdayOpenChanging(string value); partial void OnWednsdayOpenChanged(); partial void OnWednsdayCloseChanging(string value); partial void OnWednsdayCloseChanged(); partial void OnThursdayOpenChanging(string value); partial void OnThursdayOpenChanged(); partial void OnThursdayCloseChanging(string value); partial void OnThursdayCloseChanged(); partial void OnFridayOpenChanging(string value); partial void OnFridayOpenChanged(); partial void OnFridayCloseChanging(string value); partial void OnFridayCloseChanged(); partial void OnSaturdayOpenChanging(string value); partial void OnSaturdayOpenChanged(); partial void OnSaturdayCloseChanging(string value); partial void OnSaturdayCloseChanged(); partial void OnSundayOpenChanging(string value); partial void OnSundayOpenChanged(); partial void OnSundayCloseChanging(string value); partial void OnSundayCloseChanged(); partial void OnSundayClosedChanging(System.Nullable value); partial void OnSundayClosedChanged(); partial void OnMondayClosedChanging(System.Nullable value); partial void OnMondayClosedChanged(); partial void OnTuesdayClosedChanging(System.Nullable value); partial void OnTuesdayClosedChanged(); partial void OnWednesdayClosedChanging(System.Nullable value); partial void OnWednesdayClosedChanged(); partial void OnThursdayClosedChanging(System.Nullable value); partial void OnThursdayClosedChanged(); partial void OnFridayClosedChanging(System.Nullable value); partial void OnFridayClosedChanged(); partial void OnSaturdayClosedChanging(System.Nullable value); partial void OnSaturdayClosedChanged(); #endregion public Event_Venue_Manager() { this._UserAdsDet = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VenueId", AutoSync=AutoSync.OnInsert, DbType="Decimal(6,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal VenueId { get { return this._VenueId; } set { if ((this._VenueId != value)) { this.OnVenueIdChanging(value); this.SendPropertyChanging(); this._VenueId = value; this.SendPropertyChanged("VenueId"); this.OnVenueIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Userid", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string Userid { get { return this._Userid; } set { if ((this._Userid != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUseridChanging(value); this.SendPropertyChanging(); this._Userid = value; this.SendPropertyChanged("Userid"); this.OnUseridChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0)")] public System.Nullable AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailId", DbType="VarChar(200)")] public string EmailId { get { return this._EmailId; } set { if ((this._EmailId != value)) { this.OnEmailIdChanging(value); this.SendPropertyChanging(); this._EmailId = value; this.SendPropertyChanged("EmailId"); this.OnEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Brochure", DbType="VarBinary(MAX)", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary Brochure { get { return this._Brochure; } set { if ((this._Brochure != value)) { this.OnBrochureChanging(value); this.SendPropertyChanging(); this._Brochure = value; this.SendPropertyChanged("Brochure"); this.OnBrochureChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(2000)")] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Weddings", DbType="Bit")] public System.Nullable Weddings { get { return this._Weddings; } set { if ((this._Weddings != value)) { this.OnWeddingsChanging(value); this.SendPropertyChanging(); this._Weddings = value; this.SendPropertyChanged("Weddings"); this.OnWeddingsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Birthdays", DbType="Bit")] public System.Nullable Birthdays { get { return this._Birthdays; } set { if ((this._Birthdays != value)) { this.OnBirthdaysChanging(value); this.SendPropertyChanging(); this._Birthdays = value; this.SendPropertyChanged("Birthdays"); this.OnBirthdaysChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mehendi_and_Sangeet", DbType="Bit")] public System.Nullable Mehendi_and_Sangeet { get { return this._Mehendi_and_Sangeet; } set { if ((this._Mehendi_and_Sangeet != value)) { this.OnMehendi_and_SangeetChanging(value); this.SendPropertyChanging(); this._Mehendi_and_Sangeet = value; this.SendPropertyChanged("Mehendi_and_Sangeet"); this.OnMehendi_and_SangeetChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Meetings", DbType="Bit")] public System.Nullable Meetings { get { return this._Meetings; } set { if ((this._Meetings != value)) { this.OnMeetingsChanging(value); this.SendPropertyChanging(); this._Meetings = value; this.SendPropertyChanged("Meetings"); this.OnMeetingsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Bridal_Showers", DbType="Bit")] public System.Nullable Bridal_Showers { get { return this._Bridal_Showers; } set { if ((this._Bridal_Showers != value)) { this.OnBridal_ShowersChanging(value); this.SendPropertyChanging(); this._Bridal_Showers = value; this.SendPropertyChanged("Bridal_Showers"); this.OnBridal_ShowersChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Baby_Showers", DbType="Bit")] public System.Nullable Baby_Showers { get { return this._Baby_Showers; } set { if ((this._Baby_Showers != value)) { this.OnBaby_ShowersChanging(value); this.SendPropertyChanging(); this._Baby_Showers = value; this.SendPropertyChanged("Baby_Showers"); this.OnBaby_ShowersChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Corporate_Events", DbType="Bit")] public System.Nullable Corporate_Events { get { return this._Corporate_Events; } set { if ((this._Corporate_Events != value)) { this.OnCorporate_EventsChanging(value); this.SendPropertyChanging(); this._Corporate_Events = value; this.SendPropertyChanged("Corporate_Events"); this.OnCorporate_EventsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sweet_Sixteen", DbType="Bit")] public System.Nullable Sweet_Sixteen { get { return this._Sweet_Sixteen; } set { if ((this._Sweet_Sixteen != value)) { this.OnSweet_SixteenChanging(value); this.SendPropertyChanging(); this._Sweet_Sixteen = value; this.SendPropertyChanged("Sweet_Sixteen"); this.OnSweet_SixteenChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cultural_Events", DbType="Bit")] public System.Nullable Cultural_Events { get { return this._Cultural_Events; } set { if ((this._Cultural_Events != value)) { this.OnCultural_EventsChanging(value); this.SendPropertyChanging(); this._Cultural_Events = value; this.SendPropertyChanged("Cultural_Events"); this.OnCultural_EventsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Music_and_Entertainments", DbType="Bit")] public System.Nullable Music_and_Entertainments { get { return this._Music_and_Entertainments; } set { if ((this._Music_and_Entertainments != value)) { this.OnMusic_and_EntertainmentsChanging(value); this.SendPropertyChanging(); this._Music_and_Entertainments = value; this.SendPropertyChanged("Music_and_Entertainments"); this.OnMusic_and_EntertainmentsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Others", DbType="Bit")] public System.Nullable Others { get { return this._Others; } set { if ((this._Others != value)) { this.OnOthersChanging(value); this.SendPropertyChanging(); this._Others = value; this.SendPropertyChanged("Others"); this.OnOthersChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Parking", DbType="Bit")] public System.Nullable Parking { get { return this._Parking; } set { if ((this._Parking != value)) { this.OnParkingChanging(value); this.SendPropertyChanging(); this._Parking = value; this.SendPropertyChanged("Parking"); this.OnParkingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Handicap_Accessible", DbType="Bit")] public System.Nullable Handicap_Accessible { get { return this._Handicap_Accessible; } set { if ((this._Handicap_Accessible != value)) { this.OnHandicap_AccessibleChanging(value); this.SendPropertyChanging(); this._Handicap_Accessible = value; this.SendPropertyChanged("Handicap_Accessible"); this.OnHandicap_AccessibleChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Liability_Insurance", DbType="Bit")] public System.Nullable Liability_Insurance { get { return this._Liability_Insurance; } set { if ((this._Liability_Insurance != value)) { this.OnLiability_InsuranceChanging(value); this.SendPropertyChanging(); this._Liability_Insurance = value; this.SendPropertyChanged("Liability_Insurance"); this.OnLiability_InsuranceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_On_Site_Accommodations", DbType="Bit")] public System.Nullable On_Site_Accommodations { get { return this._On_Site_Accommodations; } set { if ((this._On_Site_Accommodations != value)) { this.OnOn_Site_AccommodationsChanging(value); this.SendPropertyChanging(); this._On_Site_Accommodations = value; this.SendPropertyChanged("On_Site_Accommodations"); this.OnOn_Site_AccommodationsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Indoor", DbType="Bit")] public System.Nullable Indoor { get { return this._Indoor; } set { if ((this._Indoor != value)) { this.OnIndoorChanging(value); this.SendPropertyChanging(); this._Indoor = value; this.SendPropertyChanged("Indoor"); this.OnIndoorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutdoorNotCovered", DbType="Bit")] public System.Nullable OutdoorNotCovered { get { return this._OutdoorNotCovered; } set { if ((this._OutdoorNotCovered != value)) { this.OnOutdoorNotCoveredChanging(value); this.SendPropertyChanging(); this._OutdoorNotCovered = value; this.SendPropertyChanged("OutdoorNotCovered"); this.OnOutdoorNotCoveredChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Reception_Area", DbType="Bit")] public System.Nullable Reception_Area { get { return this._Reception_Area; } set { if ((this._Reception_Area != value)) { this.OnReception_AreaChanging(value); this.SendPropertyChanging(); this._Reception_Area = value; this.SendPropertyChanged("Reception_Area"); this.OnReception_AreaChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Wireless_Internet", DbType="Bit")] public System.Nullable Wireless_Internet { get { return this._Wireless_Internet; } set { if ((this._Wireless_Internet != value)) { this.OnWireless_InternetChanging(value); this.SendPropertyChanging(); this._Wireless_Internet = value; this.SendPropertyChanged("Wireless_Internet"); this.OnWireless_InternetChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AV_Equipped", DbType="Bit")] public System.Nullable AV_Equipped { get { return this._AV_Equipped; } set { if ((this._AV_Equipped != value)) { this.OnAV_EquippedChanging(value); this.SendPropertyChanging(); this._AV_Equipped = value; this.SendPropertyChanged("AV_Equipped"); this.OnAV_EquippedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Onsite_Audio_Visual_Services", DbType="Bit")] public System.Nullable Onsite_Audio_Visual_Services { get { return this._Onsite_Audio_Visual_Services; } set { if ((this._Onsite_Audio_Visual_Services != value)) { this.OnOnsite_Audio_Visual_ServicesChanging(value); this.SendPropertyChanging(); this._Onsite_Audio_Visual_Services = value; this.SendPropertyChanged("Onsite_Audio_Visual_Services"); this.OnOnsite_Audio_Visual_ServicesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Outside_Catering_Permitted", DbType="Bit")] public System.Nullable Outside_Catering_Permitted { get { return this._Outside_Catering_Permitted; } set { if ((this._Outside_Catering_Permitted != value)) { this.OnOutside_Catering_PermittedChanging(value); this.SendPropertyChanging(); this._Outside_Catering_Permitted = value; this.SendPropertyChanged("Outside_Catering_Permitted"); this.OnOutside_Catering_PermittedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Onsite_Restaurant", DbType="Bit")] public System.Nullable Onsite_Restaurant { get { return this._Onsite_Restaurant; } set { if ((this._Onsite_Restaurant != value)) { this.OnOnsite_RestaurantChanging(value); this.SendPropertyChanging(); this._Onsite_Restaurant = value; this.SendPropertyChanged("Onsite_Restaurant"); this.OnOnsite_RestaurantChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tables_and_Chairs", DbType="Bit")] public System.Nullable Tables_and_Chairs { get { return this._Tables_and_Chairs; } set { if ((this._Tables_and_Chairs != value)) { this.OnTables_and_ChairsChanging(value); this.SendPropertyChanging(); this._Tables_and_Chairs = value; this.SendPropertyChanged("Tables_and_Chairs"); this.OnTables_and_ChairsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Linen_for_Table_Chairs", DbType="Bit")] public System.Nullable Linen_for_Table_Chairs { get { return this._Linen_for_Table_Chairs; } set { if ((this._Linen_for_Table_Chairs != value)) { this.OnLinen_for_Table_ChairsChanging(value); this.SendPropertyChanging(); this._Linen_for_Table_Chairs = value; this.SendPropertyChanged("Linen_for_Table_Chairs"); this.OnLinen_for_Table_ChairsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Full_Kitchen_Access", DbType="Bit")] public System.Nullable Full_Kitchen_Access { get { return this._Full_Kitchen_Access; } set { if ((this._Full_Kitchen_Access != value)) { this.OnFull_Kitchen_AccessChanging(value); this.SendPropertyChanging(); this._Full_Kitchen_Access = value; this.SendPropertyChanged("Full_Kitchen_Access"); this.OnFull_Kitchen_AccessChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Onsite_Event_Decorator", DbType="Bit")] public System.Nullable Onsite_Event_Decorator { get { return this._Onsite_Event_Decorator; } set { if ((this._Onsite_Event_Decorator != value)) { this.OnOnsite_Event_DecoratorChanging(value); this.SendPropertyChanging(); this._Onsite_Event_Decorator = value; this.SendPropertyChanged("Onsite_Event_Decorator"); this.OnOnsite_Event_DecoratorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Onsite_Event_Manager", DbType="Bit")] public System.Nullable Onsite_Event_Manager { get { return this._Onsite_Event_Manager; } set { if ((this._Onsite_Event_Manager != value)) { this.OnOnsite_Event_ManagerChanging(value); this.SendPropertyChanging(); this._Onsite_Event_Manager = value; this.SendPropertyChanged("Onsite_Event_Manager"); this.OnOnsite_Event_ManagerChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Bar_and_Bartenders", DbType="Bit")] public System.Nullable Bar_and_Bartenders { get { return this._Bar_and_Bartenders; } set { if ((this._Bar_and_Bartenders != value)) { this.OnBar_and_BartendersChanging(value); this.SendPropertyChanging(); this._Bar_and_Bartenders = value; this.SendPropertyChanged("Bar_and_Bartenders"); this.OnBar_and_BartendersChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Onsite_Accommodations", DbType="Bit")] public System.Nullable Onsite_Accommodations { get { return this._Onsite_Accommodations; } set { if ((this._Onsite_Accommodations != value)) { this.OnOnsite_AccommodationsChanging(value); this.SendPropertyChanging(); this._Onsite_Accommodations = value; this.SendPropertyChanged("Onsite_Accommodations"); this.OnOnsite_AccommodationsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KidsZone", DbType="Bit")] public System.Nullable KidsZone { get { return this._KidsZone; } set { if ((this._KidsZone != value)) { this.OnKidsZoneChanging(value); this.SendPropertyChanging(); this._KidsZone = value; this.SendPropertyChanged("KidsZone"); this.OnKidsZoneChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Security", DbType="Bit")] public System.Nullable Security { get { return this._Security; } set { if ((this._Security != value)) { this.OnSecurityChanging(value); this.SendPropertyChanging(); this._Security = value; this.SendPropertyChanged("Security"); this.OnSecurityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PriceMin", DbType="VarChar(20)")] public string PriceMin { get { return this._PriceMin; } set { if ((this._PriceMin != value)) { this.OnPriceMinChanging(value); this.SendPropertyChanging(); this._PriceMin = value; this.SendPropertyChanged("PriceMin"); this.OnPriceMinChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PriceMax", DbType="VarChar(20)")] public string PriceMax { get { return this._PriceMax; } set { if ((this._PriceMax != value)) { this.OnPriceMaxChanging(value); this.SendPropertyChanging(); this._PriceMax = value; this.SendPropertyChanged("PriceMax"); this.OnPriceMaxChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CapacityMin", DbType="VarChar(20)")] public string CapacityMin { get { return this._CapacityMin; } set { if ((this._CapacityMin != value)) { this.OnCapacityMinChanging(value); this.SendPropertyChanging(); this._CapacityMin = value; this.SendPropertyChanged("CapacityMin"); this.OnCapacityMinChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CapacityMax", DbType="VarChar(20)")] public string CapacityMax { get { return this._CapacityMax; } set { if ((this._CapacityMax != value)) { this.OnCapacityMaxChanging(value); this.SendPropertyChanging(); this._CapacityMax = value; this.SendPropertyChanged("CapacityMax"); this.OnCapacityMaxChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxAffairs", DbType="VarChar(200)")] public string MaxAffairs { get { return this._MaxAffairs; } set { if ((this._MaxAffairs != value)) { this.OnMaxAffairsChanging(value); this.SendPropertyChanging(); this._MaxAffairs = value; this.SendPropertyChanged("MaxAffairs"); this.OnMaxAffairsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostedBy", DbType="VarChar(50)")] public string PostedBy { get { return this._PostedBy; } set { if ((this._PostedBy != value)) { this.OnPostedByChanging(value); this.SendPropertyChanging(); this._PostedBy = value; this.SendPropertyChanged("PostedBy"); this.OnPostedByChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MondayOpen", DbType="VarChar(10)")] public string MondayOpen { get { return this._MondayOpen; } set { if ((this._MondayOpen != value)) { this.OnMondayOpenChanging(value); this.SendPropertyChanging(); this._MondayOpen = value; this.SendPropertyChanged("MondayOpen"); this.OnMondayOpenChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MondayClose", DbType="VarChar(10)")] public string MondayClose { get { return this._MondayClose; } set { if ((this._MondayClose != value)) { this.OnMondayCloseChanging(value); this.SendPropertyChanging(); this._MondayClose = value; this.SendPropertyChanged("MondayClose"); this.OnMondayCloseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TuesdayOpen", DbType="VarChar(10)")] public string TuesdayOpen { get { return this._TuesdayOpen; } set { if ((this._TuesdayOpen != value)) { this.OnTuesdayOpenChanging(value); this.SendPropertyChanging(); this._TuesdayOpen = value; this.SendPropertyChanged("TuesdayOpen"); this.OnTuesdayOpenChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TuesdayClose", DbType="VarChar(10)")] public string TuesdayClose { get { return this._TuesdayClose; } set { if ((this._TuesdayClose != value)) { this.OnTuesdayCloseChanging(value); this.SendPropertyChanging(); this._TuesdayClose = value; this.SendPropertyChanged("TuesdayClose"); this.OnTuesdayCloseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WednsdayOpen", DbType="VarChar(10)")] public string WednsdayOpen { get { return this._WednsdayOpen; } set { if ((this._WednsdayOpen != value)) { this.OnWednsdayOpenChanging(value); this.SendPropertyChanging(); this._WednsdayOpen = value; this.SendPropertyChanged("WednsdayOpen"); this.OnWednsdayOpenChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WednsdayClose", DbType="VarChar(10)")] public string WednsdayClose { get { return this._WednsdayClose; } set { if ((this._WednsdayClose != value)) { this.OnWednsdayCloseChanging(value); this.SendPropertyChanging(); this._WednsdayClose = value; this.SendPropertyChanged("WednsdayClose"); this.OnWednsdayCloseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThursdayOpen", DbType="VarChar(10)")] public string ThursdayOpen { get { return this._ThursdayOpen; } set { if ((this._ThursdayOpen != value)) { this.OnThursdayOpenChanging(value); this.SendPropertyChanging(); this._ThursdayOpen = value; this.SendPropertyChanged("ThursdayOpen"); this.OnThursdayOpenChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThursdayClose", DbType="VarChar(10)")] public string ThursdayClose { get { return this._ThursdayClose; } set { if ((this._ThursdayClose != value)) { this.OnThursdayCloseChanging(value); this.SendPropertyChanging(); this._ThursdayClose = value; this.SendPropertyChanged("ThursdayClose"); this.OnThursdayCloseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FridayOpen", DbType="VarChar(10)")] public string FridayOpen { get { return this._FridayOpen; } set { if ((this._FridayOpen != value)) { this.OnFridayOpenChanging(value); this.SendPropertyChanging(); this._FridayOpen = value; this.SendPropertyChanged("FridayOpen"); this.OnFridayOpenChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FridayClose", DbType="VarChar(10)")] public string FridayClose { get { return this._FridayClose; } set { if ((this._FridayClose != value)) { this.OnFridayCloseChanging(value); this.SendPropertyChanging(); this._FridayClose = value; this.SendPropertyChanged("FridayClose"); this.OnFridayCloseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SaturdayOpen", DbType="VarChar(10)")] public string SaturdayOpen { get { return this._SaturdayOpen; } set { if ((this._SaturdayOpen != value)) { this.OnSaturdayOpenChanging(value); this.SendPropertyChanging(); this._SaturdayOpen = value; this.SendPropertyChanged("SaturdayOpen"); this.OnSaturdayOpenChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SaturdayClose", DbType="VarChar(10)")] public string SaturdayClose { get { return this._SaturdayClose; } set { if ((this._SaturdayClose != value)) { this.OnSaturdayCloseChanging(value); this.SendPropertyChanging(); this._SaturdayClose = value; this.SendPropertyChanged("SaturdayClose"); this.OnSaturdayCloseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SundayOpen", DbType="VarChar(10)")] public string SundayOpen { get { return this._SundayOpen; } set { if ((this._SundayOpen != value)) { this.OnSundayOpenChanging(value); this.SendPropertyChanging(); this._SundayOpen = value; this.SendPropertyChanged("SundayOpen"); this.OnSundayOpenChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SundayClose", DbType="VarChar(10)")] public string SundayClose { get { return this._SundayClose; } set { if ((this._SundayClose != value)) { this.OnSundayCloseChanging(value); this.SendPropertyChanging(); this._SundayClose = value; this.SendPropertyChanged("SundayClose"); this.OnSundayCloseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SundayClosed", DbType="Bit")] public System.Nullable SundayClosed { get { return this._SundayClosed; } set { if ((this._SundayClosed != value)) { this.OnSundayClosedChanging(value); this.SendPropertyChanging(); this._SundayClosed = value; this.SendPropertyChanged("SundayClosed"); this.OnSundayClosedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MondayClosed", DbType="Bit")] public System.Nullable MondayClosed { get { return this._MondayClosed; } set { if ((this._MondayClosed != value)) { this.OnMondayClosedChanging(value); this.SendPropertyChanging(); this._MondayClosed = value; this.SendPropertyChanged("MondayClosed"); this.OnMondayClosedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TuesdayClosed", DbType="Bit")] public System.Nullable TuesdayClosed { get { return this._TuesdayClosed; } set { if ((this._TuesdayClosed != value)) { this.OnTuesdayClosedChanging(value); this.SendPropertyChanging(); this._TuesdayClosed = value; this.SendPropertyChanged("TuesdayClosed"); this.OnTuesdayClosedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WednesdayClosed", DbType="Bit")] public System.Nullable WednesdayClosed { get { return this._WednesdayClosed; } set { if ((this._WednesdayClosed != value)) { this.OnWednesdayClosedChanging(value); this.SendPropertyChanging(); this._WednesdayClosed = value; this.SendPropertyChanged("WednesdayClosed"); this.OnWednesdayClosedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThursdayClosed", DbType="Bit")] public System.Nullable ThursdayClosed { get { return this._ThursdayClosed; } set { if ((this._ThursdayClosed != value)) { this.OnThursdayClosedChanging(value); this.SendPropertyChanging(); this._ThursdayClosed = value; this.SendPropertyChanged("ThursdayClosed"); this.OnThursdayClosedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FridayClosed", DbType="Bit")] public System.Nullable FridayClosed { get { return this._FridayClosed; } set { if ((this._FridayClosed != value)) { this.OnFridayClosedChanging(value); this.SendPropertyChanging(); this._FridayClosed = value; this.SendPropertyChanged("FridayClosed"); this.OnFridayClosedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SaturdayClosed", DbType="Bit")] public System.Nullable SaturdayClosed { get { return this._SaturdayClosed; } set { if ((this._SaturdayClosed != value)) { this.OnSaturdayClosedChanging(value); this.SendPropertyChanging(); this._SaturdayClosed = value; this.SendPropertyChanged("SaturdayClosed"); this.OnSaturdayClosedChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Venue_Manager", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Venue_Managers.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Venue_Managers.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(Nullable); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Event_Venue_Manager", Storage="_UserDet", ThisKey="Userid", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.Event_Venue_Managers.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.Event_Venue_Managers.Add(this); this._Userid = value.EmailId; } else { this._Userid = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Supplier_Network")] public partial class Event_Supplier_Network : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _SupplierId; private System.Nullable _AdId; private string _ServiceDescription; private System.Data.Linq.Binary _CompanyLogo; private string _UserId; private string _PostedBy; private System.Data.Linq.Binary _Brochure; private EntityRef _UserAdsDet; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnSupplierIdChanging(decimal value); partial void OnSupplierIdChanged(); partial void OnAdIdChanging(System.Nullable value); partial void OnAdIdChanged(); partial void OnServiceDescriptionChanging(string value); partial void OnServiceDescriptionChanged(); partial void OnCompanyLogoChanging(System.Data.Linq.Binary value); partial void OnCompanyLogoChanged(); partial void OnUserIdChanging(string value); partial void OnUserIdChanged(); partial void OnPostedByChanging(string value); partial void OnPostedByChanged(); partial void OnBrochureChanging(System.Data.Linq.Binary value); partial void OnBrochureChanged(); #endregion public Event_Supplier_Network() { this._UserAdsDet = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierId", AutoSync=AutoSync.OnInsert, DbType="Decimal(8,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal SupplierId { get { return this._SupplierId; } set { if ((this._SupplierId != value)) { this.OnSupplierIdChanging(value); this.SendPropertyChanging(); this._SupplierId = value; this.SendPropertyChanged("SupplierId"); this.OnSupplierIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0)")] public System.Nullable AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceDescription", DbType="VarChar(250)")] public string ServiceDescription { get { return this._ServiceDescription; } set { if ((this._ServiceDescription != value)) { this.OnServiceDescriptionChanging(value); this.SendPropertyChanging(); this._ServiceDescription = value; this.SendPropertyChanged("ServiceDescription"); this.OnServiceDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyLogo", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary CompanyLogo { get { return this._CompanyLogo; } set { if ((this._CompanyLogo != value)) { this.OnCompanyLogoChanging(value); this.SendPropertyChanging(); this._CompanyLogo = value; this.SendPropertyChanged("CompanyLogo"); this.OnCompanyLogoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="VarChar(100)")] public string UserId { get { return this._UserId; } set { if ((this._UserId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserIdChanging(value); this.SendPropertyChanging(); this._UserId = value; this.SendPropertyChanged("UserId"); this.OnUserIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostedBy", DbType="VarChar(20) NOT NULL", CanBeNull=false)] public string PostedBy { get { return this._PostedBy; } set { if ((this._PostedBy != value)) { this.OnPostedByChanging(value); this.SendPropertyChanging(); this._PostedBy = value; this.SendPropertyChanged("PostedBy"); this.OnPostedByChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Brochure", DbType="VarBinary(MAX)", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary Brochure { get { return this._Brochure; } set { if ((this._Brochure != value)) { this.OnBrochureChanging(value); this.SendPropertyChanging(); this._Brochure = value; this.SendPropertyChanged("Brochure"); this.OnBrochureChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Supplier_Network", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Supplier_Networks.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Supplier_Networks.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(Nullable); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Event_Supplier_Network", Storage="_UserDet", ThisKey="UserId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.Event_Supplier_Networks.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.Event_Supplier_Networks.Add(this); this._UserId = value.EmailId; } else { this._UserId = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.UserAdServiceDet")] public partial class UserAdServiceDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _AdServiceNo; private decimal _UserAdID; private string _UserEmailId; private decimal _ServiceId; private EntityRef _ServiceDet; private EntityRef _UserAdsDet; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnAdServiceNoChanging(decimal value); partial void OnAdServiceNoChanged(); partial void OnUserAdIDChanging(decimal value); partial void OnUserAdIDChanged(); partial void OnUserEmailIdChanging(string value); partial void OnUserEmailIdChanged(); partial void OnServiceIdChanging(decimal value); partial void OnServiceIdChanged(); #endregion public UserAdServiceDet() { this._ServiceDet = default(EntityRef); this._UserAdsDet = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdServiceNo", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal AdServiceNo { get { return this._AdServiceNo; } set { if ((this._AdServiceNo != value)) { this.OnAdServiceNoChanging(value); this.SendPropertyChanging(); this._AdServiceNo = value; this.SendPropertyChanged("AdServiceNo"); this.OnAdServiceNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserAdID", DbType="Decimal(10,0) NOT NULL")] public decimal UserAdID { get { return this._UserAdID; } set { if ((this._UserAdID != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserAdIDChanging(value); this.SendPropertyChanging(); this._UserAdID = value; this.SendPropertyChanged("UserAdID"); this.OnUserAdIDChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserEmailId", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string UserEmailId { get { return this._UserEmailId; } set { if ((this._UserEmailId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserEmailIdChanging(value); this.SendPropertyChanging(); this._UserEmailId = value; this.SendPropertyChanged("UserEmailId"); this.OnUserEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceId", DbType="Decimal(5,0) NOT NULL")] public decimal ServiceId { get { return this._ServiceId; } set { if ((this._ServiceId != value)) { if (this._ServiceDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnServiceIdChanging(value); this.SendPropertyChanging(); this._ServiceId = value; this.SendPropertyChanged("ServiceId"); this.OnServiceIdChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="ServiceDet_UserAdServiceDet", Storage="_ServiceDet", ThisKey="ServiceId", OtherKey="ServiceId", IsForeignKey=true)] public ServiceDet ServiceDet { get { return this._ServiceDet.Entity; } set { ServiceDet previousValue = this._ServiceDet.Entity; if (((previousValue != value) || (this._ServiceDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._ServiceDet.Entity = null; previousValue.UserAdServiceDets.Remove(this); } this._ServiceDet.Entity = value; if ((value != null)) { value.UserAdServiceDets.Add(this); this._ServiceId = value.ServiceId; } else { this._ServiceId = default(decimal); } this.SendPropertyChanged("ServiceDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_UserAdServiceDet", Storage="_UserAdsDet", ThisKey="UserAdID", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.UserAdServiceDets.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.UserAdServiceDets.Add(this); this._UserAdID = value.UserAdId; } else { this._UserAdID = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_UserAdServiceDet", Storage="_UserDet", ThisKey="UserEmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.UserAdServiceDets.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.UserAdServiceDets.Add(this); this._UserEmailId = value.EmailId; } else { this._UserEmailId = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ServiceDet")] public partial class ServiceDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _ServiceId; private string _ServiceName; private decimal _SubCategoryId; private decimal _CategoryId; private EntitySet _UserAdServiceDets; private EntityRef _CategoryDet; private EntityRef _SubCategoryDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnServiceIdChanging(decimal value); partial void OnServiceIdChanged(); partial void OnServiceNameChanging(string value); partial void OnServiceNameChanged(); partial void OnSubCategoryIdChanging(decimal value); partial void OnSubCategoryIdChanged(); partial void OnCategoryIdChanging(decimal value); partial void OnCategoryIdChanged(); #endregion public ServiceDet() { this._UserAdServiceDets = new EntitySet(new Action(this.attach_UserAdServiceDets), new Action(this.detach_UserAdServiceDets)); this._CategoryDet = default(EntityRef); this._SubCategoryDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceId", AutoSync=AutoSync.OnInsert, DbType="Decimal(5,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal ServiceId { get { return this._ServiceId; } set { if ((this._ServiceId != value)) { this.OnServiceIdChanging(value); this.SendPropertyChanging(); this._ServiceId = value; this.SendPropertyChanged("ServiceId"); this.OnServiceIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceName", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string ServiceName { get { return this._ServiceName; } set { if ((this._ServiceName != value)) { this.OnServiceNameChanging(value); this.SendPropertyChanging(); this._ServiceName = value; this.SendPropertyChanged("ServiceName"); this.OnServiceNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubCategoryId", DbType="Decimal(4,0) NOT NULL")] public decimal SubCategoryId { get { return this._SubCategoryId; } set { if ((this._SubCategoryId != value)) { if (this._SubCategoryDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnSubCategoryIdChanging(value); this.SendPropertyChanging(); this._SubCategoryId = value; this.SendPropertyChanged("SubCategoryId"); this.OnSubCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="Decimal(2,0) NOT NULL")] public decimal CategoryId { get { return this._CategoryId; } set { if ((this._CategoryId != value)) { if (this._CategoryDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnCategoryIdChanging(value); this.SendPropertyChanging(); this._CategoryId = value; this.SendPropertyChanged("CategoryId"); this.OnCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="ServiceDet_UserAdServiceDet", Storage="_UserAdServiceDets", ThisKey="ServiceId", OtherKey="ServiceId")] public EntitySet UserAdServiceDets { get { return this._UserAdServiceDets; } set { this._UserAdServiceDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CategoryDet_ServiceDet", Storage="_CategoryDet", ThisKey="CategoryId", OtherKey="CategoryId", IsForeignKey=true)] public CategoryDet CategoryDet { get { return this._CategoryDet.Entity; } set { CategoryDet previousValue = this._CategoryDet.Entity; if (((previousValue != value) || (this._CategoryDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._CategoryDet.Entity = null; previousValue.ServiceDets.Remove(this); } this._CategoryDet.Entity = value; if ((value != null)) { value.ServiceDets.Add(this); this._CategoryId = value.CategoryId; } else { this._CategoryId = default(decimal); } this.SendPropertyChanged("CategoryDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="SubCategoryDet_ServiceDet", Storage="_SubCategoryDet", ThisKey="SubCategoryId", OtherKey="SubCategoryId", IsForeignKey=true)] public SubCategoryDet SubCategoryDet { get { return this._SubCategoryDet.Entity; } set { SubCategoryDet previousValue = this._SubCategoryDet.Entity; if (((previousValue != value) || (this._SubCategoryDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._SubCategoryDet.Entity = null; previousValue.ServiceDets.Remove(this); } this._SubCategoryDet.Entity = value; if ((value != null)) { value.ServiceDets.Add(this); this._SubCategoryId = value.SubCategoryId; } else { this._SubCategoryId = default(decimal); } this.SendPropertyChanged("SubCategoryDet"); } } } 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_UserAdServiceDets(UserAdServiceDet entity) { this.SendPropertyChanging(); entity.ServiceDet = this; } private void detach_UserAdServiceDets(UserAdServiceDet entity) { this.SendPropertyChanging(); entity.ServiceDet = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Oraganization_Create")] public partial class Event_Oraganization_Create : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _OrganizerId; private string _OrganizationName; private string _ShortName; private System.Nullable _AdId; private System.Data.Linq.Binary _OrganizationLogo; private string _Website; private string _OrganizerName; private string _Email; private string _Address; private string _PhoneNo; private string _Description; private System.Nullable _ConceptDesignPlanning; private System.Nullable _Budgeting; private System.Nullable _SiteSelection; private System.Nullable _LogisticVendor; private System.Nullable _TicketingRegistration; private System.Nullable _PermitLicence; private System.Nullable _ExhibitSponsor; private System.Nullable _MarketingCommunication; private System.Nullable _ArtistSpeaker; private System.Nullable _Audio_Video; private System.Nullable _MobileApp_Msg_Services; private System.Nullable _AccountingRevenue; private System.Nullable _FoodBevarage; private System.Nullable _DecorPlanning; private System.Nullable _EntertairnemntAttractions; private System.Nullable _SoundLighting; private System.Nullable _Transportation; private System.Nullable _SecurityEmergency; private System.Nullable _SiteCleanUp; private System.Nullable _PartyGifts; private System.Nullable _Excursions; private System.Nullable _InnovativeConcepts; private System.Nullable _Art_Galleries_Exhibit; private System.Nullable _Business_NetWorking; private System.Nullable _Comedy_Performing_Events; private System.Nullable _Concerts_Tour_Dates; private System.Nullable _Conferences; private System.Nullable _TradeShows; private System.Nullable _Science_Education; private System.Nullable _Festival; private System.Nullable _Film; private System.Nullable _Food_Wine; private System.Nullable _Fundraising_Charity; private System.Nullable _Health_Wellness; private System.Nullable _Holidays_Events; private System.Nullable _Kids_Baby_shower; private System.Nullable _Literary_Books; private System.Nullable _Museum_Attractions; private System.Nullable _Neighbourhood; private System.Nullable _NightLife_Singles; private System.Nullable _Corporate_Meetups; private System.Nullable _Outdoor_Recreation; private System.Nullable _Birthdays; private System.Nullable _Family_Reunion; private System.Nullable _Weddings; private System.Nullable _Graduation_Party; private System.Nullable _Bachelor_Party; private System.Nullable _Pets; private System.Nullable _Religious_Spiriutuality; private System.Nullable _Politics; private System.Nullable _Sales_Retalis; private System.Nullable _Sports; private System.Nullable _Technonolgy; private System.Nullable _University_Alumini; private string _PostedBy; private System.Data.Linq.Binary _Broachure; private System.DateTime _CreatedDate; private EntityRef _UserAdsDet; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnOrganizerIdChanging(decimal value); partial void OnOrganizerIdChanged(); partial void OnOrganizationNameChanging(string value); partial void OnOrganizationNameChanged(); partial void OnShortNameChanging(string value); partial void OnShortNameChanged(); partial void OnAdIdChanging(System.Nullable value); partial void OnAdIdChanged(); partial void OnOrganizationLogoChanging(System.Data.Linq.Binary value); partial void OnOrganizationLogoChanged(); partial void OnWebsiteChanging(string value); partial void OnWebsiteChanged(); partial void OnOrganizerNameChanging(string value); partial void OnOrganizerNameChanged(); partial void OnEmailChanging(string value); partial void OnEmailChanged(); partial void OnAddressChanging(string value); partial void OnAddressChanged(); partial void OnPhoneNoChanging(string value); partial void OnPhoneNoChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); partial void OnConceptDesignPlanningChanging(System.Nullable value); partial void OnConceptDesignPlanningChanged(); partial void OnBudgetingChanging(System.Nullable value); partial void OnBudgetingChanged(); partial void OnSiteSelectionChanging(System.Nullable value); partial void OnSiteSelectionChanged(); partial void OnLogisticVendorChanging(System.Nullable value); partial void OnLogisticVendorChanged(); partial void OnTicketingRegistrationChanging(System.Nullable value); partial void OnTicketingRegistrationChanged(); partial void OnPermitLicenceChanging(System.Nullable value); partial void OnPermitLicenceChanged(); partial void OnExhibitSponsorChanging(System.Nullable value); partial void OnExhibitSponsorChanged(); partial void OnMarketingCommunicationChanging(System.Nullable value); partial void OnMarketingCommunicationChanged(); partial void OnArtistSpeakerChanging(System.Nullable value); partial void OnArtistSpeakerChanged(); partial void OnAudio_VideoChanging(System.Nullable value); partial void OnAudio_VideoChanged(); partial void OnMobileApp_Msg_ServicesChanging(System.Nullable value); partial void OnMobileApp_Msg_ServicesChanged(); partial void OnAccountingRevenueChanging(System.Nullable value); partial void OnAccountingRevenueChanged(); partial void OnFoodBevarageChanging(System.Nullable value); partial void OnFoodBevarageChanged(); partial void OnDecorPlanningChanging(System.Nullable value); partial void OnDecorPlanningChanged(); partial void OnEntertairnemntAttractionsChanging(System.Nullable value); partial void OnEntertairnemntAttractionsChanged(); partial void OnSoundLightingChanging(System.Nullable value); partial void OnSoundLightingChanged(); partial void OnTransportationChanging(System.Nullable value); partial void OnTransportationChanged(); partial void OnSecurityEmergencyChanging(System.Nullable value); partial void OnSecurityEmergencyChanged(); partial void OnSiteCleanUpChanging(System.Nullable value); partial void OnSiteCleanUpChanged(); partial void OnPartyGiftsChanging(System.Nullable value); partial void OnPartyGiftsChanged(); partial void OnExcursionsChanging(System.Nullable value); partial void OnExcursionsChanged(); partial void OnInnovativeConceptsChanging(System.Nullable value); partial void OnInnovativeConceptsChanged(); partial void OnArt_Galleries_ExhibitChanging(System.Nullable value); partial void OnArt_Galleries_ExhibitChanged(); partial void OnBusiness_NetWorkingChanging(System.Nullable value); partial void OnBusiness_NetWorkingChanged(); partial void OnComedy_Performing_EventsChanging(System.Nullable value); partial void OnComedy_Performing_EventsChanged(); partial void OnConcerts_Tour_DatesChanging(System.Nullable value); partial void OnConcerts_Tour_DatesChanged(); partial void OnConferencesChanging(System.Nullable value); partial void OnConferencesChanged(); partial void OnTradeShowsChanging(System.Nullable value); partial void OnTradeShowsChanged(); partial void OnScience_EducationChanging(System.Nullable value); partial void OnScience_EducationChanged(); partial void OnFestivalChanging(System.Nullable value); partial void OnFestivalChanged(); partial void OnFilmChanging(System.Nullable value); partial void OnFilmChanged(); partial void OnFood_WineChanging(System.Nullable value); partial void OnFood_WineChanged(); partial void OnFundraising_CharityChanging(System.Nullable value); partial void OnFundraising_CharityChanged(); partial void OnHealth_WellnessChanging(System.Nullable value); partial void OnHealth_WellnessChanged(); partial void OnHolidays_EventsChanging(System.Nullable value); partial void OnHolidays_EventsChanged(); partial void OnKids_Baby_showerChanging(System.Nullable value); partial void OnKids_Baby_showerChanged(); partial void OnLiterary_BooksChanging(System.Nullable value); partial void OnLiterary_BooksChanged(); partial void OnMuseum_AttractionsChanging(System.Nullable value); partial void OnMuseum_AttractionsChanged(); partial void OnNeighbourhoodChanging(System.Nullable value); partial void OnNeighbourhoodChanged(); partial void OnNightLife_SinglesChanging(System.Nullable value); partial void OnNightLife_SinglesChanged(); partial void OnCorporate_MeetupsChanging(System.Nullable value); partial void OnCorporate_MeetupsChanged(); partial void OnOutdoor_RecreationChanging(System.Nullable value); partial void OnOutdoor_RecreationChanged(); partial void OnBirthdaysChanging(System.Nullable value); partial void OnBirthdaysChanged(); partial void OnFamily_ReunionChanging(System.Nullable value); partial void OnFamily_ReunionChanged(); partial void OnWeddingsChanging(System.Nullable value); partial void OnWeddingsChanged(); partial void OnGraduation_PartyChanging(System.Nullable value); partial void OnGraduation_PartyChanged(); partial void OnBachelor_PartyChanging(System.Nullable value); partial void OnBachelor_PartyChanged(); partial void OnPetsChanging(System.Nullable value); partial void OnPetsChanged(); partial void OnReligious_SpiriutualityChanging(System.Nullable value); partial void OnReligious_SpiriutualityChanged(); partial void OnPoliticsChanging(System.Nullable value); partial void OnPoliticsChanged(); partial void OnSales_RetalisChanging(System.Nullable value); partial void OnSales_RetalisChanged(); partial void OnSportsChanging(System.Nullable value); partial void OnSportsChanged(); partial void OnTechnonolgyChanging(System.Nullable value); partial void OnTechnonolgyChanged(); partial void OnUniversity_AluminiChanging(System.Nullable value); partial void OnUniversity_AluminiChanged(); partial void OnPostedByChanging(string value); partial void OnPostedByChanged(); partial void OnBroachureChanging(System.Data.Linq.Binary value); partial void OnBroachureChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); #endregion public Event_Oraganization_Create() { this._UserAdsDet = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrganizerId", AutoSync=AutoSync.OnInsert, DbType="Decimal(6,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal OrganizerId { get { return this._OrganizerId; } set { if ((this._OrganizerId != value)) { this.OnOrganizerIdChanging(value); this.SendPropertyChanging(); this._OrganizerId = value; this.SendPropertyChanged("OrganizerId"); this.OnOrganizerIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrganizationName", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string OrganizationName { get { return this._OrganizationName; } set { if ((this._OrganizationName != value)) { this.OnOrganizationNameChanging(value); this.SendPropertyChanging(); this._OrganizationName = value; this.SendPropertyChanged("OrganizationName"); this.OnOrganizationNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShortName", DbType="VarChar(10)")] public string ShortName { get { return this._ShortName; } set { if ((this._ShortName != value)) { this.OnShortNameChanging(value); this.SendPropertyChanging(); this._ShortName = value; this.SendPropertyChanged("ShortName"); this.OnShortNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0)")] public System.Nullable AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrganizationLogo", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary OrganizationLogo { get { return this._OrganizationLogo; } set { if ((this._OrganizationLogo != value)) { this.OnOrganizationLogoChanging(value); this.SendPropertyChanging(); this._OrganizationLogo = value; this.SendPropertyChanged("OrganizationLogo"); this.OnOrganizationLogoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Website", DbType="VarChar(200)")] public string Website { get { return this._Website; } set { if ((this._Website != value)) { this.OnWebsiteChanging(value); this.SendPropertyChanging(); this._Website = value; this.SendPropertyChanged("Website"); this.OnWebsiteChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrganizerName", DbType="VarChar(200) NOT NULL", CanBeNull=false)] public string OrganizerName { get { return this._OrganizerName; } set { if ((this._OrganizerName != value)) { this.OnOrganizerNameChanging(value); this.SendPropertyChanging(); this._OrganizerName = value; this.SendPropertyChanged("OrganizerName"); this.OnOrganizerNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string Email { get { return this._Email; } set { if ((this._Email != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnEmailChanging(value); this.SendPropertyChanging(); this._Email = value; this.SendPropertyChanged("Email"); this.OnEmailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="VarChar(200)")] public string Address { get { return this._Address; } set { if ((this._Address != value)) { this.OnAddressChanging(value); this.SendPropertyChanging(); this._Address = value; this.SendPropertyChanged("Address"); this.OnAddressChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNo", DbType="VarChar(12) NOT NULL", CanBeNull=false)] public string PhoneNo { get { return this._PhoneNo; } set { if ((this._PhoneNo != value)) { this.OnPhoneNoChanging(value); this.SendPropertyChanging(); this._PhoneNo = value; this.SendPropertyChanged("PhoneNo"); this.OnPhoneNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(1000)")] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConceptDesignPlanning", DbType="Bit")] public System.Nullable ConceptDesignPlanning { get { return this._ConceptDesignPlanning; } set { if ((this._ConceptDesignPlanning != value)) { this.OnConceptDesignPlanningChanging(value); this.SendPropertyChanging(); this._ConceptDesignPlanning = value; this.SendPropertyChanged("ConceptDesignPlanning"); this.OnConceptDesignPlanningChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Budgeting", DbType="Bit")] public System.Nullable Budgeting { get { return this._Budgeting; } set { if ((this._Budgeting != value)) { this.OnBudgetingChanging(value); this.SendPropertyChanging(); this._Budgeting = value; this.SendPropertyChanged("Budgeting"); this.OnBudgetingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteSelection", DbType="Bit")] public System.Nullable SiteSelection { get { return this._SiteSelection; } set { if ((this._SiteSelection != value)) { this.OnSiteSelectionChanging(value); this.SendPropertyChanging(); this._SiteSelection = value; this.SendPropertyChanged("SiteSelection"); this.OnSiteSelectionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogisticVendor", DbType="Bit")] public System.Nullable LogisticVendor { get { return this._LogisticVendor; } set { if ((this._LogisticVendor != value)) { this.OnLogisticVendorChanging(value); this.SendPropertyChanging(); this._LogisticVendor = value; this.SendPropertyChanged("LogisticVendor"); this.OnLogisticVendorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketingRegistration", DbType="Bit")] public System.Nullable TicketingRegistration { get { return this._TicketingRegistration; } set { if ((this._TicketingRegistration != value)) { this.OnTicketingRegistrationChanging(value); this.SendPropertyChanging(); this._TicketingRegistration = value; this.SendPropertyChanged("TicketingRegistration"); this.OnTicketingRegistrationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PermitLicence", DbType="Bit")] public System.Nullable PermitLicence { get { return this._PermitLicence; } set { if ((this._PermitLicence != value)) { this.OnPermitLicenceChanging(value); this.SendPropertyChanging(); this._PermitLicence = value; this.SendPropertyChanged("PermitLicence"); this.OnPermitLicenceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExhibitSponsor", DbType="Bit")] public System.Nullable ExhibitSponsor { get { return this._ExhibitSponsor; } set { if ((this._ExhibitSponsor != value)) { this.OnExhibitSponsorChanging(value); this.SendPropertyChanging(); this._ExhibitSponsor = value; this.SendPropertyChanged("ExhibitSponsor"); this.OnExhibitSponsorChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MarketingCommunication", DbType="Bit")] public System.Nullable MarketingCommunication { get { return this._MarketingCommunication; } set { if ((this._MarketingCommunication != value)) { this.OnMarketingCommunicationChanging(value); this.SendPropertyChanging(); this._MarketingCommunication = value; this.SendPropertyChanged("MarketingCommunication"); this.OnMarketingCommunicationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArtistSpeaker", DbType="Bit")] public System.Nullable ArtistSpeaker { get { return this._ArtistSpeaker; } set { if ((this._ArtistSpeaker != value)) { this.OnArtistSpeakerChanging(value); this.SendPropertyChanging(); this._ArtistSpeaker = value; this.SendPropertyChanged("ArtistSpeaker"); this.OnArtistSpeakerChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Audio_Video", DbType="Bit")] public System.Nullable Audio_Video { get { return this._Audio_Video; } set { if ((this._Audio_Video != value)) { this.OnAudio_VideoChanging(value); this.SendPropertyChanging(); this._Audio_Video = value; this.SendPropertyChanged("Audio_Video"); this.OnAudio_VideoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MobileApp_Msg_Services", DbType="Bit")] public System.Nullable MobileApp_Msg_Services { get { return this._MobileApp_Msg_Services; } set { if ((this._MobileApp_Msg_Services != value)) { this.OnMobileApp_Msg_ServicesChanging(value); this.SendPropertyChanging(); this._MobileApp_Msg_Services = value; this.SendPropertyChanged("MobileApp_Msg_Services"); this.OnMobileApp_Msg_ServicesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccountingRevenue", DbType="Bit")] public System.Nullable AccountingRevenue { get { return this._AccountingRevenue; } set { if ((this._AccountingRevenue != value)) { this.OnAccountingRevenueChanging(value); this.SendPropertyChanging(); this._AccountingRevenue = value; this.SendPropertyChanged("AccountingRevenue"); this.OnAccountingRevenueChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FoodBevarage", DbType="Bit")] public System.Nullable FoodBevarage { get { return this._FoodBevarage; } set { if ((this._FoodBevarage != value)) { this.OnFoodBevarageChanging(value); this.SendPropertyChanging(); this._FoodBevarage = value; this.SendPropertyChanged("FoodBevarage"); this.OnFoodBevarageChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DecorPlanning", DbType="Bit")] public System.Nullable DecorPlanning { get { return this._DecorPlanning; } set { if ((this._DecorPlanning != value)) { this.OnDecorPlanningChanging(value); this.SendPropertyChanging(); this._DecorPlanning = value; this.SendPropertyChanged("DecorPlanning"); this.OnDecorPlanningChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntertairnemntAttractions", DbType="Bit")] public System.Nullable EntertairnemntAttractions { get { return this._EntertairnemntAttractions; } set { if ((this._EntertairnemntAttractions != value)) { this.OnEntertairnemntAttractionsChanging(value); this.SendPropertyChanging(); this._EntertairnemntAttractions = value; this.SendPropertyChanged("EntertairnemntAttractions"); this.OnEntertairnemntAttractionsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SoundLighting", DbType="Bit")] public System.Nullable SoundLighting { get { return this._SoundLighting; } set { if ((this._SoundLighting != value)) { this.OnSoundLightingChanging(value); this.SendPropertyChanging(); this._SoundLighting = value; this.SendPropertyChanged("SoundLighting"); this.OnSoundLightingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Transportation", DbType="Bit")] public System.Nullable Transportation { get { return this._Transportation; } set { if ((this._Transportation != value)) { this.OnTransportationChanging(value); this.SendPropertyChanging(); this._Transportation = value; this.SendPropertyChanged("Transportation"); this.OnTransportationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SecurityEmergency", DbType="Bit")] public System.Nullable SecurityEmergency { get { return this._SecurityEmergency; } set { if ((this._SecurityEmergency != value)) { this.OnSecurityEmergencyChanging(value); this.SendPropertyChanging(); this._SecurityEmergency = value; this.SendPropertyChanged("SecurityEmergency"); this.OnSecurityEmergencyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteCleanUp", DbType="Bit")] public System.Nullable SiteCleanUp { get { return this._SiteCleanUp; } set { if ((this._SiteCleanUp != value)) { this.OnSiteCleanUpChanging(value); this.SendPropertyChanging(); this._SiteCleanUp = value; this.SendPropertyChanged("SiteCleanUp"); this.OnSiteCleanUpChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PartyGifts", DbType="Bit")] public System.Nullable PartyGifts { get { return this._PartyGifts; } set { if ((this._PartyGifts != value)) { this.OnPartyGiftsChanging(value); this.SendPropertyChanging(); this._PartyGifts = value; this.SendPropertyChanged("PartyGifts"); this.OnPartyGiftsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Excursions", DbType="Bit")] public System.Nullable Excursions { get { return this._Excursions; } set { if ((this._Excursions != value)) { this.OnExcursionsChanging(value); this.SendPropertyChanging(); this._Excursions = value; this.SendPropertyChanged("Excursions"); this.OnExcursionsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InnovativeConcepts", DbType="Bit")] public System.Nullable InnovativeConcepts { get { return this._InnovativeConcepts; } set { if ((this._InnovativeConcepts != value)) { this.OnInnovativeConceptsChanging(value); this.SendPropertyChanging(); this._InnovativeConcepts = value; this.SendPropertyChanged("InnovativeConcepts"); this.OnInnovativeConceptsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Art_Galleries_Exhibit", DbType="Bit")] public System.Nullable Art_Galleries_Exhibit { get { return this._Art_Galleries_Exhibit; } set { if ((this._Art_Galleries_Exhibit != value)) { this.OnArt_Galleries_ExhibitChanging(value); this.SendPropertyChanging(); this._Art_Galleries_Exhibit = value; this.SendPropertyChanged("Art_Galleries_Exhibit"); this.OnArt_Galleries_ExhibitChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Business_NetWorking", DbType="Bit")] public System.Nullable Business_NetWorking { get { return this._Business_NetWorking; } set { if ((this._Business_NetWorking != value)) { this.OnBusiness_NetWorkingChanging(value); this.SendPropertyChanging(); this._Business_NetWorking = value; this.SendPropertyChanged("Business_NetWorking"); this.OnBusiness_NetWorkingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Comedy_Performing_Events", DbType="Bit")] public System.Nullable Comedy_Performing_Events { get { return this._Comedy_Performing_Events; } set { if ((this._Comedy_Performing_Events != value)) { this.OnComedy_Performing_EventsChanging(value); this.SendPropertyChanging(); this._Comedy_Performing_Events = value; this.SendPropertyChanged("Comedy_Performing_Events"); this.OnComedy_Performing_EventsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Concerts_Tour_Dates", DbType="Bit")] public System.Nullable Concerts_Tour_Dates { get { return this._Concerts_Tour_Dates; } set { if ((this._Concerts_Tour_Dates != value)) { this.OnConcerts_Tour_DatesChanging(value); this.SendPropertyChanging(); this._Concerts_Tour_Dates = value; this.SendPropertyChanged("Concerts_Tour_Dates"); this.OnConcerts_Tour_DatesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Conferences", DbType="Bit")] public System.Nullable Conferences { get { return this._Conferences; } set { if ((this._Conferences != value)) { this.OnConferencesChanging(value); this.SendPropertyChanging(); this._Conferences = value; this.SendPropertyChanged("Conferences"); this.OnConferencesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TradeShows", DbType="Bit")] public System.Nullable TradeShows { get { return this._TradeShows; } set { if ((this._TradeShows != value)) { this.OnTradeShowsChanging(value); this.SendPropertyChanging(); this._TradeShows = value; this.SendPropertyChanged("TradeShows"); this.OnTradeShowsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Science_Education", DbType="Bit")] public System.Nullable Science_Education { get { return this._Science_Education; } set { if ((this._Science_Education != value)) { this.OnScience_EducationChanging(value); this.SendPropertyChanging(); this._Science_Education = value; this.SendPropertyChanged("Science_Education"); this.OnScience_EducationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Festival", DbType="Bit")] public System.Nullable Festival { get { return this._Festival; } set { if ((this._Festival != value)) { this.OnFestivalChanging(value); this.SendPropertyChanging(); this._Festival = value; this.SendPropertyChanged("Festival"); this.OnFestivalChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Film", DbType="Bit")] public System.Nullable Film { get { return this._Film; } set { if ((this._Film != value)) { this.OnFilmChanging(value); this.SendPropertyChanging(); this._Film = value; this.SendPropertyChanged("Film"); this.OnFilmChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Food_Wine", DbType="Bit")] public System.Nullable Food_Wine { get { return this._Food_Wine; } set { if ((this._Food_Wine != value)) { this.OnFood_WineChanging(value); this.SendPropertyChanging(); this._Food_Wine = value; this.SendPropertyChanged("Food_Wine"); this.OnFood_WineChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Fundraising_Charity", DbType="Bit")] public System.Nullable Fundraising_Charity { get { return this._Fundraising_Charity; } set { if ((this._Fundraising_Charity != value)) { this.OnFundraising_CharityChanging(value); this.SendPropertyChanging(); this._Fundraising_Charity = value; this.SendPropertyChanged("Fundraising_Charity"); this.OnFundraising_CharityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Health_Wellness", DbType="Bit")] public System.Nullable Health_Wellness { get { return this._Health_Wellness; } set { if ((this._Health_Wellness != value)) { this.OnHealth_WellnessChanging(value); this.SendPropertyChanging(); this._Health_Wellness = value; this.SendPropertyChanged("Health_Wellness"); this.OnHealth_WellnessChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Holidays_Events", DbType="Bit")] public System.Nullable Holidays_Events { get { return this._Holidays_Events; } set { if ((this._Holidays_Events != value)) { this.OnHolidays_EventsChanging(value); this.SendPropertyChanging(); this._Holidays_Events = value; this.SendPropertyChanged("Holidays_Events"); this.OnHolidays_EventsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Kids_Baby_shower", DbType="Bit")] public System.Nullable Kids_Baby_shower { get { return this._Kids_Baby_shower; } set { if ((this._Kids_Baby_shower != value)) { this.OnKids_Baby_showerChanging(value); this.SendPropertyChanging(); this._Kids_Baby_shower = value; this.SendPropertyChanged("Kids_Baby_shower"); this.OnKids_Baby_showerChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Literary_Books", DbType="Bit")] public System.Nullable Literary_Books { get { return this._Literary_Books; } set { if ((this._Literary_Books != value)) { this.OnLiterary_BooksChanging(value); this.SendPropertyChanging(); this._Literary_Books = value; this.SendPropertyChanged("Literary_Books"); this.OnLiterary_BooksChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Museum_Attractions", DbType="Bit")] public System.Nullable Museum_Attractions { get { return this._Museum_Attractions; } set { if ((this._Museum_Attractions != value)) { this.OnMuseum_AttractionsChanging(value); this.SendPropertyChanging(); this._Museum_Attractions = value; this.SendPropertyChanged("Museum_Attractions"); this.OnMuseum_AttractionsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Neighbourhood", DbType="Bit")] public System.Nullable Neighbourhood { get { return this._Neighbourhood; } set { if ((this._Neighbourhood != value)) { this.OnNeighbourhoodChanging(value); this.SendPropertyChanging(); this._Neighbourhood = value; this.SendPropertyChanged("Neighbourhood"); this.OnNeighbourhoodChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NightLife_Singles", DbType="Bit")] public System.Nullable NightLife_Singles { get { return this._NightLife_Singles; } set { if ((this._NightLife_Singles != value)) { this.OnNightLife_SinglesChanging(value); this.SendPropertyChanging(); this._NightLife_Singles = value; this.SendPropertyChanged("NightLife_Singles"); this.OnNightLife_SinglesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Corporate_Meetups", DbType="Bit")] public System.Nullable Corporate_Meetups { get { return this._Corporate_Meetups; } set { if ((this._Corporate_Meetups != value)) { this.OnCorporate_MeetupsChanging(value); this.SendPropertyChanging(); this._Corporate_Meetups = value; this.SendPropertyChanged("Corporate_Meetups"); this.OnCorporate_MeetupsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Outdoor_Recreation", DbType="Bit")] public System.Nullable Outdoor_Recreation { get { return this._Outdoor_Recreation; } set { if ((this._Outdoor_Recreation != value)) { this.OnOutdoor_RecreationChanging(value); this.SendPropertyChanging(); this._Outdoor_Recreation = value; this.SendPropertyChanged("Outdoor_Recreation"); this.OnOutdoor_RecreationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Birthdays", DbType="Bit")] public System.Nullable Birthdays { get { return this._Birthdays; } set { if ((this._Birthdays != value)) { this.OnBirthdaysChanging(value); this.SendPropertyChanging(); this._Birthdays = value; this.SendPropertyChanged("Birthdays"); this.OnBirthdaysChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Family_Reunion", DbType="Bit")] public System.Nullable Family_Reunion { get { return this._Family_Reunion; } set { if ((this._Family_Reunion != value)) { this.OnFamily_ReunionChanging(value); this.SendPropertyChanging(); this._Family_Reunion = value; this.SendPropertyChanged("Family_Reunion"); this.OnFamily_ReunionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Weddings", DbType="Bit")] public System.Nullable Weddings { get { return this._Weddings; } set { if ((this._Weddings != value)) { this.OnWeddingsChanging(value); this.SendPropertyChanging(); this._Weddings = value; this.SendPropertyChanged("Weddings"); this.OnWeddingsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Graduation_Party", DbType="Bit")] public System.Nullable Graduation_Party { get { return this._Graduation_Party; } set { if ((this._Graduation_Party != value)) { this.OnGraduation_PartyChanging(value); this.SendPropertyChanging(); this._Graduation_Party = value; this.SendPropertyChanged("Graduation_Party"); this.OnGraduation_PartyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Bachelor_Party", DbType="Bit")] public System.Nullable Bachelor_Party { get { return this._Bachelor_Party; } set { if ((this._Bachelor_Party != value)) { this.OnBachelor_PartyChanging(value); this.SendPropertyChanging(); this._Bachelor_Party = value; this.SendPropertyChanged("Bachelor_Party"); this.OnBachelor_PartyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Pets", DbType="Bit")] public System.Nullable Pets { get { return this._Pets; } set { if ((this._Pets != value)) { this.OnPetsChanging(value); this.SendPropertyChanging(); this._Pets = value; this.SendPropertyChanged("Pets"); this.OnPetsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Religious_Spiriutuality", DbType="Bit")] public System.Nullable Religious_Spiriutuality { get { return this._Religious_Spiriutuality; } set { if ((this._Religious_Spiriutuality != value)) { this.OnReligious_SpiriutualityChanging(value); this.SendPropertyChanging(); this._Religious_Spiriutuality = value; this.SendPropertyChanged("Religious_Spiriutuality"); this.OnReligious_SpiriutualityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Politics", DbType="Bit")] public System.Nullable Politics { get { return this._Politics; } set { if ((this._Politics != value)) { this.OnPoliticsChanging(value); this.SendPropertyChanging(); this._Politics = value; this.SendPropertyChanged("Politics"); this.OnPoliticsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sales_Retalis", DbType="Bit")] public System.Nullable Sales_Retalis { get { return this._Sales_Retalis; } set { if ((this._Sales_Retalis != value)) { this.OnSales_RetalisChanging(value); this.SendPropertyChanging(); this._Sales_Retalis = value; this.SendPropertyChanged("Sales_Retalis"); this.OnSales_RetalisChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sports", DbType="Bit")] public System.Nullable Sports { get { return this._Sports; } set { if ((this._Sports != value)) { this.OnSportsChanging(value); this.SendPropertyChanging(); this._Sports = value; this.SendPropertyChanged("Sports"); this.OnSportsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Technonolgy", DbType="Bit")] public System.Nullable Technonolgy { get { return this._Technonolgy; } set { if ((this._Technonolgy != value)) { this.OnTechnonolgyChanging(value); this.SendPropertyChanging(); this._Technonolgy = value; this.SendPropertyChanged("Technonolgy"); this.OnTechnonolgyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_University_Alumini", DbType="Bit")] public System.Nullable University_Alumini { get { return this._University_Alumini; } set { if ((this._University_Alumini != value)) { this.OnUniversity_AluminiChanging(value); this.SendPropertyChanging(); this._University_Alumini = value; this.SendPropertyChanged("University_Alumini"); this.OnUniversity_AluminiChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PostedBy", DbType="VarChar(50)")] public string PostedBy { get { return this._PostedBy; } set { if ((this._PostedBy != value)) { this.OnPostedByChanging(value); this.SendPropertyChanging(); this._PostedBy = value; this.SendPropertyChanged("PostedBy"); this.OnPostedByChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Broachure", DbType="VarBinary(MAX)", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary Broachure { get { return this._Broachure; } set { if ((this._Broachure != value)) { this.OnBroachureChanging(value); this.SendPropertyChanging(); this._Broachure = value; this.SendPropertyChanged("Broachure"); this.OnBroachureChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Oraganization_Create", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Oraganization_Creates.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Oraganization_Creates.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(Nullable); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Event_Oraganization_Create", Storage="_UserDet", ThisKey="Email", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.Event_Oraganization_Creates.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.Event_Oraganization_Creates.Add(this); this._Email = value.EmailId; } else { this._Email = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Organizers")] public partial class Event_Organizer : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Event_Organizer_Id; private decimal _AdId; private string _OrganizationName; private string _OrganizerName; private string _EmailId; private string _Contact; private string _Website; private System.DateTime _CreatedDate; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEvent_Organizer_IdChanging(decimal value); partial void OnEvent_Organizer_IdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnOrganizationNameChanging(string value); partial void OnOrganizationNameChanged(); partial void OnOrganizerNameChanging(string value); partial void OnOrganizerNameChanged(); partial void OnEmailIdChanging(string value); partial void OnEmailIdChanged(); partial void OnContactChanging(string value); partial void OnContactChanged(); partial void OnWebsiteChanging(string value); partial void OnWebsiteChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); #endregion public Event_Organizer() { this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Organizer_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Event_Organizer_Id { get { return this._Event_Organizer_Id; } set { if ((this._Event_Organizer_Id != value)) { this.OnEvent_Organizer_IdChanging(value); this.SendPropertyChanging(); this._Event_Organizer_Id = value; this.SendPropertyChanged("Event_Organizer_Id"); this.OnEvent_Organizer_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrganizationName", DbType="VarChar(200)")] public string OrganizationName { get { return this._OrganizationName; } set { if ((this._OrganizationName != value)) { this.OnOrganizationNameChanging(value); this.SendPropertyChanging(); this._OrganizationName = value; this.SendPropertyChanged("OrganizationName"); this.OnOrganizationNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrganizerName", DbType="VarChar(100)")] public string OrganizerName { get { return this._OrganizerName; } set { if ((this._OrganizerName != value)) { this.OnOrganizerNameChanging(value); this.SendPropertyChanging(); this._OrganizerName = value; this.SendPropertyChanged("OrganizerName"); this.OnOrganizerNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailId", DbType="VarChar(100)")] public string EmailId { get { return this._EmailId; } set { if ((this._EmailId != value)) { this.OnEmailIdChanging(value); this.SendPropertyChanging(); this._EmailId = value; this.SendPropertyChanged("EmailId"); this.OnEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Contact", DbType="VarChar(12)")] public string Contact { get { return this._Contact; } set { if ((this._Contact != value)) { this.OnContactChanging(value); this.SendPropertyChanging(); this._Contact = value; this.SendPropertyChanged("Contact"); this.OnContactChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Website", DbType="VarChar(100)")] public string Website { get { return this._Website; } set { if ((this._Website != value)) { this.OnWebsiteChanging(value); this.SendPropertyChanging(); this._Website = value; this.SendPropertyChanged("Website"); this.OnWebsiteChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Organizer", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Organizers.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Organizers.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Ticket_Mgmt")] public partial class Event_Ticket_Mgmt : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Tiket_Mgmt_Id; private decimal _AdId; private System.Data.Linq.Binary _SeatingArrangement; private string _TicketSaleClosingDate; private string _TicketType; private decimal _TotalQty; private string _UnitPrice; private decimal _MaxOrder; private decimal _MinOrder; private System.Nullable _AvailableQty; private System.Data.Linq.Binary _TermsConditions; private string _CreatedBy; private System.DateTime _CreateDate; private EntitySet _Event_Ticket_Buy_Details; private EntitySet _Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buy_Details; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnTiket_Mgmt_IdChanging(decimal value); partial void OnTiket_Mgmt_IdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnSeatingArrangementChanging(System.Data.Linq.Binary value); partial void OnSeatingArrangementChanged(); partial void OnTicketSaleClosingDateChanging(string value); partial void OnTicketSaleClosingDateChanged(); partial void OnTicketTypeChanging(string value); partial void OnTicketTypeChanged(); partial void OnTotalQtyChanging(decimal value); partial void OnTotalQtyChanged(); partial void OnUnitPriceChanging(string value); partial void OnUnitPriceChanged(); partial void OnMaxOrderChanging(decimal value); partial void OnMaxOrderChanged(); partial void OnMinOrderChanging(decimal value); partial void OnMinOrderChanged(); partial void OnAvailableQtyChanging(System.Nullable value); partial void OnAvailableQtyChanged(); partial void OnTermsConditionsChanging(System.Data.Linq.Binary value); partial void OnTermsConditionsChanged(); partial void OnCreatedByChanging(string value); partial void OnCreatedByChanged(); partial void OnCreateDateChanging(System.DateTime value); partial void OnCreateDateChanged(); #endregion public Event_Ticket_Mgmt() { this._Event_Ticket_Buy_Details = new EntitySet(new Action(this.attach_Event_Ticket_Buy_Details), new Action(this.detach_Event_Ticket_Buy_Details)); this._Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Event_Ticket_Buyer_Dets), new Action(this.detach_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buyer_Dets), new Action(this.detach_Dummy_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buy_Details = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buy_Details), new Action(this.detach_Dummy_Event_Ticket_Buy_Details)); this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tiket_Mgmt_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Tiket_Mgmt_Id { get { return this._Tiket_Mgmt_Id; } set { if ((this._Tiket_Mgmt_Id != value)) { this.OnTiket_Mgmt_IdChanging(value); this.SendPropertyChanging(); this._Tiket_Mgmt_Id = value; this.SendPropertyChanged("Tiket_Mgmt_Id"); this.OnTiket_Mgmt_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SeatingArrangement", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary SeatingArrangement { get { return this._SeatingArrangement; } set { if ((this._SeatingArrangement != value)) { this.OnSeatingArrangementChanging(value); this.SendPropertyChanging(); this._SeatingArrangement = value; this.SendPropertyChanged("SeatingArrangement"); this.OnSeatingArrangementChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketSaleClosingDate", DbType="VarChar(12) NOT NULL", CanBeNull=false)] public string TicketSaleClosingDate { get { return this._TicketSaleClosingDate; } set { if ((this._TicketSaleClosingDate != value)) { this.OnTicketSaleClosingDateChanging(value); this.SendPropertyChanging(); this._TicketSaleClosingDate = value; this.SendPropertyChanged("TicketSaleClosingDate"); this.OnTicketSaleClosingDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketType", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string TicketType { get { return this._TicketType; } set { if ((this._TicketType != value)) { this.OnTicketTypeChanging(value); this.SendPropertyChanging(); this._TicketType = value; this.SendPropertyChanged("TicketType"); this.OnTicketTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalQty", DbType="Decimal(6,0) NOT NULL")] public decimal TotalQty { get { return this._TotalQty; } set { if ((this._TotalQty != value)) { this.OnTotalQtyChanging(value); this.SendPropertyChanging(); this._TotalQty = value; this.SendPropertyChanged("TotalQty"); this.OnTotalQtyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitPrice", DbType="VarChar(6) NOT NULL", CanBeNull=false)] public string UnitPrice { get { return this._UnitPrice; } set { if ((this._UnitPrice != value)) { this.OnUnitPriceChanging(value); this.SendPropertyChanging(); this._UnitPrice = value; this.SendPropertyChanged("UnitPrice"); this.OnUnitPriceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxOrder", DbType="Decimal(6,0) NOT NULL")] public decimal MaxOrder { get { return this._MaxOrder; } set { if ((this._MaxOrder != value)) { this.OnMaxOrderChanging(value); this.SendPropertyChanging(); this._MaxOrder = value; this.SendPropertyChanged("MaxOrder"); this.OnMaxOrderChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MinOrder", DbType="Decimal(6,0) NOT NULL")] public decimal MinOrder { get { return this._MinOrder; } set { if ((this._MinOrder != value)) { this.OnMinOrderChanging(value); this.SendPropertyChanging(); this._MinOrder = value; this.SendPropertyChanged("MinOrder"); this.OnMinOrderChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AvailableQty", DbType="Decimal(6,0)")] public System.Nullable AvailableQty { get { return this._AvailableQty; } set { if ((this._AvailableQty != value)) { this.OnAvailableQtyChanging(value); this.SendPropertyChanging(); this._AvailableQty = value; this.SendPropertyChanged("AvailableQty"); this.OnAvailableQtyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TermsConditions", DbType="VarBinary(MAX)", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary TermsConditions { get { return this._TermsConditions; } set { if ((this._TermsConditions != value)) { this.OnTermsConditionsChanging(value); this.SendPropertyChanging(); this._TermsConditions = value; this.SendPropertyChanged("TermsConditions"); this.OnTermsConditionsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedBy", DbType="VarChar(256) NOT NULL", CanBeNull=false)] public string CreatedBy { get { return this._CreatedBy; } set { if ((this._CreatedBy != value)) { this.OnCreatedByChanging(value); this.SendPropertyChanging(); this._CreatedBy = value; this.SendPropertyChanged("CreatedBy"); this.OnCreatedByChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="Date NOT NULL")] public System.DateTime CreateDate { get { return this._CreateDate; } set { if ((this._CreateDate != value)) { this.OnCreateDateChanging(value); this.SendPropertyChanging(); this._CreateDate = value; this.SendPropertyChanged("CreateDate"); this.OnCreateDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Mgmt_Event_Ticket_Buy_Detail", Storage="_Event_Ticket_Buy_Details", ThisKey="Tiket_Mgmt_Id", OtherKey="TicketMgmtId")] public EntitySet Event_Ticket_Buy_Details { get { return this._Event_Ticket_Buy_Details; } set { this._Event_Ticket_Buy_Details.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Mgmt_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Buyer_Dets", ThisKey="Tiket_Mgmt_Id", OtherKey="TicketMgmtId")] public EntitySet Event_Ticket_Buyer_Dets { get { return this._Event_Ticket_Buyer_Dets; } set { this._Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Mgmt_Dummy_Event_Ticket_Buyer_Det", Storage="_Dummy_Event_Ticket_Buyer_Dets", ThisKey="Tiket_Mgmt_Id", OtherKey="TicketMgmtId")] public EntitySet Dummy_Event_Ticket_Buyer_Dets { get { return this._Dummy_Event_Ticket_Buyer_Dets; } set { this._Dummy_Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Mgmt_Dummy_Event_Ticket_Buy_Detail", Storage="_Dummy_Event_Ticket_Buy_Details", ThisKey="Tiket_Mgmt_Id", OtherKey="TicketMgmtId")] public EntitySet Dummy_Event_Ticket_Buy_Details { get { return this._Dummy_Event_Ticket_Buy_Details; } set { this._Dummy_Event_Ticket_Buy_Details.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Ticket_Mgmt", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Ticket_Mgmts.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Ticket_Mgmts.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } 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_Event_Ticket_Buy_Details(Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Ticket_Mgmt = this; } private void detach_Event_Ticket_Buy_Details(Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Ticket_Mgmt = null; } private void attach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Ticket_Mgmt = this; } private void detach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Ticket_Mgmt = null; } private void attach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Ticket_Mgmt = this; } private void detach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Ticket_Mgmt = null; } private void attach_Dummy_Event_Ticket_Buy_Details(Dummy_Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Ticket_Mgmt = this; } private void detach_Dummy_Event_Ticket_Buy_Details(Dummy_Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Ticket_Mgmt = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Ticket_Receipt_Det")] public partial class Event_Ticket_Receipt_Det : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Event_ReceiptId; private decimal _AdId; private System.Nullable _TotQty; private string _TotalCost; private EntitySet _Event_Ticket_Buy_Details; private EntitySet _Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buy_Details; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEvent_ReceiptIdChanging(decimal value); partial void OnEvent_ReceiptIdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnTotQtyChanging(System.Nullable value); partial void OnTotQtyChanged(); partial void OnTotalCostChanging(string value); partial void OnTotalCostChanged(); #endregion public Event_Ticket_Receipt_Det() { this._Event_Ticket_Buy_Details = new EntitySet(new Action(this.attach_Event_Ticket_Buy_Details), new Action(this.detach_Event_Ticket_Buy_Details)); this._Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Event_Ticket_Buyer_Dets), new Action(this.detach_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buyer_Dets), new Action(this.detach_Dummy_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buy_Details = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buy_Details), new Action(this.detach_Dummy_Event_Ticket_Buy_Details)); this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_ReceiptId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Event_ReceiptId { get { return this._Event_ReceiptId; } set { if ((this._Event_ReceiptId != value)) { this.OnEvent_ReceiptIdChanging(value); this.SendPropertyChanging(); this._Event_ReceiptId = value; this.SendPropertyChanged("Event_ReceiptId"); this.OnEvent_ReceiptIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotQty", DbType="Decimal(6,0)")] public System.Nullable TotQty { get { return this._TotQty; } set { if ((this._TotQty != value)) { this.OnTotQtyChanging(value); this.SendPropertyChanging(); this._TotQty = value; this.SendPropertyChanged("TotQty"); this.OnTotQtyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalCost", DbType="VarChar(10)")] public string TotalCost { get { return this._TotalCost; } set { if ((this._TotalCost != value)) { this.OnTotalCostChanging(value); this.SendPropertyChanging(); this._TotalCost = value; this.SendPropertyChanged("TotalCost"); this.OnTotalCostChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Receipt_Det_Event_Ticket_Buy_Detail", Storage="_Event_Ticket_Buy_Details", ThisKey="Event_ReceiptId", OtherKey="TicketReceiptId")] public EntitySet Event_Ticket_Buy_Details { get { return this._Event_Ticket_Buy_Details; } set { this._Event_Ticket_Buy_Details.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Receipt_Det_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Buyer_Dets", ThisKey="Event_ReceiptId", OtherKey="TicketReceiptId")] public EntitySet Event_Ticket_Buyer_Dets { get { return this._Event_Ticket_Buyer_Dets; } set { this._Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Receipt_Det_Dummy_Event_Ticket_Buyer_Det", Storage="_Dummy_Event_Ticket_Buyer_Dets", ThisKey="Event_ReceiptId", OtherKey="TicketReceiptId")] public EntitySet Dummy_Event_Ticket_Buyer_Dets { get { return this._Dummy_Event_Ticket_Buyer_Dets; } set { this._Dummy_Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Receipt_Det_Dummy_Event_Ticket_Buy_Detail", Storage="_Dummy_Event_Ticket_Buy_Details", ThisKey="Event_ReceiptId", OtherKey="TicketReceiptId")] public EntitySet Dummy_Event_Ticket_Buy_Details { get { return this._Dummy_Event_Ticket_Buy_Details; } set { this._Dummy_Event_Ticket_Buy_Details.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Ticket_Receipt_Det", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Ticket_Receipt_Dets.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Ticket_Receipt_Dets.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } 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_Event_Ticket_Buy_Details(Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Ticket_Receipt_Det = this; } private void detach_Event_Ticket_Buy_Details(Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Ticket_Receipt_Det = null; } private void attach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Ticket_Receipt_Det = this; } private void detach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Ticket_Receipt_Det = null; } private void attach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Ticket_Receipt_Det = this; } private void detach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Ticket_Receipt_Det = null; } private void attach_Dummy_Event_Ticket_Buy_Details(Dummy_Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Ticket_Receipt_Det = this; } private void detach_Dummy_Event_Ticket_Buy_Details(Dummy_Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Ticket_Receipt_Det = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Ticket_Buy_Details")] public partial class Event_Ticket_Buy_Detail : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _TicketbuyId; private decimal _AdId; private System.Nullable _TicketMgmtId; private System.Nullable _TicketReceiptId; private decimal _Quantity; private string _TotalCost; private string _Fee; private System.DateTime _CreatedDate; private EntityRef _Event_Ticket_Mgmt; private EntityRef _Event_Ticket_Receipt_Det; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnTicketbuyIdChanging(decimal value); partial void OnTicketbuyIdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnTicketMgmtIdChanging(System.Nullable value); partial void OnTicketMgmtIdChanged(); partial void OnTicketReceiptIdChanging(System.Nullable value); partial void OnTicketReceiptIdChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnTotalCostChanging(string value); partial void OnTotalCostChanged(); partial void OnFeeChanging(string value); partial void OnFeeChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); #endregion public Event_Ticket_Buy_Detail() { this._Event_Ticket_Mgmt = default(EntityRef); this._Event_Ticket_Receipt_Det = default(EntityRef); this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketbuyId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal TicketbuyId { get { return this._TicketbuyId; } set { if ((this._TicketbuyId != value)) { this.OnTicketbuyIdChanging(value); this.SendPropertyChanging(); this._TicketbuyId = value; this.SendPropertyChanged("TicketbuyId"); this.OnTicketbuyIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketMgmtId", DbType="Decimal(10,0)")] public System.Nullable TicketMgmtId { get { return this._TicketMgmtId; } set { if ((this._TicketMgmtId != value)) { if (this._Event_Ticket_Mgmt.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnTicketMgmtIdChanging(value); this.SendPropertyChanging(); this._TicketMgmtId = value; this.SendPropertyChanged("TicketMgmtId"); this.OnTicketMgmtIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketReceiptId", DbType="Decimal(10,0)")] public System.Nullable TicketReceiptId { get { return this._TicketReceiptId; } set { if ((this._TicketReceiptId != value)) { if (this._Event_Ticket_Receipt_Det.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnTicketReceiptIdChanging(value); this.SendPropertyChanging(); this._TicketReceiptId = value; this.SendPropertyChanged("TicketReceiptId"); this.OnTicketReceiptIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(4,0) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalCost", DbType="VarChar(10) NOT NULL", CanBeNull=false)] public string TotalCost { get { return this._TotalCost; } set { if ((this._TotalCost != value)) { this.OnTotalCostChanging(value); this.SendPropertyChanging(); this._TotalCost = value; this.SendPropertyChanged("TotalCost"); this.OnTotalCostChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Fee", DbType="VarChar(10)")] public string Fee { get { return this._Fee; } set { if ((this._Fee != value)) { this.OnFeeChanging(value); this.SendPropertyChanging(); this._Fee = value; this.SendPropertyChanged("Fee"); this.OnFeeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Mgmt_Event_Ticket_Buy_Detail", Storage="_Event_Ticket_Mgmt", ThisKey="TicketMgmtId", OtherKey="Tiket_Mgmt_Id", IsForeignKey=true)] public Event_Ticket_Mgmt Event_Ticket_Mgmt { get { return this._Event_Ticket_Mgmt.Entity; } set { Event_Ticket_Mgmt previousValue = this._Event_Ticket_Mgmt.Entity; if (((previousValue != value) || (this._Event_Ticket_Mgmt.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Ticket_Mgmt.Entity = null; previousValue.Event_Ticket_Buy_Details.Remove(this); } this._Event_Ticket_Mgmt.Entity = value; if ((value != null)) { value.Event_Ticket_Buy_Details.Add(this); this._TicketMgmtId = value.Tiket_Mgmt_Id; } else { this._TicketMgmtId = default(Nullable); } this.SendPropertyChanged("Event_Ticket_Mgmt"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Receipt_Det_Event_Ticket_Buy_Detail", Storage="_Event_Ticket_Receipt_Det", ThisKey="TicketReceiptId", OtherKey="Event_ReceiptId", IsForeignKey=true)] public Event_Ticket_Receipt_Det Event_Ticket_Receipt_Det { get { return this._Event_Ticket_Receipt_Det.Entity; } set { Event_Ticket_Receipt_Det previousValue = this._Event_Ticket_Receipt_Det.Entity; if (((previousValue != value) || (this._Event_Ticket_Receipt_Det.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Ticket_Receipt_Det.Entity = null; previousValue.Event_Ticket_Buy_Details.Remove(this); } this._Event_Ticket_Receipt_Det.Entity = value; if ((value != null)) { value.Event_Ticket_Buy_Details.Add(this); this._TicketReceiptId = value.Event_ReceiptId; } else { this._TicketReceiptId = default(Nullable); } this.SendPropertyChanged("Event_Ticket_Receipt_Det"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Ticket_Buy_Detail", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Ticket_Buy_Details.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Ticket_Buy_Details.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.UserAdsDet")] public partial class UserAdsDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _UserAdId; private string _UserEmailId; private decimal _CategoryId; private System.Nullable _SubCategoryId; private string _AdTitle; private System.Nullable _Price; private string _Location; private string _Description; private string _OtherDecription; private string _AdType; private string _AdditionalInfo; private string _Status; private string _VideoUrl; private string _Altitude; private string _Longitude; private System.DateTime _CreatedDate; private string _ZipCode; private string _City; private string _BusinessURL; private string _Services; private string _ImageUrl; private EntitySet _Event_Guests; private EntitySet _Event_Invitees; private EntitySet _Event_Partners; private EntitySet _Event_Sponsor_Creates; private EntitySet _UserAdsImagesDets; private EntitySet _AdResponseDets; private EntitySet _Event_Venue_Managers; private EntitySet _Event_Supplier_Networks; private EntitySet _UserAdServiceDets; private EntitySet _Event_Oraganization_Creates; private EntitySet _Event_Organizers; private EntitySet _Event_Ticket_Mgmts; private EntitySet _Event_Ticket_Receipt_Dets; private EntitySet _Event_Ticket_Buy_Details; private EntitySet _Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buy_Details; private EntitySet _Event_Creates; private EntityRef _CategoryDet; private EntityRef _SubCategoryDet; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnUserAdIdChanging(decimal value); partial void OnUserAdIdChanged(); partial void OnUserEmailIdChanging(string value); partial void OnUserEmailIdChanged(); partial void OnCategoryIdChanging(decimal value); partial void OnCategoryIdChanged(); partial void OnSubCategoryIdChanging(System.Nullable value); partial void OnSubCategoryIdChanged(); partial void OnAdTitleChanging(string value); partial void OnAdTitleChanged(); partial void OnPriceChanging(System.Nullable value); partial void OnPriceChanged(); partial void OnLocationChanging(string value); partial void OnLocationChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); partial void OnOtherDecriptionChanging(string value); partial void OnOtherDecriptionChanged(); partial void OnAdTypeChanging(string value); partial void OnAdTypeChanged(); partial void OnAdditionalInfoChanging(string value); partial void OnAdditionalInfoChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnVideoUrlChanging(string value); partial void OnVideoUrlChanged(); partial void OnAltitudeChanging(string value); partial void OnAltitudeChanged(); partial void OnLongitudeChanging(string value); partial void OnLongitudeChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); partial void OnZipCodeChanging(string value); partial void OnZipCodeChanged(); partial void OnCityChanging(string value); partial void OnCityChanged(); partial void OnBusinessURLChanging(string value); partial void OnBusinessURLChanged(); partial void OnServicesChanging(string value); partial void OnServicesChanged(); partial void OnImageUrlChanging(string value); partial void OnImageUrlChanged(); #endregion public UserAdsDet() { this._Event_Guests = new EntitySet(new Action(this.attach_Event_Guests), new Action(this.detach_Event_Guests)); this._Event_Invitees = new EntitySet(new Action(this.attach_Event_Invitees), new Action(this.detach_Event_Invitees)); this._Event_Partners = new EntitySet(new Action(this.attach_Event_Partners), new Action(this.detach_Event_Partners)); this._Event_Sponsor_Creates = new EntitySet(new Action(this.attach_Event_Sponsor_Creates), new Action(this.detach_Event_Sponsor_Creates)); this._UserAdsImagesDets = new EntitySet(new Action(this.attach_UserAdsImagesDets), new Action(this.detach_UserAdsImagesDets)); this._AdResponseDets = new EntitySet(new Action(this.attach_AdResponseDets), new Action(this.detach_AdResponseDets)); this._Event_Venue_Managers = new EntitySet(new Action(this.attach_Event_Venue_Managers), new Action(this.detach_Event_Venue_Managers)); this._Event_Supplier_Networks = new EntitySet(new Action(this.attach_Event_Supplier_Networks), new Action(this.detach_Event_Supplier_Networks)); this._UserAdServiceDets = new EntitySet(new Action(this.attach_UserAdServiceDets), new Action(this.detach_UserAdServiceDets)); this._Event_Oraganization_Creates = new EntitySet(new Action(this.attach_Event_Oraganization_Creates), new Action(this.detach_Event_Oraganization_Creates)); this._Event_Organizers = new EntitySet(new Action(this.attach_Event_Organizers), new Action(this.detach_Event_Organizers)); this._Event_Ticket_Mgmts = new EntitySet(new Action(this.attach_Event_Ticket_Mgmts), new Action(this.detach_Event_Ticket_Mgmts)); this._Event_Ticket_Receipt_Dets = new EntitySet(new Action(this.attach_Event_Ticket_Receipt_Dets), new Action(this.detach_Event_Ticket_Receipt_Dets)); this._Event_Ticket_Buy_Details = new EntitySet(new Action(this.attach_Event_Ticket_Buy_Details), new Action(this.detach_Event_Ticket_Buy_Details)); this._Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Event_Ticket_Buyer_Dets), new Action(this.detach_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buyer_Dets), new Action(this.detach_Dummy_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buy_Details = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buy_Details), new Action(this.detach_Dummy_Event_Ticket_Buy_Details)); this._Event_Creates = new EntitySet(new Action(this.attach_Event_Creates), new Action(this.detach_Event_Creates)); this._CategoryDet = default(EntityRef); this._SubCategoryDet = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserAdId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal UserAdId { get { return this._UserAdId; } set { if ((this._UserAdId != value)) { this.OnUserAdIdChanging(value); this.SendPropertyChanging(); this._UserAdId = value; this.SendPropertyChanged("UserAdId"); this.OnUserAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserEmailId", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string UserEmailId { get { return this._UserEmailId; } set { if ((this._UserEmailId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserEmailIdChanging(value); this.SendPropertyChanging(); this._UserEmailId = value; this.SendPropertyChanged("UserEmailId"); this.OnUserEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="Decimal(2,0) NOT NULL")] public decimal CategoryId { get { return this._CategoryId; } set { if ((this._CategoryId != value)) { if (this._CategoryDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnCategoryIdChanging(value); this.SendPropertyChanging(); this._CategoryId = value; this.SendPropertyChanged("CategoryId"); this.OnCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubCategoryId", DbType="Decimal(4,0)")] public System.Nullable SubCategoryId { get { return this._SubCategoryId; } set { if ((this._SubCategoryId != value)) { if (this._SubCategoryDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnSubCategoryIdChanging(value); this.SendPropertyChanging(); this._SubCategoryId = value; this.SendPropertyChanged("SubCategoryId"); this.OnSubCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdTitle", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string AdTitle { get { return this._AdTitle; } set { if ((this._AdTitle != value)) { this.OnAdTitleChanging(value); this.SendPropertyChanging(); this._AdTitle = value; this.SendPropertyChanged("AdTitle"); this.OnAdTitleChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Price", DbType="Decimal(8,0)")] public System.Nullable Price { get { return this._Price; } set { if ((this._Price != value)) { this.OnPriceChanging(value); this.SendPropertyChanging(); this._Price = value; this.SendPropertyChanged("Price"); this.OnPriceChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Location", DbType="VarChar(500)")] public string Location { get { return this._Location; } set { if ((this._Location != value)) { this.OnLocationChanging(value); this.SendPropertyChanging(); this._Location = value; this.SendPropertyChanged("Location"); this.OnLocationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(1000)")] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OtherDecription", DbType="VarChar(1000)")] public string OtherDecription { get { return this._OtherDecription; } set { if ((this._OtherDecription != value)) { this.OnOtherDecriptionChanging(value); this.SendPropertyChanging(); this._OtherDecription = value; this.SendPropertyChanged("OtherDecription"); this.OnOtherDecriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdType", DbType="VarChar(10)")] public string AdType { get { return this._AdType; } set { if ((this._AdType != value)) { this.OnAdTypeChanging(value); this.SendPropertyChanging(); this._AdType = value; this.SendPropertyChanged("AdType"); this.OnAdTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdditionalInfo", DbType="VarChar(500)")] public string AdditionalInfo { get { return this._AdditionalInfo; } set { if ((this._AdditionalInfo != value)) { this.OnAdditionalInfoChanging(value); this.SendPropertyChanging(); this._AdditionalInfo = value; this.SendPropertyChanged("AdditionalInfo"); this.OnAdditionalInfoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="VarChar(10)")] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VideoUrl", DbType="VarChar(500)")] public string VideoUrl { get { return this._VideoUrl; } set { if ((this._VideoUrl != value)) { this.OnVideoUrlChanging(value); this.SendPropertyChanging(); this._VideoUrl = value; this.SendPropertyChanged("VideoUrl"); this.OnVideoUrlChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Altitude", DbType="VarChar(50)")] public string Altitude { get { return this._Altitude; } set { if ((this._Altitude != value)) { this.OnAltitudeChanging(value); this.SendPropertyChanging(); this._Altitude = value; this.SendPropertyChanged("Altitude"); this.OnAltitudeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Longitude", DbType="VarChar(50)")] public string Longitude { get { return this._Longitude; } set { if ((this._Longitude != value)) { this.OnLongitudeChanging(value); this.SendPropertyChanging(); this._Longitude = value; this.SendPropertyChanged("Longitude"); this.OnLongitudeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="DateTime NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ZipCode", DbType="VarChar(10)")] public string ZipCode { get { return this._ZipCode; } set { if ((this._ZipCode != value)) { this.OnZipCodeChanging(value); this.SendPropertyChanging(); this._ZipCode = value; this.SendPropertyChanged("ZipCode"); this.OnZipCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_City", DbType="VarChar(300)")] public string City { get { return this._City; } set { if ((this._City != value)) { this.OnCityChanging(value); this.SendPropertyChanging(); this._City = value; this.SendPropertyChanged("City"); this.OnCityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessURL", DbType="VarChar(300)")] public string BusinessURL { get { return this._BusinessURL; } set { if ((this._BusinessURL != value)) { this.OnBusinessURLChanging(value); this.SendPropertyChanging(); this._BusinessURL = value; this.SendPropertyChanged("BusinessURL"); this.OnBusinessURLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Services", DbType="VarChar(5000)")] public string Services { get { return this._Services; } set { if ((this._Services != value)) { this.OnServicesChanging(value); this.SendPropertyChanging(); this._Services = value; this.SendPropertyChanged("Services"); this.OnServicesChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageUrl", DbType="VarChar(500)")] public string ImageUrl { get { return this._ImageUrl; } set { if ((this._ImageUrl != value)) { this.OnImageUrlChanging(value); this.SendPropertyChanging(); this._ImageUrl = value; this.SendPropertyChanged("ImageUrl"); this.OnImageUrlChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Guest", Storage="_Event_Guests", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Guests { get { return this._Event_Guests; } set { this._Event_Guests.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Invitee", Storage="_Event_Invitees", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Invitees { get { return this._Event_Invitees; } set { this._Event_Invitees.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Partner", Storage="_Event_Partners", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Partners { get { return this._Event_Partners; } set { this._Event_Partners.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Sponsor_Create", Storage="_Event_Sponsor_Creates", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Sponsor_Creates { get { return this._Event_Sponsor_Creates; } set { this._Event_Sponsor_Creates.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_UserAdsImagesDet", Storage="_UserAdsImagesDets", ThisKey="UserAdId", OtherKey="UserAdId")] public EntitySet UserAdsImagesDets { get { return this._UserAdsImagesDets; } set { this._UserAdsImagesDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_AdResponseDet", Storage="_AdResponseDets", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet AdResponseDets { get { return this._AdResponseDets; } set { this._AdResponseDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Venue_Manager", Storage="_Event_Venue_Managers", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Venue_Managers { get { return this._Event_Venue_Managers; } set { this._Event_Venue_Managers.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Supplier_Network", Storage="_Event_Supplier_Networks", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Supplier_Networks { get { return this._Event_Supplier_Networks; } set { this._Event_Supplier_Networks.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_UserAdServiceDet", Storage="_UserAdServiceDets", ThisKey="UserAdId", OtherKey="UserAdID")] public EntitySet UserAdServiceDets { get { return this._UserAdServiceDets; } set { this._UserAdServiceDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Oraganization_Create", Storage="_Event_Oraganization_Creates", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Oraganization_Creates { get { return this._Event_Oraganization_Creates; } set { this._Event_Oraganization_Creates.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Organizer", Storage="_Event_Organizers", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Organizers { get { return this._Event_Organizers; } set { this._Event_Organizers.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Ticket_Mgmt", Storage="_Event_Ticket_Mgmts", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Ticket_Mgmts { get { return this._Event_Ticket_Mgmts; } set { this._Event_Ticket_Mgmts.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Ticket_Receipt_Det", Storage="_Event_Ticket_Receipt_Dets", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Ticket_Receipt_Dets { get { return this._Event_Ticket_Receipt_Dets; } set { this._Event_Ticket_Receipt_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Ticket_Buy_Detail", Storage="_Event_Ticket_Buy_Details", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Ticket_Buy_Details { get { return this._Event_Ticket_Buy_Details; } set { this._Event_Ticket_Buy_Details.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Buyer_Dets", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Ticket_Buyer_Dets { get { return this._Event_Ticket_Buyer_Dets; } set { this._Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Dummy_Event_Ticket_Buyer_Det", Storage="_Dummy_Event_Ticket_Buyer_Dets", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Dummy_Event_Ticket_Buyer_Dets { get { return this._Dummy_Event_Ticket_Buyer_Dets; } set { this._Dummy_Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Dummy_Event_Ticket_Buy_Detail", Storage="_Dummy_Event_Ticket_Buy_Details", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Dummy_Event_Ticket_Buy_Details { get { return this._Dummy_Event_Ticket_Buy_Details; } set { this._Dummy_Event_Ticket_Buy_Details.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Create", Storage="_Event_Creates", ThisKey="UserAdId", OtherKey="AdId")] public EntitySet Event_Creates { get { return this._Event_Creates; } set { this._Event_Creates.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CategoryDet_UserAdsDet", Storage="_CategoryDet", ThisKey="CategoryId", OtherKey="CategoryId", IsForeignKey=true)] public CategoryDet CategoryDet { get { return this._CategoryDet.Entity; } set { CategoryDet previousValue = this._CategoryDet.Entity; if (((previousValue != value) || (this._CategoryDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._CategoryDet.Entity = null; previousValue.UserAdsDets.Remove(this); } this._CategoryDet.Entity = value; if ((value != null)) { value.UserAdsDets.Add(this); this._CategoryId = value.CategoryId; } else { this._CategoryId = default(decimal); } this.SendPropertyChanged("CategoryDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="SubCategoryDet_UserAdsDet", Storage="_SubCategoryDet", ThisKey="SubCategoryId", OtherKey="SubCategoryId", IsForeignKey=true)] public SubCategoryDet SubCategoryDet { get { return this._SubCategoryDet.Entity; } set { SubCategoryDet previousValue = this._SubCategoryDet.Entity; if (((previousValue != value) || (this._SubCategoryDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._SubCategoryDet.Entity = null; previousValue.UserAdsDets.Remove(this); } this._SubCategoryDet.Entity = value; if ((value != null)) { value.UserAdsDets.Add(this); this._SubCategoryId = value.SubCategoryId; } else { this._SubCategoryId = default(Nullable); } this.SendPropertyChanged("SubCategoryDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_UserAdsDet", Storage="_UserDet", ThisKey="UserEmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.UserAdsDets.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.UserAdsDets.Add(this); this._UserEmailId = value.EmailId; } else { this._UserEmailId = default(string); } this.SendPropertyChanged("UserDet"); } } } 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_Event_Guests(Event_Guest entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Guests(Event_Guest entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Invitees(Event_Invitee entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Invitees(Event_Invitee entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Partners(Event_Partner entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Partners(Event_Partner entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Sponsor_Creates(Event_Sponsor_Create entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Sponsor_Creates(Event_Sponsor_Create entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_UserAdsImagesDets(UserAdsImagesDet entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_UserAdsImagesDets(UserAdsImagesDet entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_AdResponseDets(AdResponseDet entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_AdResponseDets(AdResponseDet entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Venue_Managers(Event_Venue_Manager entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Venue_Managers(Event_Venue_Manager entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Supplier_Networks(Event_Supplier_Network entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Supplier_Networks(Event_Supplier_Network entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_UserAdServiceDets(UserAdServiceDet entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_UserAdServiceDets(UserAdServiceDet entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Oraganization_Creates(Event_Oraganization_Create entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Oraganization_Creates(Event_Oraganization_Create entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Organizers(Event_Organizer entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Organizers(Event_Organizer entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Ticket_Mgmts(Event_Ticket_Mgmt entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Ticket_Mgmts(Event_Ticket_Mgmt entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Ticket_Receipt_Dets(Event_Ticket_Receipt_Det entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Ticket_Receipt_Dets(Event_Ticket_Receipt_Det entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Ticket_Buy_Details(Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Ticket_Buy_Details(Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Dummy_Event_Ticket_Buy_Details(Dummy_Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Dummy_Event_Ticket_Buy_Details(Dummy_Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } private void attach_Event_Creates(Event_Create entity) { this.SendPropertyChanging(); entity.UserAdsDet = this; } private void detach_Event_Creates(Event_Create entity) { this.SendPropertyChanging(); entity.UserAdsDet = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.cities")] public partial class city { private decimal _id; private string _zip_codes; private string _name; private string _county; private string _state_code; private string _state; private string _type; private System.Nullable _latitude; private System.Nullable _longitude; private string _area_code; private System.Nullable _population; private System.Nullable _households; private System.Nullable _median_income; private System.Nullable _land_area; private System.Nullable _water_area; private string _time_zone; public city() { } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_id", AutoSync=AutoSync.Always, DbType="Decimal(6,0) NOT NULL IDENTITY", IsDbGenerated=true)] public decimal id { get { return this._id; } set { if ((this._id != value)) { this._id = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_zip_codes", DbType="VarChar(2701)")] public string zip_codes { get { return this._zip_codes; } set { if ((this._zip_codes != value)) { this._zip_codes = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_name", DbType="VarChar(35)")] public string name { get { return this._name; } set { if ((this._name != value)) { this._name = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_county", DbType="VarChar(80)")] public string county { get { return this._county; } set { if ((this._county != value)) { this._county = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_state_code", DbType="Char(2)")] public string state_code { get { return this._state_code; } set { if ((this._state_code != value)) { this._state_code = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_state", DbType="VarChar(20)")] public string state { get { return this._state; } set { if ((this._state != value)) { this._state = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_type", DbType="VarChar(23)")] public string type { get { return this._type; } set { if ((this._type != value)) { this._type = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_latitude", DbType="Decimal(8,5)")] public System.Nullable latitude { get { return this._latitude; } set { if ((this._latitude != value)) { this._latitude = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_longitude", DbType="Decimal(8,5)")] public System.Nullable longitude { get { return this._longitude; } set { if ((this._longitude != value)) { this._longitude = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_area_code", DbType="VarChar(33)")] public string area_code { get { return this._area_code; } set { if ((this._area_code != value)) { this._area_code = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_population", DbType="Int")] public System.Nullable population { get { return this._population; } set { if ((this._population != value)) { this._population = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_households", DbType="Int")] public System.Nullable households { get { return this._households; } set { if ((this._households != value)) { this._households = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_median_income", DbType="Int")] public System.Nullable median_income { get { return this._median_income; } set { if ((this._median_income != value)) { this._median_income = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_land_area", DbType="BigInt")] public System.Nullable land_area { get { return this._land_area; } set { if ((this._land_area != value)) { this._land_area = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_water_area", DbType="BigInt")] public System.Nullable water_area { get { return this._water_area; } set { if ((this._water_area != value)) { this._water_area = value; } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_time_zone", DbType="VarChar(30)")] public string time_zone { get { return this._time_zone; } set { if ((this._time_zone != value)) { this._time_zone = value; } } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Ticket_Buyer_Det")] public partial class Event_Ticket_Buyer_Det : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _EventTicketBuyerId; private decimal _AdId; private System.Nullable _TicketReceiptId; private System.Nullable _TicketMgmtId; private System.Nullable _TicketQty; private string _TotalCost; private System.Nullable _CreatedDate; private string _BuyerEmailId; private System.Nullable _Event_Id; private EntityRef _Event_Ticket_Mgmt; private EntityRef _Event_Ticket_Receipt_Det; private EntityRef _UserAdsDet; private EntityRef _Event_Create; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEventTicketBuyerIdChanging(decimal value); partial void OnEventTicketBuyerIdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnTicketReceiptIdChanging(System.Nullable value); partial void OnTicketReceiptIdChanged(); partial void OnTicketMgmtIdChanging(System.Nullable value); partial void OnTicketMgmtIdChanged(); partial void OnTicketQtyChanging(System.Nullable value); partial void OnTicketQtyChanged(); partial void OnTotalCostChanging(string value); partial void OnTotalCostChanged(); partial void OnCreatedDateChanging(System.Nullable value); partial void OnCreatedDateChanged(); partial void OnBuyerEmailIdChanging(string value); partial void OnBuyerEmailIdChanged(); partial void OnEvent_IdChanging(System.Nullable value); partial void OnEvent_IdChanged(); #endregion public Event_Ticket_Buyer_Det() { this._Event_Ticket_Mgmt = default(EntityRef); this._Event_Ticket_Receipt_Det = default(EntityRef); this._UserAdsDet = default(EntityRef); this._Event_Create = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTicketBuyerId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal EventTicketBuyerId { get { return this._EventTicketBuyerId; } set { if ((this._EventTicketBuyerId != value)) { this.OnEventTicketBuyerIdChanging(value); this.SendPropertyChanging(); this._EventTicketBuyerId = value; this.SendPropertyChanged("EventTicketBuyerId"); this.OnEventTicketBuyerIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketReceiptId", DbType="Decimal(10,0)")] public System.Nullable TicketReceiptId { get { return this._TicketReceiptId; } set { if ((this._TicketReceiptId != value)) { if (this._Event_Ticket_Receipt_Det.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnTicketReceiptIdChanging(value); this.SendPropertyChanging(); this._TicketReceiptId = value; this.SendPropertyChanged("TicketReceiptId"); this.OnTicketReceiptIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketMgmtId", DbType="Decimal(10,0)")] public System.Nullable TicketMgmtId { get { return this._TicketMgmtId; } set { if ((this._TicketMgmtId != value)) { if (this._Event_Ticket_Mgmt.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnTicketMgmtIdChanging(value); this.SendPropertyChanging(); this._TicketMgmtId = value; this.SendPropertyChanged("TicketMgmtId"); this.OnTicketMgmtIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketQty", DbType="Decimal(6,0)")] public System.Nullable TicketQty { get { return this._TicketQty; } set { if ((this._TicketQty != value)) { this.OnTicketQtyChanging(value); this.SendPropertyChanging(); this._TicketQty = value; this.SendPropertyChanged("TicketQty"); this.OnTicketQtyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalCost", DbType="VarChar(10)")] public string TotalCost { get { return this._TotalCost; } set { if ((this._TotalCost != value)) { this.OnTotalCostChanging(value); this.SendPropertyChanging(); this._TotalCost = value; this.SendPropertyChanged("TotalCost"); this.OnTotalCostChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date")] public System.Nullable CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuyerEmailId", DbType="VarChar(100)")] public string BuyerEmailId { get { return this._BuyerEmailId; } set { if ((this._BuyerEmailId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnBuyerEmailIdChanging(value); this.SendPropertyChanging(); this._BuyerEmailId = value; this.SendPropertyChanged("BuyerEmailId"); this.OnBuyerEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Id", DbType="Decimal(10,0)")] public System.Nullable Event_Id { get { return this._Event_Id; } set { if ((this._Event_Id != value)) { if (this._Event_Create.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnEvent_IdChanging(value); this.SendPropertyChanging(); this._Event_Id = value; this.SendPropertyChanged("Event_Id"); this.OnEvent_IdChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Mgmt_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Mgmt", ThisKey="TicketMgmtId", OtherKey="Tiket_Mgmt_Id", IsForeignKey=true)] public Event_Ticket_Mgmt Event_Ticket_Mgmt { get { return this._Event_Ticket_Mgmt.Entity; } set { Event_Ticket_Mgmt previousValue = this._Event_Ticket_Mgmt.Entity; if (((previousValue != value) || (this._Event_Ticket_Mgmt.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Ticket_Mgmt.Entity = null; previousValue.Event_Ticket_Buyer_Dets.Remove(this); } this._Event_Ticket_Mgmt.Entity = value; if ((value != null)) { value.Event_Ticket_Buyer_Dets.Add(this); this._TicketMgmtId = value.Tiket_Mgmt_Id; } else { this._TicketMgmtId = default(Nullable); } this.SendPropertyChanged("Event_Ticket_Mgmt"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Receipt_Det_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Receipt_Det", ThisKey="TicketReceiptId", OtherKey="Event_ReceiptId", IsForeignKey=true)] public Event_Ticket_Receipt_Det Event_Ticket_Receipt_Det { get { return this._Event_Ticket_Receipt_Det.Entity; } set { Event_Ticket_Receipt_Det previousValue = this._Event_Ticket_Receipt_Det.Entity; if (((previousValue != value) || (this._Event_Ticket_Receipt_Det.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Ticket_Receipt_Det.Entity = null; previousValue.Event_Ticket_Buyer_Dets.Remove(this); } this._Event_Ticket_Receipt_Det.Entity = value; if ((value != null)) { value.Event_Ticket_Buyer_Dets.Add(this); this._TicketReceiptId = value.Event_ReceiptId; } else { this._TicketReceiptId = default(Nullable); } this.SendPropertyChanged("Event_Ticket_Receipt_Det"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Ticket_Buyer_Det", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Ticket_Buyer_Dets.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Ticket_Buyer_Dets.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Create_Event_Ticket_Buyer_Det", Storage="_Event_Create", ThisKey="Event_Id", OtherKey="Event_Id", IsForeignKey=true)] public Event_Create Event_Create { get { return this._Event_Create.Entity; } set { Event_Create previousValue = this._Event_Create.Entity; if (((previousValue != value) || (this._Event_Create.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Create.Entity = null; previousValue.Event_Ticket_Buyer_Dets.Remove(this); } this._Event_Create.Entity = value; if ((value != null)) { value.Event_Ticket_Buyer_Dets.Add(this); this._Event_Id = value.Event_Id; } else { this._Event_Id = default(Nullable); } this.SendPropertyChanged("Event_Create"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Event_Ticket_Buyer_Det", Storage="_UserDet", ThisKey="BuyerEmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.Event_Ticket_Buyer_Dets.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.Event_Ticket_Buyer_Dets.Add(this); this._BuyerEmailId = value.EmailId; } else { this._BuyerEmailId = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Dummy_Event_Pay_Id")] public partial class Dummy_Event_Pay_Id : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Event_Ticket_Pay_Id; private decimal _AdId; private decimal _Ticket_ReceiptId; private System.Nullable _TicketMgmtId; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEvent_Ticket_Pay_IdChanging(decimal value); partial void OnEvent_Ticket_Pay_IdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnTicket_ReceiptIdChanging(decimal value); partial void OnTicket_ReceiptIdChanged(); partial void OnTicketMgmtIdChanging(System.Nullable value); partial void OnTicketMgmtIdChanged(); #endregion public Dummy_Event_Pay_Id() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Ticket_Pay_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Event_Ticket_Pay_Id { get { return this._Event_Ticket_Pay_Id; } set { if ((this._Event_Ticket_Pay_Id != value)) { this.OnEvent_Ticket_Pay_IdChanging(value); this.SendPropertyChanging(); this._Event_Ticket_Pay_Id = value; this.SendPropertyChanged("Event_Ticket_Pay_Id"); this.OnEvent_Ticket_Pay_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ticket_ReceiptId", DbType="Decimal(10,0) NOT NULL")] public decimal Ticket_ReceiptId { get { return this._Ticket_ReceiptId; } set { if ((this._Ticket_ReceiptId != value)) { this.OnTicket_ReceiptIdChanging(value); this.SendPropertyChanging(); this._Ticket_ReceiptId = value; this.SendPropertyChanged("Ticket_ReceiptId"); this.OnTicket_ReceiptIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketMgmtId", DbType="Decimal(10,0)")] public System.Nullable TicketMgmtId { get { return this._TicketMgmtId; } set { if ((this._TicketMgmtId != value)) { this.OnTicketMgmtIdChanging(value); this.SendPropertyChanging(); this._TicketMgmtId = value; this.SendPropertyChanged("TicketMgmtId"); this.OnTicketMgmtIdChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Dummy_Event_Ticket_Available")] public partial class Dummy_Event_Ticket_Available : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _id; private decimal _TicketIdMgmtId; private decimal _AvailableQty; private System.Nullable _ReceiptId; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnidChanging(decimal value); partial void OnidChanged(); partial void OnTicketIdMgmtIdChanging(decimal value); partial void OnTicketIdMgmtIdChanged(); partial void OnAvailableQtyChanging(decimal value); partial void OnAvailableQtyChanged(); partial void OnReceiptIdChanging(System.Nullable value); partial void OnReceiptIdChanged(); #endregion public Dummy_Event_Ticket_Available() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal id { get { return this._id; } set { if ((this._id != value)) { this.OnidChanging(value); this.SendPropertyChanging(); this._id = value; this.SendPropertyChanged("id"); this.OnidChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketIdMgmtId", DbType="Decimal(10,0) NOT NULL")] public decimal TicketIdMgmtId { get { return this._TicketIdMgmtId; } set { if ((this._TicketIdMgmtId != value)) { this.OnTicketIdMgmtIdChanging(value); this.SendPropertyChanging(); this._TicketIdMgmtId = value; this.SendPropertyChanged("TicketIdMgmtId"); this.OnTicketIdMgmtIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AvailableQty", DbType="Decimal(6,0) NOT NULL")] public decimal AvailableQty { get { return this._AvailableQty; } set { if ((this._AvailableQty != value)) { this.OnAvailableQtyChanging(value); this.SendPropertyChanging(); this._AvailableQty = value; this.SendPropertyChanged("AvailableQty"); this.OnAvailableQtyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiptId", DbType="Decimal(10,0)")] public System.Nullable ReceiptId { get { return this._ReceiptId; } set { if ((this._ReceiptId != value)) { this.OnReceiptIdChanging(value); this.SendPropertyChanging(); this._ReceiptId = value; this.SendPropertyChanged("ReceiptId"); this.OnReceiptIdChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Dummy_Event_Ticket_Buyer_Det")] public partial class Dummy_Event_Ticket_Buyer_Det : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _EventTicketBuyerId; private decimal _AdId; private System.Nullable _TicketReceiptId; private System.Nullable _TicketMgmtId; private System.Nullable _TicketQty; private string _TotalCost; private System.Nullable _CreatedDate; private string _BuyerEmailId; private System.Nullable _Event_Id; private EntityRef _Event_Ticket_Mgmt; private EntityRef _Event_Ticket_Receipt_Det; private EntityRef _UserAdsDet; private EntityRef _Event_Create; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEventTicketBuyerIdChanging(decimal value); partial void OnEventTicketBuyerIdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnTicketReceiptIdChanging(System.Nullable value); partial void OnTicketReceiptIdChanged(); partial void OnTicketMgmtIdChanging(System.Nullable value); partial void OnTicketMgmtIdChanged(); partial void OnTicketQtyChanging(System.Nullable value); partial void OnTicketQtyChanged(); partial void OnTotalCostChanging(string value); partial void OnTotalCostChanged(); partial void OnCreatedDateChanging(System.Nullable value); partial void OnCreatedDateChanged(); partial void OnBuyerEmailIdChanging(string value); partial void OnBuyerEmailIdChanged(); partial void OnEvent_IdChanging(System.Nullable value); partial void OnEvent_IdChanged(); #endregion public Dummy_Event_Ticket_Buyer_Det() { this._Event_Ticket_Mgmt = default(EntityRef); this._Event_Ticket_Receipt_Det = default(EntityRef); this._UserAdsDet = default(EntityRef); this._Event_Create = default(EntityRef); this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTicketBuyerId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal EventTicketBuyerId { get { return this._EventTicketBuyerId; } set { if ((this._EventTicketBuyerId != value)) { this.OnEventTicketBuyerIdChanging(value); this.SendPropertyChanging(); this._EventTicketBuyerId = value; this.SendPropertyChanged("EventTicketBuyerId"); this.OnEventTicketBuyerIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketReceiptId", DbType="Decimal(10,0)")] public System.Nullable TicketReceiptId { get { return this._TicketReceiptId; } set { if ((this._TicketReceiptId != value)) { if (this._Event_Ticket_Receipt_Det.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnTicketReceiptIdChanging(value); this.SendPropertyChanging(); this._TicketReceiptId = value; this.SendPropertyChanged("TicketReceiptId"); this.OnTicketReceiptIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketMgmtId", DbType="Decimal(10,0)")] public System.Nullable TicketMgmtId { get { return this._TicketMgmtId; } set { if ((this._TicketMgmtId != value)) { if (this._Event_Ticket_Mgmt.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnTicketMgmtIdChanging(value); this.SendPropertyChanging(); this._TicketMgmtId = value; this.SendPropertyChanged("TicketMgmtId"); this.OnTicketMgmtIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketQty", DbType="Decimal(6,0)")] public System.Nullable TicketQty { get { return this._TicketQty; } set { if ((this._TicketQty != value)) { this.OnTicketQtyChanging(value); this.SendPropertyChanging(); this._TicketQty = value; this.SendPropertyChanged("TicketQty"); this.OnTicketQtyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalCost", DbType="VarChar(10)")] public string TotalCost { get { return this._TotalCost; } set { if ((this._TotalCost != value)) { this.OnTotalCostChanging(value); this.SendPropertyChanging(); this._TotalCost = value; this.SendPropertyChanged("TotalCost"); this.OnTotalCostChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date")] public System.Nullable CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuyerEmailId", DbType="VarChar(100)")] public string BuyerEmailId { get { return this._BuyerEmailId; } set { if ((this._BuyerEmailId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnBuyerEmailIdChanging(value); this.SendPropertyChanging(); this._BuyerEmailId = value; this.SendPropertyChanged("BuyerEmailId"); this.OnBuyerEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Id", DbType="Decimal(10,0)")] public System.Nullable Event_Id { get { return this._Event_Id; } set { if ((this._Event_Id != value)) { if (this._Event_Create.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnEvent_IdChanging(value); this.SendPropertyChanging(); this._Event_Id = value; this.SendPropertyChanged("Event_Id"); this.OnEvent_IdChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Mgmt_Dummy_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Mgmt", ThisKey="TicketMgmtId", OtherKey="Tiket_Mgmt_Id", IsForeignKey=true)] public Event_Ticket_Mgmt Event_Ticket_Mgmt { get { return this._Event_Ticket_Mgmt.Entity; } set { Event_Ticket_Mgmt previousValue = this._Event_Ticket_Mgmt.Entity; if (((previousValue != value) || (this._Event_Ticket_Mgmt.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Ticket_Mgmt.Entity = null; previousValue.Dummy_Event_Ticket_Buyer_Dets.Remove(this); } this._Event_Ticket_Mgmt.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buyer_Dets.Add(this); this._TicketMgmtId = value.Tiket_Mgmt_Id; } else { this._TicketMgmtId = default(Nullable); } this.SendPropertyChanged("Event_Ticket_Mgmt"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Receipt_Det_Dummy_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Receipt_Det", ThisKey="TicketReceiptId", OtherKey="Event_ReceiptId", IsForeignKey=true)] public Event_Ticket_Receipt_Det Event_Ticket_Receipt_Det { get { return this._Event_Ticket_Receipt_Det.Entity; } set { Event_Ticket_Receipt_Det previousValue = this._Event_Ticket_Receipt_Det.Entity; if (((previousValue != value) || (this._Event_Ticket_Receipt_Det.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Ticket_Receipt_Det.Entity = null; previousValue.Dummy_Event_Ticket_Buyer_Dets.Remove(this); } this._Event_Ticket_Receipt_Det.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buyer_Dets.Add(this); this._TicketReceiptId = value.Event_ReceiptId; } else { this._TicketReceiptId = default(Nullable); } this.SendPropertyChanged("Event_Ticket_Receipt_Det"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Dummy_Event_Ticket_Buyer_Det", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Dummy_Event_Ticket_Buyer_Dets.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buyer_Dets.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Create_Dummy_Event_Ticket_Buyer_Det", Storage="_Event_Create", ThisKey="Event_Id", OtherKey="Event_Id", IsForeignKey=true)] public Event_Create Event_Create { get { return this._Event_Create.Entity; } set { Event_Create previousValue = this._Event_Create.Entity; if (((previousValue != value) || (this._Event_Create.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Create.Entity = null; previousValue.Dummy_Event_Ticket_Buyer_Dets.Remove(this); } this._Event_Create.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buyer_Dets.Add(this); this._Event_Id = value.Event_Id; } else { this._Event_Id = default(Nullable); } this.SendPropertyChanged("Event_Create"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Dummy_Event_Ticket_Buyer_Det", Storage="_UserDet", ThisKey="BuyerEmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.Dummy_Event_Ticket_Buyer_Dets.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buyer_Dets.Add(this); this._BuyerEmailId = value.EmailId; } else { this._BuyerEmailId = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Dummy_Event_Ticket_Buy_Details")] public partial class Dummy_Event_Ticket_Buy_Detail : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _TicketbuyId; private decimal _AdId; private System.Nullable _TicketMgmtId; private System.Nullable _TicketReceiptId; private decimal _Quantity; private string _TotalCost; private string _Fee; private System.DateTime _CreatedDate; private System.Nullable _AvailQuant; private System.Nullable _Event_Id; private EntityRef _Event_Ticket_Mgmt; private EntityRef _Event_Ticket_Receipt_Det; private EntityRef _UserAdsDet; private EntityRef _Event_Create; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnTicketbuyIdChanging(decimal value); partial void OnTicketbuyIdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnTicketMgmtIdChanging(System.Nullable value); partial void OnTicketMgmtIdChanged(); partial void OnTicketReceiptIdChanging(System.Nullable value); partial void OnTicketReceiptIdChanged(); partial void OnQuantityChanging(decimal value); partial void OnQuantityChanged(); partial void OnTotalCostChanging(string value); partial void OnTotalCostChanged(); partial void OnFeeChanging(string value); partial void OnFeeChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); partial void OnAvailQuantChanging(System.Nullable value); partial void OnAvailQuantChanged(); partial void OnEvent_IdChanging(System.Nullable value); partial void OnEvent_IdChanged(); #endregion public Dummy_Event_Ticket_Buy_Detail() { this._Event_Ticket_Mgmt = default(EntityRef); this._Event_Ticket_Receipt_Det = default(EntityRef); this._UserAdsDet = default(EntityRef); this._Event_Create = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketbuyId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal TicketbuyId { get { return this._TicketbuyId; } set { if ((this._TicketbuyId != value)) { this.OnTicketbuyIdChanging(value); this.SendPropertyChanging(); this._TicketbuyId = value; this.SendPropertyChanged("TicketbuyId"); this.OnTicketbuyIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketMgmtId", DbType="Decimal(10,0)")] public System.Nullable TicketMgmtId { get { return this._TicketMgmtId; } set { if ((this._TicketMgmtId != value)) { if (this._Event_Ticket_Mgmt.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnTicketMgmtIdChanging(value); this.SendPropertyChanging(); this._TicketMgmtId = value; this.SendPropertyChanged("TicketMgmtId"); this.OnTicketMgmtIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketReceiptId", DbType="Decimal(10,0)")] public System.Nullable TicketReceiptId { get { return this._TicketReceiptId; } set { if ((this._TicketReceiptId != value)) { if (this._Event_Ticket_Receipt_Det.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnTicketReceiptIdChanging(value); this.SendPropertyChanging(); this._TicketReceiptId = value; this.SendPropertyChanged("TicketReceiptId"); this.OnTicketReceiptIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(4,0) NOT NULL")] public decimal Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalCost", DbType="VarChar(10) NOT NULL", CanBeNull=false)] public string TotalCost { get { return this._TotalCost; } set { if ((this._TotalCost != value)) { this.OnTotalCostChanging(value); this.SendPropertyChanging(); this._TotalCost = value; this.SendPropertyChanged("TotalCost"); this.OnTotalCostChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Fee", DbType="VarChar(10)")] public string Fee { get { return this._Fee; } set { if ((this._Fee != value)) { this.OnFeeChanging(value); this.SendPropertyChanging(); this._Fee = value; this.SendPropertyChanged("Fee"); this.OnFeeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AvailQuant", DbType="Decimal(6,0)")] public System.Nullable AvailQuant { get { return this._AvailQuant; } set { if ((this._AvailQuant != value)) { this.OnAvailQuantChanging(value); this.SendPropertyChanging(); this._AvailQuant = value; this.SendPropertyChanged("AvailQuant"); this.OnAvailQuantChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Id", DbType="Decimal(10,0)")] public System.Nullable Event_Id { get { return this._Event_Id; } set { if ((this._Event_Id != value)) { if (this._Event_Create.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnEvent_IdChanging(value); this.SendPropertyChanging(); this._Event_Id = value; this.SendPropertyChanged("Event_Id"); this.OnEvent_IdChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Mgmt_Dummy_Event_Ticket_Buy_Detail", Storage="_Event_Ticket_Mgmt", ThisKey="TicketMgmtId", OtherKey="Tiket_Mgmt_Id", IsForeignKey=true)] public Event_Ticket_Mgmt Event_Ticket_Mgmt { get { return this._Event_Ticket_Mgmt.Entity; } set { Event_Ticket_Mgmt previousValue = this._Event_Ticket_Mgmt.Entity; if (((previousValue != value) || (this._Event_Ticket_Mgmt.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Ticket_Mgmt.Entity = null; previousValue.Dummy_Event_Ticket_Buy_Details.Remove(this); } this._Event_Ticket_Mgmt.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buy_Details.Add(this); this._TicketMgmtId = value.Tiket_Mgmt_Id; } else { this._TicketMgmtId = default(Nullable); } this.SendPropertyChanged("Event_Ticket_Mgmt"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Ticket_Receipt_Det_Dummy_Event_Ticket_Buy_Detail", Storage="_Event_Ticket_Receipt_Det", ThisKey="TicketReceiptId", OtherKey="Event_ReceiptId", IsForeignKey=true)] public Event_Ticket_Receipt_Det Event_Ticket_Receipt_Det { get { return this._Event_Ticket_Receipt_Det.Entity; } set { Event_Ticket_Receipt_Det previousValue = this._Event_Ticket_Receipt_Det.Entity; if (((previousValue != value) || (this._Event_Ticket_Receipt_Det.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Ticket_Receipt_Det.Entity = null; previousValue.Dummy_Event_Ticket_Buy_Details.Remove(this); } this._Event_Ticket_Receipt_Det.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buy_Details.Add(this); this._TicketReceiptId = value.Event_ReceiptId; } else { this._TicketReceiptId = default(Nullable); } this.SendPropertyChanged("Event_Ticket_Receipt_Det"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Dummy_Event_Ticket_Buy_Detail", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Dummy_Event_Ticket_Buy_Details.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buy_Details.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Create_Dummy_Event_Ticket_Buy_Detail", Storage="_Event_Create", ThisKey="Event_Id", OtherKey="Event_Id", IsForeignKey=true)] public Event_Create Event_Create { get { return this._Event_Create.Entity; } set { Event_Create previousValue = this._Event_Create.Entity; if (((previousValue != value) || (this._Event_Create.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Create.Entity = null; previousValue.Dummy_Event_Ticket_Buy_Details.Remove(this); } this._Event_Create.Entity = value; if ((value != null)) { value.Dummy_Event_Ticket_Buy_Details.Add(this); this._Event_Id = value.Event_Id; } else { this._Event_Id = default(Nullable); } this.SendPropertyChanged("Event_Create"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.[Ad-Management]")] public partial class Ad_Management : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Ad_Banner_Id; private string _Name; private string _Organization; private string _Website; private System.Data.Linq.Binary _Image; private string _State; private string _Country; private System.Nullable _CreatedDate; private string _Subdomain; private string _Bannername; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnAd_Banner_IdChanging(decimal value); partial void OnAd_Banner_IdChanged(); partial void OnNameChanging(string value); partial void OnNameChanged(); partial void OnOrganizationChanging(string value); partial void OnOrganizationChanged(); partial void OnWebsiteChanging(string value); partial void OnWebsiteChanged(); partial void OnImageChanging(System.Data.Linq.Binary value); partial void OnImageChanged(); partial void OnStateChanging(string value); partial void OnStateChanged(); partial void OnCountryChanging(string value); partial void OnCountryChanged(); partial void OnCreatedDateChanging(System.Nullable value); partial void OnCreatedDateChanged(); partial void OnSubdomainChanging(string value); partial void OnSubdomainChanged(); partial void OnBannernameChanging(string value); partial void OnBannernameChanged(); #endregion public Ad_Management() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Name="[Ad-Banner-Id]", Storage="_Ad_Banner_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(5,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Ad_Banner_Id { get { return this._Ad_Banner_Id; } set { if ((this._Ad_Banner_Id != value)) { this.OnAd_Banner_IdChanging(value); this.SendPropertyChanging(); this._Ad_Banner_Id = value; this.SendPropertyChanged("Ad_Banner_Id"); this.OnAd_Banner_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(200)")] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this.OnNameChanging(value); this.SendPropertyChanging(); this._Name = value; this.SendPropertyChanged("Name"); this.OnNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Organization", DbType="VarChar(500)")] public string Organization { get { return this._Organization; } set { if ((this._Organization != value)) { this.OnOrganizationChanging(value); this.SendPropertyChanging(); this._Organization = value; this.SendPropertyChanged("Organization"); this.OnOrganizationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Website", DbType="VarChar(100)")] public string Website { get { return this._Website; } set { if ((this._Website != value)) { this.OnWebsiteChanging(value); this.SendPropertyChanging(); this._Website = value; this.SendPropertyChanged("Website"); this.OnWebsiteChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Image", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary Image { get { return this._Image; } set { if ((this._Image != value)) { this.OnImageChanging(value); this.SendPropertyChanging(); this._Image = value; this.SendPropertyChanged("Image"); this.OnImageChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="VarChar(30)")] public string State { get { return this._State; } set { if ((this._State != value)) { this.OnStateChanging(value); this.SendPropertyChanging(); this._State = value; this.SendPropertyChanged("State"); this.OnStateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Country", DbType="VarChar(30)")] public string Country { get { return this._Country; } set { if ((this._Country != value)) { this.OnCountryChanging(value); this.SendPropertyChanging(); this._Country = value; this.SendPropertyChanged("Country"); this.OnCountryChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date")] public System.Nullable CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subdomain", DbType="VarChar(100)")] public string Subdomain { get { return this._Subdomain; } set { if ((this._Subdomain != value)) { this.OnSubdomainChanging(value); this.SendPropertyChanging(); this._Subdomain = value; this.SendPropertyChanged("Subdomain"); this.OnSubdomainChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Bannername", DbType="VarChar(50)")] public string Bannername { get { return this._Bannername; } set { if ((this._Bannername != value)) { this.OnBannernameChanging(value); this.SendPropertyChanging(); this._Bannername = value; this.SendPropertyChanged("Bannername"); this.OnBannernameChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Ticket_Buyer_Companian_Det")] public partial class Event_Ticket_Buyer_Companian_Det : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Id; private decimal _EventTicketBuyerId; private decimal _AdId; private System.Nullable _TicketReceiptId; private string _Email; private string _Name; private string _ContactNo; private string _Location; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIdChanging(decimal value); partial void OnIdChanged(); partial void OnEventTicketBuyerIdChanging(decimal value); partial void OnEventTicketBuyerIdChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnTicketReceiptIdChanging(System.Nullable value); partial void OnTicketReceiptIdChanged(); partial void OnEmailChanging(string value); partial void OnEmailChanged(); partial void OnNameChanging(string value); partial void OnNameChanged(); partial void OnContactNoChanging(string value); partial void OnContactNoChanged(); partial void OnLocationChanging(string value); partial void OnLocationChanged(); #endregion public Event_Ticket_Buyer_Companian_Det() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Id { get { return this._Id; } set { if ((this._Id != value)) { this.OnIdChanging(value); this.SendPropertyChanging(); this._Id = value; this.SendPropertyChanged("Id"); this.OnIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventTicketBuyerId", DbType="Decimal(10,0) NOT NULL")] public decimal EventTicketBuyerId { get { return this._EventTicketBuyerId; } set { if ((this._EventTicketBuyerId != value)) { this.OnEventTicketBuyerIdChanging(value); this.SendPropertyChanging(); this._EventTicketBuyerId = value; this.SendPropertyChanged("EventTicketBuyerId"); this.OnEventTicketBuyerIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketReceiptId", DbType="Decimal(10,0)")] public System.Nullable TicketReceiptId { get { return this._TicketReceiptId; } set { if ((this._TicketReceiptId != value)) { this.OnTicketReceiptIdChanging(value); this.SendPropertyChanging(); this._TicketReceiptId = value; this.SendPropertyChanged("TicketReceiptId"); this.OnTicketReceiptIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="VarChar(100)")] public string Email { get { return this._Email; } set { if ((this._Email != value)) { this.OnEmailChanging(value); this.SendPropertyChanging(); this._Email = value; this.SendPropertyChanged("Email"); this.OnEmailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(50)")] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this.OnNameChanging(value); this.SendPropertyChanging(); this._Name = value; this.SendPropertyChanged("Name"); this.OnNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactNo", DbType="VarChar(12)")] public string ContactNo { get { return this._ContactNo; } set { if ((this._ContactNo != value)) { this.OnContactNoChanging(value); this.SendPropertyChanging(); this._ContactNo = value; this.SendPropertyChanged("ContactNo"); this.OnContactNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Location", DbType="VarChar(100)")] public string Location { get { return this._Location; } set { if ((this._Location != value)) { this.OnLocationChanging(value); this.SendPropertyChanging(); this._Location = value; this.SendPropertyChanged("Location"); this.OnLocationChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CelebrityDet")] public partial class CelebrityDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _CelebrityId; private string _CelebrityName; private System.Data.Linq.Binary _CelebrityOfficialImage; private string _DOB; private System.Nullable _Earnings; private System.Nullable _MoneyRank; private System.Nullable _FameRank; private string _BirthLocation; private string _CurrentStay; private string _Spouse; private string _FamilyMembers; private string _ZodiacSign; private System.Nullable _Height; private string _Biography; private string _Twitter; private string _FB; private string _GPlus; private string _LanguesKnow; private string _Filmygraphy; private string _Awards; private System.Nullable _IndustryTypeId; private string _Website; private string _ContactInfo; private string _YoutubeLink; private string _Status; private string _ImageURL; private string _CreatedBy; private System.Nullable _CreatedDate; private string _Industry; private string _AvailableDateFrom; private string _AvailableDateTo; private EntitySet _CelebrityPhotos; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnCelebrityIdChanging(decimal value); partial void OnCelebrityIdChanged(); partial void OnCelebrityNameChanging(string value); partial void OnCelebrityNameChanged(); partial void OnCelebrityOfficialImageChanging(System.Data.Linq.Binary value); partial void OnCelebrityOfficialImageChanged(); partial void OnDOBChanging(string value); partial void OnDOBChanged(); partial void OnEarningsChanging(System.Nullable value); partial void OnEarningsChanged(); partial void OnMoneyRankChanging(System.Nullable value); partial void OnMoneyRankChanged(); partial void OnFameRankChanging(System.Nullable value); partial void OnFameRankChanged(); partial void OnBirthLocationChanging(string value); partial void OnBirthLocationChanged(); partial void OnCurrentStayChanging(string value); partial void OnCurrentStayChanged(); partial void OnSpouseChanging(string value); partial void OnSpouseChanged(); partial void OnFamilyMembersChanging(string value); partial void OnFamilyMembersChanged(); partial void OnZodiacSignChanging(string value); partial void OnZodiacSignChanged(); partial void OnHeightChanging(System.Nullable value); partial void OnHeightChanged(); partial void OnBiographyChanging(string value); partial void OnBiographyChanged(); partial void OnTwitterChanging(string value); partial void OnTwitterChanged(); partial void OnFBChanging(string value); partial void OnFBChanged(); partial void OnGPlusChanging(string value); partial void OnGPlusChanged(); partial void OnLanguesKnowChanging(string value); partial void OnLanguesKnowChanged(); partial void OnFilmygraphyChanging(string value); partial void OnFilmygraphyChanged(); partial void OnAwardsChanging(string value); partial void OnAwardsChanged(); partial void OnIndustryTypeIdChanging(System.Nullable value); partial void OnIndustryTypeIdChanged(); partial void OnWebsiteChanging(string value); partial void OnWebsiteChanged(); partial void OnContactInfoChanging(string value); partial void OnContactInfoChanged(); partial void OnYoutubeLinkChanging(string value); partial void OnYoutubeLinkChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnImageURLChanging(string value); partial void OnImageURLChanged(); partial void OnCreatedByChanging(string value); partial void OnCreatedByChanged(); partial void OnCreatedDateChanging(System.Nullable value); partial void OnCreatedDateChanged(); partial void OnIndustryChanging(string value); partial void OnIndustryChanged(); partial void OnAvailableDateFromChanging(string value); partial void OnAvailableDateFromChanged(); partial void OnAvailableDateToChanging(string value); partial void OnAvailableDateToChanged(); #endregion public CelebrityDet() { this._CelebrityPhotos = new EntitySet(new Action(this.attach_CelebrityPhotos), new Action(this.detach_CelebrityPhotos)); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CelebrityId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal CelebrityId { get { return this._CelebrityId; } set { if ((this._CelebrityId != value)) { this.OnCelebrityIdChanging(value); this.SendPropertyChanging(); this._CelebrityId = value; this.SendPropertyChanged("CelebrityId"); this.OnCelebrityIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CelebrityName", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string CelebrityName { get { return this._CelebrityName; } set { if ((this._CelebrityName != value)) { this.OnCelebrityNameChanging(value); this.SendPropertyChanging(); this._CelebrityName = value; this.SendPropertyChanged("CelebrityName"); this.OnCelebrityNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CelebrityOfficialImage", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary CelebrityOfficialImage { get { return this._CelebrityOfficialImage; } set { if ((this._CelebrityOfficialImage != value)) { this.OnCelebrityOfficialImageChanging(value); this.SendPropertyChanging(); this._CelebrityOfficialImage = value; this.SendPropertyChanged("CelebrityOfficialImage"); this.OnCelebrityOfficialImageChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DOB", DbType="VarChar(20)")] public string DOB { get { return this._DOB; } set { if ((this._DOB != value)) { this.OnDOBChanging(value); this.SendPropertyChanging(); this._DOB = value; this.SendPropertyChanged("DOB"); this.OnDOBChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Earnings", DbType="Decimal(10,2)")] public System.Nullable Earnings { get { return this._Earnings; } set { if ((this._Earnings != value)) { this.OnEarningsChanging(value); this.SendPropertyChanging(); this._Earnings = value; this.SendPropertyChanged("Earnings"); this.OnEarningsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MoneyRank", DbType="Decimal(10,0)")] public System.Nullable MoneyRank { get { return this._MoneyRank; } set { if ((this._MoneyRank != value)) { this.OnMoneyRankChanging(value); this.SendPropertyChanging(); this._MoneyRank = value; this.SendPropertyChanged("MoneyRank"); this.OnMoneyRankChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FameRank", DbType="Decimal(10,0)")] public System.Nullable FameRank { get { return this._FameRank; } set { if ((this._FameRank != value)) { this.OnFameRankChanging(value); this.SendPropertyChanging(); this._FameRank = value; this.SendPropertyChanged("FameRank"); this.OnFameRankChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BirthLocation", DbType="VarChar(500)")] public string BirthLocation { get { return this._BirthLocation; } set { if ((this._BirthLocation != value)) { this.OnBirthLocationChanging(value); this.SendPropertyChanging(); this._BirthLocation = value; this.SendPropertyChanged("BirthLocation"); this.OnBirthLocationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CurrentStay", DbType="VarChar(500)")] public string CurrentStay { get { return this._CurrentStay; } set { if ((this._CurrentStay != value)) { this.OnCurrentStayChanging(value); this.SendPropertyChanging(); this._CurrentStay = value; this.SendPropertyChanged("CurrentStay"); this.OnCurrentStayChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Spouse", DbType="VarChar(200)")] public string Spouse { get { return this._Spouse; } set { if ((this._Spouse != value)) { this.OnSpouseChanging(value); this.SendPropertyChanging(); this._Spouse = value; this.SendPropertyChanged("Spouse"); this.OnSpouseChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FamilyMembers", DbType="VarChar(500)")] public string FamilyMembers { get { return this._FamilyMembers; } set { if ((this._FamilyMembers != value)) { this.OnFamilyMembersChanging(value); this.SendPropertyChanging(); this._FamilyMembers = value; this.SendPropertyChanged("FamilyMembers"); this.OnFamilyMembersChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ZodiacSign", DbType="VarChar(30)")] public string ZodiacSign { get { return this._ZodiacSign; } set { if ((this._ZodiacSign != value)) { this.OnZodiacSignChanging(value); this.SendPropertyChanging(); this._ZodiacSign = value; this.SendPropertyChanged("ZodiacSign"); this.OnZodiacSignChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Height", DbType="Decimal(5,2)")] public System.Nullable Height { get { return this._Height; } set { if ((this._Height != value)) { this.OnHeightChanging(value); this.SendPropertyChanging(); this._Height = value; this.SendPropertyChanged("Height"); this.OnHeightChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Biography", DbType="VarChar(5000)")] public string Biography { get { return this._Biography; } set { if ((this._Biography != value)) { this.OnBiographyChanging(value); this.SendPropertyChanging(); this._Biography = value; this.SendPropertyChanged("Biography"); this.OnBiographyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Twitter", DbType="VarChar(200)")] public string Twitter { get { return this._Twitter; } set { if ((this._Twitter != value)) { this.OnTwitterChanging(value); this.SendPropertyChanging(); this._Twitter = value; this.SendPropertyChanged("Twitter"); this.OnTwitterChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FB", DbType="VarChar(200)")] public string FB { get { return this._FB; } set { if ((this._FB != value)) { this.OnFBChanging(value); this.SendPropertyChanging(); this._FB = value; this.SendPropertyChanged("FB"); this.OnFBChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GPlus", DbType="VarChar(200)")] public string GPlus { get { return this._GPlus; } set { if ((this._GPlus != value)) { this.OnGPlusChanging(value); this.SendPropertyChanging(); this._GPlus = value; this.SendPropertyChanged("GPlus"); this.OnGPlusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LanguesKnow", DbType="VarChar(200)")] public string LanguesKnow { get { return this._LanguesKnow; } set { if ((this._LanguesKnow != value)) { this.OnLanguesKnowChanging(value); this.SendPropertyChanging(); this._LanguesKnow = value; this.SendPropertyChanged("LanguesKnow"); this.OnLanguesKnowChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Filmygraphy", DbType="VarChar(2000)")] public string Filmygraphy { get { return this._Filmygraphy; } set { if ((this._Filmygraphy != value)) { this.OnFilmygraphyChanging(value); this.SendPropertyChanging(); this._Filmygraphy = value; this.SendPropertyChanged("Filmygraphy"); this.OnFilmygraphyChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Awards", DbType="VarChar(2000)")] public string Awards { get { return this._Awards; } set { if ((this._Awards != value)) { this.OnAwardsChanging(value); this.SendPropertyChanging(); this._Awards = value; this.SendPropertyChanged("Awards"); this.OnAwardsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndustryTypeId", DbType="Decimal(2,0)")] public System.Nullable IndustryTypeId { get { return this._IndustryTypeId; } set { if ((this._IndustryTypeId != value)) { this.OnIndustryTypeIdChanging(value); this.SendPropertyChanging(); this._IndustryTypeId = value; this.SendPropertyChanged("IndustryTypeId"); this.OnIndustryTypeIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Website", DbType="VarChar(200)")] public string Website { get { return this._Website; } set { if ((this._Website != value)) { this.OnWebsiteChanging(value); this.SendPropertyChanging(); this._Website = value; this.SendPropertyChanged("Website"); this.OnWebsiteChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactInfo", DbType="VarChar(200)")] public string ContactInfo { get { return this._ContactInfo; } set { if ((this._ContactInfo != value)) { this.OnContactInfoChanging(value); this.SendPropertyChanging(); this._ContactInfo = value; this.SendPropertyChanged("ContactInfo"); this.OnContactInfoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_YoutubeLink", DbType="VarChar(500)")] public string YoutubeLink { get { return this._YoutubeLink; } set { if ((this._YoutubeLink != value)) { this.OnYoutubeLinkChanging(value); this.SendPropertyChanging(); this._YoutubeLink = value; this.SendPropertyChanged("YoutubeLink"); this.OnYoutubeLinkChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="VarChar(10)")] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageURL", DbType="VarChar(200)")] public string ImageURL { get { return this._ImageURL; } set { if ((this._ImageURL != value)) { this.OnImageURLChanging(value); this.SendPropertyChanging(); this._ImageURL = value; this.SendPropertyChanged("ImageURL"); this.OnImageURLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedBy", DbType="VarChar(256)")] public string CreatedBy { get { return this._CreatedBy; } set { if ((this._CreatedBy != value)) { this.OnCreatedByChanging(value); this.SendPropertyChanging(); this._CreatedBy = value; this.SendPropertyChanged("CreatedBy"); this.OnCreatedByChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date")] public System.Nullable CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Industry", DbType="VarChar(100)")] public string Industry { get { return this._Industry; } set { if ((this._Industry != value)) { this.OnIndustryChanging(value); this.SendPropertyChanging(); this._Industry = value; this.SendPropertyChanged("Industry"); this.OnIndustryChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AvailableDateFrom", DbType="VarChar(50)")] public string AvailableDateFrom { get { return this._AvailableDateFrom; } set { if ((this._AvailableDateFrom != value)) { this.OnAvailableDateFromChanging(value); this.SendPropertyChanging(); this._AvailableDateFrom = value; this.SendPropertyChanged("AvailableDateFrom"); this.OnAvailableDateFromChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AvailableDateTo", DbType="VarChar(50)")] public string AvailableDateTo { get { return this._AvailableDateTo; } set { if ((this._AvailableDateTo != value)) { this.OnAvailableDateToChanging(value); this.SendPropertyChanging(); this._AvailableDateTo = value; this.SendPropertyChanged("AvailableDateTo"); this.OnAvailableDateToChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CelebrityDet_CelebrityPhoto", Storage="_CelebrityPhotos", ThisKey="CelebrityId", OtherKey="CelebrityId")] public EntitySet CelebrityPhotos { get { return this._CelebrityPhotos; } set { this._CelebrityPhotos.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_CelebrityPhotos(CelebrityPhoto entity) { this.SendPropertyChanging(); entity.CelebrityDet = this; } private void detach_CelebrityPhotos(CelebrityPhoto entity) { this.SendPropertyChanging(); entity.CelebrityDet = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CelebrityPhotos")] public partial class CelebrityPhoto : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _CelebrityPhotoId; private decimal _CelebrityId; private System.Data.Linq.Binary _Photo; private System.DateTime _CreatedDate; private EntityRef _CelebrityDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnCelebrityPhotoIdChanging(decimal value); partial void OnCelebrityPhotoIdChanged(); partial void OnCelebrityIdChanging(decimal value); partial void OnCelebrityIdChanged(); partial void OnPhotoChanging(System.Data.Linq.Binary value); partial void OnPhotoChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); #endregion public CelebrityPhoto() { this._CelebrityDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CelebrityPhotoId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal CelebrityPhotoId { get { return this._CelebrityPhotoId; } set { if ((this._CelebrityPhotoId != value)) { this.OnCelebrityPhotoIdChanging(value); this.SendPropertyChanging(); this._CelebrityPhotoId = value; this.SendPropertyChanged("CelebrityPhotoId"); this.OnCelebrityPhotoIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CelebrityId", DbType="Decimal(10,0) NOT NULL")] public decimal CelebrityId { get { return this._CelebrityId; } set { if ((this._CelebrityId != value)) { if (this._CelebrityDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnCelebrityIdChanging(value); this.SendPropertyChanging(); this._CelebrityId = value; this.SendPropertyChanged("CelebrityId"); this.OnCelebrityIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Photo", DbType="Image NOT NULL", CanBeNull=false, UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary Photo { get { return this._Photo; } set { if ((this._Photo != value)) { this.OnPhotoChanging(value); this.SendPropertyChanging(); this._Photo = value; this.SendPropertyChanged("Photo"); this.OnPhotoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CelebrityDet_CelebrityPhoto", Storage="_CelebrityDet", ThisKey="CelebrityId", OtherKey="CelebrityId", IsForeignKey=true)] public CelebrityDet CelebrityDet { get { return this._CelebrityDet.Entity; } set { CelebrityDet previousValue = this._CelebrityDet.Entity; if (((previousValue != value) || (this._CelebrityDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._CelebrityDet.Entity = null; previousValue.CelebrityPhotos.Remove(this); } this._CelebrityDet.Entity = value; if ((value != null)) { value.CelebrityPhotos.Add(this); this._CelebrityId = value.CelebrityId; } else { this._CelebrityId = default(decimal); } this.SendPropertyChanged("CelebrityDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Raffle_Master")] public partial class Raffle_Master : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Id; private string _Name; private string _Email; private string _PhoneNo; private string _RaffleNumber; private System.DateTime _CreatedDate; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnIdChanging(decimal value); partial void OnIdChanged(); partial void OnNameChanging(string value); partial void OnNameChanged(); partial void OnEmailChanging(string value); partial void OnEmailChanged(); partial void OnPhoneNoChanging(string value); partial void OnPhoneNoChanged(); partial void OnRaffleNumberChanging(string value); partial void OnRaffleNumberChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); #endregion public Raffle_Master() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Id { get { return this._Id; } set { if ((this._Id != value)) { this.OnIdChanging(value); this.SendPropertyChanging(); this._Id = value; this.SendPropertyChanged("Id"); this.OnIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this.OnNameChanging(value); this.SendPropertyChanging(); this._Name = value; this.SendPropertyChanged("Name"); this.OnNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string Email { get { return this._Email; } set { if ((this._Email != value)) { this.OnEmailChanging(value); this.SendPropertyChanging(); this._Email = value; this.SendPropertyChanged("Email"); this.OnEmailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNo", DbType="VarChar(15) NOT NULL", CanBeNull=false)] public string PhoneNo { get { return this._PhoneNo; } set { if ((this._PhoneNo != value)) { this.OnPhoneNoChanging(value); this.SendPropertyChanging(); this._PhoneNo = value; this.SendPropertyChanged("PhoneNo"); this.OnPhoneNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RaffleNumber", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string RaffleNumber { get { return this._RaffleNumber; } set { if ((this._RaffleNumber != value)) { this.OnRaffleNumberChanging(value); this.SendPropertyChanging(); this._RaffleNumber = value; this.SendPropertyChanged("RaffleNumber"); this.OnRaffleNumberChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Event_Create")] public partial class Event_Create : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _Event_Id; private string _Event_Name; private decimal _AdId; private System.Nullable _CategoryId; private System.Nullable _OptionOne; private string _VenueName; private string _EventDate; private string _StartTime; private string _EndTime; private string _Venue; private string _AdmissionType; private System.Nullable _cbAdmission; private string _Event_Desc; private string _Repeats; private string _FBEventURL; private string _EVentType; private System.Data.Linq.Binary _EventLogo; private System.Data.Linq.Binary _EventBrochure; private string _ContactNumber2; private string _ContactNumber3; private string _Price1; private string _Price2; private string _Price3; private string _Price4; private string _EventEndDate; private System.Nullable _ServiceTax; private System.Data.Linq.Binary _SeatingArrangement; private System.Data.Linq.Binary _TermsConditions; private string _TimeZone; private System.Nullable _CreatedDate; private string _TicketBuyURL; private EntitySet _Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buy_Details; private EntityRef _Event_Category_Det; private EntityRef _UserAdsDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEvent_IdChanging(decimal value); partial void OnEvent_IdChanged(); partial void OnEvent_NameChanging(string value); partial void OnEvent_NameChanged(); partial void OnAdIdChanging(decimal value); partial void OnAdIdChanged(); partial void OnCategoryIdChanging(System.Nullable value); partial void OnCategoryIdChanged(); partial void OnOptionOneChanging(System.Nullable value); partial void OnOptionOneChanged(); partial void OnVenueNameChanging(string value); partial void OnVenueNameChanged(); partial void OnEventDateChanging(string value); partial void OnEventDateChanged(); partial void OnStartTimeChanging(string value); partial void OnStartTimeChanged(); partial void OnEndTimeChanging(string value); partial void OnEndTimeChanged(); partial void OnVenueChanging(string value); partial void OnVenueChanged(); partial void OnAdmissionTypeChanging(string value); partial void OnAdmissionTypeChanged(); partial void OncbAdmissionChanging(System.Nullable value); partial void OncbAdmissionChanged(); partial void OnEvent_DescChanging(string value); partial void OnEvent_DescChanged(); partial void OnRepeatsChanging(string value); partial void OnRepeatsChanged(); partial void OnFBEventURLChanging(string value); partial void OnFBEventURLChanged(); partial void OnEVentTypeChanging(string value); partial void OnEVentTypeChanged(); partial void OnEventLogoChanging(System.Data.Linq.Binary value); partial void OnEventLogoChanged(); partial void OnEventBrochureChanging(System.Data.Linq.Binary value); partial void OnEventBrochureChanged(); partial void OnContactNumber2Changing(string value); partial void OnContactNumber2Changed(); partial void OnContactNumber3Changing(string value); partial void OnContactNumber3Changed(); partial void OnPrice1Changing(string value); partial void OnPrice1Changed(); partial void OnPrice2Changing(string value); partial void OnPrice2Changed(); partial void OnPrice3Changing(string value); partial void OnPrice3Changed(); partial void OnPrice4Changing(string value); partial void OnPrice4Changed(); partial void OnEventEndDateChanging(string value); partial void OnEventEndDateChanged(); partial void OnServiceTaxChanging(System.Nullable value); partial void OnServiceTaxChanged(); partial void OnSeatingArrangementChanging(System.Data.Linq.Binary value); partial void OnSeatingArrangementChanged(); partial void OnTermsConditionsChanging(System.Data.Linq.Binary value); partial void OnTermsConditionsChanged(); partial void OnTimeZoneChanging(string value); partial void OnTimeZoneChanged(); partial void OnCreatedDateChanging(System.Nullable value); partial void OnCreatedDateChanged(); partial void OnTicketBuyURLChanging(string value); partial void OnTicketBuyURLChanged(); #endregion public Event_Create() { this._Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Event_Ticket_Buyer_Dets), new Action(this.detach_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buyer_Dets), new Action(this.detach_Dummy_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buy_Details = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buy_Details), new Action(this.detach_Dummy_Event_Ticket_Buy_Details)); this._Event_Category_Det = default(EntityRef); this._UserAdsDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Id", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal Event_Id { get { return this._Event_Id; } set { if ((this._Event_Id != value)) { this.OnEvent_IdChanging(value); this.SendPropertyChanging(); this._Event_Id = value; this.SendPropertyChanged("Event_Id"); this.OnEvent_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Name", DbType="VarChar(200) NOT NULL", CanBeNull=false)] public string Event_Name { get { return this._Event_Name; } set { if ((this._Event_Name != value)) { this.OnEvent_NameChanging(value); this.SendPropertyChanging(); this._Event_Name = value; this.SendPropertyChanged("Event_Name"); this.OnEvent_NameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdId", DbType="Decimal(10,0) NOT NULL")] public decimal AdId { get { return this._AdId; } set { if ((this._AdId != value)) { if (this._UserAdsDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnAdIdChanging(value); this.SendPropertyChanging(); this._AdId = value; this.SendPropertyChanged("AdId"); this.OnAdIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="Decimal(4,0)")] public System.Nullable CategoryId { get { return this._CategoryId; } set { if ((this._CategoryId != value)) { if (this._Event_Category_Det.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnCategoryIdChanging(value); this.SendPropertyChanging(); this._CategoryId = value; this.SendPropertyChanged("CategoryId"); this.OnCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OptionOne", DbType="Decimal(4,0)")] public System.Nullable OptionOne { get { return this._OptionOne; } set { if ((this._OptionOne != value)) { this.OnOptionOneChanging(value); this.SendPropertyChanging(); this._OptionOne = value; this.SendPropertyChanged("OptionOne"); this.OnOptionOneChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VenueName", DbType="VarChar(200)")] public string VenueName { get { return this._VenueName; } set { if ((this._VenueName != value)) { this.OnVenueNameChanging(value); this.SendPropertyChanging(); this._VenueName = value; this.SendPropertyChanged("VenueName"); this.OnVenueNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventDate", DbType="VarChar(12) NOT NULL", CanBeNull=false)] public string EventDate { get { return this._EventDate; } set { if ((this._EventDate != value)) { this.OnEventDateChanging(value); this.SendPropertyChanging(); this._EventDate = value; this.SendPropertyChanged("EventDate"); this.OnEventDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartTime", DbType="VarChar(10)")] public string StartTime { get { return this._StartTime; } set { if ((this._StartTime != value)) { this.OnStartTimeChanging(value); this.SendPropertyChanging(); this._StartTime = value; this.SendPropertyChanged("StartTime"); this.OnStartTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndTime", DbType="VarChar(10)")] public string EndTime { get { return this._EndTime; } set { if ((this._EndTime != value)) { this.OnEndTimeChanging(value); this.SendPropertyChanging(); this._EndTime = value; this.SendPropertyChanged("EndTime"); this.OnEndTimeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Venue", DbType="VarChar(200) NOT NULL", CanBeNull=false)] public string Venue { get { return this._Venue; } set { if ((this._Venue != value)) { this.OnVenueChanging(value); this.SendPropertyChanging(); this._Venue = value; this.SendPropertyChanged("Venue"); this.OnVenueChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdmissionType", DbType="VarChar(50)")] public string AdmissionType { get { return this._AdmissionType; } set { if ((this._AdmissionType != value)) { this.OnAdmissionTypeChanging(value); this.SendPropertyChanging(); this._AdmissionType = value; this.SendPropertyChanged("AdmissionType"); this.OnAdmissionTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_cbAdmission", DbType="Bit")] public System.Nullable cbAdmission { get { return this._cbAdmission; } set { if ((this._cbAdmission != value)) { this.OncbAdmissionChanging(value); this.SendPropertyChanging(); this._cbAdmission = value; this.SendPropertyChanged("cbAdmission"); this.OncbAdmissionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Event_Desc", DbType="VarChar(8000) NOT NULL", CanBeNull=false)] public string Event_Desc { get { return this._Event_Desc; } set { if ((this._Event_Desc != value)) { this.OnEvent_DescChanging(value); this.SendPropertyChanging(); this._Event_Desc = value; this.SendPropertyChanged("Event_Desc"); this.OnEvent_DescChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Repeats", DbType="VarChar(30)")] public string Repeats { get { return this._Repeats; } set { if ((this._Repeats != value)) { this.OnRepeatsChanging(value); this.SendPropertyChanging(); this._Repeats = value; this.SendPropertyChanged("Repeats"); this.OnRepeatsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FBEventURL", DbType="VarChar(1000)")] public string FBEventURL { get { return this._FBEventURL; } set { if ((this._FBEventURL != value)) { this.OnFBEventURLChanging(value); this.SendPropertyChanging(); this._FBEventURL = value; this.SendPropertyChanged("FBEventURL"); this.OnFBEventURLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EVentType", DbType="VarChar(30)")] public string EVentType { get { return this._EVentType; } set { if ((this._EVentType != value)) { this.OnEVentTypeChanging(value); this.SendPropertyChanging(); this._EVentType = value; this.SendPropertyChanged("EVentType"); this.OnEVentTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventLogo", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary EventLogo { get { return this._EventLogo; } set { if ((this._EventLogo != value)) { this.OnEventLogoChanging(value); this.SendPropertyChanging(); this._EventLogo = value; this.SendPropertyChanged("EventLogo"); this.OnEventLogoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventBrochure", DbType="VarBinary(MAX)", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary EventBrochure { get { return this._EventBrochure; } set { if ((this._EventBrochure != value)) { this.OnEventBrochureChanging(value); this.SendPropertyChanging(); this._EventBrochure = value; this.SendPropertyChanged("EventBrochure"); this.OnEventBrochureChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactNumber2", DbType="VarChar(12)")] public string ContactNumber2 { get { return this._ContactNumber2; } set { if ((this._ContactNumber2 != value)) { this.OnContactNumber2Changing(value); this.SendPropertyChanging(); this._ContactNumber2 = value; this.SendPropertyChanged("ContactNumber2"); this.OnContactNumber2Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactNumber3", DbType="VarChar(12)")] public string ContactNumber3 { get { return this._ContactNumber3; } set { if ((this._ContactNumber3 != value)) { this.OnContactNumber3Changing(value); this.SendPropertyChanging(); this._ContactNumber3 = value; this.SendPropertyChanged("ContactNumber3"); this.OnContactNumber3Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Price1", DbType="VarChar(6)")] public string Price1 { get { return this._Price1; } set { if ((this._Price1 != value)) { this.OnPrice1Changing(value); this.SendPropertyChanging(); this._Price1 = value; this.SendPropertyChanged("Price1"); this.OnPrice1Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Price2", DbType="VarChar(6)")] public string Price2 { get { return this._Price2; } set { if ((this._Price2 != value)) { this.OnPrice2Changing(value); this.SendPropertyChanging(); this._Price2 = value; this.SendPropertyChanged("Price2"); this.OnPrice2Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Price3", DbType="VarChar(6)")] public string Price3 { get { return this._Price3; } set { if ((this._Price3 != value)) { this.OnPrice3Changing(value); this.SendPropertyChanging(); this._Price3 = value; this.SendPropertyChanged("Price3"); this.OnPrice3Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Price4", DbType="VarChar(6)")] public string Price4 { get { return this._Price4; } set { if ((this._Price4 != value)) { this.OnPrice4Changing(value); this.SendPropertyChanging(); this._Price4 = value; this.SendPropertyChanged("Price4"); this.OnPrice4Changed(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EventEndDate", DbType="VarChar(12)")] public string EventEndDate { get { return this._EventEndDate; } set { if ((this._EventEndDate != value)) { this.OnEventEndDateChanging(value); this.SendPropertyChanging(); this._EventEndDate = value; this.SendPropertyChanged("EventEndDate"); this.OnEventEndDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ServiceTax", DbType="Bit")] public System.Nullable ServiceTax { get { return this._ServiceTax; } set { if ((this._ServiceTax != value)) { this.OnServiceTaxChanging(value); this.SendPropertyChanging(); this._ServiceTax = value; this.SendPropertyChanged("ServiceTax"); this.OnServiceTaxChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SeatingArrangement", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary SeatingArrangement { get { return this._SeatingArrangement; } set { if ((this._SeatingArrangement != value)) { this.OnSeatingArrangementChanging(value); this.SendPropertyChanging(); this._SeatingArrangement = value; this.SendPropertyChanged("SeatingArrangement"); this.OnSeatingArrangementChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TermsConditions", DbType="VarBinary(MAX)", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary TermsConditions { get { return this._TermsConditions; } set { if ((this._TermsConditions != value)) { this.OnTermsConditionsChanging(value); this.SendPropertyChanging(); this._TermsConditions = value; this.SendPropertyChanged("TermsConditions"); this.OnTermsConditionsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TimeZone", DbType="VarChar(30)")] public string TimeZone { get { return this._TimeZone; } set { if ((this._TimeZone != value)) { this.OnTimeZoneChanging(value); this.SendPropertyChanging(); this._TimeZone = value; this.SendPropertyChanged("TimeZone"); this.OnTimeZoneChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date")] public System.Nullable CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TicketBuyURL", DbType="VarChar(1000)")] public string TicketBuyURL { get { return this._TicketBuyURL; } set { if ((this._TicketBuyURL != value)) { this.OnTicketBuyURLChanging(value); this.SendPropertyChanging(); this._TicketBuyURL = value; this.SendPropertyChanged("TicketBuyURL"); this.OnTicketBuyURLChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Create_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Buyer_Dets", ThisKey="Event_Id", OtherKey="Event_Id")] public EntitySet Event_Ticket_Buyer_Dets { get { return this._Event_Ticket_Buyer_Dets; } set { this._Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Create_Dummy_Event_Ticket_Buyer_Det", Storage="_Dummy_Event_Ticket_Buyer_Dets", ThisKey="Event_Id", OtherKey="Event_Id")] public EntitySet Dummy_Event_Ticket_Buyer_Dets { get { return this._Dummy_Event_Ticket_Buyer_Dets; } set { this._Dummy_Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Create_Dummy_Event_Ticket_Buy_Detail", Storage="_Dummy_Event_Ticket_Buy_Details", ThisKey="Event_Id", OtherKey="Event_Id")] public EntitySet Dummy_Event_Ticket_Buy_Details { get { return this._Dummy_Event_Ticket_Buy_Details; } set { this._Dummy_Event_Ticket_Buy_Details.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Event_Category_Det_Event_Create", Storage="_Event_Category_Det", ThisKey="CategoryId", OtherKey="EventCategoryId", IsForeignKey=true)] public Event_Category_Det Event_Category_Det { get { return this._Event_Category_Det.Entity; } set { Event_Category_Det previousValue = this._Event_Category_Det.Entity; if (((previousValue != value) || (this._Event_Category_Det.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Event_Category_Det.Entity = null; previousValue.Event_Creates.Remove(this); } this._Event_Category_Det.Entity = value; if ((value != null)) { value.Event_Creates.Add(this); this._CategoryId = value.EventCategoryId; } else { this._CategoryId = default(Nullable); } this.SendPropertyChanged("Event_Category_Det"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserAdsDet_Event_Create", Storage="_UserAdsDet", ThisKey="AdId", OtherKey="UserAdId", IsForeignKey=true)] public UserAdsDet UserAdsDet { get { return this._UserAdsDet.Entity; } set { UserAdsDet previousValue = this._UserAdsDet.Entity; if (((previousValue != value) || (this._UserAdsDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserAdsDet.Entity = null; previousValue.Event_Creates.Remove(this); } this._UserAdsDet.Entity = value; if ((value != null)) { value.Event_Creates.Add(this); this._AdId = value.UserAdId; } else { this._AdId = default(decimal); } this.SendPropertyChanged("UserAdsDet"); } } } 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_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Create = this; } private void detach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Create = null; } private void attach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Create = this; } private void detach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.Event_Create = null; } private void attach_Dummy_Event_Ticket_Buy_Details(Dummy_Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Create = this; } private void detach_Dummy_Event_Ticket_Buy_Details(Dummy_Event_Ticket_Buy_Detail entity) { this.SendPropertyChanging(); entity.Event_Create = null; } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.User_Ad_Review_Det")] public partial class User_Ad_Review_Det : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _ReviewId; private string _UserEmailId; private System.Nullable _Date; private string _ReviewDesc; private string _Name; private string _ReviewerEmailId; private System.Nullable _Rating; private string _Ip; private System.Nullable _Adid; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnReviewIdChanging(decimal value); partial void OnReviewIdChanged(); partial void OnUserEmailIdChanging(string value); partial void OnUserEmailIdChanged(); partial void OnDateChanging(System.Nullable value); partial void OnDateChanged(); partial void OnReviewDescChanging(string value); partial void OnReviewDescChanged(); partial void OnNameChanging(string value); partial void OnNameChanged(); partial void OnReviewerEmailIdChanging(string value); partial void OnReviewerEmailIdChanged(); partial void OnRatingChanging(System.Nullable value); partial void OnRatingChanged(); partial void OnIpChanging(string value); partial void OnIpChanged(); partial void OnAdidChanging(System.Nullable value); partial void OnAdidChanged(); #endregion public User_Ad_Review_Det() { OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal ReviewId { get { return this._ReviewId; } set { if ((this._ReviewId != value)) { this.OnReviewIdChanging(value); this.SendPropertyChanging(); this._ReviewId = value; this.SendPropertyChanged("ReviewId"); this.OnReviewIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserEmailId", DbType="VarChar(200)")] public string UserEmailId { get { return this._UserEmailId; } set { if ((this._UserEmailId != value)) { this.OnUserEmailIdChanging(value); this.SendPropertyChanging(); this._UserEmailId = value; this.SendPropertyChanged("UserEmailId"); this.OnUserEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date", DbType="DateTime")] public System.Nullable Date { get { return this._Date; } set { if ((this._Date != value)) { this.OnDateChanging(value); this.SendPropertyChanging(); this._Date = value; this.SendPropertyChanged("Date"); this.OnDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDesc", DbType="VarChar(500)")] public string ReviewDesc { get { return this._ReviewDesc; } set { if ((this._ReviewDesc != value)) { this.OnReviewDescChanging(value); this.SendPropertyChanging(); this._ReviewDesc = value; this.SendPropertyChanged("ReviewDesc"); this.OnReviewDescChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(100)")] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this.OnNameChanging(value); this.SendPropertyChanging(); this._Name = value; this.SendPropertyChanged("Name"); this.OnNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewerEmailId", DbType="VarChar(200)")] public string ReviewerEmailId { get { return this._ReviewerEmailId; } set { if ((this._ReviewerEmailId != value)) { this.OnReviewerEmailIdChanging(value); this.SendPropertyChanging(); this._ReviewerEmailId = value; this.SendPropertyChanged("ReviewerEmailId"); this.OnReviewerEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rating", DbType="SmallInt")] public System.Nullable Rating { get { return this._Rating; } set { if ((this._Rating != value)) { this.OnRatingChanging(value); this.SendPropertyChanging(); this._Rating = value; this.SendPropertyChanged("Rating"); this.OnRatingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ip", DbType="VarChar(100)")] public string Ip { get { return this._Ip; } set { if ((this._Ip != value)) { this.OnIpChanging(value); this.SendPropertyChanging(); this._Ip = value; this.SendPropertyChanged("Ip"); this.OnIpChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Adid", DbType="Decimal(10,0)")] public System.Nullable Adid { get { return this._Adid; } set { if ((this._Adid != value)) { this.OnAdidChanging(value); this.SendPropertyChanging(); this._Adid = value; this.SendPropertyChanged("Adid"); this.OnAdidChanged(); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.User_Review_Det")] public partial class User_Review_Det : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _ReviewId; private string _UserEmailId; private System.Nullable _Date; private string _ReviewDesc; private string _Name; private string _ReviewerEmail; private System.Nullable _Rating; private string _Ip; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnReviewIdChanging(decimal value); partial void OnReviewIdChanged(); partial void OnUserEmailIdChanging(string value); partial void OnUserEmailIdChanged(); partial void OnDateChanging(System.Nullable value); partial void OnDateChanged(); partial void OnReviewDescChanging(string value); partial void OnReviewDescChanged(); partial void OnNameChanging(string value); partial void OnNameChanged(); partial void OnReviewerEmailChanging(string value); partial void OnReviewerEmailChanged(); partial void OnRatingChanging(System.Nullable value); partial void OnRatingChanged(); partial void OnIpChanging(string value); partial void OnIpChanged(); #endregion public User_Review_Det() { this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal ReviewId { get { return this._ReviewId; } set { if ((this._ReviewId != value)) { this.OnReviewIdChanging(value); this.SendPropertyChanging(); this._ReviewId = value; this.SendPropertyChanged("ReviewId"); this.OnReviewIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserEmailId", DbType="VarChar(100)")] public string UserEmailId { get { return this._UserEmailId; } set { if ((this._UserEmailId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserEmailIdChanging(value); this.SendPropertyChanging(); this._UserEmailId = value; this.SendPropertyChanged("UserEmailId"); this.OnUserEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date", DbType="DateTime")] public System.Nullable Date { get { return this._Date; } set { if ((this._Date != value)) { this.OnDateChanging(value); this.SendPropertyChanging(); this._Date = value; this.SendPropertyChanged("Date"); this.OnDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDesc", DbType="VarChar(300)")] public string ReviewDesc { get { return this._ReviewDesc; } set { if ((this._ReviewDesc != value)) { this.OnReviewDescChanging(value); this.SendPropertyChanging(); this._ReviewDesc = value; this.SendPropertyChanged("ReviewDesc"); this.OnReviewDescChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(50)")] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this.OnNameChanging(value); this.SendPropertyChanging(); this._Name = value; this.SendPropertyChanged("Name"); this.OnNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewerEmail", DbType="VarChar(100)")] public string ReviewerEmail { get { return this._ReviewerEmail; } set { if ((this._ReviewerEmail != value)) { this.OnReviewerEmailChanging(value); this.SendPropertyChanging(); this._ReviewerEmail = value; this.SendPropertyChanged("ReviewerEmail"); this.OnReviewerEmailChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rating", DbType="SmallInt")] public System.Nullable Rating { get { return this._Rating; } set { if ((this._Rating != value)) { this.OnRatingChanging(value); this.SendPropertyChanging(); this._Rating = value; this.SendPropertyChanged("Rating"); this.OnRatingChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ip", DbType="VarChar(100)")] public string Ip { get { return this._Ip; } set { if ((this._Ip != value)) { this.OnIpChanging(value); this.SendPropertyChanging(); this._Ip = value; this.SendPropertyChanged("Ip"); this.OnIpChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_User_Review_Det", Storage="_UserDet", ThisKey="UserEmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.User_Review_Dets.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.User_Review_Dets.Add(this); this._UserEmailId = value.EmailId; } else { this._UserEmailId = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.BusinessEnquiryDet")] public partial class BusinessEnquiryDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _EnquiryId; private string _RespondentMailId; private string _UserEmailId; private System.DateTime _ResponseDate; private string _Description; private string _PhoneNo; private string _RespondentName; private EntityRef _UserDet; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnEnquiryIdChanging(decimal value); partial void OnEnquiryIdChanged(); partial void OnRespondentMailIdChanging(string value); partial void OnRespondentMailIdChanged(); partial void OnUserEmailIdChanging(string value); partial void OnUserEmailIdChanged(); partial void OnResponseDateChanging(System.DateTime value); partial void OnResponseDateChanged(); partial void OnDescriptionChanging(string value); partial void OnDescriptionChanged(); partial void OnPhoneNoChanging(string value); partial void OnPhoneNoChanged(); partial void OnRespondentNameChanging(string value); partial void OnRespondentNameChanged(); #endregion public BusinessEnquiryDet() { this._UserDet = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EnquiryId", AutoSync=AutoSync.OnInsert, DbType="Decimal(10,0) NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public decimal EnquiryId { get { return this._EnquiryId; } set { if ((this._EnquiryId != value)) { this.OnEnquiryIdChanging(value); this.SendPropertyChanging(); this._EnquiryId = value; this.SendPropertyChanged("EnquiryId"); this.OnEnquiryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RespondentMailId", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string RespondentMailId { get { return this._RespondentMailId; } set { if ((this._RespondentMailId != value)) { this.OnRespondentMailIdChanging(value); this.SendPropertyChanging(); this._RespondentMailId = value; this.SendPropertyChanged("RespondentMailId"); this.OnRespondentMailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserEmailId", DbType="VarChar(100) NOT NULL", CanBeNull=false)] public string UserEmailId { get { return this._UserEmailId; } set { if ((this._UserEmailId != value)) { if (this._UserDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnUserEmailIdChanging(value); this.SendPropertyChanging(); this._UserEmailId = value; this.SendPropertyChanged("UserEmailId"); this.OnUserEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponseDate", DbType="DateTime NOT NULL")] public System.DateTime ResponseDate { get { return this._ResponseDate; } set { if ((this._ResponseDate != value)) { this.OnResponseDateChanging(value); this.SendPropertyChanging(); this._ResponseDate = value; this.SendPropertyChanged("ResponseDate"); this.OnResponseDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(500) NOT NULL", CanBeNull=false)] public string Description { get { return this._Description; } set { if ((this._Description != value)) { this.OnDescriptionChanging(value); this.SendPropertyChanging(); this._Description = value; this.SendPropertyChanged("Description"); this.OnDescriptionChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PhoneNo", DbType="VarChar(12) NOT NULL", CanBeNull=false)] public string PhoneNo { get { return this._PhoneNo; } set { if ((this._PhoneNo != value)) { this.OnPhoneNoChanging(value); this.SendPropertyChanging(); this._PhoneNo = value; this.SendPropertyChanged("PhoneNo"); this.OnPhoneNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RespondentName", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string RespondentName { get { return this._RespondentName; } set { if ((this._RespondentName != value)) { this.OnRespondentNameChanging(value); this.SendPropertyChanging(); this._RespondentName = value; this.SendPropertyChanged("RespondentName"); this.OnRespondentNameChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_BusinessEnquiryDet", Storage="_UserDet", ThisKey="UserEmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet { get { return this._UserDet.Entity; } set { UserDet previousValue = this._UserDet.Entity; if (((previousValue != value) || (this._UserDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet.Entity = null; previousValue.BusinessEnquiryDets.Remove(this); } this._UserDet.Entity = value; if ((value != null)) { value.BusinessEnquiryDets.Add(this); this._UserEmailId = value.EmailId; } else { this._UserEmailId = default(string); } this.SendPropertyChanged("UserDet"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.UserDet")] public partial class UserDet : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private decimal _UserSerNo; private string _EmailId; private string _Name; private string _ContactNo; private string _Password; private string _Location; private string _City; private string _ZipCode; private string _Role; private System.Nullable _CategoryId; private string _BusinessName; private string _BusinessContact; private string _OperationLocatoin; private string _Website; private System.Data.Linq.Binary _BusinessLogo; private System.Data.Linq.Binary _BusinessFlyer; private string _AboutUs; private System.DateTime _CreatedDate; private string _Status; private string _UserType; private string _Latitude; private string _Longitude; private System.Nullable _RoleId; private string _Verified; private string _FB_Id; private string _Facebook_URL; private string _Instagram_URL; private string _Youtube_URL; private string _Gplus_URL; private string _Pinrest_URL; private string _Twitter_URL; private EntitySet _UserAdsImagesDets; private EntitySet _AdResponseDets; private EntitySet _Event_Venue_Managers; private EntitySet _Event_Supplier_Networks; private EntitySet _UserAdServiceDets; private EntitySet _Event_Oraganization_Creates; private EntitySet _UserAdsDets; private EntitySet _Event_Ticket_Buyer_Dets; private EntitySet _Dummy_Event_Ticket_Buyer_Dets; private EntitySet _User_Review_Dets; private EntitySet _BusinessEnquiryDets; private EntityRef _UserDet2; private EntityRef _CategoryDet; private EntityRef _UserDet1; #region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnUserSerNoChanging(decimal value); partial void OnUserSerNoChanged(); partial void OnEmailIdChanging(string value); partial void OnEmailIdChanged(); partial void OnNameChanging(string value); partial void OnNameChanged(); partial void OnContactNoChanging(string value); partial void OnContactNoChanged(); partial void OnPasswordChanging(string value); partial void OnPasswordChanged(); partial void OnLocationChanging(string value); partial void OnLocationChanged(); partial void OnCityChanging(string value); partial void OnCityChanged(); partial void OnZipCodeChanging(string value); partial void OnZipCodeChanged(); partial void OnRoleChanging(string value); partial void OnRoleChanged(); partial void OnCategoryIdChanging(System.Nullable value); partial void OnCategoryIdChanged(); partial void OnBusinessNameChanging(string value); partial void OnBusinessNameChanged(); partial void OnBusinessContactChanging(string value); partial void OnBusinessContactChanged(); partial void OnOperationLocatoinChanging(string value); partial void OnOperationLocatoinChanged(); partial void OnWebsiteChanging(string value); partial void OnWebsiteChanged(); partial void OnBusinessLogoChanging(System.Data.Linq.Binary value); partial void OnBusinessLogoChanged(); partial void OnBusinessFlyerChanging(System.Data.Linq.Binary value); partial void OnBusinessFlyerChanged(); partial void OnAboutUsChanging(string value); partial void OnAboutUsChanged(); partial void OnCreatedDateChanging(System.DateTime value); partial void OnCreatedDateChanged(); partial void OnStatusChanging(string value); partial void OnStatusChanged(); partial void OnUserTypeChanging(string value); partial void OnUserTypeChanged(); partial void OnLatitudeChanging(string value); partial void OnLatitudeChanged(); partial void OnLongitudeChanging(string value); partial void OnLongitudeChanged(); partial void OnRoleIdChanging(System.Nullable value); partial void OnRoleIdChanged(); partial void OnVerifiedChanging(string value); partial void OnVerifiedChanged(); partial void OnFB_IdChanging(string value); partial void OnFB_IdChanged(); partial void OnFacebook_URLChanging(string value); partial void OnFacebook_URLChanged(); partial void OnInstagram_URLChanging(string value); partial void OnInstagram_URLChanged(); partial void OnYoutube_URLChanging(string value); partial void OnYoutube_URLChanged(); partial void OnGplus_URLChanging(string value); partial void OnGplus_URLChanged(); partial void OnPinrest_URLChanging(string value); partial void OnPinrest_URLChanged(); partial void OnTwitter_URLChanging(string value); partial void OnTwitter_URLChanged(); #endregion public UserDet() { this._UserAdsImagesDets = new EntitySet(new Action(this.attach_UserAdsImagesDets), new Action(this.detach_UserAdsImagesDets)); this._AdResponseDets = new EntitySet(new Action(this.attach_AdResponseDets), new Action(this.detach_AdResponseDets)); this._Event_Venue_Managers = new EntitySet(new Action(this.attach_Event_Venue_Managers), new Action(this.detach_Event_Venue_Managers)); this._Event_Supplier_Networks = new EntitySet(new Action(this.attach_Event_Supplier_Networks), new Action(this.detach_Event_Supplier_Networks)); this._UserAdServiceDets = new EntitySet(new Action(this.attach_UserAdServiceDets), new Action(this.detach_UserAdServiceDets)); this._Event_Oraganization_Creates = new EntitySet(new Action(this.attach_Event_Oraganization_Creates), new Action(this.detach_Event_Oraganization_Creates)); this._UserAdsDets = new EntitySet(new Action(this.attach_UserAdsDets), new Action(this.detach_UserAdsDets)); this._Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Event_Ticket_Buyer_Dets), new Action(this.detach_Event_Ticket_Buyer_Dets)); this._Dummy_Event_Ticket_Buyer_Dets = new EntitySet(new Action(this.attach_Dummy_Event_Ticket_Buyer_Dets), new Action(this.detach_Dummy_Event_Ticket_Buyer_Dets)); this._User_Review_Dets = new EntitySet(new Action(this.attach_User_Review_Dets), new Action(this.detach_User_Review_Dets)); this._BusinessEnquiryDets = new EntitySet(new Action(this.attach_BusinessEnquiryDets), new Action(this.detach_BusinessEnquiryDets)); this._UserDet2 = default(EntityRef); this._CategoryDet = default(EntityRef); this._UserDet1 = default(EntityRef); OnCreated(); } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserSerNo", AutoSync=AutoSync.Always, DbType="Decimal(10,0) NOT NULL IDENTITY", IsDbGenerated=true)] public decimal UserSerNo { get { return this._UserSerNo; } set { if ((this._UserSerNo != value)) { this.OnUserSerNoChanging(value); this.SendPropertyChanging(); this._UserSerNo = value; this.SendPropertyChanged("UserSerNo"); this.OnUserSerNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailId", DbType="VarChar(100) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] public string EmailId { get { return this._EmailId; } set { if ((this._EmailId != value)) { if (this._UserDet1.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnEmailIdChanging(value); this.SendPropertyChanging(); this._EmailId = value; this.SendPropertyChanged("EmailId"); this.OnEmailIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(100) NOT NULL", CanBeNull=false)] public string Name { get { return this._Name; } set { if ((this._Name != value)) { this.OnNameChanging(value); this.SendPropertyChanging(); this._Name = value; this.SendPropertyChanged("Name"); this.OnNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactNo", DbType="VarChar(15)")] public string ContactNo { get { return this._ContactNo; } set { if ((this._ContactNo != value)) { this.OnContactNoChanging(value); this.SendPropertyChanging(); this._ContactNo = value; this.SendPropertyChanged("ContactNo"); this.OnContactNoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Password", DbType="VarChar(30) NOT NULL", CanBeNull=false)] public string Password { get { return this._Password; } set { if ((this._Password != value)) { this.OnPasswordChanging(value); this.SendPropertyChanging(); this._Password = value; this.SendPropertyChanged("Password"); this.OnPasswordChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Location", DbType="VarChar(500) NOT NULL", CanBeNull=false)] public string Location { get { return this._Location; } set { if ((this._Location != value)) { this.OnLocationChanging(value); this.SendPropertyChanging(); this._Location = value; this.SendPropertyChanged("Location"); this.OnLocationChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_City", DbType="VarChar(300)")] public string City { get { return this._City; } set { if ((this._City != value)) { this.OnCityChanging(value); this.SendPropertyChanging(); this._City = value; this.SendPropertyChanged("City"); this.OnCityChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ZipCode", DbType="VarChar(10)")] public string ZipCode { get { return this._ZipCode; } set { if ((this._ZipCode != value)) { this.OnZipCodeChanging(value); this.SendPropertyChanging(); this._ZipCode = value; this.SendPropertyChanged("ZipCode"); this.OnZipCodeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Role", DbType="VarChar(20) NOT NULL", CanBeNull=false)] public string Role { get { return this._Role; } set { if ((this._Role != value)) { this.OnRoleChanging(value); this.SendPropertyChanging(); this._Role = value; this.SendPropertyChanged("Role"); this.OnRoleChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CategoryId", DbType="Decimal(2,0)")] public System.Nullable CategoryId { get { return this._CategoryId; } set { if ((this._CategoryId != value)) { if (this._CategoryDet.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnCategoryIdChanging(value); this.SendPropertyChanging(); this._CategoryId = value; this.SendPropertyChanged("CategoryId"); this.OnCategoryIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessName", DbType="VarChar(200)")] public string BusinessName { get { return this._BusinessName; } set { if ((this._BusinessName != value)) { this.OnBusinessNameChanging(value); this.SendPropertyChanging(); this._BusinessName = value; this.SendPropertyChanged("BusinessName"); this.OnBusinessNameChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessContact", DbType="VarChar(15)")] public string BusinessContact { get { return this._BusinessContact; } set { if ((this._BusinessContact != value)) { this.OnBusinessContactChanging(value); this.SendPropertyChanging(); this._BusinessContact = value; this.SendPropertyChanged("BusinessContact"); this.OnBusinessContactChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperationLocatoin", DbType="VarChar(500)")] public string OperationLocatoin { get { return this._OperationLocatoin; } set { if ((this._OperationLocatoin != value)) { this.OnOperationLocatoinChanging(value); this.SendPropertyChanging(); this._OperationLocatoin = value; this.SendPropertyChanged("OperationLocatoin"); this.OnOperationLocatoinChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Website", DbType="VarChar(100)")] public string Website { get { return this._Website; } set { if ((this._Website != value)) { this.OnWebsiteChanging(value); this.SendPropertyChanging(); this._Website = value; this.SendPropertyChanged("Website"); this.OnWebsiteChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessLogo", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary BusinessLogo { get { return this._BusinessLogo; } set { if ((this._BusinessLogo != value)) { this.OnBusinessLogoChanging(value); this.SendPropertyChanging(); this._BusinessLogo = value; this.SendPropertyChanged("BusinessLogo"); this.OnBusinessLogoChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BusinessFlyer", DbType="Image", UpdateCheck=UpdateCheck.Never)] public System.Data.Linq.Binary BusinessFlyer { get { return this._BusinessFlyer; } set { if ((this._BusinessFlyer != value)) { this.OnBusinessFlyerChanging(value); this.SendPropertyChanging(); this._BusinessFlyer = value; this.SendPropertyChanged("BusinessFlyer"); this.OnBusinessFlyerChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AboutUs", DbType="VarChar(5000)")] public string AboutUs { get { return this._AboutUs; } set { if ((this._AboutUs != value)) { this.OnAboutUsChanging(value); this.SendPropertyChanging(); this._AboutUs = value; this.SendPropertyChanged("AboutUs"); this.OnAboutUsChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedDate", DbType="Date NOT NULL")] public System.DateTime CreatedDate { get { return this._CreatedDate; } set { if ((this._CreatedDate != value)) { this.OnCreatedDateChanging(value); this.SendPropertyChanging(); this._CreatedDate = value; this.SendPropertyChanged("CreatedDate"); this.OnCreatedDateChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="VarChar(10)")] public string Status { get { return this._Status; } set { if ((this._Status != value)) { this.OnStatusChanging(value); this.SendPropertyChanging(); this._Status = value; this.SendPropertyChanged("Status"); this.OnStatusChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserType", DbType="VarChar(20)")] public string UserType { get { return this._UserType; } set { if ((this._UserType != value)) { this.OnUserTypeChanging(value); this.SendPropertyChanging(); this._UserType = value; this.SendPropertyChanged("UserType"); this.OnUserTypeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Latitude", DbType="VarChar(50)")] public string Latitude { get { return this._Latitude; } set { if ((this._Latitude != value)) { this.OnLatitudeChanging(value); this.SendPropertyChanging(); this._Latitude = value; this.SendPropertyChanged("Latitude"); this.OnLatitudeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Longitude", DbType="VarChar(50)")] public string Longitude { get { return this._Longitude; } set { if ((this._Longitude != value)) { this.OnLongitudeChanging(value); this.SendPropertyChanging(); this._Longitude = value; this.SendPropertyChanged("Longitude"); this.OnLongitudeChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="Decimal(20,0)")] public System.Nullable RoleId { get { return this._RoleId; } set { if ((this._RoleId != value)) { this.OnRoleIdChanging(value); this.SendPropertyChanging(); this._RoleId = value; this.SendPropertyChanged("RoleId"); this.OnRoleIdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Verified", DbType="VarChar(15)")] public string Verified { get { return this._Verified; } set { if ((this._Verified != value)) { this.OnVerifiedChanging(value); this.SendPropertyChanging(); this._Verified = value; this.SendPropertyChanged("Verified"); this.OnVerifiedChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FB_Id", DbType="VarChar(100)")] public string FB_Id { get { return this._FB_Id; } set { if ((this._FB_Id != value)) { this.OnFB_IdChanging(value); this.SendPropertyChanging(); this._FB_Id = value; this.SendPropertyChanged("FB_Id"); this.OnFB_IdChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Facebook_URL", DbType="VarChar(500)")] public string Facebook_URL { get { return this._Facebook_URL; } set { if ((this._Facebook_URL != value)) { this.OnFacebook_URLChanging(value); this.SendPropertyChanging(); this._Facebook_URL = value; this.SendPropertyChanged("Facebook_URL"); this.OnFacebook_URLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Instagram_URL", DbType="VarChar(500)")] public string Instagram_URL { get { return this._Instagram_URL; } set { if ((this._Instagram_URL != value)) { this.OnInstagram_URLChanging(value); this.SendPropertyChanging(); this._Instagram_URL = value; this.SendPropertyChanged("Instagram_URL"); this.OnInstagram_URLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Youtube_URL", DbType="VarChar(500)")] public string Youtube_URL { get { return this._Youtube_URL; } set { if ((this._Youtube_URL != value)) { this.OnYoutube_URLChanging(value); this.SendPropertyChanging(); this._Youtube_URL = value; this.SendPropertyChanged("Youtube_URL"); this.OnYoutube_URLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Gplus_URL", DbType="VarChar(500)")] public string Gplus_URL { get { return this._Gplus_URL; } set { if ((this._Gplus_URL != value)) { this.OnGplus_URLChanging(value); this.SendPropertyChanging(); this._Gplus_URL = value; this.SendPropertyChanged("Gplus_URL"); this.OnGplus_URLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Pinrest_URL", DbType="VarChar(500)")] public string Pinrest_URL { get { return this._Pinrest_URL; } set { if ((this._Pinrest_URL != value)) { this.OnPinrest_URLChanging(value); this.SendPropertyChanging(); this._Pinrest_URL = value; this.SendPropertyChanged("Pinrest_URL"); this.OnPinrest_URLChanged(); } } } [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Twitter_URL", DbType="VarChar(500)")] public string Twitter_URL { get { return this._Twitter_URL; } set { if ((this._Twitter_URL != value)) { this.OnTwitter_URLChanging(value); this.SendPropertyChanging(); this._Twitter_URL = value; this.SendPropertyChanged("Twitter_URL"); this.OnTwitter_URLChanged(); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_UserAdsImagesDet", Storage="_UserAdsImagesDets", ThisKey="EmailId", OtherKey="UserEmailId")] public EntitySet UserAdsImagesDets { get { return this._UserAdsImagesDets; } set { this._UserAdsImagesDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_AdResponseDet", Storage="_AdResponseDets", ThisKey="EmailId", OtherKey="UserEmailId")] public EntitySet AdResponseDets { get { return this._AdResponseDets; } set { this._AdResponseDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Event_Venue_Manager", Storage="_Event_Venue_Managers", ThisKey="EmailId", OtherKey="Userid")] public EntitySet Event_Venue_Managers { get { return this._Event_Venue_Managers; } set { this._Event_Venue_Managers.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Event_Supplier_Network", Storage="_Event_Supplier_Networks", ThisKey="EmailId", OtherKey="UserId")] public EntitySet Event_Supplier_Networks { get { return this._Event_Supplier_Networks; } set { this._Event_Supplier_Networks.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_UserAdServiceDet", Storage="_UserAdServiceDets", ThisKey="EmailId", OtherKey="UserEmailId")] public EntitySet UserAdServiceDets { get { return this._UserAdServiceDets; } set { this._UserAdServiceDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Event_Oraganization_Create", Storage="_Event_Oraganization_Creates", ThisKey="EmailId", OtherKey="Email")] public EntitySet Event_Oraganization_Creates { get { return this._Event_Oraganization_Creates; } set { this._Event_Oraganization_Creates.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_UserAdsDet", Storage="_UserAdsDets", ThisKey="EmailId", OtherKey="UserEmailId")] public EntitySet UserAdsDets { get { return this._UserAdsDets; } set { this._UserAdsDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Event_Ticket_Buyer_Det", Storage="_Event_Ticket_Buyer_Dets", ThisKey="EmailId", OtherKey="BuyerEmailId")] public EntitySet Event_Ticket_Buyer_Dets { get { return this._Event_Ticket_Buyer_Dets; } set { this._Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_Dummy_Event_Ticket_Buyer_Det", Storage="_Dummy_Event_Ticket_Buyer_Dets", ThisKey="EmailId", OtherKey="BuyerEmailId")] public EntitySet Dummy_Event_Ticket_Buyer_Dets { get { return this._Dummy_Event_Ticket_Buyer_Dets; } set { this._Dummy_Event_Ticket_Buyer_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_User_Review_Det", Storage="_User_Review_Dets", ThisKey="EmailId", OtherKey="UserEmailId")] public EntitySet User_Review_Dets { get { return this._User_Review_Dets; } set { this._User_Review_Dets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_BusinessEnquiryDet", Storage="_BusinessEnquiryDets", ThisKey="EmailId", OtherKey="UserEmailId")] public EntitySet BusinessEnquiryDets { get { return this._BusinessEnquiryDets; } set { this._BusinessEnquiryDets.Assign(value); } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_UserDet", Storage="_UserDet2", ThisKey="EmailId", OtherKey="EmailId", IsUnique=true, IsForeignKey=false)] public UserDet UserDet2 { get { return this._UserDet2.Entity; } set { UserDet previousValue = this._UserDet2.Entity; if (((previousValue != value) || (this._UserDet2.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet2.Entity = null; previousValue.UserDet1 = null; } this._UserDet2.Entity = value; if ((value != null)) { value.UserDet1 = this; } this.SendPropertyChanged("UserDet2"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="CategoryDet_UserDet", Storage="_CategoryDet", ThisKey="CategoryId", OtherKey="CategoryId", IsForeignKey=true)] public CategoryDet CategoryDet { get { return this._CategoryDet.Entity; } set { CategoryDet previousValue = this._CategoryDet.Entity; if (((previousValue != value) || (this._CategoryDet.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._CategoryDet.Entity = null; previousValue.UserDets.Remove(this); } this._CategoryDet.Entity = value; if ((value != null)) { value.UserDets.Add(this); this._CategoryId = value.CategoryId; } else { this._CategoryId = default(Nullable); } this.SendPropertyChanged("CategoryDet"); } } } [global::System.Data.Linq.Mapping.AssociationAttribute(Name="UserDet_UserDet", Storage="_UserDet1", ThisKey="EmailId", OtherKey="EmailId", IsForeignKey=true)] public UserDet UserDet1 { get { return this._UserDet1.Entity; } set { UserDet previousValue = this._UserDet1.Entity; if (((previousValue != value) || (this._UserDet1.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._UserDet1.Entity = null; previousValue.UserDet2 = null; } this._UserDet1.Entity = value; if ((value != null)) { value.UserDet2 = this; this._EmailId = value.EmailId; } else { this._EmailId = default(string); } this.SendPropertyChanged("UserDet1"); } } } 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_UserAdsImagesDets(UserAdsImagesDet entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_UserAdsImagesDets(UserAdsImagesDet entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_AdResponseDets(AdResponseDet entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_AdResponseDets(AdResponseDet entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_Event_Venue_Managers(Event_Venue_Manager entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_Event_Venue_Managers(Event_Venue_Manager entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_Event_Supplier_Networks(Event_Supplier_Network entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_Event_Supplier_Networks(Event_Supplier_Network entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_UserAdServiceDets(UserAdServiceDet entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_UserAdServiceDets(UserAdServiceDet entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_Event_Oraganization_Creates(Event_Oraganization_Create entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_Event_Oraganization_Creates(Event_Oraganization_Create entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_UserAdsDets(UserAdsDet entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_UserAdsDets(UserAdsDet entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_Event_Ticket_Buyer_Dets(Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_Dummy_Event_Ticket_Buyer_Dets(Dummy_Event_Ticket_Buyer_Det entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_User_Review_Dets(User_Review_Det entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_User_Review_Dets(User_Review_Det entity) { this.SendPropertyChanging(); entity.UserDet = null; } private void attach_BusinessEnquiryDets(BusinessEnquiryDet entity) { this.SendPropertyChanging(); entity.UserDet = this; } private void detach_BusinessEnquiryDets(BusinessEnquiryDet entity) { this.SendPropertyChanging(); entity.UserDet = null; } } #pragma warning restore 1591