Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Decompiled with JetBrains decompiler
- // Type: FirePrograms.Business.UserLogin
- // Assembly: FirePrograms.Business, Version=1.0.1.942, Culture=neutral, PublicKeyToken=null
- // MVID: 54E68C35-9456-44EA-80A3-48E075764DD6
- // Assembly location: C:\Users\bdinger\Desktop\FirePrograms Software\FirePrograms.Business.dll
- using FirePrograms.Business.Security;
- using FirePrograms.Data;
- using FirePrograms.Utility;
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Linq;
- using System.Runtime.Serialization;
- using System.Security.Principal;
- namespace FirePrograms.Business
- {
- [Serializable]
- public class UserLogin : BusinessObject, ISynchronizableObject
- {
- internal string userName = string.Empty;
- internal string password = string.Empty;
- internal string userName_originalValue = string.Empty;
- internal string password_originalValue = string.Empty;
- private Hashtable loadedLookups = new Hashtable();
- private string _confirmPassword = string.Empty;
- private bool passwordConfirmed = true;
- private bool _useCustomerLogin = true;
- internal string userDisplayName;
- internal string userDisplayName_originalValue;
- internal AgeDetailList ageDetails;
- internal AgencyList agencies;
- internal AgencyReferralList agencyReferrals;
- internal ApparatusComponentInspectionList apparatusComponentInspections;
- internal ApparatusComponentList apparatusComponents;
- internal ApparatusComponentTestList apparatusComponentTests;
- internal ApparatusFluidList apparatusFluids;
- internal ApparatusPartList apparatusParts;
- internal ApparatusSlotList apparatusSlots;
- internal ApparentGroupInvolvmentFactorList apparentGroupInvolvmentFactors;
- internal ApplicationActivityLogList applicationActivityLogs;
- internal ApplicationComponentPartList applicationComponentParts;
- internal ApplicationComponentRoleList applicationComponentRoles;
- internal ApplicationComponentList applicationComponents;
- internal ApplicationMessageDestinationList applicationMessageDestinations;
- internal ApplicationMessageDestinationList sendToUserApplicationMessageDestinations;
- internal ApplicationMessageDestinationList sendToUserNameApplicationMessageDestinations;
- internal ApplicationMessageRecipientList applicationMessageRecipients;
- internal ApplicationMessageRecipientList userLoginApplicationMessageRecipients;
- internal ApplicationMessageList applicationMessages;
- internal ApplicationMessageList userLoginApplicationMessages;
- internal ApplicationPermissionList applicationPermissions;
- internal ApplicationPreferenceList applicationPreferences;
- internal ApplicationRoleComponentList applicationRoleComponents;
- internal ApplicationRolePermissionList applicationRolePermissions;
- internal ApplicationRoleList applicationRoles;
- internal ApplicationRoleSubComponentList applicationRoleSubComponents;
- internal ApplicationSubcomponentList applicationSubcomponents;
- internal ArchivedReportList archivedReports;
- internal AreaHospitalList areaHospitals;
- internal ArrestList arrests;
- internal ArsonMotivationOrRiskFactorList arsonMotivationOrRiskFactors;
- internal ArsonRecordList arsonRecords;
- internal ArsonSubjectList arsonSubjects;
- internal AssetAcquisitionList assetAcquisitions;
- internal AssetDispositionList assetDispositions;
- internal AssignedInspectorList assignedInspectors;
- internal AutopsyList autopsies;
- internal AutopsyRemovedObjectList autopsyRemovedObjects;
- internal AutopsySpecimenList autopsySpecimens;
- internal AutopsyWitnessList autopsyWitnesses;
- internal BattalionList battalions;
- internal BodyInjurySiteList bodyInjurySites;
- internal BombActionsTakenList bombActionsTaken;
- internal BombList bombs;
- internal BombThreatList bombThreats;
- internal BurnedCropList burnedCrops;
- internal BusinessEntityList businessEntities;
- internal CardiacArrestPreArrivalDetailList cardiacArrestPreArrivalDetails;
- internal CaseEvidenceItemList caseEvidenceItems;
- internal CaseInvestigatorList caseInvestigators;
- internal CertificateList certificates;
- internal CertificateTypeRequirementList certificateTypeRequirements;
- internal CertificateTypeList certificateTypes;
- internal CertificationGradeList certificationGrades;
- internal CertificationList certifications;
- internal CivilianCasualtyList civilianCasualties;
- internal ComponentLoggingLevelList componentLoggingLevels;
- internal ComponentSecurityLevelList componentSecurityLevels;
- internal ComponentSecurityLevelList userLoginComponentSecurityLevels;
- internal ContactMethodList contactMethods;
- internal ContributedToIgnitionFactorList contributedToIgnitionFactors;
- internal ContributingInjuryFactorList contributingInjuryFactors;
- internal CoverageAreaList coverageAreas;
- internal CustomDictionaryEntryList customDictionaryEntries;
- internal CustomerContactList customerContacts;
- internal CustomerLoginComponentList customerLoginComponents;
- internal CustomerLoginPermissionList customerLoginPermissions;
- internal CustomerLoginRoleList customerLoginRoles;
- internal CustomerLoginList customerLogins;
- internal CustomerLoginList userLoginCustomerLogins;
- internal CustomerLoginSubcomponentList customerLoginSubcomponents;
- internal CustomerList customers;
- internal new CustomFieldList customFields;
- internal CustomFieldValueList customFieldValues;
- internal CustomNFIRSTextEntryList customNFIRSTextEntries;
- internal CustomSchedulingCalculationList customSchedulingCalculations;
- internal CustomSchedulingEnteredValueList customSchedulingEnteredValues;
- internal DailyLogApparatusEntryList dailyLogApparatusEntries;
- internal DailyLogEntryList dailyLogEntries;
- internal DailyLogEntryTypeList dailyLogEntryTypes;
- internal DailyLogPersonnelEntryList dailyLogPersonnelEntries;
- internal DailyLogShiftEntryList dailyLogShiftEntries;
- internal DailyLogStationEntryList dailyLogStationEntries;
- internal DailyLogUsedEquipmentItemList dailyLogUsedEquipmentItems;
- internal DailyLogUsedSupplyItemList dailyLogUsedSupplyItems;
- internal DepartmentFDIDList departmentFDIDs;
- internal DepartmentLoginComponentList departmentLoginComponents;
- internal DepartmentLoginPermissionList departmentLoginPermissions;
- internal DepartmentLoginRoleList departmentLoginRoles;
- internal DepartmentLoginList departmentLogins;
- internal DepartmentLoginList userLoginDepartmentLogins;
- internal DepartmentLoginSubcomponentList departmentLoginSubcomponents;
- internal DisciplinaryReportList disciplinaryReports;
- internal DistrictList districts;
- internal EmploymentCategorySchedulingConstraintList employmentCategorySchedulingConstraints;
- internal EMSPatientList eMSPatients;
- internal EPADictionaryEntryList ePADictionaryEntries;
- internal EquipmentConditionRecordList equipmentConditionRecords;
- internal EquipmentConditionList equipmentConditions;
- internal EquipmentItemInspectionList equipmentItemInspections;
- internal EquipmentItemList equipmentItems;
- internal EquipmentItemSizeList equipmentItemSizes;
- internal EquipmentItemTestDetailList equipmentItemTestDetails;
- internal EquipmentItemTestList equipmentItemTests;
- internal EquipmentSizeFieldList equipmentSizeFields;
- internal EquipmentStatusList equipmentStatuses;
- internal EquipmentStatusRecordList equipmentStatusRecords;
- internal EquipmentTypeList equipmentTypes;
- internal FieldInvestigationList fieldInvestigations;
- internal FiledChargeList filedCharges;
- internal FireExtinguisherList fireExtinguishers;
- internal FireInvestigationList fireInvestigations;
- internal FireInvestigationList lockedByUserFireInvestigations;
- internal FireServiceCasualtyList fireServiceCasualties;
- internal FixedAssetInventoryItemList fixedAssetInventoryItems;
- internal FixedAssetItemTestList fixedAssetItemTests;
- internal FleetApparatusRecordList fleetApparatusRecords;
- internal FleetApparatusTypeList fleetApparatusTypes;
- internal FLSAPeriodList fLSAPeriods;
- internal FluidTypeList fluidTypes;
- internal HazMatActionList hazMatActions;
- internal HazMatChemicalReleaseList hazMatChemicalReleases;
- internal HazMatExposureList hazMatExposures;
- internal HazMatMitigationFactorList hazMatMitigationFactors;
- internal HazMatRecordList hazMatRecords;
- internal HazMatReleaseFactorList hazMatReleaseFactors;
- internal HazTrakHealthHazardList hazTrakHealthHazards;
- internal HazTrakRecordList hazTrakRecords;
- internal HazTrakStorageLocationList hazTrakStorageLocations;
- internal HelpFileEntryList helpFileEntries;
- internal HoseList hoses;
- internal HoseTestDetailList hoseTestDetails;
- internal HoseTestList hoseTests;
- internal HoseTypeList hoseTypes;
- internal HumanFactorList humanFactors;
- internal HumanInjuryFactorList humanInjuryFactors;
- internal HydrantInspectionList hydrantInspections;
- internal HydrantList hydrants;
- internal HydrantTestList hydrantTests;
- internal IncidentActionList incidentActions;
- internal IncidentExposureList incidentExposures;
- internal IncidentMappingSettingList incidentMappingSettings;
- internal IncidentMappingSettingList userLoginIncidentMappingSettings;
- internal IncidentRecordList incidentRecords;
- internal IncidentRoleList incidentRoles;
- internal IncidentSpecialStudyList incidentSpecialStudies;
- internal IncidentUsedEquipmentItemList incidentUsedEquipmentItems;
- internal IncidentUsedSupplyItemList incidentUsedSupplyItems;
- internal InitialObservationList initialObservations;
- internal InspectionDistrictList inspectionDistricts;
- internal InspectionGroupList inspectionGroups;
- internal InsuranceClaimList insuranceClaims;
- internal InsuranceCompanyList insuranceCompanies;
- internal InsurancePolicyList insurancePolicies;
- internal InterviewQuestionList interviewQuestions;
- internal InterviewList interviews;
- internal InterviewStandardQuestionList interviewStandardQuestions;
- internal InventoryItemCategoryList inventoryItemCategories;
- internal InvolvedAttorneyList involvedAttorneys;
- internal InvolvedEntityList involvedEntities;
- internal InvolvedPersonList involvedPersons;
- internal IrregularAssignmentList irregularAssignments;
- internal IssuedPermitList issuedPermits;
- internal ItemCheckOutList itemCheckOuts;
- internal JuvenileList juveniles;
- internal LabRequestList labRequests;
- internal LabTechnicianList labTechnicians;
- internal LegalOfficerList legalOfficers;
- internal LicenseModuleList licenseModules;
- internal LicenseList licenses;
- internal LicenseUserSessionList licenseUserSessions;
- internal LicenseUserSessionList userLoginLicenseUserSessions;
- internal LocationCrossStreetList locationCrossStreets;
- internal LocationList locations;
- internal MaintenanceRequestItemList maintenanceRequestItems;
- internal MaintenanceRequestList maintenanceRequests;
- internal MaintenanceTaskScheduleList maintenanceTaskSchedules;
- internal ManufacturerList manufacturers;
- internal ManufacturerTypeList manufacturerTypes;
- internal MapLayoutFilterFieldList mapLayoutFilterFields;
- internal MapLayoutList mapLayouts;
- internal MappingComponentList mappingComponents;
- internal MedicalExaminationList medicalExaminations;
- internal MedicalOfficerList medicalOfficers;
- internal MobilePropertyList mobileProperties;
- internal MortgageCompanyList mortgageCompanies;
- internal MortgageList mortgages;
- internal MutualAidRecordList mutualAidRecords;
- internal NarrativeLinkList narrativeLinks;
- internal NarrativeList narratives;
- internal NarrativeTemplateList narrativeTemplates;
- internal NearbyPropertyList nearbyProperties;
- internal NeededResourceList neededResources;
- internal NFIRSDictionaryEntryList nFIRSDictionaryEntries;
- internal NFPADictionaryEntryList nFPADictionaryEntries;
- internal OfficerList officers;
- internal OnScenePersonList onScenePersons;
- internal OnSiteMaterialList onSiteMaterials;
- internal OtherObservationList otherObservations;
- internal PageComponentList pageComponents;
- internal PageLayoutList pageLayouts;
- internal PageLayoutList userLoginPageLayouts;
- internal PayPeriodList payPeriods;
- internal PerformedProcedureList performedProcedures;
- internal PersonAliasNameList personAliasNames;
- internal PersonLanguageList personLanguages;
- internal PersonnelAllergyList personnelAllergies;
- internal PersonnelCertificationList personnelCertifications;
- internal PersonnelEmploymentCategoryList personnelEmploymentCategories;
- internal PersonnelEmploymentDetailList personnelEmploymentDetails;
- internal PersonnelEquipmentSizeList personnelEquipmentSizes;
- internal PersonnelEquipmentTestRecordList personnelEquipmentTestRecords;
- internal PersonnelIrregularWorkPlaceList personnelIrregularWorkPlaces;
- internal PersonnelIrregularWorkTimeList personnelIrregularWorkTimes;
- internal PersonnelMedicalDetailList personnelMedicalDetails;
- internal PersonnelMedicationList personnelMedications;
- internal PersonnelRankHistoryList personnelRankHistory;
- internal PersonnelRankList personnelRanks;
- internal PersonnelRecordList personnelRecords;
- internal PersonnelRecordList userLoginPersonnelRecords;
- internal PersonnelRegularWorkPlaceList personnelRegularWorkPlaces;
- internal PersonnelRegularWorkTimeList personnelRegularWorkTimes;
- internal PersonnelScheduledOffTimeList personnelScheduledOffTimes;
- internal PersonnelSchedulingConstraintList personnelSchedulingConstraints;
- internal PersonnelSkillList personnelSkills;
- internal PersonnelStatusRequestList personnelStatusRequests;
- internal PersonnelStatusTimeList personnelStatusTimes;
- internal PersonnelStatusTypeList personnelStatusTypes;
- internal PersonnelTimesheetRecordList personnelTimesheetRecords;
- internal PersonRecordList personRecords;
- internal PersonRoleList personRoles;
- internal PrePlanList prePlans;
- internal PropertyCodeViolationList propertyCodeViolations;
- internal PropertyHydrantList propertyHydrants;
- internal PropertyInspectionCodeList propertyInspectionCodes;
- internal PropertyInspectionList propertyInspections;
- internal PropertyInspectionTypeList propertyInspectionTypes;
- internal PropertyNameList propertyNames;
- internal PropertyOccupancyRecordList propertyOccupancyRecords;
- internal PropertyOwnershipRecordList propertyOwnershipRecords;
- internal ProtectedPropertyList protectedProperties;
- internal ProtectedPropertyContactList protectedPropertyContacts;
- internal ProtectedPropertyDirectionList protectedPropertyDirections;
- internal ProtectedPropertyInspectionGroupList protectedPropertyInspectionGroups;
- internal ProtectiveEquipmentFailureList protectiveEquipmentFailures;
- internal ProvidedResourceList providedResources;
- internal PurchaseOrderItemList purchaseOrderItems;
- internal PurchaseOrderReceivedItemList purchaseOrderReceivedItems;
- internal PurchaseOrderList purchaseOrders;
- internal ReceivedSynchronizationList receivedSynchronizations;
- internal new RecordAttachmentList recordAttachments;
- internal new RecordNoteList recordNotes;
- internal RecordNoteList createdByUserLoginRecordNotes;
- internal RegisteredDepartmentList registeredDepartments;
- internal RegularApparatusAssignmentList regularApparatusAssignments;
- internal RegularAssignmentList regularAssignments;
- internal RelatedInvestigationList relatedInvestigations;
- internal ReportComponentFieldList reportComponentFields;
- internal ReportComponentFilterList reportComponentFilters;
- internal ReportComponentList reportComponents;
- internal ReportFilterList reportFilters;
- internal ReportLayoutList reportLayouts;
- internal ReportRecipientList reportRecipients;
- internal ReportList reports;
- internal ReportScheduleList reportSchedules;
- internal ResourceProviderList resourceProviders;
- internal RespondingApparatusActionList respondingApparatusActions;
- internal RespondingApparatusRecordList respondingApparatusRecords;
- internal RespondingPersonnelActionList respondingPersonnelActions;
- internal RespondingPersonnelRecordList respondingPersonnelRecords;
- internal RotationList rotations;
- internal SafetyEquipmentRecordList safetyEquipmentRecords;
- internal SceneLegalAccessDetailList sceneLegalAccessDetails;
- internal ScheduleRequirementList scheduleRequirements;
- internal ScheduleList schedules;
- internal SchedulingPageLayoutList schedulingPageLayouts;
- internal SchedulingPageLayoutList userLoginSchedulingPageLayouts;
- internal ShiftRotationList shiftRotations;
- internal ShiftList shifts;
- internal SignatureList signatures;
- internal SkillComponentList skillComponents;
- internal SkillList skills;
- internal SpecificPropertyUsageList specificPropertyUsages;
- internal StateDictionaryEntryList stateDictionaryEntries;
- internal StationContactList stationContacts;
- internal StationLoginList stationLogins;
- internal StationLoginList userLoginStationLogins;
- internal StationList stations;
- internal StorageAreaList storageAreas;
- internal StreetDictionaryEntryList streetDictionaryEntries;
- internal SupplyItemLevelList supplyItemLevels;
- internal SupplyItemPurchaseDistributionList supplyItemPurchaseDistributions;
- internal SupplyItemPurchaseList supplyItemPurchases;
- internal SupplyItemList supplyItems;
- internal SupplyItemTypeList supplyItemTypes;
- internal SupplyItemUsageList supplyItemUsages;
- internal SuppressionFactorList suppressionFactors;
- internal SuspectedMotivationFactorList suspectedMotivationFactors;
- internal SuspectList suspects;
- internal SynchronizationRecordList synchronizationRecords;
- internal SynchronizerStatusList synchronizerStatuses;
- internal TableLookupList tableLookups;
- internal TrainingApparatusRecordList trainingApparatusRecords;
- internal TrainingCategoryList trainingCategories;
- internal TrainingCertificateDistributionList trainingCertificateDistributions;
- internal TrainingClassAttendanceRecordList trainingClassAttendanceRecords;
- internal TrainingClassAutoAssignmentList trainingClassAutoAssignments;
- internal TrainingClassList trainingClasses;
- internal TrainingClassInstructorList trainingClassInstructors;
- internal TrainingClassPrerequisiteList trainingClassPrerequisites;
- internal TrainingClassSessionInstructorList trainingClassSessionInstructors;
- internal TrainingClassSessionList trainingClassSessions;
- internal TrainingClassSessionTopicList trainingClassSessionTopics;
- internal TrainingClassTopicInstructorList trainingClassTopicInstructors;
- internal TrainingClassTopicList trainingClassTopics;
- internal TrainingClassTopicSessionInstructorList trainingClassTopicSessionInstructors;
- internal TrainingCourseClassList trainingCourseClasses;
- internal TrainingCourseInstructorList trainingCourseInstructors;
- internal TrainingCoursePrerequisiteList trainingCoursePrerequisites;
- internal TrainingCourseList trainingCourses;
- internal TrainingHourRequirementList trainingHourRequirements;
- internal TrainingInstructorList trainingInstructors;
- internal TrainingTopicList trainingTopics;
- internal UsedLaboratoryList usedLaboratories;
- internal UserLoginList userLogins;
- internal new UserPreferenceList userPreferences;
- internal UserPreferenceList userLoginUserPreferences;
- internal UserRoleList userRoles;
- internal UserRoleList userLoginUserRoles;
- internal UserSecurityLevelList userSecurityLevels;
- internal UserSecurityLevelList userLoginUserSecurityLevels;
- internal VendorList vendors;
- internal VendorTypeList vendorTypes;
- internal WildlandLocationList wildlandLocations;
- internal WitnessStatementList witnessStatements;
- internal WorkOrderItemList workOrderItems;
- internal WorkOrderPerformerList workOrderPerformers;
- internal WorkOrderReplacedFluidList workOrderReplacedFluids;
- internal WorkOrderReplacedPartList workOrderReplacedParts;
- internal WorkOrderList workOrders;
- internal ZipcodeDictionaryEntryList zipcodeDictionaryEntries;
- internal ZoneList zones;
- internal UserLogin createdByUserLogin;
- private UserPreferenceList preferences;
- private UserPreferenceList _effectiveUserPreferences;
- private IDbConnection _persistentConnection;
- public UserLoginRoleList roleResult;
- private EffectivePermissionList result;
- private RotationList _visibleRotations;
- private Guid? currentPersonnelRecordID;
- [SQLField(true)]
- [CustomReporting(Visibility.Reportable)]
- [CustomQuery(QueryStyle.Nonindexed)]
- public string UserName
- {
- get
- {
- return this.userName;
- }
- set
- {
- if (!(this.userName != value))
- return;
- this.userName = value;
- this.SetDataState("UserName");
- }
- }
- [CustomReporting(Visibility.Reportable)]
- [SQLField(true)]
- [CustomQuery(QueryStyle.Nonindexed)]
- public string Password
- {
- get
- {
- return this.password;
- }
- set
- {
- if (!(this.password != value))
- return;
- this.password = value;
- this.SetDataState("Password");
- }
- }
- [SQLField(true)]
- [CustomReporting(Visibility.Reportable)]
- [CustomQuery(QueryStyle.Nonindexed)]
- public string UserDisplayName
- {
- get
- {
- return this.userDisplayName;
- }
- set
- {
- if (this.userDisplayName != null && this.userDisplayName.Equals(value) && value != null)
- return;
- this.userDisplayName = value;
- this.SetDataState("UserDisplayName");
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public AgeDetailList AgeDetails
- {
- get
- {
- if (this.ageDetails == null)
- {
- this.ageDetails = new AgeDetailList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.ageDetails.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.ageDetails.parentObject = (object) this;
- }
- return this.ageDetails;
- }
- set
- {
- this.ageDetails = value;
- this.SetDataState("AgeDetails");
- if (value == null || value.parentObject != null)
- return;
- this.ageDetails.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public AgencyList Agencies
- {
- get
- {
- if (this.agencies == null)
- {
- this.agencies = new AgencyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.agencies.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.agencies.parentObject = (object) this;
- }
- return this.agencies;
- }
- set
- {
- this.agencies = value;
- this.SetDataState("Agencies");
- if (value == null || value.parentObject != null)
- return;
- this.agencies.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public AgencyReferralList AgencyReferrals
- {
- get
- {
- if (this.agencyReferrals == null)
- {
- this.agencyReferrals = new AgencyReferralList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.agencyReferrals.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.agencyReferrals.parentObject = (object) this;
- }
- return this.agencyReferrals;
- }
- set
- {
- this.agencyReferrals = value;
- this.SetDataState("AgencyReferrals");
- if (value == null || value.parentObject != null)
- return;
- this.agencyReferrals.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApparatusComponentInspectionList ApparatusComponentInspections
- {
- get
- {
- if (this.apparatusComponentInspections == null)
- {
- this.apparatusComponentInspections = new ApparatusComponentInspectionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.apparatusComponentInspections.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.apparatusComponentInspections.parentObject = (object) this;
- }
- return this.apparatusComponentInspections;
- }
- set
- {
- this.apparatusComponentInspections = value;
- this.SetDataState("ApparatusComponentInspections");
- if (value == null || value.parentObject != null)
- return;
- this.apparatusComponentInspections.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApparatusComponentList ApparatusComponents
- {
- get
- {
- if (this.apparatusComponents == null)
- {
- this.apparatusComponents = new ApparatusComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.apparatusComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.apparatusComponents.parentObject = (object) this;
- }
- return this.apparatusComponents;
- }
- set
- {
- this.apparatusComponents = value;
- this.SetDataState("ApparatusComponents");
- if (value == null || value.parentObject != null)
- return;
- this.apparatusComponents.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApparatusComponentTestList ApparatusComponentTests
- {
- get
- {
- if (this.apparatusComponentTests == null)
- {
- this.apparatusComponentTests = new ApparatusComponentTestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.apparatusComponentTests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.apparatusComponentTests.parentObject = (object) this;
- }
- return this.apparatusComponentTests;
- }
- set
- {
- this.apparatusComponentTests = value;
- this.SetDataState("ApparatusComponentTests");
- if (value == null || value.parentObject != null)
- return;
- this.apparatusComponentTests.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApparatusFluidList ApparatusFluids
- {
- get
- {
- if (this.apparatusFluids == null)
- {
- this.apparatusFluids = new ApparatusFluidList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.apparatusFluids.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.apparatusFluids.parentObject = (object) this;
- }
- return this.apparatusFluids;
- }
- set
- {
- this.apparatusFluids = value;
- this.SetDataState("ApparatusFluids");
- if (value == null || value.parentObject != null)
- return;
- this.apparatusFluids.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApparatusPartList ApparatusParts
- {
- get
- {
- if (this.apparatusParts == null)
- {
- this.apparatusParts = new ApparatusPartList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.apparatusParts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.apparatusParts.parentObject = (object) this;
- }
- return this.apparatusParts;
- }
- set
- {
- this.apparatusParts = value;
- this.SetDataState("ApparatusParts");
- if (value == null || value.parentObject != null)
- return;
- this.apparatusParts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ApparatusSlotList ApparatusSlots
- {
- get
- {
- if (this.apparatusSlots == null)
- {
- this.apparatusSlots = new ApparatusSlotList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.apparatusSlots.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.apparatusSlots.parentObject = (object) this;
- }
- return this.apparatusSlots;
- }
- set
- {
- this.apparatusSlots = value;
- this.SetDataState("ApparatusSlots");
- if (value == null || value.parentObject != null)
- return;
- this.apparatusSlots.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ApparentGroupInvolvmentFactorList ApparentGroupInvolvmentFactors
- {
- get
- {
- if (this.apparentGroupInvolvmentFactors == null)
- {
- this.apparentGroupInvolvmentFactors = new ApparentGroupInvolvmentFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.apparentGroupInvolvmentFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.apparentGroupInvolvmentFactors.parentObject = (object) this;
- }
- return this.apparentGroupInvolvmentFactors;
- }
- set
- {
- this.apparentGroupInvolvmentFactors = value;
- this.SetDataState("ApparentGroupInvolvmentFactors");
- if (value == null || value.parentObject != null)
- return;
- this.apparentGroupInvolvmentFactors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationActivityLogList ApplicationActivityLogs
- {
- get
- {
- if (this.applicationActivityLogs == null)
- {
- this.applicationActivityLogs = new ApplicationActivityLogList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationActivityLogs.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationActivityLogs.parentObject = (object) this;
- }
- return this.applicationActivityLogs;
- }
- set
- {
- this.applicationActivityLogs = value;
- this.SetDataState("ApplicationActivityLogs");
- if (value == null || value.parentObject != null)
- return;
- this.applicationActivityLogs.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ApplicationComponentPartList ApplicationComponentParts
- {
- get
- {
- if (this.applicationComponentParts == null)
- {
- this.applicationComponentParts = new ApplicationComponentPartList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationComponentParts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationComponentParts.parentObject = (object) this;
- }
- return this.applicationComponentParts;
- }
- set
- {
- this.applicationComponentParts = value;
- this.SetDataState("ApplicationComponentParts");
- if (value == null || value.parentObject != null)
- return;
- this.applicationComponentParts.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationComponentRoleList ApplicationComponentRoles
- {
- get
- {
- if (this.applicationComponentRoles == null)
- {
- this.applicationComponentRoles = new ApplicationComponentRoleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationComponentRoles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationComponentRoles.parentObject = (object) this;
- }
- return this.applicationComponentRoles;
- }
- set
- {
- this.applicationComponentRoles = value;
- this.SetDataState("ApplicationComponentRoles");
- if (value == null || value.parentObject != null)
- return;
- this.applicationComponentRoles.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ApplicationComponentList ApplicationComponents
- {
- get
- {
- if (this.applicationComponents == null)
- {
- this.applicationComponents = new ApplicationComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationComponents.parentObject = (object) this;
- }
- return this.applicationComponents;
- }
- set
- {
- this.applicationComponents = value;
- this.SetDataState("ApplicationComponents");
- if (value == null || value.parentObject != null)
- return;
- this.applicationComponents.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationMessageDestinationList ApplicationMessageDestinations
- {
- get
- {
- if (this.applicationMessageDestinations == null)
- {
- this.applicationMessageDestinations = new ApplicationMessageDestinationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationMessageDestinations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationMessageDestinations.parentObject = (object) this;
- }
- return this.applicationMessageDestinations;
- }
- set
- {
- this.applicationMessageDestinations = value;
- this.SetDataState("ApplicationMessageDestinations");
- if (value == null || value.parentObject != null)
- return;
- this.applicationMessageDestinations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ApplicationMessageDestinationList SendToUserApplicationMessageDestinations
- {
- get
- {
- if (this.sendToUserApplicationMessageDestinations == null)
- {
- this.sendToUserApplicationMessageDestinations = new ApplicationMessageDestinationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.sendToUserApplicationMessageDestinations.Reload("SendToUserID = '" + this.recordID.ToString() + "'");
- this.sendToUserApplicationMessageDestinations.parentObject = (object) this;
- }
- return this.sendToUserApplicationMessageDestinations;
- }
- set
- {
- this.sendToUserApplicationMessageDestinations = value;
- this.SetDataState("SendToUserApplicationMessageDestinations");
- if (value == null || value.parentObject != null)
- return;
- this.sendToUserApplicationMessageDestinations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationMessageDestinationList SendToUserNameApplicationMessageDestinations
- {
- get
- {
- if (this.sendToUserNameApplicationMessageDestinations == null)
- {
- this.sendToUserNameApplicationMessageDestinations = new ApplicationMessageDestinationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && !string.IsNullOrEmpty(this.userName))
- this.sendToUserNameApplicationMessageDestinations.Reload("SendToUserName = '" + this.userName.ToString() + "'");
- this.sendToUserNameApplicationMessageDestinations.parentObject = (object) this;
- }
- return this.sendToUserNameApplicationMessageDestinations;
- }
- set
- {
- this.sendToUserNameApplicationMessageDestinations = value;
- this.SetDataState("SendToUserNameApplicationMessageDestinations");
- if (value == null || value.parentObject != null)
- return;
- this.sendToUserNameApplicationMessageDestinations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationMessageRecipientList ApplicationMessageRecipients
- {
- get
- {
- if (this.applicationMessageRecipients == null)
- {
- this.applicationMessageRecipients = new ApplicationMessageRecipientList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationMessageRecipients.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationMessageRecipients.parentObject = (object) this;
- }
- return this.applicationMessageRecipients;
- }
- set
- {
- this.applicationMessageRecipients = value;
- this.SetDataState("ApplicationMessageRecipients");
- if (value == null || value.parentObject != null)
- return;
- this.applicationMessageRecipients.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationMessageRecipientList UserLoginApplicationMessageRecipients
- {
- get
- {
- if (this.userLoginApplicationMessageRecipients == null)
- {
- this.userLoginApplicationMessageRecipients = new ApplicationMessageRecipientList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginApplicationMessageRecipients.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginApplicationMessageRecipients.parentObject = (object) this;
- }
- return this.userLoginApplicationMessageRecipients;
- }
- set
- {
- this.userLoginApplicationMessageRecipients = value;
- this.SetDataState("UserLoginApplicationMessageRecipients");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginApplicationMessageRecipients.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationMessageList ApplicationMessages
- {
- get
- {
- if (this.applicationMessages == null)
- {
- this.applicationMessages = new ApplicationMessageList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationMessages.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationMessages.parentObject = (object) this;
- }
- return this.applicationMessages;
- }
- set
- {
- this.applicationMessages = value;
- this.SetDataState("ApplicationMessages");
- if (value == null || value.parentObject != null)
- return;
- this.applicationMessages.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ApplicationMessageList UserLoginApplicationMessages
- {
- get
- {
- if (this.userLoginApplicationMessages == null)
- {
- this.userLoginApplicationMessages = new ApplicationMessageList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginApplicationMessages.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginApplicationMessages.parentObject = (object) this;
- }
- return this.userLoginApplicationMessages;
- }
- set
- {
- this.userLoginApplicationMessages = value;
- this.SetDataState("UserLoginApplicationMessages");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginApplicationMessages.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationPermissionList ApplicationPermissions
- {
- get
- {
- if (this.applicationPermissions == null)
- {
- this.applicationPermissions = new ApplicationPermissionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationPermissions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationPermissions.parentObject = (object) this;
- }
- return this.applicationPermissions;
- }
- set
- {
- this.applicationPermissions = value;
- this.SetDataState("ApplicationPermissions");
- if (value == null || value.parentObject != null)
- return;
- this.applicationPermissions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationPreferenceList ApplicationPreferences
- {
- get
- {
- if (this.applicationPreferences == null)
- {
- this.applicationPreferences = new ApplicationPreferenceList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationPreferences.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationPreferences.parentObject = (object) this;
- }
- return this.applicationPreferences;
- }
- set
- {
- this.applicationPreferences = value;
- this.SetDataState("ApplicationPreferences");
- if (value == null || value.parentObject != null)
- return;
- this.applicationPreferences.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationRoleComponentList ApplicationRoleComponents
- {
- get
- {
- if (this.applicationRoleComponents == null)
- {
- this.applicationRoleComponents = new ApplicationRoleComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationRoleComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationRoleComponents.parentObject = (object) this;
- }
- return this.applicationRoleComponents;
- }
- set
- {
- this.applicationRoleComponents = value;
- this.SetDataState("ApplicationRoleComponents");
- if (value == null || value.parentObject != null)
- return;
- this.applicationRoleComponents.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationRolePermissionList ApplicationRolePermissions
- {
- get
- {
- if (this.applicationRolePermissions == null)
- {
- this.applicationRolePermissions = new ApplicationRolePermissionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationRolePermissions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationRolePermissions.parentObject = (object) this;
- }
- return this.applicationRolePermissions;
- }
- set
- {
- this.applicationRolePermissions = value;
- this.SetDataState("ApplicationRolePermissions");
- if (value == null || value.parentObject != null)
- return;
- this.applicationRolePermissions.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ApplicationRoleList ApplicationRoles
- {
- get
- {
- if (this.applicationRoles == null)
- {
- this.applicationRoles = new ApplicationRoleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationRoles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationRoles.parentObject = (object) this;
- }
- return this.applicationRoles;
- }
- set
- {
- this.applicationRoles = value;
- this.SetDataState("ApplicationRoles");
- if (value == null || value.parentObject != null)
- return;
- this.applicationRoles.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ApplicationRoleSubComponentList ApplicationRoleSubComponents
- {
- get
- {
- if (this.applicationRoleSubComponents == null)
- {
- this.applicationRoleSubComponents = new ApplicationRoleSubComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationRoleSubComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationRoleSubComponents.parentObject = (object) this;
- }
- return this.applicationRoleSubComponents;
- }
- set
- {
- this.applicationRoleSubComponents = value;
- this.SetDataState("ApplicationRoleSubComponents");
- if (value == null || value.parentObject != null)
- return;
- this.applicationRoleSubComponents.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ApplicationSubcomponentList ApplicationSubcomponents
- {
- get
- {
- if (this.applicationSubcomponents == null)
- {
- this.applicationSubcomponents = new ApplicationSubcomponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.applicationSubcomponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.applicationSubcomponents.parentObject = (object) this;
- }
- return this.applicationSubcomponents;
- }
- set
- {
- this.applicationSubcomponents = value;
- this.SetDataState("ApplicationSubcomponents");
- if (value == null || value.parentObject != null)
- return;
- this.applicationSubcomponents.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ArchivedReportList ArchivedReports
- {
- get
- {
- if (this.archivedReports == null)
- {
- this.archivedReports = new ArchivedReportList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.archivedReports.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.archivedReports.parentObject = (object) this;
- }
- return this.archivedReports;
- }
- set
- {
- this.archivedReports = value;
- this.SetDataState("ArchivedReports");
- if (value == null || value.parentObject != null)
- return;
- this.archivedReports.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public AreaHospitalList AreaHospitals
- {
- get
- {
- if (this.areaHospitals == null)
- {
- this.areaHospitals = new AreaHospitalList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.areaHospitals.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.areaHospitals.parentObject = (object) this;
- }
- return this.areaHospitals;
- }
- set
- {
- this.areaHospitals = value;
- this.SetDataState("AreaHospitals");
- if (value == null || value.parentObject != null)
- return;
- this.areaHospitals.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ArrestList Arrests
- {
- get
- {
- if (this.arrests == null)
- {
- this.arrests = new ArrestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.arrests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.arrests.parentObject = (object) this;
- }
- return this.arrests;
- }
- set
- {
- this.arrests = value;
- this.SetDataState("Arrests");
- if (value == null || value.parentObject != null)
- return;
- this.arrests.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ArsonMotivationOrRiskFactorList ArsonMotivationOrRiskFactors
- {
- get
- {
- if (this.arsonMotivationOrRiskFactors == null)
- {
- this.arsonMotivationOrRiskFactors = new ArsonMotivationOrRiskFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.arsonMotivationOrRiskFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.arsonMotivationOrRiskFactors.parentObject = (object) this;
- }
- return this.arsonMotivationOrRiskFactors;
- }
- set
- {
- this.arsonMotivationOrRiskFactors = value;
- this.SetDataState("ArsonMotivationOrRiskFactors");
- if (value == null || value.parentObject != null)
- return;
- this.arsonMotivationOrRiskFactors.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ArsonRecordList ArsonRecords
- {
- get
- {
- if (this.arsonRecords == null)
- {
- this.arsonRecords = new ArsonRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.arsonRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.arsonRecords.parentObject = (object) this;
- }
- return this.arsonRecords;
- }
- set
- {
- this.arsonRecords = value;
- this.SetDataState("ArsonRecords");
- if (value == null || value.parentObject != null)
- return;
- this.arsonRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ArsonSubjectList ArsonSubjects
- {
- get
- {
- if (this.arsonSubjects == null)
- {
- this.arsonSubjects = new ArsonSubjectList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.arsonSubjects.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.arsonSubjects.parentObject = (object) this;
- }
- return this.arsonSubjects;
- }
- set
- {
- this.arsonSubjects = value;
- this.SetDataState("ArsonSubjects");
- if (value == null || value.parentObject != null)
- return;
- this.arsonSubjects.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public AssetAcquisitionList AssetAcquisitions
- {
- get
- {
- if (this.assetAcquisitions == null)
- {
- this.assetAcquisitions = new AssetAcquisitionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.assetAcquisitions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.assetAcquisitions.parentObject = (object) this;
- }
- return this.assetAcquisitions;
- }
- set
- {
- this.assetAcquisitions = value;
- this.SetDataState("AssetAcquisitions");
- if (value == null || value.parentObject != null)
- return;
- this.assetAcquisitions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public AssetDispositionList AssetDispositions
- {
- get
- {
- if (this.assetDispositions == null)
- {
- this.assetDispositions = new AssetDispositionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.assetDispositions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.assetDispositions.parentObject = (object) this;
- }
- return this.assetDispositions;
- }
- set
- {
- this.assetDispositions = value;
- this.SetDataState("AssetDispositions");
- if (value == null || value.parentObject != null)
- return;
- this.assetDispositions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public AssignedInspectorList AssignedInspectors
- {
- get
- {
- if (this.assignedInspectors == null)
- {
- this.assignedInspectors = new AssignedInspectorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.assignedInspectors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.assignedInspectors.parentObject = (object) this;
- }
- return this.assignedInspectors;
- }
- set
- {
- this.assignedInspectors = value;
- this.SetDataState("AssignedInspectors");
- if (value == null || value.parentObject != null)
- return;
- this.assignedInspectors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public AutopsyList Autopsies
- {
- get
- {
- if (this.autopsies == null)
- {
- this.autopsies = new AutopsyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.autopsies.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.autopsies.parentObject = (object) this;
- }
- return this.autopsies;
- }
- set
- {
- this.autopsies = value;
- this.SetDataState("Autopsies");
- if (value == null || value.parentObject != null)
- return;
- this.autopsies.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public AutopsyRemovedObjectList AutopsyRemovedObjects
- {
- get
- {
- if (this.autopsyRemovedObjects == null)
- {
- this.autopsyRemovedObjects = new AutopsyRemovedObjectList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.autopsyRemovedObjects.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.autopsyRemovedObjects.parentObject = (object) this;
- }
- return this.autopsyRemovedObjects;
- }
- set
- {
- this.autopsyRemovedObjects = value;
- this.SetDataState("AutopsyRemovedObjects");
- if (value == null || value.parentObject != null)
- return;
- this.autopsyRemovedObjects.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public AutopsySpecimenList AutopsySpecimens
- {
- get
- {
- if (this.autopsySpecimens == null)
- {
- this.autopsySpecimens = new AutopsySpecimenList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.autopsySpecimens.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.autopsySpecimens.parentObject = (object) this;
- }
- return this.autopsySpecimens;
- }
- set
- {
- this.autopsySpecimens = value;
- this.SetDataState("AutopsySpecimens");
- if (value == null || value.parentObject != null)
- return;
- this.autopsySpecimens.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public AutopsyWitnessList AutopsyWitnesses
- {
- get
- {
- if (this.autopsyWitnesses == null)
- {
- this.autopsyWitnesses = new AutopsyWitnessList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.autopsyWitnesses.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.autopsyWitnesses.parentObject = (object) this;
- }
- return this.autopsyWitnesses;
- }
- set
- {
- this.autopsyWitnesses = value;
- this.SetDataState("AutopsyWitnesses");
- if (value == null || value.parentObject != null)
- return;
- this.autopsyWitnesses.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public BattalionList Battalions
- {
- get
- {
- if (this.battalions == null)
- {
- this.battalions = new BattalionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.battalions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.battalions.parentObject = (object) this;
- }
- return this.battalions;
- }
- set
- {
- this.battalions = value;
- this.SetDataState("Battalions");
- if (value == null || value.parentObject != null)
- return;
- this.battalions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public BodyInjurySiteList BodyInjurySites
- {
- get
- {
- if (this.bodyInjurySites == null)
- {
- this.bodyInjurySites = new BodyInjurySiteList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.bodyInjurySites.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.bodyInjurySites.parentObject = (object) this;
- }
- return this.bodyInjurySites;
- }
- set
- {
- this.bodyInjurySites = value;
- this.SetDataState("BodyInjurySites");
- if (value == null || value.parentObject != null)
- return;
- this.bodyInjurySites.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public BombActionsTakenList BombActionsTaken
- {
- get
- {
- if (this.bombActionsTaken == null)
- {
- this.bombActionsTaken = new BombActionsTakenList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.bombActionsTaken.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.bombActionsTaken.parentObject = (object) this;
- }
- return this.bombActionsTaken;
- }
- set
- {
- this.bombActionsTaken = value;
- this.SetDataState("BombActionsTaken");
- if (value == null || value.parentObject != null)
- return;
- this.bombActionsTaken.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public BombList Bombs
- {
- get
- {
- if (this.bombs == null)
- {
- this.bombs = new BombList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.bombs.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.bombs.parentObject = (object) this;
- }
- return this.bombs;
- }
- set
- {
- this.bombs = value;
- this.SetDataState("Bombs");
- if (value == null || value.parentObject != null)
- return;
- this.bombs.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public BombThreatList BombThreats
- {
- get
- {
- if (this.bombThreats == null)
- {
- this.bombThreats = new BombThreatList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.bombThreats.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.bombThreats.parentObject = (object) this;
- }
- return this.bombThreats;
- }
- set
- {
- this.bombThreats = value;
- this.SetDataState("BombThreats");
- if (value == null || value.parentObject != null)
- return;
- this.bombThreats.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public BurnedCropList BurnedCrops
- {
- get
- {
- if (this.burnedCrops == null)
- {
- this.burnedCrops = new BurnedCropList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.burnedCrops.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.burnedCrops.parentObject = (object) this;
- }
- return this.burnedCrops;
- }
- set
- {
- this.burnedCrops = value;
- this.SetDataState("BurnedCrops");
- if (value == null || value.parentObject != null)
- return;
- this.burnedCrops.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public BusinessEntityList BusinessEntities
- {
- get
- {
- if (this.businessEntities == null)
- {
- this.businessEntities = new BusinessEntityList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.businessEntities.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.businessEntities.parentObject = (object) this;
- }
- return this.businessEntities;
- }
- set
- {
- this.businessEntities = value;
- this.SetDataState("BusinessEntities");
- if (value == null || value.parentObject != null)
- return;
- this.businessEntities.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CardiacArrestPreArrivalDetailList CardiacArrestPreArrivalDetails
- {
- get
- {
- if (this.cardiacArrestPreArrivalDetails == null)
- {
- this.cardiacArrestPreArrivalDetails = new CardiacArrestPreArrivalDetailList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.cardiacArrestPreArrivalDetails.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.cardiacArrestPreArrivalDetails.parentObject = (object) this;
- }
- return this.cardiacArrestPreArrivalDetails;
- }
- set
- {
- this.cardiacArrestPreArrivalDetails = value;
- this.SetDataState("CardiacArrestPreArrivalDetails");
- if (value == null || value.parentObject != null)
- return;
- this.cardiacArrestPreArrivalDetails.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CaseEvidenceItemList CaseEvidenceItems
- {
- get
- {
- if (this.caseEvidenceItems == null)
- {
- this.caseEvidenceItems = new CaseEvidenceItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.caseEvidenceItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.caseEvidenceItems.parentObject = (object) this;
- }
- return this.caseEvidenceItems;
- }
- set
- {
- this.caseEvidenceItems = value;
- this.SetDataState("CaseEvidenceItems");
- if (value == null || value.parentObject != null)
- return;
- this.caseEvidenceItems.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CaseInvestigatorList CaseInvestigators
- {
- get
- {
- if (this.caseInvestigators == null)
- {
- this.caseInvestigators = new CaseInvestigatorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.caseInvestigators.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.caseInvestigators.parentObject = (object) this;
- }
- return this.caseInvestigators;
- }
- set
- {
- this.caseInvestigators = value;
- this.SetDataState("CaseInvestigators");
- if (value == null || value.parentObject != null)
- return;
- this.caseInvestigators.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CertificateList Certificates
- {
- get
- {
- if (this.certificates == null)
- {
- this.certificates = new CertificateList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.certificates.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.certificates.parentObject = (object) this;
- }
- return this.certificates;
- }
- set
- {
- this.certificates = value;
- this.SetDataState("Certificates");
- if (value == null || value.parentObject != null)
- return;
- this.certificates.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CertificateTypeRequirementList CertificateTypeRequirements
- {
- get
- {
- if (this.certificateTypeRequirements == null)
- {
- this.certificateTypeRequirements = new CertificateTypeRequirementList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.certificateTypeRequirements.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.certificateTypeRequirements.parentObject = (object) this;
- }
- return this.certificateTypeRequirements;
- }
- set
- {
- this.certificateTypeRequirements = value;
- this.SetDataState("CertificateTypeRequirements");
- if (value == null || value.parentObject != null)
- return;
- this.certificateTypeRequirements.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CertificateTypeList CertificateTypes
- {
- get
- {
- if (this.certificateTypes == null)
- {
- this.certificateTypes = new CertificateTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.certificateTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.certificateTypes.parentObject = (object) this;
- }
- return this.certificateTypes;
- }
- set
- {
- this.certificateTypes = value;
- this.SetDataState("CertificateTypes");
- if (value == null || value.parentObject != null)
- return;
- this.certificateTypes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CertificationGradeList CertificationGrades
- {
- get
- {
- if (this.certificationGrades == null)
- {
- this.certificationGrades = new CertificationGradeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.certificationGrades.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.certificationGrades.parentObject = (object) this;
- }
- return this.certificationGrades;
- }
- set
- {
- this.certificationGrades = value;
- this.SetDataState("CertificationGrades");
- if (value == null || value.parentObject != null)
- return;
- this.certificationGrades.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CertificationList Certifications
- {
- get
- {
- if (this.certifications == null)
- {
- this.certifications = new CertificationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.certifications.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.certifications.parentObject = (object) this;
- }
- return this.certifications;
- }
- set
- {
- this.certifications = value;
- this.SetDataState("Certifications");
- if (value == null || value.parentObject != null)
- return;
- this.certifications.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CivilianCasualtyList CivilianCasualties
- {
- get
- {
- if (this.civilianCasualties == null)
- {
- this.civilianCasualties = new CivilianCasualtyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.civilianCasualties.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.civilianCasualties.parentObject = (object) this;
- }
- return this.civilianCasualties;
- }
- set
- {
- this.civilianCasualties = value;
- this.SetDataState("CivilianCasualties");
- if (value == null || value.parentObject != null)
- return;
- this.civilianCasualties.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ComponentLoggingLevelList ComponentLoggingLevels
- {
- get
- {
- if (this.componentLoggingLevels == null)
- {
- this.componentLoggingLevels = new ComponentLoggingLevelList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.componentLoggingLevels.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.componentLoggingLevels.parentObject = (object) this;
- }
- return this.componentLoggingLevels;
- }
- set
- {
- this.componentLoggingLevels = value;
- this.SetDataState("ComponentLoggingLevels");
- if (value == null || value.parentObject != null)
- return;
- this.componentLoggingLevels.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ComponentSecurityLevelList ComponentSecurityLevels
- {
- get
- {
- if (this.componentSecurityLevels == null)
- {
- this.componentSecurityLevels = new ComponentSecurityLevelList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.componentSecurityLevels.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.componentSecurityLevels.parentObject = (object) this;
- }
- return this.componentSecurityLevels;
- }
- set
- {
- this.componentSecurityLevels = value;
- this.SetDataState("ComponentSecurityLevels");
- if (value == null || value.parentObject != null)
- return;
- this.componentSecurityLevels.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ComponentSecurityLevelList UserLoginComponentSecurityLevels
- {
- get
- {
- if (this.userLoginComponentSecurityLevels == null)
- {
- this.userLoginComponentSecurityLevels = new ComponentSecurityLevelList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginComponentSecurityLevels.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginComponentSecurityLevels.parentObject = (object) this;
- }
- return this.userLoginComponentSecurityLevels;
- }
- set
- {
- this.userLoginComponentSecurityLevels = value;
- this.SetDataState("UserLoginComponentSecurityLevels");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginComponentSecurityLevels.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ContactMethodList ContactMethods
- {
- get
- {
- if (this.contactMethods == null)
- {
- this.contactMethods = new ContactMethodList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.contactMethods.Reload("ForRecordID = '" + this.recordID.ToString() + "'");
- this.contactMethods.parentObject = (object) this;
- }
- return this.contactMethods;
- }
- set
- {
- this.contactMethods = value;
- this.SetDataState("ContactMethods");
- if (value == null || value.parentObject != null)
- return;
- this.contactMethods.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ContributedToIgnitionFactorList ContributedToIgnitionFactors
- {
- get
- {
- if (this.contributedToIgnitionFactors == null)
- {
- this.contributedToIgnitionFactors = new ContributedToIgnitionFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.contributedToIgnitionFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.contributedToIgnitionFactors.parentObject = (object) this;
- }
- return this.contributedToIgnitionFactors;
- }
- set
- {
- this.contributedToIgnitionFactors = value;
- this.SetDataState("ContributedToIgnitionFactors");
- if (value == null || value.parentObject != null)
- return;
- this.contributedToIgnitionFactors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ContributingInjuryFactorList ContributingInjuryFactors
- {
- get
- {
- if (this.contributingInjuryFactors == null)
- {
- this.contributingInjuryFactors = new ContributingInjuryFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.contributingInjuryFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.contributingInjuryFactors.parentObject = (object) this;
- }
- return this.contributingInjuryFactors;
- }
- set
- {
- this.contributingInjuryFactors = value;
- this.SetDataState("ContributingInjuryFactors");
- if (value == null || value.parentObject != null)
- return;
- this.contributingInjuryFactors.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CoverageAreaList CoverageAreas
- {
- get
- {
- if (this.coverageAreas == null)
- {
- this.coverageAreas = new CoverageAreaList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.coverageAreas.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.coverageAreas.parentObject = (object) this;
- }
- return this.coverageAreas;
- }
- set
- {
- this.coverageAreas = value;
- this.SetDataState("CoverageAreas");
- if (value == null || value.parentObject != null)
- return;
- this.coverageAreas.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CustomDictionaryEntryList CustomDictionaryEntries
- {
- get
- {
- if (this.customDictionaryEntries == null)
- {
- this.customDictionaryEntries = new CustomDictionaryEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customDictionaryEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customDictionaryEntries.parentObject = (object) this;
- }
- return this.customDictionaryEntries;
- }
- set
- {
- this.customDictionaryEntries = value;
- this.SetDataState("CustomDictionaryEntries");
- if (value == null || value.parentObject != null)
- return;
- this.customDictionaryEntries.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CustomerContactList CustomerContacts
- {
- get
- {
- if (this.customerContacts == null)
- {
- this.customerContacts = new CustomerContactList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customerContacts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customerContacts.parentObject = (object) this;
- }
- return this.customerContacts;
- }
- set
- {
- this.customerContacts = value;
- this.SetDataState("CustomerContacts");
- if (value == null || value.parentObject != null)
- return;
- this.customerContacts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CustomerLoginComponentList CustomerLoginComponents
- {
- get
- {
- if (this.customerLoginComponents == null)
- {
- this.customerLoginComponents = new CustomerLoginComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customerLoginComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customerLoginComponents.parentObject = (object) this;
- }
- return this.customerLoginComponents;
- }
- set
- {
- this.customerLoginComponents = value;
- this.SetDataState("CustomerLoginComponents");
- if (value == null || value.parentObject != null)
- return;
- this.customerLoginComponents.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CustomerLoginPermissionList CustomerLoginPermissions
- {
- get
- {
- if (this.customerLoginPermissions == null)
- {
- this.customerLoginPermissions = new CustomerLoginPermissionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customerLoginPermissions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customerLoginPermissions.parentObject = (object) this;
- }
- return this.customerLoginPermissions;
- }
- set
- {
- this.customerLoginPermissions = value;
- this.SetDataState("CustomerLoginPermissions");
- if (value == null || value.parentObject != null)
- return;
- this.customerLoginPermissions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CustomerLoginRoleList CustomerLoginRoles
- {
- get
- {
- if (this.customerLoginRoles == null)
- {
- this.customerLoginRoles = new CustomerLoginRoleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customerLoginRoles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customerLoginRoles.parentObject = (object) this;
- }
- return this.customerLoginRoles;
- }
- set
- {
- this.customerLoginRoles = value;
- this.SetDataState("CustomerLoginRoles");
- if (value == null || value.parentObject != null)
- return;
- this.customerLoginRoles.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CustomerLoginList CustomerLogins
- {
- get
- {
- if (this.customerLogins == null)
- {
- this.customerLogins = new CustomerLoginList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customerLogins.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customerLogins.parentObject = (object) this;
- }
- return this.customerLogins;
- }
- set
- {
- this.customerLogins = value;
- this.SetDataState("CustomerLogins");
- if (value == null || value.parentObject != null)
- return;
- this.customerLogins.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CustomerLoginList UserLoginCustomerLogins
- {
- get
- {
- if (this.userLoginCustomerLogins == null)
- {
- this.userLoginCustomerLogins = new CustomerLoginList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginCustomerLogins.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginCustomerLogins.parentObject = (object) this;
- }
- return this.userLoginCustomerLogins;
- }
- set
- {
- this.userLoginCustomerLogins = value;
- this.SetDataState("UserLoginCustomerLogins");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginCustomerLogins.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CustomerLoginSubcomponentList CustomerLoginSubcomponents
- {
- get
- {
- if (this.customerLoginSubcomponents == null)
- {
- this.customerLoginSubcomponents = new CustomerLoginSubcomponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customerLoginSubcomponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customerLoginSubcomponents.parentObject = (object) this;
- }
- return this.customerLoginSubcomponents;
- }
- set
- {
- this.customerLoginSubcomponents = value;
- this.SetDataState("CustomerLoginSubcomponents");
- if (value == null || value.parentObject != null)
- return;
- this.customerLoginSubcomponents.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CustomerList Customers
- {
- get
- {
- if (this.customers == null)
- {
- this.customers = new CustomerList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customers.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customers.parentObject = (object) this;
- }
- return this.customers;
- }
- set
- {
- this.customers = value;
- this.SetDataState("Customers");
- if (value == null || value.parentObject != null)
- return;
- this.customers.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public new CustomFieldList CustomFields
- {
- get
- {
- if (this.customFields == null)
- {
- this.customFields = new CustomFieldList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customFields.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customFields.parentObject = (object) this;
- }
- return this.customFields;
- }
- set
- {
- this.customFields = value;
- this.SetDataState("CustomFields");
- if (value == null || value.parentObject != null)
- return;
- this.customFields.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CustomFieldValueList CustomFieldValues
- {
- get
- {
- if (this.customFieldValues == null)
- {
- this.customFieldValues = new CustomFieldValueList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customFieldValues.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customFieldValues.parentObject = (object) this;
- }
- return this.customFieldValues;
- }
- set
- {
- this.customFieldValues = value;
- this.SetDataState("CustomFieldValues");
- if (value == null || value.parentObject != null)
- return;
- this.customFieldValues.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CustomNFIRSTextEntryList CustomNFIRSTextEntries
- {
- get
- {
- if (this.customNFIRSTextEntries == null)
- {
- this.customNFIRSTextEntries = new CustomNFIRSTextEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customNFIRSTextEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customNFIRSTextEntries.parentObject = (object) this;
- }
- return this.customNFIRSTextEntries;
- }
- set
- {
- this.customNFIRSTextEntries = value;
- this.SetDataState("CustomNFIRSTextEntries");
- if (value == null || value.parentObject != null)
- return;
- this.customNFIRSTextEntries.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public CustomSchedulingCalculationList CustomSchedulingCalculations
- {
- get
- {
- if (this.customSchedulingCalculations == null)
- {
- this.customSchedulingCalculations = new CustomSchedulingCalculationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customSchedulingCalculations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customSchedulingCalculations.parentObject = (object) this;
- }
- return this.customSchedulingCalculations;
- }
- set
- {
- this.customSchedulingCalculations = value;
- this.SetDataState("CustomSchedulingCalculations");
- if (value == null || value.parentObject != null)
- return;
- this.customSchedulingCalculations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public CustomSchedulingEnteredValueList CustomSchedulingEnteredValues
- {
- get
- {
- if (this.customSchedulingEnteredValues == null)
- {
- this.customSchedulingEnteredValues = new CustomSchedulingEnteredValueList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.customSchedulingEnteredValues.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.customSchedulingEnteredValues.parentObject = (object) this;
- }
- return this.customSchedulingEnteredValues;
- }
- set
- {
- this.customSchedulingEnteredValues = value;
- this.SetDataState("CustomSchedulingEnteredValues");
- if (value == null || value.parentObject != null)
- return;
- this.customSchedulingEnteredValues.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public DailyLogApparatusEntryList DailyLogApparatusEntries
- {
- get
- {
- if (this.dailyLogApparatusEntries == null)
- {
- this.dailyLogApparatusEntries = new DailyLogApparatusEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.dailyLogApparatusEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.dailyLogApparatusEntries.parentObject = (object) this;
- }
- return this.dailyLogApparatusEntries;
- }
- set
- {
- this.dailyLogApparatusEntries = value;
- this.SetDataState("DailyLogApparatusEntries");
- if (value == null || value.parentObject != null)
- return;
- this.dailyLogApparatusEntries.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public DailyLogEntryList DailyLogEntries
- {
- get
- {
- if (this.dailyLogEntries == null)
- {
- this.dailyLogEntries = new DailyLogEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.dailyLogEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.dailyLogEntries.parentObject = (object) this;
- }
- return this.dailyLogEntries;
- }
- set
- {
- this.dailyLogEntries = value;
- this.SetDataState("DailyLogEntries");
- if (value == null || value.parentObject != null)
- return;
- this.dailyLogEntries.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public DailyLogEntryTypeList DailyLogEntryTypes
- {
- get
- {
- if (this.dailyLogEntryTypes == null)
- {
- this.dailyLogEntryTypes = new DailyLogEntryTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.dailyLogEntryTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.dailyLogEntryTypes.parentObject = (object) this;
- }
- return this.dailyLogEntryTypes;
- }
- set
- {
- this.dailyLogEntryTypes = value;
- this.SetDataState("DailyLogEntryTypes");
- if (value == null || value.parentObject != null)
- return;
- this.dailyLogEntryTypes.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DailyLogPersonnelEntryList DailyLogPersonnelEntries
- {
- get
- {
- if (this.dailyLogPersonnelEntries == null)
- {
- this.dailyLogPersonnelEntries = new DailyLogPersonnelEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.dailyLogPersonnelEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.dailyLogPersonnelEntries.parentObject = (object) this;
- }
- return this.dailyLogPersonnelEntries;
- }
- set
- {
- this.dailyLogPersonnelEntries = value;
- this.SetDataState("DailyLogPersonnelEntries");
- if (value == null || value.parentObject != null)
- return;
- this.dailyLogPersonnelEntries.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DailyLogShiftEntryList DailyLogShiftEntries
- {
- get
- {
- if (this.dailyLogShiftEntries == null)
- {
- this.dailyLogShiftEntries = new DailyLogShiftEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.dailyLogShiftEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.dailyLogShiftEntries.parentObject = (object) this;
- }
- return this.dailyLogShiftEntries;
- }
- set
- {
- this.dailyLogShiftEntries = value;
- this.SetDataState("DailyLogShiftEntries");
- if (value == null || value.parentObject != null)
- return;
- this.dailyLogShiftEntries.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DailyLogStationEntryList DailyLogStationEntries
- {
- get
- {
- if (this.dailyLogStationEntries == null)
- {
- this.dailyLogStationEntries = new DailyLogStationEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.dailyLogStationEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.dailyLogStationEntries.parentObject = (object) this;
- }
- return this.dailyLogStationEntries;
- }
- set
- {
- this.dailyLogStationEntries = value;
- this.SetDataState("DailyLogStationEntries");
- if (value == null || value.parentObject != null)
- return;
- this.dailyLogStationEntries.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DailyLogUsedEquipmentItemList DailyLogUsedEquipmentItems
- {
- get
- {
- if (this.dailyLogUsedEquipmentItems == null)
- {
- this.dailyLogUsedEquipmentItems = new DailyLogUsedEquipmentItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.dailyLogUsedEquipmentItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.dailyLogUsedEquipmentItems.parentObject = (object) this;
- }
- return this.dailyLogUsedEquipmentItems;
- }
- set
- {
- this.dailyLogUsedEquipmentItems = value;
- this.SetDataState("DailyLogUsedEquipmentItems");
- if (value == null || value.parentObject != null)
- return;
- this.dailyLogUsedEquipmentItems.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public DailyLogUsedSupplyItemList DailyLogUsedSupplyItems
- {
- get
- {
- if (this.dailyLogUsedSupplyItems == null)
- {
- this.dailyLogUsedSupplyItems = new DailyLogUsedSupplyItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.dailyLogUsedSupplyItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.dailyLogUsedSupplyItems.parentObject = (object) this;
- }
- return this.dailyLogUsedSupplyItems;
- }
- set
- {
- this.dailyLogUsedSupplyItems = value;
- this.SetDataState("DailyLogUsedSupplyItems");
- if (value == null || value.parentObject != null)
- return;
- this.dailyLogUsedSupplyItems.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public DepartmentFDIDList DepartmentFDIDs
- {
- get
- {
- if (this.departmentFDIDs == null)
- {
- this.departmentFDIDs = new DepartmentFDIDList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.departmentFDIDs.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.departmentFDIDs.parentObject = (object) this;
- }
- return this.departmentFDIDs;
- }
- set
- {
- this.departmentFDIDs = value;
- this.SetDataState("DepartmentFDIDs");
- if (value == null || value.parentObject != null)
- return;
- this.departmentFDIDs.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public DepartmentLoginComponentList DepartmentLoginComponents
- {
- get
- {
- if (this.departmentLoginComponents == null)
- {
- this.departmentLoginComponents = new DepartmentLoginComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.departmentLoginComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.departmentLoginComponents.parentObject = (object) this;
- }
- return this.departmentLoginComponents;
- }
- set
- {
- this.departmentLoginComponents = value;
- this.SetDataState("DepartmentLoginComponents");
- if (value == null || value.parentObject != null)
- return;
- this.departmentLoginComponents.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DepartmentLoginPermissionList DepartmentLoginPermissions
- {
- get
- {
- if (this.departmentLoginPermissions == null)
- {
- this.departmentLoginPermissions = new DepartmentLoginPermissionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.departmentLoginPermissions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.departmentLoginPermissions.parentObject = (object) this;
- }
- return this.departmentLoginPermissions;
- }
- set
- {
- this.departmentLoginPermissions = value;
- this.SetDataState("DepartmentLoginPermissions");
- if (value == null || value.parentObject != null)
- return;
- this.departmentLoginPermissions.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DepartmentLoginRoleList DepartmentLoginRoles
- {
- get
- {
- if (this.departmentLoginRoles == null)
- {
- this.departmentLoginRoles = new DepartmentLoginRoleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.departmentLoginRoles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.departmentLoginRoles.parentObject = (object) this;
- }
- return this.departmentLoginRoles;
- }
- set
- {
- this.departmentLoginRoles = value;
- this.SetDataState("DepartmentLoginRoles");
- if (value == null || value.parentObject != null)
- return;
- this.departmentLoginRoles.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DepartmentLoginList DepartmentLogins
- {
- get
- {
- if (this.departmentLogins == null)
- {
- this.departmentLogins = new DepartmentLoginList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.departmentLogins.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.departmentLogins.parentObject = (object) this;
- }
- return this.departmentLogins;
- }
- set
- {
- this.departmentLogins = value;
- this.SetDataState("DepartmentLogins");
- if (value == null || value.parentObject != null)
- return;
- this.departmentLogins.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public DepartmentLoginList UserLoginDepartmentLogins
- {
- get
- {
- if (this.userLoginDepartmentLogins == null)
- {
- this.userLoginDepartmentLogins = new DepartmentLoginList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginDepartmentLogins.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginDepartmentLogins.parentObject = (object) this;
- }
- return this.userLoginDepartmentLogins;
- }
- set
- {
- this.userLoginDepartmentLogins = value;
- this.SetDataState("UserLoginDepartmentLogins");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginDepartmentLogins.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DepartmentLoginSubcomponentList DepartmentLoginSubcomponents
- {
- get
- {
- if (this.departmentLoginSubcomponents == null)
- {
- this.departmentLoginSubcomponents = new DepartmentLoginSubcomponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.departmentLoginSubcomponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.departmentLoginSubcomponents.parentObject = (object) this;
- }
- return this.departmentLoginSubcomponents;
- }
- set
- {
- this.departmentLoginSubcomponents = value;
- this.SetDataState("DepartmentLoginSubcomponents");
- if (value == null || value.parentObject != null)
- return;
- this.departmentLoginSubcomponents.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public DisciplinaryReportList DisciplinaryReports
- {
- get
- {
- if (this.disciplinaryReports == null)
- {
- this.disciplinaryReports = new DisciplinaryReportList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.disciplinaryReports.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.disciplinaryReports.parentObject = (object) this;
- }
- return this.disciplinaryReports;
- }
- set
- {
- this.disciplinaryReports = value;
- this.SetDataState("DisciplinaryReports");
- if (value == null || value.parentObject != null)
- return;
- this.disciplinaryReports.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public DistrictList Districts
- {
- get
- {
- if (this.districts == null)
- {
- this.districts = new DistrictList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.districts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.districts.parentObject = (object) this;
- }
- return this.districts;
- }
- set
- {
- this.districts = value;
- this.SetDataState("Districts");
- if (value == null || value.parentObject != null)
- return;
- this.districts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public EmploymentCategorySchedulingConstraintList EmploymentCategorySchedulingConstraints
- {
- get
- {
- if (this.employmentCategorySchedulingConstraints == null)
- {
- this.employmentCategorySchedulingConstraints = new EmploymentCategorySchedulingConstraintList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.employmentCategorySchedulingConstraints.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.employmentCategorySchedulingConstraints.parentObject = (object) this;
- }
- return this.employmentCategorySchedulingConstraints;
- }
- set
- {
- this.employmentCategorySchedulingConstraints = value;
- this.SetDataState("EmploymentCategorySchedulingConstraints");
- if (value == null || value.parentObject != null)
- return;
- this.employmentCategorySchedulingConstraints.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public EMSPatientList EMSPatients
- {
- get
- {
- if (this.eMSPatients == null)
- {
- this.eMSPatients = new EMSPatientList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.eMSPatients.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.eMSPatients.parentObject = (object) this;
- }
- return this.eMSPatients;
- }
- set
- {
- this.eMSPatients = value;
- this.SetDataState("EMSPatients");
- if (value == null || value.parentObject != null)
- return;
- this.eMSPatients.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public EPADictionaryEntryList EPADictionaryEntries
- {
- get
- {
- if (this.ePADictionaryEntries == null)
- {
- this.ePADictionaryEntries = new EPADictionaryEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.ePADictionaryEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.ePADictionaryEntries.parentObject = (object) this;
- }
- return this.ePADictionaryEntries;
- }
- set
- {
- this.ePADictionaryEntries = value;
- this.SetDataState("EPADictionaryEntries");
- if (value == null || value.parentObject != null)
- return;
- this.ePADictionaryEntries.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public EquipmentConditionRecordList EquipmentConditionRecords
- {
- get
- {
- if (this.equipmentConditionRecords == null)
- {
- this.equipmentConditionRecords = new EquipmentConditionRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentConditionRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentConditionRecords.parentObject = (object) this;
- }
- return this.equipmentConditionRecords;
- }
- set
- {
- this.equipmentConditionRecords = value;
- this.SetDataState("EquipmentConditionRecords");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentConditionRecords.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public EquipmentConditionList EquipmentConditions
- {
- get
- {
- if (this.equipmentConditions == null)
- {
- this.equipmentConditions = new EquipmentConditionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentConditions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentConditions.parentObject = (object) this;
- }
- return this.equipmentConditions;
- }
- set
- {
- this.equipmentConditions = value;
- this.SetDataState("EquipmentConditions");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentConditions.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public EquipmentItemInspectionList EquipmentItemInspections
- {
- get
- {
- if (this.equipmentItemInspections == null)
- {
- this.equipmentItemInspections = new EquipmentItemInspectionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentItemInspections.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentItemInspections.parentObject = (object) this;
- }
- return this.equipmentItemInspections;
- }
- set
- {
- this.equipmentItemInspections = value;
- this.SetDataState("EquipmentItemInspections");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentItemInspections.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public EquipmentItemList EquipmentItems
- {
- get
- {
- if (this.equipmentItems == null)
- {
- this.equipmentItems = new EquipmentItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentItems.parentObject = (object) this;
- }
- return this.equipmentItems;
- }
- set
- {
- this.equipmentItems = value;
- this.SetDataState("EquipmentItems");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentItems.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public EquipmentItemSizeList EquipmentItemSizes
- {
- get
- {
- if (this.equipmentItemSizes == null)
- {
- this.equipmentItemSizes = new EquipmentItemSizeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentItemSizes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentItemSizes.parentObject = (object) this;
- }
- return this.equipmentItemSizes;
- }
- set
- {
- this.equipmentItemSizes = value;
- this.SetDataState("EquipmentItemSizes");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentItemSizes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public EquipmentItemTestDetailList EquipmentItemTestDetails
- {
- get
- {
- if (this.equipmentItemTestDetails == null)
- {
- this.equipmentItemTestDetails = new EquipmentItemTestDetailList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentItemTestDetails.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentItemTestDetails.parentObject = (object) this;
- }
- return this.equipmentItemTestDetails;
- }
- set
- {
- this.equipmentItemTestDetails = value;
- this.SetDataState("EquipmentItemTestDetails");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentItemTestDetails.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public EquipmentItemTestList EquipmentItemTests
- {
- get
- {
- if (this.equipmentItemTests == null)
- {
- this.equipmentItemTests = new EquipmentItemTestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentItemTests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentItemTests.parentObject = (object) this;
- }
- return this.equipmentItemTests;
- }
- set
- {
- this.equipmentItemTests = value;
- this.SetDataState("EquipmentItemTests");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentItemTests.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public EquipmentSizeFieldList EquipmentSizeFields
- {
- get
- {
- if (this.equipmentSizeFields == null)
- {
- this.equipmentSizeFields = new EquipmentSizeFieldList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentSizeFields.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentSizeFields.parentObject = (object) this;
- }
- return this.equipmentSizeFields;
- }
- set
- {
- this.equipmentSizeFields = value;
- this.SetDataState("EquipmentSizeFields");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentSizeFields.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public EquipmentStatusList EquipmentStatuses
- {
- get
- {
- if (this.equipmentStatuses == null)
- {
- this.equipmentStatuses = new EquipmentStatusList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentStatuses.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentStatuses.parentObject = (object) this;
- }
- return this.equipmentStatuses;
- }
- set
- {
- this.equipmentStatuses = value;
- this.SetDataState("EquipmentStatuses");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentStatuses.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public EquipmentStatusRecordList EquipmentStatusRecords
- {
- get
- {
- if (this.equipmentStatusRecords == null)
- {
- this.equipmentStatusRecords = new EquipmentStatusRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentStatusRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentStatusRecords.parentObject = (object) this;
- }
- return this.equipmentStatusRecords;
- }
- set
- {
- this.equipmentStatusRecords = value;
- this.SetDataState("EquipmentStatusRecords");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentStatusRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public EquipmentTypeList EquipmentTypes
- {
- get
- {
- if (this.equipmentTypes == null)
- {
- this.equipmentTypes = new EquipmentTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.equipmentTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.equipmentTypes.parentObject = (object) this;
- }
- return this.equipmentTypes;
- }
- set
- {
- this.equipmentTypes = value;
- this.SetDataState("EquipmentTypes");
- if (value == null || value.parentObject != null)
- return;
- this.equipmentTypes.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public FieldInvestigationList FieldInvestigations
- {
- get
- {
- if (this.fieldInvestigations == null)
- {
- this.fieldInvestigations = new FieldInvestigationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fieldInvestigations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fieldInvestigations.parentObject = (object) this;
- }
- return this.fieldInvestigations;
- }
- set
- {
- this.fieldInvestigations = value;
- this.SetDataState("FieldInvestigations");
- if (value == null || value.parentObject != null)
- return;
- this.fieldInvestigations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public FiledChargeList FiledCharges
- {
- get
- {
- if (this.filedCharges == null)
- {
- this.filedCharges = new FiledChargeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.filedCharges.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.filedCharges.parentObject = (object) this;
- }
- return this.filedCharges;
- }
- set
- {
- this.filedCharges = value;
- this.SetDataState("FiledCharges");
- if (value == null || value.parentObject != null)
- return;
- this.filedCharges.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public FireExtinguisherList FireExtinguishers
- {
- get
- {
- if (this.fireExtinguishers == null)
- {
- this.fireExtinguishers = new FireExtinguisherList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fireExtinguishers.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fireExtinguishers.parentObject = (object) this;
- }
- return this.fireExtinguishers;
- }
- set
- {
- this.fireExtinguishers = value;
- this.SetDataState("FireExtinguishers");
- if (value == null || value.parentObject != null)
- return;
- this.fireExtinguishers.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public FireInvestigationList FireInvestigations
- {
- get
- {
- if (this.fireInvestigations == null)
- {
- this.fireInvestigations = new FireInvestigationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fireInvestigations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fireInvestigations.parentObject = (object) this;
- }
- return this.fireInvestigations;
- }
- set
- {
- this.fireInvestigations = value;
- this.SetDataState("FireInvestigations");
- if (value == null || value.parentObject != null)
- return;
- this.fireInvestigations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public FireInvestigationList LockedByUserFireInvestigations
- {
- get
- {
- if (this.lockedByUserFireInvestigations == null)
- {
- this.lockedByUserFireInvestigations = new FireInvestigationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.lockedByUserFireInvestigations.Reload("LockedByUserID = '" + this.recordID.ToString() + "'");
- this.lockedByUserFireInvestigations.parentObject = (object) this;
- }
- return this.lockedByUserFireInvestigations;
- }
- set
- {
- this.lockedByUserFireInvestigations = value;
- this.SetDataState("LockedByUserFireInvestigations");
- if (value == null || value.parentObject != null)
- return;
- this.lockedByUserFireInvestigations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public FireServiceCasualtyList FireServiceCasualties
- {
- get
- {
- if (this.fireServiceCasualties == null)
- {
- this.fireServiceCasualties = new FireServiceCasualtyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fireServiceCasualties.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fireServiceCasualties.parentObject = (object) this;
- }
- return this.fireServiceCasualties;
- }
- set
- {
- this.fireServiceCasualties = value;
- this.SetDataState("FireServiceCasualties");
- if (value == null || value.parentObject != null)
- return;
- this.fireServiceCasualties.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public FixedAssetInventoryItemList FixedAssetInventoryItems
- {
- get
- {
- if (this.fixedAssetInventoryItems == null)
- {
- this.fixedAssetInventoryItems = new FixedAssetInventoryItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fixedAssetInventoryItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fixedAssetInventoryItems.parentObject = (object) this;
- }
- return this.fixedAssetInventoryItems;
- }
- set
- {
- this.fixedAssetInventoryItems = value;
- this.SetDataState("FixedAssetInventoryItems");
- if (value == null || value.parentObject != null)
- return;
- this.fixedAssetInventoryItems.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public FixedAssetItemTestList FixedAssetItemTests
- {
- get
- {
- if (this.fixedAssetItemTests == null)
- {
- this.fixedAssetItemTests = new FixedAssetItemTestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fixedAssetItemTests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fixedAssetItemTests.parentObject = (object) this;
- }
- return this.fixedAssetItemTests;
- }
- set
- {
- this.fixedAssetItemTests = value;
- this.SetDataState("FixedAssetItemTests");
- if (value == null || value.parentObject != null)
- return;
- this.fixedAssetItemTests.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public FleetApparatusRecordList FleetApparatusRecords
- {
- get
- {
- if (this.fleetApparatusRecords == null)
- {
- this.fleetApparatusRecords = new FleetApparatusRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fleetApparatusRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fleetApparatusRecords.parentObject = (object) this;
- }
- return this.fleetApparatusRecords;
- }
- set
- {
- this.fleetApparatusRecords = value;
- this.SetDataState("FleetApparatusRecords");
- if (value == null || value.parentObject != null)
- return;
- this.fleetApparatusRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public FleetApparatusTypeList FleetApparatusTypes
- {
- get
- {
- if (this.fleetApparatusTypes == null)
- {
- this.fleetApparatusTypes = new FleetApparatusTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fleetApparatusTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fleetApparatusTypes.parentObject = (object) this;
- }
- return this.fleetApparatusTypes;
- }
- set
- {
- this.fleetApparatusTypes = value;
- this.SetDataState("FleetApparatusTypes");
- if (value == null || value.parentObject != null)
- return;
- this.fleetApparatusTypes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public FLSAPeriodList FLSAPeriods
- {
- get
- {
- if (this.fLSAPeriods == null)
- {
- this.fLSAPeriods = new FLSAPeriodList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fLSAPeriods.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fLSAPeriods.parentObject = (object) this;
- }
- return this.fLSAPeriods;
- }
- set
- {
- this.fLSAPeriods = value;
- this.SetDataState("FLSAPeriods");
- if (value == null || value.parentObject != null)
- return;
- this.fLSAPeriods.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public FluidTypeList FluidTypes
- {
- get
- {
- if (this.fluidTypes == null)
- {
- this.fluidTypes = new FluidTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.fluidTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.fluidTypes.parentObject = (object) this;
- }
- return this.fluidTypes;
- }
- set
- {
- this.fluidTypes = value;
- this.SetDataState("FluidTypes");
- if (value == null || value.parentObject != null)
- return;
- this.fluidTypes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HazMatActionList HazMatActions
- {
- get
- {
- if (this.hazMatActions == null)
- {
- this.hazMatActions = new HazMatActionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazMatActions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazMatActions.parentObject = (object) this;
- }
- return this.hazMatActions;
- }
- set
- {
- this.hazMatActions = value;
- this.SetDataState("HazMatActions");
- if (value == null || value.parentObject != null)
- return;
- this.hazMatActions.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HazMatChemicalReleaseList HazMatChemicalReleases
- {
- get
- {
- if (this.hazMatChemicalReleases == null)
- {
- this.hazMatChemicalReleases = new HazMatChemicalReleaseList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazMatChemicalReleases.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazMatChemicalReleases.parentObject = (object) this;
- }
- return this.hazMatChemicalReleases;
- }
- set
- {
- this.hazMatChemicalReleases = value;
- this.SetDataState("HazMatChemicalReleases");
- if (value == null || value.parentObject != null)
- return;
- this.hazMatChemicalReleases.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HazMatExposureList HazMatExposures
- {
- get
- {
- if (this.hazMatExposures == null)
- {
- this.hazMatExposures = new HazMatExposureList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazMatExposures.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazMatExposures.parentObject = (object) this;
- }
- return this.hazMatExposures;
- }
- set
- {
- this.hazMatExposures = value;
- this.SetDataState("HazMatExposures");
- if (value == null || value.parentObject != null)
- return;
- this.hazMatExposures.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HazMatMitigationFactorList HazMatMitigationFactors
- {
- get
- {
- if (this.hazMatMitigationFactors == null)
- {
- this.hazMatMitigationFactors = new HazMatMitigationFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazMatMitigationFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazMatMitigationFactors.parentObject = (object) this;
- }
- return this.hazMatMitigationFactors;
- }
- set
- {
- this.hazMatMitigationFactors = value;
- this.SetDataState("HazMatMitigationFactors");
- if (value == null || value.parentObject != null)
- return;
- this.hazMatMitigationFactors.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HazMatRecordList HazMatRecords
- {
- get
- {
- if (this.hazMatRecords == null)
- {
- this.hazMatRecords = new HazMatRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazMatRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazMatRecords.parentObject = (object) this;
- }
- return this.hazMatRecords;
- }
- set
- {
- this.hazMatRecords = value;
- this.SetDataState("HazMatRecords");
- if (value == null || value.parentObject != null)
- return;
- this.hazMatRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HazMatReleaseFactorList HazMatReleaseFactors
- {
- get
- {
- if (this.hazMatReleaseFactors == null)
- {
- this.hazMatReleaseFactors = new HazMatReleaseFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazMatReleaseFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazMatReleaseFactors.parentObject = (object) this;
- }
- return this.hazMatReleaseFactors;
- }
- set
- {
- this.hazMatReleaseFactors = value;
- this.SetDataState("HazMatReleaseFactors");
- if (value == null || value.parentObject != null)
- return;
- this.hazMatReleaseFactors.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HazTrakHealthHazardList HazTrakHealthHazards
- {
- get
- {
- if (this.hazTrakHealthHazards == null)
- {
- this.hazTrakHealthHazards = new HazTrakHealthHazardList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazTrakHealthHazards.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazTrakHealthHazards.parentObject = (object) this;
- }
- return this.hazTrakHealthHazards;
- }
- set
- {
- this.hazTrakHealthHazards = value;
- this.SetDataState("HazTrakHealthHazards");
- if (value == null || value.parentObject != null)
- return;
- this.hazTrakHealthHazards.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HazTrakRecordList HazTrakRecords
- {
- get
- {
- if (this.hazTrakRecords == null)
- {
- this.hazTrakRecords = new HazTrakRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazTrakRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazTrakRecords.parentObject = (object) this;
- }
- return this.hazTrakRecords;
- }
- set
- {
- this.hazTrakRecords = value;
- this.SetDataState("HazTrakRecords");
- if (value == null || value.parentObject != null)
- return;
- this.hazTrakRecords.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HazTrakStorageLocationList HazTrakStorageLocations
- {
- get
- {
- if (this.hazTrakStorageLocations == null)
- {
- this.hazTrakStorageLocations = new HazTrakStorageLocationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hazTrakStorageLocations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hazTrakStorageLocations.parentObject = (object) this;
- }
- return this.hazTrakStorageLocations;
- }
- set
- {
- this.hazTrakStorageLocations = value;
- this.SetDataState("HazTrakStorageLocations");
- if (value == null || value.parentObject != null)
- return;
- this.hazTrakStorageLocations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HelpFileEntryList HelpFileEntries
- {
- get
- {
- if (this.helpFileEntries == null)
- {
- this.helpFileEntries = new HelpFileEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.helpFileEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.helpFileEntries.parentObject = (object) this;
- }
- return this.helpFileEntries;
- }
- set
- {
- this.helpFileEntries = value;
- this.SetDataState("HelpFileEntries");
- if (value == null || value.parentObject != null)
- return;
- this.helpFileEntries.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HoseList Hoses
- {
- get
- {
- if (this.hoses == null)
- {
- this.hoses = new HoseList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hoses.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hoses.parentObject = (object) this;
- }
- return this.hoses;
- }
- set
- {
- this.hoses = value;
- this.SetDataState("Hoses");
- if (value == null || value.parentObject != null)
- return;
- this.hoses.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HoseTestDetailList HoseTestDetails
- {
- get
- {
- if (this.hoseTestDetails == null)
- {
- this.hoseTestDetails = new HoseTestDetailList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hoseTestDetails.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hoseTestDetails.parentObject = (object) this;
- }
- return this.hoseTestDetails;
- }
- set
- {
- this.hoseTestDetails = value;
- this.SetDataState("HoseTestDetails");
- if (value == null || value.parentObject != null)
- return;
- this.hoseTestDetails.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HoseTestList HoseTests
- {
- get
- {
- if (this.hoseTests == null)
- {
- this.hoseTests = new HoseTestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hoseTests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hoseTests.parentObject = (object) this;
- }
- return this.hoseTests;
- }
- set
- {
- this.hoseTests = value;
- this.SetDataState("HoseTests");
- if (value == null || value.parentObject != null)
- return;
- this.hoseTests.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HoseTypeList HoseTypes
- {
- get
- {
- if (this.hoseTypes == null)
- {
- this.hoseTypes = new HoseTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hoseTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hoseTypes.parentObject = (object) this;
- }
- return this.hoseTypes;
- }
- set
- {
- this.hoseTypes = value;
- this.SetDataState("HoseTypes");
- if (value == null || value.parentObject != null)
- return;
- this.hoseTypes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HumanFactorList HumanFactors
- {
- get
- {
- if (this.humanFactors == null)
- {
- this.humanFactors = new HumanFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.humanFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.humanFactors.parentObject = (object) this;
- }
- return this.humanFactors;
- }
- set
- {
- this.humanFactors = value;
- this.SetDataState("HumanFactors");
- if (value == null || value.parentObject != null)
- return;
- this.humanFactors.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HumanInjuryFactorList HumanInjuryFactors
- {
- get
- {
- if (this.humanInjuryFactors == null)
- {
- this.humanInjuryFactors = new HumanInjuryFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.humanInjuryFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.humanInjuryFactors.parentObject = (object) this;
- }
- return this.humanInjuryFactors;
- }
- set
- {
- this.humanInjuryFactors = value;
- this.SetDataState("HumanInjuryFactors");
- if (value == null || value.parentObject != null)
- return;
- this.humanInjuryFactors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public HydrantInspectionList HydrantInspections
- {
- get
- {
- if (this.hydrantInspections == null)
- {
- this.hydrantInspections = new HydrantInspectionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hydrantInspections.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hydrantInspections.parentObject = (object) this;
- }
- return this.hydrantInspections;
- }
- set
- {
- this.hydrantInspections = value;
- this.SetDataState("HydrantInspections");
- if (value == null || value.parentObject != null)
- return;
- this.hydrantInspections.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HydrantList Hydrants
- {
- get
- {
- if (this.hydrants == null)
- {
- this.hydrants = new HydrantList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hydrants.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hydrants.parentObject = (object) this;
- }
- return this.hydrants;
- }
- set
- {
- this.hydrants = value;
- this.SetDataState("Hydrants");
- if (value == null || value.parentObject != null)
- return;
- this.hydrants.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public HydrantTestList HydrantTests
- {
- get
- {
- if (this.hydrantTests == null)
- {
- this.hydrantTests = new HydrantTestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.hydrantTests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.hydrantTests.parentObject = (object) this;
- }
- return this.hydrantTests;
- }
- set
- {
- this.hydrantTests = value;
- this.SetDataState("HydrantTests");
- if (value == null || value.parentObject != null)
- return;
- this.hydrantTests.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public IncidentActionList IncidentActions
- {
- get
- {
- if (this.incidentActions == null)
- {
- this.incidentActions = new IncidentActionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.incidentActions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.incidentActions.parentObject = (object) this;
- }
- return this.incidentActions;
- }
- set
- {
- this.incidentActions = value;
- this.SetDataState("IncidentActions");
- if (value == null || value.parentObject != null)
- return;
- this.incidentActions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public IncidentExposureList IncidentExposures
- {
- get
- {
- if (this.incidentExposures == null)
- {
- this.incidentExposures = new IncidentExposureList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.incidentExposures.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.incidentExposures.parentObject = (object) this;
- }
- return this.incidentExposures;
- }
- set
- {
- this.incidentExposures = value;
- this.SetDataState("IncidentExposures");
- if (value == null || value.parentObject != null)
- return;
- this.incidentExposures.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public IncidentMappingSettingList IncidentMappingSettings
- {
- get
- {
- if (this.incidentMappingSettings == null)
- {
- this.incidentMappingSettings = new IncidentMappingSettingList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.incidentMappingSettings.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.incidentMappingSettings.parentObject = (object) this;
- }
- return this.incidentMappingSettings;
- }
- set
- {
- this.incidentMappingSettings = value;
- this.SetDataState("IncidentMappingSettings");
- if (value == null || value.parentObject != null)
- return;
- this.incidentMappingSettings.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public IncidentMappingSettingList UserLoginIncidentMappingSettings
- {
- get
- {
- if (this.userLoginIncidentMappingSettings == null)
- {
- this.userLoginIncidentMappingSettings = new IncidentMappingSettingList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginIncidentMappingSettings.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginIncidentMappingSettings.parentObject = (object) this;
- }
- return this.userLoginIncidentMappingSettings;
- }
- set
- {
- this.userLoginIncidentMappingSettings = value;
- this.SetDataState("UserLoginIncidentMappingSettings");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginIncidentMappingSettings.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public IncidentRecordList IncidentRecords
- {
- get
- {
- if (this.incidentRecords == null)
- {
- this.incidentRecords = new IncidentRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.incidentRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.incidentRecords.parentObject = (object) this;
- }
- return this.incidentRecords;
- }
- set
- {
- this.incidentRecords = value;
- this.SetDataState("IncidentRecords");
- if (value == null || value.parentObject != null)
- return;
- this.incidentRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public IncidentRoleList IncidentRoles
- {
- get
- {
- if (this.incidentRoles == null)
- {
- this.incidentRoles = new IncidentRoleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.incidentRoles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.incidentRoles.parentObject = (object) this;
- }
- return this.incidentRoles;
- }
- set
- {
- this.incidentRoles = value;
- this.SetDataState("IncidentRoles");
- if (value == null || value.parentObject != null)
- return;
- this.incidentRoles.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public IncidentSpecialStudyList IncidentSpecialStudies
- {
- get
- {
- if (this.incidentSpecialStudies == null)
- {
- this.incidentSpecialStudies = new IncidentSpecialStudyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.incidentSpecialStudies.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.incidentSpecialStudies.parentObject = (object) this;
- }
- return this.incidentSpecialStudies;
- }
- set
- {
- this.incidentSpecialStudies = value;
- this.SetDataState("IncidentSpecialStudies");
- if (value == null || value.parentObject != null)
- return;
- this.incidentSpecialStudies.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public IncidentUsedEquipmentItemList IncidentUsedEquipmentItems
- {
- get
- {
- if (this.incidentUsedEquipmentItems == null)
- {
- this.incidentUsedEquipmentItems = new IncidentUsedEquipmentItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.incidentUsedEquipmentItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.incidentUsedEquipmentItems.parentObject = (object) this;
- }
- return this.incidentUsedEquipmentItems;
- }
- set
- {
- this.incidentUsedEquipmentItems = value;
- this.SetDataState("IncidentUsedEquipmentItems");
- if (value == null || value.parentObject != null)
- return;
- this.incidentUsedEquipmentItems.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public IncidentUsedSupplyItemList IncidentUsedSupplyItems
- {
- get
- {
- if (this.incidentUsedSupplyItems == null)
- {
- this.incidentUsedSupplyItems = new IncidentUsedSupplyItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.incidentUsedSupplyItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.incidentUsedSupplyItems.parentObject = (object) this;
- }
- return this.incidentUsedSupplyItems;
- }
- set
- {
- this.incidentUsedSupplyItems = value;
- this.SetDataState("IncidentUsedSupplyItems");
- if (value == null || value.parentObject != null)
- return;
- this.incidentUsedSupplyItems.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InitialObservationList InitialObservations
- {
- get
- {
- if (this.initialObservations == null)
- {
- this.initialObservations = new InitialObservationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.initialObservations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.initialObservations.parentObject = (object) this;
- }
- return this.initialObservations;
- }
- set
- {
- this.initialObservations = value;
- this.SetDataState("InitialObservations");
- if (value == null || value.parentObject != null)
- return;
- this.initialObservations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InspectionDistrictList InspectionDistricts
- {
- get
- {
- if (this.inspectionDistricts == null)
- {
- this.inspectionDistricts = new InspectionDistrictList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.inspectionDistricts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.inspectionDistricts.parentObject = (object) this;
- }
- return this.inspectionDistricts;
- }
- set
- {
- this.inspectionDistricts = value;
- this.SetDataState("InspectionDistricts");
- if (value == null || value.parentObject != null)
- return;
- this.inspectionDistricts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public InspectionGroupList InspectionGroups
- {
- get
- {
- if (this.inspectionGroups == null)
- {
- this.inspectionGroups = new InspectionGroupList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.inspectionGroups.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.inspectionGroups.parentObject = (object) this;
- }
- return this.inspectionGroups;
- }
- set
- {
- this.inspectionGroups = value;
- this.SetDataState("InspectionGroups");
- if (value == null || value.parentObject != null)
- return;
- this.inspectionGroups.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public InsuranceClaimList InsuranceClaims
- {
- get
- {
- if (this.insuranceClaims == null)
- {
- this.insuranceClaims = new InsuranceClaimList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.insuranceClaims.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.insuranceClaims.parentObject = (object) this;
- }
- return this.insuranceClaims;
- }
- set
- {
- this.insuranceClaims = value;
- this.SetDataState("InsuranceClaims");
- if (value == null || value.parentObject != null)
- return;
- this.insuranceClaims.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public InsuranceCompanyList InsuranceCompanies
- {
- get
- {
- if (this.insuranceCompanies == null)
- {
- this.insuranceCompanies = new InsuranceCompanyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.insuranceCompanies.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.insuranceCompanies.parentObject = (object) this;
- }
- return this.insuranceCompanies;
- }
- set
- {
- this.insuranceCompanies = value;
- this.SetDataState("InsuranceCompanies");
- if (value == null || value.parentObject != null)
- return;
- this.insuranceCompanies.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InsurancePolicyList InsurancePolicies
- {
- get
- {
- if (this.insurancePolicies == null)
- {
- this.insurancePolicies = new InsurancePolicyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.insurancePolicies.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.insurancePolicies.parentObject = (object) this;
- }
- return this.insurancePolicies;
- }
- set
- {
- this.insurancePolicies = value;
- this.SetDataState("InsurancePolicies");
- if (value == null || value.parentObject != null)
- return;
- this.insurancePolicies.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InterviewQuestionList InterviewQuestions
- {
- get
- {
- if (this.interviewQuestions == null)
- {
- this.interviewQuestions = new InterviewQuestionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.interviewQuestions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.interviewQuestions.parentObject = (object) this;
- }
- return this.interviewQuestions;
- }
- set
- {
- this.interviewQuestions = value;
- this.SetDataState("InterviewQuestions");
- if (value == null || value.parentObject != null)
- return;
- this.interviewQuestions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InterviewList Interviews
- {
- get
- {
- if (this.interviews == null)
- {
- this.interviews = new InterviewList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.interviews.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.interviews.parentObject = (object) this;
- }
- return this.interviews;
- }
- set
- {
- this.interviews = value;
- this.SetDataState("Interviews");
- if (value == null || value.parentObject != null)
- return;
- this.interviews.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public InterviewStandardQuestionList InterviewStandardQuestions
- {
- get
- {
- if (this.interviewStandardQuestions == null)
- {
- this.interviewStandardQuestions = new InterviewStandardQuestionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.interviewStandardQuestions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.interviewStandardQuestions.parentObject = (object) this;
- }
- return this.interviewStandardQuestions;
- }
- set
- {
- this.interviewStandardQuestions = value;
- this.SetDataState("InterviewStandardQuestions");
- if (value == null || value.parentObject != null)
- return;
- this.interviewStandardQuestions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InventoryItemCategoryList InventoryItemCategories
- {
- get
- {
- if (this.inventoryItemCategories == null)
- {
- this.inventoryItemCategories = new InventoryItemCategoryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.inventoryItemCategories.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.inventoryItemCategories.parentObject = (object) this;
- }
- return this.inventoryItemCategories;
- }
- set
- {
- this.inventoryItemCategories = value;
- this.SetDataState("InventoryItemCategories");
- if (value == null || value.parentObject != null)
- return;
- this.inventoryItemCategories.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InvolvedAttorneyList InvolvedAttorneys
- {
- get
- {
- if (this.involvedAttorneys == null)
- {
- this.involvedAttorneys = new InvolvedAttorneyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.involvedAttorneys.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.involvedAttorneys.parentObject = (object) this;
- }
- return this.involvedAttorneys;
- }
- set
- {
- this.involvedAttorneys = value;
- this.SetDataState("InvolvedAttorneys");
- if (value == null || value.parentObject != null)
- return;
- this.involvedAttorneys.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InvolvedEntityList InvolvedEntities
- {
- get
- {
- if (this.involvedEntities == null)
- {
- this.involvedEntities = new InvolvedEntityList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.involvedEntities.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.involvedEntities.parentObject = (object) this;
- }
- return this.involvedEntities;
- }
- set
- {
- this.involvedEntities = value;
- this.SetDataState("InvolvedEntities");
- if (value == null || value.parentObject != null)
- return;
- this.involvedEntities.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public InvolvedPersonList InvolvedPersons
- {
- get
- {
- if (this.involvedPersons == null)
- {
- this.involvedPersons = new InvolvedPersonList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.involvedPersons.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.involvedPersons.parentObject = (object) this;
- }
- return this.involvedPersons;
- }
- set
- {
- this.involvedPersons = value;
- this.SetDataState("InvolvedPersons");
- if (value == null || value.parentObject != null)
- return;
- this.involvedPersons.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public IrregularAssignmentList IrregularAssignments
- {
- get
- {
- if (this.irregularAssignments == null)
- {
- this.irregularAssignments = new IrregularAssignmentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.irregularAssignments.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.irregularAssignments.parentObject = (object) this;
- }
- return this.irregularAssignments;
- }
- set
- {
- this.irregularAssignments = value;
- this.SetDataState("IrregularAssignments");
- if (value == null || value.parentObject != null)
- return;
- this.irregularAssignments.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public IssuedPermitList IssuedPermits
- {
- get
- {
- if (this.issuedPermits == null)
- {
- this.issuedPermits = new IssuedPermitList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.issuedPermits.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.issuedPermits.parentObject = (object) this;
- }
- return this.issuedPermits;
- }
- set
- {
- this.issuedPermits = value;
- this.SetDataState("IssuedPermits");
- if (value == null || value.parentObject != null)
- return;
- this.issuedPermits.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ItemCheckOutList ItemCheckOuts
- {
- get
- {
- if (this.itemCheckOuts == null)
- {
- this.itemCheckOuts = new ItemCheckOutList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.itemCheckOuts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.itemCheckOuts.parentObject = (object) this;
- }
- return this.itemCheckOuts;
- }
- set
- {
- this.itemCheckOuts = value;
- this.SetDataState("ItemCheckOuts");
- if (value == null || value.parentObject != null)
- return;
- this.itemCheckOuts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public JuvenileList Juveniles
- {
- get
- {
- if (this.juveniles == null)
- {
- this.juveniles = new JuvenileList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.juveniles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.juveniles.parentObject = (object) this;
- }
- return this.juveniles;
- }
- set
- {
- this.juveniles = value;
- this.SetDataState("Juveniles");
- if (value == null || value.parentObject != null)
- return;
- this.juveniles.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public LabRequestList LabRequests
- {
- get
- {
- if (this.labRequests == null)
- {
- this.labRequests = new LabRequestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.labRequests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.labRequests.parentObject = (object) this;
- }
- return this.labRequests;
- }
- set
- {
- this.labRequests = value;
- this.SetDataState("LabRequests");
- if (value == null || value.parentObject != null)
- return;
- this.labRequests.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public LabTechnicianList LabTechnicians
- {
- get
- {
- if (this.labTechnicians == null)
- {
- this.labTechnicians = new LabTechnicianList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.labTechnicians.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.labTechnicians.parentObject = (object) this;
- }
- return this.labTechnicians;
- }
- set
- {
- this.labTechnicians = value;
- this.SetDataState("LabTechnicians");
- if (value == null || value.parentObject != null)
- return;
- this.labTechnicians.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public LegalOfficerList LegalOfficers
- {
- get
- {
- if (this.legalOfficers == null)
- {
- this.legalOfficers = new LegalOfficerList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.legalOfficers.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.legalOfficers.parentObject = (object) this;
- }
- return this.legalOfficers;
- }
- set
- {
- this.legalOfficers = value;
- this.SetDataState("LegalOfficers");
- if (value == null || value.parentObject != null)
- return;
- this.legalOfficers.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public LicenseModuleList LicenseModules
- {
- get
- {
- if (this.licenseModules == null)
- {
- this.licenseModules = new LicenseModuleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.licenseModules.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.licenseModules.parentObject = (object) this;
- }
- return this.licenseModules;
- }
- set
- {
- this.licenseModules = value;
- this.SetDataState("LicenseModules");
- if (value == null || value.parentObject != null)
- return;
- this.licenseModules.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public LicenseList Licenses
- {
- get
- {
- if (this.licenses == null)
- {
- this.licenses = new LicenseList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.licenses.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.licenses.parentObject = (object) this;
- }
- return this.licenses;
- }
- set
- {
- this.licenses = value;
- this.SetDataState("Licenses");
- if (value == null || value.parentObject != null)
- return;
- this.licenses.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public LicenseUserSessionList LicenseUserSessions
- {
- get
- {
- if (this.licenseUserSessions == null)
- {
- this.licenseUserSessions = new LicenseUserSessionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.licenseUserSessions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.licenseUserSessions.parentObject = (object) this;
- }
- return this.licenseUserSessions;
- }
- set
- {
- this.licenseUserSessions = value;
- this.SetDataState("LicenseUserSessions");
- if (value == null || value.parentObject != null)
- return;
- this.licenseUserSessions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public LicenseUserSessionList UserLoginLicenseUserSessions
- {
- get
- {
- if (this.userLoginLicenseUserSessions == null)
- {
- this.userLoginLicenseUserSessions = new LicenseUserSessionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginLicenseUserSessions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginLicenseUserSessions.parentObject = (object) this;
- }
- return this.userLoginLicenseUserSessions;
- }
- set
- {
- this.userLoginLicenseUserSessions = value;
- this.SetDataState("UserLoginLicenseUserSessions");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginLicenseUserSessions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public LocationCrossStreetList LocationCrossStreets
- {
- get
- {
- if (this.locationCrossStreets == null)
- {
- this.locationCrossStreets = new LocationCrossStreetList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.locationCrossStreets.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.locationCrossStreets.parentObject = (object) this;
- }
- return this.locationCrossStreets;
- }
- set
- {
- this.locationCrossStreets = value;
- this.SetDataState("LocationCrossStreets");
- if (value == null || value.parentObject != null)
- return;
- this.locationCrossStreets.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public LocationList Locations
- {
- get
- {
- if (this.locations == null)
- {
- this.locations = new LocationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.locations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.locations.parentObject = (object) this;
- }
- return this.locations;
- }
- set
- {
- this.locations = value;
- this.SetDataState("Locations");
- if (value == null || value.parentObject != null)
- return;
- this.locations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public MaintenanceRequestItemList MaintenanceRequestItems
- {
- get
- {
- if (this.maintenanceRequestItems == null)
- {
- this.maintenanceRequestItems = new MaintenanceRequestItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.maintenanceRequestItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.maintenanceRequestItems.parentObject = (object) this;
- }
- return this.maintenanceRequestItems;
- }
- set
- {
- this.maintenanceRequestItems = value;
- this.SetDataState("MaintenanceRequestItems");
- if (value == null || value.parentObject != null)
- return;
- this.maintenanceRequestItems.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public MaintenanceRequestList MaintenanceRequests
- {
- get
- {
- if (this.maintenanceRequests == null)
- {
- this.maintenanceRequests = new MaintenanceRequestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.maintenanceRequests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.maintenanceRequests.parentObject = (object) this;
- }
- return this.maintenanceRequests;
- }
- set
- {
- this.maintenanceRequests = value;
- this.SetDataState("MaintenanceRequests");
- if (value == null || value.parentObject != null)
- return;
- this.maintenanceRequests.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public MaintenanceTaskScheduleList MaintenanceTaskSchedules
- {
- get
- {
- if (this.maintenanceTaskSchedules == null)
- {
- this.maintenanceTaskSchedules = new MaintenanceTaskScheduleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.maintenanceTaskSchedules.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.maintenanceTaskSchedules.parentObject = (object) this;
- }
- return this.maintenanceTaskSchedules;
- }
- set
- {
- this.maintenanceTaskSchedules = value;
- this.SetDataState("MaintenanceTaskSchedules");
- if (value == null || value.parentObject != null)
- return;
- this.maintenanceTaskSchedules.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ManufacturerList Manufacturers
- {
- get
- {
- if (this.manufacturers == null)
- {
- this.manufacturers = new ManufacturerList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.manufacturers.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.manufacturers.parentObject = (object) this;
- }
- return this.manufacturers;
- }
- set
- {
- this.manufacturers = value;
- this.SetDataState("Manufacturers");
- if (value == null || value.parentObject != null)
- return;
- this.manufacturers.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ManufacturerTypeList ManufacturerTypes
- {
- get
- {
- if (this.manufacturerTypes == null)
- {
- this.manufacturerTypes = new ManufacturerTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.manufacturerTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.manufacturerTypes.parentObject = (object) this;
- }
- return this.manufacturerTypes;
- }
- set
- {
- this.manufacturerTypes = value;
- this.SetDataState("ManufacturerTypes");
- if (value == null || value.parentObject != null)
- return;
- this.manufacturerTypes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public MapLayoutFilterFieldList MapLayoutFilterFields
- {
- get
- {
- if (this.mapLayoutFilterFields == null)
- {
- this.mapLayoutFilterFields = new MapLayoutFilterFieldList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.mapLayoutFilterFields.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.mapLayoutFilterFields.parentObject = (object) this;
- }
- return this.mapLayoutFilterFields;
- }
- set
- {
- this.mapLayoutFilterFields = value;
- this.SetDataState("MapLayoutFilterFields");
- if (value == null || value.parentObject != null)
- return;
- this.mapLayoutFilterFields.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public MapLayoutList MapLayouts
- {
- get
- {
- if (this.mapLayouts == null)
- {
- this.mapLayouts = new MapLayoutList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.mapLayouts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.mapLayouts.parentObject = (object) this;
- }
- return this.mapLayouts;
- }
- set
- {
- this.mapLayouts = value;
- this.SetDataState("MapLayouts");
- if (value == null || value.parentObject != null)
- return;
- this.mapLayouts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public MappingComponentList MappingComponents
- {
- get
- {
- if (this.mappingComponents == null)
- {
- this.mappingComponents = new MappingComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.mappingComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.mappingComponents.parentObject = (object) this;
- }
- return this.mappingComponents;
- }
- set
- {
- this.mappingComponents = value;
- this.SetDataState("MappingComponents");
- if (value == null || value.parentObject != null)
- return;
- this.mappingComponents.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public MedicalExaminationList MedicalExaminations
- {
- get
- {
- if (this.medicalExaminations == null)
- {
- this.medicalExaminations = new MedicalExaminationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.medicalExaminations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.medicalExaminations.parentObject = (object) this;
- }
- return this.medicalExaminations;
- }
- set
- {
- this.medicalExaminations = value;
- this.SetDataState("MedicalExaminations");
- if (value == null || value.parentObject != null)
- return;
- this.medicalExaminations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public MedicalOfficerList MedicalOfficers
- {
- get
- {
- if (this.medicalOfficers == null)
- {
- this.medicalOfficers = new MedicalOfficerList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.medicalOfficers.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.medicalOfficers.parentObject = (object) this;
- }
- return this.medicalOfficers;
- }
- set
- {
- this.medicalOfficers = value;
- this.SetDataState("MedicalOfficers");
- if (value == null || value.parentObject != null)
- return;
- this.medicalOfficers.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public MobilePropertyList MobileProperties
- {
- get
- {
- if (this.mobileProperties == null)
- {
- this.mobileProperties = new MobilePropertyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.mobileProperties.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.mobileProperties.parentObject = (object) this;
- }
- return this.mobileProperties;
- }
- set
- {
- this.mobileProperties = value;
- this.SetDataState("MobileProperties");
- if (value == null || value.parentObject != null)
- return;
- this.mobileProperties.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public MortgageCompanyList MortgageCompanies
- {
- get
- {
- if (this.mortgageCompanies == null)
- {
- this.mortgageCompanies = new MortgageCompanyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.mortgageCompanies.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.mortgageCompanies.parentObject = (object) this;
- }
- return this.mortgageCompanies;
- }
- set
- {
- this.mortgageCompanies = value;
- this.SetDataState("MortgageCompanies");
- if (value == null || value.parentObject != null)
- return;
- this.mortgageCompanies.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public MortgageList Mortgages
- {
- get
- {
- if (this.mortgages == null)
- {
- this.mortgages = new MortgageList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.mortgages.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.mortgages.parentObject = (object) this;
- }
- return this.mortgages;
- }
- set
- {
- this.mortgages = value;
- this.SetDataState("Mortgages");
- if (value == null || value.parentObject != null)
- return;
- this.mortgages.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public MutualAidRecordList MutualAidRecords
- {
- get
- {
- if (this.mutualAidRecords == null)
- {
- this.mutualAidRecords = new MutualAidRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.mutualAidRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.mutualAidRecords.parentObject = (object) this;
- }
- return this.mutualAidRecords;
- }
- set
- {
- this.mutualAidRecords = value;
- this.SetDataState("MutualAidRecords");
- if (value == null || value.parentObject != null)
- return;
- this.mutualAidRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public NarrativeLinkList NarrativeLinks
- {
- get
- {
- if (this.narrativeLinks == null)
- {
- this.narrativeLinks = new NarrativeLinkList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.narrativeLinks.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.narrativeLinks.parentObject = (object) this;
- }
- return this.narrativeLinks;
- }
- set
- {
- this.narrativeLinks = value;
- this.SetDataState("NarrativeLinks");
- if (value == null || value.parentObject != null)
- return;
- this.narrativeLinks.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public NarrativeList Narratives
- {
- get
- {
- if (this.narratives == null)
- {
- this.narratives = new NarrativeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.narratives.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.narratives.parentObject = (object) this;
- }
- return this.narratives;
- }
- set
- {
- this.narratives = value;
- this.SetDataState("Narratives");
- if (value == null || value.parentObject != null)
- return;
- this.narratives.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public NarrativeTemplateList NarrativeTemplates
- {
- get
- {
- if (this.narrativeTemplates == null)
- {
- this.narrativeTemplates = new NarrativeTemplateList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.narrativeTemplates.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.narrativeTemplates.parentObject = (object) this;
- }
- return this.narrativeTemplates;
- }
- set
- {
- this.narrativeTemplates = value;
- this.SetDataState("NarrativeTemplates");
- if (value == null || value.parentObject != null)
- return;
- this.narrativeTemplates.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public NearbyPropertyList NearbyProperties
- {
- get
- {
- if (this.nearbyProperties == null)
- {
- this.nearbyProperties = new NearbyPropertyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.nearbyProperties.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.nearbyProperties.parentObject = (object) this;
- }
- return this.nearbyProperties;
- }
- set
- {
- this.nearbyProperties = value;
- this.SetDataState("NearbyProperties");
- if (value == null || value.parentObject != null)
- return;
- this.nearbyProperties.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public NeededResourceList NeededResources
- {
- get
- {
- if (this.neededResources == null)
- {
- this.neededResources = new NeededResourceList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.neededResources.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.neededResources.parentObject = (object) this;
- }
- return this.neededResources;
- }
- set
- {
- this.neededResources = value;
- this.SetDataState("NeededResources");
- if (value == null || value.parentObject != null)
- return;
- this.neededResources.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public NFIRSDictionaryEntryList NFIRSDictionaryEntries
- {
- get
- {
- if (this.nFIRSDictionaryEntries == null)
- {
- this.nFIRSDictionaryEntries = new NFIRSDictionaryEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.nFIRSDictionaryEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.nFIRSDictionaryEntries.parentObject = (object) this;
- }
- return this.nFIRSDictionaryEntries;
- }
- set
- {
- this.nFIRSDictionaryEntries = value;
- this.SetDataState("NFIRSDictionaryEntries");
- if (value == null || value.parentObject != null)
- return;
- this.nFIRSDictionaryEntries.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public NFPADictionaryEntryList NFPADictionaryEntries
- {
- get
- {
- if (this.nFPADictionaryEntries == null)
- {
- this.nFPADictionaryEntries = new NFPADictionaryEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.nFPADictionaryEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.nFPADictionaryEntries.parentObject = (object) this;
- }
- return this.nFPADictionaryEntries;
- }
- set
- {
- this.nFPADictionaryEntries = value;
- this.SetDataState("NFPADictionaryEntries");
- if (value == null || value.parentObject != null)
- return;
- this.nFPADictionaryEntries.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public OfficerList Officers
- {
- get
- {
- if (this.officers == null)
- {
- this.officers = new OfficerList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.officers.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.officers.parentObject = (object) this;
- }
- return this.officers;
- }
- set
- {
- this.officers = value;
- this.SetDataState("Officers");
- if (value == null || value.parentObject != null)
- return;
- this.officers.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public OnScenePersonList OnScenePersons
- {
- get
- {
- if (this.onScenePersons == null)
- {
- this.onScenePersons = new OnScenePersonList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.onScenePersons.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.onScenePersons.parentObject = (object) this;
- }
- return this.onScenePersons;
- }
- set
- {
- this.onScenePersons = value;
- this.SetDataState("OnScenePersons");
- if (value == null || value.parentObject != null)
- return;
- this.onScenePersons.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public OnSiteMaterialList OnSiteMaterials
- {
- get
- {
- if (this.onSiteMaterials == null)
- {
- this.onSiteMaterials = new OnSiteMaterialList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.onSiteMaterials.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.onSiteMaterials.parentObject = (object) this;
- }
- return this.onSiteMaterials;
- }
- set
- {
- this.onSiteMaterials = value;
- this.SetDataState("OnSiteMaterials");
- if (value == null || value.parentObject != null)
- return;
- this.onSiteMaterials.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public OtherObservationList OtherObservations
- {
- get
- {
- if (this.otherObservations == null)
- {
- this.otherObservations = new OtherObservationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.otherObservations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.otherObservations.parentObject = (object) this;
- }
- return this.otherObservations;
- }
- set
- {
- this.otherObservations = value;
- this.SetDataState("OtherObservations");
- if (value == null || value.parentObject != null)
- return;
- this.otherObservations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PageComponentList PageComponents
- {
- get
- {
- if (this.pageComponents == null)
- {
- this.pageComponents = new PageComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.pageComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.pageComponents.parentObject = (object) this;
- }
- return this.pageComponents;
- }
- set
- {
- this.pageComponents = value;
- this.SetDataState("PageComponents");
- if (value == null || value.parentObject != null)
- return;
- this.pageComponents.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PageLayoutList PageLayouts
- {
- get
- {
- if (this.pageLayouts == null)
- {
- this.pageLayouts = new PageLayoutList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.pageLayouts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.pageLayouts.parentObject = (object) this;
- }
- return this.pageLayouts;
- }
- set
- {
- this.pageLayouts = value;
- this.SetDataState("PageLayouts");
- if (value == null || value.parentObject != null)
- return;
- this.pageLayouts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PageLayoutList UserLoginPageLayouts
- {
- get
- {
- if (this.userLoginPageLayouts == null)
- {
- this.userLoginPageLayouts = new PageLayoutList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginPageLayouts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginPageLayouts.parentObject = (object) this;
- }
- return this.userLoginPageLayouts;
- }
- set
- {
- this.userLoginPageLayouts = value;
- this.SetDataState("UserLoginPageLayouts");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginPageLayouts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PayPeriodList PayPeriods
- {
- get
- {
- if (this.payPeriods == null)
- {
- this.payPeriods = new PayPeriodList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.payPeriods.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.payPeriods.parentObject = (object) this;
- }
- return this.payPeriods;
- }
- set
- {
- this.payPeriods = value;
- this.SetDataState("PayPeriods");
- if (value == null || value.parentObject != null)
- return;
- this.payPeriods.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PerformedProcedureList PerformedProcedures
- {
- get
- {
- if (this.performedProcedures == null)
- {
- this.performedProcedures = new PerformedProcedureList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.performedProcedures.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.performedProcedures.parentObject = (object) this;
- }
- return this.performedProcedures;
- }
- set
- {
- this.performedProcedures = value;
- this.SetDataState("PerformedProcedures");
- if (value == null || value.parentObject != null)
- return;
- this.performedProcedures.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonAliasNameList PersonAliasNames
- {
- get
- {
- if (this.personAliasNames == null)
- {
- this.personAliasNames = new PersonAliasNameList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personAliasNames.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personAliasNames.parentObject = (object) this;
- }
- return this.personAliasNames;
- }
- set
- {
- this.personAliasNames = value;
- this.SetDataState("PersonAliasNames");
- if (value == null || value.parentObject != null)
- return;
- this.personAliasNames.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonLanguageList PersonLanguages
- {
- get
- {
- if (this.personLanguages == null)
- {
- this.personLanguages = new PersonLanguageList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personLanguages.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personLanguages.parentObject = (object) this;
- }
- return this.personLanguages;
- }
- set
- {
- this.personLanguages = value;
- this.SetDataState("PersonLanguages");
- if (value == null || value.parentObject != null)
- return;
- this.personLanguages.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelAllergyList PersonnelAllergies
- {
- get
- {
- if (this.personnelAllergies == null)
- {
- this.personnelAllergies = new PersonnelAllergyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelAllergies.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelAllergies.parentObject = (object) this;
- }
- return this.personnelAllergies;
- }
- set
- {
- this.personnelAllergies = value;
- this.SetDataState("PersonnelAllergies");
- if (value == null || value.parentObject != null)
- return;
- this.personnelAllergies.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelCertificationList PersonnelCertifications
- {
- get
- {
- if (this.personnelCertifications == null)
- {
- this.personnelCertifications = new PersonnelCertificationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelCertifications.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelCertifications.parentObject = (object) this;
- }
- return this.personnelCertifications;
- }
- set
- {
- this.personnelCertifications = value;
- this.SetDataState("PersonnelCertifications");
- if (value == null || value.parentObject != null)
- return;
- this.personnelCertifications.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelEmploymentCategoryList PersonnelEmploymentCategories
- {
- get
- {
- if (this.personnelEmploymentCategories == null)
- {
- this.personnelEmploymentCategories = new PersonnelEmploymentCategoryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelEmploymentCategories.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelEmploymentCategories.parentObject = (object) this;
- }
- return this.personnelEmploymentCategories;
- }
- set
- {
- this.personnelEmploymentCategories = value;
- this.SetDataState("PersonnelEmploymentCategories");
- if (value == null || value.parentObject != null)
- return;
- this.personnelEmploymentCategories.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelEmploymentDetailList PersonnelEmploymentDetails
- {
- get
- {
- if (this.personnelEmploymentDetails == null)
- {
- this.personnelEmploymentDetails = new PersonnelEmploymentDetailList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelEmploymentDetails.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelEmploymentDetails.parentObject = (object) this;
- }
- return this.personnelEmploymentDetails;
- }
- set
- {
- this.personnelEmploymentDetails = value;
- this.SetDataState("PersonnelEmploymentDetails");
- if (value == null || value.parentObject != null)
- return;
- this.personnelEmploymentDetails.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelEquipmentSizeList PersonnelEquipmentSizes
- {
- get
- {
- if (this.personnelEquipmentSizes == null)
- {
- this.personnelEquipmentSizes = new PersonnelEquipmentSizeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelEquipmentSizes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelEquipmentSizes.parentObject = (object) this;
- }
- return this.personnelEquipmentSizes;
- }
- set
- {
- this.personnelEquipmentSizes = value;
- this.SetDataState("PersonnelEquipmentSizes");
- if (value == null || value.parentObject != null)
- return;
- this.personnelEquipmentSizes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelEquipmentTestRecordList PersonnelEquipmentTestRecords
- {
- get
- {
- if (this.personnelEquipmentTestRecords == null)
- {
- this.personnelEquipmentTestRecords = new PersonnelEquipmentTestRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelEquipmentTestRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelEquipmentTestRecords.parentObject = (object) this;
- }
- return this.personnelEquipmentTestRecords;
- }
- set
- {
- this.personnelEquipmentTestRecords = value;
- this.SetDataState("PersonnelEquipmentTestRecords");
- if (value == null || value.parentObject != null)
- return;
- this.personnelEquipmentTestRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelIrregularWorkPlaceList PersonnelIrregularWorkPlaces
- {
- get
- {
- if (this.personnelIrregularWorkPlaces == null)
- {
- this.personnelIrregularWorkPlaces = new PersonnelIrregularWorkPlaceList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelIrregularWorkPlaces.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelIrregularWorkPlaces.parentObject = (object) this;
- }
- return this.personnelIrregularWorkPlaces;
- }
- set
- {
- this.personnelIrregularWorkPlaces = value;
- this.SetDataState("PersonnelIrregularWorkPlaces");
- if (value == null || value.parentObject != null)
- return;
- this.personnelIrregularWorkPlaces.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelIrregularWorkTimeList PersonnelIrregularWorkTimes
- {
- get
- {
- if (this.personnelIrregularWorkTimes == null)
- {
- this.personnelIrregularWorkTimes = new PersonnelIrregularWorkTimeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelIrregularWorkTimes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelIrregularWorkTimes.parentObject = (object) this;
- }
- return this.personnelIrregularWorkTimes;
- }
- set
- {
- this.personnelIrregularWorkTimes = value;
- this.SetDataState("PersonnelIrregularWorkTimes");
- if (value == null || value.parentObject != null)
- return;
- this.personnelIrregularWorkTimes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelMedicalDetailList PersonnelMedicalDetails
- {
- get
- {
- if (this.personnelMedicalDetails == null)
- {
- this.personnelMedicalDetails = new PersonnelMedicalDetailList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelMedicalDetails.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelMedicalDetails.parentObject = (object) this;
- }
- return this.personnelMedicalDetails;
- }
- set
- {
- this.personnelMedicalDetails = value;
- this.SetDataState("PersonnelMedicalDetails");
- if (value == null || value.parentObject != null)
- return;
- this.personnelMedicalDetails.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelMedicationList PersonnelMedications
- {
- get
- {
- if (this.personnelMedications == null)
- {
- this.personnelMedications = new PersonnelMedicationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelMedications.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelMedications.parentObject = (object) this;
- }
- return this.personnelMedications;
- }
- set
- {
- this.personnelMedications = value;
- this.SetDataState("PersonnelMedications");
- if (value == null || value.parentObject != null)
- return;
- this.personnelMedications.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelRankHistoryList PersonnelRankHistory
- {
- get
- {
- if (this.personnelRankHistory == null)
- {
- this.personnelRankHistory = new PersonnelRankHistoryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelRankHistory.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelRankHistory.parentObject = (object) this;
- }
- return this.personnelRankHistory;
- }
- set
- {
- this.personnelRankHistory = value;
- this.SetDataState("PersonnelRankHistory");
- if (value == null || value.parentObject != null)
- return;
- this.personnelRankHistory.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelRankList PersonnelRanks
- {
- get
- {
- if (this.personnelRanks == null)
- {
- this.personnelRanks = new PersonnelRankList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelRanks.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelRanks.parentObject = (object) this;
- }
- return this.personnelRanks;
- }
- set
- {
- this.personnelRanks = value;
- this.SetDataState("PersonnelRanks");
- if (value == null || value.parentObject != null)
- return;
- this.personnelRanks.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelRecordList PersonnelRecords
- {
- get
- {
- if (this.personnelRecords == null)
- {
- this.personnelRecords = new PersonnelRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelRecords.parentObject = (object) this;
- }
- return this.personnelRecords;
- }
- set
- {
- this.personnelRecords = value;
- this.SetDataState("PersonnelRecords");
- if (value == null || value.parentObject != null)
- return;
- this.personnelRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelRecordList UserLoginPersonnelRecords
- {
- get
- {
- if (this.userLoginPersonnelRecords == null)
- {
- this.userLoginPersonnelRecords = new PersonnelRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginPersonnelRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginPersonnelRecords.parentObject = (object) this;
- }
- return this.userLoginPersonnelRecords;
- }
- set
- {
- this.userLoginPersonnelRecords = value;
- this.SetDataState("UserLoginPersonnelRecords");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginPersonnelRecords.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelRegularWorkPlaceList PersonnelRegularWorkPlaces
- {
- get
- {
- if (this.personnelRegularWorkPlaces == null)
- {
- this.personnelRegularWorkPlaces = new PersonnelRegularWorkPlaceList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelRegularWorkPlaces.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelRegularWorkPlaces.parentObject = (object) this;
- }
- return this.personnelRegularWorkPlaces;
- }
- set
- {
- this.personnelRegularWorkPlaces = value;
- this.SetDataState("PersonnelRegularWorkPlaces");
- if (value == null || value.parentObject != null)
- return;
- this.personnelRegularWorkPlaces.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelRegularWorkTimeList PersonnelRegularWorkTimes
- {
- get
- {
- if (this.personnelRegularWorkTimes == null)
- {
- this.personnelRegularWorkTimes = new PersonnelRegularWorkTimeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelRegularWorkTimes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelRegularWorkTimes.parentObject = (object) this;
- }
- return this.personnelRegularWorkTimes;
- }
- set
- {
- this.personnelRegularWorkTimes = value;
- this.SetDataState("PersonnelRegularWorkTimes");
- if (value == null || value.parentObject != null)
- return;
- this.personnelRegularWorkTimes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelScheduledOffTimeList PersonnelScheduledOffTimes
- {
- get
- {
- if (this.personnelScheduledOffTimes == null)
- {
- this.personnelScheduledOffTimes = new PersonnelScheduledOffTimeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelScheduledOffTimes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelScheduledOffTimes.parentObject = (object) this;
- }
- return this.personnelScheduledOffTimes;
- }
- set
- {
- this.personnelScheduledOffTimes = value;
- this.SetDataState("PersonnelScheduledOffTimes");
- if (value == null || value.parentObject != null)
- return;
- this.personnelScheduledOffTimes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelSchedulingConstraintList PersonnelSchedulingConstraints
- {
- get
- {
- if (this.personnelSchedulingConstraints == null)
- {
- this.personnelSchedulingConstraints = new PersonnelSchedulingConstraintList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelSchedulingConstraints.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelSchedulingConstraints.parentObject = (object) this;
- }
- return this.personnelSchedulingConstraints;
- }
- set
- {
- this.personnelSchedulingConstraints = value;
- this.SetDataState("PersonnelSchedulingConstraints");
- if (value == null || value.parentObject != null)
- return;
- this.personnelSchedulingConstraints.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelSkillList PersonnelSkills
- {
- get
- {
- if (this.personnelSkills == null)
- {
- this.personnelSkills = new PersonnelSkillList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelSkills.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelSkills.parentObject = (object) this;
- }
- return this.personnelSkills;
- }
- set
- {
- this.personnelSkills = value;
- this.SetDataState("PersonnelSkills");
- if (value == null || value.parentObject != null)
- return;
- this.personnelSkills.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelStatusRequestList PersonnelStatusRequests
- {
- get
- {
- if (this.personnelStatusRequests == null)
- {
- this.personnelStatusRequests = new PersonnelStatusRequestList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelStatusRequests.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelStatusRequests.parentObject = (object) this;
- }
- return this.personnelStatusRequests;
- }
- set
- {
- this.personnelStatusRequests = value;
- this.SetDataState("PersonnelStatusRequests");
- if (value == null || value.parentObject != null)
- return;
- this.personnelStatusRequests.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonnelStatusTimeList PersonnelStatusTimes
- {
- get
- {
- if (this.personnelStatusTimes == null)
- {
- this.personnelStatusTimes = new PersonnelStatusTimeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelStatusTimes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelStatusTimes.parentObject = (object) this;
- }
- return this.personnelStatusTimes;
- }
- set
- {
- this.personnelStatusTimes = value;
- this.SetDataState("PersonnelStatusTimes");
- if (value == null || value.parentObject != null)
- return;
- this.personnelStatusTimes.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelStatusTypeList PersonnelStatusTypes
- {
- get
- {
- if (this.personnelStatusTypes == null)
- {
- this.personnelStatusTypes = new PersonnelStatusTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelStatusTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelStatusTypes.parentObject = (object) this;
- }
- return this.personnelStatusTypes;
- }
- set
- {
- this.personnelStatusTypes = value;
- this.SetDataState("PersonnelStatusTypes");
- if (value == null || value.parentObject != null)
- return;
- this.personnelStatusTypes.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonnelTimesheetRecordList PersonnelTimesheetRecords
- {
- get
- {
- if (this.personnelTimesheetRecords == null)
- {
- this.personnelTimesheetRecords = new PersonnelTimesheetRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personnelTimesheetRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personnelTimesheetRecords.parentObject = (object) this;
- }
- return this.personnelTimesheetRecords;
- }
- set
- {
- this.personnelTimesheetRecords = value;
- this.SetDataState("PersonnelTimesheetRecords");
- if (value == null || value.parentObject != null)
- return;
- this.personnelTimesheetRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PersonRecordList PersonRecords
- {
- get
- {
- if (this.personRecords == null)
- {
- this.personRecords = new PersonRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personRecords.parentObject = (object) this;
- }
- return this.personRecords;
- }
- set
- {
- this.personRecords = value;
- this.SetDataState("PersonRecords");
- if (value == null || value.parentObject != null)
- return;
- this.personRecords.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PersonRoleList PersonRoles
- {
- get
- {
- if (this.personRoles == null)
- {
- this.personRoles = new PersonRoleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.personRoles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.personRoles.parentObject = (object) this;
- }
- return this.personRoles;
- }
- set
- {
- this.personRoles = value;
- this.SetDataState("PersonRoles");
- if (value == null || value.parentObject != null)
- return;
- this.personRoles.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PrePlanList PrePlans
- {
- get
- {
- if (this.prePlans == null)
- {
- this.prePlans = new PrePlanList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.prePlans.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.prePlans.parentObject = (object) this;
- }
- return this.prePlans;
- }
- set
- {
- this.prePlans = value;
- this.SetDataState("PrePlans");
- if (value == null || value.parentObject != null)
- return;
- this.prePlans.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PropertyCodeViolationList PropertyCodeViolations
- {
- get
- {
- if (this.propertyCodeViolations == null)
- {
- this.propertyCodeViolations = new PropertyCodeViolationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.propertyCodeViolations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.propertyCodeViolations.parentObject = (object) this;
- }
- return this.propertyCodeViolations;
- }
- set
- {
- this.propertyCodeViolations = value;
- this.SetDataState("PropertyCodeViolations");
- if (value == null || value.parentObject != null)
- return;
- this.propertyCodeViolations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PropertyHydrantList PropertyHydrants
- {
- get
- {
- if (this.propertyHydrants == null)
- {
- this.propertyHydrants = new PropertyHydrantList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.propertyHydrants.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.propertyHydrants.parentObject = (object) this;
- }
- return this.propertyHydrants;
- }
- set
- {
- this.propertyHydrants = value;
- this.SetDataState("PropertyHydrants");
- if (value == null || value.parentObject != null)
- return;
- this.propertyHydrants.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PropertyInspectionCodeList PropertyInspectionCodes
- {
- get
- {
- if (this.propertyInspectionCodes == null)
- {
- this.propertyInspectionCodes = new PropertyInspectionCodeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.propertyInspectionCodes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.propertyInspectionCodes.parentObject = (object) this;
- }
- return this.propertyInspectionCodes;
- }
- set
- {
- this.propertyInspectionCodes = value;
- this.SetDataState("PropertyInspectionCodes");
- if (value == null || value.parentObject != null)
- return;
- this.propertyInspectionCodes.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PropertyInspectionList PropertyInspections
- {
- get
- {
- if (this.propertyInspections == null)
- {
- this.propertyInspections = new PropertyInspectionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.propertyInspections.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.propertyInspections.parentObject = (object) this;
- }
- return this.propertyInspections;
- }
- set
- {
- this.propertyInspections = value;
- this.SetDataState("PropertyInspections");
- if (value == null || value.parentObject != null)
- return;
- this.propertyInspections.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PropertyInspectionTypeList PropertyInspectionTypes
- {
- get
- {
- if (this.propertyInspectionTypes == null)
- {
- this.propertyInspectionTypes = new PropertyInspectionTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.propertyInspectionTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.propertyInspectionTypes.parentObject = (object) this;
- }
- return this.propertyInspectionTypes;
- }
- set
- {
- this.propertyInspectionTypes = value;
- this.SetDataState("PropertyInspectionTypes");
- if (value == null || value.parentObject != null)
- return;
- this.propertyInspectionTypes.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PropertyNameList PropertyNames
- {
- get
- {
- if (this.propertyNames == null)
- {
- this.propertyNames = new PropertyNameList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.propertyNames.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.propertyNames.parentObject = (object) this;
- }
- return this.propertyNames;
- }
- set
- {
- this.propertyNames = value;
- this.SetDataState("PropertyNames");
- if (value == null || value.parentObject != null)
- return;
- this.propertyNames.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PropertyOccupancyRecordList PropertyOccupancyRecords
- {
- get
- {
- if (this.propertyOccupancyRecords == null)
- {
- this.propertyOccupancyRecords = new PropertyOccupancyRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.propertyOccupancyRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.propertyOccupancyRecords.parentObject = (object) this;
- }
- return this.propertyOccupancyRecords;
- }
- set
- {
- this.propertyOccupancyRecords = value;
- this.SetDataState("PropertyOccupancyRecords");
- if (value == null || value.parentObject != null)
- return;
- this.propertyOccupancyRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PropertyOwnershipRecordList PropertyOwnershipRecords
- {
- get
- {
- if (this.propertyOwnershipRecords == null)
- {
- this.propertyOwnershipRecords = new PropertyOwnershipRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.propertyOwnershipRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.propertyOwnershipRecords.parentObject = (object) this;
- }
- return this.propertyOwnershipRecords;
- }
- set
- {
- this.propertyOwnershipRecords = value;
- this.SetDataState("PropertyOwnershipRecords");
- if (value == null || value.parentObject != null)
- return;
- this.propertyOwnershipRecords.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ProtectedPropertyList ProtectedProperties
- {
- get
- {
- if (this.protectedProperties == null)
- {
- this.protectedProperties = new ProtectedPropertyList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.protectedProperties.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.protectedProperties.parentObject = (object) this;
- }
- return this.protectedProperties;
- }
- set
- {
- this.protectedProperties = value;
- this.SetDataState("ProtectedProperties");
- if (value == null || value.parentObject != null)
- return;
- this.protectedProperties.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ProtectedPropertyContactList ProtectedPropertyContacts
- {
- get
- {
- if (this.protectedPropertyContacts == null)
- {
- this.protectedPropertyContacts = new ProtectedPropertyContactList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.protectedPropertyContacts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.protectedPropertyContacts.parentObject = (object) this;
- }
- return this.protectedPropertyContacts;
- }
- set
- {
- this.protectedPropertyContacts = value;
- this.SetDataState("ProtectedPropertyContacts");
- if (value == null || value.parentObject != null)
- return;
- this.protectedPropertyContacts.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ProtectedPropertyDirectionList ProtectedPropertyDirections
- {
- get
- {
- if (this.protectedPropertyDirections == null)
- {
- this.protectedPropertyDirections = new ProtectedPropertyDirectionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.protectedPropertyDirections.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.protectedPropertyDirections.parentObject = (object) this;
- }
- return this.protectedPropertyDirections;
- }
- set
- {
- this.protectedPropertyDirections = value;
- this.SetDataState("ProtectedPropertyDirections");
- if (value == null || value.parentObject != null)
- return;
- this.protectedPropertyDirections.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ProtectedPropertyInspectionGroupList ProtectedPropertyInspectionGroups
- {
- get
- {
- if (this.protectedPropertyInspectionGroups == null)
- {
- this.protectedPropertyInspectionGroups = new ProtectedPropertyInspectionGroupList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.protectedPropertyInspectionGroups.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.protectedPropertyInspectionGroups.parentObject = (object) this;
- }
- return this.protectedPropertyInspectionGroups;
- }
- set
- {
- this.protectedPropertyInspectionGroups = value;
- this.SetDataState("ProtectedPropertyInspectionGroups");
- if (value == null || value.parentObject != null)
- return;
- this.protectedPropertyInspectionGroups.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ProtectiveEquipmentFailureList ProtectiveEquipmentFailures
- {
- get
- {
- if (this.protectiveEquipmentFailures == null)
- {
- this.protectiveEquipmentFailures = new ProtectiveEquipmentFailureList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.protectiveEquipmentFailures.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.protectiveEquipmentFailures.parentObject = (object) this;
- }
- return this.protectiveEquipmentFailures;
- }
- set
- {
- this.protectiveEquipmentFailures = value;
- this.SetDataState("ProtectiveEquipmentFailures");
- if (value == null || value.parentObject != null)
- return;
- this.protectiveEquipmentFailures.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ProvidedResourceList ProvidedResources
- {
- get
- {
- if (this.providedResources == null)
- {
- this.providedResources = new ProvidedResourceList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.providedResources.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.providedResources.parentObject = (object) this;
- }
- return this.providedResources;
- }
- set
- {
- this.providedResources = value;
- this.SetDataState("ProvidedResources");
- if (value == null || value.parentObject != null)
- return;
- this.providedResources.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public PurchaseOrderItemList PurchaseOrderItems
- {
- get
- {
- if (this.purchaseOrderItems == null)
- {
- this.purchaseOrderItems = new PurchaseOrderItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.purchaseOrderItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.purchaseOrderItems.parentObject = (object) this;
- }
- return this.purchaseOrderItems;
- }
- set
- {
- this.purchaseOrderItems = value;
- this.SetDataState("PurchaseOrderItems");
- if (value == null || value.parentObject != null)
- return;
- this.purchaseOrderItems.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PurchaseOrderReceivedItemList PurchaseOrderReceivedItems
- {
- get
- {
- if (this.purchaseOrderReceivedItems == null)
- {
- this.purchaseOrderReceivedItems = new PurchaseOrderReceivedItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.purchaseOrderReceivedItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.purchaseOrderReceivedItems.parentObject = (object) this;
- }
- return this.purchaseOrderReceivedItems;
- }
- set
- {
- this.purchaseOrderReceivedItems = value;
- this.SetDataState("PurchaseOrderReceivedItems");
- if (value == null || value.parentObject != null)
- return;
- this.purchaseOrderReceivedItems.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public PurchaseOrderList PurchaseOrders
- {
- get
- {
- if (this.purchaseOrders == null)
- {
- this.purchaseOrders = new PurchaseOrderList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.purchaseOrders.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.purchaseOrders.parentObject = (object) this;
- }
- return this.purchaseOrders;
- }
- set
- {
- this.purchaseOrders = value;
- this.SetDataState("PurchaseOrders");
- if (value == null || value.parentObject != null)
- return;
- this.purchaseOrders.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ReceivedSynchronizationList ReceivedSynchronizations
- {
- get
- {
- if (this.receivedSynchronizations == null)
- {
- this.receivedSynchronizations = new ReceivedSynchronizationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.receivedSynchronizations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.receivedSynchronizations.parentObject = (object) this;
- }
- return this.receivedSynchronizations;
- }
- set
- {
- this.receivedSynchronizations = value;
- this.SetDataState("ReceivedSynchronizations");
- if (value == null || value.parentObject != null)
- return;
- this.receivedSynchronizations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public RecordAttachmentList RecordAttachments
- {
- get
- {
- if (this.recordAttachments == null)
- {
- this.recordAttachments = new RecordAttachmentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.recordAttachments.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.recordAttachments.parentObject = (object) this;
- }
- return this.recordAttachments;
- }
- set
- {
- this.recordAttachments = value;
- this.SetDataState("RecordAttachments");
- if (value == null || value.parentObject != null)
- return;
- this.recordAttachments.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RecordNoteList RecordNotes
- {
- get
- {
- if (this.recordNotes == null)
- {
- this.recordNotes = new RecordNoteList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.recordNotes.Reload("AddedByUserLoginID = '" + this.recordID.ToString() + "'");
- this.recordNotes.parentObject = (object) this;
- }
- return this.recordNotes;
- }
- set
- {
- this.recordNotes = value;
- this.SetDataState("RecordNotes");
- if (value == null || value.parentObject != null)
- return;
- this.recordNotes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RecordNoteList CreatedByUserLoginRecordNotes
- {
- get
- {
- if (this.createdByUserLoginRecordNotes == null)
- {
- this.createdByUserLoginRecordNotes = new RecordNoteList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.createdByUserLoginRecordNotes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.createdByUserLoginRecordNotes.parentObject = (object) this;
- }
- return this.createdByUserLoginRecordNotes;
- }
- set
- {
- this.createdByUserLoginRecordNotes = value;
- this.SetDataState("CreatedByUserLoginRecordNotes");
- if (value == null || value.parentObject != null)
- return;
- this.createdByUserLoginRecordNotes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RegisteredDepartmentList RegisteredDepartments
- {
- get
- {
- if (this.registeredDepartments == null)
- {
- this.registeredDepartments = new RegisteredDepartmentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.registeredDepartments.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.registeredDepartments.parentObject = (object) this;
- }
- return this.registeredDepartments;
- }
- set
- {
- this.registeredDepartments = value;
- this.SetDataState("RegisteredDepartments");
- if (value == null || value.parentObject != null)
- return;
- this.registeredDepartments.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RegularApparatusAssignmentList RegularApparatusAssignments
- {
- get
- {
- if (this.regularApparatusAssignments == null)
- {
- this.regularApparatusAssignments = new RegularApparatusAssignmentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.regularApparatusAssignments.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.regularApparatusAssignments.parentObject = (object) this;
- }
- return this.regularApparatusAssignments;
- }
- set
- {
- this.regularApparatusAssignments = value;
- this.SetDataState("RegularApparatusAssignments");
- if (value == null || value.parentObject != null)
- return;
- this.regularApparatusAssignments.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RegularAssignmentList RegularAssignments
- {
- get
- {
- if (this.regularAssignments == null)
- {
- this.regularAssignments = new RegularAssignmentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.regularAssignments.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.regularAssignments.parentObject = (object) this;
- }
- return this.regularAssignments;
- }
- set
- {
- this.regularAssignments = value;
- this.SetDataState("RegularAssignments");
- if (value == null || value.parentObject != null)
- return;
- this.regularAssignments.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public RelatedInvestigationList RelatedInvestigations
- {
- get
- {
- if (this.relatedInvestigations == null)
- {
- this.relatedInvestigations = new RelatedInvestigationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.relatedInvestigations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.relatedInvestigations.parentObject = (object) this;
- }
- return this.relatedInvestigations;
- }
- set
- {
- this.relatedInvestigations = value;
- this.SetDataState("RelatedInvestigations");
- if (value == null || value.parentObject != null)
- return;
- this.relatedInvestigations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ReportComponentFieldList ReportComponentFields
- {
- get
- {
- if (this.reportComponentFields == null)
- {
- this.reportComponentFields = new ReportComponentFieldList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.reportComponentFields.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.reportComponentFields.parentObject = (object) this;
- }
- return this.reportComponentFields;
- }
- set
- {
- this.reportComponentFields = value;
- this.SetDataState("ReportComponentFields");
- if (value == null || value.parentObject != null)
- return;
- this.reportComponentFields.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ReportComponentFilterList ReportComponentFilters
- {
- get
- {
- if (this.reportComponentFilters == null)
- {
- this.reportComponentFilters = new ReportComponentFilterList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.reportComponentFilters.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.reportComponentFilters.parentObject = (object) this;
- }
- return this.reportComponentFilters;
- }
- set
- {
- this.reportComponentFilters = value;
- this.SetDataState("ReportComponentFilters");
- if (value == null || value.parentObject != null)
- return;
- this.reportComponentFilters.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ReportComponentList ReportComponents
- {
- get
- {
- if (this.reportComponents == null)
- {
- this.reportComponents = new ReportComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.reportComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.reportComponents.parentObject = (object) this;
- }
- return this.reportComponents;
- }
- set
- {
- this.reportComponents = value;
- this.SetDataState("ReportComponents");
- if (value == null || value.parentObject != null)
- return;
- this.reportComponents.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ReportFilterList ReportFilters
- {
- get
- {
- if (this.reportFilters == null)
- {
- this.reportFilters = new ReportFilterList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.reportFilters.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.reportFilters.parentObject = (object) this;
- }
- return this.reportFilters;
- }
- set
- {
- this.reportFilters = value;
- this.SetDataState("ReportFilters");
- if (value == null || value.parentObject != null)
- return;
- this.reportFilters.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ReportLayoutList ReportLayouts
- {
- get
- {
- if (this.reportLayouts == null)
- {
- this.reportLayouts = new ReportLayoutList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.reportLayouts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.reportLayouts.parentObject = (object) this;
- }
- return this.reportLayouts;
- }
- set
- {
- this.reportLayouts = value;
- this.SetDataState("ReportLayouts");
- if (value == null || value.parentObject != null)
- return;
- this.reportLayouts.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ReportRecipientList ReportRecipients
- {
- get
- {
- if (this.reportRecipients == null)
- {
- this.reportRecipients = new ReportRecipientList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.reportRecipients.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.reportRecipients.parentObject = (object) this;
- }
- return this.reportRecipients;
- }
- set
- {
- this.reportRecipients = value;
- this.SetDataState("ReportRecipients");
- if (value == null || value.parentObject != null)
- return;
- this.reportRecipients.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ReportList Reports
- {
- get
- {
- if (this.reports == null)
- {
- this.reports = new ReportList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.reports.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.reports.parentObject = (object) this;
- }
- return this.reports;
- }
- set
- {
- this.reports = value;
- this.SetDataState("Reports");
- if (value == null || value.parentObject != null)
- return;
- this.reports.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ReportScheduleList ReportSchedules
- {
- get
- {
- if (this.reportSchedules == null)
- {
- this.reportSchedules = new ReportScheduleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.reportSchedules.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.reportSchedules.parentObject = (object) this;
- }
- return this.reportSchedules;
- }
- set
- {
- this.reportSchedules = value;
- this.SetDataState("ReportSchedules");
- if (value == null || value.parentObject != null)
- return;
- this.reportSchedules.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ResourceProviderList ResourceProviders
- {
- get
- {
- if (this.resourceProviders == null)
- {
- this.resourceProviders = new ResourceProviderList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.resourceProviders.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.resourceProviders.parentObject = (object) this;
- }
- return this.resourceProviders;
- }
- set
- {
- this.resourceProviders = value;
- this.SetDataState("ResourceProviders");
- if (value == null || value.parentObject != null)
- return;
- this.resourceProviders.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RespondingApparatusActionList RespondingApparatusActions
- {
- get
- {
- if (this.respondingApparatusActions == null)
- {
- this.respondingApparatusActions = new RespondingApparatusActionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.respondingApparatusActions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.respondingApparatusActions.parentObject = (object) this;
- }
- return this.respondingApparatusActions;
- }
- set
- {
- this.respondingApparatusActions = value;
- this.SetDataState("RespondingApparatusActions");
- if (value == null || value.parentObject != null)
- return;
- this.respondingApparatusActions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RespondingApparatusRecordList RespondingApparatusRecords
- {
- get
- {
- if (this.respondingApparatusRecords == null)
- {
- this.respondingApparatusRecords = new RespondingApparatusRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.respondingApparatusRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.respondingApparatusRecords.parentObject = (object) this;
- }
- return this.respondingApparatusRecords;
- }
- set
- {
- this.respondingApparatusRecords = value;
- this.SetDataState("RespondingApparatusRecords");
- if (value == null || value.parentObject != null)
- return;
- this.respondingApparatusRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RespondingPersonnelActionList RespondingPersonnelActions
- {
- get
- {
- if (this.respondingPersonnelActions == null)
- {
- this.respondingPersonnelActions = new RespondingPersonnelActionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.respondingPersonnelActions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.respondingPersonnelActions.parentObject = (object) this;
- }
- return this.respondingPersonnelActions;
- }
- set
- {
- this.respondingPersonnelActions = value;
- this.SetDataState("RespondingPersonnelActions");
- if (value == null || value.parentObject != null)
- return;
- this.respondingPersonnelActions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RespondingPersonnelRecordList RespondingPersonnelRecords
- {
- get
- {
- if (this.respondingPersonnelRecords == null)
- {
- this.respondingPersonnelRecords = new RespondingPersonnelRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.respondingPersonnelRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.respondingPersonnelRecords.parentObject = (object) this;
- }
- return this.respondingPersonnelRecords;
- }
- set
- {
- this.respondingPersonnelRecords = value;
- this.SetDataState("RespondingPersonnelRecords");
- if (value == null || value.parentObject != null)
- return;
- this.respondingPersonnelRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public RotationList Rotations
- {
- get
- {
- if (this.rotations == null)
- {
- this.rotations = new RotationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.rotations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.rotations.parentObject = (object) this;
- }
- return this.rotations;
- }
- set
- {
- this.rotations = value;
- this.SetDataState("Rotations");
- if (value == null || value.parentObject != null)
- return;
- this.rotations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SafetyEquipmentRecordList SafetyEquipmentRecords
- {
- get
- {
- if (this.safetyEquipmentRecords == null)
- {
- this.safetyEquipmentRecords = new SafetyEquipmentRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.safetyEquipmentRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.safetyEquipmentRecords.parentObject = (object) this;
- }
- return this.safetyEquipmentRecords;
- }
- set
- {
- this.safetyEquipmentRecords = value;
- this.SetDataState("SafetyEquipmentRecords");
- if (value == null || value.parentObject != null)
- return;
- this.safetyEquipmentRecords.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SceneLegalAccessDetailList SceneLegalAccessDetails
- {
- get
- {
- if (this.sceneLegalAccessDetails == null)
- {
- this.sceneLegalAccessDetails = new SceneLegalAccessDetailList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.sceneLegalAccessDetails.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.sceneLegalAccessDetails.parentObject = (object) this;
- }
- return this.sceneLegalAccessDetails;
- }
- set
- {
- this.sceneLegalAccessDetails = value;
- this.SetDataState("SceneLegalAccessDetails");
- if (value == null || value.parentObject != null)
- return;
- this.sceneLegalAccessDetails.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ScheduleRequirementList ScheduleRequirements
- {
- get
- {
- if (this.scheduleRequirements == null)
- {
- this.scheduleRequirements = new ScheduleRequirementList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.scheduleRequirements.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.scheduleRequirements.parentObject = (object) this;
- }
- return this.scheduleRequirements;
- }
- set
- {
- this.scheduleRequirements = value;
- this.SetDataState("ScheduleRequirements");
- if (value == null || value.parentObject != null)
- return;
- this.scheduleRequirements.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ScheduleList Schedules
- {
- get
- {
- if (this.schedules == null)
- {
- this.schedules = new ScheduleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.schedules.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.schedules.parentObject = (object) this;
- }
- return this.schedules;
- }
- set
- {
- this.schedules = value;
- this.SetDataState("Schedules");
- if (value == null || value.parentObject != null)
- return;
- this.schedules.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SchedulingPageLayoutList SchedulingPageLayouts
- {
- get
- {
- if (this.schedulingPageLayouts == null)
- {
- this.schedulingPageLayouts = new SchedulingPageLayoutList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.schedulingPageLayouts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.schedulingPageLayouts.parentObject = (object) this;
- }
- return this.schedulingPageLayouts;
- }
- set
- {
- this.schedulingPageLayouts = value;
- this.SetDataState("SchedulingPageLayouts");
- if (value == null || value.parentObject != null)
- return;
- this.schedulingPageLayouts.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SchedulingPageLayoutList UserLoginSchedulingPageLayouts
- {
- get
- {
- if (this.userLoginSchedulingPageLayouts == null)
- {
- this.userLoginSchedulingPageLayouts = new SchedulingPageLayoutList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginSchedulingPageLayouts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginSchedulingPageLayouts.parentObject = (object) this;
- }
- return this.userLoginSchedulingPageLayouts;
- }
- set
- {
- this.userLoginSchedulingPageLayouts = value;
- this.SetDataState("UserLoginSchedulingPageLayouts");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginSchedulingPageLayouts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ShiftRotationList ShiftRotations
- {
- get
- {
- if (this.shiftRotations == null)
- {
- this.shiftRotations = new ShiftRotationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.shiftRotations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.shiftRotations.parentObject = (object) this;
- }
- return this.shiftRotations;
- }
- set
- {
- this.shiftRotations = value;
- this.SetDataState("ShiftRotations");
- if (value == null || value.parentObject != null)
- return;
- this.shiftRotations.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ShiftList Shifts
- {
- get
- {
- if (this.shifts == null)
- {
- this.shifts = new ShiftList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.shifts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.shifts.parentObject = (object) this;
- }
- return this.shifts;
- }
- set
- {
- this.shifts = value;
- this.SetDataState("Shifts");
- if (value == null || value.parentObject != null)
- return;
- this.shifts.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SignatureList Signatures
- {
- get
- {
- if (this.signatures == null)
- {
- this.signatures = new SignatureList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.signatures.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.signatures.parentObject = (object) this;
- }
- return this.signatures;
- }
- set
- {
- this.signatures = value;
- this.SetDataState("Signatures");
- if (value == null || value.parentObject != null)
- return;
- this.signatures.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SkillComponentList SkillComponents
- {
- get
- {
- if (this.skillComponents == null)
- {
- this.skillComponents = new SkillComponentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.skillComponents.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.skillComponents.parentObject = (object) this;
- }
- return this.skillComponents;
- }
- set
- {
- this.skillComponents = value;
- this.SetDataState("SkillComponents");
- if (value == null || value.parentObject != null)
- return;
- this.skillComponents.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SkillList Skills
- {
- get
- {
- if (this.skills == null)
- {
- this.skills = new SkillList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.skills.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.skills.parentObject = (object) this;
- }
- return this.skills;
- }
- set
- {
- this.skills = value;
- this.SetDataState("Skills");
- if (value == null || value.parentObject != null)
- return;
- this.skills.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SpecificPropertyUsageList SpecificPropertyUsages
- {
- get
- {
- if (this.specificPropertyUsages == null)
- {
- this.specificPropertyUsages = new SpecificPropertyUsageList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.specificPropertyUsages.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.specificPropertyUsages.parentObject = (object) this;
- }
- return this.specificPropertyUsages;
- }
- set
- {
- this.specificPropertyUsages = value;
- this.SetDataState("SpecificPropertyUsages");
- if (value == null || value.parentObject != null)
- return;
- this.specificPropertyUsages.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public StateDictionaryEntryList StateDictionaryEntries
- {
- get
- {
- if (this.stateDictionaryEntries == null)
- {
- this.stateDictionaryEntries = new StateDictionaryEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.stateDictionaryEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.stateDictionaryEntries.parentObject = (object) this;
- }
- return this.stateDictionaryEntries;
- }
- set
- {
- this.stateDictionaryEntries = value;
- this.SetDataState("StateDictionaryEntries");
- if (value == null || value.parentObject != null)
- return;
- this.stateDictionaryEntries.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public StationContactList StationContacts
- {
- get
- {
- if (this.stationContacts == null)
- {
- this.stationContacts = new StationContactList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.stationContacts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.stationContacts.parentObject = (object) this;
- }
- return this.stationContacts;
- }
- set
- {
- this.stationContacts = value;
- this.SetDataState("StationContacts");
- if (value == null || value.parentObject != null)
- return;
- this.stationContacts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public StationLoginList StationLogins
- {
- get
- {
- if (this.stationLogins == null)
- {
- this.stationLogins = new StationLoginList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.stationLogins.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.stationLogins.parentObject = (object) this;
- }
- return this.stationLogins;
- }
- set
- {
- this.stationLogins = value;
- this.SetDataState("StationLogins");
- if (value == null || value.parentObject != null)
- return;
- this.stationLogins.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public StationLoginList UserLoginStationLogins
- {
- get
- {
- if (this.userLoginStationLogins == null)
- {
- this.userLoginStationLogins = new StationLoginList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginStationLogins.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginStationLogins.parentObject = (object) this;
- }
- return this.userLoginStationLogins;
- }
- set
- {
- this.userLoginStationLogins = value;
- this.SetDataState("UserLoginStationLogins");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginStationLogins.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public StationList Stations
- {
- get
- {
- if (this.stations == null)
- {
- this.stations = new StationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.stations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.stations.parentObject = (object) this;
- }
- return this.stations;
- }
- set
- {
- this.stations = value;
- this.SetDataState("Stations");
- if (value == null || value.parentObject != null)
- return;
- this.stations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public StorageAreaList StorageAreas
- {
- get
- {
- if (this.storageAreas == null)
- {
- this.storageAreas = new StorageAreaList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.storageAreas.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.storageAreas.parentObject = (object) this;
- }
- return this.storageAreas;
- }
- set
- {
- this.storageAreas = value;
- this.SetDataState("StorageAreas");
- if (value == null || value.parentObject != null)
- return;
- this.storageAreas.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public StreetDictionaryEntryList StreetDictionaryEntries
- {
- get
- {
- if (this.streetDictionaryEntries == null)
- {
- this.streetDictionaryEntries = new StreetDictionaryEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.streetDictionaryEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.streetDictionaryEntries.parentObject = (object) this;
- }
- return this.streetDictionaryEntries;
- }
- set
- {
- this.streetDictionaryEntries = value;
- this.SetDataState("StreetDictionaryEntries");
- if (value == null || value.parentObject != null)
- return;
- this.streetDictionaryEntries.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SupplyItemLevelList SupplyItemLevels
- {
- get
- {
- if (this.supplyItemLevels == null)
- {
- this.supplyItemLevels = new SupplyItemLevelList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.supplyItemLevels.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.supplyItemLevels.parentObject = (object) this;
- }
- return this.supplyItemLevels;
- }
- set
- {
- this.supplyItemLevels = value;
- this.SetDataState("SupplyItemLevels");
- if (value == null || value.parentObject != null)
- return;
- this.supplyItemLevels.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SupplyItemPurchaseDistributionList SupplyItemPurchaseDistributions
- {
- get
- {
- if (this.supplyItemPurchaseDistributions == null)
- {
- this.supplyItemPurchaseDistributions = new SupplyItemPurchaseDistributionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.supplyItemPurchaseDistributions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.supplyItemPurchaseDistributions.parentObject = (object) this;
- }
- return this.supplyItemPurchaseDistributions;
- }
- set
- {
- this.supplyItemPurchaseDistributions = value;
- this.SetDataState("SupplyItemPurchaseDistributions");
- if (value == null || value.parentObject != null)
- return;
- this.supplyItemPurchaseDistributions.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SupplyItemPurchaseList SupplyItemPurchases
- {
- get
- {
- if (this.supplyItemPurchases == null)
- {
- this.supplyItemPurchases = new SupplyItemPurchaseList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.supplyItemPurchases.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.supplyItemPurchases.parentObject = (object) this;
- }
- return this.supplyItemPurchases;
- }
- set
- {
- this.supplyItemPurchases = value;
- this.SetDataState("SupplyItemPurchases");
- if (value == null || value.parentObject != null)
- return;
- this.supplyItemPurchases.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SupplyItemList SupplyItems
- {
- get
- {
- if (this.supplyItems == null)
- {
- this.supplyItems = new SupplyItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.supplyItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.supplyItems.parentObject = (object) this;
- }
- return this.supplyItems;
- }
- set
- {
- this.supplyItems = value;
- this.SetDataState("SupplyItems");
- if (value == null || value.parentObject != null)
- return;
- this.supplyItems.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SupplyItemTypeList SupplyItemTypes
- {
- get
- {
- if (this.supplyItemTypes == null)
- {
- this.supplyItemTypes = new SupplyItemTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.supplyItemTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.supplyItemTypes.parentObject = (object) this;
- }
- return this.supplyItemTypes;
- }
- set
- {
- this.supplyItemTypes = value;
- this.SetDataState("SupplyItemTypes");
- if (value == null || value.parentObject != null)
- return;
- this.supplyItemTypes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SupplyItemUsageList SupplyItemUsages
- {
- get
- {
- if (this.supplyItemUsages == null)
- {
- this.supplyItemUsages = new SupplyItemUsageList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.supplyItemUsages.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.supplyItemUsages.parentObject = (object) this;
- }
- return this.supplyItemUsages;
- }
- set
- {
- this.supplyItemUsages = value;
- this.SetDataState("SupplyItemUsages");
- if (value == null || value.parentObject != null)
- return;
- this.supplyItemUsages.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SuppressionFactorList SuppressionFactors
- {
- get
- {
- if (this.suppressionFactors == null)
- {
- this.suppressionFactors = new SuppressionFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.suppressionFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.suppressionFactors.parentObject = (object) this;
- }
- return this.suppressionFactors;
- }
- set
- {
- this.suppressionFactors = value;
- this.SetDataState("SuppressionFactors");
- if (value == null || value.parentObject != null)
- return;
- this.suppressionFactors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SuspectedMotivationFactorList SuspectedMotivationFactors
- {
- get
- {
- if (this.suspectedMotivationFactors == null)
- {
- this.suspectedMotivationFactors = new SuspectedMotivationFactorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.suspectedMotivationFactors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.suspectedMotivationFactors.parentObject = (object) this;
- }
- return this.suspectedMotivationFactors;
- }
- set
- {
- this.suspectedMotivationFactors = value;
- this.SetDataState("SuspectedMotivationFactors");
- if (value == null || value.parentObject != null)
- return;
- this.suspectedMotivationFactors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SuspectList Suspects
- {
- get
- {
- if (this.suspects == null)
- {
- this.suspects = new SuspectList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.suspects.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.suspects.parentObject = (object) this;
- }
- return this.suspects;
- }
- set
- {
- this.suspects = value;
- this.SetDataState("Suspects");
- if (value == null || value.parentObject != null)
- return;
- this.suspects.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public SynchronizationRecordList SynchronizationRecords
- {
- get
- {
- if (this.synchronizationRecords == null)
- {
- this.synchronizationRecords = new SynchronizationRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.synchronizationRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.synchronizationRecords.parentObject = (object) this;
- }
- return this.synchronizationRecords;
- }
- set
- {
- this.synchronizationRecords = value;
- this.SetDataState("SynchronizationRecords");
- if (value == null || value.parentObject != null)
- return;
- this.synchronizationRecords.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public SynchronizerStatusList SynchronizerStatuses
- {
- get
- {
- if (this.synchronizerStatuses == null)
- {
- this.synchronizerStatuses = new SynchronizerStatusList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.synchronizerStatuses.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.synchronizerStatuses.parentObject = (object) this;
- }
- return this.synchronizerStatuses;
- }
- set
- {
- this.synchronizerStatuses = value;
- this.SetDataState("SynchronizerStatuses");
- if (value == null || value.parentObject != null)
- return;
- this.synchronizerStatuses.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TableLookupList TableLookups
- {
- get
- {
- if (this.tableLookups == null)
- {
- this.tableLookups = new TableLookupList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.tableLookups.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.tableLookups.parentObject = (object) this;
- }
- return this.tableLookups;
- }
- set
- {
- this.tableLookups = value;
- this.SetDataState("TableLookups");
- if (value == null || value.parentObject != null)
- return;
- this.tableLookups.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingApparatusRecordList TrainingApparatusRecords
- {
- get
- {
- if (this.trainingApparatusRecords == null)
- {
- this.trainingApparatusRecords = new TrainingApparatusRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingApparatusRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingApparatusRecords.parentObject = (object) this;
- }
- return this.trainingApparatusRecords;
- }
- set
- {
- this.trainingApparatusRecords = value;
- this.SetDataState("TrainingApparatusRecords");
- if (value == null || value.parentObject != null)
- return;
- this.trainingApparatusRecords.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingCategoryList TrainingCategories
- {
- get
- {
- if (this.trainingCategories == null)
- {
- this.trainingCategories = new TrainingCategoryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingCategories.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingCategories.parentObject = (object) this;
- }
- return this.trainingCategories;
- }
- set
- {
- this.trainingCategories = value;
- this.SetDataState("TrainingCategories");
- if (value == null || value.parentObject != null)
- return;
- this.trainingCategories.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingCertificateDistributionList TrainingCertificateDistributions
- {
- get
- {
- if (this.trainingCertificateDistributions == null)
- {
- this.trainingCertificateDistributions = new TrainingCertificateDistributionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingCertificateDistributions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingCertificateDistributions.parentObject = (object) this;
- }
- return this.trainingCertificateDistributions;
- }
- set
- {
- this.trainingCertificateDistributions = value;
- this.SetDataState("TrainingCertificateDistributions");
- if (value == null || value.parentObject != null)
- return;
- this.trainingCertificateDistributions.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingClassAttendanceRecordList TrainingClassAttendanceRecords
- {
- get
- {
- if (this.trainingClassAttendanceRecords == null)
- {
- this.trainingClassAttendanceRecords = new TrainingClassAttendanceRecordList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassAttendanceRecords.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassAttendanceRecords.parentObject = (object) this;
- }
- return this.trainingClassAttendanceRecords;
- }
- set
- {
- this.trainingClassAttendanceRecords = value;
- this.SetDataState("TrainingClassAttendanceRecords");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassAttendanceRecords.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingClassAutoAssignmentList TrainingClassAutoAssignments
- {
- get
- {
- if (this.trainingClassAutoAssignments == null)
- {
- this.trainingClassAutoAssignments = new TrainingClassAutoAssignmentList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassAutoAssignments.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassAutoAssignments.parentObject = (object) this;
- }
- return this.trainingClassAutoAssignments;
- }
- set
- {
- this.trainingClassAutoAssignments = value;
- this.SetDataState("TrainingClassAutoAssignments");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassAutoAssignments.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingClassList TrainingClasses
- {
- get
- {
- if (this.trainingClasses == null)
- {
- this.trainingClasses = new TrainingClassList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClasses.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClasses.parentObject = (object) this;
- }
- return this.trainingClasses;
- }
- set
- {
- this.trainingClasses = value;
- this.SetDataState("TrainingClasses");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClasses.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingClassInstructorList TrainingClassInstructors
- {
- get
- {
- if (this.trainingClassInstructors == null)
- {
- this.trainingClassInstructors = new TrainingClassInstructorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassInstructors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassInstructors.parentObject = (object) this;
- }
- return this.trainingClassInstructors;
- }
- set
- {
- this.trainingClassInstructors = value;
- this.SetDataState("TrainingClassInstructors");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassInstructors.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingClassPrerequisiteList TrainingClassPrerequisites
- {
- get
- {
- if (this.trainingClassPrerequisites == null)
- {
- this.trainingClassPrerequisites = new TrainingClassPrerequisiteList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassPrerequisites.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassPrerequisites.parentObject = (object) this;
- }
- return this.trainingClassPrerequisites;
- }
- set
- {
- this.trainingClassPrerequisites = value;
- this.SetDataState("TrainingClassPrerequisites");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassPrerequisites.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingClassSessionInstructorList TrainingClassSessionInstructors
- {
- get
- {
- if (this.trainingClassSessionInstructors == null)
- {
- this.trainingClassSessionInstructors = new TrainingClassSessionInstructorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassSessionInstructors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassSessionInstructors.parentObject = (object) this;
- }
- return this.trainingClassSessionInstructors;
- }
- set
- {
- this.trainingClassSessionInstructors = value;
- this.SetDataState("TrainingClassSessionInstructors");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassSessionInstructors.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingClassSessionList TrainingClassSessions
- {
- get
- {
- if (this.trainingClassSessions == null)
- {
- this.trainingClassSessions = new TrainingClassSessionList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassSessions.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassSessions.parentObject = (object) this;
- }
- return this.trainingClassSessions;
- }
- set
- {
- this.trainingClassSessions = value;
- this.SetDataState("TrainingClassSessions");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassSessions.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingClassSessionTopicList TrainingClassSessionTopics
- {
- get
- {
- if (this.trainingClassSessionTopics == null)
- {
- this.trainingClassSessionTopics = new TrainingClassSessionTopicList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassSessionTopics.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassSessionTopics.parentObject = (object) this;
- }
- return this.trainingClassSessionTopics;
- }
- set
- {
- this.trainingClassSessionTopics = value;
- this.SetDataState("TrainingClassSessionTopics");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassSessionTopics.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingClassTopicInstructorList TrainingClassTopicInstructors
- {
- get
- {
- if (this.trainingClassTopicInstructors == null)
- {
- this.trainingClassTopicInstructors = new TrainingClassTopicInstructorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassTopicInstructors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassTopicInstructors.parentObject = (object) this;
- }
- return this.trainingClassTopicInstructors;
- }
- set
- {
- this.trainingClassTopicInstructors = value;
- this.SetDataState("TrainingClassTopicInstructors");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassTopicInstructors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingClassTopicList TrainingClassTopics
- {
- get
- {
- if (this.trainingClassTopics == null)
- {
- this.trainingClassTopics = new TrainingClassTopicList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassTopics.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassTopics.parentObject = (object) this;
- }
- return this.trainingClassTopics;
- }
- set
- {
- this.trainingClassTopics = value;
- this.SetDataState("TrainingClassTopics");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassTopics.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingClassTopicSessionInstructorList TrainingClassTopicSessionInstructors
- {
- get
- {
- if (this.trainingClassTopicSessionInstructors == null)
- {
- this.trainingClassTopicSessionInstructors = new TrainingClassTopicSessionInstructorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingClassTopicSessionInstructors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingClassTopicSessionInstructors.parentObject = (object) this;
- }
- return this.trainingClassTopicSessionInstructors;
- }
- set
- {
- this.trainingClassTopicSessionInstructors = value;
- this.SetDataState("TrainingClassTopicSessionInstructors");
- if (value == null || value.parentObject != null)
- return;
- this.trainingClassTopicSessionInstructors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingCourseClassList TrainingCourseClasses
- {
- get
- {
- if (this.trainingCourseClasses == null)
- {
- this.trainingCourseClasses = new TrainingCourseClassList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingCourseClasses.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingCourseClasses.parentObject = (object) this;
- }
- return this.trainingCourseClasses;
- }
- set
- {
- this.trainingCourseClasses = value;
- this.SetDataState("TrainingCourseClasses");
- if (value == null || value.parentObject != null)
- return;
- this.trainingCourseClasses.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingCourseInstructorList TrainingCourseInstructors
- {
- get
- {
- if (this.trainingCourseInstructors == null)
- {
- this.trainingCourseInstructors = new TrainingCourseInstructorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingCourseInstructors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingCourseInstructors.parentObject = (object) this;
- }
- return this.trainingCourseInstructors;
- }
- set
- {
- this.trainingCourseInstructors = value;
- this.SetDataState("TrainingCourseInstructors");
- if (value == null || value.parentObject != null)
- return;
- this.trainingCourseInstructors.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingCoursePrerequisiteList TrainingCoursePrerequisites
- {
- get
- {
- if (this.trainingCoursePrerequisites == null)
- {
- this.trainingCoursePrerequisites = new TrainingCoursePrerequisiteList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingCoursePrerequisites.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingCoursePrerequisites.parentObject = (object) this;
- }
- return this.trainingCoursePrerequisites;
- }
- set
- {
- this.trainingCoursePrerequisites = value;
- this.SetDataState("TrainingCoursePrerequisites");
- if (value == null || value.parentObject != null)
- return;
- this.trainingCoursePrerequisites.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingCourseList TrainingCourses
- {
- get
- {
- if (this.trainingCourses == null)
- {
- this.trainingCourses = new TrainingCourseList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingCourses.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingCourses.parentObject = (object) this;
- }
- return this.trainingCourses;
- }
- set
- {
- this.trainingCourses = value;
- this.SetDataState("TrainingCourses");
- if (value == null || value.parentObject != null)
- return;
- this.trainingCourses.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingHourRequirementList TrainingHourRequirements
- {
- get
- {
- if (this.trainingHourRequirements == null)
- {
- this.trainingHourRequirements = new TrainingHourRequirementList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingHourRequirements.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingHourRequirements.parentObject = (object) this;
- }
- return this.trainingHourRequirements;
- }
- set
- {
- this.trainingHourRequirements = value;
- this.SetDataState("TrainingHourRequirements");
- if (value == null || value.parentObject != null)
- return;
- this.trainingHourRequirements.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public TrainingInstructorList TrainingInstructors
- {
- get
- {
- if (this.trainingInstructors == null)
- {
- this.trainingInstructors = new TrainingInstructorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingInstructors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingInstructors.parentObject = (object) this;
- }
- return this.trainingInstructors;
- }
- set
- {
- this.trainingInstructors = value;
- this.SetDataState("TrainingInstructors");
- if (value == null || value.parentObject != null)
- return;
- this.trainingInstructors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public TrainingTopicList TrainingTopics
- {
- get
- {
- if (this.trainingTopics == null)
- {
- this.trainingTopics = new TrainingTopicList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.trainingTopics.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.trainingTopics.parentObject = (object) this;
- }
- return this.trainingTopics;
- }
- set
- {
- this.trainingTopics = value;
- this.SetDataState("TrainingTopics");
- if (value == null || value.parentObject != null)
- return;
- this.trainingTopics.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public UsedLaboratoryList UsedLaboratories
- {
- get
- {
- if (this.usedLaboratories == null)
- {
- this.usedLaboratories = new UsedLaboratoryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.usedLaboratories.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.usedLaboratories.parentObject = (object) this;
- }
- return this.usedLaboratories;
- }
- set
- {
- this.usedLaboratories = value;
- this.SetDataState("UsedLaboratories");
- if (value == null || value.parentObject != null)
- return;
- this.usedLaboratories.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public UserLoginList UserLogins
- {
- get
- {
- if (this.userLogins == null)
- {
- this.userLogins = new UserLoginList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLogins.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLogins.parentObject = (object) this;
- }
- return this.userLogins;
- }
- set
- {
- this.userLogins = value;
- this.SetDataState("UserLogins");
- if (value == null || value.parentObject != null)
- return;
- this.userLogins.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public new UserPreferenceList UserPreferences
- {
- get
- {
- if (this.userPreferences == null)
- {
- this.userPreferences = new UserPreferenceList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userPreferences.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userPreferences.parentObject = (object) this;
- }
- return this.userPreferences;
- }
- set
- {
- this.userPreferences = value;
- this.SetDataState("UserPreferences");
- if (value == null || value.parentObject != null)
- return;
- this.userPreferences.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public UserPreferenceList UserLoginUserPreferences
- {
- get
- {
- if (this.userLoginUserPreferences == null)
- {
- this.userLoginUserPreferences = new UserPreferenceList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginUserPreferences.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginUserPreferences.parentObject = (object) this;
- }
- return this.userLoginUserPreferences;
- }
- set
- {
- this.userLoginUserPreferences = value;
- this.SetDataState("UserLoginUserPreferences");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginUserPreferences.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public UserRoleList UserRoles
- {
- get
- {
- if (this.userRoles == null)
- {
- this.userRoles = new UserRoleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userRoles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userRoles.parentObject = (object) this;
- }
- return this.userRoles;
- }
- set
- {
- this.userRoles = value;
- this.SetDataState("UserRoles");
- if (value == null || value.parentObject != null)
- return;
- this.userRoles.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public UserRoleList UserLoginUserRoles
- {
- get
- {
- if (this.userLoginUserRoles == null)
- {
- this.userLoginUserRoles = new UserRoleList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginUserRoles.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginUserRoles.parentObject = (object) this;
- }
- return this.userLoginUserRoles;
- }
- set
- {
- this.userLoginUserRoles = value;
- this.SetDataState("UserLoginUserRoles");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginUserRoles.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public UserSecurityLevelList UserSecurityLevels
- {
- get
- {
- if (this.userSecurityLevels == null)
- {
- this.userSecurityLevels = new UserSecurityLevelList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userSecurityLevels.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userSecurityLevels.parentObject = (object) this;
- }
- return this.userSecurityLevels;
- }
- set
- {
- this.userSecurityLevels = value;
- this.SetDataState("UserSecurityLevels");
- if (value == null || value.parentObject != null)
- return;
- this.userSecurityLevels.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public UserSecurityLevelList UserLoginUserSecurityLevels
- {
- get
- {
- if (this.userLoginUserSecurityLevels == null)
- {
- this.userLoginUserSecurityLevels = new UserSecurityLevelList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.userLoginUserSecurityLevels.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.userLoginUserSecurityLevels.parentObject = (object) this;
- }
- return this.userLoginUserSecurityLevels;
- }
- set
- {
- this.userLoginUserSecurityLevels = value;
- this.SetDataState("UserLoginUserSecurityLevels");
- if (value == null || value.parentObject != null)
- return;
- this.userLoginUserSecurityLevels.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public VendorList Vendors
- {
- get
- {
- if (this.vendors == null)
- {
- this.vendors = new VendorList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.vendors.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.vendors.parentObject = (object) this;
- }
- return this.vendors;
- }
- set
- {
- this.vendors = value;
- this.SetDataState("Vendors");
- if (value == null || value.parentObject != null)
- return;
- this.vendors.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public VendorTypeList VendorTypes
- {
- get
- {
- if (this.vendorTypes == null)
- {
- this.vendorTypes = new VendorTypeList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.vendorTypes.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.vendorTypes.parentObject = (object) this;
- }
- return this.vendorTypes;
- }
- set
- {
- this.vendorTypes = value;
- this.SetDataState("VendorTypes");
- if (value == null || value.parentObject != null)
- return;
- this.vendorTypes.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public WildlandLocationList WildlandLocations
- {
- get
- {
- if (this.wildlandLocations == null)
- {
- this.wildlandLocations = new WildlandLocationList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.wildlandLocations.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.wildlandLocations.parentObject = (object) this;
- }
- return this.wildlandLocations;
- }
- set
- {
- this.wildlandLocations = value;
- this.SetDataState("WildlandLocations");
- if (value == null || value.parentObject != null)
- return;
- this.wildlandLocations.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public WitnessStatementList WitnessStatements
- {
- get
- {
- if (this.witnessStatements == null)
- {
- this.witnessStatements = new WitnessStatementList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.witnessStatements.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.witnessStatements.parentObject = (object) this;
- }
- return this.witnessStatements;
- }
- set
- {
- this.witnessStatements = value;
- this.SetDataState("WitnessStatements");
- if (value == null || value.parentObject != null)
- return;
- this.witnessStatements.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public WorkOrderItemList WorkOrderItems
- {
- get
- {
- if (this.workOrderItems == null)
- {
- this.workOrderItems = new WorkOrderItemList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.workOrderItems.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.workOrderItems.parentObject = (object) this;
- }
- return this.workOrderItems;
- }
- set
- {
- this.workOrderItems = value;
- this.SetDataState("WorkOrderItems");
- if (value == null || value.parentObject != null)
- return;
- this.workOrderItems.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public WorkOrderPerformerList WorkOrderPerformers
- {
- get
- {
- if (this.workOrderPerformers == null)
- {
- this.workOrderPerformers = new WorkOrderPerformerList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.workOrderPerformers.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.workOrderPerformers.parentObject = (object) this;
- }
- return this.workOrderPerformers;
- }
- set
- {
- this.workOrderPerformers = value;
- this.SetDataState("WorkOrderPerformers");
- if (value == null || value.parentObject != null)
- return;
- this.workOrderPerformers.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public WorkOrderReplacedFluidList WorkOrderReplacedFluids
- {
- get
- {
- if (this.workOrderReplacedFluids == null)
- {
- this.workOrderReplacedFluids = new WorkOrderReplacedFluidList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.workOrderReplacedFluids.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.workOrderReplacedFluids.parentObject = (object) this;
- }
- return this.workOrderReplacedFluids;
- }
- set
- {
- this.workOrderReplacedFluids = value;
- this.SetDataState("WorkOrderReplacedFluids");
- if (value == null || value.parentObject != null)
- return;
- this.workOrderReplacedFluids.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public WorkOrderReplacedPartList WorkOrderReplacedParts
- {
- get
- {
- if (this.workOrderReplacedParts == null)
- {
- this.workOrderReplacedParts = new WorkOrderReplacedPartList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.workOrderReplacedParts.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.workOrderReplacedParts.parentObject = (object) this;
- }
- return this.workOrderReplacedParts;
- }
- set
- {
- this.workOrderReplacedParts = value;
- this.SetDataState("WorkOrderReplacedParts");
- if (value == null || value.parentObject != null)
- return;
- this.workOrderReplacedParts.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public WorkOrderList WorkOrders
- {
- get
- {
- if (this.workOrders == null)
- {
- this.workOrders = new WorkOrderList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.workOrders.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.workOrders.parentObject = (object) this;
- }
- return this.workOrders;
- }
- set
- {
- this.workOrders = value;
- this.SetDataState("WorkOrders");
- if (value == null || value.parentObject != null)
- return;
- this.workOrders.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Nonreportable)]
- [CustomQuery(QueryStyle.Nonqueryable)]
- public ZipcodeDictionaryEntryList ZipcodeDictionaryEntries
- {
- get
- {
- if (this.zipcodeDictionaryEntries == null)
- {
- this.zipcodeDictionaryEntries = new ZipcodeDictionaryEntryList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.zipcodeDictionaryEntries.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.zipcodeDictionaryEntries.parentObject = (object) this;
- }
- return this.zipcodeDictionaryEntries;
- }
- set
- {
- this.zipcodeDictionaryEntries = value;
- this.SetDataState("ZipcodeDictionaryEntries");
- if (value == null || value.parentObject != null)
- return;
- this.zipcodeDictionaryEntries.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public ZoneList Zones
- {
- get
- {
- if (this.zones == null)
- {
- this.zones = new ZoneList();
- if (this.recordState != BusinessObject.FireProgramsRecordState.Added && this.recordID.HasValue)
- this.zones.Reload("UserLoginID = '" + this.recordID.ToString() + "'");
- this.zones.parentObject = (object) this;
- }
- return this.zones;
- }
- set
- {
- this.zones = value;
- this.SetDataState("Zones");
- if (value == null || value.parentObject != null)
- return;
- this.zones.parentObject = (object) this;
- }
- }
- [CustomQuery(QueryStyle.Nonqueryable)]
- [CustomReporting(Visibility.Nonreportable)]
- public UserLogin CreatedByUserLogin
- {
- get
- {
- if ((BusinessObject) this.createdByUserLogin == (BusinessObject) null)
- {
- if (this.createdByUserLoginID.HasValue && !string.IsNullOrEmpty(this.createdByUserLoginID.ToString()) && !this.createdByUserLoginID.ToString().Equals(Guid.Empty.ToString()))
- {
- if ((BusinessObject) GlobalValues.CurrentLogin == (BusinessObject) null)
- {
- this.createdByUserLogin = new UserLogin();
- this.createdByUserLogin.Refresh("RecordID = '" + this.createdByUserLoginID.ToString() + "'");
- }
- else
- {
- this.createdByUserLogin = (GlobalValues.CurrentLogin.GetLookup("UserLoginList") as UserLoginList).FindByRecordID(this.createdByUserLoginID);
- if ((BusinessObject) this.createdByUserLogin == (BusinessObject) null)
- this.createdByUserLogin = new UserLogin(new Guid?(Guid.NewGuid()), false);
- }
- }
- else
- this.createdByUserLogin = new UserLogin(new Guid?(Guid.NewGuid()), false);
- this.createdByUserLogin.parentObject = (object) this;
- }
- return this.createdByUserLogin;
- }
- set
- {
- this.createdByUserLogin = value;
- if (!((BusinessObject) value != (BusinessObject) null) || value.parentObject != null)
- return;
- this.createdByUserLogin.parentObject = (object) this;
- }
- }
- [CustomReporting(Visibility.Reportable)]
- [CustomQuery(QueryStyle.Nonindexed)]
- public string ConfirmPassword
- {
- get
- {
- if (this.passwordConfirmed && string.IsNullOrEmpty(this._confirmPassword))
- return this.password;
- return this._confirmPassword;
- }
- set
- {
- if (!(this._confirmPassword != value))
- return;
- this._confirmPassword = value;
- this.SetDataState("ConfirmPassword");
- }
- }
- public string DisplayConfirmPassword
- {
- get
- {
- string str = string.Empty;
- if (!string.IsNullOrEmpty(this.ConfirmPassword))
- {
- str = this.ConfirmPassword;
- if (str.Length < 8)
- str.PadRight(8, '*');
- }
- return str;
- }
- set
- {
- if (string.IsNullOrEmpty(value))
- this.ConfirmPassword = string.Empty;
- else
- this.ConfirmPassword = value;
- }
- }
- public bool IsComputerAdministrator
- {
- get
- {
- return new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);
- }
- }
- public IDbConnection PersistentConnection
- {
- get
- {
- return this._persistentConnection;
- }
- set
- {
- this._persistentConnection = value;
- }
- }
- public UserPreferenceList EffectiveUserPreferences
- {
- get
- {
- if (this._effectiveUserPreferences == null)
- {
- this._effectiveUserPreferences = UserPreferenceList.ReadAll(this.recordID, this.deptID, this.customerID);
- this._effectiveUserPreferences.ParentObject = (object) this;
- }
- return this._effectiveUserPreferences;
- }
- set
- {
- this._effectiveUserPreferences = value;
- }
- }
- public UserPreferenceList Preferences
- {
- get
- {
- if (this.preferences == null)
- this.preferences = UserPreferenceList.ReadAll(this.recordID, this.deptID, this.customerID);
- return this.preferences;
- }
- set
- {
- this.preferences = value;
- }
- }
- public PersonnelRecord PersonnelRecord
- {
- get
- {
- if (this.PersonnelRecords.Count == 0)
- return (PersonnelRecord) null;
- return this.PersonnelRecords[0];
- }
- }
- public string DisplayName
- {
- get
- {
- if (this.PersonnelRecords.Count != 0)
- return this.PersonnelRecords[0].displayName;
- if (string.IsNullOrEmpty(this.userDisplayName))
- return this.userName;
- return this.userDisplayName;
- }
- }
- public string DisplayUserName
- {
- get
- {
- string str = this.userName;
- int length = this.userName.LastIndexOf(".");
- if (length != -1)
- str = str.Substring(0, length);
- return str;
- }
- set
- {
- int num = this.userName.LastIndexOf(".");
- string str;
- if (num != -1)
- {
- str = value + "." + this.userName.Substring(num + 1);
- }
- else
- {
- Customer customer = new Customer(GlobalValues.CustomerID);
- str = value + "." + customer.CustomerNumber;
- }
- this.UserName = str;
- }
- }
- public string DisplayPassword
- {
- get
- {
- string str = string.Empty;
- if (!string.IsNullOrEmpty(this.password))
- {
- str = this.password;
- if (str.Length < 8)
- str.PadRight(8, '*');
- }
- return str;
- }
- set
- {
- if (string.IsNullOrEmpty(value))
- this.Password = string.Empty;
- else
- this.Password = value;
- }
- }
- public bool UseCustomerLogin
- {
- get
- {
- return this._useCustomerLogin;
- }
- set
- {
- if (object.Equals((object) (bool) (this._useCustomerLogin ? 1 : 0), (object) (bool) (value ? 1 : 0)))
- return;
- this._useCustomerLogin = value;
- this.UserLoginRoles = (UserLoginRoleList) null;
- }
- }
- public UserLoginRoleList UserLoginRoles
- {
- get
- {
- if (this.roleResult == null)
- {
- this.roleResult = new UserLoginRoleList();
- this.roleResult.ListChanged += new ListChangedEventHandler(this.roleResult_ListChanged);
- if (this.UseCustomerLogin)
- {
- if (this.CustomerLogins.Count > 0)
- {
- if ((BusinessObject) this.CustomerLogins.Current == (BusinessObject) null)
- this.CustomerLogins.Current = this.CustomerLogins[0];
- foreach (CustomerLoginRole customerLoginRole in (BusinessObjectList<CustomerLoginRole>) this.CustomerLogins.Current.CustomerLoginRoles)
- {
- UserLoginRole recordToAdd = new UserLoginRole();
- recordToAdd.SubLoginRoleId = customerLoginRole.RecordID;
- recordToAdd.ApplicationRoleID = customerLoginRole.ApplicationRoleID.Value;
- Guid? recordId = customerLoginRole.RecordID;
- Guid guid = Guid.Empty;
- if ((!recordId.HasValue ? 1 : (recordId.GetValueOrDefault() != guid ? 1 : 0)) != 0)
- recordToAdd.IsBlank = false;
- this.roleResult.AddRecord(recordToAdd);
- }
- }
- }
- else if (this.DepartmentLogins.Count > 0)
- {
- if ((BusinessObject) this.DepartmentLogins.Current == (BusinessObject) null)
- this.DepartmentLogins.Current = this.DepartmentLogins[0];
- foreach (DepartmentLoginRole departmentLoginRole in (BusinessObjectList<DepartmentLoginRole>) this.DepartmentLogins.Current.DepartmentLoginRoles)
- {
- UserLoginRole recordToAdd = new UserLoginRole();
- recordToAdd.SubLoginRoleId = departmentLoginRole.RecordID;
- recordToAdd.ApplicationRoleID = departmentLoginRole.ApplicationRoleID.Value;
- Guid? recordId = departmentLoginRole.RecordID;
- Guid guid = Guid.Empty;
- if ((!recordId.HasValue ? 1 : (recordId.GetValueOrDefault() != guid ? 1 : 0)) != 0)
- recordToAdd.IsBlank = false;
- this.roleResult.AddRecord(recordToAdd);
- }
- }
- }
- return this.roleResult;
- }
- set
- {
- this.roleResult = value;
- this.SetDataState("UserLoginRoles");
- }
- }
- public EffectivePermissionList EffectivePermissions
- {
- get
- {
- EffectivePermissionList effectivePermissionList = new EffectivePermissionList();
- if (this.result == null)
- {
- this.result = new EffectivePermissionList();
- this.result.ParentObject = (object) this;
- }
- if (effectivePermissionList.Count > 0)
- effectivePermissionList.Clear();
- foreach (ApplicationPermission applicationPermission in (BusinessObjectList<ApplicationPermission>) FirePrograms.Business.Security.GlobalValues.ApplicationPermissions)
- {
- ApplicationComponent applicationComponent = GlobalValues.ApplicationComponents.FindByRecordID(applicationPermission.applicationComponentID);
- if ((BusinessObject) applicationComponent == (BusinessObject) null)
- {
- ApplicationSubcomponent byRecordId = GlobalValues.ApplicationSubcomponents.FindByRecordID(applicationPermission.applicationSubcomponentID);
- if ((BusinessObject) byRecordId != (BusinessObject) null)
- applicationComponent = byRecordId.ApplicationComponent;
- }
- if (!((BusinessObject) applicationComponent == (BusinessObject) null))
- {
- if (this.UserName.ToLower().Contains("armstrong") && applicationComponent.ComponentName.ToLower().Contains("maint"))
- Console.WriteLine("Here");
- if (Permissions.HasAccessToComponent(this, applicationComponent.ComponentName))
- {
- ApplicationSubcomponent byRecordId = GlobalValues.ApplicationSubcomponents.FindByRecordID(applicationPermission.applicationSubcomponentID);
- bool granted = !((BusinessObject) byRecordId == (BusinessObject) null) ? Permissions.HasPermission(this, applicationComponent.componentName, byRecordId.subcomponentName, applicationPermission.permissionName) : Permissions.HasPermission(this, applicationComponent.componentName, string.Empty, applicationPermission.permissionName);
- EffectivePermission effectivePermission = !((BusinessObject) byRecordId != (BusinessObject) null) ? new EffectivePermission(applicationComponent.RecordID.Value, new Guid?(), applicationPermission.RecordID.Value, new Guid?(), granted) : new EffectivePermission(applicationComponent.RecordID.Value, new Guid?(byRecordId.RecordID.Value), applicationPermission.RecordID.Value, new Guid?(), granted);
- effectivePermission.ParentObject = (object) this.result;
- effectivePermissionList.Add((BusinessObject) effectivePermission);
- }
- }
- }
- this.result.Clear();
- this.result.AddRange((ICollection<EffectivePermission>) effectivePermissionList);
- this.OnPropertyChanged((object) this, new PropertyChangedEventArgs("EffectivePermissionsLoaded"));
- return this.result;
- }
- set
- {
- this.result = value;
- this.OnPropertyChanged((object) this, new PropertyChangedEventArgs("EffectivePermissions"));
- }
- }
- public RegisteredDepartmentList VisibleDepartments
- {
- get
- {
- if (this.DepartmentLogins.Count == 0)
- {
- if (GlobalValues.CustomerID.HasValue)
- return GlobalValues.MasterDepartmentList;
- RegisteredDepartmentList registeredDepartmentList = (RegisteredDepartmentList) null;
- CustomerLoginList customerLoginList = new CustomerLoginList(true, "UserLoginID = '" + this.recordID.ToString() + "'");
- if (customerLoginList.Count != 0)
- registeredDepartmentList = new RegisteredDepartmentList(true, "CustomerID = '" + customerLoginList[0].CustomerID.ToString() + "'");
- return registeredDepartmentList;
- }
- RegisteredDepartmentList registeredDepartmentList1 = new RegisteredDepartmentList();
- foreach (BusinessObject businessObject in (BusinessObjectList<DepartmentLogin>) this.DepartmentLogins)
- {
- RegisteredDepartment byRecordId = GlobalValues.AllDepartments.FindByRecordID(businessObject.DeptID);
- if ((BusinessObject) byRecordId != (BusinessObject) null)
- registeredDepartmentList1.Add((BusinessObject) byRecordId);
- }
- return registeredDepartmentList1;
- }
- }
- public RotationList VisibleRotations
- {
- get
- {
- if (this._visibleRotations != null)
- return this._visibleRotations;
- RotationList rotationList = new RotationList();
- if (this.DepartmentLogins.Count == 0)
- return FirePrograms.Business.Scheduling.GlobalValues.MasterRotations;
- RegisteredDepartmentList visibleDepartments = this.VisibleDepartments;
- foreach (Rotation rotation in (BusinessObjectList<Rotation>) (this.GetLookup("RotationList") as RotationList))
- {
- if (object.Equals((object) GlobalValues.DeptID, (object) rotation.DeptID))
- rotationList.Add((BusinessObject) rotation);
- }
- this._visibleRotations = rotationList;
- this._visibleRotations.Sort();
- return this._visibleRotations;
- }
- }
- public StationList VisibleStations
- {
- get
- {
- return this.GetLookup("StationList") as StationList;
- }
- }
- public PersonnelRecordList VisiblePersonnel
- {
- get
- {
- if (this.StationLogins.Count == 0)
- return this.GetLookup("PersonnelRecordList") as PersonnelRecordList;
- PersonnelRecordList personnelRecordList = this.GetLookup("PersonnelRecordList") as PersonnelRecordList;
- personnelRecordList.Ranks = this.GetLookup("PersonnelRankList") as PersonnelRankList;
- return personnelRecordList;
- }
- }
- public CustomerLoginRoleList CustomerLoginRoleList
- {
- get
- {
- if ((BusinessObject) this.CustomerLogins.Current != (BusinessObject) null)
- return this.CustomerLogins.Current.CustomerLoginRoles;
- return (CustomerLoginRoleList) null;
- }
- }
- public DepartmentLoginRoleList DepartmentLoginRoleList
- {
- get
- {
- if ((BusinessObject) this.DepartmentLogins.Current != (BusinessObject) null)
- return this.DepartmentLogins.Current.DepartmentLoginRoles;
- return (DepartmentLoginRoleList) null;
- }
- }
- internal override string SaveLogText
- {
- get
- {
- return this.DisplayUserName;
- }
- }
- public Guid? CurrentPersonnelRecordID
- {
- get
- {
- if (!this.currentPersonnelRecordID.HasValue)
- {
- PersonnelRecord personnelRecord = this.GetPersonnelRecord(GlobalValues.DeptID);
- this.currentPersonnelRecordID = (BusinessObject) personnelRecord != (BusinessObject) null ? personnelRecord.recordID : new Guid?();
- }
- return this.currentPersonnelRecordID;
- }
- set
- {
- if (object.Equals((object) value, (object) this.currentPersonnelRecordID))
- return;
- if (value.HasValue)
- {
- PersonnelRecord byRecordId = (GlobalValues.GetLookup(typeof (PersonnelRecordList)) as PersonnelRecordList).FindByRecordID(value);
- if ((BusinessObject) byRecordId != (BusinessObject) null && !this.PersonnelRecords.Contains(byRecordId))
- this.PersonnelRecords.Add((BusinessObject) byRecordId);
- }
- else
- {
- PersonnelRecord byRecordId = (GlobalValues.GetLookup(typeof (PersonnelRecordList)) as PersonnelRecordList).FindByRecordID(this.currentPersonnelRecordID);
- if ((BusinessObject) byRecordId != (BusinessObject) null)
- {
- byRecordId.UserLoginID = new Guid?();
- this.PersonnelRecords.Remove((BusinessObject) byRecordId);
- }
- }
- this.SetDataState("CurrentPersonnelRecordID");
- }
- }
- public UserLogin()
- {
- this.baseTableName = "UserLogins";
- this.applicationComponentName = "Security";
- }
- public UserLogin(Guid? recordID)
- : this()
- {
- this.recordID = recordID;
- this.Refresh();
- }
- public UserLogin(Guid? recordID, bool refresh)
- : this()
- {
- this.recordID = recordID;
- if (!refresh)
- return;
- this.Refresh();
- }
- public UserLogin(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- foreach (SerializationEntry serializationEntry in info)
- {
- switch (serializationEntry.Name)
- {
- case "userName":
- this.userName = (string) info.GetValue("userName", typeof (string));
- continue;
- case "password":
- this.password = (string) info.GetValue("password", typeof (string));
- continue;
- case "userDisplayName":
- this.userDisplayName = (string) info.GetValue("userDisplayName", typeof (string));
- continue;
- case "ageDetails":
- this.ageDetails = (AgeDetailList) info.GetValue("ageDetails", typeof (AgeDetailList));
- continue;
- case "agencies":
- this.agencies = (AgencyList) info.GetValue("agencies", typeof (AgencyList));
- continue;
- case "agencyReferrals":
- this.agencyReferrals = (AgencyReferralList) info.GetValue("agencyReferrals", typeof (AgencyReferralList));
- continue;
- case "apparatusComponentInspections":
- this.apparatusComponentInspections = (ApparatusComponentInspectionList) info.GetValue("apparatusComponentInspections", typeof (ApparatusComponentInspectionList));
- continue;
- case "apparatusComponents":
- this.apparatusComponents = (ApparatusComponentList) info.GetValue("apparatusComponents", typeof (ApparatusComponentList));
- continue;
- case "apparatusComponentTests":
- this.apparatusComponentTests = (ApparatusComponentTestList) info.GetValue("apparatusComponentTests", typeof (ApparatusComponentTestList));
- continue;
- case "apparatusFluids":
- this.apparatusFluids = (ApparatusFluidList) info.GetValue("apparatusFluids", typeof (ApparatusFluidList));
- continue;
- case "apparatusParts":
- this.apparatusParts = (ApparatusPartList) info.GetValue("apparatusParts", typeof (ApparatusPartList));
- continue;
- case "apparatusSlots":
- this.apparatusSlots = (ApparatusSlotList) info.GetValue("apparatusSlots", typeof (ApparatusSlotList));
- continue;
- case "apparentGroupInvolvmentFactors":
- this.apparentGroupInvolvmentFactors = (ApparentGroupInvolvmentFactorList) info.GetValue("apparentGroupInvolvmentFactors", typeof (ApparentGroupInvolvmentFactorList));
- continue;
- case "applicationActivityLogs":
- this.applicationActivityLogs = (ApplicationActivityLogList) info.GetValue("applicationActivityLogs", typeof (ApplicationActivityLogList));
- continue;
- case "applicationComponentParts":
- this.applicationComponentParts = (ApplicationComponentPartList) info.GetValue("applicationComponentParts", typeof (ApplicationComponentPartList));
- continue;
- case "applicationComponentRoles":
- this.applicationComponentRoles = (ApplicationComponentRoleList) info.GetValue("applicationComponentRoles", typeof (ApplicationComponentRoleList));
- continue;
- case "applicationComponents":
- this.applicationComponents = (ApplicationComponentList) info.GetValue("applicationComponents", typeof (ApplicationComponentList));
- continue;
- case "applicationMessageDestinations":
- this.applicationMessageDestinations = (ApplicationMessageDestinationList) info.GetValue("applicationMessageDestinations", typeof (ApplicationMessageDestinationList));
- continue;
- case "sendToUserApplicationMessageDestinations":
- this.sendToUserApplicationMessageDestinations = (ApplicationMessageDestinationList) info.GetValue("sendToUserApplicationMessageDestinations", typeof (ApplicationMessageDestinationList));
- continue;
- case "sendToUserNameApplicationMessageDestinations":
- this.sendToUserNameApplicationMessageDestinations = (ApplicationMessageDestinationList) info.GetValue("sendToUserNameApplicationMessageDestinations", typeof (ApplicationMessageDestinationList));
- continue;
- case "applicationMessageRecipients":
- this.applicationMessageRecipients = (ApplicationMessageRecipientList) info.GetValue("applicationMessageRecipients", typeof (ApplicationMessageRecipientList));
- continue;
- case "userLoginApplicationMessageRecipients":
- this.userLoginApplicationMessageRecipients = (ApplicationMessageRecipientList) info.GetValue("userLoginApplicationMessageRecipients", typeof (ApplicationMessageRecipientList));
- continue;
- case "applicationMessages":
- this.applicationMessages = (ApplicationMessageList) info.GetValue("applicationMessages", typeof (ApplicationMessageList));
- continue;
- case "userLoginApplicationMessages":
- this.userLoginApplicationMessages = (ApplicationMessageList) info.GetValue("userLoginApplicationMessages", typeof (ApplicationMessageList));
- continue;
- case "applicationPermissions":
- this.applicationPermissions = (ApplicationPermissionList) info.GetValue("applicationPermissions", typeof (ApplicationPermissionList));
- continue;
- case "applicationPreferences":
- this.applicationPreferences = (ApplicationPreferenceList) info.GetValue("applicationPreferences", typeof (ApplicationPreferenceList));
- continue;
- case "applicationRoleComponents":
- this.applicationRoleComponents = (ApplicationRoleComponentList) info.GetValue("applicationRoleComponents", typeof (ApplicationRoleComponentList));
- continue;
- case "applicationRolePermissions":
- this.applicationRolePermissions = (ApplicationRolePermissionList) info.GetValue("applicationRolePermissions", typeof (ApplicationRolePermissionList));
- continue;
- case "applicationRoles":
- this.applicationRoles = (ApplicationRoleList) info.GetValue("applicationRoles", typeof (ApplicationRoleList));
- continue;
- case "applicationRoleSubComponents":
- this.applicationRoleSubComponents = (ApplicationRoleSubComponentList) info.GetValue("applicationRoleSubComponents", typeof (ApplicationRoleSubComponentList));
- continue;
- case "applicationSubcomponents":
- this.applicationSubcomponents = (ApplicationSubcomponentList) info.GetValue("applicationSubcomponents", typeof (ApplicationSubcomponentList));
- continue;
- case "archivedReports":
- this.archivedReports = (ArchivedReportList) info.GetValue("archivedReports", typeof (ArchivedReportList));
- continue;
- case "areaHospitals":
- this.areaHospitals = (AreaHospitalList) info.GetValue("areaHospitals", typeof (AreaHospitalList));
- continue;
- case "arrests":
- this.arrests = (ArrestList) info.GetValue("arrests", typeof (ArrestList));
- continue;
- case "arsonMotivationOrRiskFactors":
- this.arsonMotivationOrRiskFactors = (ArsonMotivationOrRiskFactorList) info.GetValue("arsonMotivationOrRiskFactors", typeof (ArsonMotivationOrRiskFactorList));
- continue;
- case "arsonRecords":
- this.arsonRecords = (ArsonRecordList) info.GetValue("arsonRecords", typeof (ArsonRecordList));
- continue;
- case "arsonSubjects":
- this.arsonSubjects = (ArsonSubjectList) info.GetValue("arsonSubjects", typeof (ArsonSubjectList));
- continue;
- case "assetAcquisitions":
- this.assetAcquisitions = (AssetAcquisitionList) info.GetValue("assetAcquisitions", typeof (AssetAcquisitionList));
- continue;
- case "assetDispositions":
- this.assetDispositions = (AssetDispositionList) info.GetValue("assetDispositions", typeof (AssetDispositionList));
- continue;
- case "assignedInspectors":
- this.assignedInspectors = (AssignedInspectorList) info.GetValue("assignedInspectors", typeof (AssignedInspectorList));
- continue;
- case "autopsies":
- this.autopsies = (AutopsyList) info.GetValue("autopsies", typeof (AutopsyList));
- continue;
- case "autopsyRemovedObjects":
- this.autopsyRemovedObjects = (AutopsyRemovedObjectList) info.GetValue("autopsyRemovedObjects", typeof (AutopsyRemovedObjectList));
- continue;
- case "autopsySpecimens":
- this.autopsySpecimens = (AutopsySpecimenList) info.GetValue("autopsySpecimens", typeof (AutopsySpecimenList));
- continue;
- case "autopsyWitnesses":
- this.autopsyWitnesses = (AutopsyWitnessList) info.GetValue("autopsyWitnesses", typeof (AutopsyWitnessList));
- continue;
- case "battalions":
- this.battalions = (BattalionList) info.GetValue("battalions", typeof (BattalionList));
- continue;
- case "bodyInjurySites":
- this.bodyInjurySites = (BodyInjurySiteList) info.GetValue("bodyInjurySites", typeof (BodyInjurySiteList));
- continue;
- case "bombActionsTaken":
- this.bombActionsTaken = (BombActionsTakenList) info.GetValue("bombActionsTaken", typeof (BombActionsTakenList));
- continue;
- case "bombs":
- this.bombs = (BombList) info.GetValue("bombs", typeof (BombList));
- continue;
- case "bombThreats":
- this.bombThreats = (BombThreatList) info.GetValue("bombThreats", typeof (BombThreatList));
- continue;
- case "burnedCrops":
- this.burnedCrops = (BurnedCropList) info.GetValue("burnedCrops", typeof (BurnedCropList));
- continue;
- case "businessEntities":
- this.businessEntities = (BusinessEntityList) info.GetValue("businessEntities", typeof (BusinessEntityList));
- continue;
- case "cardiacArrestPreArrivalDetails":
- this.cardiacArrestPreArrivalDetails = (CardiacArrestPreArrivalDetailList) info.GetValue("cardiacArrestPreArrivalDetails", typeof (CardiacArrestPreArrivalDetailList));
- continue;
- case "caseEvidenceItems":
- this.caseEvidenceItems = (CaseEvidenceItemList) info.GetValue("caseEvidenceItems", typeof (CaseEvidenceItemList));
- continue;
- case "caseInvestigators":
- this.caseInvestigators = (CaseInvestigatorList) info.GetValue("caseInvestigators", typeof (CaseInvestigatorList));
- continue;
- case "certificates":
- this.certificates = (CertificateList) info.GetValue("certificates", typeof (CertificateList));
- continue;
- case "certificateTypeRequirements":
- this.certificateTypeRequirements = (CertificateTypeRequirementList) info.GetValue("certificateTypeRequirements", typeof (CertificateTypeRequirementList));
- continue;
- case "certificateTypes":
- this.certificateTypes = (CertificateTypeList) info.GetValue("certificateTypes", typeof (CertificateTypeList));
- continue;
- case "certificationGrades":
- this.certificationGrades = (CertificationGradeList) info.GetValue("certificationGrades", typeof (CertificationGradeList));
- continue;
- case "certifications":
- this.certifications = (CertificationList) info.GetValue("certifications", typeof (CertificationList));
- continue;
- case "civilianCasualties":
- this.civilianCasualties = (CivilianCasualtyList) info.GetValue("civilianCasualties", typeof (CivilianCasualtyList));
- continue;
- case "componentLoggingLevels":
- this.componentLoggingLevels = (ComponentLoggingLevelList) info.GetValue("componentLoggingLevels", typeof (ComponentLoggingLevelList));
- continue;
- case "componentSecurityLevels":
- this.componentSecurityLevels = (ComponentSecurityLevelList) info.GetValue("componentSecurityLevels", typeof (ComponentSecurityLevelList));
- continue;
- case "userLoginComponentSecurityLevels":
- this.userLoginComponentSecurityLevels = (ComponentSecurityLevelList) info.GetValue("userLoginComponentSecurityLevels", typeof (ComponentSecurityLevelList));
- continue;
- case "contactMethods":
- this.contactMethods = (ContactMethodList) info.GetValue("contactMethods", typeof (ContactMethodList));
- continue;
- case "contributedToIgnitionFactors":
- this.contributedToIgnitionFactors = (ContributedToIgnitionFactorList) info.GetValue("contributedToIgnitionFactors", typeof (ContributedToIgnitionFactorList));
- continue;
- case "contributingInjuryFactors":
- this.contributingInjuryFactors = (ContributingInjuryFactorList) info.GetValue("contributingInjuryFactors", typeof (ContributingInjuryFactorList));
- continue;
- case "coverageAreas":
- this.coverageAreas = (CoverageAreaList) info.GetValue("coverageAreas", typeof (CoverageAreaList));
- continue;
- case "customDictionaryEntries":
- this.customDictionaryEntries = (CustomDictionaryEntryList) info.GetValue("customDictionaryEntries", typeof (CustomDictionaryEntryList));
- continue;
- case "customerContacts":
- this.customerContacts = (CustomerContactList) info.GetValue("customerContacts", typeof (CustomerContactList));
- continue;
- case "customerLoginComponents":
- this.customerLoginComponents = (CustomerLoginComponentList) info.GetValue("customerLoginComponents", typeof (CustomerLoginComponentList));
- continue;
- case "customerLoginPermissions":
- this.customerLoginPermissions = (CustomerLoginPermissionList) info.GetValue("customerLoginPermissions", typeof (CustomerLoginPermissionList));
- continue;
- case "customerLoginRoles":
- this.customerLoginRoles = (CustomerLoginRoleList) info.GetValue("customerLoginRoles", typeof (CustomerLoginRoleList));
- continue;
- case "customerLogins":
- this.customerLogins = (CustomerLoginList) info.GetValue("customerLogins", typeof (CustomerLoginList));
- continue;
- case "userLoginCustomerLogins":
- this.userLoginCustomerLogins = (CustomerLoginList) info.GetValue("userLoginCustomerLogins", typeof (CustomerLoginList));
- continue;
- case "customerLoginSubcomponents":
- this.customerLoginSubcomponents = (CustomerLoginSubcomponentList) info.GetValue("customerLoginSubcomponents", typeof (CustomerLoginSubcomponentList));
- continue;
- case "customers":
- this.customers = (CustomerList) info.GetValue("customers", typeof (CustomerList));
- continue;
- case "customFields":
- this.customFields = (CustomFieldList) info.GetValue("customFields", typeof (CustomFieldList));
- continue;
- case "customFieldValues":
- this.customFieldValues = (CustomFieldValueList) info.GetValue("customFieldValues", typeof (CustomFieldValueList));
- continue;
- case "customNFIRSTextEntries":
- this.customNFIRSTextEntries = (CustomNFIRSTextEntryList) info.GetValue("customNFIRSTextEntries", typeof (CustomNFIRSTextEntryList));
- continue;
- case "customSchedulingCalculations":
- this.customSchedulingCalculations = (CustomSchedulingCalculationList) info.GetValue("customSchedulingCalculations", typeof (CustomSchedulingCalculationList));
- continue;
- case "customSchedulingEnteredValues":
- this.customSchedulingEnteredValues = (CustomSchedulingEnteredValueList) info.GetValue("customSchedulingEnteredValues", typeof (CustomSchedulingEnteredValueList));
- continue;
- case "dailyLogApparatusEntries":
- this.dailyLogApparatusEntries = (DailyLogApparatusEntryList) info.GetValue("dailyLogApparatusEntries", typeof (DailyLogApparatusEntryList));
- continue;
- case "dailyLogEntries":
- this.dailyLogEntries = (DailyLogEntryList) info.GetValue("dailyLogEntries", typeof (DailyLogEntryList));
- continue;
- case "dailyLogEntryTypes":
- this.dailyLogEntryTypes = (DailyLogEntryTypeList) info.GetValue("dailyLogEntryTypes", typeof (DailyLogEntryTypeList));
- continue;
- case "dailyLogPersonnelEntries":
- this.dailyLogPersonnelEntries = (DailyLogPersonnelEntryList) info.GetValue("dailyLogPersonnelEntries", typeof (DailyLogPersonnelEntryList));
- continue;
- case "dailyLogShiftEntries":
- this.dailyLogShiftEntries = (DailyLogShiftEntryList) info.GetValue("dailyLogShiftEntries", typeof (DailyLogShiftEntryList));
- continue;
- case "dailyLogStationEntries":
- this.dailyLogStationEntries = (DailyLogStationEntryList) info.GetValue("dailyLogStationEntries", typeof (DailyLogStationEntryList));
- continue;
- case "dailyLogUsedEquipmentItems":
- this.dailyLogUsedEquipmentItems = (DailyLogUsedEquipmentItemList) info.GetValue("dailyLogUsedEquipmentItems", typeof (DailyLogUsedEquipmentItemList));
- continue;
- case "dailyLogUsedSupplyItems":
- this.dailyLogUsedSupplyItems = (DailyLogUsedSupplyItemList) info.GetValue("dailyLogUsedSupplyItems", typeof (DailyLogUsedSupplyItemList));
- continue;
- case "departmentFDIDs":
- this.departmentFDIDs = (DepartmentFDIDList) info.GetValue("departmentFDIDs", typeof (DepartmentFDIDList));
- continue;
- case "departmentLoginComponents":
- this.departmentLoginComponents = (DepartmentLoginComponentList) info.GetValue("departmentLoginComponents", typeof (DepartmentLoginComponentList));
- continue;
- case "departmentLoginPermissions":
- this.departmentLoginPermissions = (DepartmentLoginPermissionList) info.GetValue("departmentLoginPermissions", typeof (DepartmentLoginPermissionList));
- continue;
- case "departmentLoginRoles":
- this.departmentLoginRoles = (DepartmentLoginRoleList) info.GetValue("departmentLoginRoles", typeof (DepartmentLoginRoleList));
- continue;
- case "departmentLogins":
- this.departmentLogins = (DepartmentLoginList) info.GetValue("departmentLogins", typeof (DepartmentLoginList));
- continue;
- case "userLoginDepartmentLogins":
- this.userLoginDepartmentLogins = (DepartmentLoginList) info.GetValue("userLoginDepartmentLogins", typeof (DepartmentLoginList));
- continue;
- case "departmentLoginSubcomponents":
- this.departmentLoginSubcomponents = (DepartmentLoginSubcomponentList) info.GetValue("departmentLoginSubcomponents", typeof (DepartmentLoginSubcomponentList));
- continue;
- case "disciplinaryReports":
- this.disciplinaryReports = (DisciplinaryReportList) info.GetValue("disciplinaryReports", typeof (DisciplinaryReportList));
- continue;
- case "districts":
- this.districts = (DistrictList) info.GetValue("districts", typeof (DistrictList));
- continue;
- case "employmentCategorySchedulingConstraints":
- this.employmentCategorySchedulingConstraints = (EmploymentCategorySchedulingConstraintList) info.GetValue("employmentCategorySchedulingConstraints", typeof (EmploymentCategorySchedulingConstraintList));
- continue;
- case "eMSPatients":
- this.eMSPatients = (EMSPatientList) info.GetValue("eMSPatients", typeof (EMSPatientList));
- continue;
- case "ePADictionaryEntries":
- this.ePADictionaryEntries = (EPADictionaryEntryList) info.GetValue("ePADictionaryEntries", typeof (EPADictionaryEntryList));
- continue;
- case "equipmentConditionRecords":
- this.equipmentConditionRecords = (EquipmentConditionRecordList) info.GetValue("equipmentConditionRecords", typeof (EquipmentConditionRecordList));
- continue;
- case "equipmentConditions":
- this.equipmentConditions = (EquipmentConditionList) info.GetValue("equipmentConditions", typeof (EquipmentConditionList));
- continue;
- case "equipmentItemInspections":
- this.equipmentItemInspections = (EquipmentItemInspectionList) info.GetValue("equipmentItemInspections", typeof (EquipmentItemInspectionList));
- continue;
- case "equipmentItems":
- this.equipmentItems = (EquipmentItemList) info.GetValue("equipmentItems", typeof (EquipmentItemList));
- continue;
- case "equipmentItemSizes":
- this.equipmentItemSizes = (EquipmentItemSizeList) info.GetValue("equipmentItemSizes", typeof (EquipmentItemSizeList));
- continue;
- case "equipmentItemTestDetails":
- this.equipmentItemTestDetails = (EquipmentItemTestDetailList) info.GetValue("equipmentItemTestDetails", typeof (EquipmentItemTestDetailList));
- continue;
- case "equipmentItemTests":
- this.equipmentItemTests = (EquipmentItemTestList) info.GetValue("equipmentItemTests", typeof (EquipmentItemTestList));
- continue;
- case "equipmentSizeFields":
- this.equipmentSizeFields = (EquipmentSizeFieldList) info.GetValue("equipmentSizeFields", typeof (EquipmentSizeFieldList));
- continue;
- case "equipmentStatuses":
- this.equipmentStatuses = (EquipmentStatusList) info.GetValue("equipmentStatuses", typeof (EquipmentStatusList));
- continue;
- case "equipmentStatusRecords":
- this.equipmentStatusRecords = (EquipmentStatusRecordList) info.GetValue("equipmentStatusRecords", typeof (EquipmentStatusRecordList));
- continue;
- case "equipmentTypes":
- this.equipmentTypes = (EquipmentTypeList) info.GetValue("equipmentTypes", typeof (EquipmentTypeList));
- continue;
- case "fieldInvestigations":
- this.fieldInvestigations = (FieldInvestigationList) info.GetValue("fieldInvestigations", typeof (FieldInvestigationList));
- continue;
- case "filedCharges":
- this.filedCharges = (FiledChargeList) info.GetValue("filedCharges", typeof (FiledChargeList));
- continue;
- case "fireExtinguishers":
- this.fireExtinguishers = (FireExtinguisherList) info.GetValue("fireExtinguishers", typeof (FireExtinguisherList));
- continue;
- case "fireInvestigations":
- this.fireInvestigations = (FireInvestigationList) info.GetValue("fireInvestigations", typeof (FireInvestigationList));
- continue;
- case "lockedByUserFireInvestigations":
- this.lockedByUserFireInvestigations = (FireInvestigationList) info.GetValue("lockedByUserFireInvestigations", typeof (FireInvestigationList));
- continue;
- case "fireServiceCasualties":
- this.fireServiceCasualties = (FireServiceCasualtyList) info.GetValue("fireServiceCasualties", typeof (FireServiceCasualtyList));
- continue;
- case "fixedAssetInventoryItems":
- this.fixedAssetInventoryItems = (FixedAssetInventoryItemList) info.GetValue("fixedAssetInventoryItems", typeof (FixedAssetInventoryItemList));
- continue;
- case "fixedAssetItemTests":
- this.fixedAssetItemTests = (FixedAssetItemTestList) info.GetValue("fixedAssetItemTests", typeof (FixedAssetItemTestList));
- continue;
- case "fleetApparatusRecords":
- this.fleetApparatusRecords = (FleetApparatusRecordList) info.GetValue("fleetApparatusRecords", typeof (FleetApparatusRecordList));
- continue;
- case "fleetApparatusTypes":
- this.fleetApparatusTypes = (FleetApparatusTypeList) info.GetValue("fleetApparatusTypes", typeof (FleetApparatusTypeList));
- continue;
- case "fLSAPeriods":
- this.fLSAPeriods = (FLSAPeriodList) info.GetValue("fLSAPeriods", typeof (FLSAPeriodList));
- continue;
- case "fluidTypes":
- this.fluidTypes = (FluidTypeList) info.GetValue("fluidTypes", typeof (FluidTypeList));
- continue;
- case "hazMatActions":
- this.hazMatActions = (HazMatActionList) info.GetValue("hazMatActions", typeof (HazMatActionList));
- continue;
- case "hazMatChemicalReleases":
- this.hazMatChemicalReleases = (HazMatChemicalReleaseList) info.GetValue("hazMatChemicalReleases", typeof (HazMatChemicalReleaseList));
- continue;
- case "hazMatExposures":
- this.hazMatExposures = (HazMatExposureList) info.GetValue("hazMatExposures", typeof (HazMatExposureList));
- continue;
- case "hazMatMitigationFactors":
- this.hazMatMitigationFactors = (HazMatMitigationFactorList) info.GetValue("hazMatMitigationFactors", typeof (HazMatMitigationFactorList));
- continue;
- case "hazMatRecords":
- this.hazMatRecords = (HazMatRecordList) info.GetValue("hazMatRecords", typeof (HazMatRecordList));
- continue;
- case "hazMatReleaseFactors":
- this.hazMatReleaseFactors = (HazMatReleaseFactorList) info.GetValue("hazMatReleaseFactors", typeof (HazMatReleaseFactorList));
- continue;
- case "hazTrakHealthHazards":
- this.hazTrakHealthHazards = (HazTrakHealthHazardList) info.GetValue("hazTrakHealthHazards", typeof (HazTrakHealthHazardList));
- continue;
- case "hazTrakRecords":
- this.hazTrakRecords = (HazTrakRecordList) info.GetValue("hazTrakRecords", typeof (HazTrakRecordList));
- continue;
- case "hazTrakStorageLocations":
- this.hazTrakStorageLocations = (HazTrakStorageLocationList) info.GetValue("hazTrakStorageLocations", typeof (HazTrakStorageLocationList));
- continue;
- case "helpFileEntries":
- this.helpFileEntries = (HelpFileEntryList) info.GetValue("helpFileEntries", typeof (HelpFileEntryList));
- continue;
- case "hoses":
- this.hoses = (HoseList) info.GetValue("hoses", typeof (HoseList));
- continue;
- case "hoseTestDetails":
- this.hoseTestDetails = (HoseTestDetailList) info.GetValue("hoseTestDetails", typeof (HoseTestDetailList));
- continue;
- case "hoseTests":
- this.hoseTests = (HoseTestList) info.GetValue("hoseTests", typeof (HoseTestList));
- continue;
- case "hoseTypes":
- this.hoseTypes = (HoseTypeList) info.GetValue("hoseTypes", typeof (HoseTypeList));
- continue;
- case "humanFactors":
- this.humanFactors = (HumanFactorList) info.GetValue("humanFactors", typeof (HumanFactorList));
- continue;
- case "humanInjuryFactors":
- this.humanInjuryFactors = (HumanInjuryFactorList) info.GetValue("humanInjuryFactors", typeof (HumanInjuryFactorList));
- continue;
- case "hydrantInspections":
- this.hydrantInspections = (HydrantInspectionList) info.GetValue("hydrantInspections", typeof (HydrantInspectionList));
- continue;
- case "hydrants":
- this.hydrants = (HydrantList) info.GetValue("hydrants", typeof (HydrantList));
- continue;
- case "hydrantTests":
- this.hydrantTests = (HydrantTestList) info.GetValue("hydrantTests", typeof (HydrantTestList));
- continue;
- case "incidentActions":
- this.incidentActions = (IncidentActionList) info.GetValue("incidentActions", typeof (IncidentActionList));
- continue;
- case "incidentExposures":
- this.incidentExposures = (IncidentExposureList) info.GetValue("incidentExposures", typeof (IncidentExposureList));
- continue;
- case "incidentMappingSettings":
- this.incidentMappingSettings = (IncidentMappingSettingList) info.GetValue("incidentMappingSettings", typeof (IncidentMappingSettingList));
- continue;
- case "userLoginIncidentMappingSettings":
- this.userLoginIncidentMappingSettings = (IncidentMappingSettingList) info.GetValue("userLoginIncidentMappingSettings", typeof (IncidentMappingSettingList));
- continue;
- case "incidentRecords":
- this.incidentRecords = (IncidentRecordList) info.GetValue("incidentRecords", typeof (IncidentRecordList));
- continue;
- case "incidentRoles":
- this.incidentRoles = (IncidentRoleList) info.GetValue("incidentRoles", typeof (IncidentRoleList));
- continue;
- case "incidentSpecialStudies":
- this.incidentSpecialStudies = (IncidentSpecialStudyList) info.GetValue("incidentSpecialStudies", typeof (IncidentSpecialStudyList));
- continue;
- case "incidentUsedEquipmentItems":
- this.incidentUsedEquipmentItems = (IncidentUsedEquipmentItemList) info.GetValue("incidentUsedEquipmentItems", typeof (IncidentUsedEquipmentItemList));
- continue;
- case "incidentUsedSupplyItems":
- this.incidentUsedSupplyItems = (IncidentUsedSupplyItemList) info.GetValue("incidentUsedSupplyItems", typeof (IncidentUsedSupplyItemList));
- continue;
- case "initialObservations":
- this.initialObservations = (InitialObservationList) info.GetValue("initialObservations", typeof (InitialObservationList));
- continue;
- case "inspectionDistricts":
- this.inspectionDistricts = (InspectionDistrictList) info.GetValue("inspectionDistricts", typeof (InspectionDistrictList));
- continue;
- case "inspectionGroups":
- this.inspectionGroups = (InspectionGroupList) info.GetValue("inspectionGroups", typeof (InspectionGroupList));
- continue;
- case "insuranceClaims":
- this.insuranceClaims = (InsuranceClaimList) info.GetValue("insuranceClaims", typeof (InsuranceClaimList));
- continue;
- case "insuranceCompanies":
- this.insuranceCompanies = (InsuranceCompanyList) info.GetValue("insuranceCompanies", typeof (InsuranceCompanyList));
- continue;
- case "insurancePolicies":
- this.insurancePolicies = (InsurancePolicyList) info.GetValue("insurancePolicies", typeof (InsurancePolicyList));
- continue;
- case "interviewQuestions":
- this.interviewQuestions = (InterviewQuestionList) info.GetValue("interviewQuestions", typeof (InterviewQuestionList));
- continue;
- case "interviews":
- this.interviews = (InterviewList) info.GetValue("interviews", typeof (InterviewList));
- continue;
- case "interviewStandardQuestions":
- this.interviewStandardQuestions = (InterviewStandardQuestionList) info.GetValue("interviewStandardQuestions", typeof (InterviewStandardQuestionList));
- continue;
- case "inventoryItemCategories":
- this.inventoryItemCategories = (InventoryItemCategoryList) info.GetValue("inventoryItemCategories", typeof (InventoryItemCategoryList));
- continue;
- case "involvedAttorneys":
- this.involvedAttorneys = (InvolvedAttorneyList) info.GetValue("involvedAttorneys", typeof (InvolvedAttorneyList));
- continue;
- case "involvedEntities":
- this.involvedEntities = (InvolvedEntityList) info.GetValue("involvedEntities", typeof (InvolvedEntityList));
- continue;
- case "involvedPersons":
- this.involvedPersons = (InvolvedPersonList) info.GetValue("involvedPersons", typeof (InvolvedPersonList));
- continue;
- case "irregularAssignments":
- this.irregularAssignments = (IrregularAssignmentList) info.GetValue("irregularAssignments", typeof (IrregularAssignmentList));
- continue;
- case "issuedPermits":
- this.issuedPermits = (IssuedPermitList) info.GetValue("issuedPermits", typeof (IssuedPermitList));
- continue;
- case "itemCheckOuts":
- this.itemCheckOuts = (ItemCheckOutList) info.GetValue("itemCheckOuts", typeof (ItemCheckOutList));
- continue;
- case "juveniles":
- this.juveniles = (JuvenileList) info.GetValue("juveniles", typeof (JuvenileList));
- continue;
- case "labRequests":
- this.labRequests = (LabRequestList) info.GetValue("labRequests", typeof (LabRequestList));
- continue;
- case "labTechnicians":
- this.labTechnicians = (LabTechnicianList) info.GetValue("labTechnicians", typeof (LabTechnicianList));
- continue;
- case "legalOfficers":
- this.legalOfficers = (LegalOfficerList) info.GetValue("legalOfficers", typeof (LegalOfficerList));
- continue;
- case "licenseModules":
- this.licenseModules = (LicenseModuleList) info.GetValue("licenseModules", typeof (LicenseModuleList));
- continue;
- case "licenses":
- this.licenses = (LicenseList) info.GetValue("licenses", typeof (LicenseList));
- continue;
- case "licenseUserSessions":
- this.licenseUserSessions = (LicenseUserSessionList) info.GetValue("licenseUserSessions", typeof (LicenseUserSessionList));
- continue;
- case "userLoginLicenseUserSessions":
- this.userLoginLicenseUserSessions = (LicenseUserSessionList) info.GetValue("userLoginLicenseUserSessions", typeof (LicenseUserSessionList));
- continue;
- case "locationCrossStreets":
- this.locationCrossStreets = (LocationCrossStreetList) info.GetValue("locationCrossStreets", typeof (LocationCrossStreetList));
- continue;
- case "locations":
- this.locations = (LocationList) info.GetValue("locations", typeof (LocationList));
- continue;
- case "maintenanceRequestItems":
- this.maintenanceRequestItems = (MaintenanceRequestItemList) info.GetValue("maintenanceRequestItems", typeof (MaintenanceRequestItemList));
- continue;
- case "maintenanceRequests":
- this.maintenanceRequests = (MaintenanceRequestList) info.GetValue("maintenanceRequests", typeof (MaintenanceRequestList));
- continue;
- case "maintenanceTaskSchedules":
- this.maintenanceTaskSchedules = (MaintenanceTaskScheduleList) info.GetValue("maintenanceTaskSchedules", typeof (MaintenanceTaskScheduleList));
- continue;
- case "manufacturers":
- this.manufacturers = (ManufacturerList) info.GetValue("manufacturers", typeof (ManufacturerList));
- continue;
- case "manufacturerTypes":
- this.manufacturerTypes = (ManufacturerTypeList) info.GetValue("manufacturerTypes", typeof (ManufacturerTypeList));
- continue;
- case "mapLayoutFilterFields":
- this.mapLayoutFilterFields = (MapLayoutFilterFieldList) info.GetValue("mapLayoutFilterFields", typeof (MapLayoutFilterFieldList));
- continue;
- case "mapLayouts":
- this.mapLayouts = (MapLayoutList) info.GetValue("mapLayouts", typeof (MapLayoutList));
- continue;
- case "mappingComponents":
- this.mappingComponents = (MappingComponentList) info.GetValue("mappingComponents", typeof (MappingComponentList));
- continue;
- case "medicalExaminations":
- this.medicalExaminations = (MedicalExaminationList) info.GetValue("medicalExaminations", typeof (MedicalExaminationList));
- continue;
- case "medicalOfficers":
- this.medicalOfficers = (MedicalOfficerList) info.GetValue("medicalOfficers", typeof (MedicalOfficerList));
- continue;
- case "mobileProperties":
- this.mobileProperties = (MobilePropertyList) info.GetValue("mobileProperties", typeof (MobilePropertyList));
- continue;
- case "mortgageCompanies":
- this.mortgageCompanies = (MortgageCompanyList) info.GetValue("mortgageCompanies", typeof (MortgageCompanyList));
- continue;
- case "mortgages":
- this.mortgages = (MortgageList) info.GetValue("mortgages", typeof (MortgageList));
- continue;
- case "mutualAidRecords":
- this.mutualAidRecords = (MutualAidRecordList) info.GetValue("mutualAidRecords", typeof (MutualAidRecordList));
- continue;
- case "narrativeLinks":
- this.narrativeLinks = (NarrativeLinkList) info.GetValue("narrativeLinks", typeof (NarrativeLinkList));
- continue;
- case "narratives":
- this.narratives = (NarrativeList) info.GetValue("narratives", typeof (NarrativeList));
- continue;
- case "narrativeTemplates":
- this.narrativeTemplates = (NarrativeTemplateList) info.GetValue("narrativeTemplates", typeof (NarrativeTemplateList));
- continue;
- case "nearbyProperties":
- this.nearbyProperties = (NearbyPropertyList) info.GetValue("nearbyProperties", typeof (NearbyPropertyList));
- continue;
- case "neededResources":
- this.neededResources = (NeededResourceList) info.GetValue("neededResources", typeof (NeededResourceList));
- continue;
- case "nFIRSDictionaryEntries":
- this.nFIRSDictionaryEntries = (NFIRSDictionaryEntryList) info.GetValue("nFIRSDictionaryEntries", typeof (NFIRSDictionaryEntryList));
- continue;
- case "nFPADictionaryEntries":
- this.nFPADictionaryEntries = (NFPADictionaryEntryList) info.GetValue("nFPADictionaryEntries", typeof (NFPADictionaryEntryList));
- continue;
- case "officers":
- this.officers = (OfficerList) info.GetValue("officers", typeof (OfficerList));
- continue;
- case "onScenePersons":
- this.onScenePersons = (OnScenePersonList) info.GetValue("onScenePersons", typeof (OnScenePersonList));
- continue;
- case "onSiteMaterials":
- this.onSiteMaterials = (OnSiteMaterialList) info.GetValue("onSiteMaterials", typeof (OnSiteMaterialList));
- continue;
- case "otherObservations":
- this.otherObservations = (OtherObservationList) info.GetValue("otherObservations", typeof (OtherObservationList));
- continue;
- case "pageComponents":
- this.pageComponents = (PageComponentList) info.GetValue("pageComponents", typeof (PageComponentList));
- continue;
- case "pageLayouts":
- this.pageLayouts = (PageLayoutList) info.GetValue("pageLayouts", typeof (PageLayoutList));
- continue;
- case "userLoginPageLayouts":
- this.userLoginPageLayouts = (PageLayoutList) info.GetValue("userLoginPageLayouts", typeof (PageLayoutList));
- continue;
- case "payPeriods":
- this.payPeriods = (PayPeriodList) info.GetValue("payPeriods", typeof (PayPeriodList));
- continue;
- case "performedProcedures":
- this.performedProcedures = (PerformedProcedureList) info.GetValue("performedProcedures", typeof (PerformedProcedureList));
- continue;
- case "personAliasNames":
- this.personAliasNames = (PersonAliasNameList) info.GetValue("personAliasNames", typeof (PersonAliasNameList));
- continue;
- case "personLanguages":
- this.personLanguages = (PersonLanguageList) info.GetValue("personLanguages", typeof (PersonLanguageList));
- continue;
- case "personnelAllergies":
- this.personnelAllergies = (PersonnelAllergyList) info.GetValue("personnelAllergies", typeof (PersonnelAllergyList));
- continue;
- case "personnelCertifications":
- this.personnelCertifications = (PersonnelCertificationList) info.GetValue("personnelCertifications", typeof (PersonnelCertificationList));
- continue;
- case "personnelEmploymentCategories":
- this.personnelEmploymentCategories = (PersonnelEmploymentCategoryList) info.GetValue("personnelEmploymentCategories", typeof (PersonnelEmploymentCategoryList));
- continue;
- case "personnelEmploymentDetails":
- this.personnelEmploymentDetails = (PersonnelEmploymentDetailList) info.GetValue("personnelEmploymentDetails", typeof (PersonnelEmploymentDetailList));
- continue;
- case "personnelEquipmentSizes":
- this.personnelEquipmentSizes = (PersonnelEquipmentSizeList) info.GetValue("personnelEquipmentSizes", typeof (PersonnelEquipmentSizeList));
- continue;
- case "personnelEquipmentTestRecords":
- this.personnelEquipmentTestRecords = (PersonnelEquipmentTestRecordList) info.GetValue("personnelEquipmentTestRecords", typeof (PersonnelEquipmentTestRecordList));
- continue;
- case "personnelIrregularWorkPlaces":
- this.personnelIrregularWorkPlaces = (PersonnelIrregularWorkPlaceList) info.GetValue("personnelIrregularWorkPlaces", typeof (PersonnelIrregularWorkPlaceList));
- continue;
- case "personnelIrregularWorkTimes":
- this.personnelIrregularWorkTimes = (PersonnelIrregularWorkTimeList) info.GetValue("personnelIrregularWorkTimes", typeof (PersonnelIrregularWorkTimeList));
- continue;
- case "personnelMedicalDetails":
- this.personnelMedicalDetails = (PersonnelMedicalDetailList) info.GetValue("personnelMedicalDetails", typeof (PersonnelMedicalDetailList));
- continue;
- case "personnelMedications":
- this.personnelMedications = (PersonnelMedicationList) info.GetValue("personnelMedications", typeof (PersonnelMedicationList));
- continue;
- case "personnelRankHistory":
- this.personnelRankHistory = (PersonnelRankHistoryList) info.GetValue("personnelRankHistory", typeof (PersonnelRankHistoryList));
- continue;
- case "personnelRanks":
- this.personnelRanks = (PersonnelRankList) info.GetValue("personnelRanks", typeof (PersonnelRankList));
- continue;
- case "personnelRecords":
- this.personnelRecords = (PersonnelRecordList) info.GetValue("personnelRecords", typeof (PersonnelRecordList));
- continue;
- case "userLoginPersonnelRecords":
- this.userLoginPersonnelRecords = (PersonnelRecordList) info.GetValue("userLoginPersonnelRecords", typeof (PersonnelRecordList));
- continue;
- case "personnelRegularWorkPlaces":
- this.personnelRegularWorkPlaces = (PersonnelRegularWorkPlaceList) info.GetValue("personnelRegularWorkPlaces", typeof (PersonnelRegularWorkPlaceList));
- continue;
- case "personnelRegularWorkTimes":
- this.personnelRegularWorkTimes = (PersonnelRegularWorkTimeList) info.GetValue("personnelRegularWorkTimes", typeof (PersonnelRegularWorkTimeList));
- continue;
- case "personnelScheduledOffTimes":
- this.personnelScheduledOffTimes = (PersonnelScheduledOffTimeList) info.GetValue("personnelScheduledOffTimes", typeof (PersonnelScheduledOffTimeList));
- continue;
- case "personnelSchedulingConstraints":
- this.personnelSchedulingConstraints = (PersonnelSchedulingConstraintList) info.GetValue("personnelSchedulingConstraints", typeof (PersonnelSchedulingConstraintList));
- continue;
- case "personnelSkills":
- this.personnelSkills = (PersonnelSkillList) info.GetValue("personnelSkills", typeof (PersonnelSkillList));
- continue;
- case "personnelStatusRequests":
- this.personnelStatusRequests = (PersonnelStatusRequestList) info.GetValue("personnelStatusRequests", typeof (PersonnelStatusRequestList));
- continue;
- case "personnelStatusTimes":
- this.personnelStatusTimes = (PersonnelStatusTimeList) info.GetValue("personnelStatusTimes", typeof (PersonnelStatusTimeList));
- continue;
- case "personnelStatusTypes":
- this.personnelStatusTypes = (PersonnelStatusTypeList) info.GetValue("personnelStatusTypes", typeof (PersonnelStatusTypeList));
- continue;
- case "personnelTimesheetRecords":
- this.personnelTimesheetRecords = (PersonnelTimesheetRecordList) info.GetValue("personnelTimesheetRecords", typeof (PersonnelTimesheetRecordList));
- continue;
- case "personRecords":
- this.personRecords = (PersonRecordList) info.GetValue("personRecords", typeof (PersonRecordList));
- continue;
- case "personRoles":
- this.personRoles = (PersonRoleList) info.GetValue("personRoles", typeof (PersonRoleList));
- continue;
- case "prePlans":
- this.prePlans = (PrePlanList) info.GetValue("prePlans", typeof (PrePlanList));
- continue;
- case "propertyCodeViolations":
- this.propertyCodeViolations = (PropertyCodeViolationList) info.GetValue("propertyCodeViolations", typeof (PropertyCodeViolationList));
- continue;
- case "propertyHydrants":
- this.propertyHydrants = (PropertyHydrantList) info.GetValue("propertyHydrants", typeof (PropertyHydrantList));
- continue;
- case "propertyInspectionCodes":
- this.propertyInspectionCodes = (PropertyInspectionCodeList) info.GetValue("propertyInspectionCodes", typeof (PropertyInspectionCodeList));
- continue;
- case "propertyInspections":
- this.propertyInspections = (PropertyInspectionList) info.GetValue("propertyInspections", typeof (PropertyInspectionList));
- continue;
- case "propertyInspectionTypes":
- this.propertyInspectionTypes = (PropertyInspectionTypeList) info.GetValue("propertyInspectionTypes", typeof (PropertyInspectionTypeList));
- continue;
- case "propertyNames":
- this.propertyNames = (PropertyNameList) info.GetValue("propertyNames", typeof (PropertyNameList));
- continue;
- case "propertyOccupancyRecords":
- this.propertyOccupancyRecords = (PropertyOccupancyRecordList) info.GetValue("propertyOccupancyRecords", typeof (PropertyOccupancyRecordList));
- continue;
- case "propertyOwnershipRecords":
- this.propertyOwnershipRecords = (PropertyOwnershipRecordList) info.GetValue("propertyOwnershipRecords", typeof (PropertyOwnershipRecordList));
- continue;
- case "protectedProperties":
- this.protectedProperties = (ProtectedPropertyList) info.GetValue("protectedProperties", typeof (ProtectedPropertyList));
- continue;
- case "protectedPropertyContacts":
- this.protectedPropertyContacts = (ProtectedPropertyContactList) info.GetValue("protectedPropertyContacts", typeof (ProtectedPropertyContactList));
- continue;
- case "protectedPropertyDirections":
- this.protectedPropertyDirections = (ProtectedPropertyDirectionList) info.GetValue("protectedPropertyDirections", typeof (ProtectedPropertyDirectionList));
- continue;
- case "protectedPropertyInspectionGroups":
- this.protectedPropertyInspectionGroups = (ProtectedPropertyInspectionGroupList) info.GetValue("protectedPropertyInspectionGroups", typeof (ProtectedPropertyInspectionGroupList));
- continue;
- case "protectiveEquipmentFailures":
- this.protectiveEquipmentFailures = (ProtectiveEquipmentFailureList) info.GetValue("protectiveEquipmentFailures", typeof (ProtectiveEquipmentFailureList));
- continue;
- case "providedResources":
- this.providedResources = (ProvidedResourceList) info.GetValue("providedResources", typeof (ProvidedResourceList));
- continue;
- case "purchaseOrderItems":
- this.purchaseOrderItems = (PurchaseOrderItemList) info.GetValue("purchaseOrderItems", typeof (PurchaseOrderItemList));
- continue;
- case "purchaseOrderReceivedItems":
- this.purchaseOrderReceivedItems = (PurchaseOrderReceivedItemList) info.GetValue("purchaseOrderReceivedItems", typeof (PurchaseOrderReceivedItemList));
- continue;
- case "purchaseOrders":
- this.purchaseOrders = (PurchaseOrderList) info.GetValue("purchaseOrders", typeof (PurchaseOrderList));
- continue;
- case "receivedSynchronizations":
- this.receivedSynchronizations = (ReceivedSynchronizationList) info.GetValue("receivedSynchronizations", typeof (ReceivedSynchronizationList));
- continue;
- case "recordAttachments":
- this.recordAttachments = (RecordAttachmentList) info.GetValue("recordAttachments", typeof (RecordAttachmentList));
- continue;
- case "recordNotes":
- this.recordNotes = (RecordNoteList) info.GetValue("recordNotes", typeof (RecordNoteList));
- continue;
- case "createdByUserLoginRecordNotes":
- this.createdByUserLoginRecordNotes = (RecordNoteList) info.GetValue("createdByUserLoginRecordNotes", typeof (RecordNoteList));
- continue;
- case "registeredDepartments":
- this.registeredDepartments = (RegisteredDepartmentList) info.GetValue("registeredDepartments", typeof (RegisteredDepartmentList));
- continue;
- case "regularApparatusAssignments":
- this.regularApparatusAssignments = (RegularApparatusAssignmentList) info.GetValue("regularApparatusAssignments", typeof (RegularApparatusAssignmentList));
- continue;
- case "regularAssignments":
- this.regularAssignments = (RegularAssignmentList) info.GetValue("regularAssignments", typeof (RegularAssignmentList));
- continue;
- case "relatedInvestigations":
- this.relatedInvestigations = (RelatedInvestigationList) info.GetValue("relatedInvestigations", typeof (RelatedInvestigationList));
- continue;
- case "reportComponentFields":
- this.reportComponentFields = (ReportComponentFieldList) info.GetValue("reportComponentFields", typeof (ReportComponentFieldList));
- continue;
- case "reportComponentFilters":
- this.reportComponentFilters = (ReportComponentFilterList) info.GetValue("reportComponentFilters", typeof (ReportComponentFilterList));
- continue;
- case "reportComponents":
- this.reportComponents = (ReportComponentList) info.GetValue("reportComponents", typeof (ReportComponentList));
- continue;
- case "reportFilters":
- this.reportFilters = (ReportFilterList) info.GetValue("reportFilters", typeof (ReportFilterList));
- continue;
- case "reportLayouts":
- this.reportLayouts = (ReportLayoutList) info.GetValue("reportLayouts", typeof (ReportLayoutList));
- continue;
- case "reportRecipients":
- this.reportRecipients = (ReportRecipientList) info.GetValue("reportRecipients", typeof (ReportRecipientList));
- continue;
- case "reports":
- this.reports = (ReportList) info.GetValue("reports", typeof (ReportList));
- continue;
- case "reportSchedules":
- this.reportSchedules = (ReportScheduleList) info.GetValue("reportSchedules", typeof (ReportScheduleList));
- continue;
- case "resourceProviders":
- this.resourceProviders = (ResourceProviderList) info.GetValue("resourceProviders", typeof (ResourceProviderList));
- continue;
- case "respondingApparatusActions":
- this.respondingApparatusActions = (RespondingApparatusActionList) info.GetValue("respondingApparatusActions", typeof (RespondingApparatusActionList));
- continue;
- case "respondingApparatusRecords":
- this.respondingApparatusRecords = (RespondingApparatusRecordList) info.GetValue("respondingApparatusRecords", typeof (RespondingApparatusRecordList));
- continue;
- case "respondingPersonnelActions":
- this.respondingPersonnelActions = (RespondingPersonnelActionList) info.GetValue("respondingPersonnelActions", typeof (RespondingPersonnelActionList));
- continue;
- case "respondingPersonnelRecords":
- this.respondingPersonnelRecords = (RespondingPersonnelRecordList) info.GetValue("respondingPersonnelRecords", typeof (RespondingPersonnelRecordList));
- continue;
- case "rotations":
- this.rotations = (RotationList) info.GetValue("rotations", typeof (RotationList));
- continue;
- case "safetyEquipmentRecords":
- this.safetyEquipmentRecords = (SafetyEquipmentRecordList) info.GetValue("safetyEquipmentRecords", typeof (SafetyEquipmentRecordList));
- continue;
- case "sceneLegalAccessDetails":
- this.sceneLegalAccessDetails = (SceneLegalAccessDetailList) info.GetValue("sceneLegalAccessDetails", typeof (SceneLegalAccessDetailList));
- continue;
- case "scheduleRequirements":
- this.scheduleRequirements = (ScheduleRequirementList) info.GetValue("scheduleRequirements", typeof (ScheduleRequirementList));
- continue;
- case "schedules":
- this.schedules = (ScheduleList) info.GetValue("schedules", typeof (ScheduleList));
- continue;
- case "schedulingPageLayouts":
- this.schedulingPageLayouts = (SchedulingPageLayoutList) info.GetValue("schedulingPageLayouts", typeof (SchedulingPageLayoutList));
- continue;
- case "userLoginSchedulingPageLayouts":
- this.userLoginSchedulingPageLayouts = (SchedulingPageLayoutList) info.GetValue("userLoginSchedulingPageLayouts", typeof (SchedulingPageLayoutList));
- continue;
- case "shiftRotations":
- this.shiftRotations = (ShiftRotationList) info.GetValue("shiftRotations", typeof (ShiftRotationList));
- continue;
- case "shifts":
- this.shifts = (ShiftList) info.GetValue("shifts", typeof (ShiftList));
- continue;
- case "signatures":
- this.signatures = (SignatureList) info.GetValue("signatures", typeof (SignatureList));
- continue;
- case "skillComponents":
- this.skillComponents = (SkillComponentList) info.GetValue("skillComponents", typeof (SkillComponentList));
- continue;
- case "skills":
- this.skills = (SkillList) info.GetValue("skills", typeof (SkillList));
- continue;
- case "specificPropertyUsages":
- this.specificPropertyUsages = (SpecificPropertyUsageList) info.GetValue("specificPropertyUsages", typeof (SpecificPropertyUsageList));
- continue;
- case "stateDictionaryEntries":
- this.stateDictionaryEntries = (StateDictionaryEntryList) info.GetValue("stateDictionaryEntries", typeof (StateDictionaryEntryList));
- continue;
- case "stationContacts":
- this.stationContacts = (StationContactList) info.GetValue("stationContacts", typeof (StationContactList));
- continue;
- case "stationLogins":
- this.stationLogins = (StationLoginList) info.GetValue("stationLogins", typeof (StationLoginList));
- continue;
- case "userLoginStationLogins":
- this.userLoginStationLogins = (StationLoginList) info.GetValue("userLoginStationLogins", typeof (StationLoginList));
- continue;
- case "stations":
- this.stations = (StationList) info.GetValue("stations", typeof (StationList));
- continue;
- case "storageAreas":
- this.storageAreas = (StorageAreaList) info.GetValue("storageAreas", typeof (StorageAreaList));
- continue;
- case "streetDictionaryEntries":
- this.streetDictionaryEntries = (StreetDictionaryEntryList) info.GetValue("streetDictionaryEntries", typeof (StreetDictionaryEntryList));
- continue;
- case "supplyItemLevels":
- this.supplyItemLevels = (SupplyItemLevelList) info.GetValue("supplyItemLevels", typeof (SupplyItemLevelList));
- continue;
- case "supplyItemPurchaseDistributions":
- this.supplyItemPurchaseDistributions = (SupplyItemPurchaseDistributionList) info.GetValue("supplyItemPurchaseDistributions", typeof (SupplyItemPurchaseDistributionList));
- continue;
- case "supplyItemPurchases":
- this.supplyItemPurchases = (SupplyItemPurchaseList) info.GetValue("supplyItemPurchases", typeof (SupplyItemPurchaseList));
- continue;
- case "supplyItems":
- this.supplyItems = (SupplyItemList) info.GetValue("supplyItems", typeof (SupplyItemList));
- continue;
- case "supplyItemTypes":
- this.supplyItemTypes = (SupplyItemTypeList) info.GetValue("supplyItemTypes", typeof (SupplyItemTypeList));
- continue;
- case "supplyItemUsages":
- this.supplyItemUsages = (SupplyItemUsageList) info.GetValue("supplyItemUsages", typeof (SupplyItemUsageList));
- continue;
- case "suppressionFactors":
- this.suppressionFactors = (SuppressionFactorList) info.GetValue("suppressionFactors", typeof (SuppressionFactorList));
- continue;
- case "suspectedMotivationFactors":
- this.suspectedMotivationFactors = (SuspectedMotivationFactorList) info.GetValue("suspectedMotivationFactors", typeof (SuspectedMotivationFactorList));
- continue;
- case "suspects":
- this.suspects = (SuspectList) info.GetValue("suspects", typeof (SuspectList));
- continue;
- case "synchronizationRecords":
- this.synchronizationRecords = (SynchronizationRecordList) info.GetValue("synchronizationRecords", typeof (SynchronizationRecordList));
- continue;
- case "synchronizerStatuses":
- this.synchronizerStatuses = (SynchronizerStatusList) info.GetValue("synchronizerStatuses", typeof (SynchronizerStatusList));
- continue;
- case "tableLookups":
- this.tableLookups = (TableLookupList) info.GetValue("tableLookups", typeof (TableLookupList));
- continue;
- case "trainingApparatusRecords":
- this.trainingApparatusRecords = (TrainingApparatusRecordList) info.GetValue("trainingApparatusRecords", typeof (TrainingApparatusRecordList));
- continue;
- case "trainingCategories":
- this.trainingCategories = (TrainingCategoryList) info.GetValue("trainingCategories", typeof (TrainingCategoryList));
- continue;
- case "trainingCertificateDistributions":
- this.trainingCertificateDistributions = (TrainingCertificateDistributionList) info.GetValue("trainingCertificateDistributions", typeof (TrainingCertificateDistributionList));
- continue;
- case "trainingClassAttendanceRecords":
- this.trainingClassAttendanceRecords = (TrainingClassAttendanceRecordList) info.GetValue("trainingClassAttendanceRecords", typeof (TrainingClassAttendanceRecordList));
- continue;
- case "trainingClassAutoAssignments":
- this.trainingClassAutoAssignments = (TrainingClassAutoAssignmentList) info.GetValue("trainingClassAutoAssignments", typeof (TrainingClassAutoAssignmentList));
- continue;
- case "trainingClasses":
- this.trainingClasses = (TrainingClassList) info.GetValue("trainingClasses", typeof (TrainingClassList));
- continue;
- case "trainingClassInstructors":
- this.trainingClassInstructors = (TrainingClassInstructorList) info.GetValue("trainingClassInstructors", typeof (TrainingClassInstructorList));
- continue;
- case "trainingClassPrerequisites":
- this.trainingClassPrerequisites = (TrainingClassPrerequisiteList) info.GetValue("trainingClassPrerequisites", typeof (TrainingClassPrerequisiteList));
- continue;
- case "trainingClassSessionInstructors":
- this.trainingClassSessionInstructors = (TrainingClassSessionInstructorList) info.GetValue("trainingClassSessionInstructors", typeof (TrainingClassSessionInstructorList));
- continue;
- case "trainingClassSessions":
- this.trainingClassSessions = (TrainingClassSessionList) info.GetValue("trainingClassSessions", typeof (TrainingClassSessionList));
- continue;
- case "trainingClassSessionTopics":
- this.trainingClassSessionTopics = (TrainingClassSessionTopicList) info.GetValue("trainingClassSessionTopics", typeof (TrainingClassSessionTopicList));
- continue;
- case "trainingClassTopicInstructors":
- this.trainingClassTopicInstructors = (TrainingClassTopicInstructorList) info.GetValue("trainingClassTopicInstructors", typeof (TrainingClassTopicInstructorList));
- continue;
- case "trainingClassTopics":
- this.trainingClassTopics = (TrainingClassTopicList) info.GetValue("trainingClassTopics", typeof (TrainingClassTopicList));
- continue;
- case "trainingClassTopicSessionInstructors":
- this.trainingClassTopicSessionInstructors = (TrainingClassTopicSessionInstructorList) info.GetValue("trainingClassTopicSessionInstructors", typeof (TrainingClassTopicSessionInstructorList));
- continue;
- case "trainingCourseClasses":
- this.trainingCourseClasses = (TrainingCourseClassList) info.GetValue("trainingCourseClasses", typeof (TrainingCourseClassList));
- continue;
- case "trainingCourseInstructors":
- this.trainingCourseInstructors = (TrainingCourseInstructorList) info.GetValue("trainingCourseInstructors", typeof (TrainingCourseInstructorList));
- continue;
- case "trainingCoursePrerequisites":
- this.trainingCoursePrerequisites = (TrainingCoursePrerequisiteList) info.GetValue("trainingCoursePrerequisites", typeof (TrainingCoursePrerequisiteList));
- continue;
- case "trainingCourses":
- this.trainingCourses = (TrainingCourseList) info.GetValue("trainingCourses", typeof (TrainingCourseList));
- continue;
- case "trainingHourRequirements":
- this.trainingHourRequirements = (TrainingHourRequirementList) info.GetValue("trainingHourRequirements", typeof (TrainingHourRequirementList));
- continue;
- case "trainingInstructors":
- this.trainingInstructors = (TrainingInstructorList) info.GetValue("trainingInstructors", typeof (TrainingInstructorList));
- continue;
- case "trainingTopics":
- this.trainingTopics = (TrainingTopicList) info.GetValue("trainingTopics", typeof (TrainingTopicList));
- continue;
- case "usedLaboratories":
- this.usedLaboratories = (UsedLaboratoryList) info.GetValue("usedLaboratories", typeof (UsedLaboratoryList));
- continue;
- case "userLogins":
- this.userLogins = (UserLoginList) info.GetValue("userLogins", typeof (UserLoginList));
- continue;
- case "userPreferences":
- this.userPreferences = (UserPreferenceList) info.GetValue("userPreferences", typeof (UserPreferenceList));
- continue;
- case "userLoginUserPreferences":
- this.userLoginUserPreferences = (UserPreferenceList) info.GetValue("userLoginUserPreferences", typeof (UserPreferenceList));
- continue;
- case "userRoles":
- this.userRoles = (UserRoleList) info.GetValue("userRoles", typeof (UserRoleList));
- continue;
- case "userLoginUserRoles":
- this.userLoginUserRoles = (UserRoleList) info.GetValue("userLoginUserRoles", typeof (UserRoleList));
- continue;
- case "userSecurityLevels":
- this.userSecurityLevels = (UserSecurityLevelList) info.GetValue("userSecurityLevels", typeof (UserSecurityLevelList));
- continue;
- case "userLoginUserSecurityLevels":
- this.userLoginUserSecurityLevels = (UserSecurityLevelList) info.GetValue("userLoginUserSecurityLevels", typeof (UserSecurityLevelList));
- continue;
- case "vendors":
- this.vendors = (VendorList) info.GetValue("vendors", typeof (VendorList));
- continue;
- case "vendorTypes":
- this.vendorTypes = (VendorTypeList) info.GetValue("vendorTypes", typeof (VendorTypeList));
- continue;
- case "wildlandLocations":
- this.wildlandLocations = (WildlandLocationList) info.GetValue("wildlandLocations", typeof (WildlandLocationList));
- continue;
- case "witnessStatements":
- this.witnessStatements = (WitnessStatementList) info.GetValue("witnessStatements", typeof (WitnessStatementList));
- continue;
- case "workOrderItems":
- this.workOrderItems = (WorkOrderItemList) info.GetValue("workOrderItems", typeof (WorkOrderItemList));
- continue;
- case "workOrderPerformers":
- this.workOrderPerformers = (WorkOrderPerformerList) info.GetValue("workOrderPerformers", typeof (WorkOrderPerformerList));
- continue;
- case "workOrderReplacedFluids":
- this.workOrderReplacedFluids = (WorkOrderReplacedFluidList) info.GetValue("workOrderReplacedFluids", typeof (WorkOrderReplacedFluidList));
- continue;
- case "workOrderReplacedParts":
- this.workOrderReplacedParts = (WorkOrderReplacedPartList) info.GetValue("workOrderReplacedParts", typeof (WorkOrderReplacedPartList));
- continue;
- case "workOrders":
- this.workOrders = (WorkOrderList) info.GetValue("workOrders", typeof (WorkOrderList));
- continue;
- case "zipcodeDictionaryEntries":
- this.zipcodeDictionaryEntries = (ZipcodeDictionaryEntryList) info.GetValue("zipcodeDictionaryEntries", typeof (ZipcodeDictionaryEntryList));
- continue;
- case "zones":
- this.zones = (ZoneList) info.GetValue("zones", typeof (ZoneList));
- continue;
- case "createdByUserLogin":
- this.createdByUserLogin = (UserLogin) info.GetValue("createdByUserLogin", typeof (UserLogin));
- continue;
- default:
- continue;
- }
- }
- }
- public UserLogin(string userName)
- : this()
- {
- this.userName = userName;
- }
- public override void GetObjectData(SerializationInfo info, StreamingContext context)
- {
- base.GetObjectData(info, context);
- info.AddValue("userName", (object) this.userName);
- info.AddValue("password", (object) this.password);
- info.AddValue("userDisplayName", (object) this.userDisplayName);
- if (!this.isSynchronizing)
- {
- info.AddValue("ageDetails", (object) this.ageDetails);
- info.AddValue("agencies", (object) this.agencies);
- info.AddValue("agencyReferrals", (object) this.agencyReferrals);
- info.AddValue("apparatusComponentInspections", (object) this.apparatusComponentInspections);
- info.AddValue("apparatusComponents", (object) this.apparatusComponents);
- info.AddValue("apparatusComponentTests", (object) this.apparatusComponentTests);
- info.AddValue("apparatusFluids", (object) this.apparatusFluids);
- info.AddValue("apparatusParts", (object) this.apparatusParts);
- info.AddValue("apparatusSlots", (object) this.apparatusSlots);
- info.AddValue("apparentGroupInvolvmentFactors", (object) this.apparentGroupInvolvmentFactors);
- info.AddValue("applicationActivityLogs", (object) this.applicationActivityLogs);
- info.AddValue("applicationComponentParts", (object) this.applicationComponentParts);
- info.AddValue("applicationComponentRoles", (object) this.applicationComponentRoles);
- info.AddValue("applicationComponents", (object) this.applicationComponents);
- info.AddValue("applicationMessageDestinations", (object) this.applicationMessageDestinations);
- info.AddValue("sendToUserApplicationMessageDestinations", (object) this.sendToUserApplicationMessageDestinations);
- info.AddValue("sendToUserNameApplicationMessageDestinations", (object) this.sendToUserNameApplicationMessageDestinations);
- info.AddValue("applicationMessageRecipients", (object) this.applicationMessageRecipients);
- info.AddValue("userLoginApplicationMessageRecipients", (object) this.userLoginApplicationMessageRecipients);
- info.AddValue("applicationMessages", (object) this.applicationMessages);
- info.AddValue("userLoginApplicationMessages", (object) this.userLoginApplicationMessages);
- info.AddValue("applicationPermissions", (object) this.applicationPermissions);
- info.AddValue("applicationPreferences", (object) this.applicationPreferences);
- info.AddValue("applicationRoleComponents", (object) this.applicationRoleComponents);
- info.AddValue("applicationRolePermissions", (object) this.applicationRolePermissions);
- info.AddValue("applicationRoles", (object) this.applicationRoles);
- info.AddValue("applicationRoleSubComponents", (object) this.applicationRoleSubComponents);
- info.AddValue("applicationSubcomponents", (object) this.applicationSubcomponents);
- info.AddValue("archivedReports", (object) this.archivedReports);
- info.AddValue("areaHospitals", (object) this.areaHospitals);
- info.AddValue("arrests", (object) this.arrests);
- info.AddValue("arsonMotivationOrRiskFactors", (object) this.arsonMotivationOrRiskFactors);
- info.AddValue("arsonRecords", (object) this.arsonRecords);
- info.AddValue("arsonSubjects", (object) this.arsonSubjects);
- info.AddValue("assetAcquisitions", (object) this.assetAcquisitions);
- info.AddValue("assetDispositions", (object) this.assetDispositions);
- info.AddValue("assignedInspectors", (object) this.assignedInspectors);
- info.AddValue("autopsies", (object) this.autopsies);
- info.AddValue("autopsyRemovedObjects", (object) this.autopsyRemovedObjects);
- info.AddValue("autopsySpecimens", (object) this.autopsySpecimens);
- info.AddValue("autopsyWitnesses", (object) this.autopsyWitnesses);
- info.AddValue("battalions", (object) this.battalions);
- info.AddValue("bodyInjurySites", (object) this.bodyInjurySites);
- info.AddValue("bombActionsTaken", (object) this.bombActionsTaken);
- info.AddValue("bombs", (object) this.bombs);
- info.AddValue("bombThreats", (object) this.bombThreats);
- info.AddValue("burnedCrops", (object) this.burnedCrops);
- info.AddValue("businessEntities", (object) this.businessEntities);
- info.AddValue("cardiacArrestPreArrivalDetails", (object) this.cardiacArrestPreArrivalDetails);
- info.AddValue("caseEvidenceItems", (object) this.caseEvidenceItems);
- info.AddValue("caseInvestigators", (object) this.caseInvestigators);
- info.AddValue("certificates", (object) this.certificates);
- info.AddValue("certificateTypeRequirements", (object) this.certificateTypeRequirements);
- info.AddValue("certificateTypes", (object) this.certificateTypes);
- info.AddValue("certificationGrades", (object) this.certificationGrades);
- info.AddValue("certifications", (object) this.certifications);
- info.AddValue("civilianCasualties", (object) this.civilianCasualties);
- info.AddValue("componentLoggingLevels", (object) this.componentLoggingLevels);
- info.AddValue("componentSecurityLevels", (object) this.componentSecurityLevels);
- info.AddValue("userLoginComponentSecurityLevels", (object) this.userLoginComponentSecurityLevels);
- info.AddValue("contactMethods", (object) this.contactMethods);
- info.AddValue("contributedToIgnitionFactors", (object) this.contributedToIgnitionFactors);
- info.AddValue("contributingInjuryFactors", (object) this.contributingInjuryFactors);
- info.AddValue("coverageAreas", (object) this.coverageAreas);
- info.AddValue("customDictionaryEntries", (object) this.customDictionaryEntries);
- info.AddValue("customerContacts", (object) this.customerContacts);
- info.AddValue("customerLoginComponents", (object) this.customerLoginComponents);
- info.AddValue("customerLoginPermissions", (object) this.customerLoginPermissions);
- info.AddValue("customerLoginRoles", (object) this.customerLoginRoles);
- info.AddValue("customerLogins", (object) this.customerLogins);
- info.AddValue("userLoginCustomerLogins", (object) this.userLoginCustomerLogins);
- info.AddValue("customerLoginSubcomponents", (object) this.customerLoginSubcomponents);
- info.AddValue("customers", (object) this.customers);
- info.AddValue("customFields", (object) this.customFields);
- info.AddValue("customFieldValues", (object) this.customFieldValues);
- info.AddValue("customNFIRSTextEntries", (object) this.customNFIRSTextEntries);
- info.AddValue("customSchedulingCalculations", (object) this.customSchedulingCalculations);
- info.AddValue("customSchedulingEnteredValues", (object) this.customSchedulingEnteredValues);
- info.AddValue("dailyLogApparatusEntries", (object) this.dailyLogApparatusEntries);
- info.AddValue("dailyLogEntries", (object) this.dailyLogEntries);
- info.AddValue("dailyLogEntryTypes", (object) this.dailyLogEntryTypes);
- info.AddValue("dailyLogPersonnelEntries", (object) this.dailyLogPersonnelEntries);
- info.AddValue("dailyLogShiftEntries", (object) this.dailyLogShiftEntries);
- info.AddValue("dailyLogStationEntries", (object) this.dailyLogStationEntries);
- info.AddValue("dailyLogUsedEquipmentItems", (object) this.dailyLogUsedEquipmentItems);
- info.AddValue("dailyLogUsedSupplyItems", (object) this.dailyLogUsedSupplyItems);
- info.AddValue("departmentFDIDs", (object) this.departmentFDIDs);
- info.AddValue("departmentLoginComponents", (object) this.departmentLoginComponents);
- info.AddValue("departmentLoginPermissions", (object) this.departmentLoginPermissions);
- info.AddValue("departmentLoginRoles", (object) this.departmentLoginRoles);
- info.AddValue("departmentLogins", (object) this.departmentLogins);
- info.AddValue("userLoginDepartmentLogins", (object) this.userLoginDepartmentLogins);
- info.AddValue("departmentLoginSubcomponents", (object) this.departmentLoginSubcomponents);
- info.AddValue("disciplinaryReports", (object) this.disciplinaryReports);
- info.AddValue("districts", (object) this.districts);
- info.AddValue("employmentCategorySchedulingConstraints", (object) this.employmentCategorySchedulingConstraints);
- info.AddValue("eMSPatients", (object) this.eMSPatients);
- info.AddValue("ePADictionaryEntries", (object) this.ePADictionaryEntries);
- info.AddValue("equipmentConditionRecords", (object) this.equipmentConditionRecords);
- info.AddValue("equipmentConditions", (object) this.equipmentConditions);
- info.AddValue("equipmentItemInspections", (object) this.equipmentItemInspections);
- info.AddValue("equipmentItems", (object) this.equipmentItems);
- info.AddValue("equipmentItemSizes", (object) this.equipmentItemSizes);
- info.AddValue("equipmentItemTestDetails", (object) this.equipmentItemTestDetails);
- info.AddValue("equipmentItemTests", (object) this.equipmentItemTests);
- info.AddValue("equipmentSizeFields", (object) this.equipmentSizeFields);
- info.AddValue("equipmentStatuses", (object) this.equipmentStatuses);
- info.AddValue("equipmentStatusRecords", (object) this.equipmentStatusRecords);
- info.AddValue("equipmentTypes", (object) this.equipmentTypes);
- info.AddValue("fieldInvestigations", (object) this.fieldInvestigations);
- info.AddValue("filedCharges", (object) this.filedCharges);
- info.AddValue("fireExtinguishers", (object) this.fireExtinguishers);
- info.AddValue("fireInvestigations", (object) this.fireInvestigations);
- info.AddValue("lockedByUserFireInvestigations", (object) this.lockedByUserFireInvestigations);
- info.AddValue("fireServiceCasualties", (object) this.fireServiceCasualties);
- info.AddValue("fixedAssetInventoryItems", (object) this.fixedAssetInventoryItems);
- info.AddValue("fixedAssetItemTests", (object) this.fixedAssetItemTests);
- info.AddValue("fleetApparatusRecords", (object) this.fleetApparatusRecords);
- info.AddValue("fleetApparatusTypes", (object) this.fleetApparatusTypes);
- info.AddValue("fLSAPeriods", (object) this.fLSAPeriods);
- info.AddValue("fluidTypes", (object) this.fluidTypes);
- info.AddValue("hazMatActions", (object) this.hazMatActions);
- info.AddValue("hazMatChemicalReleases", (object) this.hazMatChemicalReleases);
- info.AddValue("hazMatExposures", (object) this.hazMatExposures);
- info.AddValue("hazMatMitigationFactors", (object) this.hazMatMitigationFactors);
- info.AddValue("hazMatRecords", (object) this.hazMatRecords);
- info.AddValue("hazMatReleaseFactors", (object) this.hazMatReleaseFactors);
- info.AddValue("hazTrakHealthHazards", (object) this.hazTrakHealthHazards);
- info.AddValue("hazTrakRecords", (object) this.hazTrakRecords);
- info.AddValue("hazTrakStorageLocations", (object) this.hazTrakStorageLocations);
- info.AddValue("helpFileEntries", (object) this.helpFileEntries);
- info.AddValue("hoses", (object) this.hoses);
- info.AddValue("hoseTestDetails", (object) this.hoseTestDetails);
- info.AddValue("hoseTests", (object) this.hoseTests);
- info.AddValue("hoseTypes", (object) this.hoseTypes);
- info.AddValue("humanFactors", (object) this.humanFactors);
- info.AddValue("humanInjuryFactors", (object) this.humanInjuryFactors);
- info.AddValue("hydrantInspections", (object) this.hydrantInspections);
- info.AddValue("hydrants", (object) this.hydrants);
- info.AddValue("hydrantTests", (object) this.hydrantTests);
- info.AddValue("incidentActions", (object) this.incidentActions);
- info.AddValue("incidentExposures", (object) this.incidentExposures);
- info.AddValue("incidentMappingSettings", (object) this.incidentMappingSettings);
- info.AddValue("userLoginIncidentMappingSettings", (object) this.userLoginIncidentMappingSettings);
- info.AddValue("incidentRecords", (object) this.incidentRecords);
- info.AddValue("incidentRoles", (object) this.incidentRoles);
- info.AddValue("incidentSpecialStudies", (object) this.incidentSpecialStudies);
- info.AddValue("incidentUsedEquipmentItems", (object) this.incidentUsedEquipmentItems);
- info.AddValue("incidentUsedSupplyItems", (object) this.incidentUsedSupplyItems);
- info.AddValue("initialObservations", (object) this.initialObservations);
- info.AddValue("inspectionDistricts", (object) this.inspectionDistricts);
- info.AddValue("inspectionGroups", (object) this.inspectionGroups);
- info.AddValue("insuranceClaims", (object) this.insuranceClaims);
- info.AddValue("insuranceCompanies", (object) this.insuranceCompanies);
- info.AddValue("insurancePolicies", (object) this.insurancePolicies);
- info.AddValue("interviewQuestions", (object) this.interviewQuestions);
- info.AddValue("interviews", (object) this.interviews);
- info.AddValue("interviewStandardQuestions", (object) this.interviewStandardQuestions);
- info.AddValue("inventoryItemCategories", (object) this.inventoryItemCategories);
- info.AddValue("involvedAttorneys", (object) this.involvedAttorneys);
- info.AddValue("involvedEntities", (object) this.involvedEntities);
- info.AddValue("involvedPersons", (object) this.involvedPersons);
- info.AddValue("irregularAssignments", (object) this.irregularAssignments);
- info.AddValue("issuedPermits", (object) this.issuedPermits);
- info.AddValue("itemCheckOuts", (object) this.itemCheckOuts);
- info.AddValue("juveniles", (object) this.juveniles);
- info.AddValue("labRequests", (object) this.labRequests);
- info.AddValue("labTechnicians", (object) this.labTechnicians);
- info.AddValue("legalOfficers", (object) this.legalOfficers);
- info.AddValue("licenseModules", (object) this.licenseModules);
- info.AddValue("licenses", (object) this.licenses);
- info.AddValue("licenseUserSessions", (object) this.licenseUserSessions);
- info.AddValue("userLoginLicenseUserSessions", (object) this.userLoginLicenseUserSessions);
- info.AddValue("locationCrossStreets", (object) this.locationCrossStreets);
- info.AddValue("locations", (object) this.locations);
- info.AddValue("maintenanceRequestItems", (object) this.maintenanceRequestItems);
- info.AddValue("maintenanceRequests", (object) this.maintenanceRequests);
- info.AddValue("maintenanceTaskSchedules", (object) this.maintenanceTaskSchedules);
- info.AddValue("manufacturers", (object) this.manufacturers);
- info.AddValue("manufacturerTypes", (object) this.manufacturerTypes);
- info.AddValue("mapLayoutFilterFields", (object) this.mapLayoutFilterFields);
- info.AddValue("mapLayouts", (object) this.mapLayouts);
- info.AddValue("mappingComponents", (object) this.mappingComponents);
- info.AddValue("medicalExaminations", (object) this.medicalExaminations);
- info.AddValue("medicalOfficers", (object) this.medicalOfficers);
- info.AddValue("mobileProperties", (object) this.mobileProperties);
- info.AddValue("mortgageCompanies", (object) this.mortgageCompanies);
- info.AddValue("mortgages", (object) this.mortgages);
- info.AddValue("mutualAidRecords", (object) this.mutualAidRecords);
- info.AddValue("narrativeLinks", (object) this.narrativeLinks);
- info.AddValue("narratives", (object) this.narratives);
- info.AddValue("narrativeTemplates", (object) this.narrativeTemplates);
- info.AddValue("nearbyProperties", (object) this.nearbyProperties);
- info.AddValue("neededResources", (object) this.neededResources);
- info.AddValue("nFIRSDictionaryEntries", (object) this.nFIRSDictionaryEntries);
- info.AddValue("nFPADictionaryEntries", (object) this.nFPADictionaryEntries);
- info.AddValue("officers", (object) this.officers);
- info.AddValue("onScenePersons", (object) this.onScenePersons);
- info.AddValue("onSiteMaterials", (object) this.onSiteMaterials);
- info.AddValue("otherObservations", (object) this.otherObservations);
- info.AddValue("pageComponents", (object) this.pageComponents);
- info.AddValue("pageLayouts", (object) this.pageLayouts);
- info.AddValue("userLoginPageLayouts", (object) this.userLoginPageLayouts);
- info.AddValue("payPeriods", (object) this.payPeriods);
- info.AddValue("performedProcedures", (object) this.performedProcedures);
- info.AddValue("personAliasNames", (object) this.personAliasNames);
- info.AddValue("personLanguages", (object) this.personLanguages);
- info.AddValue("personnelAllergies", (object) this.personnelAllergies);
- info.AddValue("personnelCertifications", (object) this.personnelCertifications);
- info.AddValue("personnelEmploymentCategories", (object) this.personnelEmploymentCategories);
- info.AddValue("personnelEmploymentDetails", (object) this.personnelEmploymentDetails);
- info.AddValue("personnelEquipmentSizes", (object) this.personnelEquipmentSizes);
- info.AddValue("personnelEquipmentTestRecords", (object) this.personnelEquipmentTestRecords);
- info.AddValue("personnelIrregularWorkPlaces", (object) this.personnelIrregularWorkPlaces);
- info.AddValue("personnelIrregularWorkTimes", (object) this.personnelIrregularWorkTimes);
- info.AddValue("personnelMedicalDetails", (object) this.personnelMedicalDetails);
- info.AddValue("personnelMedications", (object) this.personnelMedications);
- info.AddValue("personnelRankHistory", (object) this.personnelRankHistory);
- info.AddValue("personnelRanks", (object) this.personnelRanks);
- info.AddValue("personnelRecords", (object) this.personnelRecords);
- info.AddValue("userLoginPersonnelRecords", (object) this.userLoginPersonnelRecords);
- info.AddValue("personnelRegularWorkPlaces", (object) this.personnelRegularWorkPlaces);
- info.AddValue("personnelRegularWorkTimes", (object) this.personnelRegularWorkTimes);
- info.AddValue("personnelScheduledOffTimes", (object) this.personnelScheduledOffTimes);
- info.AddValue("personnelSchedulingConstraints", (object) this.personnelSchedulingConstraints);
- info.AddValue("personnelSkills", (object) this.personnelSkills);
- info.AddValue("personnelStatusRequests", (object) this.personnelStatusRequests);
- info.AddValue("personnelStatusTimes", (object) this.personnelStatusTimes);
- info.AddValue("personnelStatusTypes", (object) this.personnelStatusTypes);
- info.AddValue("personnelTimesheetRecords", (object) this.personnelTimesheetRecords);
- info.AddValue("personRecords", (object) this.personRecords);
- info.AddValue("personRoles", (object) this.personRoles);
- info.AddValue("prePlans", (object) this.prePlans);
- info.AddValue("propertyCodeViolations", (object) this.propertyCodeViolations);
- info.AddValue("propertyHydrants", (object) this.propertyHydrants);
- info.AddValue("propertyInspectionCodes", (object) this.propertyInspectionCodes);
- info.AddValue("propertyInspections", (object) this.propertyInspections);
- info.AddValue("propertyInspectionTypes", (object) this.propertyInspectionTypes);
- info.AddValue("propertyNames", (object) this.propertyNames);
- info.AddValue("propertyOccupancyRecords", (object) this.propertyOccupancyRecords);
- info.AddValue("propertyOwnershipRecords", (object) this.propertyOwnershipRecords);
- info.AddValue("protectedProperties", (object) this.protectedProperties);
- info.AddValue("protectedPropertyContacts", (object) this.protectedPropertyContacts);
- info.AddValue("protectedPropertyDirections", (object) this.protectedPropertyDirections);
- info.AddValue("protectedPropertyInspectionGroups", (object) this.protectedPropertyInspectionGroups);
- info.AddValue("protectiveEquipmentFailures", (object) this.protectiveEquipmentFailures);
- info.AddValue("providedResources", (object) this.providedResources);
- info.AddValue("purchaseOrderItems", (object) this.purchaseOrderItems);
- info.AddValue("purchaseOrderReceivedItems", (object) this.purchaseOrderReceivedItems);
- info.AddValue("purchaseOrders", (object) this.purchaseOrders);
- info.AddValue("receivedSynchronizations", (object) this.receivedSynchronizations);
- info.AddValue("recordAttachments", (object) this.recordAttachments);
- info.AddValue("recordNotes", (object) this.recordNotes);
- info.AddValue("createdByUserLoginRecordNotes", (object) this.createdByUserLoginRecordNotes);
- info.AddValue("registeredDepartments", (object) this.registeredDepartments);
- info.AddValue("regularApparatusAssignments", (object) this.regularApparatusAssignments);
- info.AddValue("regularAssignments", (object) this.regularAssignments);
- info.AddValue("relatedInvestigations", (object) this.relatedInvestigations);
- info.AddValue("reportComponentFields", (object) this.reportComponentFields);
- info.AddValue("reportComponentFilters", (object) this.reportComponentFilters);
- info.AddValue("reportComponents", (object) this.reportComponents);
- info.AddValue("reportFilters", (object) this.reportFilters);
- info.AddValue("reportLayouts", (object) this.reportLayouts);
- info.AddValue("reportRecipients", (object) this.reportRecipients);
- info.AddValue("reports", (object) this.reports);
- info.AddValue("reportSchedules", (object) this.reportSchedules);
- info.AddValue("resourceProviders", (object) this.resourceProviders);
- info.AddValue("respondingApparatusActions", (object) this.respondingApparatusActions);
- info.AddValue("respondingApparatusRecords", (object) this.respondingApparatusRecords);
- info.AddValue("respondingPersonnelActions", (object) this.respondingPersonnelActions);
- info.AddValue("respondingPersonnelRecords", (object) this.respondingPersonnelRecords);
- info.AddValue("rotations", (object) this.rotations);
- info.AddValue("safetyEquipmentRecords", (object) this.safetyEquipmentRecords);
- info.AddValue("sceneLegalAccessDetails", (object) this.sceneLegalAccessDetails);
- info.AddValue("scheduleRequirements", (object) this.scheduleRequirements);
- info.AddValue("schedules", (object) this.schedules);
- info.AddValue("schedulingPageLayouts", (object) this.schedulingPageLayouts);
- info.AddValue("userLoginSchedulingPageLayouts", (object) this.userLoginSchedulingPageLayouts);
- info.AddValue("shiftRotations", (object) this.shiftRotations);
- info.AddValue("shifts", (object) this.shifts);
- info.AddValue("signatures", (object) this.signatures);
- info.AddValue("skillComponents", (object) this.skillComponents);
- info.AddValue("skills", (object) this.skills);
- info.AddValue("specificPropertyUsages", (object) this.specificPropertyUsages);
- info.AddValue("stateDictionaryEntries", (object) this.stateDictionaryEntries);
- info.AddValue("stationContacts", (object) this.stationContacts);
- info.AddValue("stationLogins", (object) this.stationLogins);
- info.AddValue("userLoginStationLogins", (object) this.userLoginStationLogins);
- info.AddValue("stations", (object) this.stations);
- info.AddValue("storageAreas", (object) this.storageAreas);
- info.AddValue("streetDictionaryEntries", (object) this.streetDictionaryEntries);
- info.AddValue("supplyItemLevels", (object) this.supplyItemLevels);
- info.AddValue("supplyItemPurchaseDistributions", (object) this.supplyItemPurchaseDistributions);
- info.AddValue("supplyItemPurchases", (object) this.supplyItemPurchases);
- info.AddValue("supplyItems", (object) this.supplyItems);
- info.AddValue("supplyItemTypes", (object) this.supplyItemTypes);
- info.AddValue("supplyItemUsages", (object) this.supplyItemUsages);
- info.AddValue("suppressionFactors", (object) this.suppressionFactors);
- info.AddValue("suspectedMotivationFactors", (object) this.suspectedMotivationFactors);
- info.AddValue("suspects", (object) this.suspects);
- info.AddValue("synchronizationRecords", (object) this.synchronizationRecords);
- info.AddValue("synchronizerStatuses", (object) this.synchronizerStatuses);
- info.AddValue("tableLookups", (object) this.tableLookups);
- info.AddValue("trainingApparatusRecords", (object) this.trainingApparatusRecords);
- info.AddValue("trainingCategories", (object) this.trainingCategories);
- info.AddValue("trainingCertificateDistributions", (object) this.trainingCertificateDistributions);
- info.AddValue("trainingClassAttendanceRecords", (object) this.trainingClassAttendanceRecords);
- info.AddValue("trainingClassAutoAssignments", (object) this.trainingClassAutoAssignments);
- info.AddValue("trainingClasses", (object) this.trainingClasses);
- info.AddValue("trainingClassInstructors", (object) this.trainingClassInstructors);
- info.AddValue("trainingClassPrerequisites", (object) this.trainingClassPrerequisites);
- info.AddValue("trainingClassSessionInstructors", (object) this.trainingClassSessionInstructors);
- info.AddValue("trainingClassSessions", (object) this.trainingClassSessions);
- info.AddValue("trainingClassSessionTopics", (object) this.trainingClassSessionTopics);
- info.AddValue("trainingClassTopicInstructors", (object) this.trainingClassTopicInstructors);
- info.AddValue("trainingClassTopics", (object) this.trainingClassTopics);
- info.AddValue("trainingClassTopicSessionInstructors", (object) this.trainingClassTopicSessionInstructors);
- info.AddValue("trainingCourseClasses", (object) this.trainingCourseClasses);
- info.AddValue("trainingCourseInstructors", (object) this.trainingCourseInstructors);
- info.AddValue("trainingCoursePrerequisites", (object) this.trainingCoursePrerequisites);
- info.AddValue("trainingCourses", (object) this.trainingCourses);
- info.AddValue("trainingHourRequirements", (object) this.trainingHourRequirements);
- info.AddValue("trainingInstructors", (object) this.trainingInstructors);
- info.AddValue("trainingTopics", (object) this.trainingTopics);
- info.AddValue("usedLaboratories", (object) this.usedLaboratories);
- info.AddValue("userLogins", (object) this.userLogins);
- info.AddValue("userPreferences", (object) this.userPreferences);
- info.AddValue("userLoginUserPreferences", (object) this.userLoginUserPreferences);
- info.AddValue("userRoles", (object) this.userRoles);
- info.AddValue("userLoginUserRoles", (object) this.userLoginUserRoles);
- info.AddValue("userSecurityLevels", (object) this.userSecurityLevels);
- info.AddValue("userLoginUserSecurityLevels", (object) this.userLoginUserSecurityLevels);
- info.AddValue("vendors", (object) this.vendors);
- info.AddValue("vendorTypes", (object) this.vendorTypes);
- info.AddValue("wildlandLocations", (object) this.wildlandLocations);
- info.AddValue("witnessStatements", (object) this.witnessStatements);
- info.AddValue("workOrderItems", (object) this.workOrderItems);
- info.AddValue("workOrderPerformers", (object) this.workOrderPerformers);
- info.AddValue("workOrderReplacedFluids", (object) this.workOrderReplacedFluids);
- info.AddValue("workOrderReplacedParts", (object) this.workOrderReplacedParts);
- info.AddValue("workOrders", (object) this.workOrders);
- info.AddValue("zipcodeDictionaryEntries", (object) this.zipcodeDictionaryEntries);
- info.AddValue("zones", (object) this.zones);
- }
- if (this.isSynchronizing)
- return;
- info.AddValue("createdByUserLogin", (object) this.createdByUserLogin);
- }
- internal override List<IDbDataParameter> RecordParms()
- {
- return new List<IDbDataParameter>()
- {
- DataHelper.GetParameter("@RecordID", (object) this.recordID, DbType.Guid, ParameterDirection.InputOutput),
- DataHelper.GetParameter("@UserName", (object) this.userName),
- DataHelper.GetParameter("@Password", (object) this.password),
- DataHelper.GetParameter("@SyncDateModified", (object) this.syncDateModified, DbType.DateTime, ParameterDirection.InputOutput),
- DataHelper.GetParameter("@SyncLastModifiedBy", (object) this.syncLastModifiedBy),
- DataHelper.GetParameter("@HasWarnings", (object) (bool) (this.hasWarnings ? 1 : 0)),
- DataHelper.GetParameter("@UserDisplayName", (object) this.userDisplayName),
- DataHelper.GetParameter("@CreatedByUserLoginID", (object) this.createdByUserLoginID),
- DataHelper.GetParameter("@SyncDateCreated", (object) this.syncDateCreated)
- };
- }
- protected internal override void Populate(IDataReader Reader)
- {
- this.recordID = (Guid?) DataHelper.GetValue(ref Reader, "RecordID", (object) null);
- this.userName = (string) DataHelper.GetValue(ref Reader, "UserName", (object) null);
- this.password = (string) DataHelper.GetValue(ref Reader, "Password", (object) null);
- this.syncDateModified = new DateTime?((DateTime) DataHelper.GetValue(ref Reader, "SyncDateModified", (object) null));
- this.syncLastModifiedBy = (string) DataHelper.GetValue(ref Reader, "SyncLastModifiedBy", (object) null);
- this.hasWarnings = (bool) DataHelper.GetValue(ref Reader, "HasWarnings", (object) null);
- this.userDisplayName = (string) DataHelper.GetValue(ref Reader, "UserDisplayName", (object) null);
- this.createdByUserLoginID = (Guid?) DataHelper.GetValue(ref Reader, "CreatedByUserLoginID", (object) null);
- this.syncDateCreated = (DateTime?) DataHelper.GetValue(ref Reader, "SyncDateCreated", (object) null);
- base.Populate(Reader);
- }
- protected internal override void Populate(IDataReader Reader, List<string> fields)
- {
- this.recordID = (Guid?) DataHelper.GetValue(ref Reader, "RecordID", (object) null);
- if (fields.Count != 0 && fields.Contains("UserName"))
- this.userName = (string) DataHelper.GetValue(ref Reader, "UserName", (object) null);
- if (fields.Count != 0 && fields.Contains("Password"))
- this.password = (string) DataHelper.GetValue(ref Reader, "Password", (object) null);
- this.syncDateModified = new DateTime?((DateTime) DataHelper.GetValue(ref Reader, "SyncDateModified", (object) null));
- this.syncLastModifiedBy = (string) DataHelper.GetValue(ref Reader, "SyncLastModifiedBy", (object) null);
- if (fields.Count != 0 && fields.Contains("HasWarnings"))
- this.hasWarnings = (bool) DataHelper.GetValue(ref Reader, "HasWarnings", (object) null);
- if (fields.Count != 0 && fields.Contains("UserDisplayName"))
- this.userDisplayName = (string) DataHelper.GetValue(ref Reader, "UserDisplayName", (object) null);
- this.createdByUserLoginID = (Guid?) DataHelper.GetValue(ref Reader, "CreatedByUserLoginID", (object) null);
- this.syncDateCreated = (DateTime?) DataHelper.GetValue(ref Reader, "SyncDateCreated", (object) null);
- base.Populate(Reader, fields);
- }
- internal override void ResetOriginalValues()
- {
- this.recordID_originalValue = this.recordID;
- this.userName_originalValue = this.userName;
- this.password_originalValue = this.password;
- this.syncDateModified_originalValue = this.syncDateModified;
- this.syncLastModifiedBy_originalValue = this.syncLastModifiedBy;
- this.hasWarnings_originalValue = this.hasWarnings;
- this.userDisplayName_originalValue = this.userDisplayName;
- this.createdByUserLoginID_originalValue = this.createdByUserLoginID;
- this.syncDateCreated_originalValue = this.syncDateCreated;
- }
- public void ReloadUserPreferences()
- {
- this._effectiveUserPreferences = (UserPreferenceList) null;
- this._effectiveUserPreferences = UserPreferenceList.ReadAll(this.recordID, this.deptID, this.customerID);
- this._effectiveUserPreferences.ParentObject = (object) this;
- }
- public UserPreferenceList RecordPreferences(BusinessObject record)
- {
- return Enumerable.Where<UserPreference>((IEnumerable<UserPreference>) this.Preferences, (Func<UserPreference, bool>) (x =>
- {
- if (!x.PreferenceForID.HasValue)
- return true;
- Guid? preferenceForId = x.PreferenceForID;
- Guid? nullable = this.recordID;
- if (preferenceForId.HasValue != nullable.HasValue)
- return false;
- if (preferenceForId.HasValue)
- return preferenceForId.GetValueOrDefault() == nullable.GetValueOrDefault();
- return true;
- })) as UserPreferenceList;
- }
- private void roleResult_ListChanged(object sender, ListChangedEventArgs e)
- {
- }
- public void SetApplicationRolePermission(EffectivePermission effectivePermssion)
- {
- if (this.CustomerLogins.Count > 0)
- {
- CustomerLoginPermission recordToAdd1 = Enumerable.FirstOrDefault<CustomerLoginPermission>(Enumerable.Where<CustomerLoginPermission>((IEnumerable<CustomerLoginPermission>) this.CustomerLogins[0].CustomerLoginPermissions, (Func<CustomerLoginPermission, bool>) (x =>
- {
- Guid? applicationPermissionId1 = x.ApplicationPermissionID;
- Guid applicationPermissionId2 = effectivePermssion.ApplicationPermissionID;
- if (applicationPermissionId1.HasValue)
- return applicationPermissionId1.GetValueOrDefault() == applicationPermissionId2;
- return false;
- })));
- if ((BusinessObject) recordToAdd1 == (BusinessObject) null)
- {
- recordToAdd1 = new CustomerLoginPermission();
- this.CustomerLogins[0].CustomerLoginPermissions.AddRecord(recordToAdd1);
- }
- recordToAdd1.ApplicationPermissionID = new Guid?(effectivePermssion.ApplicationPermissionID);
- recordToAdd1.CustomerLoginID = new Guid?(this.CustomerLogins[0].RecordID.Value);
- recordToAdd1.Granted = effectivePermssion.Granted;
- recordToAdd1.Denied = effectivePermssion.Denied;
- if (!(recordToAdd1.ApplicationPermission.PermissionName == "Admin") || !recordToAdd1.Granted)
- return;
- foreach (ApplicationPermission applicationPermission in (BusinessObject) recordToAdd1.ApplicationPermission.ApplicationSubcomponent == (BusinessObject) null ? (BusinessObjectList<ApplicationPermission>) recordToAdd1.ApplicationPermission.ApplicationComponent.ApplicationPermissions : (BusinessObjectList<ApplicationPermission>) recordToAdd1.ApplicationPermission.ApplicationSubcomponent.ApplicationPermissions)
- {
- ApplicationPermission appPerm = applicationPermission;
- CustomerLoginPermission customerLoginPermission = Enumerable.FirstOrDefault<CustomerLoginPermission>(Enumerable.Where<CustomerLoginPermission>((IEnumerable<CustomerLoginPermission>) this.CustomerLogins[0].CustomerLoginPermissions, (Func<CustomerLoginPermission, bool>) (x =>
- {
- Guid? applicationPermissionId = x.ApplicationPermissionID;
- Guid? recordId = appPerm.RecordID;
- if (applicationPermissionId.HasValue != recordId.HasValue)
- return false;
- if (applicationPermissionId.HasValue)
- return applicationPermissionId.GetValueOrDefault() == recordId.GetValueOrDefault();
- return true;
- })));
- if ((BusinessObject) customerLoginPermission != (BusinessObject) null)
- {
- customerLoginPermission.Granted = true;
- customerLoginPermission.Denied = false;
- }
- else
- {
- CustomerLoginPermission recordToAdd2 = new CustomerLoginPermission();
- this.CustomerLogins[0].CustomerLoginPermissions.AddRecord(recordToAdd2);
- recordToAdd2.ApplicationPermissionID = new Guid?(appPerm.RecordID.Value);
- recordToAdd2.Granted = true;
- recordToAdd2.Denied = false;
- }
- }
- }
- else
- {
- if (this.DepartmentLogins.Count <= 0)
- return;
- DepartmentLoginPermission recordToAdd1 = Enumerable.FirstOrDefault<DepartmentLoginPermission>(Enumerable.Where<DepartmentLoginPermission>((IEnumerable<DepartmentLoginPermission>) this.DepartmentLogins[0].DepartmentLoginPermissions, (Func<DepartmentLoginPermission, bool>) (x =>
- {
- Guid? applicationPermissionId1 = x.ApplicationPermissionID;
- Guid applicationPermissionId2 = effectivePermssion.ApplicationPermissionID;
- if (applicationPermissionId1.HasValue)
- return applicationPermissionId1.GetValueOrDefault() == applicationPermissionId2;
- return false;
- })));
- if ((BusinessObject) recordToAdd1 == (BusinessObject) null)
- {
- recordToAdd1 = new DepartmentLoginPermission();
- this.DepartmentLogins[0].DepartmentLoginPermissions.AddRecord(recordToAdd1);
- }
- recordToAdd1.ApplicationPermissionID = new Guid?(effectivePermssion.ApplicationPermissionID);
- if (this.DepartmentLogins[0].RecordID.HasValue)
- recordToAdd1.DepartmentLoginID = new Guid?(this.DepartmentLogins[0].RecordID.Value);
- recordToAdd1.Granted = effectivePermssion.Granted;
- recordToAdd1.Denied = effectivePermssion.Denied;
- if (recordToAdd1.ApplicationPermission.PermissionName == "Admin" && recordToAdd1.Granted)
- {
- foreach (ApplicationPermission applicationPermission in (BusinessObject) recordToAdd1.ApplicationPermission.applicationComponent == (BusinessObject) null ? (BusinessObjectList<ApplicationPermission>) recordToAdd1.ApplicationPermission.ApplicationComponent.ApplicationPermissions : (BusinessObjectList<ApplicationPermission>) recordToAdd1.ApplicationPermission.ApplicationSubcomponent.ApplicationPermissions)
- {
- ApplicationPermission appPerm = applicationPermission;
- DepartmentLoginPermission departmentLoginPermission = Enumerable.FirstOrDefault<DepartmentLoginPermission>(Enumerable.Where<DepartmentLoginPermission>((IEnumerable<DepartmentLoginPermission>) this.DepartmentLogins[0].DepartmentLoginPermissions, (Func<DepartmentLoginPermission, bool>) (x =>
- {
- Guid? applicationPermissionId = x.ApplicationPermissionID;
- Guid? recordId = appPerm.RecordID;
- if (applicationPermissionId.HasValue != recordId.HasValue)
- return false;
- if (applicationPermissionId.HasValue)
- return applicationPermissionId.GetValueOrDefault() == recordId.GetValueOrDefault();
- return true;
- })));
- if ((BusinessObject) departmentLoginPermission != (BusinessObject) null)
- {
- departmentLoginPermission.Granted = true;
- departmentLoginPermission.Denied = false;
- }
- else
- {
- DepartmentLoginPermission recordToAdd2 = new DepartmentLoginPermission();
- this.DepartmentLogins[0].DepartmentLoginPermissions.AddRecord(recordToAdd2);
- recordToAdd2.ApplicationPermissionID = new Guid?(appPerm.RecordID.Value);
- recordToAdd2.Granted = true;
- recordToAdd2.Denied = false;
- }
- }
- this.OnPropertyChanged((object) this, new PropertyChangedEventArgs("EffectivePermissions"));
- }
- else
- {
- if (!(recordToAdd1.ApplicationPermission.PermissionName != "Admin") || !recordToAdd1.Denied)
- return;
- if (this.CustomerLogins.Count > 0)
- {
- CustomerLoginPermission customerLoginPermission = Enumerable.FirstOrDefault<CustomerLoginPermission>(Enumerable.Where<CustomerLoginPermission>((IEnumerable<CustomerLoginPermission>) this.CustomerLogins[0].CustomerLoginPermissions, (Func<CustomerLoginPermission, bool>) (x => x.ApplicationPermission.PermissionName == "Admin")));
- if ((BusinessObject) customerLoginPermission != (BusinessObject) null)
- {
- customerLoginPermission.Granted = false;
- customerLoginPermission.Denied = true;
- }
- }
- else if (this.DepartmentLogins.Count > 0)
- {
- DepartmentLoginPermission departmentLoginPermission = Enumerable.FirstOrDefault<DepartmentLoginPermission>(Enumerable.Where<DepartmentLoginPermission>((IEnumerable<DepartmentLoginPermission>) this.DepartmentLogins[0].DepartmentLoginPermissions, (Func<DepartmentLoginPermission, bool>) (x => x.ApplicationPermission.PermissionName == "Admin")));
- if ((BusinessObject) departmentLoginPermission != (BusinessObject) null)
- {
- departmentLoginPermission.Granted = false;
- departmentLoginPermission.Denied = true;
- }
- }
- this.OnPropertyChanged((object) this, new PropertyChangedEventArgs("EffectivePermissions"));
- }
- }
- }
- protected internal override void OnPropertyChanged(object sender, PropertyChangedEventArgs e)
- {
- switch (e.PropertyName)
- {
- case "CurrentPersonnelRecordID":
- if (!this.PersonnelRecord.UserLoginID.HasValue)
- {
- this.UserName = this.PersonnelRecord.Person.FirstName[0].ToString().ToLower() + this.PersonnelRecord.Person.LastName.ToLower() + "." + new Customer(GlobalValues.CustomerID).CustomerNumber;
- this.UserDisplayName = this.PersonnelRecord.LastName + ", " + this.PersonnelRecord.FirstName;
- break;
- }
- break;
- case "Password":
- this.passwordConfirmed = false;
- this.ConfirmPassword = string.Empty;
- break;
- }
- base.OnPropertyChanged(sender, e);
- }
- public override string ToString()
- {
- return this.DisplayName;
- }
- public override void BeforeRecordInsert(Guid? customerID, Guid? deptID)
- {
- this.allowNullCustomerID = true;
- this.allowNullDeptID = true;
- this.HashPassword();
- base.BeforeRecordInsert(customerID, deptID);
- }
- public override void AfterRecordSave(Guid? customerID, Guid? deptID)
- {
- if (this.personnelRecords != null)
- this.personnelRecords.SetPropertyValue("UserLoginID", (object) this.recordID, true, customerID, deptID);
- if (this.customerLogins != null)
- this.customerLogins.SetPropertyValue("UserLoginID", (object) this.recordID, true, customerID, deptID);
- if (this.departmentLogins != null)
- this.departmentLogins.SetPropertyValue("UserLoginID", (object) this.recordID, true, customerID, deptID);
- base.AfterRecordSave(customerID, deptID);
- }
- public override void Prune()
- {
- if (this.personnelRecords != null)
- this.personnelRecords.Prune();
- if (this.customerLogins != null)
- this.customerLogins.Prune();
- if (this.departmentLogins != null)
- this.departmentLogins.Prune();
- base.Prune();
- }
- internal override void ProcessChildrenForDelete(Guid? customerID, Guid? deptID)
- {
- this.PersonnelRecords.SetPropertyValue("UserLoginID", (object) null);
- this.CustomerLogins.DeleteAll(customerID, deptID);
- this.DepartmentLogins.DeleteAll(customerID, deptID);
- base.ProcessChildrenForDelete(customerID, deptID);
- }
- public override void BeforeRecordUpdate(Guid? customerID, Guid? deptID)
- {
- this.HashPassword();
- base.BeforeRecordUpdate(customerID, deptID);
- }
- private void HashPassword()
- {
- if (!(this.Password != this.password_originalValue))
- return;
- this.passwordConfirmed = this.password == this._confirmPassword;
- this._confirmPassword = Cryptography.GetHash(this.ConfirmPassword, Cryptography.HashType.MD5);
- this.password = Cryptography.GetHash(this.Password, Cryptography.HashType.MD5);
- }
- public void DeleteRole(ApplicationRole role)
- {
- if (this.UseCustomerLogin)
- {
- if (this.CustomerLogins.Count <= 0)
- return;
- CustomerLoginRole recordToDelete = Enumerable.FirstOrDefault<CustomerLoginRole>(Enumerable.Where<CustomerLoginRole>((IEnumerable<CustomerLoginRole>) this.CustomerLogins[0].CustomerLoginRoles, (Func<CustomerLoginRole, bool>) (x =>
- {
- Guid? applicationRoleId = x.ApplicationRoleID;
- Guid guid = role.RecordID.Value;
- if (applicationRoleId.HasValue)
- return applicationRoleId.GetValueOrDefault() == guid;
- return false;
- })));
- if (!((BusinessObject) recordToDelete != (BusinessObject) null))
- return;
- this.CustomerLogins[0].CustomerLoginRoles.Delete(recordToDelete, recordToDelete.customerID, recordToDelete.deptID);
- }
- else
- {
- if (this.DepartmentLogins.Count <= 0)
- return;
- DepartmentLoginRole recordToDelete = Enumerable.FirstOrDefault<DepartmentLoginRole>(Enumerable.Where<DepartmentLoginRole>((IEnumerable<DepartmentLoginRole>) this.DepartmentLogins[0].DepartmentLoginRoles, (Func<DepartmentLoginRole, bool>) (x =>
- {
- Guid? applicationRoleId = x.ApplicationRoleID;
- Guid guid = role.RecordID.Value;
- if (applicationRoleId.HasValue)
- return applicationRoleId.GetValueOrDefault() == guid;
- return false;
- })));
- if (!((BusinessObject) recordToDelete != (BusinessObject) null))
- return;
- this.DepartmentLogins[0].DepartmentLoginRoles.Delete(recordToDelete, recordToDelete.customerID, recordToDelete.deptID);
- }
- }
- public void AddRole(ApplicationRole role)
- {
- if (this.UseCustomerLogin)
- {
- if (this.CustomerLogins.Count > 0 && (BusinessObject) Enumerable.FirstOrDefault<CustomerLoginRole>(Enumerable.Where<CustomerLoginRole>((IEnumerable<CustomerLoginRole>) this.CustomerLogins[0].CustomerLoginRoles, (Func<CustomerLoginRole, bool>) (x =>
- {
- Guid? applicationRoleId = x.ApplicationRoleID;
- Guid guid = role.RecordID.Value;
- if (applicationRoleId.HasValue)
- return applicationRoleId.GetValueOrDefault() == guid;
- return false;
- }))) == (BusinessObject) null)
- {
- CustomerLoginRole recordToAdd = new CustomerLoginRole();
- recordToAdd.ApplicationRoleID = new Guid?(role.RecordID.Value);
- this.CustomerLogins[0].CustomerLoginRoles.AddRecord(recordToAdd);
- UserLoginRole userLoginRole = new UserLoginRole();
- userLoginRole.SubLoginRoleId = recordToAdd.RecordID;
- userLoginRole.ApplicationRoleID = recordToAdd.ApplicationRoleID.Value;
- Guid? recordId = recordToAdd.RecordID;
- Guid guid = Guid.Empty;
- if ((!recordId.HasValue ? 1 : (recordId.GetValueOrDefault() != guid ? 1 : 0)) != 0)
- userLoginRole.IsBlank = false;
- this.UserLoginRoles.Add((BusinessObject) userLoginRole);
- }
- }
- else if (this.DepartmentLogins.Count > 0 && (BusinessObject) Enumerable.FirstOrDefault<DepartmentLoginRole>(Enumerable.Where<DepartmentLoginRole>((IEnumerable<DepartmentLoginRole>) this.DepartmentLogins[0].DepartmentLoginRoles, (Func<DepartmentLoginRole, bool>) (x =>
- {
- Guid? applicationRoleId = x.ApplicationRoleID;
- Guid guid = role.RecordID.Value;
- if (applicationRoleId.HasValue)
- return applicationRoleId.GetValueOrDefault() == guid;
- return false;
- }))) == (BusinessObject) null)
- {
- DepartmentLoginRole recordToAdd = new DepartmentLoginRole();
- recordToAdd.ApplicationRoleID = new Guid?(role.RecordID.Value);
- this.DepartmentLogins[0].DepartmentLoginRoles.AddRecord(recordToAdd);
- UserLoginRole userLoginRole = new UserLoginRole();
- userLoginRole.SubLoginRoleId = recordToAdd.RecordID;
- userLoginRole.ApplicationRoleID = recordToAdd.ApplicationRoleID.Value;
- Guid? recordId = recordToAdd.RecordID;
- Guid guid = Guid.Empty;
- if ((!recordId.HasValue ? 1 : (recordId.GetValueOrDefault() != guid ? 1 : 0)) != 0)
- userLoginRole.IsBlank = false;
- this.UserLoginRoles.Add((BusinessObject) userLoginRole);
- }
- this.OnPropertyChanged((object) this, new PropertyChangedEventArgs("EffectivePermissions"));
- }
- public PersonnelRecord GetPersonnelRecord(Guid? deptID)
- {
- foreach (PersonnelRecord personnelRecord in (BusinessObjectList<PersonnelRecord>) this.PersonnelRecords)
- {
- if (object.Equals((object) personnelRecord.DeptID, (object) deptID))
- return personnelRecord;
- }
- return (PersonnelRecord) null;
- }
- public bool Login(string enteredPassword)
- {
- this.Refresh("UserName = '" + this.userName + "'");
- if (!this.recordID.HasValue)
- return false;
- return this.ValidatePassword(enteredPassword);
- }
- public bool ValidatePassword(string enteredPassword)
- {
- return Cryptography.CheckHash(enteredPassword, this.password, Cryptography.HashType.MD5);
- }
- public static UserLogin ReadByUserName(string userName)
- {
- UserLogin userLogin = new UserLogin();
- userLogin.Refresh("UserName = '" + userName + "'");
- return userLogin;
- }
- public void SetLookup(string listObjectName, IBusinessObjectList lookup)
- {
- if (GlobalValues.loadedLookups.ContainsKey((object) listObjectName))
- GlobalValues.loadedLookups[(object) listObjectName] = (object) lookup;
- else
- GlobalValues.loadedLookups.Add((object) listObjectName, (object) lookup);
- }
- public void ClearLookup(string typeName)
- {
- if (!this.loadedLookups.ContainsKey((object) typeName))
- return;
- this.loadedLookups.Remove((object) typeName);
- }
- public IBusinessObjectList GetLookup(Type type)
- {
- return GlobalValues.GetLookup(type.Name);
- }
- public IBusinessObjectList GetLookup(string listObjectName)
- {
- return GlobalValues.GetLookup(listObjectName);
- }
- public void SaveLookups(List<object> dataSource = null)
- {
- Hashtable hashtable = new Hashtable();
- foreach (DictionaryEntry dictionaryEntry in GlobalValues.loadedLookups)
- hashtable.Add(dictionaryEntry.Key, dictionaryEntry.Value);
- foreach (DictionaryEntry dictionaryEntry in hashtable)
- {
- IBusinessObjectList businessObjectList = (IBusinessObjectList) dictionaryEntry.Value;
- bool flag = true;
- if (dataSource != null)
- {
- foreach (object dataObject in dataSource)
- {
- if (dataObject != null)
- {
- if (businessObjectList.ContainsObject(dataObject))
- {
- flag = false;
- break;
- }
- if (businessObjectList.GetType().Name == dataObject.GetType().Name)
- {
- flag = false;
- break;
- }
- }
- }
- }
- if (flag)
- businessObjectList.Save(this.customerID, this.deptID);
- }
- GlobalValues.MasterCustomDictionaryEntries.Save(this.customerID, this.deptID);
- }
- public UserLoginList ReadLoginsForUserLoginID()
- {
- UserLoginList userLoginList = new UserLoginList();
- if (this.DepartmentLogins.Count == 0)
- userLoginList.AddRange((ICollection<UserLogin>) new UserLoginList(true, "RecordID IN (SELECT UserLoginID FROM CustomerLogins WHERE CustomerID IN (SELECT CustomerID FROM CustomerLogins WHERE UserLoginID = '{" + this.recordID.ToString() + "}'))"));
- else
- userLoginList.AddRange((ICollection<UserLogin>) new UserLoginList(true, "RecordID IN (SELECT UserLoginID FROM DepartmentLogins WHERE DeptID IN (SELECT DeptID FROM DepartmentLogins WHERE UserLoginID = '{" + this.recordID.ToString() + "}'))"));
- return userLoginList;
- }
- public DepartmentLoginList ReadDepartmentLoginsForUserLoginId()
- {
- DepartmentLoginList departmentLoginList = new DepartmentLoginList();
- departmentLoginList.Reload(GlobalValues.DeptID);
- return departmentLoginList;
- }
- internal override void InitValidationRules()
- {
- this.ChildValidationObjects.Clear();
- this.BusinessRules.Clear();
- this.ChildValidationObjects.Add((object) this.ContactMethods);
- BusinessRule businessRule1 = new BusinessRule((BusinessObject) this, "Password", BusinessRule.ErrorSeverity.Vital, true, "Passwords must match.");
- businessRule1.CustomComparisons.Add((BusinessObject) new BusinessRuleCustomComparison("ConfirmPassword;Password", (CustomRuleComparison) (p =>
- {
- if (p == null)
- return false;
- Dictionary<string, object> dictionary = p as Dictionary<string, object>;
- return dictionary["ConfirmPassword"].ToString() != dictionary["Password"].ToString();
- })));
- this.BusinessRules.Add((BusinessObject) businessRule1);
- BusinessRule businessRule2 = new BusinessRule((BusinessObject) this, "UserName", BusinessRule.ErrorSeverity.Vital, "UserName must be unique.");
- businessRule2.CustomComparisons.Add((BusinessObject) new BusinessRuleCustomComparison("ParentObject", (CustomRuleComparison) (p =>
- {
- if (p is UserLoginList && !string.IsNullOrEmpty(this.userName))
- return (BusinessObject) Enumerable.FirstOrDefault<UserLogin>(Enumerable.Where<UserLogin>((IEnumerable<UserLogin>) (p as UserLoginList), (Func<UserLogin, bool>) (x =>
- {
- if (!(x.UserName.ToLower() == this.userName.ToLower()))
- return false;
- Guid? recordId = x.RecordID;
- Guid? nullable = this.recordID;
- if (recordId.HasValue != nullable.HasValue)
- return true;
- if (recordId.HasValue)
- return recordId.GetValueOrDefault() != nullable.GetValueOrDefault();
- return false;
- }))) != (BusinessObject) null;
- return false;
- })));
- this.BusinessRules.Add((BusinessObject) businessRule2);
- BusinessRule businessRule3 = new BusinessRule((BusinessObject) this, "PersonnelRecord", BusinessRule.ErrorSeverity.Vital, false, "Personnel Record is required.");
- businessRule3.RuleConditions.Add((BusinessObject) new BusinessRuleCondition("CustomerID", (DynamicRuleCondition) (p =>
- {
- if (p != null && p is Guid?)
- return (p as Guid?).HasValue;
- return true;
- })));
- businessRule3.RuleConditions.Add((BusinessObject) new BusinessRuleCondition("UserName", (DynamicRuleCondition) (p =>
- {
- if (p != null)
- return !p.ToString().StartsWith("admin");
- return true;
- })));
- businessRule3.CustomComparisons.Add((BusinessObject) new BusinessRuleCustomComparison("PersonnelRecord", (CustomRuleComparison) (p => p == null), true));
- this.BusinessRules.Add((BusinessObject) businessRule3);
- base.InitValidationRules();
- }
- }
- }
Add Comment
Please, Sign In to add comment