#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