PageRenderTime 67ms CodeModel.GetById 24ms RepoModel.GetById 0ms 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
Possible License(s): CC-BY-SA-3.0, Apache-2.0, BSD-3-Clause, LGPL-2.1, MPL-2.0-no-copyleft-exception, AGPL-3.0
  1. using System;
  2. using System.Data.Linq;
  3. using System.Data.Linq.Mapping;
  4. using System.Data;
  5. using System.Collections.Generic;
  6. using System.Reflection;
  7. using System.Linq;
  8. using System.Linq.Expressions;
  9. using System.ComponentModel;
  10. namespace CmsData
  11. {
  12. [Table(Name="dbo.People")]
  13. public partial class Person : INotifyPropertyChanging, INotifyPropertyChanged
  14. {
  15. private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
  16. #region Private Fields
  17. private int _PeopleId;
  18. private int _CreatedBy;
  19. private DateTime? _CreatedDate;
  20. private int _DropCodeId;
  21. private int _GenderId;
  22. private bool _DoNotMailFlag;
  23. private bool _DoNotCallFlag;
  24. private bool _DoNotVisitFlag;
  25. private int _AddressTypeId;
  26. private int _PhonePrefId;
  27. private int _MaritalStatusId;
  28. private int _PositionInFamilyId;
  29. private int _MemberStatusId;
  30. private int _FamilyId;
  31. private int? _BirthMonth;
  32. private int? _BirthDay;
  33. private int? _BirthYear;
  34. private int? _OriginId;
  35. private int? _EntryPointId;
  36. private int? _InterestPointId;
  37. private int? _BaptismTypeId;
  38. private int? _BaptismStatusId;
  39. private int? _DecisionTypeId;
  40. private int? _NewMemberClassStatusId;
  41. private int? _LetterStatusId;
  42. private int _JoinCodeId;
  43. private int? _EnvelopeOptionsId;
  44. private bool? _BadAddressFlag;
  45. private int? _ResCodeId;
  46. private DateTime? _AddressFromDate;
  47. private DateTime? _AddressToDate;
  48. private DateTime? _WeddingDate;
  49. private DateTime? _OriginDate;
  50. private DateTime? _BaptismSchedDate;
  51. private DateTime? _BaptismDate;
  52. private DateTime? _DecisionDate;
  53. private DateTime? _LetterDateRequested;
  54. private DateTime? _LetterDateReceived;
  55. private DateTime? _JoinDate;
  56. private DateTime? _DropDate;
  57. private DateTime? _DeceasedDate;
  58. private string _TitleCode;
  59. private string _FirstName;
  60. private string _MiddleName;
  61. private string _MaidenName;
  62. private string _LastName;
  63. private string _SuffixCode;
  64. private string _NickName;
  65. private string _AddressLineOne;
  66. private string _AddressLineTwo;
  67. private string _CityName;
  68. private string _StateCode;
  69. private string _ZipCode;
  70. private string _CountryName;
  71. private string _StreetName;
  72. private string _CellPhone;
  73. private string _WorkPhone;
  74. private string _EmailAddress;
  75. private string _OtherPreviousChurch;
  76. private string _OtherNewChurch;
  77. private string _SchoolOther;
  78. private string _EmployerOther;
  79. private string _OccupationOther;
  80. private string _HobbyOther;
  81. private string _SkillOther;
  82. private string _InterestOther;
  83. private string _LetterStatusNotes;
  84. private string _Comments;
  85. private bool _ChristAsSavior;
  86. private bool? _MemberAnyChurch;
  87. private bool _InterestedInJoining;
  88. private bool _PleaseVisit;
  89. private bool _InfoBecomeAChristian;
  90. private bool _ContributionsStatement;
  91. private int? _ModifiedBy;
  92. private DateTime? _ModifiedDate;
  93. private int? _PictureId;
  94. private int? _ContributionOptionsId;
  95. private string _PrimaryCity;
  96. private string _PrimaryZip;
  97. private string _PrimaryAddress;
  98. private string _PrimaryState;
  99. private string _HomePhone;
  100. private int? _SpouseId;
  101. private string _PrimaryAddress2;
  102. private int? _PrimaryResCode;
  103. private int? _PrimaryBadAddrFlag;
  104. private DateTime? _LastContact;
  105. private int? _Grade;
  106. private string _CellPhoneLU;
  107. private string _WorkPhoneLU;
  108. private int? _BibleFellowshipClassId;
  109. private int? _CampusId;
  110. private string _CellPhoneAC;
  111. private string _CheckInNotes;
  112. private int? _Age;
  113. private string _AltName;
  114. private bool? _CustodyIssue;
  115. private bool? _OkTransport;
  116. private DateTime? _BDate;
  117. private bool? _HasDuplicates;
  118. private string _FirstName2;
  119. private string _EmailAddress2;
  120. private bool? _SendEmailAddress1;
  121. private bool? _SendEmailAddress2;
  122. private int? _HashNum;
  123. private DateTime? _NewMemberClassDate;
  124. private string _Name;
  125. private string _PreferredName;
  126. private string _PrimaryCountry;
  127. private bool _ReceiveSMS;
  128. private string _Name2;
  129. private bool? _DoNotPublishPhones;
  130. private bool? _IsDeceased;
  131. private EntitySet< Contactee> _contactsHad;
  132. private EntitySet< Contactor> _contactsMade;
  133. private EntitySet< EnrollmentTransaction> _EnrollmentTransactions;
  134. private EntitySet< Family> _FamiliesHeaded;
  135. private EntitySet< Family> _FamiliesHeaded2;
  136. private EntitySet< ActivityLog> _ActivityLogs;
  137. private EntitySet< Attend> _Attends;
  138. private EntitySet< BackgroundCheck> _BackgroundChecks;
  139. private EntitySet< CardIdentifier> _CardIdentifiers;
  140. private EntitySet< CheckInTime> _CheckInTimes;
  141. private EntitySet< Contribution> _Contributions;
  142. private EntitySet< Coupon> _Coupons;
  143. private EntitySet< EmailOptOut> _EmailOptOuts;
  144. private EntitySet< EmailQueue> _EmailQueues;
  145. private EntitySet< EmailQueueTo> _EmailQueueTos;
  146. private EntitySet< EmailResponse> _EmailResponses;
  147. private EntitySet< ManagedGiving> _ManagedGivings;
  148. private EntitySet< MemberDocForm> _MemberDocForms;
  149. private EntitySet< PaymentInfo> _PaymentInfos;
  150. private EntitySet< PeopleExtra> _PeopleExtras;
  151. private EntitySet< RecReg> _RecRegs;
  152. private EntitySet< RecurringAmount> _RecurringAmounts;
  153. private EntitySet< SMSItem> _SMSItems;
  154. private EntitySet< SMSList> _SMSLists;
  155. private EntitySet< TagShare> _TagShares;
  156. private EntitySet< TaskListOwner> _TaskListOwners;
  157. private EntitySet< Transaction> _Transactions;
  158. private EntitySet< TransactionPerson> _TransactionPeople;
  159. private EntitySet< User> _Users;
  160. private EntitySet< VolInterestInterestCode> _VolInterestInterestCodes;
  161. private EntitySet< Volunteer> _Volunteers;
  162. private EntitySet< VolunteerForm> _VolunteerForms;
  163. private EntitySet< VoluteerApprovalId> _VoluteerApprovalIds;
  164. private EntitySet< OrganizationMember> _OrganizationMembers;
  165. private EntitySet< BackgroundCheck> _People;
  166. private EntitySet< SubRequest> _SubRequests;
  167. private EntitySet< SubRequest> _SubResponses;
  168. private EntitySet< TagPerson> _Tags;
  169. private EntitySet< Tag> _TagsOwned;
  170. private EntitySet< Task> _Tasks;
  171. private EntitySet< Task> _TasksAboutPerson;
  172. private EntitySet< Task> _TasksCoOwned;
  173. private EntitySet< VolRequest> _VolRequests;
  174. private EntitySet< VolRequest> _VolResponses;
  175. private EntityRef< Organization> _BFClass;
  176. private EntityRef< EnvelopeOption> _EnvelopeOption;
  177. private EntityRef< BaptismStatus> _BaptismStatus;
  178. private EntityRef< BaptismType> _BaptismType;
  179. private EntityRef< Campu> _Campu;
  180. private EntityRef< DecisionType> _DecisionType;
  181. private EntityRef< NewMemberClassStatus> _NewMemberClassStatus;
  182. private EntityRef< DropType> _DropType;
  183. private EntityRef< EntryPoint> _EntryPoint;
  184. private EntityRef< Family> _Family;
  185. private EntityRef< FamilyPosition> _FamilyPosition;
  186. private EntityRef< Gender> _Gender;
  187. private EntityRef< InterestPoint> _InterestPoint;
  188. private EntityRef< JoinType> _JoinType;
  189. private EntityRef< MaritalStatus> _MaritalStatus;
  190. private EntityRef< MemberLetterStatus> _MemberLetterStatus;
  191. private EntityRef< MemberStatus> _MemberStatus;
  192. private EntityRef< Origin> _Origin;
  193. private EntityRef< Picture> _Picture;
  194. private EntityRef< ResidentCode> _ResidentCode;
  195. private EntityRef< EnvelopeOption> _ContributionStatementOption;
  196. #endregion
  197. #region Extensibility Method Definitions
  198. partial void OnLoaded();
  199. partial void OnValidate(System.Data.Linq.ChangeAction action);
  200. partial void OnCreated();
  201. partial void OnPeopleIdChanging(int value);
  202. partial void OnPeopleIdChanged();
  203. partial void OnCreatedByChanging(int value);
  204. partial void OnCreatedByChanged();
  205. partial void OnCreatedDateChanging(DateTime? value);
  206. partial void OnCreatedDateChanged();
  207. partial void OnDropCodeIdChanging(int value);
  208. partial void OnDropCodeIdChanged();
  209. partial void OnGenderIdChanging(int value);
  210. partial void OnGenderIdChanged();
  211. partial void OnDoNotMailFlagChanging(bool value);
  212. partial void OnDoNotMailFlagChanged();
  213. partial void OnDoNotCallFlagChanging(bool value);
  214. partial void OnDoNotCallFlagChanged();
  215. partial void OnDoNotVisitFlagChanging(bool value);
  216. partial void OnDoNotVisitFlagChanged();
  217. partial void OnAddressTypeIdChanging(int value);
  218. partial void OnAddressTypeIdChanged();
  219. partial void OnPhonePrefIdChanging(int value);
  220. partial void OnPhonePrefIdChanged();
  221. partial void OnMaritalStatusIdChanging(int value);
  222. partial void OnMaritalStatusIdChanged();
  223. partial void OnPositionInFamilyIdChanging(int value);
  224. partial void OnPositionInFamilyIdChanged();
  225. partial void OnMemberStatusIdChanging(int value);
  226. partial void OnMemberStatusIdChanged();
  227. partial void OnFamilyIdChanging(int value);
  228. partial void OnFamilyIdChanged();
  229. partial void OnBirthMonthChanging(int? value);
  230. partial void OnBirthMonthChanged();
  231. partial void OnBirthDayChanging(int? value);
  232. partial void OnBirthDayChanged();
  233. partial void OnBirthYearChanging(int? value);
  234. partial void OnBirthYearChanged();
  235. partial void OnOriginIdChanging(int? value);
  236. partial void OnOriginIdChanged();
  237. partial void OnEntryPointIdChanging(int? value);
  238. partial void OnEntryPointIdChanged();
  239. partial void OnInterestPointIdChanging(int? value);
  240. partial void OnInterestPointIdChanged();
  241. partial void OnBaptismTypeIdChanging(int? value);
  242. partial void OnBaptismTypeIdChanged();
  243. partial void OnBaptismStatusIdChanging(int? value);
  244. partial void OnBaptismStatusIdChanged();
  245. partial void OnDecisionTypeIdChanging(int? value);
  246. partial void OnDecisionTypeIdChanged();
  247. partial void OnNewMemberClassStatusIdChanging(int? value);
  248. partial void OnNewMemberClassStatusIdChanged();
  249. partial void OnLetterStatusIdChanging(int? value);
  250. partial void OnLetterStatusIdChanged();
  251. partial void OnJoinCodeIdChanging(int value);
  252. partial void OnJoinCodeIdChanged();
  253. partial void OnEnvelopeOptionsIdChanging(int? value);
  254. partial void OnEnvelopeOptionsIdChanged();
  255. partial void OnBadAddressFlagChanging(bool? value);
  256. partial void OnBadAddressFlagChanged();
  257. partial void OnResCodeIdChanging(int? value);
  258. partial void OnResCodeIdChanged();
  259. partial void OnAddressFromDateChanging(DateTime? value);
  260. partial void OnAddressFromDateChanged();
  261. partial void OnAddressToDateChanging(DateTime? value);
  262. partial void OnAddressToDateChanged();
  263. partial void OnWeddingDateChanging(DateTime? value);
  264. partial void OnWeddingDateChanged();
  265. partial void OnOriginDateChanging(DateTime? value);
  266. partial void OnOriginDateChanged();
  267. partial void OnBaptismSchedDateChanging(DateTime? value);
  268. partial void OnBaptismSchedDateChanged();
  269. partial void OnBaptismDateChanging(DateTime? value);
  270. partial void OnBaptismDateChanged();
  271. partial void OnDecisionDateChanging(DateTime? value);
  272. partial void OnDecisionDateChanged();
  273. partial void OnLetterDateRequestedChanging(DateTime? value);
  274. partial void OnLetterDateRequestedChanged();
  275. partial void OnLetterDateReceivedChanging(DateTime? value);
  276. partial void OnLetterDateReceivedChanged();
  277. partial void OnJoinDateChanging(DateTime? value);
  278. partial void OnJoinDateChanged();
  279. partial void OnDropDateChanging(DateTime? value);
  280. partial void OnDropDateChanged();
  281. partial void OnDeceasedDateChanging(DateTime? value);
  282. partial void OnDeceasedDateChanged();
  283. partial void OnTitleCodeChanging(string value);
  284. partial void OnTitleCodeChanged();
  285. partial void OnFirstNameChanging(string value);
  286. partial void OnFirstNameChanged();
  287. partial void OnMiddleNameChanging(string value);
  288. partial void OnMiddleNameChanged();
  289. partial void OnMaidenNameChanging(string value);
  290. partial void OnMaidenNameChanged();
  291. partial void OnLastNameChanging(string value);
  292. partial void OnLastNameChanged();
  293. partial void OnSuffixCodeChanging(string value);
  294. partial void OnSuffixCodeChanged();
  295. partial void OnNickNameChanging(string value);
  296. partial void OnNickNameChanged();
  297. partial void OnAddressLineOneChanging(string value);
  298. partial void OnAddressLineOneChanged();
  299. partial void OnAddressLineTwoChanging(string value);
  300. partial void OnAddressLineTwoChanged();
  301. partial void OnCityNameChanging(string value);
  302. partial void OnCityNameChanged();
  303. partial void OnStateCodeChanging(string value);
  304. partial void OnStateCodeChanged();
  305. partial void OnZipCodeChanging(string value);
  306. partial void OnZipCodeChanged();
  307. partial void OnCountryNameChanging(string value);
  308. partial void OnCountryNameChanged();
  309. partial void OnStreetNameChanging(string value);
  310. partial void OnStreetNameChanged();
  311. partial void OnCellPhoneChanging(string value);
  312. partial void OnCellPhoneChanged();
  313. partial void OnWorkPhoneChanging(string value);
  314. partial void OnWorkPhoneChanged();
  315. partial void OnEmailAddressChanging(string value);
  316. partial void OnEmailAddressChanged();
  317. partial void OnOtherPreviousChurchChanging(string value);
  318. partial void OnOtherPreviousChurchChanged();
  319. partial void OnOtherNewChurchChanging(string value);
  320. partial void OnOtherNewChurchChanged();
  321. partial void OnSchoolOtherChanging(string value);
  322. partial void OnSchoolOtherChanged();
  323. partial void OnEmployerOtherChanging(string value);
  324. partial void OnEmployerOtherChanged();
  325. partial void OnOccupationOtherChanging(string value);
  326. partial void OnOccupationOtherChanged();
  327. partial void OnHobbyOtherChanging(string value);
  328. partial void OnHobbyOtherChanged();
  329. partial void OnSkillOtherChanging(string value);
  330. partial void OnSkillOtherChanged();
  331. partial void OnInterestOtherChanging(string value);
  332. partial void OnInterestOtherChanged();
  333. partial void OnLetterStatusNotesChanging(string value);
  334. partial void OnLetterStatusNotesChanged();
  335. partial void OnCommentsChanging(string value);
  336. partial void OnCommentsChanged();
  337. partial void OnChristAsSaviorChanging(bool value);
  338. partial void OnChristAsSaviorChanged();
  339. partial void OnMemberAnyChurchChanging(bool? value);
  340. partial void OnMemberAnyChurchChanged();
  341. partial void OnInterestedInJoiningChanging(bool value);
  342. partial void OnInterestedInJoiningChanged();
  343. partial void OnPleaseVisitChanging(bool value);
  344. partial void OnPleaseVisitChanged();
  345. partial void OnInfoBecomeAChristianChanging(bool value);
  346. partial void OnInfoBecomeAChristianChanged();
  347. partial void OnContributionsStatementChanging(bool value);
  348. partial void OnContributionsStatementChanged();
  349. partial void OnModifiedByChanging(int? value);
  350. partial void OnModifiedByChanged();
  351. partial void OnModifiedDateChanging(DateTime? value);
  352. partial void OnModifiedDateChanged();
  353. partial void OnPictureIdChanging(int? value);
  354. partial void OnPictureIdChanged();
  355. partial void OnContributionOptionsIdChanging(int? value);
  356. partial void OnContributionOptionsIdChanged();
  357. partial void OnPrimaryCityChanging(string value);
  358. partial void OnPrimaryCityChanged();
  359. partial void OnPrimaryZipChanging(string value);
  360. partial void OnPrimaryZipChanged();
  361. partial void OnPrimaryAddressChanging(string value);
  362. partial void OnPrimaryAddressChanged();
  363. partial void OnPrimaryStateChanging(string value);
  364. partial void OnPrimaryStateChanged();
  365. partial void OnHomePhoneChanging(string value);
  366. partial void OnHomePhoneChanged();
  367. partial void OnSpouseIdChanging(int? value);
  368. partial void OnSpouseIdChanged();
  369. partial void OnPrimaryAddress2Changing(string value);
  370. partial void OnPrimaryAddress2Changed();
  371. partial void OnPrimaryResCodeChanging(int? value);
  372. partial void OnPrimaryResCodeChanged();
  373. partial void OnPrimaryBadAddrFlagChanging(int? value);
  374. partial void OnPrimaryBadAddrFlagChanged();
  375. partial void OnLastContactChanging(DateTime? value);
  376. partial void OnLastContactChanged();
  377. partial void OnGradeChanging(int? value);
  378. partial void OnGradeChanged();
  379. partial void OnCellPhoneLUChanging(string value);
  380. partial void OnCellPhoneLUChanged();
  381. partial void OnWorkPhoneLUChanging(string value);
  382. partial void OnWorkPhoneLUChanged();
  383. partial void OnBibleFellowshipClassIdChanging(int? value);
  384. partial void OnBibleFellowshipClassIdChanged();
  385. partial void OnCampusIdChanging(int? value);
  386. partial void OnCampusIdChanged();
  387. partial void OnCellPhoneACChanging(string value);
  388. partial void OnCellPhoneACChanged();
  389. partial void OnCheckInNotesChanging(string value);
  390. partial void OnCheckInNotesChanged();
  391. partial void OnAgeChanging(int? value);
  392. partial void OnAgeChanged();
  393. partial void OnAltNameChanging(string value);
  394. partial void OnAltNameChanged();
  395. partial void OnCustodyIssueChanging(bool? value);
  396. partial void OnCustodyIssueChanged();
  397. partial void OnOkTransportChanging(bool? value);
  398. partial void OnOkTransportChanged();
  399. partial void OnBDateChanging(DateTime? value);
  400. partial void OnBDateChanged();
  401. partial void OnHasDuplicatesChanging(bool? value);
  402. partial void OnHasDuplicatesChanged();
  403. partial void OnFirstName2Changing(string value);
  404. partial void OnFirstName2Changed();
  405. partial void OnEmailAddress2Changing(string value);
  406. partial void OnEmailAddress2Changed();
  407. partial void OnSendEmailAddress1Changing(bool? value);
  408. partial void OnSendEmailAddress1Changed();
  409. partial void OnSendEmailAddress2Changing(bool? value);
  410. partial void OnSendEmailAddress2Changed();
  411. partial void OnHashNumChanging(int? value);
  412. partial void OnHashNumChanged();
  413. partial void OnNewMemberClassDateChanging(DateTime? value);
  414. partial void OnNewMemberClassDateChanged();
  415. partial void OnNameChanging(string value);
  416. partial void OnNameChanged();
  417. partial void OnPreferredNameChanging(string value);
  418. partial void OnPreferredNameChanged();
  419. partial void OnPrimaryCountryChanging(string value);
  420. partial void OnPrimaryCountryChanged();
  421. partial void OnReceiveSMSChanging(bool value);
  422. partial void OnReceiveSMSChanged();
  423. partial void OnName2Changing(string value);
  424. partial void OnName2Changed();
  425. partial void OnDoNotPublishPhonesChanging(bool? value);
  426. partial void OnDoNotPublishPhonesChanged();
  427. partial void OnIsDeceasedChanging(bool? value);
  428. partial void OnIsDeceasedChanged();
  429. #endregion
  430. public Person()
  431. {
  432. this._contactsHad = new EntitySet< Contactee>(new Action< Contactee>(this.attach_contactsHad), new Action< Contactee>(this.detach_contactsHad));
  433. this._contactsMade = new EntitySet< Contactor>(new Action< Contactor>(this.attach_contactsMade), new Action< Contactor>(this.detach_contactsMade));
  434. this._EnrollmentTransactions = new EntitySet< EnrollmentTransaction>(new Action< EnrollmentTransaction>(this.attach_EnrollmentTransactions), new Action< EnrollmentTransaction>(this.detach_EnrollmentTransactions));
  435. this._FamiliesHeaded = new EntitySet< Family>(new Action< Family>(this.attach_FamiliesHeaded), new Action< Family>(this.detach_FamiliesHeaded));
  436. this._FamiliesHeaded2 = new EntitySet< Family>(new Action< Family>(this.attach_FamiliesHeaded2), new Action< Family>(this.detach_FamiliesHeaded2));
  437. this._ActivityLogs = new EntitySet< ActivityLog>(new Action< ActivityLog>(this.attach_ActivityLogs), new Action< ActivityLog>(this.detach_ActivityLogs));
  438. this._Attends = new EntitySet< Attend>(new Action< Attend>(this.attach_Attends), new Action< Attend>(this.detach_Attends));
  439. this._BackgroundChecks = new EntitySet< BackgroundCheck>(new Action< BackgroundCheck>(this.attach_BackgroundChecks), new Action< BackgroundCheck>(this.detach_BackgroundChecks));
  440. this._CardIdentifiers = new EntitySet< CardIdentifier>(new Action< CardIdentifier>(this.attach_CardIdentifiers), new Action< CardIdentifier>(this.detach_CardIdentifiers));
  441. this._CheckInTimes = new EntitySet< CheckInTime>(new Action< CheckInTime>(this.attach_CheckInTimes), new Action< CheckInTime>(this.detach_CheckInTimes));
  442. this._Contributions = new EntitySet< Contribution>(new Action< Contribution>(this.attach_Contributions), new Action< Contribution>(this.detach_Contributions));
  443. this._Coupons = new EntitySet< Coupon>(new Action< Coupon>(this.attach_Coupons), new Action< Coupon>(this.detach_Coupons));
  444. this._EmailOptOuts = new EntitySet< EmailOptOut>(new Action< EmailOptOut>(this.attach_EmailOptOuts), new Action< EmailOptOut>(this.detach_EmailOptOuts));
  445. this._EmailQueues = new EntitySet< EmailQueue>(new Action< EmailQueue>(this.attach_EmailQueues), new Action< EmailQueue>(this.detach_EmailQueues));
  446. this._EmailQueueTos = new EntitySet< EmailQueueTo>(new Action< EmailQueueTo>(this.attach_EmailQueueTos), new Action< EmailQueueTo>(this.detach_EmailQueueTos));
  447. this._EmailResponses = new EntitySet< EmailResponse>(new Action< EmailResponse>(this.attach_EmailResponses), new Action< EmailResponse>(this.detach_EmailResponses));
  448. this._ManagedGivings = new EntitySet< ManagedGiving>(new Action< ManagedGiving>(this.attach_ManagedGivings), new Action< ManagedGiving>(this.detach_ManagedGivings));
  449. this._MemberDocForms = new EntitySet< MemberDocForm>(new Action< MemberDocForm>(this.attach_MemberDocForms), new Action< MemberDocForm>(this.detach_MemberDocForms));
  450. this._PaymentInfos = new EntitySet< PaymentInfo>(new Action< PaymentInfo>(this.attach_PaymentInfos), new Action< PaymentInfo>(this.detach_PaymentInfos));
  451. this._PeopleExtras = new EntitySet< PeopleExtra>(new Action< PeopleExtra>(this.attach_PeopleExtras), new Action< PeopleExtra>(this.detach_PeopleExtras));
  452. this._RecRegs = new EntitySet< RecReg>(new Action< RecReg>(this.attach_RecRegs), new Action< RecReg>(this.detach_RecRegs));
  453. this._RecurringAmounts = new EntitySet< RecurringAmount>(new Action< RecurringAmount>(this.attach_RecurringAmounts), new Action< RecurringAmount>(this.detach_RecurringAmounts));
  454. this._SMSItems = new EntitySet< SMSItem>(new Action< SMSItem>(this.attach_SMSItems), new Action< SMSItem>(this.detach_SMSItems));
  455. this._SMSLists = new EntitySet< SMSList>(new Action< SMSList>(this.attach_SMSLists), new Action< SMSList>(this.detach_SMSLists));
  456. this._TagShares = new EntitySet< TagShare>(new Action< TagShare>(this.attach_TagShares), new Action< TagShare>(this.detach_TagShares));
  457. this._TaskListOwners = new EntitySet< TaskListOwner>(new Action< TaskListOwner>(this.attach_TaskListOwners), new Action< TaskListOwner>(this.detach_TaskListOwners));
  458. this._Transactions = new EntitySet< Transaction>(new Action< Transaction>(this.attach_Transactions), new Action< Transaction>(this.detach_Transactions));
  459. this._TransactionPeople = new EntitySet< TransactionPerson>(new Action< TransactionPerson>(this.attach_TransactionPeople), new Action< TransactionPerson>(this.detach_TransactionPeople));
  460. this._Users = new EntitySet< User>(new Action< User>(this.attach_Users), new Action< User>(this.detach_Users));
  461. this._VolInterestInterestCodes = new EntitySet< VolInterestInterestCode>(new Action< VolInterestInterestCode>(this.attach_VolInterestInterestCodes), new Action< VolInterestInterestCode>(this.detach_VolInterestInterestCodes));
  462. this._Volunteers = new EntitySet< Volunteer>(new Action< Volunteer>(this.attach_Volunteers), new Action< Volunteer>(this.detach_Volunteers));
  463. this._VolunteerForms = new EntitySet< VolunteerForm>(new Action< VolunteerForm>(this.attach_VolunteerForms), new Action< VolunteerForm>(this.detach_VolunteerForms));
  464. this._VoluteerApprovalIds = new EntitySet< VoluteerApprovalId>(new Action< VoluteerApprovalId>(this.attach_VoluteerApprovalIds), new Action< VoluteerApprovalId>(this.detach_VoluteerApprovalIds));
  465. this._OrganizationMembers = new EntitySet< OrganizationMember>(new Action< OrganizationMember>(this.attach_OrganizationMembers), new Action< OrganizationMember>(this.detach_OrganizationMembers));
  466. this._People = new EntitySet< BackgroundCheck>(new Action< BackgroundCheck>(this.attach_People), new Action< BackgroundCheck>(this.detach_People));
  467. this._SubRequests = new EntitySet< SubRequest>(new Action< SubRequest>(this.attach_SubRequests), new Action< SubRequest>(this.detach_SubRequests));
  468. this._SubResponses = new EntitySet< SubRequest>(new Action< SubRequest>(this.attach_SubResponses), new Action< SubRequest>(this.detach_SubResponses));
  469. this._Tags = new EntitySet< TagPerson>(new Action< TagPerson>(this.attach_Tags), new Action< TagPerson>(this.detach_Tags));
  470. this._TagsOwned = new EntitySet< Tag>(new Action< Tag>(this.attach_TagsOwned), new Action< Tag>(this.detach_TagsOwned));
  471. this._Tasks = new EntitySet< Task>(new Action< Task>(this.attach_Tasks), new Action< Task>(this.detach_Tasks));
  472. this._TasksAboutPerson = new EntitySet< Task>(new Action< Task>(this.attach_TasksAboutPerson), new Action< Task>(this.detach_TasksAboutPerson));
  473. this._TasksCoOwned = new EntitySet< Task>(new Action< Task>(this.attach_TasksCoOwned), new Action< Task>(this.detach_TasksCoOwned));
  474. this._VolRequests = new EntitySet< VolRequest>(new Action< VolRequest>(this.attach_VolRequests), new Action< VolRequest>(this.detach_VolRequests));
  475. this._VolResponses = new EntitySet< VolRequest>(new Action< VolRequest>(this.attach_VolResponses), new Action< VolRequest>(this.detach_VolResponses));
  476. this._BFClass = default(EntityRef< Organization>);
  477. this._EnvelopeOption = default(EntityRef< EnvelopeOption>);
  478. this._BaptismStatus = default(EntityRef< BaptismStatus>);
  479. this._BaptismType = default(EntityRef< BaptismType>);
  480. this._Campu = default(EntityRef< Campu>);
  481. this._DecisionType = default(EntityRef< DecisionType>);
  482. this._NewMemberClassStatus = default(EntityRef< NewMemberClassStatus>);
  483. this._DropType = default(EntityRef< DropType>);
  484. this._EntryPoint = default(EntityRef< EntryPoint>);
  485. this._Family = default(EntityRef< Family>);
  486. this._FamilyPosition = default(EntityRef< FamilyPosition>);
  487. this._Gender = default(EntityRef< Gender>);
  488. this._InterestPoint = default(EntityRef< InterestPoint>);
  489. this._JoinType = default(EntityRef< JoinType>);
  490. this._MaritalStatus = default(EntityRef< MaritalStatus>);
  491. this._MemberLetterStatus = default(EntityRef< MemberLetterStatus>);
  492. this._MemberStatus = default(EntityRef< MemberStatus>);
  493. this._Origin = default(EntityRef< Origin>);
  494. this._Picture = default(EntityRef< Picture>);
  495. this._ResidentCode = default(EntityRef< ResidentCode>);
  496. this._ContributionStatementOption = default(EntityRef< EnvelopeOption>);
  497. OnCreated();
  498. }
  499. #region Columns
  500. [Column(Name="PeopleId", UpdateCheck=UpdateCheck.Never, Storage="_PeopleId", AutoSync=AutoSync.OnInsert, DbType="int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
  501. public int PeopleId
  502. {
  503. get { return this._PeopleId; }
  504. set
  505. {
  506. if (this._PeopleId != value)
  507. {
  508. this.OnPeopleIdChanging(value);
  509. this.SendPropertyChanging();
  510. this._PeopleId = value;
  511. this.SendPropertyChanged("PeopleId");
  512. this.OnPeopleIdChanged();
  513. }
  514. }
  515. }
  516. [Column(Name="CreatedBy", UpdateCheck=UpdateCheck.Never, Storage="_CreatedBy", DbType="int NOT NULL")]
  517. public int CreatedBy
  518. {
  519. get { return this._CreatedBy; }
  520. set
  521. {
  522. if (this._CreatedBy != value)
  523. {
  524. this.OnCreatedByChanging(value);
  525. this.SendPropertyChanging();
  526. this._CreatedBy = value;
  527. this.SendPropertyChanged("CreatedBy");
  528. this.OnCreatedByChanged();
  529. }
  530. }
  531. }
  532. [Column(Name="CreatedDate", UpdateCheck=UpdateCheck.Never, Storage="_CreatedDate", DbType="datetime")]
  533. public DateTime? CreatedDate
  534. {
  535. get { return this._CreatedDate; }
  536. set
  537. {
  538. if (this._CreatedDate != value)
  539. {
  540. this.OnCreatedDateChanging(value);
  541. this.SendPropertyChanging();
  542. this._CreatedDate = value;
  543. this.SendPropertyChanged("CreatedDate");
  544. this.OnCreatedDateChanged();
  545. }
  546. }
  547. }
  548. [Column(Name="DropCodeId", UpdateCheck=UpdateCheck.Never, Storage="_DropCodeId", DbType="int NOT NULL")]
  549. public int DropCodeId
  550. {
  551. get { return this._DropCodeId; }
  552. set
  553. {
  554. if (this._DropCodeId != value)
  555. {
  556. if (this._DropType.HasLoadedOrAssignedValue)
  557. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  558. this.OnDropCodeIdChanging(value);
  559. this.SendPropertyChanging();
  560. this._DropCodeId = value;
  561. this.SendPropertyChanged("DropCodeId");
  562. this.OnDropCodeIdChanged();
  563. }
  564. }
  565. }
  566. [Column(Name="GenderId", UpdateCheck=UpdateCheck.Never, Storage="_GenderId", DbType="int NOT NULL")]
  567. public int GenderId
  568. {
  569. get { return this._GenderId; }
  570. set
  571. {
  572. if (this._GenderId != value)
  573. {
  574. if (this._Gender.HasLoadedOrAssignedValue)
  575. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  576. this.OnGenderIdChanging(value);
  577. this.SendPropertyChanging();
  578. this._GenderId = value;
  579. this.SendPropertyChanged("GenderId");
  580. this.OnGenderIdChanged();
  581. }
  582. }
  583. }
  584. [Column(Name="DoNotMailFlag", UpdateCheck=UpdateCheck.Never, Storage="_DoNotMailFlag", DbType="bit NOT NULL")]
  585. public bool DoNotMailFlag
  586. {
  587. get { return this._DoNotMailFlag; }
  588. set
  589. {
  590. if (this._DoNotMailFlag != value)
  591. {
  592. this.OnDoNotMailFlagChanging(value);
  593. this.SendPropertyChanging();
  594. this._DoNotMailFlag = value;
  595. this.SendPropertyChanged("DoNotMailFlag");
  596. this.OnDoNotMailFlagChanged();
  597. }
  598. }
  599. }
  600. [Column(Name="DoNotCallFlag", UpdateCheck=UpdateCheck.Never, Storage="_DoNotCallFlag", DbType="bit NOT NULL")]
  601. public bool DoNotCallFlag
  602. {
  603. get { return this._DoNotCallFlag; }
  604. set
  605. {
  606. if (this._DoNotCallFlag != value)
  607. {
  608. this.OnDoNotCallFlagChanging(value);
  609. this.SendPropertyChanging();
  610. this._DoNotCallFlag = value;
  611. this.SendPropertyChanged("DoNotCallFlag");
  612. this.OnDoNotCallFlagChanged();
  613. }
  614. }
  615. }
  616. [Column(Name="DoNotVisitFlag", UpdateCheck=UpdateCheck.Never, Storage="_DoNotVisitFlag", DbType="bit NOT NULL")]
  617. public bool DoNotVisitFlag
  618. {
  619. get { return this._DoNotVisitFlag; }
  620. set
  621. {
  622. if (this._DoNotVisitFlag != value)
  623. {
  624. this.OnDoNotVisitFlagChanging(value);
  625. this.SendPropertyChanging();
  626. this._DoNotVisitFlag = value;
  627. this.SendPropertyChanged("DoNotVisitFlag");
  628. this.OnDoNotVisitFlagChanged();
  629. }
  630. }
  631. }
  632. [Column(Name="AddressTypeId", UpdateCheck=UpdateCheck.Never, Storage="_AddressTypeId", DbType="int NOT NULL")]
  633. public int AddressTypeId
  634. {
  635. get { return this._AddressTypeId; }
  636. set
  637. {
  638. if (this._AddressTypeId != value)
  639. {
  640. this.OnAddressTypeIdChanging(value);
  641. this.SendPropertyChanging();
  642. this._AddressTypeId = value;
  643. this.SendPropertyChanged("AddressTypeId");
  644. this.OnAddressTypeIdChanged();
  645. }
  646. }
  647. }
  648. [Column(Name="PhonePrefId", UpdateCheck=UpdateCheck.Never, Storage="_PhonePrefId", DbType="int NOT NULL")]
  649. public int PhonePrefId
  650. {
  651. get { return this._PhonePrefId; }
  652. set
  653. {
  654. if (this._PhonePrefId != value)
  655. {
  656. this.OnPhonePrefIdChanging(value);
  657. this.SendPropertyChanging();
  658. this._PhonePrefId = value;
  659. this.SendPropertyChanged("PhonePrefId");
  660. this.OnPhonePrefIdChanged();
  661. }
  662. }
  663. }
  664. [Column(Name="MaritalStatusId", UpdateCheck=UpdateCheck.Never, Storage="_MaritalStatusId", DbType="int NOT NULL")]
  665. public int MaritalStatusId
  666. {
  667. get { return this._MaritalStatusId; }
  668. set
  669. {
  670. if (this._MaritalStatusId != value)
  671. {
  672. if (this._MaritalStatus.HasLoadedOrAssignedValue)
  673. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  674. this.OnMaritalStatusIdChanging(value);
  675. this.SendPropertyChanging();
  676. this._MaritalStatusId = value;
  677. this.SendPropertyChanged("MaritalStatusId");
  678. this.OnMaritalStatusIdChanged();
  679. }
  680. }
  681. }
  682. [Column(Name="PositionInFamilyId", UpdateCheck=UpdateCheck.Never, Storage="_PositionInFamilyId", DbType="int NOT NULL")]
  683. public int PositionInFamilyId
  684. {
  685. get { return this._PositionInFamilyId; }
  686. set
  687. {
  688. if (this._PositionInFamilyId != value)
  689. {
  690. if (this._FamilyPosition.HasLoadedOrAssignedValue)
  691. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  692. this.OnPositionInFamilyIdChanging(value);
  693. this.SendPropertyChanging();
  694. this._PositionInFamilyId = value;
  695. this.SendPropertyChanged("PositionInFamilyId");
  696. this.OnPositionInFamilyIdChanged();
  697. }
  698. }
  699. }
  700. [Column(Name="MemberStatusId", UpdateCheck=UpdateCheck.Never, Storage="_MemberStatusId", DbType="int NOT NULL")]
  701. public int MemberStatusId
  702. {
  703. get { return this._MemberStatusId; }
  704. set
  705. {
  706. if (this._MemberStatusId != value)
  707. {
  708. if (this._MemberStatus.HasLoadedOrAssignedValue)
  709. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  710. this.OnMemberStatusIdChanging(value);
  711. this.SendPropertyChanging();
  712. this._MemberStatusId = value;
  713. this.SendPropertyChanged("MemberStatusId");
  714. this.OnMemberStatusIdChanged();
  715. }
  716. }
  717. }
  718. [Column(Name="FamilyId", UpdateCheck=UpdateCheck.Never, Storage="_FamilyId", DbType="int NOT NULL")]
  719. public int FamilyId
  720. {
  721. get { return this._FamilyId; }
  722. set
  723. {
  724. if (this._FamilyId != value)
  725. {
  726. if (this._Family.HasLoadedOrAssignedValue)
  727. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  728. this.OnFamilyIdChanging(value);
  729. this.SendPropertyChanging();
  730. this._FamilyId = value;
  731. this.SendPropertyChanged("FamilyId");
  732. this.OnFamilyIdChanged();
  733. }
  734. }
  735. }
  736. [Column(Name="BirthMonth", UpdateCheck=UpdateCheck.Never, Storage="_BirthMonth", DbType="int")]
  737. public int? BirthMonth
  738. {
  739. get { return this._BirthMonth; }
  740. set
  741. {
  742. if (this._BirthMonth != value)
  743. {
  744. this.OnBirthMonthChanging(value);
  745. this.SendPropertyChanging();
  746. this._BirthMonth = value;
  747. this.SendPropertyChanged("BirthMonth");
  748. this.OnBirthMonthChanged();
  749. }
  750. }
  751. }
  752. [Column(Name="BirthDay", UpdateCheck=UpdateCheck.Never, Storage="_BirthDay", DbType="int")]
  753. public int? BirthDay
  754. {
  755. get { return this._BirthDay; }
  756. set
  757. {
  758. if (this._BirthDay != value)
  759. {
  760. this.OnBirthDayChanging(value);
  761. this.SendPropertyChanging();
  762. this._BirthDay = value;
  763. this.SendPropertyChanged("BirthDay");
  764. this.OnBirthDayChanged();
  765. }
  766. }
  767. }
  768. [Column(Name="BirthYear", UpdateCheck=UpdateCheck.Never, Storage="_BirthYear", DbType="int")]
  769. public int? BirthYear
  770. {
  771. get { return this._BirthYear; }
  772. set
  773. {
  774. if (this._BirthYear != value)
  775. {
  776. this.OnBirthYearChanging(value);
  777. this.SendPropertyChanging();
  778. this._BirthYear = value;
  779. this.SendPropertyChanged("BirthYear");
  780. this.OnBirthYearChanged();
  781. }
  782. }
  783. }
  784. [Column(Name="OriginId", UpdateCheck=UpdateCheck.Never, Storage="_OriginId", DbType="int")]
  785. public int? OriginId
  786. {
  787. get { return this._OriginId; }
  788. set
  789. {
  790. if (this._OriginId != value)
  791. {
  792. if (this._Origin.HasLoadedOrAssignedValue)
  793. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  794. this.OnOriginIdChanging(value);
  795. this.SendPropertyChanging();
  796. this._OriginId = value;
  797. this.SendPropertyChanged("OriginId");
  798. this.OnOriginIdChanged();
  799. }
  800. }
  801. }
  802. [Column(Name="EntryPointId", UpdateCheck=UpdateCheck.Never, Storage="_EntryPointId", DbType="int")]
  803. public int? EntryPointId
  804. {
  805. get { return this._EntryPointId; }
  806. set
  807. {
  808. if (this._EntryPointId != value)
  809. {
  810. if (this._EntryPoint.HasLoadedOrAssignedValue)
  811. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  812. this.OnEntryPointIdChanging(value);
  813. this.SendPropertyChanging();
  814. this._EntryPointId = value;
  815. this.SendPropertyChanged("EntryPointId");
  816. this.OnEntryPointIdChanged();
  817. }
  818. }
  819. }
  820. [Column(Name="InterestPointId", UpdateCheck=UpdateCheck.Never, Storage="_InterestPointId", DbType="int")]
  821. public int? InterestPointId
  822. {
  823. get { return this._InterestPointId; }
  824. set
  825. {
  826. if (this._InterestPointId != value)
  827. {
  828. if (this._InterestPoint.HasLoadedOrAssignedValue)
  829. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  830. this.OnInterestPointIdChanging(value);
  831. this.SendPropertyChanging();
  832. this._InterestPointId = value;
  833. this.SendPropertyChanged("InterestPointId");
  834. this.OnInterestPointIdChanged();
  835. }
  836. }
  837. }
  838. [Column(Name="BaptismTypeId", UpdateCheck=UpdateCheck.Never, Storage="_BaptismTypeId", DbType="int")]
  839. public int? BaptismTypeId
  840. {
  841. get { return this._BaptismTypeId; }
  842. set
  843. {
  844. if (this._BaptismTypeId != value)
  845. {
  846. if (this._BaptismType.HasLoadedOrAssignedValue)
  847. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  848. this.OnBaptismTypeIdChanging(value);
  849. this.SendPropertyChanging();
  850. this._BaptismTypeId = value;
  851. this.SendPropertyChanged("BaptismTypeId");
  852. this.OnBaptismTypeIdChanged();
  853. }
  854. }
  855. }
  856. [Column(Name="BaptismStatusId", UpdateCheck=UpdateCheck.Never, Storage="_BaptismStatusId", DbType="int")]
  857. public int? BaptismStatusId
  858. {
  859. get { return this._BaptismStatusId; }
  860. set
  861. {
  862. if (this._BaptismStatusId != value)
  863. {
  864. if (this._BaptismStatus.HasLoadedOrAssignedValue)
  865. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  866. this.OnBaptismStatusIdChanging(value);
  867. this.SendPropertyChanging();
  868. this._BaptismStatusId = value;
  869. this.SendPropertyChanged("BaptismStatusId");
  870. this.OnBaptismStatusIdChanged();
  871. }
  872. }
  873. }
  874. [Column(Name="DecisionTypeId", UpdateCheck=UpdateCheck.Never, Storage="_DecisionTypeId", DbType="int")]
  875. public int? DecisionTypeId
  876. {
  877. get { return this._DecisionTypeId; }
  878. set
  879. {
  880. if (this._DecisionTypeId != value)
  881. {
  882. if (this._DecisionType.HasLoadedOrAssignedValue)
  883. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  884. this.OnDecisionTypeIdChanging(value);
  885. this.SendPropertyChanging();
  886. this._DecisionTypeId = value;
  887. this.SendPropertyChanged("DecisionTypeId");
  888. this.OnDecisionTypeIdChanged();
  889. }
  890. }
  891. }
  892. [Column(Name="NewMemberClassStatusId", UpdateCheck=UpdateCheck.Never, Storage="_NewMemberClassStatusId", DbType="int")]
  893. public int? NewMemberClassStatusId
  894. {
  895. get { return this._NewMemberClassStatusId; }
  896. set
  897. {
  898. if (this._NewMemberClassStatusId != value)
  899. {
  900. if (this._NewMemberClassStatus.HasLoadedOrAssignedValue)
  901. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  902. this.OnNewMemberClassStatusIdChanging(value);
  903. this.SendPropertyChanging();
  904. this._NewMemberClassStatusId = value;
  905. this.SendPropertyChanged("NewMemberClassStatusId");
  906. this.OnNewMemberClassStatusIdChanged();
  907. }
  908. }
  909. }
  910. [Column(Name="LetterStatusId", UpdateCheck=UpdateCheck.Never, Storage="_LetterStatusId", DbType="int")]
  911. public int? LetterStatusId
  912. {
  913. get { return this._LetterStatusId; }
  914. set
  915. {
  916. if (this._LetterStatusId != value)
  917. {
  918. if (this._MemberLetterStatus.HasLoadedOrAssignedValue)
  919. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  920. this.OnLetterStatusIdChanging(value);
  921. this.SendPropertyChanging();
  922. this._LetterStatusId = value;
  923. this.SendPropertyChanged("LetterStatusId");
  924. this.OnLetterStatusIdChanged();
  925. }
  926. }
  927. }
  928. [Column(Name="JoinCodeId", UpdateCheck=UpdateCheck.Never, Storage="_JoinCodeId", DbType="int NOT NULL")]
  929. public int JoinCodeId
  930. {
  931. get { return this._JoinCodeId; }
  932. set
  933. {
  934. if (this._JoinCodeId != value)
  935. {
  936. if (this._JoinType.HasLoadedOrAssignedValue)
  937. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  938. this.OnJoinCodeIdChanging(value);
  939. this.SendPropertyChanging();
  940. this._JoinCodeId = value;
  941. this.SendPropertyChanged("JoinCodeId");
  942. this.OnJoinCodeIdChanged();
  943. }
  944. }
  945. }
  946. [Column(Name="EnvelopeOptionsId", UpdateCheck=UpdateCheck.Never, Storage="_EnvelopeOptionsId", DbType="int")]
  947. public int? EnvelopeOptionsId
  948. {
  949. get { return this._EnvelopeOptionsId; }
  950. set
  951. {
  952. if (this._EnvelopeOptionsId != value)
  953. {
  954. if (this._EnvelopeOption.HasLoadedOrAssignedValue)
  955. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  956. this.OnEnvelopeOptionsIdChanging(value);
  957. this.SendPropertyChanging();
  958. this._EnvelopeOptionsId = value;
  959. this.SendPropertyChanged("EnvelopeOptionsId");
  960. this.OnEnvelopeOptionsIdChanged();
  961. }
  962. }
  963. }
  964. [Column(Name="BadAddressFlag", UpdateCheck=UpdateCheck.Never, Storage="_BadAddressFlag", DbType="bit")]
  965. public bool? BadAddressFlag
  966. {
  967. get { return this._BadAddressFlag; }
  968. set
  969. {
  970. if (this._BadAddressFlag != value)
  971. {
  972. this.OnBadAddressFlagChanging(value);
  973. this.SendPropertyChanging();
  974. this._BadAddressFlag = value;
  975. this.SendPropertyChanged("BadAddressFlag");
  976. this.OnBadAddressFlagChanged();
  977. }
  978. }
  979. }
  980. [Column(Name="ResCodeId", UpdateCheck=UpdateCheck.Never, Storage="_ResCodeId", DbType="int")]
  981. public int? ResCodeId
  982. {
  983. get { return this._ResCodeId; }
  984. set
  985. {
  986. if (this._ResCodeId != value)
  987. {
  988. if (this._ResidentCode.HasLoadedOrAssignedValue)
  989. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  990. this.OnResCodeIdChanging(value);
  991. this.SendPropertyChanging();
  992. this._ResCodeId = value;
  993. this.SendPropertyChanged("ResCodeId");
  994. this.OnResCodeIdChanged();
  995. }
  996. }
  997. }
  998. [Column(Name="AddressFromDate", UpdateCheck=UpdateCheck.Never, Storage="_AddressFromDate", DbType="datetime")]
  999. public DateTime? AddressFromDate
  1000. {
  1001. get { return this._AddressFromDate; }
  1002. set
  1003. {
  1004. if (this._AddressFromDate != value)
  1005. {
  1006. this.OnAddressFromDateChanging(value);
  1007. this.SendPropertyChanging();
  1008. this._AddressFromDate = value;
  1009. this.SendPropertyChanged("AddressFromDate");
  1010. this.OnAddressFromDateChanged();
  1011. }
  1012. }
  1013. }
  1014. [Column(Name="AddressToDate", UpdateCheck=UpdateCheck.Never, Storage="_AddressToDate", DbType="datetime")]
  1015. public DateTime? AddressToDate
  1016. {
  1017. get { return this._AddressToDate; }
  1018. set
  1019. {
  1020. if (this._AddressToDate != value)
  1021. {
  1022. this.OnAddressToDateChanging(value);
  1023. this.SendPropertyChanging();
  1024. this._AddressToDate = value;
  1025. this.SendPropertyChanged("AddressToDate");
  1026. this.OnAddressToDateChanged();
  1027. }
  1028. }
  1029. }
  1030. [Column(Name="WeddingDate", UpdateCheck=UpdateCheck.Never, Storage="_WeddingDate", DbType="datetime")]
  1031. public DateTime? WeddingDate
  1032. {
  1033. get { return this._WeddingDate; }
  1034. set
  1035. {
  1036. if (this._WeddingDate != value)
  1037. {
  1038. this.OnWeddingDateChanging(value);
  1039. this.SendPropertyChanging();
  1040. this._WeddingDate = value;
  1041. this.SendPropertyChanged("WeddingDate");
  1042. this.OnWeddingDateChanged();
  1043. }
  1044. }
  1045. }
  1046. [Column(Name="OriginDate", UpdateCheck=UpdateCheck.Never, Storage="_OriginDate", DbType="datetime")]
  1047. public DateTime? OriginDate
  1048. {
  1049. get { return this._OriginDate; }
  1050. set
  1051. {
  1052. if (this._OriginDate != value)
  1053. {
  1054. this.OnOriginDateChanging(value);
  1055. this.SendPropertyChanging();
  1056. this._OriginDate = value;
  1057. this.SendPropertyChanged("OriginDate");
  1058. this.OnOriginDateChanged();
  1059. }
  1060. }
  1061. }
  1062. [Column(Name="BaptismSchedDate", UpdateCheck=UpdateCheck.Never, Storage="_BaptismSchedDate", DbType="datetime")]
  1063. public DateTime? BaptismSchedDate
  1064. {
  1065. get { return this._BaptismSchedDate; }
  1066. set
  1067. {
  1068. if (this._BaptismSchedDate != value)
  1069. {
  1070. this.OnBaptismSchedDateChanging(value);
  1071. this.SendPropertyChanging();
  1072. this._BaptismSchedDate = value;
  1073. this.SendPropertyChanged("BaptismSchedDate");
  1074. this.OnBaptismSchedDateChanged();
  1075. }
  1076. }
  1077. }
  1078. [Column(Name="BaptismDate", UpdateCheck=UpdateCheck.Never, Storage="_BaptismDate", DbType="datetime")]
  1079. public DateTime? BaptismDate
  1080. {
  1081. get { return this._BaptismDate; }
  1082. set
  1083. {
  1084. if (this._BaptismDate != value)
  1085. {
  1086. this.OnBaptismDateChanging(value);
  1087. this.SendPropertyChanging();
  1088. this._BaptismDate = value;
  1089. this.SendPropertyChanged("BaptismDate");
  1090. this.OnBaptismDateChanged();
  1091. }
  1092. }
  1093. }
  1094. [Column(Name="DecisionDate", UpdateCheck=UpdateCheck.Never, Storage="_DecisionDate", DbType="datetime")]
  1095. public DateTime? DecisionDate
  1096. {
  1097. get { return this._DecisionDate; }
  1098. set
  1099. {
  1100. if (this._DecisionDate != value)
  1101. {
  1102. this.OnDecisionDateChanging(value);
  1103. this.SendPropertyChanging();
  1104. this._DecisionDate = value;
  1105. this.SendPropertyChanged("DecisionDate");
  1106. this.OnDecisionDateChanged();
  1107. }
  1108. }
  1109. }
  1110. [Column(Name="LetterDateRequested", UpdateCheck=UpdateCheck.Never, Storage="_LetterDateRequested", DbType="datetime")]
  1111. public DateTime? LetterDateRequested
  1112. {
  1113. get { return this._LetterDateRequested; }
  1114. set
  1115. {
  1116. if (this._LetterDateRequested != value)
  1117. {
  1118. this.OnLetterDateRequestedChanging(value);
  1119. this.SendPropertyChanging();
  1120. this._LetterDateRequested = value;
  1121. this.SendPropertyChanged("LetterDateRequested");
  1122. this.OnLetterDateRequestedChanged();
  1123. }
  1124. }
  1125. }
  1126. [Column(Name="LetterDateReceived", UpdateCheck=UpdateCheck.Never, Storage="_LetterDateReceived", DbType="datetime")]
  1127. public DateTime? LetterDateReceived
  1128. {
  1129. get { return this._LetterDateReceived; }
  1130. set
  1131. {
  1132. if (this._LetterDateReceived != value)
  1133. {
  1134. this.OnLetterDateReceivedChanging(value);
  1135. this.SendPropertyChanging();
  1136. this._LetterDateReceived = value;
  1137. this.SendPropertyChanged("LetterDateReceived");
  1138. this.OnLetterDateReceivedChanged();
  1139. }
  1140. }
  1141. }
  1142. [Column(Name="JoinDate", UpdateCheck=UpdateCheck.Never, Storage="_JoinDate", DbType="datetime")]
  1143. public DateTime? JoinDate
  1144. {
  1145. get { return this._JoinDate; }
  1146. set
  1147. {
  1148. if (this._JoinDate != value)
  1149. {
  1150. this.OnJoinDateChanging(value);
  1151. this.SendPropertyChanging();
  1152. this._JoinDate = value;
  1153. this.SendPropertyChanged("JoinDate");
  1154. this.OnJoinDateChanged();
  1155. }
  1156. }
  1157. }
  1158. [Column(Name="DropDate", UpdateCheck=UpdateCheck.Never, Storage="_DropDate", DbType="datetime")]
  1159. public DateTime? DropDate
  1160. {
  1161. get { return this._DropDate; }
  1162. set
  1163. {
  1164. if (this._DropDate != value)
  1165. {
  1166. this.OnDropDateChanging(value);
  1167. this.SendPropertyChanging();
  1168. this._DropDate = value;
  1169. this.SendPropertyChanged("DropDate");
  1170. this.OnDropDateChanged();
  1171. }
  1172. }
  1173. }
  1174. [Column(Name="DeceasedDate", UpdateCheck=UpdateCheck.Never, Storage="_DeceasedDate", DbType="datetime")]
  1175. public DateTime? DeceasedDate
  1176. {
  1177. get { return this._DeceasedDate; }
  1178. set
  1179. {
  1180. if (this._DeceasedDate != value)
  1181. {
  1182. this.OnDeceasedDateChanging(value);
  1183. this.SendPropertyChanging();
  1184. this._DeceasedDate = value;
  1185. this.SendPropertyChanged("DeceasedDate");
  1186. this.OnDeceasedDateChanged();
  1187. }
  1188. }
  1189. }
  1190. [Column(Name="TitleCode", UpdateCheck=UpdateCheck.Never, Storage="_TitleCode", DbType="varchar(10)")]
  1191. public string TitleCode
  1192. {
  1193. get { return this._TitleCode; }
  1194. set
  1195. {
  1196. if (this._TitleCode != value)
  1197. {
  1198. this.OnTitleCodeChanging(value);
  1199. this.SendPropertyChanging();
  1200. this._TitleCode = value;
  1201. this.SendPropertyChanged("TitleCode");
  1202. this.OnTitleCodeChanged();
  1203. }
  1204. }
  1205. }
  1206. [Column(Name="FirstName", UpdateCheck=UpdateCheck.Never, Storage="_FirstName", DbType="varchar(25)")]
  1207. public string FirstName
  1208. {
  1209. get { return this._FirstName; }
  1210. set
  1211. {
  1212. if (this._FirstName != value)
  1213. {
  1214. this.OnFirstNameChanging(value);
  1215. this.SendPropertyChanging();
  1216. this._FirstName = value;
  1217. this.SendPropertyChanged("FirstName");
  1218. this.OnFirstNameChanged();
  1219. }
  1220. }
  1221. }
  1222. [Column(Name="MiddleName", UpdateCheck=UpdateCheck.Never, Storage="_MiddleName", DbType="varchar(25)")]
  1223. public string MiddleName
  1224. {
  1225. get { return this._MiddleName; }
  1226. set
  1227. {
  1228. if (this._MiddleName != value)
  1229. {
  1230. this.OnMiddleNameChanging(value);
  1231. this.SendPropertyChanging();
  1232. this._MiddleName = value;
  1233. this.SendPropertyChanged("MiddleName");
  1234. this.OnMiddleNameChanged();
  1235. }
  1236. }
  1237. }
  1238. [Column(Name="MaidenName", UpdateCheck=UpdateCheck.Never, Storage="_MaidenName", DbType="varchar(20)")]
  1239. public string MaidenName
  1240. {
  1241. get { return this._MaidenName; }
  1242. set
  1243. {
  1244. if (this._MaidenName != value)
  1245. {
  1246. this.OnMaidenNameChanging(value);
  1247. this.SendPropertyChanging();
  1248. this._MaidenName = value;
  1249. this.SendPropertyChanged("MaidenName");
  1250. this.OnMaidenNameChanged();
  1251. }
  1252. }
  1253. }
  1254. [Column(Name="LastName", UpdateCheck=UpdateCheck.Never, Storage="_LastName", DbType="varchar(100) NOT NULL")]
  1255. public string LastName
  1256. {
  1257. get { return this._LastName; }
  1258. set
  1259. {
  1260. if (this._LastName != value)
  1261. {
  1262. this.OnLastNameChanging(value);
  1263. this.SendPropertyChanging();
  1264. this._LastName = value;
  1265. this.SendPropertyChanged("LastName");
  1266. this.OnLastNameChanged();
  1267. }
  1268. }
  1269. }
  1270. [Column(Name="SuffixCode", UpdateCheck=UpdateCheck.Never, Storage="_SuffixCode", DbType="varchar(10)")]
  1271. public string SuffixCode
  1272. {
  1273. get { return this._SuffixCode; }
  1274. set
  1275. {
  1276. if (this._SuffixCode != value)
  1277. {
  1278. this.OnSuffixCodeChanging(value);
  1279. this.SendPropertyChanging();
  1280. this._SuffixCode = value;
  1281. this.SendPropertyChanged("SuffixCode");
  1282. this.OnSuffixCodeChanged();
  1283. }
  1284. }
  1285. }
  1286. [Column(Name="NickName", UpdateCheck=UpdateCheck.Never, Storage="_NickName", DbType="varchar(25)")]
  1287. public string NickName
  1288. {
  1289. get { return this._NickName; }
  1290. set
  1291. {
  1292. if (this._NickName != value)
  1293. {
  1294. this.OnNickNameChanging(value);
  1295. this.SendPropertyChanging();
  1296. this._NickName = value;
  1297. this.SendPropertyChanged("NickName");
  1298. this.OnNickNameChanged();
  1299. }
  1300. }
  1301. }
  1302. [Column(Name="AddressLineOne", UpdateCheck=UpdateCheck.Never, Storage="_AddressLineOne", DbType="varchar(100)")]
  1303. public string AddressLineOne
  1304. {
  1305. get { return this._AddressLineOne; }
  1306. set
  1307. {
  1308. if (this._AddressLineOne != value)
  1309. {
  1310. this.OnAddressLineOneChanging(value);
  1311. this.SendPropertyChanging();
  1312. this._AddressLineOne = value;
  1313. this.SendPropertyChanged("AddressLineOne");
  1314. this.OnAddressLineOneChanged();
  1315. }
  1316. }
  1317. }
  1318. [Column(Name="AddressLineTwo", UpdateCheck=UpdateCheck.Never, Storage="_AddressLineTwo", DbType="varchar(100)")]
  1319. public string AddressLineTwo
  1320. {
  1321. get { return this._AddressLineTwo; }
  1322. set
  1323. {
  1324. if (this._AddressLineTwo != value)
  1325. {
  1326. this.OnAddressLineTwoChanging(value);
  1327. this.SendPropertyChanging();
  1328. this._AddressLineTwo = value;
  1329. this.SendPropertyChanged("AddressLineTwo");
  1330. this.OnAddressLineTwoChanged();
  1331. }
  1332. }
  1333. }
  1334. [Column(Name="CityName", UpdateCheck=UpdateCheck.Never, Storage="_CityName", DbType="varchar(30)")]
  1335. public string CityName
  1336. {
  1337. get { return this._CityName; }
  1338. set
  1339. {
  1340. if (this._CityName != value)
  1341. {
  1342. this.OnCityNameChanging(value);
  1343. this.SendPropertyChanging();
  1344. this._CityName = value;
  1345. this.SendPropertyChanged("CityName");
  1346. this.OnCityNameChanged();
  1347. }
  1348. }
  1349. }
  1350. [Column(Name="StateCode", UpdateCheck=UpdateCheck.Never, Storage="_StateCode", DbType="varchar(30)")]
  1351. public string StateCode
  1352. {
  1353. get { return this._StateCode; }
  1354. set
  1355. {
  1356. if (this._StateCode != value)
  1357. {
  1358. this.OnStateCodeChanging(value);
  1359. this.SendPropertyChanging();
  1360. this._StateCode = value;
  1361. this.SendPropertyChanged("StateCode");
  1362. this.OnStateCodeChanged();
  1363. }
  1364. }
  1365. }
  1366. [Column(Name="ZipCode", UpdateCheck=UpdateCheck.Never, Storage="_ZipCode", DbType="varchar(15)")]
  1367. public string ZipCode
  1368. {
  1369. get { return this._ZipCode; }
  1370. set
  1371. {
  1372. if (this._ZipCode != value)
  1373. {
  1374. this.OnZipCodeChanging(value);
  1375. this.SendPropertyChanging();
  1376. this._ZipCode = value;
  1377. this.SendPropertyChanged("ZipCode");
  1378. this.OnZipCodeChanged();
  1379. }
  1380. }
  1381. }
  1382. [Column(Name="CountryName", UpdateCheck=UpdateCheck.Never, Storage="_CountryName", DbType="varchar(30)")]
  1383. public string CountryName
  1384. {
  1385. get { return this._CountryName; }
  1386. set
  1387. {
  1388. if (this._CountryName != value)
  1389. {
  1390. this.OnCountryNameChanging(value);
  1391. this.SendPropertyChanging();
  1392. this._CountryName = value;
  1393. this.SendPropertyChanged("CountryName");
  1394. this.OnCountryNameChanged();
  1395. }
  1396. }
  1397. }
  1398. [Column(Name="StreetName", UpdateCheck=UpdateCheck.Never, Storage="_StreetName", DbType="varchar(40)")]
  1399. public string StreetName
  1400. {
  1401. get { return this._StreetName; }
  1402. set
  1403. {
  1404. if (this._StreetName != value)
  1405. {
  1406. this.OnStreetNameChanging(value);
  1407. this.SendPropertyChanging();
  1408. this._StreetName = value;
  1409. this.SendPropertyChanged("StreetName");
  1410. this.OnStreetNameChanged();
  1411. }
  1412. }
  1413. }
  1414. [Column(Name="CellPhone", UpdateCheck=UpdateCheck.Never, Storage="_CellPhone", DbType="varchar(20)")]
  1415. public string CellPhone
  1416. {
  1417. get { return this._CellPhone; }
  1418. set
  1419. {
  1420. if (this._CellPhone != value)
  1421. {
  1422. this.OnCellPhoneChanging(value);
  1423. this.SendPropertyChanging();
  1424. this._CellPhone = value;
  1425. this.SendPropertyChanged("CellPhone");
  1426. this.OnCellPhoneChanged();
  1427. }
  1428. }
  1429. }
  1430. [Column(Name="WorkPhone", UpdateCheck=UpdateCheck.Never, Storage="_WorkPhone", DbType="varchar(20)")]
  1431. public string WorkPhone
  1432. {
  1433. get { return this._WorkPhone; }
  1434. set
  1435. {
  1436. if (this._WorkPhone != value)
  1437. {
  1438. this.OnWorkPhoneChanging(value);
  1439. this.SendPropertyChanging();
  1440. this._WorkPhone = value;
  1441. this.SendPropertyChanged("WorkPhone");
  1442. this.OnWorkPhoneChanged();
  1443. }
  1444. }
  1445. }
  1446. [Column(Name="EmailAddress", UpdateCheck=UpdateCheck.Never, Storage="_EmailAddress", DbType="varchar(150)")]
  1447. public string EmailAddress
  1448. {
  1449. get { return this._EmailAddress; }
  1450. set
  1451. {
  1452. if (this._EmailAddress != value)
  1453. {
  1454. this.OnEmailAddressChanging(value);
  1455. this.SendPropertyChanging();
  1456. this._EmailAddress = value;
  1457. this.SendPropertyChanged("EmailAddress");
  1458. this.OnEmailAddressChanged();
  1459. }
  1460. }
  1461. }
  1462. [Column(Name="OtherPreviousChurch", UpdateCheck=UpdateCheck.Never, Storage="_OtherPreviousChurch", DbType="varchar(60)")]
  1463. public string OtherPreviousChurch
  1464. {
  1465. get { return this._OtherPreviousChurch; }
  1466. set
  1467. {
  1468. if (this._OtherPreviousChurch != value)
  1469. {
  1470. this.OnOtherPreviousChurchChanging(value);
  1471. this.SendPropertyChanging();
  1472. this._OtherPreviousChurch = value;
  1473. this.SendPropertyChanged("OtherPreviousChurch");
  1474. this.OnOtherPreviousChurchChanged();
  1475. }
  1476. }
  1477. }
  1478. [Column(Name="OtherNewChurch", UpdateCheck=UpdateCheck.Never, Storage="_OtherNewChurch", DbType="varchar(60)")]
  1479. public string OtherNewChurch
  1480. {
  1481. get { return this._OtherNewChurch; }
  1482. set
  1483. {
  1484. if (this._OtherNewChurch != value)
  1485. {
  1486. this.OnOtherNewChurchChanging(value);
  1487. this.SendPropertyChanging();
  1488. this._OtherNewChurch = value;
  1489. this.SendPropertyChanged("OtherNewChurch");
  1490. this.OnOtherNewChurchChanged();
  1491. }
  1492. }
  1493. }
  1494. [Column(Name="SchoolOther", UpdateCheck=UpdateCheck.Never, Storage="_SchoolOther", DbType="varchar(100)")]
  1495. public string SchoolOther
  1496. {
  1497. get { return this._SchoolOther; }
  1498. set
  1499. {
  1500. if (this._SchoolOther != value)
  1501. {
  1502. this.OnSchoolOtherChanging(value);
  1503. this.SendPropertyChanging();
  1504. this._SchoolOther = value;
  1505. this.SendPropertyChanged("SchoolOther");
  1506. this.OnSchoolOtherChanged();
  1507. }
  1508. }
  1509. }
  1510. [Column(Name="EmployerOther", UpdateCheck=UpdateCheck.Never, Storage="_EmployerOther", DbType="varchar(120)")]
  1511. public string EmployerOther
  1512. {
  1513. get { return this._EmployerOther; }
  1514. set
  1515. {
  1516. if (this._EmployerOther != value)
  1517. {
  1518. this.OnEmployerOtherChanging(value);
  1519. this.SendPropertyChanging();
  1520. this._EmployerOther = value;
  1521. this.SendPropertyChanged("EmployerOther");
  1522. this.OnEmployerOtherChanged();
  1523. }
  1524. }
  1525. }
  1526. [Column(Name="OccupationOther", UpdateCheck=UpdateCheck.Never, Storage="_OccupationOther", DbType="varchar(120)")]
  1527. public string OccupationOther
  1528. {
  1529. get { return this._OccupationOther; }
  1530. set
  1531. {
  1532. if (this._OccupationOther != value)
  1533. {
  1534. this.OnOccupationOtherChanging(value);
  1535. this.SendPropertyChanging();
  1536. this._OccupationOther = value;
  1537. this.SendPropertyChanged("OccupationOther");
  1538. this.OnOccupationOtherChanged();
  1539. }
  1540. }
  1541. }
  1542. [Column(Name="HobbyOther", UpdateCheck=UpdateCheck.Never, Storage="_HobbyOther", DbType="varchar(40)")]
  1543. public string HobbyOther
  1544. {
  1545. get { return this._HobbyOther; }
  1546. set
  1547. {
  1548. if (this._HobbyOther != value)
  1549. {
  1550. this.OnHobbyOtherChanging(value);
  1551. this.SendPropertyChanging();
  1552. this._HobbyOther = value;
  1553. this.SendPropertyChanged("HobbyOther");
  1554. this.OnHobbyOtherChanged();
  1555. }
  1556. }
  1557. }
  1558. [Column(Name="SkillOther", UpdateCheck=UpdateCheck.Never, Storage="_SkillOther", DbType="varchar(40)")]
  1559. public string SkillOther
  1560. {
  1561. get { return this._SkillOther; }
  1562. set
  1563. {
  1564. if (this._SkillOther != value)
  1565. {
  1566. this.OnSkillOtherChanging(value);
  1567. this.SendPropertyChanging();
  1568. this._SkillOther = value;
  1569. this.SendPropertyChanged("SkillOther");
  1570. this.OnSkillOtherChanged();
  1571. }
  1572. }
  1573. }
  1574. [Column(Name="InterestOther", UpdateCheck=UpdateCheck.Never, Storage="_InterestOther", DbType="varchar(40)")]
  1575. public string InterestOther
  1576. {
  1577. get { return this._InterestOther; }
  1578. set
  1579. {
  1580. if (this._InterestOther != value)
  1581. {
  1582. this.OnInterestOtherChanging(value);
  1583. this.SendPropertyChanging();
  1584. this._InterestOther = value;
  1585. this.SendPropertyChanged("InterestOther");
  1586. this.OnInterestOtherChanged();
  1587. }
  1588. }
  1589. }
  1590. [Column(Name="LetterStatusNotes", UpdateCheck=UpdateCheck.Never, Storage="_LetterStatusNotes", DbType="varchar(3000)")]
  1591. public string LetterStatusNotes
  1592. {
  1593. get { return this._LetterStatusNotes; }
  1594. set
  1595. {
  1596. if (this._LetterStatusNotes != value)
  1597. {
  1598. this.OnLetterStatusNotesChanging(value);
  1599. this.SendPropertyChanging();
  1600. this._LetterStatusNotes = value;
  1601. this.SendPropertyChanged("LetterStatusNotes");
  1602. this.OnLetterStatusNotesChanged();
  1603. }
  1604. }
  1605. }
  1606. [Column(Name="Comments", UpdateCheck=UpdateCheck.Never, Storage="_Comments", DbType="varchar(3000)")]
  1607. public string Comments
  1608. {
  1609. get { return this._Comments; }
  1610. set
  1611. {
  1612. if (this._Comments != value)
  1613. {
  1614. this.OnCommentsChanging(value);
  1615. this.SendPropertyChanging();
  1616. this._Comments = value;
  1617. this.SendPropertyChanged("Comments");
  1618. this.OnCommentsChanged();
  1619. }
  1620. }
  1621. }
  1622. [Column(Name="ChristAsSavior", UpdateCheck=UpdateCheck.Never, Storage="_ChristAsSavior", DbType="bit NOT NULL")]
  1623. public bool ChristAsSavior
  1624. {
  1625. get { return this._ChristAsSavior; }
  1626. set
  1627. {
  1628. if (this._ChristAsSavior != value)
  1629. {
  1630. this.OnChristAsSaviorChanging(value);
  1631. this.SendPropertyChanging();
  1632. this._ChristAsSavior = value;
  1633. this.SendPropertyChanged("ChristAsSavior");
  1634. this.OnChristAsSaviorChanged();
  1635. }
  1636. }
  1637. }
  1638. [Column(Name="MemberAnyChurch", UpdateCheck=UpdateCheck.Never, Storage="_MemberAnyChurch", DbType="bit")]
  1639. public bool? MemberAnyChurch
  1640. {
  1641. get { return this._MemberAnyChurch; }
  1642. set
  1643. {
  1644. if (this._MemberAnyChurch != value)
  1645. {
  1646. this.OnMemberAnyChurchChanging(value);
  1647. this.SendPropertyChanging();
  1648. this._MemberAnyChurch = value;
  1649. this.SendPropertyChanged("MemberAnyChurch");
  1650. this.OnMemberAnyChurchChanged();
  1651. }
  1652. }
  1653. }
  1654. [Column(Name="InterestedInJoining", UpdateCheck=UpdateCheck.Never, Storage="_InterestedInJoining", DbType="bit NOT NULL")]
  1655. public bool InterestedInJoining
  1656. {
  1657. get { return this._InterestedInJoining; }
  1658. set
  1659. {
  1660. if (this._InterestedInJoining != value)
  1661. {
  1662. this.OnInterestedInJoiningChanging(value);
  1663. this.SendPropertyChanging();
  1664. this._InterestedInJoining = value;
  1665. this.SendPropertyChanged("InterestedInJoining");
  1666. this.OnInterestedInJoiningChanged();
  1667. }
  1668. }
  1669. }
  1670. [Column(Name="PleaseVisit", UpdateCheck=UpdateCheck.Never, Storage="_PleaseVisit", DbType="bit NOT NULL")]
  1671. public bool PleaseVisit
  1672. {
  1673. get { return this._PleaseVisit; }
  1674. set
  1675. {
  1676. if (this._PleaseVisit != value)
  1677. {
  1678. this.OnPleaseVisitChanging(value);
  1679. this.SendPropertyChanging();
  1680. this._PleaseVisit = value;
  1681. this.SendPropertyChanged("PleaseVisit");
  1682. this.OnPleaseVisitChanged();
  1683. }
  1684. }
  1685. }
  1686. [Column(Name="InfoBecomeAChristian", UpdateCheck=UpdateCheck.Never, Storage="_InfoBecomeAChristian", DbType="bit NOT NULL")]
  1687. public bool InfoBecomeAChristian
  1688. {
  1689. get { return this._InfoBecomeAChristian; }
  1690. set
  1691. {
  1692. if (this._InfoBecomeAChristian != value)
  1693. {
  1694. this.OnInfoBecomeAChristianChanging(value);
  1695. this.SendPropertyChanging();
  1696. this._InfoBecomeAChristian = value;
  1697. this.SendPropertyChanged("InfoBecomeAChristian");
  1698. this.OnInfoBecomeAChristianChanged();
  1699. }
  1700. }
  1701. }
  1702. [Column(Name="ContributionsStatement", UpdateCheck=UpdateCheck.Never, Storage="_ContributionsStatement", DbType="bit NOT NULL")]
  1703. public bool ContributionsStatement
  1704. {
  1705. get { return this._ContributionsStatement; }
  1706. set
  1707. {
  1708. if (this._ContributionsStatement != value)
  1709. {
  1710. this.OnContributionsStatementChanging(value);
  1711. this.SendPropertyChanging();
  1712. this._ContributionsStatement = value;
  1713. this.SendPropertyChanged("ContributionsStatement");
  1714. this.OnContributionsStatementChanged();
  1715. }
  1716. }
  1717. }
  1718. [Column(Name="ModifiedBy", UpdateCheck=UpdateCheck.Never, Storage="_ModifiedBy", DbType="int")]
  1719. public int? ModifiedBy
  1720. {
  1721. get { return this._ModifiedBy; }
  1722. set
  1723. {
  1724. if (this._ModifiedBy != value)
  1725. {
  1726. this.OnModifiedByChanging(value);
  1727. this.SendPropertyChanging();
  1728. this._ModifiedBy = value;
  1729. this.SendPropertyChanged("ModifiedBy");
  1730. this.OnModifiedByChanged();
  1731. }
  1732. }
  1733. }
  1734. [Column(Name="ModifiedDate", UpdateCheck=UpdateCheck.Never, Storage="_ModifiedDate", DbType="datetime")]
  1735. public DateTime? ModifiedDate
  1736. {
  1737. get { return this._ModifiedDate; }
  1738. set
  1739. {
  1740. if (this._ModifiedDate != value)
  1741. {
  1742. this.OnModifiedDateChanging(value);
  1743. this.SendPropertyChanging();
  1744. this._ModifiedDate = value;
  1745. this.SendPropertyChanged("ModifiedDate");
  1746. this.OnModifiedDateChanged();
  1747. }
  1748. }
  1749. }
  1750. [Column(Name="PictureId", UpdateCheck=UpdateCheck.Never, Storage="_PictureId", DbType="int")]
  1751. public int? PictureId
  1752. {
  1753. get { return this._PictureId; }
  1754. set
  1755. {
  1756. if (this._PictureId != value)
  1757. {
  1758. if (this._Picture.HasLoadedOrAssignedValue)
  1759. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  1760. this.OnPictureIdChanging(value);
  1761. this.SendPropertyChanging();
  1762. this._PictureId = value;
  1763. this.SendPropertyChanged("PictureId");
  1764. this.OnPictureIdChanged();
  1765. }
  1766. }
  1767. }
  1768. [Column(Name="ContributionOptionsId", UpdateCheck=UpdateCheck.Never, Storage="_ContributionOptionsId", DbType="int")]
  1769. public int? ContributionOptionsId
  1770. {
  1771. get { return this._ContributionOptionsId; }
  1772. set
  1773. {
  1774. if (this._ContributionOptionsId != value)
  1775. {
  1776. if (this._ContributionStatementOption.HasLoadedOrAssignedValue)
  1777. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  1778. this.OnContributionOptionsIdChanging(value);
  1779. this.SendPropertyChanging();
  1780. this._ContributionOptionsId = value;
  1781. this.SendPropertyChanged("ContributionOptionsId");
  1782. this.OnContributionOptionsIdChanged();
  1783. }
  1784. }
  1785. }
  1786. [Column(Name="PrimaryCity", UpdateCheck=UpdateCheck.Never, Storage="_PrimaryCity", DbType="varchar(30)")]
  1787. public string PrimaryCity
  1788. {
  1789. get { return this._PrimaryCity; }
  1790. set
  1791. {
  1792. if (this._PrimaryCity != value)
  1793. {
  1794. this.OnPrimaryCityChanging(value);
  1795. this.SendPropertyChanging();
  1796. this._PrimaryCity = value;
  1797. this.SendPropertyChanged("PrimaryCity");
  1798. this.OnPrimaryCityChanged();
  1799. }
  1800. }
  1801. }
  1802. [Column(Name="PrimaryZip", UpdateCheck=UpdateCheck.Never, Storage="_PrimaryZip", DbType="varchar(15)")]
  1803. public string PrimaryZip
  1804. {
  1805. get { return this._PrimaryZip; }
  1806. set
  1807. {
  1808. if (this._PrimaryZip != value)
  1809. {
  1810. this.OnPrimaryZipChanging(value);
  1811. this.SendPropertyChanging();
  1812. this._PrimaryZip = value;
  1813. this.SendPropertyChanged("PrimaryZip");
  1814. this.OnPrimaryZipChanged();
  1815. }
  1816. }
  1817. }
  1818. [Column(Name="PrimaryAddress", UpdateCheck=UpdateCheck.Never, Storage="_PrimaryAddress", DbType="varchar(100)")]
  1819. public string PrimaryAddress
  1820. {
  1821. get { return this._PrimaryAddress; }
  1822. set
  1823. {
  1824. if (this._PrimaryAddress != value)
  1825. {
  1826. this.OnPrimaryAddressChanging(value);
  1827. this.SendPropertyChanging();
  1828. this._PrimaryAddress = value;
  1829. this.SendPropertyChanged("PrimaryAddress");
  1830. this.OnPrimaryAddressChanged();
  1831. }
  1832. }
  1833. }
  1834. [Column(Name="PrimaryState", UpdateCheck=UpdateCheck.Never, Storage="_PrimaryState", DbType="varchar(20)")]
  1835. public string PrimaryState
  1836. {
  1837. get { return this._PrimaryState; }
  1838. set
  1839. {
  1840. if (this._PrimaryState != value)
  1841. {
  1842. this.OnPrimaryStateChanging(value);
  1843. this.SendPropertyChanging();
  1844. this._PrimaryState = value;
  1845. this.SendPropertyChanged("PrimaryState");
  1846. this.OnPrimaryStateChanged();
  1847. }
  1848. }
  1849. }
  1850. [Column(Name="HomePhone", UpdateCheck=UpdateCheck.Never, Storage="_HomePhone", DbType="varchar(20)")]
  1851. public string HomePhone
  1852. {
  1853. get { return this._HomePhone; }
  1854. set
  1855. {
  1856. if (this._HomePhone != value)
  1857. {
  1858. this.OnHomePhoneChanging(value);
  1859. this.SendPropertyChanging();
  1860. this._HomePhone = value;
  1861. this.SendPropertyChanged("HomePhone");
  1862. this.OnHomePhoneChanged();
  1863. }
  1864. }
  1865. }
  1866. [Column(Name="SpouseId", UpdateCheck=UpdateCheck.Never, Storage="_SpouseId", DbType="int")]
  1867. public int? SpouseId
  1868. {
  1869. get { return this._SpouseId; }
  1870. set
  1871. {
  1872. if (this._SpouseId != value)
  1873. {
  1874. this.OnSpouseIdChanging(value);
  1875. this.SendPropertyChanging();
  1876. this._SpouseId = value;
  1877. this.SendPropertyChanged("SpouseId");
  1878. this.OnSpouseIdChanged();
  1879. }
  1880. }
  1881. }
  1882. [Column(Name="PrimaryAddress2", UpdateCheck=UpdateCheck.Never, Storage="_PrimaryAddress2", DbType="varchar(100)")]
  1883. public string PrimaryAddress2
  1884. {
  1885. get { return this._PrimaryAddress2; }
  1886. set
  1887. {
  1888. if (this._PrimaryAddress2 != value)
  1889. {
  1890. this.OnPrimaryAddress2Changing(value);
  1891. this.SendPropertyChanging();
  1892. this._PrimaryAddress2 = value;
  1893. this.SendPropertyChanged("PrimaryAddress2");
  1894. this.OnPrimaryAddress2Changed();
  1895. }
  1896. }
  1897. }
  1898. [Column(Name="PrimaryResCode", UpdateCheck=UpdateCheck.Never, Storage="_PrimaryResCode", DbType="int")]
  1899. public int? PrimaryResCode
  1900. {
  1901. get { return this._PrimaryResCode; }
  1902. set
  1903. {
  1904. if (this._PrimaryResCode != value)
  1905. {
  1906. this.OnPrimaryResCodeChanging(value);
  1907. this.SendPropertyChanging();
  1908. this._PrimaryResCode = value;
  1909. this.SendPropertyChanged("PrimaryResCode");
  1910. this.OnPrimaryResCodeChanged();
  1911. }
  1912. }
  1913. }
  1914. [Column(Name="PrimaryBadAddrFlag", UpdateCheck=UpdateCheck.Never, Storage="_PrimaryBadAddrFlag", DbType="int")]
  1915. public int? PrimaryBadAddrFlag
  1916. {
  1917. get { return this._PrimaryBadAddrFlag; }
  1918. set
  1919. {
  1920. if (this._PrimaryBadAddrFlag != value)
  1921. {
  1922. this.OnPrimaryBadAddrFlagChanging(value);
  1923. this.SendPropertyChanging();
  1924. this._PrimaryBadAddrFlag = value;
  1925. this.SendPropertyChanged("PrimaryBadAddrFlag");
  1926. this.OnPrimaryBadAddrFlagChanged();
  1927. }
  1928. }
  1929. }
  1930. [Column(Name="LastContact", UpdateCheck=UpdateCheck.Never, Storage="_LastContact", DbType="datetime")]
  1931. public DateTime? LastContact
  1932. {
  1933. get { return this._LastContact; }
  1934. set
  1935. {
  1936. if (this._LastContact != value)
  1937. {
  1938. this.OnLastContactChanging(value);
  1939. this.SendPropertyChanging();
  1940. this._LastContact = value;
  1941. this.SendPropertyChanged("LastContact");
  1942. this.OnLastContactChanged();
  1943. }
  1944. }
  1945. }
  1946. [Column(Name="Grade", UpdateCheck=UpdateCheck.Never, Storage="_Grade", DbType="int")]
  1947. public int? Grade
  1948. {
  1949. get { return this._Grade; }
  1950. set
  1951. {
  1952. if (this._Grade != value)
  1953. {
  1954. this.OnGradeChanging(value);
  1955. this.SendPropertyChanging();
  1956. this._Grade = value;
  1957. this.SendPropertyChanged("Grade");
  1958. this.OnGradeChanged();
  1959. }
  1960. }
  1961. }
  1962. [Column(Name="CellPhoneLU", UpdateCheck=UpdateCheck.Never, Storage="_CellPhoneLU", DbType="char(7)")]
  1963. public string CellPhoneLU
  1964. {
  1965. get { return this._CellPhoneLU; }
  1966. set
  1967. {
  1968. if (this._CellPhoneLU != value)
  1969. {
  1970. this.OnCellPhoneLUChanging(value);
  1971. this.SendPropertyChanging();
  1972. this._CellPhoneLU = value;
  1973. this.SendPropertyChanged("CellPhoneLU");
  1974. this.OnCellPhoneLUChanged();
  1975. }
  1976. }
  1977. }
  1978. [Column(Name="WorkPhoneLU", UpdateCheck=UpdateCheck.Never, Storage="_WorkPhoneLU", DbType="char(7)")]
  1979. public string WorkPhoneLU
  1980. {
  1981. get { return this._WorkPhoneLU; }
  1982. set
  1983. {
  1984. if (this._WorkPhoneLU != value)
  1985. {
  1986. this.OnWorkPhoneLUChanging(value);
  1987. this.SendPropertyChanging();
  1988. this._WorkPhoneLU = value;
  1989. this.SendPropertyChanged("WorkPhoneLU");
  1990. this.OnWorkPhoneLUChanged();
  1991. }
  1992. }
  1993. }
  1994. [Column(Name="BibleFellowshipClassId", UpdateCheck=UpdateCheck.Never, Storage="_BibleFellowshipClassId", DbType="int")]
  1995. public int? BibleFellowshipClassId
  1996. {
  1997. get { return this._BibleFellowshipClassId; }
  1998. set
  1999. {
  2000. if (this._BibleFellowshipClassId != value)
  2001. {
  2002. if (this._BFClass.HasLoadedOrAssignedValue)
  2003. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  2004. this.OnBibleFellowshipClassIdChanging(value);
  2005. this.SendPropertyChanging();
  2006. this._BibleFellowshipClassId = value;
  2007. this.SendPropertyChanged("BibleFellowshipClassId");
  2008. this.OnBibleFellowshipClassIdChanged();
  2009. }
  2010. }
  2011. }
  2012. [Column(Name="CampusId", UpdateCheck=UpdateCheck.Never, Storage="_CampusId", DbType="int")]
  2013. public int? CampusId
  2014. {
  2015. get { return this._CampusId; }
  2016. set
  2017. {
  2018. if (this._CampusId != value)
  2019. {
  2020. if (this._Campu.HasLoadedOrAssignedValue)
  2021. throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
  2022. this.OnCampusIdChanging(value);
  2023. this.SendPropertyChanging();
  2024. this._CampusId = value;
  2025. this.SendPropertyChanged("CampusId");
  2026. this.OnCampusIdChanged();
  2027. }
  2028. }
  2029. }
  2030. [Column(Name="CellPhoneAC", UpdateCheck=UpdateCheck.Never, Storage="_CellPhoneAC", DbType="char(3)")]
  2031. public string CellPhoneAC
  2032. {
  2033. get { return this._CellPhoneAC; }
  2034. set
  2035. {
  2036. if (this._CellPhoneAC != value)
  2037. {
  2038. this.OnCellPhoneACChanging(value);
  2039. this.SendPropertyChanging();
  2040. this._CellPhoneAC = value;
  2041. this.SendPropertyChanged("CellPhoneAC");
  2042. this.OnCellPhoneACChanged();
  2043. }
  2044. }
  2045. }
  2046. [Column(Name="CheckInNotes", UpdateCheck=UpdateCheck.Never, Storage="_CheckInNotes", DbType="varchar(1000)")]
  2047. public string CheckInNotes
  2048. {
  2049. get { return this._CheckInNotes; }
  2050. set
  2051. {
  2052. if (this._CheckInNotes != value)
  2053. {
  2054. this.OnCheckInNotesChanging(value);
  2055. this.SendPropertyChanging();
  2056. this._CheckInNotes = value;
  2057. this.SendPropertyChanged("CheckInNotes");
  2058. this.OnCheckInNotesChanged();
  2059. }
  2060. }
  2061. }
  2062. [Column(Name="Age", UpdateCheck=UpdateCheck.Never, Storage="_Age", DbType="int", IsDbGenerated=true)]
  2063. public int? Age
  2064. {
  2065. get { return this._Age; }
  2066. set
  2067. {
  2068. if (this._Age != value)
  2069. {
  2070. this.OnAgeChanging(value);
  2071. this.SendPropertyChanging();
  2072. this._Age = value;
  2073. this.SendPropertyChanged("Age");
  2074. this.OnAgeChanged();
  2075. }
  2076. }
  2077. }
  2078. [Column(Name="AltName", UpdateCheck=UpdateCheck.Never, Storage="_AltName", DbType="nvarchar(100)")]
  2079. public string AltName
  2080. {
  2081. get { return this._AltName; }
  2082. set
  2083. {
  2084. if (this._AltName != value)
  2085. {
  2086. this.OnAltNameChanging(value);
  2087. this.SendPropertyChanging();
  2088. this._AltName = value;
  2089. this.SendPropertyChanged("AltName");
  2090. this.OnAltNameChanged();
  2091. }
  2092. }
  2093. }
  2094. [Column(Name="CustodyIssue", UpdateCheck=UpdateCheck.Never, Storage="_CustodyIssue", DbType="bit")]
  2095. public bool? CustodyIssue
  2096. {
  2097. get { return this._CustodyIssue; }
  2098. set
  2099. {
  2100. if (this._CustodyIssue != value)
  2101. {
  2102. this.OnCustodyIssueChanging(value);
  2103. this.SendPropertyChanging();
  2104. this._CustodyIssue = value;
  2105. this.SendPropertyChanged("CustodyIssue");
  2106. this.OnCustodyIssueChanged();
  2107. }
  2108. }
  2109. }
  2110. [Column(Name="OkTransport", UpdateCheck=UpdateCheck.Never, Storage="_OkTransport", DbType="bit")]
  2111. public bool? OkTransport
  2112. {
  2113. get { return this._OkTransport; }
  2114. set
  2115. {
  2116. if (this._OkTransport != value)
  2117. {
  2118. this.OnOkTransportChanging(value);
  2119. this.SendPropertyChanging();
  2120. this._OkTransport = value;
  2121. this.SendPropertyChanged("OkTransport");
  2122. this.OnOkTransportChanged();
  2123. }
  2124. }
  2125. }
  2126. [Column(Name="BDate", UpdateCheck=UpdateCheck.Never, Storage="_BDate", DbType="datetime", IsDbGenerated=true)]
  2127. public DateTime? BDate
  2128. {
  2129. get { return this._BDate; }
  2130. set
  2131. {
  2132. if (this._BDate != value)
  2133. {
  2134. this.OnBDateChanging(value);
  2135. this.SendPropertyChanging();
  2136. this._BDate = value;
  2137. this.SendPropertyChanged("BDate");
  2138. this.OnBDateChanged();
  2139. }
  2140. }
  2141. }
  2142. [Column(Name="HasDuplicates", UpdateCheck=UpdateCheck.Never, Storage="_HasDuplicates", DbType="bit")]
  2143. public bool? HasDuplicates
  2144. {
  2145. get { return this._HasDuplicates; }
  2146. set
  2147. {
  2148. if (this._HasDuplicates != value)
  2149. {
  2150. this.OnHasDuplicatesChanging(value);
  2151. this.SendPropertyChanging();
  2152. this._HasDuplicates = value;
  2153. this.SendPropertyChanged("HasDuplicates");
  2154. this.OnHasDuplicatesChanged();
  2155. }
  2156. }
  2157. }
  2158. [Column(Name="FirstName2", UpdateCheck=UpdateCheck.Never, Storage="_FirstName2", DbType="varchar(50)")]
  2159. public string FirstName2
  2160. {
  2161. get { return this._FirstName2; }
  2162. set
  2163. {
  2164. if (this._FirstName2 != value)
  2165. {
  2166. this.OnFirstName2Changing(value);
  2167. this.SendPropertyChanging();
  2168. this._FirstName2 = value;
  2169. this.SendPropertyChanged("FirstName2");
  2170. this.OnFirstName2Changed();
  2171. }
  2172. }
  2173. }
  2174. [Column(Name="EmailAddress2", UpdateCheck=UpdateCheck.Never, Storage="_EmailAddress2", DbType="varchar(60)")]
  2175. public string EmailAddress2
  2176. {
  2177. get { return this._EmailAddress2; }
  2178. set
  2179. {
  2180. if (this._EmailAddress2 != value)
  2181. {
  2182. this.OnEmailAddress2Changing(value);
  2183. this.SendPropertyChanging();
  2184. this._EmailAddress2 = value;
  2185. this.SendPropertyChanged("EmailAddress2");
  2186. this.OnEmailAddress2Changed();
  2187. }
  2188. }
  2189. }
  2190. [Column(Name="SendEmailAddress1", UpdateCheck=UpdateCheck.Never, Storage="_SendEmailAddress1", DbType="bit")]
  2191. public bool? SendEmailAddress1
  2192. {
  2193. get { return this._SendEmailAddress1; }
  2194. set
  2195. {
  2196. if (this._SendEmailAddress1 != value)
  2197. {
  2198. this.OnSendEmailAddress1Changing(value);
  2199. this.SendPropertyChanging();
  2200. this._SendEmailAddress1 = value;
  2201. this.SendPropertyChanged("SendEmailAddress1");
  2202. this.OnSendEmailAddress1Changed();
  2203. }
  2204. }
  2205. }
  2206. [Column(Name="SendEmailAddress2", UpdateCheck=UpdateCheck.Never, Storage="_SendEmailAddress2", DbType="bit")]
  2207. public bool? SendEmailAddress2
  2208. {
  2209. get { return this._SendEmailAddress2; }
  2210. set
  2211. {
  2212. if (this._SendEmailAddress2 != value)
  2213. {
  2214. this.OnSendEmailAddress2Changing(value);
  2215. this.SendPropertyChanging();
  2216. this._SendEmailAddress2 = value;
  2217. this.SendPropertyChanged("SendEmailAddress2");
  2218. this.OnSendEmailAddress2Changed();
  2219. }
  2220. }
  2221. }
  2222. [Column(Name="HashNum", UpdateCheck=UpdateCheck.Never, Storage="_HashNum", DbType="int", IsDbGenerated=true)]
  2223. public int? HashNum
  2224. {
  2225. get { return this._HashNum; }
  2226. set
  2227. {
  2228. if (this._HashNum != value)
  2229. {
  2230. this.OnHashNumChanging(value);
  2231. this.SendPropertyChanging();
  2232. this._HashNum = value;
  2233. this.SendPropertyChanged("HashNum");
  2234. this.OnHashNumChanged();
  2235. }
  2236. }
  2237. }
  2238. [Column(Name="NewMemberClassDate", UpdateCheck=UpdateCheck.Never, Storage="_NewMemberClassDate", DbType="datetime")]
  2239. public DateTime? NewMemberClassDate
  2240. {
  2241. get { return this._NewMemberClassDate; }
  2242. set
  2243. {
  2244. if (this._NewMemberClassDate != value)
  2245. {
  2246. this.OnNewMemberClassDateChanging(value);
  2247. this.SendPropertyChanging();
  2248. this._NewMemberClassDate = value;
  2249. this.SendPropertyChanged("NewMemberClassDate");
  2250. this.OnNewMemberClassDateChanged();
  2251. }
  2252. }
  2253. }
  2254. [Column(Name="Name", UpdateCheck=UpdateCheck.Never, Storage="_Name", DbType="varchar(126)", IsDbGenerated=true)]
  2255. public string Name
  2256. {
  2257. get { return this._Name; }
  2258. set
  2259. {
  2260. if (this._Name != value)
  2261. {
  2262. this.OnNameChanging(value);
  2263. this.SendPropertyChanging();
  2264. this._Name = value;
  2265. this.SendPropertyChanged("Name");
  2266. this.OnNameChanged();
  2267. }
  2268. }
  2269. }
  2270. [Column(Name="PreferredName", UpdateCheck=UpdateCheck.Never, Storage="_PreferredName", DbType="varchar(25)", IsDbGenerated=true)]
  2271. public string PreferredName
  2272. {
  2273. get { return this._PreferredName; }
  2274. set
  2275. {
  2276. if (this._PreferredName != value)
  2277. {
  2278. this.OnPreferredNameChanging(value);
  2279. this.SendPropertyChanging();
  2280. this._PreferredName = value;
  2281. this.SendPropertyChanged("PreferredName");
  2282. this.OnPreferredNameChanged();
  2283. }
  2284. }
  2285. }
  2286. [Column(Name="PrimaryCountry", UpdateCheck=UpdateCheck.Never, Storage="_PrimaryCountry", DbType="varchar(30)")]
  2287. public string PrimaryCountry
  2288. {
  2289. get { return this._PrimaryCountry; }
  2290. set
  2291. {
  2292. if (this._PrimaryCountry != value)
  2293. {
  2294. this.OnPrimaryCountryChanging(value);
  2295. this.SendPropertyChanging();
  2296. this._PrimaryCountry = value;
  2297. this.SendPropertyChanged("PrimaryCountry");
  2298. this.OnPrimaryCountryChanged();
  2299. }
  2300. }
  2301. }
  2302. [Column(Name="ReceiveSMS", UpdateCheck=UpdateCheck.Never, Storage="_ReceiveSMS", DbType="bit NOT NULL")]
  2303. public bool ReceiveSMS
  2304. {
  2305. get { return this._ReceiveSMS; }
  2306. set
  2307. {
  2308. if (this._ReceiveSMS != value)
  2309. {
  2310. this.OnReceiveSMSChanging(value);
  2311. this.SendPropertyChanging();
  2312. this._ReceiveSMS = value;
  2313. this.SendPropertyChanged("ReceiveSMS");
  2314. this.OnReceiveSMSChanged();
  2315. }
  2316. }
  2317. }
  2318. [Column(Name="Name2", UpdateCheck=UpdateCheck.Never, Storage="_Name2", DbType="varchar(139)", IsDbGenerated=true)]
  2319. public string Name2
  2320. {
  2321. get { return this._Name2; }
  2322. set
  2323. {
  2324. if (this._Name2 != value)
  2325. {
  2326. this.OnName2Changing(value);
  2327. this.SendPropertyChanging();
  2328. this._Name2 = value;
  2329. this.SendPropertyChanged("Name2");
  2330. this.OnName2Changed();
  2331. }
  2332. }
  2333. }
  2334. [Column(Name="DoNotPublishPhones", UpdateCheck=UpdateCheck.Never, Storage="_DoNotPublishPhones", DbType="bit")]
  2335. public bool? DoNotPublishPhones
  2336. {
  2337. get { return this._DoNotPublishPhones; }
  2338. set
  2339. {
  2340. if (this._DoNotPublishPhones != value)
  2341. {
  2342. this.OnDoNotPublishPhonesChanging(value);
  2343. this.SendPropertyChanging();
  2344. this._DoNotPublishPhones = value;
  2345. this.SendPropertyChanged("DoNotPublishPhones");
  2346. this.OnDoNotPublishPhonesChanged();
  2347. }
  2348. }
  2349. }
  2350. [Column(Name="IsDeceased", UpdateCheck=UpdateCheck.Never, Storage="_IsDeceased", DbType="bit", IsDbGenerated=true)]
  2351. public bool? IsDeceased
  2352. {
  2353. get { return this._IsDeceased; }
  2354. set
  2355. {
  2356. if (this._IsDeceased != value)
  2357. {
  2358. this.OnIsDeceasedChanging(value);
  2359. this.SendPropertyChanging();
  2360. this._IsDeceased = value;
  2361. this.SendPropertyChanged("IsDeceased");
  2362. this.OnIsDeceasedChanged();
  2363. }
  2364. }
  2365. }
  2366. #endregion
  2367. #region Foreign Key Tables
  2368. [Association(Name="contactsHad__person", Storage="_contactsHad", OtherKey="PeopleId")]
  2369. public EntitySet< Contactee> contactsHad
  2370. {
  2371. get { return this._contactsHad; }
  2372. set { this._contactsHad.Assign(value); }
  2373. }
  2374. [Association(Name="contactsMade__person", Storage="_contactsMade", OtherKey="PeopleId")]
  2375. public EntitySet< Contactor> contactsMade
  2376. {
  2377. get { return this._contactsMade; }
  2378. set { this._contactsMade.Assign(value); }
  2379. }
  2380. [Association(Name="ENROLLMENT_TRANSACTION_PPL_FK", Storage="_EnrollmentTransactions", OtherKey="PeopleId")]
  2381. public EntitySet< EnrollmentTransaction> EnrollmentTransactions
  2382. {
  2383. get { return this._EnrollmentTransactions; }
  2384. set { this._EnrollmentTransactions.Assign(value); }
  2385. }
  2386. [Association(Name="FamiliesHeaded__HeadOfHousehold", Storage="_FamiliesHeaded", OtherKey="HeadOfHouseholdId")]
  2387. public EntitySet< Family> FamiliesHeaded
  2388. {
  2389. get { return this._FamiliesHeaded; }
  2390. set { this._FamiliesHeaded.Assign(value); }
  2391. }
  2392. [Association(Name="FamiliesHeaded2__HeadOfHouseholdSpouse", Storage="_FamiliesHeaded2", OtherKey="HeadOfHouseholdSpouseId")]
  2393. public EntitySet< Family> FamiliesHeaded2
  2394. {
  2395. get { return this._FamiliesHeaded2; }
  2396. set { this._FamiliesHeaded2.Assign(value); }
  2397. }
  2398. [Association(Name="FK_ActivityLog_People", Storage="_ActivityLogs", OtherKey="PeopleId")]
  2399. public EntitySet< ActivityLog> ActivityLogs
  2400. {
  2401. get { return this._ActivityLogs; }
  2402. set { this._ActivityLogs.Assign(value); }
  2403. }
  2404. [Association(Name="FK_AttendWithAbsents_TBL_PEOPLE_TBL", Storage="_Attends", OtherKey="PeopleId")]
  2405. public EntitySet< Attend> Attends
  2406. {
  2407. get { return this._Attends; }
  2408. set { this._Attends.Assign(value); }
  2409. }
  2410. [Association(Name="FK_BackgroundChecks_People", Storage="_BackgroundChecks", OtherKey="PeopleID")]
  2411. public EntitySet< BackgroundCheck> BackgroundChecks
  2412. {
  2413. get { return this._BackgroundChecks; }
  2414. set { this._BackgroundChecks.Assign(value); }
  2415. }
  2416. [Association(Name="FK_CardIdentifiers_People", Storage="_CardIdentifiers", OtherKey="PeopleId")]
  2417. public EntitySet< CardIdentifier> CardIdentifiers
  2418. {
  2419. get { return this._CardIdentifiers; }
  2420. set { this._CardIdentifiers.Assign(value); }
  2421. }
  2422. [Association(Name="FK_CheckInTimes_People", Storage="_CheckInTimes", OtherKey="PeopleId")]
  2423. public EntitySet< CheckInTime> CheckInTimes
  2424. {
  2425. get { return this._CheckInTimes; }
  2426. set { this._CheckInTimes.Assign(value); }
  2427. }
  2428. [Association(Name="FK_Contribution_People", Storage="_Contributions", OtherKey="PeopleId")]
  2429. public EntitySet< Contribution> Contributions
  2430. {
  2431. get { return this._Contributions; }
  2432. set { this._Contributions.Assign(value); }
  2433. }
  2434. [Association(Name="FK_Coupons_People", Storage="_Coupons", OtherKey="PeopleId")]
  2435. public EntitySet< Coupon> Coupons
  2436. {
  2437. get { return this._Coupons; }
  2438. set { this._Coupons.Assign(value); }
  2439. }
  2440. [Association(Name="FK_EmailOptOut_People", Storage="_EmailOptOuts", OtherKey="ToPeopleId")]
  2441. public EntitySet< EmailOptOut> EmailOptOuts
  2442. {
  2443. get { return this._EmailOptOuts; }
  2444. set { this._EmailOptOuts.Assign(value); }
  2445. }
  2446. [Association(Name="FK_EmailQueue_People", Storage="_EmailQueues", OtherKey="QueuedBy")]
  2447. public EntitySet< EmailQueue> EmailQueues
  2448. {
  2449. get { return this._EmailQueues; }
  2450. set { this._EmailQueues.Assign(value); }
  2451. }
  2452. [Association(Name="FK_EmailQueueTo_People", Storage="_EmailQueueTos", OtherKey="PeopleId")]
  2453. public EntitySet< EmailQueueTo> EmailQueueTos
  2454. {
  2455. get { return this._EmailQueueTos; }
  2456. set { this._EmailQueueTos.Assign(value); }
  2457. }
  2458. [Association(Name="FK_EmailResponses_People", Storage="_EmailResponses", OtherKey="PeopleId")]
  2459. public EntitySet< EmailResponse> EmailResponses
  2460. {
  2461. get { return this._EmailResponses; }
  2462. set { this._EmailResponses.Assign(value); }
  2463. }
  2464. [Association(Name="FK_ManagedGiving_People", Storage="_ManagedGivings", OtherKey="PeopleId")]
  2465. public EntitySet< ManagedGiving> ManagedGivings
  2466. {
  2467. get { return this._ManagedGivings; }
  2468. set { this._ManagedGivings.Assign(value); }
  2469. }
  2470. [Association(Name="FK_MemberDocForm_PEOPLE_TBL", Storage="_MemberDocForms", OtherKey="PeopleId")]
  2471. public EntitySet< MemberDocForm> MemberDocForms
  2472. {
  2473. get { return this._MemberDocForms; }
  2474. set { this._MemberDocForms.Assign(value); }
  2475. }
  2476. [Association(Name="FK_PaymentInfo_People", Storage="_PaymentInfos", OtherKey="PeopleId")]
  2477. public EntitySet< PaymentInfo> PaymentInfos
  2478. {
  2479. get { return this._PaymentInfos; }
  2480. set { this._PaymentInfos.Assign(value); }
  2481. }
  2482. [Association(Name="FK_PeopleExtra_People", Storage="_PeopleExtras", OtherKey="PeopleId")]
  2483. public EntitySet< PeopleExtra> PeopleExtras
  2484. {
  2485. get { return this._PeopleExtras; }
  2486. set { this._PeopleExtras.Assign(value); }
  2487. }
  2488. [Association(Name="FK_RecReg_People", Storage="_RecRegs", OtherKey="PeopleId")]
  2489. public EntitySet< RecReg> RecRegs
  2490. {
  2491. get { return this._RecRegs; }
  2492. set { this._RecRegs.Assign(value); }
  2493. }
  2494. [Association(Name="FK_RecurringAmounts_People", Storage="_RecurringAmounts", OtherKey="PeopleId")]
  2495. public EntitySet< RecurringAmount> RecurringAmounts
  2496. {
  2497. get { return this._RecurringAmounts; }
  2498. set { this._RecurringAmounts.Assign(value); }
  2499. }
  2500. [Association(Name="FK_SMSItems_People", Storage="_SMSItems", OtherKey="PeopleID")]
  2501. public EntitySet< SMSItem> SMSItems
  2502. {
  2503. get { return this._SMSItems; }
  2504. set { this._SMSItems.Assign(value); }
  2505. }
  2506. [Association(Name="FK_SMSList_People", Storage="_SMSLists", OtherKey="SenderID")]
  2507. public EntitySet< SMSList> SMSLists
  2508. {
  2509. get { return this._SMSLists; }
  2510. set { this._SMSLists.Assign(value); }
  2511. }
  2512. [Association(Name="FK_TagShare_People", Storage="_TagShares", OtherKey="PeopleId")]
  2513. public EntitySet< TagShare> TagShares
  2514. {
  2515. get { return this._TagShares; }
  2516. set { this._TagShares.Assign(value); }
  2517. }
  2518. [Association(Name="FK_TaskListOwners_PEOPLE_TBL", Storage="_TaskListOwners", OtherKey="PeopleId")]
  2519. public EntitySet< TaskListOwner> TaskListOwners
  2520. {
  2521. get { return this._TaskListOwners; }
  2522. set { this._TaskListOwners.Assign(value); }
  2523. }
  2524. [Association(Name="FK_Transaction_People", Storage="_Transactions", OtherKey="LoginPeopleId")]
  2525. public EntitySet< Transaction> Transactions
  2526. {
  2527. get { return this._Transactions; }
  2528. set { this._Transactions.Assign(value); }
  2529. }
  2530. [Association(Name="FK_TransactionPeople_Person", Storage="_TransactionPeople", OtherKey="PeopleId")]
  2531. public EntitySet< TransactionPerson> TransactionPeople
  2532. {
  2533. get { return this._TransactionPeople; }
  2534. set { this._TransactionPeople.Assign(value); }
  2535. }
  2536. [Association(Name="FK_Users_People", Storage="_Users", OtherKey="PeopleId")]
  2537. public EntitySet< User> Users
  2538. {
  2539. get { return this._Users; }
  2540. set { this._Users.Assign(value); }
  2541. }
  2542. [Association(Name="FK_VolInterestInterestCodes_People", Storage="_VolInterestInterestCodes", OtherKey="PeopleId")]
  2543. public EntitySet< VolInterestInterestCode> VolInterestInterestCodes
  2544. {
  2545. get { return this._VolInterestInterestCodes; }
  2546. set { this._VolInterestInterestCodes.Assign(value); }
  2547. }
  2548. [Association(Name="FK_Volunteer_PEOPLE_TBL", Storage="_Volunteers", OtherKey="PeopleId")]
  2549. public EntitySet< Volunteer> Volunteers
  2550. {
  2551. get { return this._Volunteers; }
  2552. set { this._Volunteers.Assign(value); }
  2553. }
  2554. [Association(Name="FK_VolunteerForm_PEOPLE_TBL", Storage="_VolunteerForms", OtherKey="PeopleId")]
  2555. public EntitySet< VolunteerForm> VolunteerForms
  2556. {
  2557. get { return this._VolunteerForms; }
  2558. set { this._VolunteerForms.Assign(value); }
  2559. }
  2560. [Association(Name="FK_VoluteerApprovalIds_People", Storage="_VoluteerApprovalIds", OtherKey="PeopleId")]
  2561. public EntitySet< VoluteerApprovalId> VoluteerApprovalIds
  2562. {
  2563. get { return this._VoluteerApprovalIds; }
  2564. set { this._VoluteerApprovalIds.Assign(value); }
  2565. }
  2566. [Association(Name="ORGANIZATION_MEMBERS_PPL_FK", Storage="_OrganizationMembers", OtherKey="PeopleId")]
  2567. public EntitySet< OrganizationMember> OrganizationMembers
  2568. {
  2569. get { return this._OrganizationMembers; }
  2570. set { this._OrganizationMembers.Assign(value); }
  2571. }
  2572. [Association(Name="People__User", Storage="_People", OtherKey="UserID")]
  2573. public EntitySet< BackgroundCheck> People
  2574. {
  2575. get { return this._People; }
  2576. set { this._People.Assign(value); }
  2577. }
  2578. [Association(Name="SubRequests__Requestor", Storage="_SubRequests", OtherKey="RequestorId")]
  2579. public EntitySet< SubRequest> SubRequests
  2580. {
  2581. get { return this._SubRequests; }
  2582. set { this._SubRequests.Assign(value); }
  2583. }
  2584. [Association(Name="SubResponses__Substitute", Storage="_SubResponses", OtherKey="SubstituteId")]
  2585. public EntitySet< SubRequest> SubResponses
  2586. {
  2587. get { return this._SubResponses; }
  2588. set { this._SubResponses.Assign(value); }
  2589. }
  2590. [Association(Name="Tags__Person", Storage="_Tags", OtherKey="PeopleId")]
  2591. public EntitySet< TagPerson> Tags
  2592. {
  2593. get { return this._Tags; }
  2594. set { this._Tags.Assign(value); }
  2595. }
  2596. [Association(Name="TagsOwned__PersonOwner", Storage="_TagsOwned", OtherKey="PeopleId")]
  2597. public EntitySet< Tag> TagsOwned
  2598. {
  2599. get { return this._TagsOwned; }
  2600. set { this._TagsOwned.Assign(value); }
  2601. }
  2602. [Association(Name="Tasks__Owner", Storage="_Tasks", OtherKey="OwnerId")]
  2603. public EntitySet< Task> Tasks
  2604. {
  2605. get { return this._Tasks; }
  2606. set { this._Tasks.Assign(value); }
  2607. }
  2608. [Association(Name="TasksAboutPerson__AboutWho", Storage="_TasksAboutPerson", OtherKey="WhoId")]
  2609. public EntitySet< Task> TasksAboutPerson
  2610. {
  2611. get { return this._TasksAboutPerson; }
  2612. set { this._TasksAboutPerson.Assign(value); }
  2613. }
  2614. [Association(Name="TasksCoOwned__CoOwner", Storage="_TasksCoOwned", OtherKey="CoOwnerId")]
  2615. public EntitySet< Task> TasksCoOwned
  2616. {
  2617. get { return this._TasksCoOwned; }
  2618. set { this._TasksCoOwned.Assign(value); }
  2619. }
  2620. [Association(Name="VolRequests__Requestor", Storage="_VolRequests", OtherKey="RequestorId")]
  2621. public EntitySet< VolRequest> VolRequests
  2622. {
  2623. get { return this._VolRequests; }
  2624. set { this._VolRequests.Assign(value); }
  2625. }
  2626. [Association(Name="VolResponses__Volunteer", Storage="_VolResponses", OtherKey="VolunteerId")]
  2627. public EntitySet< VolRequest> VolResponses
  2628. {
  2629. get { return this._VolResponses; }
  2630. set { this._VolResponses.Assign(value); }
  2631. }
  2632. #endregion
  2633. #region Foreign Keys
  2634. [Association(Name="BFMembers__BFClass", Storage="_BFClass", ThisKey="BibleFellowshipClassId", IsForeignKey=true)]
  2635. public Organization BFClass
  2636. {
  2637. get { return this._BFClass.Entity; }
  2638. set
  2639. {
  2640. Organization previousValue = this._BFClass.Entity;
  2641. if (((previousValue != value)
  2642. || (this._BFClass.HasLoadedOrAssignedValue == false)))
  2643. {
  2644. this.SendPropertyChanging();
  2645. if (previousValue != null)
  2646. {
  2647. this._BFClass.Entity = null;
  2648. previousValue.BFMembers.Remove(this);
  2649. }
  2650. this._BFClass.Entity = value;
  2651. if (value != null)
  2652. {
  2653. value.BFMembers.Add(this);
  2654. this._BibleFellowshipClassId = value.OrganizationId;
  2655. }
  2656. else
  2657. {
  2658. this._BibleFellowshipClassId = default(int?);
  2659. }
  2660. this.SendPropertyChanged("BFClass");
  2661. }
  2662. }
  2663. }
  2664. [Association(Name="EnvPeople__EnvelopeOption", Storage="_EnvelopeOption", ThisKey="EnvelopeOptionsId", IsForeignKey=true)]
  2665. public EnvelopeOption EnvelopeOption
  2666. {
  2667. get { return this._EnvelopeOption.Entity; }
  2668. set
  2669. {
  2670. EnvelopeOption previousValue = this._EnvelopeOption.Entity;
  2671. if (((previousValue != value)
  2672. || (this._EnvelopeOption.HasLoadedOrAssignedValue == false)))
  2673. {
  2674. this.SendPropertyChanging();
  2675. if (previousValue != null)
  2676. {
  2677. this._EnvelopeOption.Entity = null;
  2678. previousValue.EnvPeople.Remove(this);
  2679. }
  2680. this._EnvelopeOption.Entity = value;
  2681. if (value != null)
  2682. {
  2683. value.EnvPeople.Add(this);
  2684. this._EnvelopeOptionsId = value.Id;
  2685. }
  2686. else
  2687. {
  2688. this._EnvelopeOptionsId = default(int?);
  2689. }
  2690. this.SendPropertyChanged("EnvelopeOption");
  2691. }
  2692. }
  2693. }
  2694. [Association(Name="FK_People_BaptismStatus", Storage="_BaptismStatus", ThisKey="BaptismStatusId", IsForeignKey=true)]
  2695. public BaptismStatus BaptismStatus
  2696. {
  2697. get { return this._BaptismStatus.Entity; }
  2698. set
  2699. {
  2700. BaptismStatus previousValue = this._BaptismStatus.Entity;
  2701. if (((previousValue != value)
  2702. || (this._BaptismStatus.HasLoadedOrAssignedValue == false)))
  2703. {
  2704. this.SendPropertyChanging();
  2705. if (previousValue != null)
  2706. {
  2707. this._BaptismStatus.Entity = null;
  2708. previousValue.People.Remove(this);
  2709. }
  2710. this._BaptismStatus.Entity = value;
  2711. if (value != null)
  2712. {
  2713. value.People.Add(this);
  2714. this._BaptismStatusId = value.Id;
  2715. }
  2716. else
  2717. {
  2718. this._BaptismStatusId = default(int?);
  2719. }
  2720. this.SendPropertyChanged("BaptismStatus");
  2721. }
  2722. }
  2723. }
  2724. [Association(Name="FK_People_BaptismType", Storage="_BaptismType", ThisKey="BaptismTypeId", IsForeignKey=true)]
  2725. public BaptismType BaptismType
  2726. {
  2727. get { return this._BaptismType.Entity; }
  2728. set
  2729. {
  2730. BaptismType previousValue = this._BaptismType.Entity;
  2731. if (((previousValue != value)
  2732. || (this._BaptismType.HasLoadedOrAssignedValue == false)))
  2733. {
  2734. this.SendPropertyChanging();
  2735. if (previousValue != null)
  2736. {
  2737. this._BaptismType.Entity = null;
  2738. previousValue.People.Remove(this);
  2739. }
  2740. this._BaptismType.Entity = value;
  2741. if (value != null)
  2742. {
  2743. value.People.Add(this);
  2744. this._BaptismTypeId = value.Id;
  2745. }
  2746. else
  2747. {
  2748. this._BaptismTypeId = default(int?);
  2749. }
  2750. this.SendPropertyChanged("BaptismType");
  2751. }
  2752. }
  2753. }
  2754. [Association(Name="FK_People_Campus", Storage="_Campu", ThisKey="CampusId", IsForeignKey=true)]
  2755. public Campu Campu
  2756. {
  2757. get { return this._Campu.Entity; }
  2758. set
  2759. {
  2760. Campu previousValue = this._Campu.Entity;
  2761. if (((previousValue != value)
  2762. || (this._Campu.HasLoadedOrAssignedValue == false)))
  2763. {
  2764. this.SendPropertyChanging();
  2765. if (previousValue != null)
  2766. {
  2767. this._Campu.Entity = null;
  2768. previousValue.People.Remove(this);
  2769. }
  2770. this._Campu.Entity = value;
  2771. if (value != null)
  2772. {
  2773. value.People.Add(this);
  2774. this._CampusId = value.Id;
  2775. }
  2776. else
  2777. {
  2778. this._CampusId = default(int?);
  2779. }
  2780. this.SendPropertyChanged("Campu");
  2781. }
  2782. }
  2783. }
  2784. [Association(Name="FK_People_DecisionType", Storage="_DecisionType", ThisKey="DecisionTypeId", IsForeignKey=true)]
  2785. public DecisionType DecisionType
  2786. {
  2787. get { return this._DecisionType.Entity; }
  2788. set
  2789. {
  2790. DecisionType previousValue = this._DecisionType.Entity;
  2791. if (((previousValue != value)
  2792. || (this._DecisionType.HasLoadedOrAssignedValue == false)))
  2793. {
  2794. this.SendPropertyChanging();
  2795. if (previousValue != null)
  2796. {
  2797. this._DecisionType.Entity = null;
  2798. previousValue.People.Remove(this);
  2799. }
  2800. this._DecisionType.Entity = value;
  2801. if (value != null)
  2802. {
  2803. value.People.Add(this);
  2804. this._DecisionTypeId = value.Id;
  2805. }
  2806. else
  2807. {
  2808. this._DecisionTypeId = default(int?);
  2809. }
  2810. this.SendPropertyChanged("DecisionType");
  2811. }
  2812. }
  2813. }
  2814. [Association(Name="FK_People_DiscoveryClassStatus", Storage="_NewMemberClassStatus", ThisKey="NewMemberClassStatusId", IsForeignKey=true)]
  2815. public NewMemberClassStatus NewMemberClassStatus
  2816. {
  2817. get { return this._NewMemberClassStatus.Entity; }
  2818. set
  2819. {
  2820. NewMemberClassStatus previousValue = this._NewMemberClassStatus.Entity;
  2821. if (((previousValue != value)
  2822. || (this._NewMemberClassStatus.HasLoadedOrAssignedValue == false)))
  2823. {
  2824. this.SendPropertyChanging();
  2825. if (previousValue != null)
  2826. {
  2827. this._NewMemberClassStatus.Entity = null;
  2828. previousValue.People.Remove(this);
  2829. }
  2830. this._NewMemberClassStatus.Entity = value;
  2831. if (value != null)
  2832. {
  2833. value.People.Add(this);
  2834. this._NewMemberClassStatusId = value.Id;
  2835. }
  2836. else
  2837. {
  2838. this._NewMemberClassStatusId = default(int?);
  2839. }
  2840. this.SendPropertyChanged("NewMemberClassStatus");
  2841. }
  2842. }
  2843. }
  2844. [Association(Name="FK_People_DropType", Storage="_DropType", ThisKey="DropCodeId", IsForeignKey=true)]
  2845. public DropType DropType
  2846. {
  2847. get { return this._DropType.Entity; }
  2848. set
  2849. {
  2850. DropType previousValue = this._DropType.Entity;
  2851. if (((previousValue != value)
  2852. || (this._DropType.HasLoadedOrAssignedValue == false)))
  2853. {
  2854. this.SendPropertyChanging();
  2855. if (previousValue != null)
  2856. {
  2857. this._DropType.Entity = null;
  2858. previousValue.People.Remove(this);
  2859. }
  2860. this._DropType.Entity = value;
  2861. if (value != null)
  2862. {
  2863. value.People.Add(this);
  2864. this._DropCodeId = value.Id;
  2865. }
  2866. else
  2867. {
  2868. this._DropCodeId = default(int);
  2869. }
  2870. this.SendPropertyChanged("DropType");
  2871. }
  2872. }
  2873. }
  2874. [Association(Name="FK_People_EntryPoint", Storage="_EntryPoint", ThisKey="EntryPointId", IsForeignKey=true)]
  2875. public EntryPoint EntryPoint
  2876. {
  2877. get { return this._EntryPoint.Entity; }
  2878. set
  2879. {
  2880. EntryPoint previousValue = this._EntryPoint.Entity;
  2881. if (((previousValue != value)
  2882. || (this._EntryPoint.HasLoadedOrAssignedValue == false)))
  2883. {
  2884. this.SendPropertyChanging();
  2885. if (previousValue != null)
  2886. {
  2887. this._EntryPoint.Entity = null;
  2888. previousValue.People.Remove(this);
  2889. }
  2890. this._EntryPoint.Entity = value;
  2891. if (value != null)
  2892. {
  2893. value.People.Add(this);
  2894. this._EntryPointId = value.Id;
  2895. }
  2896. else
  2897. {
  2898. this._EntryPointId = default(int?);
  2899. }
  2900. this.SendPropertyChanged("EntryPoint");
  2901. }
  2902. }
  2903. }
  2904. [Association(Name="FK_People_Families", Storage="_Family", ThisKey="FamilyId", IsForeignKey=true)]
  2905. public Family Family
  2906. {
  2907. get { return this._Family.Entity; }
  2908. set
  2909. {
  2910. Family previousValue = this._Family.Entity;
  2911. if (((previousValue != value)
  2912. || (this._Family.HasLoadedOrAssignedValue == false)))
  2913. {
  2914. this.SendPropertyChanging();
  2915. if (previousValue != null)
  2916. {
  2917. this._Family.Entity = null;
  2918. previousValue.People.Remove(this);
  2919. }
  2920. this._Family.Entity = value;
  2921. if (value != null)
  2922. {
  2923. value.People.Add(this);
  2924. this._FamilyId = value.FamilyId;
  2925. }
  2926. else
  2927. {
  2928. this._FamilyId = default(int);
  2929. }
  2930. this.SendPropertyChanged("Family");
  2931. }
  2932. }
  2933. }
  2934. [Association(Name="FK_People_FamilyPosition", Storage="_FamilyPosition", ThisKey="PositionInFamilyId", IsForeignKey=true)]
  2935. public FamilyPosition FamilyPosition
  2936. {
  2937. get { return this._FamilyPosition.Entity; }
  2938. set
  2939. {
  2940. FamilyPosition previousValue = this._FamilyPosition.Entity;
  2941. if (((previousValue != value)
  2942. || (this._FamilyPosition.HasLoadedOrAssignedValue == false)))
  2943. {
  2944. this.SendPropertyChanging();
  2945. if (previousValue != null)
  2946. {
  2947. this._FamilyPosition.Entity = null;
  2948. previousValue.People.Remove(this);
  2949. }
  2950. this._FamilyPosition.Entity = value;
  2951. if (value != null)
  2952. {
  2953. value.People.Add(this);
  2954. this._PositionInFamilyId = value.Id;
  2955. }
  2956. else
  2957. {
  2958. this._PositionInFamilyId = default(int);
  2959. }
  2960. this.SendPropertyChanged("FamilyPosition");
  2961. }
  2962. }
  2963. }
  2964. [Association(Name="FK_People_Gender", Storage="_Gender", ThisKey="GenderId", IsForeignKey=true)]
  2965. public Gender Gender
  2966. {
  2967. get { return this._Gender.Entity; }
  2968. set
  2969. {
  2970. Gender previousValue = this._Gender.Entity;
  2971. if (((previousValue != value)
  2972. || (this._Gender.HasLoadedOrAssignedValue == false)))
  2973. {
  2974. this.SendPropertyChanging();
  2975. if (previousValue != null)
  2976. {
  2977. this._Gender.Entity = null;
  2978. previousValue.People.Remove(this);
  2979. }
  2980. this._Gender.Entity = value;
  2981. if (value != null)
  2982. {
  2983. value.People.Add(this);
  2984. this._GenderId = value.Id;
  2985. }
  2986. else
  2987. {
  2988. this._GenderId = default(int);
  2989. }
  2990. this.SendPropertyChanged("Gender");
  2991. }
  2992. }
  2993. }
  2994. [Association(Name="FK_People_InterestPoint", Storage="_InterestPoint", ThisKey="InterestPointId", IsForeignKey=true)]
  2995. public InterestPoint InterestPoint
  2996. {
  2997. get { return this._InterestPoint.Entity; }
  2998. set
  2999. {
  3000. InterestPoint previousValue = this._InterestPoint.Entity;
  3001. if (((previousValue != value)
  3002. || (this._InterestPoint.HasLoadedOrAssignedValue == false)))
  3003. {
  3004. this.SendPropertyChanging();
  3005. if (previousValue != null)
  3006. {
  3007. this._InterestPoint.Entity = null;
  3008. previousValue.People.Remove(this);
  3009. }
  3010. this._InterestPoint.Entity = value;
  3011. if (value != null)
  3012. {
  3013. value.People.Add(this);
  3014. this._InterestPointId = value.Id;
  3015. }
  3016. else
  3017. {
  3018. this._InterestPointId = default(int?);
  3019. }
  3020. this.SendPropertyChanged("InterestPoint");
  3021. }
  3022. }
  3023. }
  3024. [Association(Name="FK_People_JoinType", Storage="_JoinType", ThisKey="JoinCodeId", IsForeignKey=true)]
  3025. public JoinType JoinType
  3026. {
  3027. get { return this._JoinType.Entity; }
  3028. set
  3029. {
  3030. JoinType previousValue = this._JoinType.Entity;
  3031. if (((previousValue != value)
  3032. || (this._JoinType.HasLoadedOrAssignedValue == false)))
  3033. {
  3034. this.SendPropertyChanging();
  3035. if (previousValue != null)
  3036. {
  3037. this._JoinType.Entity = null;
  3038. previousValue.People.Remove(this);
  3039. }
  3040. this._JoinType.Entity = value;
  3041. if (value != null)
  3042. {
  3043. value.People.Add(this);
  3044. this._JoinCodeId = value.Id;
  3045. }
  3046. else
  3047. {
  3048. this._JoinCodeId = default(int);
  3049. }
  3050. this.SendPropertyChanged("JoinType");
  3051. }
  3052. }
  3053. }
  3054. [Association(Name="FK_People_MaritalStatus", Storage="_MaritalStatus", ThisKey="MaritalStatusId", IsForeignKey=true)]
  3055. public MaritalStatus MaritalStatus
  3056. {
  3057. get { return this._MaritalStatus.Entity; }
  3058. set
  3059. {
  3060. MaritalStatus previousValue = this._MaritalStatus.Entity;
  3061. if (((previousValue != value)
  3062. || (this._MaritalStatus.HasLoadedOrAssignedValue == false)))
  3063. {
  3064. this.SendPropertyChanging();
  3065. if (previousValue != null)
  3066. {
  3067. this._MaritalStatus.Entity = null;
  3068. previousValue.People.Remove(this);
  3069. }
  3070. this._MaritalStatus.Entity = value;
  3071. if (value != null)
  3072. {
  3073. value.People.Add(this);
  3074. this._MaritalStatusId = value.Id;
  3075. }
  3076. else
  3077. {
  3078. this._MaritalStatusId = default(int);
  3079. }
  3080. this.SendPropertyChanged("MaritalStatus");
  3081. }
  3082. }
  3083. }
  3084. [Association(Name="FK_People_MemberLetterStatus", Storage="_MemberLetterStatus", ThisKey="LetterStatusId", IsForeignKey=true)]
  3085. public MemberLetterStatus MemberLetterStatus
  3086. {
  3087. get { return this._MemberLetterStatus.Entity; }
  3088. set
  3089. {
  3090. MemberLetterStatus previousValue = this._MemberLetterStatus.Entity;
  3091. if (((previousValue != value)
  3092. || (this._MemberLetterStatus.HasLoadedOrAssignedValue == false)))
  3093. {
  3094. this.SendPropertyChanging();
  3095. if (previousValue != null)
  3096. {
  3097. this._MemberLetterStatus.Entity = null;
  3098. previousValue.People.Remove(this);
  3099. }
  3100. this._MemberLetterStatus.Entity = value;
  3101. if (value != null)
  3102. {
  3103. value.People.Add(this);
  3104. this._LetterStatusId = value.Id;
  3105. }
  3106. else
  3107. {
  3108. this._LetterStatusId = default(int?);
  3109. }
  3110. this.SendPropertyChanged("MemberLetterStatus");
  3111. }
  3112. }
  3113. }
  3114. [Association(Name="FK_People_MemberStatus", Storage="_MemberStatus", ThisKey="MemberStatusId", IsForeignKey=true)]
  3115. public MemberStatus MemberStatus
  3116. {
  3117. get { return this._MemberStatus.Entity; }
  3118. set
  3119. {
  3120. MemberStatus previousValue = this._MemberStatus.Entity;
  3121. if (((previousValue != value)
  3122. || (this._MemberStatus.HasLoadedOrAssignedValue == false)))
  3123. {
  3124. this.SendPropertyChanging();
  3125. if (previousValue != null)
  3126. {
  3127. this._MemberStatus.Entity = null;
  3128. previousValue.People.Remove(this);
  3129. }
  3130. this._MemberStatus.Entity = value;
  3131. if (value != null)
  3132. {
  3133. value.People.Add(this);
  3134. this._MemberStatusId = value.Id;
  3135. }
  3136. else
  3137. {
  3138. this._MemberStatusId = default(int);
  3139. }
  3140. this.SendPropertyChanged("MemberStatus");
  3141. }
  3142. }
  3143. }
  3144. [Association(Name="FK_People_Origin", Storage="_Origin", ThisKey="OriginId", IsForeignKey=true)]
  3145. public Origin Origin
  3146. {
  3147. get { return this._Origin.Entity; }
  3148. set
  3149. {
  3150. Origin previousValue = this._Origin.Entity;
  3151. if (((previousValue != value)
  3152. || (this._Origin.HasLoadedOrAssignedValue == false)))
  3153. {
  3154. this.SendPropertyChanging();
  3155. if (previousValue != null)
  3156. {
  3157. this._Origin.Entity = null;
  3158. previousValue.People.Remove(this);
  3159. }
  3160. this._Origin.Entity = value;
  3161. if (value != null)
  3162. {
  3163. value.People.Add(this);
  3164. this._OriginId = value.Id;
  3165. }
  3166. else
  3167. {
  3168. this._OriginId = default(int?);
  3169. }
  3170. this.SendPropertyChanged("Origin");
  3171. }
  3172. }
  3173. }
  3174. [Association(Name="FK_PEOPLE_TBL_Picture", Storage="_Picture", ThisKey="PictureId", IsForeignKey=true)]
  3175. public Picture Picture
  3176. {
  3177. get { return this._Picture.Entity; }
  3178. set
  3179. {
  3180. Picture previousValue = this._Picture.Entity;
  3181. if (((previousValue != value)
  3182. || (this._Picture.HasLoadedOrAssignedValue == false)))
  3183. {
  3184. this.SendPropertyChanging();
  3185. if (previousValue != null)
  3186. {
  3187. this._Picture.Entity = null;
  3188. previousValue.People.Remove(this);
  3189. }
  3190. this._Picture.Entity = value;
  3191. if (value != null)
  3192. {
  3193. value.People.Add(this);
  3194. this._PictureId = value.PictureId;
  3195. }
  3196. else
  3197. {
  3198. this._PictureId = default(int?);
  3199. }
  3200. this.SendPropertyChanged("Picture");
  3201. }
  3202. }
  3203. }
  3204. [Association(Name="ResCodePeople__ResidentCode", Storage="_ResidentCode", ThisKey="ResCodeId", IsForeignKey=true)]
  3205. public ResidentCode ResidentCode
  3206. {
  3207. get { return this._ResidentCode.Entity; }
  3208. set
  3209. {
  3210. ResidentCode previousValue = this._ResidentCode.Entity;
  3211. if (((previousValue != value)
  3212. || (this._ResidentCode.HasLoadedOrAssignedValue == false)))
  3213. {
  3214. this.SendPropertyChanging();
  3215. if (previousValue != null)
  3216. {
  3217. this._ResidentCode.Entity = null;
  3218. previousValue.ResCodePeople.Remove(this);
  3219. }
  3220. this._ResidentCode.Entity = value;
  3221. if (value != null)
  3222. {
  3223. value.ResCodePeople.Add(this);
  3224. this._ResCodeId = value.Id;
  3225. }
  3226. else
  3227. {
  3228. this._ResCodeId = default(int?);
  3229. }
  3230. this.SendPropertyChanged("ResidentCode");
  3231. }
  3232. }
  3233. }
  3234. [Association(Name="StmtPeople__ContributionStatementOption", Storage="_ContributionStatementOption", ThisKey="ContributionOptionsId", IsForeignKey=true)]
  3235. public EnvelopeOption ContributionStatementOption
  3236. {
  3237. get { return this._ContributionStatementOption.Entity; }
  3238. set
  3239. {
  3240. EnvelopeOption previousValue = this._ContributionStatementOption.Entity;
  3241. if (((previousValue != value)
  3242. || (this._ContributionStatementOption.HasLoadedOrAssignedValue == false)))
  3243. {
  3244. this.SendPropertyChanging();
  3245. if (previousValue != null)
  3246. {
  3247. this._ContributionStatementOption.Entity = null;
  3248. previousValue.StmtPeople.Remove(this);
  3249. }
  3250. this._ContributionStatementOption.Entity = value;
  3251. if (value != null)
  3252. {
  3253. value.StmtPeople.Add(this);
  3254. this._ContributionOptionsId = value.Id;
  3255. }
  3256. else
  3257. {
  3258. this._ContributionOptionsId = default(int?);
  3259. }
  3260. this.SendPropertyChanged("ContributionStatementOption");
  3261. }
  3262. }
  3263. }
  3264. #endregion
  3265. public event PropertyChangingEventHandler PropertyChanging;
  3266. protected virtual void SendPropertyChanging()
  3267. {
  3268. if ((this.PropertyChanging != null))
  3269. this.PropertyChanging(this, emptyChangingEventArgs);
  3270. }
  3271. public event PropertyChangedEventHandler PropertyChanged;
  3272. protected virtual void SendPropertyChanged(String propertyName)
  3273. {
  3274. if ((this.PropertyChanged != null))
  3275. this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
  3276. }
  3277. private void attach_contactsHad(Contactee entity)
  3278. {
  3279. this.SendPropertyChanging();
  3280. entity.person = this;
  3281. }
  3282. private void detach_contactsHad(Contactee entity)
  3283. {
  3284. this.SendPropertyChanging();
  3285. entity.person = null;
  3286. }
  3287. private void attach_contactsMade(Contactor entity)
  3288. {
  3289. this.SendPropertyChanging();
  3290. entity.person = this;
  3291. }
  3292. private void detach_contactsMade(Contactor entity)
  3293. {
  3294. this.SendPropertyChanging();
  3295. entity.person = null;
  3296. }
  3297. private void attach_EnrollmentTransactions(EnrollmentTransaction entity)
  3298. {
  3299. this.SendPropertyChanging();
  3300. entity.Person = this;
  3301. }
  3302. private void detach_EnrollmentTransactions(EnrollmentTransaction entity)
  3303. {
  3304. this.SendPropertyChanging();
  3305. entity.Person = null;
  3306. }
  3307. private void attach_FamiliesHeaded(Family entity)
  3308. {
  3309. this.SendPropertyChanging();
  3310. entity.HeadOfHousehold = this;
  3311. }
  3312. private void detach_FamiliesHeaded(Family entity)
  3313. {
  3314. this.SendPropertyChanging();
  3315. entity.HeadOfHousehold = null;
  3316. }
  3317. private void attach_FamiliesHeaded2(Family entity)
  3318. {
  3319. this.SendPropertyChanging();
  3320. entity.HeadOfHouseholdSpouse = this;
  3321. }
  3322. private void detach_FamiliesHeaded2(Family entity)
  3323. {
  3324. this.SendPropertyChanging();
  3325. entity.HeadOfHouseholdSpouse = null;
  3326. }
  3327. private void attach_ActivityLogs(ActivityLog entity)
  3328. {
  3329. this.SendPropertyChanging();
  3330. entity.Person = this;
  3331. }
  3332. private void detach_ActivityLogs(ActivityLog entity)
  3333. {
  3334. this.SendPropertyChanging();
  3335. entity.Person = null;
  3336. }
  3337. private void attach_Attends(Attend entity)
  3338. {
  3339. this.SendPropertyChanging();
  3340. entity.Person = this;
  3341. }
  3342. private void detach_Attends(Attend entity)
  3343. {
  3344. this.SendPropertyChanging();
  3345. entity.Person = null;
  3346. }
  3347. private void attach_BackgroundChecks(BackgroundCheck entity)
  3348. {
  3349. this.SendPropertyChanging();
  3350. entity.Person = this;
  3351. }
  3352. private void detach_BackgroundChecks(BackgroundCheck entity)
  3353. {
  3354. this.SendPropertyChanging();
  3355. entity.Person = null;
  3356. }
  3357. private void attach_CardIdentifiers(CardIdentifier entity)
  3358. {
  3359. this.SendPropertyChanging();
  3360. entity.Person = this;
  3361. }
  3362. private void detach_CardIdentifiers(CardIdentifier entity)
  3363. {
  3364. this.SendPropertyChanging();
  3365. entity.Person = null;
  3366. }
  3367. private void attach_CheckInTimes(CheckInTime entity)
  3368. {
  3369. this.SendPropertyChanging();
  3370. entity.Person = this;
  3371. }
  3372. private void detach_CheckInTimes(CheckInTime entity)
  3373. {
  3374. this.SendPropertyChanging();
  3375. entity.Person = null;
  3376. }
  3377. private void attach_Contributions(Contribution entity)
  3378. {
  3379. this.SendPropertyChanging();
  3380. entity.Person = this;
  3381. }
  3382. private void detach_Contributions(Contribution entity)
  3383. {
  3384. this.SendPropertyChanging();
  3385. entity.Person = null;
  3386. }
  3387. private void attach_Coupons(Coupon entity)
  3388. {
  3389. this.SendPropertyChanging();
  3390. entity.Person = this;
  3391. }
  3392. private void detach_Coupons(Coupon entity)
  3393. {
  3394. this.SendPropertyChanging();
  3395. entity.Person = null;
  3396. }
  3397. private void attach_EmailOptOuts(EmailOptOut entity)
  3398. {
  3399. this.SendPropertyChanging();
  3400. entity.Person = this;
  3401. }
  3402. private void detach_EmailOptOuts(EmailOptOut entity)
  3403. {
  3404. this.SendPropertyChanging();
  3405. entity.Person = null;
  3406. }
  3407. private void attach_EmailQueues(EmailQueue entity)
  3408. {
  3409. this.SendPropertyChanging();
  3410. entity.Person = this;
  3411. }
  3412. private void detach_EmailQueues(EmailQueue entity)
  3413. {
  3414. this.SendPropertyChanging();
  3415. entity.Person = null;
  3416. }
  3417. private void attach_EmailQueueTos(EmailQueueTo entity)
  3418. {
  3419. this.SendPropertyChanging();
  3420. entity.Person = this;
  3421. }
  3422. private void detach_EmailQueueTos(EmailQueueTo entity)
  3423. {
  3424. this.SendPropertyChanging();
  3425. entity.Person = null;
  3426. }
  3427. private void attach_EmailResponses(EmailResponse entity)
  3428. {
  3429. this.SendPropertyChanging();
  3430. entity.Person = this;
  3431. }
  3432. private void detach_EmailResponses(EmailResponse entity)
  3433. {
  3434. this.SendPropertyChanging();
  3435. entity.Person = null;
  3436. }
  3437. private void attach_ManagedGivings(ManagedGiving entity)
  3438. {
  3439. this.SendPropertyChanging();
  3440. entity.Person = this;
  3441. }
  3442. private void detach_ManagedGivings(ManagedGiving entity)
  3443. {
  3444. this.SendPropertyChanging();
  3445. entity.Person = null;
  3446. }
  3447. private void attach_MemberDocForms(MemberDocForm entity)
  3448. {
  3449. this.SendPropertyChanging();
  3450. entity.Person = this;
  3451. }
  3452. private void detach_MemberDocForms(MemberDocForm entity)
  3453. {
  3454. this.SendPropertyChanging();
  3455. entity.Person = null;
  3456. }
  3457. private void attach_PaymentInfos(PaymentInfo entity)
  3458. {
  3459. this.SendPropertyChanging();
  3460. entity.Person = this;
  3461. }
  3462. private void detach_PaymentInfos(PaymentInfo entity)
  3463. {
  3464. this.SendPropertyChanging();
  3465. entity.Person = null;
  3466. }
  3467. private void attach_PeopleExtras(PeopleExtra entity)
  3468. {
  3469. this.SendPropertyChanging();
  3470. entity.Person = this;
  3471. }
  3472. private void detach_PeopleExtras(PeopleExtra entity)
  3473. {
  3474. this.SendPropertyChanging();
  3475. entity.Person = null;
  3476. }
  3477. private void attach_RecRegs(RecReg entity)
  3478. {
  3479. this.SendPropertyChanging();
  3480. entity.Person = this;
  3481. }
  3482. private void detach_RecRegs(RecReg entity)
  3483. {
  3484. this.SendPropertyChanging();
  3485. entity.Person = null;
  3486. }
  3487. private void attach_RecurringAmounts(RecurringAmount entity)
  3488. {
  3489. this.SendPropertyChanging();
  3490. entity.Person = this;
  3491. }
  3492. private void detach_RecurringAmounts(RecurringAmount entity)
  3493. {
  3494. this.SendPropertyChanging();
  3495. entity.Person = null;
  3496. }
  3497. private void attach_SMSItems(SMSItem entity)
  3498. {
  3499. this.SendPropertyChanging();
  3500. entity.Person = this;
  3501. }
  3502. private void detach_SMSItems(SMSItem entity)
  3503. {
  3504. this.SendPropertyChanging();
  3505. entity.Person = null;
  3506. }
  3507. private void attach_SMSLists(SMSList entity)
  3508. {
  3509. this.SendPropertyChanging();
  3510. entity.Person = this;
  3511. }
  3512. private void detach_SMSLists(SMSList entity)
  3513. {
  3514. this.SendPropertyChanging();
  3515. entity.Person = null;
  3516. }
  3517. private void attach_TagShares(TagShare entity)
  3518. {
  3519. this.SendPropertyChanging();
  3520. entity.Person = this;
  3521. }
  3522. private void detach_TagShares(TagShare entity)
  3523. {
  3524. this.SendPropertyChanging();
  3525. entity.Person = null;
  3526. }
  3527. private void attach_TaskListOwners(TaskListOwner entity)
  3528. {
  3529. this.SendPropertyChanging();
  3530. entity.Person = this;
  3531. }
  3532. private void detach_TaskListOwners(TaskListOwner entity)
  3533. {
  3534. this.SendPropertyChanging();
  3535. entity.Person = null;
  3536. }
  3537. private void attach_Transactions(Transaction entity)
  3538. {
  3539. this.SendPropertyChanging();
  3540. entity.Person = this;
  3541. }
  3542. private void detach_Transactions(Transaction entity)
  3543. {
  3544. this.SendPropertyChanging();
  3545. entity.Person = null;
  3546. }
  3547. private void attach_TransactionPeople(TransactionPerson entity)
  3548. {
  3549. this.SendPropertyChanging();
  3550. entity.Person = this;
  3551. }
  3552. private void detach_TransactionPeople(TransactionPerson entity)
  3553. {
  3554. this.SendPropertyChanging();
  3555. entity.Person = null;
  3556. }
  3557. private void attach_Users(User entity)
  3558. {
  3559. this.SendPropertyChanging();
  3560. entity.Person = this;
  3561. }
  3562. private void detach_Users(User entity)
  3563. {
  3564. this.SendPropertyChanging();
  3565. entity.Person = null;
  3566. }
  3567. private void attach_VolInterestInterestCodes(VolInterestInterestCode entity)
  3568. {
  3569. this.SendPropertyChanging();
  3570. entity.Person = this;
  3571. }
  3572. private void detach_VolInterestInterestCodes(VolInterestInterestCode entity)
  3573. {
  3574. this.SendPropertyChanging();
  3575. entity.Person = null;
  3576. }
  3577. private void attach_Volunteers(Volunteer entity)
  3578. {
  3579. this.SendPropertyChanging();
  3580. entity.Person = this;
  3581. }
  3582. private void detach_Volunteers(Volunteer entity)
  3583. {
  3584. this.SendPropertyChanging();
  3585. entity.Person = null;
  3586. }
  3587. private void attach_VolunteerForms(VolunteerForm entity)
  3588. {
  3589. this.SendPropertyChanging();
  3590. entity.Person = this;
  3591. }
  3592. private void detach_VolunteerForms(VolunteerForm entity)
  3593. {
  3594. this.SendPropertyChanging();
  3595. entity.Person = null;
  3596. }
  3597. private void attach_VoluteerApprovalIds(VoluteerApprovalId entity)
  3598. {
  3599. this.SendPropertyChanging();
  3600. entity.Person = this;
  3601. }
  3602. private void detach_VoluteerApprovalIds(VoluteerApprovalId entity)
  3603. {
  3604. this.SendPropertyChanging();
  3605. entity.Person = null;
  3606. }
  3607. private void attach_OrganizationMembers(OrganizationMember entity)
  3608. {
  3609. this.SendPropertyChanging();
  3610. entity.Person = this;
  3611. }
  3612. private void detach_OrganizationMembers(OrganizationMember entity)
  3613. {
  3614. this.SendPropertyChanging();
  3615. entity.Person = null;
  3616. }
  3617. private void attach_People(BackgroundCheck entity)
  3618. {
  3619. this.SendPropertyChanging();
  3620. entity.User = this;
  3621. }
  3622. private void detach_People(BackgroundCheck entity)
  3623. {
  3624. this.SendPropertyChanging();
  3625. entity.User = null;
  3626. }
  3627. private void attach_SubRequests(SubRequest entity)
  3628. {
  3629. this.SendPropertyChanging();
  3630. entity.Requestor = this;
  3631. }
  3632. private void detach_SubRequests(SubRequest entity)
  3633. {
  3634. this.SendPropertyChanging();
  3635. entity.Requestor = null;
  3636. }
  3637. private void attach_SubResponses(SubRequest entity)
  3638. {
  3639. this.SendPropertyChanging();
  3640. entity.Substitute = this;
  3641. }
  3642. private void detach_SubResponses(SubRequest entity)
  3643. {
  3644. this.SendPropertyChanging();
  3645. entity.Substitute = null;
  3646. }
  3647. private void attach_Tags(TagPerson entity)
  3648. {
  3649. this.SendPropertyChanging();
  3650. entity.Person = this;
  3651. }
  3652. private void detach_Tags(TagPerson entity)
  3653. {
  3654. this.SendPropertyChanging();
  3655. entity.Person = null;
  3656. }
  3657. private void attach_TagsOwned(Tag entity)
  3658. {
  3659. this.SendPropertyChanging();
  3660. entity.PersonOwner = this;
  3661. }
  3662. private void detach_TagsOwned(Tag entity)
  3663. {
  3664. this.SendPropertyChanging();
  3665. entity.PersonOwner = null;
  3666. }
  3667. private void attach_Tasks(Task entity)
  3668. {
  3669. this.SendPropertyChanging();
  3670. entity.Owner = this;
  3671. }
  3672. private void detach_Tasks(Task entity)
  3673. {
  3674. this.SendPropertyChanging();
  3675. entity.Owner = null;
  3676. }
  3677. private void attach_TasksAboutPerson(Task entity)
  3678. {
  3679. this.SendPropertyChanging();
  3680. entity.AboutWho = this;
  3681. }
  3682. private void detach_TasksAboutPerson(Task entity)
  3683. {
  3684. this.SendPropertyChanging();
  3685. entity.AboutWho = null;
  3686. }
  3687. private void attach_TasksCoOwned(Task entity)
  3688. {
  3689. this.SendPropertyChanging();
  3690. entity.CoOwner = this;
  3691. }
  3692. private void detach_TasksCoOwned(Task entity)
  3693. {
  3694. this.SendPropertyChanging();
  3695. entity.CoOwner = null;
  3696. }
  3697. private void attach_VolRequests(VolRequest entity)
  3698. {
  3699. this.SendPropertyChanging();
  3700. entity.Requestor = this;
  3701. }
  3702. private void detach_VolRequests(VolRequest entity)
  3703. {
  3704. this.SendPropertyChanging();
  3705. entity.Requestor = null;
  3706. }
  3707. private void attach_VolResponses(VolRequest entity)
  3708. {
  3709. this.SendPropertyChanging();
  3710. entity.Volunteer = this;
  3711. }
  3712. private void detach_VolResponses(VolRequest entity)
  3713. {
  3714. this.SendPropertyChanging();
  3715. entity.Volunteer = null;
  3716. }
  3717. }
  3718. }