PageRenderTime 69ms CodeModel.GetById 13ms app.highlight 43ms RepoModel.GetById 1ms app.codeStats 1ms

/CmsData/Generated/Person.cs

https://bitbucket.org/mahalowe/bvcms
C# | 5363 lines | 3718 code | 1645 blank | 0 comment | 421 complexity | 09248539d2211bf6ab5b5de59c1daf99 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1using System; 
   2using System.Data.Linq;
   3using System.Data.Linq.Mapping;
   4using System.Data;
   5using System.Collections.Generic;
   6using System.Reflection;
   7using System.Linq;
   8using System.Linq.Expressions;
   9using System.ComponentModel;
  10
  11namespace CmsData
  12{
  13	[Table(Name="dbo.People")]
  14	public partial class Person : INotifyPropertyChanging, INotifyPropertyChanged
  15	{
  16		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  17		
  18	#region Private Fields
  19		
  20		private int _PeopleId;
  21		
  22		private int _CreatedBy;
  23		
  24		private DateTime? _CreatedDate;
  25		
  26		private int _DropCodeId;
  27		
  28		private int _GenderId;
  29		
  30		private bool _DoNotMailFlag;
  31		
  32		private bool _DoNotCallFlag;
  33		
  34		private bool _DoNotVisitFlag;
  35		
  36		private int _AddressTypeId;
  37		
  38		private int _PhonePrefId;
  39		
  40		private int _MaritalStatusId;
  41		
  42		private int _PositionInFamilyId;
  43		
  44		private int _MemberStatusId;
  45		
  46		private int _FamilyId;
  47		
  48		private int? _BirthMonth;
  49		
  50		private int? _BirthDay;
  51		
  52		private int? _BirthYear;
  53		
  54		private int? _OriginId;
  55		
  56		private int? _EntryPointId;
  57		
  58		private int? _InterestPointId;
  59		
  60		private int? _BaptismTypeId;
  61		
  62		private int? _BaptismStatusId;
  63		
  64		private int? _DecisionTypeId;
  65		
  66		private int? _NewMemberClassStatusId;
  67		
  68		private int? _LetterStatusId;
  69		
  70		private int _JoinCodeId;
  71		
  72		private int? _EnvelopeOptionsId;
  73		
  74		private bool? _BadAddressFlag;
  75		
  76		private int? _ResCodeId;
  77		
  78		private DateTime? _AddressFromDate;
  79		
  80		private DateTime? _AddressToDate;
  81		
  82		private DateTime? _WeddingDate;
  83		
  84		private DateTime? _OriginDate;
  85		
  86		private DateTime? _BaptismSchedDate;
  87		
  88		private DateTime? _BaptismDate;
  89		
  90		private DateTime? _DecisionDate;
  91		
  92		private DateTime? _LetterDateRequested;
  93		
  94		private DateTime? _LetterDateReceived;
  95		
  96		private DateTime? _JoinDate;
  97		
  98		private DateTime? _DropDate;
  99		
 100		private DateTime? _DeceasedDate;
 101		
 102		private string _TitleCode;
 103		
 104		private string _FirstName;
 105		
 106		private string _MiddleName;
 107		
 108		private string _MaidenName;
 109		
 110		private string _LastName;
 111		
 112		private string _SuffixCode;
 113		
 114		private string _NickName;
 115		
 116		private string _AddressLineOne;
 117		
 118		private string _AddressLineTwo;
 119		
 120		private string _CityName;
 121		
 122		private string _StateCode;
 123		
 124		private string _ZipCode;
 125		
 126		private string _CountryName;
 127		
 128		private string _StreetName;
 129		
 130		private string _CellPhone;
 131		
 132		private string _WorkPhone;
 133		
 134		private string _EmailAddress;
 135		
 136		private string _OtherPreviousChurch;
 137		
 138		private string _OtherNewChurch;
 139		
 140		private string _SchoolOther;
 141		
 142		private string _EmployerOther;
 143		
 144		private string _OccupationOther;
 145		
 146		private string _HobbyOther;
 147		
 148		private string _SkillOther;
 149		
 150		private string _InterestOther;
 151		
 152		private string _LetterStatusNotes;
 153		
 154		private string _Comments;
 155		
 156		private bool _ChristAsSavior;
 157		
 158		private bool? _MemberAnyChurch;
 159		
 160		private bool _InterestedInJoining;
 161		
 162		private bool _PleaseVisit;
 163		
 164		private bool _InfoBecomeAChristian;
 165		
 166		private bool _ContributionsStatement;
 167		
 168		private int? _ModifiedBy;
 169		
 170		private DateTime? _ModifiedDate;
 171		
 172		private int? _PictureId;
 173		
 174		private int? _ContributionOptionsId;
 175		
 176		private string _PrimaryCity;
 177		
 178		private string _PrimaryZip;
 179		
 180		private string _PrimaryAddress;
 181		
 182		private string _PrimaryState;
 183		
 184		private string _HomePhone;
 185		
 186		private int? _SpouseId;
 187		
 188		private string _PrimaryAddress2;
 189		
 190		private int? _PrimaryResCode;
 191		
 192		private int? _PrimaryBadAddrFlag;
 193		
 194		private DateTime? _LastContact;
 195		
 196		private int? _Grade;
 197		
 198		private string _CellPhoneLU;
 199		
 200		private string _WorkPhoneLU;
 201		
 202		private int? _BibleFellowshipClassId;
 203		
 204		private int? _CampusId;
 205		
 206		private string _CellPhoneAC;
 207		
 208		private string _CheckInNotes;
 209		
 210		private int? _Age;
 211		
 212		private string _AltName;
 213		
 214		private bool? _CustodyIssue;
 215		
 216		private bool? _OkTransport;
 217		
 218		private DateTime? _BDate;
 219		
 220		private bool? _HasDuplicates;
 221		
 222		private string _FirstName2;
 223		
 224		private string _EmailAddress2;
 225		
 226		private bool? _SendEmailAddress1;
 227		
 228		private bool? _SendEmailAddress2;
 229		
 230		private int? _HashNum;
 231		
 232		private DateTime? _NewMemberClassDate;
 233		
 234		private string _Name;
 235		
 236		private string _PreferredName;
 237		
 238		private string _PrimaryCountry;
 239		
 240		private bool _ReceiveSMS;
 241		
 242		private string _Name2;
 243		
 244		private bool? _DoNotPublishPhones;
 245		
 246		private bool? _IsDeceased;
 247		
 248   		
 249   		private EntitySet< Contactee> _contactsHad;
 250		
 251   		private EntitySet< Contactor> _contactsMade;
 252		
 253   		private EntitySet< EnrollmentTransaction> _EnrollmentTransactions;
 254		
 255   		private EntitySet< Family> _FamiliesHeaded;
 256		
 257   		private EntitySet< Family> _FamiliesHeaded2;
 258		
 259   		private EntitySet< ActivityLog> _ActivityLogs;
 260		
 261   		private EntitySet< Attend> _Attends;
 262		
 263   		private EntitySet< BackgroundCheck> _BackgroundChecks;
 264		
 265   		private EntitySet< CardIdentifier> _CardIdentifiers;
 266		
 267   		private EntitySet< CheckInTime> _CheckInTimes;
 268		
 269   		private EntitySet< Contribution> _Contributions;
 270		
 271   		private EntitySet< Coupon> _Coupons;
 272		
 273   		private EntitySet< EmailOptOut> _EmailOptOuts;
 274		
 275   		private EntitySet< EmailQueue> _EmailQueues;
 276		
 277   		private EntitySet< EmailQueueTo> _EmailQueueTos;
 278		
 279   		private EntitySet< EmailResponse> _EmailResponses;
 280		
 281   		private EntitySet< ManagedGiving> _ManagedGivings;
 282		
 283   		private EntitySet< MemberDocForm> _MemberDocForms;
 284		
 285   		private EntitySet< PaymentInfo> _PaymentInfos;
 286		
 287   		private EntitySet< PeopleExtra> _PeopleExtras;
 288		
 289   		private EntitySet< RecReg> _RecRegs;
 290		
 291   		private EntitySet< RecurringAmount> _RecurringAmounts;
 292		
 293   		private EntitySet< SMSItem> _SMSItems;
 294		
 295   		private EntitySet< SMSList> _SMSLists;
 296		
 297   		private EntitySet< TagShare> _TagShares;
 298		
 299   		private EntitySet< TaskListOwner> _TaskListOwners;
 300		
 301   		private EntitySet< Transaction> _Transactions;
 302		
 303   		private EntitySet< TransactionPerson> _TransactionPeople;
 304		
 305   		private EntitySet< User> _Users;
 306		
 307   		private EntitySet< VolInterestInterestCode> _VolInterestInterestCodes;
 308		
 309   		private EntitySet< Volunteer> _Volunteers;
 310		
 311   		private EntitySet< VolunteerForm> _VolunteerForms;
 312		
 313   		private EntitySet< VoluteerApprovalId> _VoluteerApprovalIds;
 314		
 315   		private EntitySet< OrganizationMember> _OrganizationMembers;
 316		
 317   		private EntitySet< BackgroundCheck> _People;
 318		
 319   		private EntitySet< SubRequest> _SubRequests;
 320		
 321   		private EntitySet< SubRequest> _SubResponses;
 322		
 323   		private EntitySet< TagPerson> _Tags;
 324		
 325   		private EntitySet< Tag> _TagsOwned;
 326		
 327   		private EntitySet< Task> _Tasks;
 328		
 329   		private EntitySet< Task> _TasksAboutPerson;
 330		
 331   		private EntitySet< Task> _TasksCoOwned;
 332		
 333   		private EntitySet< VolRequest> _VolRequests;
 334		
 335   		private EntitySet< VolRequest> _VolResponses;
 336		
 337    	
 338		private EntityRef< Organization> _BFClass;
 339		
 340		private EntityRef< EnvelopeOption> _EnvelopeOption;
 341		
 342		private EntityRef< BaptismStatus> _BaptismStatus;
 343		
 344		private EntityRef< BaptismType> _BaptismType;
 345		
 346		private EntityRef< Campu> _Campu;
 347		
 348		private EntityRef< DecisionType> _DecisionType;
 349		
 350		private EntityRef< NewMemberClassStatus> _NewMemberClassStatus;
 351		
 352		private EntityRef< DropType> _DropType;
 353		
 354		private EntityRef< EntryPoint> _EntryPoint;
 355		
 356		private EntityRef< Family> _Family;
 357		
 358		private EntityRef< FamilyPosition> _FamilyPosition;
 359		
 360		private EntityRef< Gender> _Gender;
 361		
 362		private EntityRef< InterestPoint> _InterestPoint;
 363		
 364		private EntityRef< JoinType> _JoinType;
 365		
 366		private EntityRef< MaritalStatus> _MaritalStatus;
 367		
 368		private EntityRef< MemberLetterStatus> _MemberLetterStatus;
 369		
 370		private EntityRef< MemberStatus> _MemberStatus;
 371		
 372		private EntityRef< Origin> _Origin;
 373		
 374		private EntityRef< Picture> _Picture;
 375		
 376		private EntityRef< ResidentCode> _ResidentCode;
 377		
 378		private EntityRef< EnvelopeOption> _ContributionStatementOption;
 379		
 380	#endregion
 381	
 382    #region Extensibility Method Definitions
 383    partial void OnLoaded();
 384    partial void OnValidate(System.Data.Linq.ChangeAction action);
 385    partial void OnCreated();
 386		
 387		partial void OnPeopleIdChanging(int value);
 388		partial void OnPeopleIdChanged();
 389		
 390		partial void OnCreatedByChanging(int value);
 391		partial void OnCreatedByChanged();
 392		
 393		partial void OnCreatedDateChanging(DateTime? value);
 394		partial void OnCreatedDateChanged();
 395		
 396		partial void OnDropCodeIdChanging(int value);
 397		partial void OnDropCodeIdChanged();
 398		
 399		partial void OnGenderIdChanging(int value);
 400		partial void OnGenderIdChanged();
 401		
 402		partial void OnDoNotMailFlagChanging(bool value);
 403		partial void OnDoNotMailFlagChanged();
 404		
 405		partial void OnDoNotCallFlagChanging(bool value);
 406		partial void OnDoNotCallFlagChanged();
 407		
 408		partial void OnDoNotVisitFlagChanging(bool value);
 409		partial void OnDoNotVisitFlagChanged();
 410		
 411		partial void OnAddressTypeIdChanging(int value);
 412		partial void OnAddressTypeIdChanged();
 413		
 414		partial void OnPhonePrefIdChanging(int value);
 415		partial void OnPhonePrefIdChanged();
 416		
 417		partial void OnMaritalStatusIdChanging(int value);
 418		partial void OnMaritalStatusIdChanged();
 419		
 420		partial void OnPositionInFamilyIdChanging(int value);
 421		partial void OnPositionInFamilyIdChanged();
 422		
 423		partial void OnMemberStatusIdChanging(int value);
 424		partial void OnMemberStatusIdChanged();
 425		
 426		partial void OnFamilyIdChanging(int value);
 427		partial void OnFamilyIdChanged();
 428		
 429		partial void OnBirthMonthChanging(int? value);
 430		partial void OnBirthMonthChanged();
 431		
 432		partial void OnBirthDayChanging(int? value);
 433		partial void OnBirthDayChanged();
 434		
 435		partial void OnBirthYearChanging(int? value);
 436		partial void OnBirthYearChanged();
 437		
 438		partial void OnOriginIdChanging(int? value);
 439		partial void OnOriginIdChanged();
 440		
 441		partial void OnEntryPointIdChanging(int? value);
 442		partial void OnEntryPointIdChanged();
 443		
 444		partial void OnInterestPointIdChanging(int? value);
 445		partial void OnInterestPointIdChanged();
 446		
 447		partial void OnBaptismTypeIdChanging(int? value);
 448		partial void OnBaptismTypeIdChanged();
 449		
 450		partial void OnBaptismStatusIdChanging(int? value);
 451		partial void OnBaptismStatusIdChanged();
 452		
 453		partial void OnDecisionTypeIdChanging(int? value);
 454		partial void OnDecisionTypeIdChanged();
 455		
 456		partial void OnNewMemberClassStatusIdChanging(int? value);
 457		partial void OnNewMemberClassStatusIdChanged();
 458		
 459		partial void OnLetterStatusIdChanging(int? value);
 460		partial void OnLetterStatusIdChanged();
 461		
 462		partial void OnJoinCodeIdChanging(int value);
 463		partial void OnJoinCodeIdChanged();
 464		
 465		partial void OnEnvelopeOptionsIdChanging(int? value);
 466		partial void OnEnvelopeOptionsIdChanged();
 467		
 468		partial void OnBadAddressFlagChanging(bool? value);
 469		partial void OnBadAddressFlagChanged();
 470		
 471		partial void OnResCodeIdChanging(int? value);
 472		partial void OnResCodeIdChanged();
 473		
 474		partial void OnAddressFromDateChanging(DateTime? value);
 475		partial void OnAddressFromDateChanged();
 476		
 477		partial void OnAddressToDateChanging(DateTime? value);
 478		partial void OnAddressToDateChanged();
 479		
 480		partial void OnWeddingDateChanging(DateTime? value);
 481		partial void OnWeddingDateChanged();
 482		
 483		partial void OnOriginDateChanging(DateTime? value);
 484		partial void OnOriginDateChanged();
 485		
 486		partial void OnBaptismSchedDateChanging(DateTime? value);
 487		partial void OnBaptismSchedDateChanged();
 488		
 489		partial void OnBaptismDateChanging(DateTime? value);
 490		partial void OnBaptismDateChanged();
 491		
 492		partial void OnDecisionDateChanging(DateTime? value);
 493		partial void OnDecisionDateChanged();
 494		
 495		partial void OnLetterDateRequestedChanging(DateTime? value);
 496		partial void OnLetterDateRequestedChanged();
 497		
 498		partial void OnLetterDateReceivedChanging(DateTime? value);
 499		partial void OnLetterDateReceivedChanged();
 500		
 501		partial void OnJoinDateChanging(DateTime? value);
 502		partial void OnJoinDateChanged();
 503		
 504		partial void OnDropDateChanging(DateTime? value);
 505		partial void OnDropDateChanged();
 506		
 507		partial void OnDeceasedDateChanging(DateTime? value);
 508		partial void OnDeceasedDateChanged();
 509		
 510		partial void OnTitleCodeChanging(string value);
 511		partial void OnTitleCodeChanged();
 512		
 513		partial void OnFirstNameChanging(string value);
 514		partial void OnFirstNameChanged();
 515		
 516		partial void OnMiddleNameChanging(string value);
 517		partial void OnMiddleNameChanged();
 518		
 519		partial void OnMaidenNameChanging(string value);
 520		partial void OnMaidenNameChanged();
 521		
 522		partial void OnLastNameChanging(string value);
 523		partial void OnLastNameChanged();
 524		
 525		partial void OnSuffixCodeChanging(string value);
 526		partial void OnSuffixCodeChanged();
 527		
 528		partial void OnNickNameChanging(string value);
 529		partial void OnNickNameChanged();
 530		
 531		partial void OnAddressLineOneChanging(string value);
 532		partial void OnAddressLineOneChanged();
 533		
 534		partial void OnAddressLineTwoChanging(string value);
 535		partial void OnAddressLineTwoChanged();
 536		
 537		partial void OnCityNameChanging(string value);
 538		partial void OnCityNameChanged();
 539		
 540		partial void OnStateCodeChanging(string value);
 541		partial void OnStateCodeChanged();
 542		
 543		partial void OnZipCodeChanging(string value);
 544		partial void OnZipCodeChanged();
 545		
 546		partial void OnCountryNameChanging(string value);
 547		partial void OnCountryNameChanged();
 548		
 549		partial void OnStreetNameChanging(string value);
 550		partial void OnStreetNameChanged();
 551		
 552		partial void OnCellPhoneChanging(string value);
 553		partial void OnCellPhoneChanged();
 554		
 555		partial void OnWorkPhoneChanging(string value);
 556		partial void OnWorkPhoneChanged();
 557		
 558		partial void OnEmailAddressChanging(string value);
 559		partial void OnEmailAddressChanged();
 560		
 561		partial void OnOtherPreviousChurchChanging(string value);
 562		partial void OnOtherPreviousChurchChanged();
 563		
 564		partial void OnOtherNewChurchChanging(string value);
 565		partial void OnOtherNewChurchChanged();
 566		
 567		partial void OnSchoolOtherChanging(string value);
 568		partial void OnSchoolOtherChanged();
 569		
 570		partial void OnEmployerOtherChanging(string value);
 571		partial void OnEmployerOtherChanged();
 572		
 573		partial void OnOccupationOtherChanging(string value);
 574		partial void OnOccupationOtherChanged();
 575		
 576		partial void OnHobbyOtherChanging(string value);
 577		partial void OnHobbyOtherChanged();
 578		
 579		partial void OnSkillOtherChanging(string value);
 580		partial void OnSkillOtherChanged();
 581		
 582		partial void OnInterestOtherChanging(string value);
 583		partial void OnInterestOtherChanged();
 584		
 585		partial void OnLetterStatusNotesChanging(string value);
 586		partial void OnLetterStatusNotesChanged();
 587		
 588		partial void OnCommentsChanging(string value);
 589		partial void OnCommentsChanged();
 590		
 591		partial void OnChristAsSaviorChanging(bool value);
 592		partial void OnChristAsSaviorChanged();
 593		
 594		partial void OnMemberAnyChurchChanging(bool? value);
 595		partial void OnMemberAnyChurchChanged();
 596		
 597		partial void OnInterestedInJoiningChanging(bool value);
 598		partial void OnInterestedInJoiningChanged();
 599		
 600		partial void OnPleaseVisitChanging(bool value);
 601		partial void OnPleaseVisitChanged();
 602		
 603		partial void OnInfoBecomeAChristianChanging(bool value);
 604		partial void OnInfoBecomeAChristianChanged();
 605		
 606		partial void OnContributionsStatementChanging(bool value);
 607		partial void OnContributionsStatementChanged();
 608		
 609		partial void OnModifiedByChanging(int? value);
 610		partial void OnModifiedByChanged();
 611		
 612		partial void OnModifiedDateChanging(DateTime? value);
 613		partial void OnModifiedDateChanged();
 614		
 615		partial void OnPictureIdChanging(int? value);
 616		partial void OnPictureIdChanged();
 617		
 618		partial void OnContributionOptionsIdChanging(int? value);
 619		partial void OnContributionOptionsIdChanged();
 620		
 621		partial void OnPrimaryCityChanging(string value);
 622		partial void OnPrimaryCityChanged();
 623		
 624		partial void OnPrimaryZipChanging(string value);
 625		partial void OnPrimaryZipChanged();
 626		
 627		partial void OnPrimaryAddressChanging(string value);
 628		partial void OnPrimaryAddressChanged();
 629		
 630		partial void OnPrimaryStateChanging(string value);
 631		partial void OnPrimaryStateChanged();
 632		
 633		partial void OnHomePhoneChanging(string value);
 634		partial void OnHomePhoneChanged();
 635		
 636		partial void OnSpouseIdChanging(int? value);
 637		partial void OnSpouseIdChanged();
 638		
 639		partial void OnPrimaryAddress2Changing(string value);
 640		partial void OnPrimaryAddress2Changed();
 641		
 642		partial void OnPrimaryResCodeChanging(int? value);
 643		partial void OnPrimaryResCodeChanged();
 644		
 645		partial void OnPrimaryBadAddrFlagChanging(int? value);
 646		partial void OnPrimaryBadAddrFlagChanged();
 647		
 648		partial void OnLastContactChanging(DateTime? value);
 649		partial void OnLastContactChanged();
 650		
 651		partial void OnGradeChanging(int? value);
 652		partial void OnGradeChanged();
 653		
 654		partial void OnCellPhoneLUChanging(string value);
 655		partial void OnCellPhoneLUChanged();
 656		
 657		partial void OnWorkPhoneLUChanging(string value);
 658		partial void OnWorkPhoneLUChanged();
 659		
 660		partial void OnBibleFellowshipClassIdChanging(int? value);
 661		partial void OnBibleFellowshipClassIdChanged();
 662		
 663		partial void OnCampusIdChanging(int? value);
 664		partial void OnCampusIdChanged();
 665		
 666		partial void OnCellPhoneACChanging(string value);
 667		partial void OnCellPhoneACChanged();
 668		
 669		partial void OnCheckInNotesChanging(string value);
 670		partial void OnCheckInNotesChanged();
 671		
 672		partial void OnAgeChanging(int? value);
 673		partial void OnAgeChanged();
 674		
 675		partial void OnAltNameChanging(string value);
 676		partial void OnAltNameChanged();
 677		
 678		partial void OnCustodyIssueChanging(bool? value);
 679		partial void OnCustodyIssueChanged();
 680		
 681		partial void OnOkTransportChanging(bool? value);
 682		partial void OnOkTransportChanged();
 683		
 684		partial void OnBDateChanging(DateTime? value);
 685		partial void OnBDateChanged();
 686		
 687		partial void OnHasDuplicatesChanging(bool? value);
 688		partial void OnHasDuplicatesChanged();
 689		
 690		partial void OnFirstName2Changing(string value);
 691		partial void OnFirstName2Changed();
 692		
 693		partial void OnEmailAddress2Changing(string value);
 694		partial void OnEmailAddress2Changed();
 695		
 696		partial void OnSendEmailAddress1Changing(bool? value);
 697		partial void OnSendEmailAddress1Changed();
 698		
 699		partial void OnSendEmailAddress2Changing(bool? value);
 700		partial void OnSendEmailAddress2Changed();
 701		
 702		partial void OnHashNumChanging(int? value);
 703		partial void OnHashNumChanged();
 704		
 705		partial void OnNewMemberClassDateChanging(DateTime? value);
 706		partial void OnNewMemberClassDateChanged();
 707		
 708		partial void OnNameChanging(string value);
 709		partial void OnNameChanged();
 710		
 711		partial void OnPreferredNameChanging(string value);
 712		partial void OnPreferredNameChanged();
 713		
 714		partial void OnPrimaryCountryChanging(string value);
 715		partial void OnPrimaryCountryChanged();
 716		
 717		partial void OnReceiveSMSChanging(bool value);
 718		partial void OnReceiveSMSChanged();
 719		
 720		partial void OnName2Changing(string value);
 721		partial void OnName2Changed();
 722		
 723		partial void OnDoNotPublishPhonesChanging(bool? value);
 724		partial void OnDoNotPublishPhonesChanged();
 725		
 726		partial void OnIsDeceasedChanging(bool? value);
 727		partial void OnIsDeceasedChanged();
 728		
 729    #endregion
 730		public Person()
 731		{
 732			
 733			this._contactsHad = new EntitySet< Contactee>(new Action< Contactee>(this.attach_contactsHad), new Action< Contactee>(this.detach_contactsHad)); 
 734			
 735			this._contactsMade = new EntitySet< Contactor>(new Action< Contactor>(this.attach_contactsMade), new Action< Contactor>(this.detach_contactsMade)); 
 736			
 737			this._EnrollmentTransactions = new EntitySet< EnrollmentTransaction>(new Action< EnrollmentTransaction>(this.attach_EnrollmentTransactions), new Action< EnrollmentTransaction>(this.detach_EnrollmentTransactions)); 
 738			
 739			this._FamiliesHeaded = new EntitySet< Family>(new Action< Family>(this.attach_FamiliesHeaded), new Action< Family>(this.detach_FamiliesHeaded)); 
 740			
 741			this._FamiliesHeaded2 = new EntitySet< Family>(new Action< Family>(this.attach_FamiliesHeaded2), new Action< Family>(this.detach_FamiliesHeaded2)); 
 742			
 743			this._ActivityLogs = new EntitySet< ActivityLog>(new Action< ActivityLog>(this.attach_ActivityLogs), new Action< ActivityLog>(this.detach_ActivityLogs)); 
 744			
 745			this._Attends = new EntitySet< Attend>(new Action< Attend>(this.attach_Attends), new Action< Attend>(this.detach_Attends)); 
 746			
 747			this._BackgroundChecks = new EntitySet< BackgroundCheck>(new Action< BackgroundCheck>(this.attach_BackgroundChecks), new Action< BackgroundCheck>(this.detach_BackgroundChecks)); 
 748			
 749			this._CardIdentifiers = new EntitySet< CardIdentifier>(new Action< CardIdentifier>(this.attach_CardIdentifiers), new Action< CardIdentifier>(this.detach_CardIdentifiers)); 
 750			
 751			this._CheckInTimes = new EntitySet< CheckInTime>(new Action< CheckInTime>(this.attach_CheckInTimes), new Action< CheckInTime>(this.detach_CheckInTimes)); 
 752			
 753			this._Contributions = new EntitySet< Contribution>(new Action< Contribution>(this.attach_Contributions), new Action< Contribution>(this.detach_Contributions)); 
 754			
 755			this._Coupons = new EntitySet< Coupon>(new Action< Coupon>(this.attach_Coupons), new Action< Coupon>(this.detach_Coupons)); 
 756			
 757			this._EmailOptOuts = new EntitySet< EmailOptOut>(new Action< EmailOptOut>(this.attach_EmailOptOuts), new Action< EmailOptOut>(this.detach_EmailOptOuts)); 
 758			
 759			this._EmailQueues = new EntitySet< EmailQueue>(new Action< EmailQueue>(this.attach_EmailQueues), new Action< EmailQueue>(this.detach_EmailQueues)); 
 760			
 761			this._EmailQueueTos = new EntitySet< EmailQueueTo>(new Action< EmailQueueTo>(this.attach_EmailQueueTos), new Action< EmailQueueTo>(this.detach_EmailQueueTos)); 
 762			
 763			this._EmailResponses = new EntitySet< EmailResponse>(new Action< EmailResponse>(this.attach_EmailResponses), new Action< EmailResponse>(this.detach_EmailResponses)); 
 764			
 765			this._ManagedGivings = new EntitySet< ManagedGiving>(new Action< ManagedGiving>(this.attach_ManagedGivings), new Action< ManagedGiving>(this.detach_ManagedGivings)); 
 766			
 767			this._MemberDocForms = new EntitySet< MemberDocForm>(new Action< MemberDocForm>(this.attach_MemberDocForms), new Action< MemberDocForm>(this.detach_MemberDocForms)); 
 768			
 769			this._PaymentInfos = new EntitySet< PaymentInfo>(new Action< PaymentInfo>(this.attach_PaymentInfos), new Action< PaymentInfo>(this.detach_PaymentInfos)); 
 770			
 771			this._PeopleExtras = new EntitySet< PeopleExtra>(new Action< PeopleExtra>(this.attach_PeopleExtras), new Action< PeopleExtra>(this.detach_PeopleExtras)); 
 772			
 773			this._RecRegs = new EntitySet< RecReg>(new Action< RecReg>(this.attach_RecRegs), new Action< RecReg>(this.detach_RecRegs)); 
 774			
 775			this._RecurringAmounts = new EntitySet< RecurringAmount>(new Action< RecurringAmount>(this.attach_RecurringAmounts), new Action< RecurringAmount>(this.detach_RecurringAmounts)); 
 776			
 777			this._SMSItems = new EntitySet< SMSItem>(new Action< SMSItem>(this.attach_SMSItems), new Action< SMSItem>(this.detach_SMSItems)); 
 778			
 779			this._SMSLists = new EntitySet< SMSList>(new Action< SMSList>(this.attach_SMSLists), new Action< SMSList>(this.detach_SMSLists)); 
 780			
 781			this._TagShares = new EntitySet< TagShare>(new Action< TagShare>(this.attach_TagShares), new Action< TagShare>(this.detach_TagShares)); 
 782			
 783			this._TaskListOwners = new EntitySet< TaskListOwner>(new Action< TaskListOwner>(this.attach_TaskListOwners), new Action< TaskListOwner>(this.detach_TaskListOwners)); 
 784			
 785			this._Transactions = new EntitySet< Transaction>(new Action< Transaction>(this.attach_Transactions), new Action< Transaction>(this.detach_Transactions)); 
 786			
 787			this._TransactionPeople = new EntitySet< TransactionPerson>(new Action< TransactionPerson>(this.attach_TransactionPeople), new Action< TransactionPerson>(this.detach_TransactionPeople)); 
 788			
 789			this._Users = new EntitySet< User>(new Action< User>(this.attach_Users), new Action< User>(this.detach_Users)); 
 790			
 791			this._VolInterestInterestCodes = new EntitySet< VolInterestInterestCode>(new Action< VolInterestInterestCode>(this.attach_VolInterestInterestCodes), new Action< VolInterestInterestCode>(this.detach_VolInterestInterestCodes)); 
 792			
 793			this._Volunteers = new EntitySet< Volunteer>(new Action< Volunteer>(this.attach_Volunteers), new Action< Volunteer>(this.detach_Volunteers)); 
 794			
 795			this._VolunteerForms = new EntitySet< VolunteerForm>(new Action< VolunteerForm>(this.attach_VolunteerForms), new Action< VolunteerForm>(this.detach_VolunteerForms)); 
 796			
 797			this._VoluteerApprovalIds = new EntitySet< VoluteerApprovalId>(new Action< VoluteerApprovalId>(this.attach_VoluteerApprovalIds), new Action< VoluteerApprovalId>(this.detach_VoluteerApprovalIds)); 
 798			
 799			this._OrganizationMembers = new EntitySet< OrganizationMember>(new Action< OrganizationMember>(this.attach_OrganizationMembers), new Action< OrganizationMember>(this.detach_OrganizationMembers)); 
 800			
 801			this._People = new EntitySet< BackgroundCheck>(new Action< BackgroundCheck>(this.attach_People), new Action< BackgroundCheck>(this.detach_People)); 
 802			
 803			this._SubRequests = new EntitySet< SubRequest>(new Action< SubRequest>(this.attach_SubRequests), new Action< SubRequest>(this.detach_SubRequests)); 
 804			
 805			this._SubResponses = new EntitySet< SubRequest>(new Action< SubRequest>(this.attach_SubResponses), new Action< SubRequest>(this.detach_SubResponses)); 
 806			
 807			this._Tags = new EntitySet< TagPerson>(new Action< TagPerson>(this.attach_Tags), new Action< TagPerson>(this.detach_Tags)); 
 808			
 809			this._TagsOwned = new EntitySet< Tag>(new Action< Tag>(this.attach_TagsOwned), new Action< Tag>(this.detach_TagsOwned)); 
 810			
 811			this._Tasks = new EntitySet< Task>(new Action< Task>(this.attach_Tasks), new Action< Task>(this.detach_Tasks)); 
 812			
 813			this._TasksAboutPerson = new EntitySet< Task>(new Action< Task>(this.attach_TasksAboutPerson), new Action< Task>(this.detach_TasksAboutPerson)); 
 814			
 815			this._TasksCoOwned = new EntitySet< Task>(new Action< Task>(this.attach_TasksCoOwned), new Action< Task>(this.detach_TasksCoOwned)); 
 816			
 817			this._VolRequests = new EntitySet< VolRequest>(new Action< VolRequest>(this.attach_VolRequests), new Action< VolRequest>(this.detach_VolRequests)); 
 818			
 819			this._VolResponses = new EntitySet< VolRequest>(new Action< VolRequest>(this.attach_VolResponses), new Action< VolRequest>(this.detach_VolResponses)); 
 820			
 821			
 822			this._BFClass = default(EntityRef< Organization>); 
 823			
 824			this._EnvelopeOption = default(EntityRef< EnvelopeOption>); 
 825			
 826			this._BaptismStatus = default(EntityRef< BaptismStatus>); 
 827			
 828			this._BaptismType = default(EntityRef< BaptismType>); 
 829			
 830			this._Campu = default(EntityRef< Campu>); 
 831			
 832			this._DecisionType = default(EntityRef< DecisionType>); 
 833			
 834			this._NewMemberClassStatus = default(EntityRef< NewMemberClassStatus>); 
 835			
 836			this._DropType = default(EntityRef< DropType>); 
 837			
 838			this._EntryPoint = default(EntityRef< EntryPoint>); 
 839			
 840			this._Family = default(EntityRef< Family>); 
 841			
 842			this._FamilyPosition = default(EntityRef< FamilyPosition>); 
 843			
 844			this._Gender = default(EntityRef< Gender>); 
 845			
 846			this._InterestPoint = default(EntityRef< InterestPoint>); 
 847			
 848			this._JoinType = default(EntityRef< JoinType>); 
 849			
 850			this._MaritalStatus = default(EntityRef< MaritalStatus>); 
 851			
 852			this._MemberLetterStatus = default(EntityRef< MemberLetterStatus>); 
 853			
 854			this._MemberStatus = default(EntityRef< MemberStatus>); 
 855			
 856			this._Origin = default(EntityRef< Origin>); 
 857			
 858			this._Picture = default(EntityRef< Picture>); 
 859			
 860			this._ResidentCode = default(EntityRef< ResidentCode>); 
 861			
 862			this._ContributionStatementOption = default(EntityRef< EnvelopeOption>); 
 863			
 864			OnCreated();
 865		}
 866
 867		
 868    #region Columns
 869		
 870		[Column(Name="PeopleId", UpdateCheck=UpdateCheck.Never, Storage="_PeopleId", AutoSync=AutoSync.OnInsert, DbType="int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
 871		public int PeopleId
 872		{
 873			get { return this._PeopleId; }
 874
 875			set
 876			{
 877				if (this._PeopleId != value)
 878				{
 879				
 880                    this.OnPeopleIdChanging(value);
 881					this.SendPropertyChanging();
 882					this._PeopleId = value;
 883					this.SendPropertyChanged("PeopleId");
 884					this.OnPeopleIdChanged();
 885				}
 886
 887			}
 888
 889		}
 890
 891		
 892		[Column(Name="CreatedBy", UpdateCheck=UpdateCheck.Never, Storage="_CreatedBy", DbType="int NOT NULL")]
 893		public int CreatedBy
 894		{
 895			get { return this._CreatedBy; }
 896
 897			set
 898			{
 899				if (this._CreatedBy != value)
 900				{
 901				
 902                    this.OnCreatedByChanging(value);
 903					this.SendPropertyChanging();
 904					this._CreatedBy = value;
 905					this.SendPropertyChanged("CreatedBy");
 906					this.OnCreatedByChanged();
 907				}
 908
 909			}
 910
 911		}
 912
 913		
 914		[Column(Name="CreatedDate", UpdateCheck=UpdateCheck.Never, Storage="_CreatedDate", DbType="datetime")]
 915		public DateTime? CreatedDate
 916		{
 917			get { return this._CreatedDate; }
 918
 919			set
 920			{
 921				if (this._CreatedDate != value)
 922				{
 923				
 924                    this.OnCreatedDateChanging(value);
 925					this.SendPropertyChanging();
 926					this._CreatedDate = value;
 927					this.SendPropertyChanged("CreatedDate");
 928					this.OnCreatedDateChanged();
 929				}
 930
 931			}
 932
 933		}
 934
 935		
 936		[Column(Name="DropCodeId", UpdateCheck=UpdateCheck.Never, Storage="_DropCodeId", DbType="int NOT NULL")]
 937		public int DropCodeId
 938		{
 939			get { return this._DropCodeId; }
 940
 941			set
 942			{
 943				if (this._DropCodeId != value)
 944				{
 945				
 946					if (this._DropType.HasLoadedOrAssignedValue)
 947						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
 948				
 949                    this.OnDropCodeIdChanging(value);
 950					this.SendPropertyChanging();
 951					this._DropCodeId = value;
 952					this.SendPropertyChanged("DropCodeId");
 953					this.OnDropCodeIdChanged();
 954				}
 955
 956			}
 957
 958		}
 959
 960		
 961		[Column(Name="GenderId", UpdateCheck=UpdateCheck.Never, Storage="_GenderId", DbType="int NOT NULL")]
 962		public int GenderId
 963		{
 964			get { return this._GenderId; }
 965
 966			set
 967			{
 968				if (this._GenderId != value)
 969				{
 970				
 971					if (this._Gender.HasLoadedOrAssignedValue)
 972						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
 973				
 974                    this.OnGenderIdChanging(value);
 975					this.SendPropertyChanging();
 976					this._GenderId = value;
 977					this.SendPropertyChanged("GenderId");
 978					this.OnGenderIdChanged();
 979				}
 980
 981			}
 982
 983		}
 984
 985		
 986		[Column(Name="DoNotMailFlag", UpdateCheck=UpdateCheck.Never, Storage="_DoNotMailFlag", DbType="bit NOT NULL")]
 987		public bool DoNotMailFlag
 988		{
 989			get { return this._DoNotMailFlag; }
 990
 991			set
 992			{
 993				if (this._DoNotMailFlag != value)
 994				{
 995				
 996                    this.OnDoNotMailFlagChanging(value);
 997					this.SendPropertyChanging();
 998					this._DoNotMailFlag = value;
 999					this.SendPropertyChanged("DoNotMailFlag");
1000					this.OnDoNotMailFlagChanged();
1001				}
1002
1003			}
1004
1005		}
1006
1007		
1008		[Column(Name="DoNotCallFlag", UpdateCheck=UpdateCheck.Never, Storage="_DoNotCallFlag", DbType="bit NOT NULL")]
1009		public bool DoNotCallFlag
1010		{
1011			get { return this._DoNotCallFlag; }
1012
1013			set
1014			{
1015				if (this._DoNotCallFlag != value)
1016				{
1017				
1018                    this.OnDoNotCallFlagChanging(value);
1019					this.SendPropertyChanging();
1020					this._DoNotCallFlag = value;
1021					this.SendPropertyChanged("DoNotCallFlag");
1022					this.OnDoNotCallFlagChanged();
1023				}
1024
1025			}
1026
1027		}
1028
1029		
1030		[Column(Name="DoNotVisitFlag", UpdateCheck=UpdateCheck.Never, Storage="_DoNotVisitFlag", DbType="bit NOT NULL")]
1031		public bool DoNotVisitFlag
1032		{
1033			get { return this._DoNotVisitFlag; }
1034
1035			set
1036			{
1037				if (this._DoNotVisitFlag != value)
1038				{
1039				
1040                    this.OnDoNotVisitFlagChanging(value);
1041					this.SendPropertyChanging();
1042					this._DoNotVisitFlag = value;
1043					this.SendPropertyChanged("DoNotVisitFlag");
1044					this.OnDoNotVisitFlagChanged();
1045				}
1046
1047			}
1048
1049		}
1050
1051		
1052		[Column(Name="AddressTypeId", UpdateCheck=UpdateCheck.Never, Storage="_AddressTypeId", DbType="int NOT NULL")]
1053		public int AddressTypeId
1054		{
1055			get { return this._AddressTypeId; }
1056
1057			set
1058			{
1059				if (this._AddressTypeId != value)
1060				{
1061				
1062                    this.OnAddressTypeIdChanging(value);
1063					this.SendPropertyChanging();
1064					this._AddressTypeId = value;
1065					this.SendPropertyChanged("AddressTypeId");
1066					this.OnAddressTypeIdChanged();
1067				}
1068
1069			}
1070
1071		}
1072
1073		
1074		[Column(Name="PhonePrefId", UpdateCheck=UpdateCheck.Never, Storage="_PhonePrefId", DbType="int NOT NULL")]
1075		public int PhonePrefId
1076		{
1077			get { return this._PhonePrefId; }
1078
1079			set
1080			{
1081				if (this._PhonePrefId != value)
1082				{
1083				
1084                    this.OnPhonePrefIdChanging(value);
1085					this.SendPropertyChanging();
1086					this._PhonePrefId = value;
1087					this.SendPropertyChanged("PhonePrefId");
1088					this.OnPhonePrefIdChanged();
1089				}
1090
1091			}
1092
1093		}
1094
1095		
1096		[Column(Name="MaritalStatusId", UpdateCheck=UpdateCheck.Never, Storage="_MaritalStatusId", DbType="int NOT NULL")]
1097		public int MaritalStatusId
1098		{
1099			get { return this._MaritalStatusId; }
1100
1101			set
1102			{
1103				if (this._MaritalStatusId != value)
1104				{
1105				
1106					if (this._MaritalStatus.HasLoadedOrAssignedValue)
1107						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1108				
1109                    this.OnMaritalStatusIdChanging(value);
1110					this.SendPropertyChanging();
1111					this._MaritalStatusId = value;
1112					this.SendPropertyChanged("MaritalStatusId");
1113					this.OnMaritalStatusIdChanged();
1114				}
1115
1116			}
1117
1118		}
1119
1120		
1121		[Column(Name="PositionInFamilyId", UpdateCheck=UpdateCheck.Never, Storage="_PositionInFamilyId", DbType="int NOT NULL")]
1122		public int PositionInFamilyId
1123		{
1124			get { return this._PositionInFamilyId; }
1125
1126			set
1127			{
1128				if (this._PositionInFamilyId != value)
1129				{
1130				
1131					if (this._FamilyPosition.HasLoadedOrAssignedValue)
1132						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1133				
1134                    this.OnPositionInFamilyIdChanging(value);
1135					this.SendPropertyChanging();
1136					this._PositionInFamilyId = value;
1137					this.SendPropertyChanged("PositionInFamilyId");
1138					this.OnPositionInFamilyIdChanged();
1139				}
1140
1141			}
1142
1143		}
1144
1145		
1146		[Column(Name="MemberStatusId", UpdateCheck=UpdateCheck.Never, Storage="_MemberStatusId", DbType="int NOT NULL")]
1147		public int MemberStatusId
1148		{
1149			get { return this._MemberStatusId; }
1150
1151			set
1152			{
1153				if (this._MemberStatusId != value)
1154				{
1155				
1156					if (this._MemberStatus.HasLoadedOrAssignedValue)
1157						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1158				
1159                    this.OnMemberStatusIdChanging(value);
1160					this.SendPropertyChanging();
1161					this._MemberStatusId = value;
1162					this.SendPropertyChanged("MemberStatusId");
1163					this.OnMemberStatusIdChanged();
1164				}
1165
1166			}
1167
1168		}
1169
1170		
1171		[Column(Name="FamilyId", UpdateCheck=UpdateCheck.Never, Storage="_FamilyId", DbType="int NOT NULL")]
1172		public int FamilyId
1173		{
1174			get { return this._FamilyId; }
1175
1176			set
1177			{
1178				if (this._FamilyId != value)
1179				{
1180				
1181					if (this._Family.HasLoadedOrAssignedValue)
1182						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1183				
1184                    this.OnFamilyIdChanging(value);
1185					this.SendPropertyChanging();
1186					this._FamilyId = value;
1187					this.SendPropertyChanged("FamilyId");
1188					this.OnFamilyIdChanged();
1189				}
1190
1191			}
1192
1193		}
1194
1195		
1196		[Column(Name="BirthMonth", UpdateCheck=UpdateCheck.Never, Storage="_BirthMonth", DbType="int")]
1197		public int? BirthMonth
1198		{
1199			get { return this._BirthMonth; }
1200
1201			set
1202			{
1203				if (this._BirthMonth != value)
1204				{
1205				
1206                    this.OnBirthMonthChanging(value);
1207					this.SendPropertyChanging();
1208					this._BirthMonth = value;
1209					this.SendPropertyChanged("BirthMonth");
1210					this.OnBirthMonthChanged();
1211				}
1212
1213			}
1214
1215		}
1216
1217		
1218		[Column(Name="BirthDay", UpdateCheck=UpdateCheck.Never, Storage="_BirthDay", DbType="int")]
1219		public int? BirthDay
1220		{
1221			get { return this._BirthDay; }
1222
1223			set
1224			{
1225				if (this._BirthDay != value)
1226				{
1227				
1228                    this.OnBirthDayChanging(value);
1229					this.SendPropertyChanging();
1230					this._BirthDay = value;
1231					this.SendPropertyChanged("BirthDay");
1232					this.OnBirthDayChanged();
1233				}
1234
1235			}
1236
1237		}
1238
1239		
1240		[Column(Name="BirthYear", UpdateCheck=UpdateCheck.Never, Storage="_BirthYear", DbType="int")]
1241		public int? BirthYear
1242		{
1243			get { return this._BirthYear; }
1244
1245			set
1246			{
1247				if (this._BirthYear != value)
1248				{
1249				
1250                    this.OnBirthYearChanging(value);
1251					this.SendPropertyChanging();
1252					this._BirthYear = value;
1253					this.SendPropertyChanged("BirthYear");
1254					this.OnBirthYearChanged();
1255				}
1256
1257			}
1258
1259		}
1260
1261		
1262		[Column(Name="OriginId", UpdateCheck=UpdateCheck.Never, Storage="_OriginId", DbType="int")]
1263		public int? OriginId
1264		{
1265			get { return this._OriginId; }
1266
1267			set
1268			{
1269				if (this._OriginId != value)
1270				{
1271				
1272					if (this._Origin.HasLoadedOrAssignedValue)
1273						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1274				
1275                    this.OnOriginIdChanging(value);
1276					this.SendPropertyChanging();
1277					this._OriginId = value;
1278					this.SendPropertyChanged("OriginId");
1279					this.OnOriginIdChanged();
1280				}
1281
1282			}
1283
1284		}
1285
1286		
1287		[Column(Name="EntryPointId", UpdateCheck=UpdateCheck.Never, Storage="_EntryPointId", DbType="int")]
1288		public int? EntryPointId
1289		{
1290			get { return this._EntryPointId; }
1291
1292			set
1293			{
1294				if (this._EntryPointId != value)
1295				{
1296				
1297					if (this._EntryPoint.HasLoadedOrAssignedValue)
1298						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1299				
1300                    this.OnEntryPointIdChanging(value);
1301					this.SendPropertyChanging();
1302					this._EntryPointId = value;
1303					this.SendPropertyChanged("EntryPointId");
1304					this.OnEntryPointIdChanged();
1305				}
1306
1307			}
1308
1309		}
1310
1311		
1312		[Column(Name="InterestPointId", UpdateCheck=UpdateCheck.Never, Storage="_InterestPointId", DbType="int")]
1313		public int? InterestPointId
1314		{
1315			get { return this._InterestPointId; }
1316
1317			set
1318			{
1319				if (this._InterestPointId != value)
1320				{
1321				
1322					if (this._InterestPoint.HasLoadedOrAssignedValue)
1323						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1324				
1325                    this.OnInterestPointIdChanging(value);
1326					this.SendPropertyChanging();
1327					this._InterestPointId = value;
1328					this.SendPropertyChanged("InterestPointId");
1329					this.OnInterestPointIdChanged();
1330				}
1331
1332			}
1333
1334		}
1335
1336		
1337		[Column(Name="BaptismTypeId", UpdateCheck=UpdateCheck.Never, Storage="_BaptismTypeId", DbType="int")]
1338		public int? BaptismTypeId
1339		{
1340			get { return this._BaptismTypeId; }
1341
1342			set
1343			{
1344				if (this._BaptismTypeId != value)
1345				{
1346				
1347					if (this._BaptismType.HasLoadedOrAssignedValue)
1348						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1349				
1350                    this.OnBaptismTypeIdChanging(value);
1351					this.SendPropertyChanging();
1352					this._BaptismTypeId = value;
1353					this.SendPropertyChanged("BaptismTypeId");
1354					this.OnBaptismTypeIdChanged();
1355				}
1356
1357			}
1358
1359		}
1360
1361		
1362		[Column(Name="BaptismStatusId", UpdateCheck=UpdateCheck.Never, Storage="_BaptismStatusId", DbType="int")]
1363		public int? BaptismStatusId
1364		{
1365			get { return this._BaptismStatusId; }
1366
1367			set
1368			{
1369				if (this._BaptismStatusId != value)
1370				{
1371				
1372					if (this._BaptismStatus.HasLoadedOrAssignedValue)
1373						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1374				
1375                    this.OnBaptismStatusIdChanging(value);
1376					this.SendPropertyChanging();
1377					this._BaptismStatusId = value;
1378					this.SendPropertyChanged("BaptismStatusId");
1379					this.OnBaptismStatusIdChanged();
1380				}
1381
1382			}
1383
1384		}
1385
1386		
1387		[Column(Name="DecisionTypeId", UpdateCheck=UpdateCheck.Never, Storage="_DecisionTypeId", DbType="int")]
1388		public int? DecisionTypeId
1389		{
1390			get { return this._DecisionTypeId; }
1391
1392			set
1393			{
1394				if (this._DecisionTypeId != value)
1395				{
1396				
1397					if (this._DecisionType.HasLoadedOrAssignedValue)
1398						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1399				
1400                    this.OnDecisionTypeIdChanging(value);
1401					this.SendPropertyChanging();
1402					this._DecisionTypeId = value;
1403					this.SendPropertyChanged("DecisionTypeId");
1404					this.OnDecisionTypeIdChanged();
1405				}
1406
1407			}
1408
1409		}
1410
1411		
1412		[Column(Name="NewMemberClassStatusId", UpdateCheck=UpdateCheck.Never, Storage="_NewMemberClassStatusId", DbType="int")]
1413		public int? NewMemberClassStatusId
1414		{
1415			get { return this._NewMemberClassStatusId; }
1416
1417			set
1418			{
1419				if (this._NewMemberClassStatusId != value)
1420				{
1421				
1422					if (this._NewMemberClassStatus.HasLoadedOrAssignedValue)
1423						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1424				
1425                    this.OnNewMemberClassStatusIdChanging(value);
1426					this.SendPropertyChanging();
1427					this._NewMemberClassStatusId = value;
1428					this.SendPropertyChanged("NewMemberClassStatusId");
1429					this.OnNewMemberClassStatusIdChanged();
1430				}
1431
1432			}
1433
1434		}
1435
1436		
1437		[Column(Name="LetterStatusId", UpdateCheck=UpdateCheck.Never, Storage="_LetterStatusId", DbType="int")]
1438		public int? LetterStatusId
1439		{
1440			get { return this._LetterStatusId; }
1441
1442			set
1443			{
1444				if (this._LetterStatusId != value)
1445				{
1446				
1447					if (this._MemberLetterStatus.HasLoadedOrAssignedValue)
1448						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1449				
1450                    this.OnLetterStatusIdChanging(value);
1451					this.SendPropertyChanging();
1452					this._LetterStatusId = value;
1453					this.SendPropertyChanged("LetterStatusId");
1454					this.OnLetterStatusIdChanged();
1455				}
1456
1457			}
1458
1459		}
1460
1461		
1462		[Column(Name="JoinCodeId", UpdateCheck=UpdateCheck.Never, Storage="_JoinCodeId", DbType="int NOT NULL")]
1463		public int JoinCodeId
1464		{
1465			get { return this._JoinCodeId; }
1466
1467			set
1468			{
1469				if (this._JoinCodeId != value)
1470				{
1471				
1472					if (this._JoinType.HasLoadedOrAssignedValue)
1473						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1474				
1475                    this.OnJoinCodeIdChanging(value);
1476					this.SendPropertyChanging();
1477					this._JoinCodeId = value;
1478					this.SendPropertyChanged("JoinCodeId");
1479					this.OnJoinCodeIdChanged();
1480				}
1481
1482			}
1483
1484		}
1485
1486		
1487		[Column(Name="EnvelopeOptionsId", UpdateCheck=UpdateCheck.Never, Storage="_EnvelopeOptionsId", DbType="int")]
1488		public int? EnvelopeOptionsId
1489		{
1490			get { return this._EnvelopeOptionsId; }
1491
1492			set
1493			{
1494				if (this._EnvelopeOptionsId != value)
1495				{
1496				
1497					if (this._EnvelopeOption.HasLoadedOrAssignedValue)
1498						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1499				
1500                    this.OnEnvelopeOptionsIdChanging(value);
1501					this.SendPropertyChanging();
1502					this._EnvelopeOptionsId = value;
1503					this.SendPropertyChanged("EnvelopeOptionsId");
1504					this.OnEnvelopeOptionsIdChanged();
1505				}
1506
1507			}
1508
1509		}
1510
1511		
1512		[Column(Name="BadAddressFlag", UpdateCheck=UpdateCheck.Never, Storage="_BadAddressFlag", DbType="bit")]
1513		public bool? BadAddressFlag
1514		{
1515			get { return this._BadAddressFlag; }
1516
1517			set
1518			{
1519				if (this._BadAddressFlag != value)
1520				{
1521				
1522                    this.OnBadAddressFlagChanging(value);
1523					this.SendPropertyChanging();
1524					this._BadAddressFlag = value;
1525					this.SendPropertyChanged("BadAddressFlag");
1526					this.OnBadAddressFlagChanged();
1527				}
1528
1529			}
1530
1531		}
1532
1533		
1534		[Column(Name="ResCodeId", UpdateCheck=UpdateCheck.Never, Storage="_ResCodeId", DbType="int")]
1535		public int? ResCodeId
1536		{
1537			get { return this._ResCodeId; }
1538
1539			set
1540			{
1541				if (this._ResCodeId != value)
1542				{
1543				
1544					if (this._ResidentCode.HasLoadedOrAssignedValue)
1545						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
1546				
1547                    this.OnResCodeIdChanging(value);
1548					this.SendPropertyChanging();
1549					this._ResCodeId = value;
1550					this.SendPropertyChanged("ResCodeId");
1551					this.OnResCodeIdChanged();
1552				}
1553
1554			}
1555
1556		}
1557
1558		
1559		[Column(Name="AddressFromDate", UpdateCheck=UpdateCheck.Never, Storage="_AddressFromDate", DbType="datetime")]
1560		public DateTime? AddressFromDate
1561		{
1562			get { return this._AddressFromDate; }
1563
1564			set
1565			{
1566				if (this._AddressFromDate != value)
1567				{
1568				
1569                    this.OnAddressFromDateChanging(value);
1570					this.SendPropertyChanging();
1571					this._AddressFromDate = value;
1572					this.SendPropertyChanged("AddressFromDate");
1573					this.OnAddressFromDateChanged();
1574				}
1575
1576			}
1577
1578		}
1579
1580		
1581		[Column(Name="AddressToDate", UpdateCheck=UpdateCheck.Never, Storage="_AddressToDate", DbType="datetime")]
1582		public DateTime? AddressToDate
1583		{
1584			get { return this._AddressToDate; }
1585
1586			set
1587			{
1588				if (this._AddressToDate != value)
1589				{
1590				
1591                    this.OnAddressToDateChanging(value);
1592					this.SendPropertyChanging();
1593					this._AddressToDate = value;
1594					this.SendPropertyChanged("AddressToDate");
1595					this.OnAddressToDateChanged();
1596				}
1597
1598			}
1599
1600		}
1601
1602		
1603		[Column(Name="WeddingDate", UpdateCheck=UpdateCheck.Never, Storage="_WeddingDate", DbType="datetime")]
1604		public DateTime? WeddingDate
1605		{
1606			get { return this._WeddingDate; }
1607
1608			set
1609			{
1610				if (this._WeddingDate != value)
1611				{
1612				
1613                    this.OnWeddingDateChanging(value);
1614					this.SendPropertyChanging();
1615					this._WeddingDate = value;
1616					this.SendPropertyChanged("WeddingDate");
1617					this.OnWeddingDateChanged();
1618				}
1619
1620			}
1621
1622		}
1623
1624		
1625		[Column(Name="OriginDate", UpdateCheck=UpdateCheck.Never, Storage="_OriginDate", DbType="datetime")]
1626		public DateTime? OriginDate
1627		{
1628			get { return this._OriginDate; }
1629
1630			set
1631			{
1632				if (this._OriginDate != value)
1633				{
1634				
1635                    this.OnOriginDateChanging(value);
1636					this.SendPropertyChanging();
1637					this._OriginDate = value;
1638					this.SendPropertyChanged("OriginDate");
1639					this.OnOriginDateChanged();
1640				}
1641
1642			}
1643
1644		}
1645
1646		
1647		[Column(Name="BaptismSchedDate", UpdateCheck=UpdateCheck.Never, Storage="_BaptismSchedDate", DbType="datetime")]
1648		public DateTime? BaptismSchedDate
1649		{
1650			get { return this._BaptismSchedDate; }
1651
1652			set
1653			{
1654				if (this._BaptismSchedDate != value)
1655				{
1656				
1657                    this.OnBaptismSchedDateChanging(value);
1658					this.SendPropertyChanging();
1659					this._BaptismSchedDate = value;
1660					this.SendPropertyChanged("BaptismSchedDate");
1661					this.OnBaptismSchedDateChanged();
1662				}
1663
1664			}
1665
1666		}
1667
1668		
1669		[Column(Name="BaptismDate", UpdateCheck=UpdateCheck.Never, Storage="_BaptismDate", DbType="datetime")]
1670		public DateTime? BaptismDate
1671		{
1672			get { return this._BaptismDate; }
1673
1674			set
1675			{
1676				if (this._BaptismDate != value)
1677				{
1678				
1679                    this.OnBaptismDateChanging(value);
1680					this.SendPropertyChanging();
1681					this._BaptismDate = value;
1682					this.SendPropertyChanged("BaptismDate");
1683					this.OnBaptismDateChanged();
1684				}
1685
1686			}
1687
1688		}
1689
1690		
1691		[Column(Name="DecisionDate", UpdateCheck=UpdateCheck.Never, Storage="_DecisionDate", DbType="datetime")]
1692		public DateTime? DecisionDate
1693		{
1694			get { return this._DecisionDate; }
1695
1696			set
1697			{
1698				if (this._DecisionDate != value)
1699				{
1700				
1701                    this.OnDecisionDateChanging(value);
1702					this.SendPropertyChanging();
1703					this._DecisionDate = value;
1704					this.SendPropertyChanged("DecisionDate");
1705					this.OnDecisionDateChanged();
1706				}
1707
1708			}
1709
1710		}
1711
1712		
1713		[Column(Name="LetterDateRequested", UpdateCheck=UpdateCheck.Never, Storage="_LetterDateRequested", DbType="datetime")]
1714		public DateTime? LetterDateRequested
1715		{
1716			get { return this._LetterDateRequested; }
1717
1718			set
1719			{
1720				if (this._LetterDateRequested != value)
1721				{
1722				
1723                    this.OnLetterDateRequestedChanging(value);
1724					this.SendPropertyChanging();
1725					this._LetterDateRequested = value;
1726					this.SendPropertyChanged("LetterDateRequested");
1727					this.OnLetterDateRequestedChanged();
1728				}
1729
1730			}
1731
1732		}
1733
1734		
1735		[Column(Name="LetterDateReceived", UpdateCheck=UpdateCheck.Never, Storage="_LetterDateReceived", DbType="datetime")]
1736		public DateTime? LetterDateReceived
1737		{
1738			get { return this._LetterDateReceived; }
1739
1740			set
1741			{
1742				if (this._LetterDateReceived != value)
1743				{
1744				
1745                    this.OnLetterDateReceivedChanging(value);
1746					this.SendPropertyChanging();
1747					this._LetterDateReceived = value;
1748					this.SendPropertyChanged("LetterDateReceived");
1749					this.OnLetterDateReceivedChanged();
1750				}
1751
1752			}
1753
1754		}
1755
1756		
1757		[Column(Name="JoinDate", UpdateCheck=UpdateCheck.Never, Storage="_JoinDate", DbType="datetime")]
1758		public DateTime? JoinDate
1759		{
1760			get { return this._JoinDate; }
1761
1762			set
1763			{
1764				if (this._JoinDate != value)
1765				{
1766				
1767                    this.OnJoinDateChanging(value);
1768					this.SendPropertyChanging();
1769					this._JoinDate = value;
1770					this.SendPropertyChanged("JoinDate");
1771					this.OnJoinDateChanged();
1772				}
1773
1774			}
1775

Large files files are truncated, but you can click here to view the full file