diff --git a/.gitignore b/.gitignore index f3c016c..9c66618 100644 --- a/.gitignore +++ b/.gitignore @@ -118,3 +118,9 @@ HJGL_ZH/BLL/bin/Release/NPOI.OpenXmlFormats.dll /.gitignore /HJGLPackFile/PackFile/FileUpload /HJGLPackFile/PackFile/upload +/HJGL_ZH/Model/obj/Debug/Model.csproj.AssemblyReference.cache +/HJGL_ZH/Model/obj/Debug/Model.csproj.FileListAbsolute.txt +/HJGL_ZH/Model/obj/Debug/Model.dll +/HJGL_ZH/Model/obj/Debug/Model.pdb +/HJGL_ZH/Model/obj/Release/Model.csproj.AssemblyReference.cache +/HJGL_ZH/Model/Model.cs diff --git a/HJGL_ZH/Model/Model.cs b/HJGL_ZH/Model/Model.cs deleted file mode 100644 index 81a09ed..0000000 --- a/HJGL_ZH/Model/Model.cs +++ /dev/null @@ -1,109241 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -namespace Model -{ - using System.Data.Linq; - using System.Data.Linq.Mapping; - using System.Data; - using System.Collections.Generic; - using System.Reflection; - using System.Linq; - using System.Linq.Expressions; - using System.ComponentModel; - using System; - - - public partial class SGGLDB : System.Data.Linq.DataContext - { - - private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); - - #region 可扩展性方法定义 - partial void OnCreated(); - partial void OnCreated() - { - this.CommandTimeout = 600; - } - partial void InsertAttach_Image(Attach_Image instance); - partial void UpdateAttach_Image(Attach_Image instance); - partial void DeleteAttach_Image(Attach_Image instance); - partial void InsertAttachFile(AttachFile instance); - partial void UpdateAttachFile(AttachFile instance); - partial void DeleteAttachFile(AttachFile instance); - partial void InsertAudiFlow(AudiFlow instance); - partial void UpdateAudiFlow(AudiFlow instance); - partial void DeleteAudiFlow(AudiFlow instance); - partial void InsertAuditFlowApprove(AuditFlowApprove instance); - partial void UpdateAuditFlowApprove(AuditFlowApprove instance); - partial void DeleteAuditFlowApprove(AuditFlowApprove instance); - partial void InsertBase_Depart(Base_Depart instance); - partial void UpdateBase_Depart(Base_Depart instance); - partial void DeleteBase_Depart(Base_Depart instance); - partial void InsertBase_Module(Base_Module instance); - partial void UpdateBase_Module(Base_Module instance); - partial void DeleteBase_Module(Base_Module instance); - partial void InsertBase_Organization(Base_Organization instance); - partial void UpdateBase_Organization(Base_Organization instance); - partial void DeleteBase_Organization(Base_Organization instance); - partial void InsertBase_PrintFileCode(Base_PrintFileCode instance); - partial void UpdateBase_PrintFileCode(Base_PrintFileCode instance); - partial void DeleteBase_PrintFileCode(Base_PrintFileCode instance); - partial void InsertBase_Project(Base_Project instance); - partial void UpdateBase_Project(Base_Project instance); - partial void DeleteBase_Project(Base_Project instance); - partial void InsertBase_TeamGroup(Base_TeamGroup instance); - partial void UpdateBase_TeamGroup(Base_TeamGroup instance); - partial void DeleteBase_TeamGroup(Base_TeamGroup instance); - partial void InsertBase_Unit(Base_Unit instance); - partial void UpdateBase_Unit(Base_Unit instance); - partial void DeleteBase_Unit(Base_Unit instance); - partial void InsertButtonToMenu(ButtonToMenu instance); - partial void UpdateButtonToMenu(ButtonToMenu instance); - partial void DeleteButtonToMenu(ButtonToMenu instance); - partial void InsertCommon_ConstructionStandardIdentify(Common_ConstructionStandardIdentify instance); - partial void UpdateCommon_ConstructionStandardIdentify(Common_ConstructionStandardIdentify instance); - partial void DeleteCommon_ConstructionStandardIdentify(Common_ConstructionStandardIdentify instance); - partial void InsertCommon_ConstructionStandardList(Common_ConstructionStandardList instance); - partial void UpdateCommon_ConstructionStandardList(Common_ConstructionStandardList instance); - partial void DeleteCommon_ConstructionStandardList(Common_ConstructionStandardList instance); - partial void InsertCommon_ConstructionStandardSelectedItem(Common_ConstructionStandardSelectedItem instance); - partial void UpdateCommon_ConstructionStandardSelectedItem(Common_ConstructionStandardSelectedItem instance); - partial void DeleteCommon_ConstructionStandardSelectedItem(Common_ConstructionStandardSelectedItem instance); - partial void InsertCommon_FileManage(Common_FileManage instance); - partial void UpdateCommon_FileManage(Common_FileManage instance); - partial void DeleteCommon_FileManage(Common_FileManage instance); - partial void InsertCommon_FileManageType(Common_FileManageType instance); - partial void UpdateCommon_FileManageType(Common_FileManageType instance); - partial void DeleteCommon_FileManageType(Common_FileManageType instance); - partial void InsertCommon_LawRegulation(Common_LawRegulation instance); - partial void UpdateCommon_LawRegulation(Common_LawRegulation instance); - partial void DeleteCommon_LawRegulation(Common_LawRegulation instance); - partial void InsertCommon_LawRegulationIdentify(Common_LawRegulationIdentify instance); - partial void UpdateCommon_LawRegulationIdentify(Common_LawRegulationIdentify instance); - partial void DeleteCommon_LawRegulationIdentify(Common_LawRegulationIdentify instance); - partial void InsertCommon_LawRegulationSelectedItem(Common_LawRegulationSelectedItem instance); - partial void UpdateCommon_LawRegulationSelectedItem(Common_LawRegulationSelectedItem instance); - partial void DeleteCommon_LawRegulationSelectedItem(Common_LawRegulationSelectedItem instance); - partial void InsertCommon_Notice(Common_Notice instance); - partial void UpdateCommon_Notice(Common_Notice instance); - partial void DeleteCommon_Notice(Common_Notice instance); - partial void InsertCommon_NoticeSign(Common_NoticeSign instance); - partial void UpdateCommon_NoticeSign(Common_NoticeSign instance); - partial void DeleteCommon_NoticeSign(Common_NoticeSign instance); - partial void InsertCommon_ReportServer(Common_ReportServer instance); - partial void UpdateCommon_ReportServer(Common_ReportServer instance); - partial void DeleteCommon_ReportServer(Common_ReportServer instance); - partial void InsertHJGL_Base_HotProcessCard(HJGL_Base_HotProcessCard instance); - partial void UpdateHJGL_Base_HotProcessCard(HJGL_Base_HotProcessCard instance); - partial void DeleteHJGL_Base_HotProcessCard(HJGL_Base_HotProcessCard instance); - partial void InsertHJGL_BO_Batch(HJGL_BO_Batch instance); - partial void UpdateHJGL_BO_Batch(HJGL_BO_Batch instance); - partial void DeleteHJGL_BO_Batch(HJGL_BO_Batch instance); - partial void InsertHJGL_BO_BatchDetail(HJGL_BO_BatchDetail instance); - partial void UpdateHJGL_BO_BatchDetail(HJGL_BO_BatchDetail instance); - partial void DeleteHJGL_BO_BatchDetail(HJGL_BO_BatchDetail instance); - partial void InsertHJGL_BO_Device(HJGL_BO_Device instance); - partial void UpdateHJGL_BO_Device(HJGL_BO_Device instance); - partial void DeleteHJGL_BO_Device(HJGL_BO_Device instance); - partial void InsertHJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain instance); - partial void UpdateHJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain instance); - partial void DeleteHJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain instance); - partial void InsertHJGL_BO_QualityRating(HJGL_BO_QualityRating instance); - partial void UpdateHJGL_BO_QualityRating(HJGL_BO_QualityRating instance); - partial void DeleteHJGL_BO_QualityRating(HJGL_BO_QualityRating instance); - partial void InsertHJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair instance); - partial void UpdateHJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair instance); - partial void DeleteHJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair instance); - partial void InsertHJGL_BO_RemakeReason(HJGL_BO_RemakeReason instance); - partial void UpdateHJGL_BO_RemakeReason(HJGL_BO_RemakeReason instance); - partial void DeleteHJGL_BO_RemakeReason(HJGL_BO_RemakeReason instance); - partial void InsertHJGL_BO_RepairNotice(HJGL_BO_RepairNotice instance); - partial void UpdateHJGL_BO_RepairNotice(HJGL_BO_RepairNotice instance); - partial void DeleteHJGL_BO_RepairNotice(HJGL_BO_RepairNotice instance); - partial void InsertHJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain instance); - partial void UpdateHJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain instance); - partial void DeleteHJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain instance); - partial void InsertHJGL_BS_Component(HJGL_BS_Component instance); - partial void UpdateHJGL_BS_Component(HJGL_BS_Component instance); - partial void DeleteHJGL_BS_Component(HJGL_BS_Component instance); - partial void InsertHJGL_BS_Equipment(HJGL_BS_Equipment instance); - partial void UpdateHJGL_BS_Equipment(HJGL_BS_Equipment instance); - partial void DeleteHJGL_BS_Equipment(HJGL_BS_Equipment instance); - partial void InsertHJGL_BS_ExecStandard(HJGL_BS_ExecStandard instance); - partial void UpdateHJGL_BS_ExecStandard(HJGL_BS_ExecStandard instance); - partial void DeleteHJGL_BS_ExecStandard(HJGL_BS_ExecStandard instance); - partial void InsertHJGL_BS_IsoClass(HJGL_BS_IsoClass instance); - partial void UpdateHJGL_BS_IsoClass(HJGL_BS_IsoClass instance); - partial void DeleteHJGL_BS_IsoClass(HJGL_BS_IsoClass instance); - partial void InsertHJGL_BS_JointType(HJGL_BS_JointType instance); - partial void UpdateHJGL_BS_JointType(HJGL_BS_JointType instance); - partial void DeleteHJGL_BS_JointType(HJGL_BS_JointType instance); - partial void InsertHJGL_BS_MaterialClass(HJGL_BS_MaterialClass instance); - partial void UpdateHJGL_BS_MaterialClass(HJGL_BS_MaterialClass instance); - partial void DeleteHJGL_BS_MaterialClass(HJGL_BS_MaterialClass instance); - partial void InsertHJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare instance); - partial void UpdateHJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare instance); - partial void DeleteHJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare instance); - partial void InsertHJGL_BS_MaterialGroup(HJGL_BS_MaterialGroup instance); - partial void UpdateHJGL_BS_MaterialGroup(HJGL_BS_MaterialGroup instance); - partial void DeleteHJGL_BS_MaterialGroup(HJGL_BS_MaterialGroup instance); - partial void InsertHJGL_BS_MaterialStandard(HJGL_BS_MaterialStandard instance); - partial void UpdateHJGL_BS_MaterialStandard(HJGL_BS_MaterialStandard instance); - partial void DeleteHJGL_BS_MaterialStandard(HJGL_BS_MaterialStandard instance); - partial void InsertHJGL_BS_NDTRate(HJGL_BS_NDTRate instance); - partial void UpdateHJGL_BS_NDTRate(HJGL_BS_NDTRate instance); - partial void DeleteHJGL_BS_NDTRate(HJGL_BS_NDTRate instance); - partial void InsertHJGL_BS_NDTType(HJGL_BS_NDTType instance); - partial void UpdateHJGL_BS_NDTType(HJGL_BS_NDTType instance); - partial void DeleteHJGL_BS_NDTType(HJGL_BS_NDTType instance); - partial void InsertHJGL_BS_SchTab(HJGL_BS_SchTab instance); - partial void UpdateHJGL_BS_SchTab(HJGL_BS_SchTab instance); - partial void DeleteHJGL_BS_SchTab(HJGL_BS_SchTab instance); - partial void InsertHJGL_BS_Service(HJGL_BS_Service instance); - partial void UpdateHJGL_BS_Service(HJGL_BS_Service instance); - partial void DeleteHJGL_BS_Service(HJGL_BS_Service instance); - partial void InsertHJGL_BS_SlopeType(HJGL_BS_SlopeType instance); - partial void UpdateHJGL_BS_SlopeType(HJGL_BS_SlopeType instance); - partial void DeleteHJGL_BS_SlopeType(HJGL_BS_SlopeType instance); - partial void InsertHJGL_BS_Standard(HJGL_BS_Standard instance); - partial void UpdateHJGL_BS_Standard(HJGL_BS_Standard instance); - partial void DeleteHJGL_BS_Standard(HJGL_BS_Standard instance); - partial void InsertHJGL_BS_Steel(HJGL_BS_Steel instance); - partial void UpdateHJGL_BS_Steel(HJGL_BS_Steel instance); - partial void DeleteHJGL_BS_Steel(HJGL_BS_Steel instance); - partial void InsertHJGL_BS_TestStandard(HJGL_BS_TestStandard instance); - partial void UpdateHJGL_BS_TestStandard(HJGL_BS_TestStandard instance); - partial void DeleteHJGL_BS_TestStandard(HJGL_BS_TestStandard instance); - partial void InsertHJGL_BS_WeldControl(HJGL_BS_WeldControl instance); - partial void UpdateHJGL_BS_WeldControl(HJGL_BS_WeldControl instance); - partial void DeleteHJGL_BS_WeldControl(HJGL_BS_WeldControl instance); - partial void InsertHJGL_BS_Welder(HJGL_BS_Welder instance); - partial void UpdateHJGL_BS_Welder(HJGL_BS_Welder instance); - partial void DeleteHJGL_BS_Welder(HJGL_BS_Welder instance); - partial void InsertHJGL_BS_WelderItem(HJGL_BS_WelderItem instance); - partial void UpdateHJGL_BS_WelderItem(HJGL_BS_WelderItem instance); - partial void DeleteHJGL_BS_WelderItem(HJGL_BS_WelderItem instance); - partial void InsertHJGL_BS_WelderQualifiedProject(HJGL_BS_WelderQualifiedProject instance); - partial void UpdateHJGL_BS_WelderQualifiedProject(HJGL_BS_WelderQualifiedProject instance); - partial void DeleteHJGL_BS_WelderQualifiedProject(HJGL_BS_WelderQualifiedProject instance); - partial void InsertHJGL_BS_WelderScore(HJGL_BS_WelderScore instance); - partial void UpdateHJGL_BS_WelderScore(HJGL_BS_WelderScore instance); - partial void DeleteHJGL_BS_WelderScore(HJGL_BS_WelderScore instance); - partial void InsertHJGL_BS_WeldMaterial(HJGL_BS_WeldMaterial instance); - partial void UpdateHJGL_BS_WeldMaterial(HJGL_BS_WeldMaterial instance); - partial void DeleteHJGL_BS_WeldMaterial(HJGL_BS_WeldMaterial instance); - partial void InsertHJGL_BS_WeldMethod(HJGL_BS_WeldMethod instance); - partial void UpdateHJGL_BS_WeldMethod(HJGL_BS_WeldMethod instance); - partial void DeleteHJGL_BS_WeldMethod(HJGL_BS_WeldMethod instance); - partial void InsertHJGL_BS_WeldMethodItem(HJGL_BS_WeldMethodItem instance); - partial void UpdateHJGL_BS_WeldMethodItem(HJGL_BS_WeldMethodItem instance); - partial void DeleteHJGL_BS_WeldMethodItem(HJGL_BS_WeldMethodItem instance); - partial void InsertHJGL_CH_HardTestReport(HJGL_CH_HardTestReport instance); - partial void UpdateHJGL_CH_HardTestReport(HJGL_CH_HardTestReport instance); - partial void DeleteHJGL_CH_HardTestReport(HJGL_CH_HardTestReport instance); - partial void InsertHJGL_CH_HardTestReportItem(HJGL_CH_HardTestReportItem instance); - partial void UpdateHJGL_CH_HardTestReportItem(HJGL_CH_HardTestReportItem instance); - partial void DeleteHJGL_CH_HardTestReportItem(HJGL_CH_HardTestReportItem instance); - partial void InsertHJGL_CH_HardTestResult(HJGL_CH_HardTestResult instance); - partial void UpdateHJGL_CH_HardTestResult(HJGL_CH_HardTestResult instance); - partial void DeleteHJGL_CH_HardTestResult(HJGL_CH_HardTestResult instance); - partial void InsertHJGL_CH_HotProessResult(HJGL_CH_HotProessResult instance); - partial void UpdateHJGL_CH_HotProessResult(HJGL_CH_HotProessResult instance); - partial void DeleteHJGL_CH_HotProessResult(HJGL_CH_HotProessResult instance); - partial void InsertHJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust instance); - partial void UpdateHJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust instance); - partial void DeleteHJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust instance); - partial void InsertHJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem instance); - partial void UpdateHJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem instance); - partial void DeleteHJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem instance); - partial void InsertHJGL_CH_Repair(HJGL_CH_Repair instance); - partial void UpdateHJGL_CH_Repair(HJGL_CH_Repair instance); - partial void DeleteHJGL_CH_Repair(HJGL_CH_Repair instance); - partial void InsertHJGL_CH_RepairItem(HJGL_CH_RepairItem instance); - partial void UpdateHJGL_CH_RepairItem(HJGL_CH_RepairItem instance); - partial void DeleteHJGL_CH_RepairItem(HJGL_CH_RepairItem instance); - partial void InsertHJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord instance); - partial void UpdateHJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord instance); - partial void DeleteHJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord instance); - partial void InsertHJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint instance); - partial void UpdateHJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint instance); - partial void DeleteHJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint instance); - partial void InsertHJGL_CH_Trust(HJGL_CH_Trust instance); - partial void UpdateHJGL_CH_Trust(HJGL_CH_Trust instance); - partial void DeleteHJGL_CH_Trust(HJGL_CH_Trust instance); - partial void InsertHJGL_CH_TrustItem(HJGL_CH_TrustItem instance); - partial void UpdateHJGL_CH_TrustItem(HJGL_CH_TrustItem instance); - partial void DeleteHJGL_CH_TrustItem(HJGL_CH_TrustItem instance); - partial void InsertHJGL_ElectrodeBake(HJGL_ElectrodeBake instance); - partial void UpdateHJGL_ElectrodeBake(HJGL_ElectrodeBake instance); - partial void DeleteHJGL_ElectrodeBake(HJGL_ElectrodeBake instance); - partial void InsertHJGL_ElectrodeBakeItem(HJGL_ElectrodeBakeItem instance); - partial void UpdateHJGL_ElectrodeBakeItem(HJGL_ElectrodeBakeItem instance); - partial void DeleteHJGL_ElectrodeBakeItem(HJGL_ElectrodeBakeItem instance); - partial void InsertHJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery instance); - partial void UpdateHJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery instance); - partial void DeleteHJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery instance); - partial void InsertHJGL_ElectrodeRecoveryItem(HJGL_ElectrodeRecoveryItem instance); - partial void UpdateHJGL_ElectrodeRecoveryItem(HJGL_ElectrodeRecoveryItem instance); - partial void DeleteHJGL_ElectrodeRecoveryItem(HJGL_ElectrodeRecoveryItem instance); - partial void InsertHJGL_EMaterialRegist(HJGL_EMaterialRegist instance); - partial void UpdateHJGL_EMaterialRegist(HJGL_EMaterialRegist instance); - partial void DeleteHJGL_EMaterialRegist(HJGL_EMaterialRegist instance); - partial void InsertHJGL_EMaterialRegistItem(HJGL_EMaterialRegistItem instance); - partial void UpdateHJGL_EMaterialRegistItem(HJGL_EMaterialRegistItem instance); - partial void DeleteHJGL_EMaterialRegistItem(HJGL_EMaterialRegistItem instance); - partial void InsertHJGL_EMInventoryRecords(HJGL_EMInventoryRecords instance); - partial void UpdateHJGL_EMInventoryRecords(HJGL_EMInventoryRecords instance); - partial void DeleteHJGL_EMInventoryRecords(HJGL_EMInventoryRecords instance); - partial void InsertHJGL_EWeldRHRecord(HJGL_EWeldRHRecord instance); - partial void UpdateHJGL_EWeldRHRecord(HJGL_EWeldRHRecord instance); - partial void DeleteHJGL_EWeldRHRecord(HJGL_EWeldRHRecord instance); - partial void InsertHJGL_EWeldRHRecordItem(HJGL_EWeldRHRecordItem instance); - partial void UpdateHJGL_EWeldRHRecordItem(HJGL_EWeldRHRecordItem instance); - partial void DeleteHJGL_EWeldRHRecordItem(HJGL_EWeldRHRecordItem instance); - partial void InsertHJGL_FileControl_CompanyStandards(HJGL_FileControl_CompanyStandards instance); - partial void UpdateHJGL_FileControl_CompanyStandards(HJGL_FileControl_CompanyStandards instance); - partial void DeleteHJGL_FileControl_CompanyStandards(HJGL_FileControl_CompanyStandards instance); - partial void InsertHJGL_FileControl_DomesticLawsRegulations(HJGL_FileControl_DomesticLawsRegulations instance); - partial void UpdateHJGL_FileControl_DomesticLawsRegulations(HJGL_FileControl_DomesticLawsRegulations instance); - partial void DeleteHJGL_FileControl_DomesticLawsRegulations(HJGL_FileControl_DomesticLawsRegulations instance); - partial void InsertHJGL_FileControl_DomesticStandards(HJGL_FileControl_DomesticStandards instance); - partial void UpdateHJGL_FileControl_DomesticStandards(HJGL_FileControl_DomesticStandards instance); - partial void DeleteHJGL_FileControl_DomesticStandards(HJGL_FileControl_DomesticStandards instance); - partial void InsertHJGL_FileControl_ForeignStandards(HJGL_FileControl_ForeignStandards instance); - partial void UpdateHJGL_FileControl_ForeignStandards(HJGL_FileControl_ForeignStandards instance); - partial void DeleteHJGL_FileControl_ForeignStandards(HJGL_FileControl_ForeignStandards instance); - partial void InsertHJGL_HotProess(HJGL_HotProess instance); - partial void UpdateHJGL_HotProess(HJGL_HotProess instance); - partial void DeleteHJGL_HotProess(HJGL_HotProess instance); - partial void InsertHJGL_HotProessItem(HJGL_HotProessItem instance); - partial void UpdateHJGL_HotProessItem(HJGL_HotProessItem instance); - partial void DeleteHJGL_HotProessItem(HJGL_HotProessItem instance); - partial void InsertHJGL_Match_InStorage(HJGL_Match_InStorage instance); - partial void UpdateHJGL_Match_InStorage(HJGL_Match_InStorage instance); - partial void DeleteHJGL_Match_InStorage(HJGL_Match_InStorage instance); - partial void InsertHJGL_Match_InStorageItem(HJGL_Match_InStorageItem instance); - partial void UpdateHJGL_Match_InStorageItem(HJGL_Match_InStorageItem instance); - partial void DeleteHJGL_Match_InStorageItem(HJGL_Match_InStorageItem instance); - partial void InsertHJGL_Match_Material(HJGL_Match_Material instance); - partial void UpdateHJGL_Match_Material(HJGL_Match_Material instance); - partial void DeleteHJGL_Match_Material(HJGL_Match_Material instance); - partial void InsertHJGL_Match_OutStorage(HJGL_Match_OutStorage instance); - partial void UpdateHJGL_Match_OutStorage(HJGL_Match_OutStorage instance); - partial void DeleteHJGL_Match_OutStorage(HJGL_Match_OutStorage instance); - partial void InsertHJGL_Match_OutStorageItem(HJGL_Match_OutStorageItem instance); - partial void UpdateHJGL_Match_OutStorageItem(HJGL_Match_OutStorageItem instance); - partial void DeleteHJGL_Match_OutStorageItem(HJGL_Match_OutStorageItem instance); - partial void InsertHJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial instance); - partial void UpdateHJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial instance); - partial void DeleteHJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial instance); - partial void InsertHJGL_Match_Storage(HJGL_Match_Storage instance); - partial void UpdateHJGL_Match_Storage(HJGL_Match_Storage instance); - partial void DeleteHJGL_Match_Storage(HJGL_Match_Storage instance); - partial void InsertHJGL_PW_IsoInfo(HJGL_PW_IsoInfo instance); - partial void UpdateHJGL_PW_IsoInfo(HJGL_PW_IsoInfo instance); - partial void DeleteHJGL_PW_IsoInfo(HJGL_PW_IsoInfo instance); - partial void InsertHJGL_PW_JointChange(HJGL_PW_JointChange instance); - partial void UpdateHJGL_PW_JointChange(HJGL_PW_JointChange instance); - partial void DeleteHJGL_PW_JointChange(HJGL_PW_JointChange instance); - partial void InsertHJGL_PW_JointInfo(HJGL_PW_JointInfo instance); - partial void UpdateHJGL_PW_JointInfo(HJGL_PW_JointInfo instance); - partial void DeleteHJGL_PW_JointInfo(HJGL_PW_JointInfo instance); - partial void InsertHJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage instance); - partial void UpdateHJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage instance); - partial void DeleteHJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage instance); - partial void InsertHJGL_PW_WeldingProcedure(HJGL_PW_WeldingProcedure instance); - partial void UpdateHJGL_PW_WeldingProcedure(HJGL_PW_WeldingProcedure instance); - partial void DeleteHJGL_PW_WeldingProcedure(HJGL_PW_WeldingProcedure instance); - partial void InsertHJGL_PW_WeldingProcedureJOT(HJGL_PW_WeldingProcedureJOT instance); - partial void UpdateHJGL_PW_WeldingProcedureJOT(HJGL_PW_WeldingProcedureJOT instance); - partial void DeleteHJGL_PW_WeldingProcedureJOT(HJGL_PW_WeldingProcedureJOT instance); - partial void InsertHJGL_Sys_DataInTemp(HJGL_Sys_DataInTemp instance); - partial void UpdateHJGL_Sys_DataInTemp(HJGL_Sys_DataInTemp instance); - partial void DeleteHJGL_Sys_DataInTemp(HJGL_Sys_DataInTemp instance); - partial void InsertHJGL_Sys_UserShowColumns(HJGL_Sys_UserShowColumns instance); - partial void UpdateHJGL_Sys_UserShowColumns(HJGL_Sys_UserShowColumns instance); - partial void DeleteHJGL_Sys_UserShowColumns(HJGL_Sys_UserShowColumns instance); - partial void InsertHJGL_TP_TestPackage(HJGL_TP_TestPackage instance); - partial void UpdateHJGL_TP_TestPackage(HJGL_TP_TestPackage instance); - partial void DeleteHJGL_TP_TestPackage(HJGL_TP_TestPackage instance); - partial void InsertHJGL_UserDevice(HJGL_UserDevice instance); - partial void UpdateHJGL_UserDevice(HJGL_UserDevice instance); - partial void DeleteHJGL_UserDevice(HJGL_UserDevice instance); - partial void InsertHJGL_WeldingManage_TestingParameters(HJGL_WeldingManage_TestingParameters instance); - partial void UpdateHJGL_WeldingManage_TestingParameters(HJGL_WeldingManage_TestingParameters instance); - partial void DeleteHJGL_WeldingManage_TestingParameters(HJGL_WeldingManage_TestingParameters instance); - partial void InsertHJGL_WeldingProcedure_JointImage(HJGL_WeldingProcedure_JointImage instance); - partial void UpdateHJGL_WeldingProcedure_JointImage(HJGL_WeldingProcedure_JointImage instance); - partial void DeleteHJGL_WeldingProcedure_JointImage(HJGL_WeldingProcedure_JointImage instance); - partial void InsertHJGL_WeldingProcedure_JointImageItem(HJGL_WeldingProcedure_JointImageItem instance); - partial void UpdateHJGL_WeldingProcedure_JointImageItem(HJGL_WeldingProcedure_JointImageItem instance); - partial void DeleteHJGL_WeldingProcedure_JointImageItem(HJGL_WeldingProcedure_JointImageItem instance); - partial void InsertHJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial instance); - partial void UpdateHJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial instance); - partial void DeleteHJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial instance); - partial void InsertHJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard instance); - partial void UpdateHJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard instance); - partial void DeleteHJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard instance); - partial void InsertHJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure instance); - partial void UpdateHJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure instance); - partial void DeleteHJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure instance); - partial void InsertHJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard instance); - partial void UpdateHJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard instance); - partial void DeleteHJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard instance); - partial void InsertHJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard instance); - partial void UpdateHJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard instance); - partial void DeleteHJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard instance); - partial void InsertOAM_UesrQualified(OAM_UesrQualified instance); - partial void UpdateOAM_UesrQualified(OAM_UesrQualified instance); - partial void DeleteOAM_UesrQualified(OAM_UesrQualified instance); - partial void InsertOAM_Unit(OAM_Unit instance); - partial void UpdateOAM_Unit(OAM_Unit instance); - partial void DeleteOAM_Unit(OAM_Unit instance); - partial void InsertOAM_User(OAM_User instance); - partial void UpdateOAM_User(OAM_User instance); - partial void DeleteOAM_User(OAM_User instance); - partial void InsertProject_Installation(Project_Installation instance); - partial void UpdateProject_Installation(Project_Installation instance); - partial void DeleteProject_Installation(Project_Installation instance); - partial void InsertProject_RoleButtonPower(Project_RoleButtonPower instance); - partial void UpdateProject_RoleButtonPower(Project_RoleButtonPower instance); - partial void DeleteProject_RoleButtonPower(Project_RoleButtonPower instance); - partial void InsertProject_RolePower(Project_RolePower instance); - partial void UpdateProject_RolePower(Project_RolePower instance); - partial void DeleteProject_RolePower(Project_RolePower instance); - partial void InsertProject_Sys_Set(Project_Sys_Set instance); - partial void UpdateProject_Sys_Set(Project_Sys_Set instance); - partial void DeleteProject_Sys_Set(Project_Sys_Set instance); - partial void InsertProject_Unit(Project_Unit instance); - partial void UpdateProject_Unit(Project_Unit instance); - partial void DeleteProject_Unit(Project_Unit instance); - partial void InsertProject_User(Project_User instance); - partial void UpdateProject_User(Project_User instance); - partial void DeleteProject_User(Project_User instance); - partial void InsertProject_UserButtonPower(Project_UserButtonPower instance); - partial void UpdateProject_UserButtonPower(Project_UserButtonPower instance); - partial void DeleteProject_UserButtonPower(Project_UserButtonPower instance); - partial void InsertProject_UserPower(Project_UserPower instance); - partial void UpdateProject_UserPower(Project_UserPower instance); - partial void DeleteProject_UserPower(Project_UserPower instance); - partial void InsertProject_Welder(Project_Welder instance); - partial void UpdateProject_Welder(Project_Welder instance); - partial void DeleteProject_Welder(Project_Welder instance); - partial void InsertProject_WorkArea(Project_WorkArea instance); - partial void UpdateProject_WorkArea(Project_WorkArea instance); - partial void DeleteProject_WorkArea(Project_WorkArea instance); - partial void InsertPV_BO_QualityRating(PV_BO_QualityRating instance); - partial void UpdatePV_BO_QualityRating(PV_BO_QualityRating instance); - partial void DeletePV_BO_QualityRating(PV_BO_QualityRating instance); - partial void InsertPV_BO_RemakeReason(PV_BO_RemakeReason instance); - partial void UpdatePV_BO_RemakeReason(PV_BO_RemakeReason instance); - partial void DeletePV_BO_RemakeReason(PV_BO_RemakeReason instance); - partial void InsertPV_BO_WeldReportMain(PV_BO_WeldReportMain instance); - partial void UpdatePV_BO_WeldReportMain(PV_BO_WeldReportMain instance); - partial void DeletePV_BO_WeldReportMain(PV_BO_WeldReportMain instance); - partial void InsertPV_CH_AgainHotInfo(PV_CH_AgainHotInfo instance); - partial void UpdatePV_CH_AgainHotInfo(PV_CH_AgainHotInfo instance); - partial void DeletePV_CH_AgainHotInfo(PV_CH_AgainHotInfo instance); - partial void InsertPV_CH_HardProessResult(PV_CH_HardProessResult instance); - partial void UpdatePV_CH_HardProessResult(PV_CH_HardProessResult instance); - partial void DeletePV_CH_HardProessResult(PV_CH_HardProessResult instance); - partial void InsertPV_CH_HardProessTrust(PV_CH_HardProessTrust instance); - partial void UpdatePV_CH_HardProessTrust(PV_CH_HardProessTrust instance); - partial void DeletePV_CH_HardProessTrust(PV_CH_HardProessTrust instance); - partial void InsertPV_CH_HotProessResult(PV_CH_HotProessResult instance); - partial void UpdatePV_CH_HotProessResult(PV_CH_HotProessResult instance); - partial void DeletePV_CH_HotProessResult(PV_CH_HotProessResult instance); - partial void InsertPV_CH_HotProessTrust(PV_CH_HotProessTrust instance); - partial void UpdatePV_CH_HotProessTrust(PV_CH_HotProessTrust instance); - partial void DeletePV_CH_HotProessTrust(PV_CH_HotProessTrust instance); - partial void InsertPV_CH_HotProessTrustItem(PV_CH_HotProessTrustItem instance); - partial void UpdatePV_CH_HotProessTrustItem(PV_CH_HotProessTrustItem instance); - partial void DeletePV_CH_HotProessTrustItem(PV_CH_HotProessTrustItem instance); - partial void InsertPV_CH_RepairItemRecord(PV_CH_RepairItemRecord instance); - partial void UpdatePV_CH_RepairItemRecord(PV_CH_RepairItemRecord instance); - partial void DeletePV_CH_RepairItemRecord(PV_CH_RepairItemRecord instance); - partial void InsertPV_CH_TestingReportPrint(PV_CH_TestingReportPrint instance); - partial void UpdatePV_CH_TestingReportPrint(PV_CH_TestingReportPrint instance); - partial void DeletePV_CH_TestingReportPrint(PV_CH_TestingReportPrint instance); - partial void InsertPV_DetectionTime(PV_DetectionTime instance); - partial void UpdatePV_DetectionTime(PV_DetectionTime instance); - partial void DeletePV_DetectionTime(PV_DetectionTime instance); - partial void InsertPV_EntrustRecord(PV_EntrustRecord instance); - partial void UpdatePV_EntrustRecord(PV_EntrustRecord instance); - partial void DeletePV_EntrustRecord(PV_EntrustRecord instance); - partial void InsertPV_HardProessItem(PV_HardProessItem instance); - partial void UpdatePV_HardProessItem(PV_HardProessItem instance); - partial void DeletePV_HardProessItem(PV_HardProessItem instance); - partial void InsertPV_ManagementMethod(PV_ManagementMethod instance); - partial void UpdatePV_ManagementMethod(PV_ManagementMethod instance); - partial void DeletePV_ManagementMethod(PV_ManagementMethod instance); - partial void InsertPV_ReworkManagementMethod(PV_ReworkManagementMethod instance); - partial void UpdatePV_ReworkManagementMethod(PV_ReworkManagementMethod instance); - partial void DeletePV_ReworkManagementMethod(PV_ReworkManagementMethod instance); - partial void InsertPV_TestMethod(PV_TestMethod instance); - partial void UpdatePV_TestMethod(PV_TestMethod instance); - partial void DeletePV_TestMethod(PV_TestMethod instance); - partial void InsertPV_WeldAppearanceRecord(PV_WeldAppearanceRecord instance); - partial void UpdatePV_WeldAppearanceRecord(PV_WeldAppearanceRecord instance); - partial void DeletePV_WeldAppearanceRecord(PV_WeldAppearanceRecord instance); - partial void InsertPV_WeldInformation(PV_WeldInformation instance); - partial void UpdatePV_WeldInformation(PV_WeldInformation instance); - partial void DeletePV_WeldInformation(PV_WeldInformation instance); - partial void InsertSp_WelderOKRate(Sp_WelderOKRate instance); - partial void UpdateSp_WelderOKRate(Sp_WelderOKRate instance); - partial void DeleteSp_WelderOKRate(Sp_WelderOKRate instance); - partial void InsertSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance); - partial void UpdateSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance); - partial void DeleteSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance); - partial void InsertSys_ButtonPower(Sys_ButtonPower instance); - partial void UpdateSys_ButtonPower(Sys_ButtonPower instance); - partial void DeleteSys_ButtonPower(Sys_ButtonPower instance); - partial void InsertSys_Const(Sys_Const instance); - partial void UpdateSys_Const(Sys_Const instance); - partial void DeleteSys_Const(Sys_Const instance); - partial void InsertSys_ErrLogInfo(Sys_ErrLogInfo instance); - partial void UpdateSys_ErrLogInfo(Sys_ErrLogInfo instance); - partial void DeleteSys_ErrLogInfo(Sys_ErrLogInfo instance); - partial void InsertSys_Log(Sys_Log instance); - partial void UpdateSys_Log(Sys_Log instance); - partial void DeleteSys_Log(Sys_Log instance); - partial void InsertSys_Menu(Sys_Menu instance); - partial void UpdateSys_Menu(Sys_Menu instance); - partial void DeleteSys_Menu(Sys_Menu instance); - partial void InsertSys_Query(Sys_Query instance); - partial void UpdateSys_Query(Sys_Query instance); - partial void DeleteSys_Query(Sys_Query instance); - partial void InsertSys_Role(Sys_Role instance); - partial void UpdateSys_Role(Sys_Role instance); - partial void DeleteSys_Role(Sys_Role instance); - partial void InsertSys_RolePower(Sys_RolePower instance); - partial void UpdateSys_RolePower(Sys_RolePower instance); - partial void DeleteSys_RolePower(Sys_RolePower instance); - partial void InsertSys_System(Sys_System instance); - partial void UpdateSys_System(Sys_System instance); - partial void DeleteSys_System(Sys_System instance); - partial void InsertSys_User(Sys_User instance); - partial void UpdateSys_User(Sys_User instance); - partial void DeleteSys_User(Sys_User instance); - partial void InsertSys_UserShowColumns(Sys_UserShowColumns instance); - partial void UpdateSys_UserShowColumns(Sys_UserShowColumns instance); - partial void DeleteSys_UserShowColumns(Sys_UserShowColumns instance); - partial void InsertWeld_ProjectPlan(Weld_ProjectPlan instance); - partial void UpdateWeld_ProjectPlan(Weld_ProjectPlan instance); - partial void DeleteWeld_ProjectPlan(Weld_ProjectPlan instance); - partial void InsertWeld_RecycleMat(Weld_RecycleMat instance); - partial void UpdateWeld_RecycleMat(Weld_RecycleMat instance); - partial void DeleteWeld_RecycleMat(Weld_RecycleMat instance); - partial void InsertWeld_RecycleMatTop(Weld_RecycleMatTop instance); - partial void UpdateWeld_RecycleMatTop(Weld_RecycleMatTop instance); - partial void DeleteWeld_RecycleMatTop(Weld_RecycleMatTop instance); - partial void InsertWeld_Specifications(Weld_Specifications instance); - partial void UpdateWeld_Specifications(Weld_Specifications instance); - partial void DeleteWeld_Specifications(Weld_Specifications instance); - partial void InsertWeld_StockIn(Weld_StockIn instance); - partial void UpdateWeld_StockIn(Weld_StockIn instance); - partial void DeleteWeld_StockIn(Weld_StockIn instance); - partial void InsertWeld_StockInit(Weld_StockInit instance); - partial void UpdateWeld_StockInit(Weld_StockInit instance); - partial void DeleteWeld_StockInit(Weld_StockInit instance); - partial void InsertWeld_Storeman(Weld_Storeman instance); - partial void UpdateWeld_Storeman(Weld_Storeman instance); - partial void DeleteWeld_Storeman(Weld_Storeman instance); - partial void InsertWeld_Supplier(Weld_Supplier instance); - partial void UpdateWeld_Supplier(Weld_Supplier instance); - partial void DeleteWeld_Supplier(Weld_Supplier instance); - partial void InsertWeld_UnitStore(Weld_UnitStore instance); - partial void UpdateWeld_UnitStore(Weld_UnitStore instance); - partial void DeleteWeld_UnitStore(Weld_UnitStore instance); - partial void InsertWeld_UsingMat(Weld_UsingMat instance); - partial void UpdateWeld_UsingMat(Weld_UsingMat instance); - partial void DeleteWeld_UsingMat(Weld_UsingMat instance); - partial void InsertWeld_UsingPlan(Weld_UsingPlan instance); - partial void UpdateWeld_UsingPlan(Weld_UsingPlan instance); - partial void DeleteWeld_UsingPlan(Weld_UsingPlan instance); - partial void InsertWeld_WeldInfo(Weld_WeldInfo instance); - partial void UpdateWeld_WeldInfo(Weld_WeldInfo instance); - partial void DeleteWeld_WeldInfo(Weld_WeldInfo instance); - partial void InsertWeld_WeldType(Weld_WeldType instance); - partial void UpdateWeld_WeldType(Weld_WeldType instance); - partial void DeleteWeld_WeldType(Weld_WeldType instance); - partial void InsertWeldRecordIn(WeldRecordIn instance); - partial void UpdateWeldRecordIn(WeldRecordIn instance); - partial void DeleteWeldRecordIn(WeldRecordIn instance); - #endregion - - public SGGLDB(string connection) : - base(connection, mappingSource) - { - OnCreated(); - } - - public SGGLDB(System.Data.IDbConnection connection) : - base(connection, mappingSource) - { - OnCreated(); - } - - public SGGLDB(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : - base(connection, mappingSource) - { - OnCreated(); - } - - public SGGLDB(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : - base(connection, mappingSource) - { - OnCreated(); - } - - public System.Data.Linq.Table Attach_Image - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table AttachFile - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table AudiFlow - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table AuditFlowApprove - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_Depart - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_Module - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_Organization - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_PrintFileCode - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_Project - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_TeamGroup - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Base_Unit - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table ButtonToMenu - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_ConstructionStandardIdentify - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_ConstructionStandardList - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_ConstructionStandardSelectedItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_FileManage - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_FileManageType - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_LawRegulation - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_LawRegulationIdentify - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_LawRegulationSelectedItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_Notice - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_NoticeSign - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Common_ReportServer - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Base_HotProcessCard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_Batch - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_BatchDetail - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_Device - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_PreWeldReportMain - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_QualityRating - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_QualityRatingRepair - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_RemakeReason - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_RepairNotice - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BO_WeldReportMain - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_Component - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_Equipment - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_ExecStandard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_IsoClass - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_JointType - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_MaterialClass - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_MaterialCompare - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_MaterialGroup - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_MaterialStandard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_NDTRate - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_NDTType - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_SchTab - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_Service - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_SlopeType - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_Standard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_Steel - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_TestStandard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_WeldControl - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_Welder - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_WelderItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_WelderQualifiedProject - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_WelderScore - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_WeldMaterial - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_WeldMethod - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_BS_WeldMethodItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_HardTestReport - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_HardTestReportItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_HardTestReportPrintItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_HardTestResult - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_HotProessResult - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_HotProessTrust - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_HotProessTrustItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_Repair - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_RepairItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_RepairItemRecord - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_TestingReportPrint - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_Trust - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_CH_TrustItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_ElectrodeBake - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_ElectrodeBakeItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_ElectrodeRecovery - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_ElectrodeRecoveryItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_EMaterialRegist - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_EMaterialRegistItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_EMInventoryRecords - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_EWeldRHRecord - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_EWeldRHRecordItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_FileControl_CompanyStandards - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_FileControl_DomesticLawsRegulations - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_FileControl_DomesticStandards - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_FileControl_ForeignStandards - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_HotProess - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_HotProessItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Match_InStorage - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Match_InStorageItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Match_Material - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Match_OutStorage - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Match_OutStorageItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Match_PipeMaterial - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Match_Storage - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_PW_IsoInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_PW_JointChange - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_PW_JointInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_PW_ProcedureImageManage - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_PW_WeldingProcedure - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_PW_WeldingProcedureJOT - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Sys_DataInTemp - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_Sys_UserShowColumns - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_TP_TestPackage - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_UserDevice - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_V_JOINTVIEW - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_BatchDetail - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_BatchTree - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CH_HardTestReport - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CH_HardTestReportItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CH_HardTestReportItemSet - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CH_HardTestResult - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CH_HotProessResult - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CH_HotProessTrustItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CH_RepairItemRecord - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CH_TrustItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CheckResult - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CheckResultSummary - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_CheckResultSummary1 - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_InspectionBatch - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_IsoInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_IsoinfoView - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_JointInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_JointInfoAndIsoInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_MatchedProcedureMaterial - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_MatchPipeMaterial - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_NoRTQualityRating - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_RayCheckConfirm - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_ReCheckRecordPrint - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_RTQualityRating - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_TrustNumSummary - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_WeldingProcedure - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_View_WeldRepairCard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_WeldingManage_TestingParameters - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_WeldingProcedure_JointImage - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_WeldingProcedure_JointImageItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_WeldingProcedure_MatchedProcedureMaterial - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_WeldingProcedure_WeldHotProcessCard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_WeldingProcedure_WeldingProcedure - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_WeldingProcedure_WeldingProcessCard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table HJGL_WeldingProcedure_WeldRepairCard - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table OAM_UesrQualified - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table OAM_Unit - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table OAM_User - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_Installation - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_RoleButtonPower - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_RolePower - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_Sys_Set - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_Unit - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_User - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_UserButtonPower - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_UserPower - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_Welder - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Project_WorkArea - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_BO_QualityRating - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_BO_RemakeReason - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_BO_WeldReportMain - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_CH_AgainHotInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_CH_HardProessResult - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_CH_HardProessTrust - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_CH_HotProessResult - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_CH_HotProessTrust - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_CH_HotProessTrustItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_CH_RepairItemRecord - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_CH_TestingReportPrint - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_DetectionTime - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_EntrustRecord - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_HardProessItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_ManagementMethod - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_ReworkManagementMethod - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_TestMethod - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_View_CH_HardProessTrustItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_View_CH_HardResultItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_View_CH_HotProessTrustItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_View_CH_HotResultItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_View_HotWeldInformation - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_View_PV_WeldWelder - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_WeldAppearanceRecord - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table PV_WeldInformation - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sp_WelderOKRate - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sp_WelderOKRateStatistics - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_ButtonPower - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Const - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_ErrLogInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Log - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Menu - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Query - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_Role - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_RolePower - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_System - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_User - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Sys_UserShowColumns - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_CheckResultsSummaryTree - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_AuditFlowApprove - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_ConstructionStandardIdentify - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_ConstructionStandardSelectedItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_LawRegulationIdentify - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_LawRegulationSelectedItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_Notice - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_NoticeSign - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_Project_UnitList - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_Project_UserList - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Common_UserList - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_Ext_WeldingSyn - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_HotProessItem - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_JointWelder - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_MaterialCompare - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_TestingReportPrint - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table View_UsePosition - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_ProjectPlan - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_RecycleMat - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_RecycleMatTop - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_Specifications - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_StockIn - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_StockInit - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_Storeman - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_Supplier - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_UnitStore - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_UsingMat - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_UsingPlan - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_View_ReleaseRecovery - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_WeldInfo - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table Weld_WeldType - { - get - { - return this.GetTable(); - } - } - - public System.Data.Linq.Table WeldRecordIn - { - get - { - return this.GetTable(); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Attach_Image")] - public partial class Attach_Image : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _Attach_image_id; - - private string _Image_series; - - private string _File_name; - - private System.Nullable _File_size; - - private string _File_type; - - private System.Nullable _Created_date; - - private string _Created_by; - - private string _Series_desc; - - private string _File_path; - - private string _Series_timestamp; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAttach_image_idChanging(string value); - partial void OnAttach_image_idChanged(); - partial void OnImage_seriesChanging(string value); - partial void OnImage_seriesChanged(); - partial void OnFile_nameChanging(string value); - partial void OnFile_nameChanged(); - partial void OnFile_sizeChanging(System.Nullable value); - partial void OnFile_sizeChanged(); - partial void OnFile_typeChanging(string value); - partial void OnFile_typeChanged(); - partial void OnCreated_dateChanging(System.Nullable value); - partial void OnCreated_dateChanged(); - partial void OnCreated_byChanging(string value); - partial void OnCreated_byChanged(); - partial void OnSeries_descChanging(string value); - partial void OnSeries_descChanged(); - partial void OnFile_pathChanging(string value); - partial void OnFile_pathChanged(); - partial void OnSeries_timestampChanging(string value); - partial void OnSeries_timestampChanged(); - #endregion - - public Attach_Image() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="attach_image_id", Storage="_Attach_image_id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string Attach_image_id - { - get - { - return this._Attach_image_id; - } - set - { - if ((this._Attach_image_id != value)) - { - this.OnAttach_image_idChanging(value); - this.SendPropertyChanging(); - this._Attach_image_id = value; - this.SendPropertyChanged("Attach_image_id"); - this.OnAttach_image_idChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="image_series", Storage="_Image_series", DbType="NVarChar(20)")] - public string Image_series - { - get - { - return this._Image_series; - } - set - { - if ((this._Image_series != value)) - { - this.OnImage_seriesChanging(value); - this.SendPropertyChanging(); - this._Image_series = value; - this.SendPropertyChanged("Image_series"); - this.OnImage_seriesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="file_name", Storage="_File_name", DbType="NVarChar(50)")] - public string File_name - { - get - { - return this._File_name; - } - set - { - if ((this._File_name != value)) - { - this.OnFile_nameChanging(value); - this.SendPropertyChanging(); - this._File_name = value; - this.SendPropertyChanged("File_name"); - this.OnFile_nameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="file_size", Storage="_File_size", DbType="Float")] - public System.Nullable File_size - { - get - { - return this._File_size; - } - set - { - if ((this._File_size != value)) - { - this.OnFile_sizeChanging(value); - this.SendPropertyChanging(); - this._File_size = value; - this.SendPropertyChanged("File_size"); - this.OnFile_sizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="file_type", Storage="_File_type", DbType="NVarChar(10)")] - public string File_type - { - get - { - return this._File_type; - } - set - { - if ((this._File_type != value)) - { - this.OnFile_typeChanging(value); - this.SendPropertyChanging(); - this._File_type = value; - this.SendPropertyChanged("File_type"); - this.OnFile_typeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="created_date", Storage="_Created_date", DbType="DateTime")] - public System.Nullable Created_date - { - get - { - return this._Created_date; - } - set - { - if ((this._Created_date != value)) - { - this.OnCreated_dateChanging(value); - this.SendPropertyChanging(); - this._Created_date = value; - this.SendPropertyChanged("Created_date"); - this.OnCreated_dateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="created_by", Storage="_Created_by", DbType="NVarChar(50)")] - public string Created_by - { - get - { - return this._Created_by; - } - set - { - if ((this._Created_by != value)) - { - this.OnCreated_byChanging(value); - this.SendPropertyChanging(); - this._Created_by = value; - this.SendPropertyChanged("Created_by"); - this.OnCreated_byChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="series_desc", Storage="_Series_desc", DbType="NVarChar(500)")] - public string Series_desc - { - get - { - return this._Series_desc; - } - set - { - if ((this._Series_desc != value)) - { - this.OnSeries_descChanging(value); - this.SendPropertyChanging(); - this._Series_desc = value; - this.SendPropertyChanged("Series_desc"); - this.OnSeries_descChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="file_path", Storage="_File_path", DbType="NVarChar(500)")] - public string File_path - { - get - { - return this._File_path; - } - set - { - if ((this._File_path != value)) - { - this.OnFile_pathChanging(value); - this.SendPropertyChanging(); - this._File_path = value; - this.SendPropertyChanged("File_path"); - this.OnFile_pathChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="series_timestamp", Storage="_Series_timestamp", DbType="NVarChar(20)")] - public string Series_timestamp - { - get - { - return this._Series_timestamp; - } - set - { - if ((this._Series_timestamp != value)) - { - this.OnSeries_timestampChanging(value); - this.SendPropertyChanging(); - this._Series_timestamp = value; - this.SendPropertyChanged("Series_timestamp"); - this.OnSeries_timestampChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AttachFile")] - public partial class AttachFile : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _AttachFileId; - - private string _ToKeyId; - - private string _AttachSource; - - private string _AttachUrl; - - private string _MenuId; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAttachFileIdChanging(string value); - partial void OnAttachFileIdChanged(); - partial void OnToKeyIdChanging(string value); - partial void OnToKeyIdChanged(); - partial void OnAttachSourceChanging(string value); - partial void OnAttachSourceChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - #endregion - - public AttachFile() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachFileId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string AttachFileId - { - get - { - return this._AttachFileId; - } - set - { - if ((this._AttachFileId != value)) - { - this.OnAttachFileIdChanging(value); - this.SendPropertyChanging(); - this._AttachFileId = value; - this.SendPropertyChanged("AttachFileId"); - this.OnAttachFileIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKeyId", DbType="NVarChar(50)")] - public string ToKeyId - { - get - { - return this._ToKeyId; - } - set - { - if ((this._ToKeyId != value)) - { - this.OnToKeyIdChanging(value); - this.SendPropertyChanging(); - this._ToKeyId = value; - this.SendPropertyChanged("ToKeyId"); - this.OnToKeyIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachSource", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string AttachSource - { - get - { - return this._AttachSource; - } - set - { - if ((this._AttachSource != value)) - { - this.OnAttachSourceChanging(value); - this.SendPropertyChanging(); - this._AttachSource = value; - this.SendPropertyChanged("AttachSource"); - this.OnAttachSourceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(1000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AudiFlow")] - public partial class AudiFlow : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _AudiFlowId; - - private int _AudiFlowStep; - - private string _FlowModule; - - private string _AuditFlowName; - - private string _NextAuditFlow; - - private string _RoleId; - - private System.Nullable _IsFlowEnd; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAudiFlowIdChanging(string value); - partial void OnAudiFlowIdChanged(); - partial void OnAudiFlowStepChanging(int value); - partial void OnAudiFlowStepChanged(); - partial void OnFlowModuleChanging(string value); - partial void OnFlowModuleChanged(); - partial void OnAuditFlowNameChanging(string value); - partial void OnAuditFlowNameChanged(); - partial void OnNextAuditFlowChanging(string value); - partial void OnNextAuditFlowChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnIsFlowEndChanging(System.Nullable value); - partial void OnIsFlowEndChanged(); - #endregion - - public AudiFlow() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AudiFlowId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string AudiFlowId - { - get - { - return this._AudiFlowId; - } - set - { - if ((this._AudiFlowId != value)) - { - this.OnAudiFlowIdChanging(value); - this.SendPropertyChanging(); - this._AudiFlowId = value; - this.SendPropertyChanged("AudiFlowId"); - this.OnAudiFlowIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AudiFlowStep", DbType="Int NOT NULL")] - public int AudiFlowStep - { - get - { - return this._AudiFlowStep; - } - set - { - if ((this._AudiFlowStep != value)) - { - this.OnAudiFlowStepChanging(value); - this.SendPropertyChanging(); - this._AudiFlowStep = value; - this.SendPropertyChanged("AudiFlowStep"); - this.OnAudiFlowStepChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FlowModule", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string FlowModule - { - get - { - return this._FlowModule; - } - set - { - if ((this._FlowModule != value)) - { - this.OnFlowModuleChanging(value); - this.SendPropertyChanging(); - this._FlowModule = value; - this.SendPropertyChanged("FlowModule"); - this.OnFlowModuleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditFlowName", DbType="NVarChar(20)")] - public string AuditFlowName - { - get - { - return this._AuditFlowName; - } - set - { - if ((this._AuditFlowName != value)) - { - this.OnAuditFlowNameChanging(value); - this.SendPropertyChanging(); - this._AuditFlowName = value; - this.SendPropertyChanged("AuditFlowName"); - this.OnAuditFlowNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NextAuditFlow", DbType="NVarChar(30)")] - public string NextAuditFlow - { - get - { - return this._NextAuditFlow; - } - set - { - if ((this._NextAuditFlow != value)) - { - this.OnNextAuditFlowChanging(value); - this.SendPropertyChanging(); - this._NextAuditFlow = value; - this.SendPropertyChanged("NextAuditFlow"); - this.OnNextAuditFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(500)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFlowEnd", DbType="Bit")] - public System.Nullable IsFlowEnd - { - get - { - return this._IsFlowEnd; - } - set - { - if ((this._IsFlowEnd != value)) - { - this.OnIsFlowEndChanging(value); - this.SendPropertyChanging(); - this._IsFlowEnd = value; - this.SendPropertyChanged("IsFlowEnd"); - this.OnIsFlowEndChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AuditFlowApprove")] - public partial class AuditFlowApprove : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _AuditFlowApproveId; - - private string _ToKey; - - private string _MenuId; - - private string _HandleUser; - - private System.Nullable _HandleDate; - - private string _MyOpinions; - - private System.Nullable _IsAgree; - - private System.Nullable _HandleStep; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAuditFlowApproveIdChanging(string value); - partial void OnAuditFlowApproveIdChanged(); - partial void OnToKeyChanging(string value); - partial void OnToKeyChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnHandleUserChanging(string value); - partial void OnHandleUserChanged(); - partial void OnHandleDateChanging(System.Nullable value); - partial void OnHandleDateChanged(); - partial void OnMyOpinionsChanging(string value); - partial void OnMyOpinionsChanged(); - partial void OnIsAgreeChanging(System.Nullable value); - partial void OnIsAgreeChanged(); - partial void OnHandleStepChanging(System.Nullable value); - partial void OnHandleStepChanged(); - #endregion - - public AuditFlowApprove() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditFlowApproveId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string AuditFlowApproveId - { - get - { - return this._AuditFlowApproveId; - } - set - { - if ((this._AuditFlowApproveId != value)) - { - this.OnAuditFlowApproveIdChanging(value); - this.SendPropertyChanging(); - this._AuditFlowApproveId = value; - this.SendPropertyChanged("AuditFlowApproveId"); - this.OnAuditFlowApproveIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKey", DbType="NVarChar(50)")] - public string ToKey - { - get - { - return this._ToKey; - } - set - { - if ((this._ToKey != value)) - { - this.OnToKeyChanging(value); - this.SendPropertyChanging(); - this._ToKey = value; - this.SendPropertyChanged("ToKey"); - this.OnToKeyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="NVarChar(50)")] - public string HandleUser - { - get - { - return this._HandleUser; - } - set - { - if ((this._HandleUser != value)) - { - this.OnHandleUserChanging(value); - this.SendPropertyChanging(); - this._HandleUser = value; - this.SendPropertyChanged("HandleUser"); - this.OnHandleUserChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleDate", DbType="DateTime")] - public System.Nullable HandleDate - { - get - { - return this._HandleDate; - } - set - { - if ((this._HandleDate != value)) - { - this.OnHandleDateChanging(value); - this.SendPropertyChanging(); - this._HandleDate = value; - this.SendPropertyChanged("HandleDate"); - this.OnHandleDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MyOpinions", DbType="NVarChar(500)")] - public string MyOpinions - { - get - { - return this._MyOpinions; - } - set - { - if ((this._MyOpinions != value)) - { - this.OnMyOpinionsChanging(value); - this.SendPropertyChanging(); - this._MyOpinions = value; - this.SendPropertyChanged("MyOpinions"); - this.OnMyOpinionsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgree", DbType="Bit")] - public System.Nullable IsAgree - { - get - { - return this._IsAgree; - } - set - { - if ((this._IsAgree != value)) - { - this.OnIsAgreeChanging(value); - this.SendPropertyChanging(); - this._IsAgree = value; - this.SendPropertyChanged("IsAgree"); - this.OnIsAgreeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleStep", DbType="Int")] - public System.Nullable HandleStep - { - get - { - return this._HandleStep; - } - set - { - if ((this._HandleStep != value)) - { - this.OnHandleStepChanging(value); - this.SendPropertyChanging(); - this._HandleStep = value; - this.SendPropertyChanged("HandleStep"); - this.OnHandleStepChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Depart")] - public partial class Base_Depart : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DepartId; - - private string _DepartCode; - - private string _DepartName; - - private string _DepartHead; - - private string _Remark; - - private EntitySet _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDepartIdChanging(string value); - partial void OnDepartIdChanged(); - partial void OnDepartCodeChanging(string value); - partial void OnDepartCodeChanged(); - partial void OnDepartNameChanging(string value); - partial void OnDepartNameChanged(); - partial void OnDepartHeadChanging(string value); - partial void OnDepartHeadChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Base_Depart() - { - this._Sys_User = new EntitySet(new Action(this.attach_Sys_User), new Action(this.detach_Sys_User)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this.OnDepartIdChanging(value); - this.SendPropertyChanging(); - this._DepartId = value; - this.SendPropertyChanged("DepartId"); - this.OnDepartIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(10)")] - public string DepartCode - { - get - { - return this._DepartCode; - } - set - { - if ((this._DepartCode != value)) - { - this.OnDepartCodeChanging(value); - this.SendPropertyChanging(); - this._DepartCode = value; - this.SendPropertyChanged("DepartCode"); - this.OnDepartCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartName", DbType="NVarChar(20)")] - public string DepartName - { - get - { - return this._DepartName; - } - set - { - if ((this._DepartName != value)) - { - this.OnDepartNameChanging(value); - this.SendPropertyChanging(); - this._DepartName = value; - this.SendPropertyChanged("DepartName"); - this.OnDepartNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartHead", DbType="NVarChar(20)")] - public string DepartHead - { - get - { - return this._DepartHead; - } - set - { - if ((this._DepartHead != value)) - { - this.OnDepartHeadChanging(value); - this.SendPropertyChanging(); - this._DepartHead = value; - this.SendPropertyChanged("DepartHead"); - this.OnDepartHeadChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(150)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Base_Depart", Storage="_Sys_User", ThisKey="DepartId", OtherKey="DepartId", DeleteRule="NO ACTION")] - public EntitySet Sys_User - { - get - { - return this._Sys_User; - } - set - { - this._Sys_User.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Base_Depart = this; - } - - private void detach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Base_Depart = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Module")] - public partial class Base_Module : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _Module_id; - - private byte _Module_type; - - private string _Module_name; - - private bool _Is_show; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnModule_idChanging(string value); - partial void OnModule_idChanged(); - partial void OnModule_typeChanging(byte value); - partial void OnModule_typeChanged(); - partial void OnModule_nameChanging(string value); - partial void OnModule_nameChanged(); - partial void OnIs_showChanging(bool value); - partial void OnIs_showChanged(); - #endregion - - public Base_Module() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="module_id", Storage="_Module_id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string Module_id - { - get - { - return this._Module_id; - } - set - { - if ((this._Module_id != value)) - { - this.OnModule_idChanging(value); - this.SendPropertyChanging(); - this._Module_id = value; - this.SendPropertyChanged("Module_id"); - this.OnModule_idChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="module_type", Storage="_Module_type", DbType="TinyInt NOT NULL")] - public byte Module_type - { - get - { - return this._Module_type; - } - set - { - if ((this._Module_type != value)) - { - this.OnModule_typeChanging(value); - this.SendPropertyChanging(); - this._Module_type = value; - this.SendPropertyChanged("Module_type"); - this.OnModule_typeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="module_name", Storage="_Module_name", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string Module_name - { - get - { - return this._Module_name; - } - set - { - if ((this._Module_name != value)) - { - this.OnModule_nameChanging(value); - this.SendPropertyChanging(); - this._Module_name = value; - this.SendPropertyChanged("Module_name"); - this.OnModule_nameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="is_show", Storage="_Is_show", DbType="Bit NOT NULL")] - public bool Is_show - { - get - { - return this._Is_show; - } - set - { - if ((this._Is_show != value)) - { - this.OnIs_showChanging(value); - this.SendPropertyChanging(); - this._Is_show = value; - this.SendPropertyChanged("Is_show"); - this.OnIs_showChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Organization")] - public partial class Base_Organization : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _OrganizationId; - - private string _ProjectId; - - private string _UnitId; - - private string _Post; - - private string _CardNo; - - private string _PersonName; - - private string _CellPhone; - - private string _Telephone; - - private string _Email; - - private EntityRef _Base_Project; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnOrganizationIdChanging(string value); - partial void OnOrganizationIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnPostChanging(string value); - partial void OnPostChanged(); - partial void OnCardNoChanging(string value); - partial void OnCardNoChanged(); - partial void OnPersonNameChanging(string value); - partial void OnPersonNameChanged(); - partial void OnCellPhoneChanging(string value); - partial void OnCellPhoneChanged(); - partial void OnTelephoneChanging(string value); - partial void OnTelephoneChanged(); - partial void OnEmailChanging(string value); - partial void OnEmailChanged(); - #endregion - - public Base_Organization() - { - this._Base_Project = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrganizationId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string OrganizationId - { - get - { - return this._OrganizationId; - } - set - { - if ((this._OrganizationId != value)) - { - this.OnOrganizationIdChanging(value); - this.SendPropertyChanging(); - this._OrganizationId = value; - this.SendPropertyChanged("OrganizationId"); - this.OnOrganizationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Post", DbType="NVarChar(20)")] - public string Post - { - get - { - return this._Post; - } - set - { - if ((this._Post != value)) - { - this.OnPostChanging(value); - this.SendPropertyChanging(); - this._Post = value; - this.SendPropertyChanged("Post"); - this.OnPostChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CardNo", DbType="NVarChar(20)")] - public string CardNo - { - get - { - return this._CardNo; - } - set - { - if ((this._CardNo != value)) - { - this.OnCardNoChanging(value); - this.SendPropertyChanging(); - this._CardNo = value; - this.SendPropertyChanged("CardNo"); - this.OnCardNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonName", DbType="NVarChar(20)")] - public string PersonName - { - get - { - return this._PersonName; - } - set - { - if ((this._PersonName != value)) - { - this.OnPersonNameChanging(value); - this.SendPropertyChanging(); - this._PersonName = value; - this.SendPropertyChanged("PersonName"); - this.OnPersonNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CellPhone", DbType="NVarChar(15)")] - public string CellPhone - { - get - { - return this._CellPhone; - } - set - { - if ((this._CellPhone != value)) - { - this.OnCellPhoneChanging(value); - this.SendPropertyChanging(); - this._CellPhone = value; - this.SendPropertyChanged("CellPhone"); - this.OnCellPhoneChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Telephone", DbType="NVarChar(50)")] - public string Telephone - { - get - { - return this._Telephone; - } - set - { - if ((this._Telephone != value)) - { - this.OnTelephoneChanging(value); - this.SendPropertyChanging(); - this._Telephone = value; - this.SendPropertyChanged("Telephone"); - this.OnTelephoneChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="NVarChar(50)")] - public string Email - { - get - { - return this._Email; - } - set - { - if ((this._Email != value)) - { - this.OnEmailChanging(value); - this.SendPropertyChanging(); - this._Email = value; - this.SendPropertyChanged("Email"); - this.OnEmailChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_Organization_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Base_Organization.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Base_Organization.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_PrintFileCode")] - public partial class Base_PrintFileCode : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _Id; - - private string _ProjectId; - - private string _FileType; - - private string _FileCode; - - private string _FileId; - - private string _FileCode2; - - private EntityRef _Base_Project; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnIdChanging(string value); - partial void OnIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnFileTypeChanging(string value); - partial void OnFileTypeChanged(); - partial void OnFileCodeChanging(string value); - partial void OnFileCodeChanged(); - partial void OnFileIdChanging(string value); - partial void OnFileIdChanged(); - partial void OnFileCode2Changing(string value); - partial void OnFileCode2Changed(); - #endregion - - public Base_PrintFileCode() - { - this._Base_Project = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string Id - { - get - { - return this._Id; - } - set - { - if ((this._Id != value)) - { - this.OnIdChanging(value); - this.SendPropertyChanging(); - this._Id = value; - this.SendPropertyChanged("Id"); - this.OnIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileType", DbType="NVarChar(50)")] - public string FileType - { - get - { - return this._FileType; - } - set - { - if ((this._FileType != value)) - { - this.OnFileTypeChanging(value); - this.SendPropertyChanging(); - this._FileType = value; - this.SendPropertyChanged("FileType"); - this.OnFileTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode", DbType="NVarChar(100)")] - public string FileCode - { - get - { - return this._FileCode; - } - set - { - if ((this._FileCode != value)) - { - this.OnFileCodeChanging(value); - this.SendPropertyChanging(); - this._FileCode = value; - this.SendPropertyChanged("FileCode"); - this.OnFileCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileId", DbType="NVarChar(50)")] - public string FileId - { - get - { - return this._FileId; - } - set - { - if ((this._FileId != value)) - { - this.OnFileIdChanging(value); - this.SendPropertyChanging(); - this._FileId = value; - this.SendPropertyChanged("FileId"); - this.OnFileIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode2", DbType="NVarChar(100)")] - public string FileCode2 - { - get - { - return this._FileCode2; - } - set - { - if ((this._FileCode2 != value)) - { - this.OnFileCode2Changing(value); - this.SendPropertyChanging(); - this._FileCode2 = value; - this.SendPropertyChanged("FileCode2"); - this.OnFileCode2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_PrintFileCode_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Base_PrintFileCode.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Base_PrintFileCode.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Project")] - public partial class Base_Project : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ProjectId; - - private string _ProjectCode; - - private string _ProjectName; - - private string _ShortName; - - private System.Nullable _StartDate; - - private System.Nullable _EndDate; - - private string _ProjectPrincipal; - - private string _ProjectManager; - - private string _TechnicalPrincipal; - - private string _SecurePrincipal; - - private string _Remark; - - private string _WatchUnit; - - private string _SubUnit; - - private System.Nullable _IsClosed; - - private System.Nullable _PowerIsExtracted; - - private string _TestEngineeringCode; - - private string _CreateManId; - - private string _ProjectSoft; - - private string _CheckUnitId; - - private string _TestStandardId; - - private string _EquipmentName; - - private string _TagNum; - - private string _ProductNum; - - private string _BodyMaterial; - - private EntitySet _Base_Organization; - - private EntitySet _Base_PrintFileCode; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_User; - - private EntitySet _Base_TeamGroup; - - private EntitySet _Common_ConstructionStandardIdentify; - - private EntitySet _Common_LawRegulationIdentify; - - private EntitySet _Common_Notice; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_BO_Device; - - private EntitySet _HJGL_BO_PreWeldReportMain; - - private EntitySet _HJGL_BO_WeldReportMain; - - private EntitySet _HJGL_CH_HardTestReport; - - private EntitySet _HJGL_CH_HotProessTrust; - - private EntitySet _HJGL_CH_Repair; - - private EntitySet _HJGL_CH_RepairItemRecord; - - private EntitySet _HJGL_CH_TestingReportPrint; - - private EntitySet _HJGL_CH_Trust; - - private EntitySet _HJGL_ElectrodeBake; - - private EntitySet _HJGL_ElectrodeRecovery; - - private EntitySet _HJGL_EMaterialRegist; - - private EntitySet _HJGL_EMInventoryRecords; - - private EntitySet _HJGL_EWeldRHRecord; - - private EntitySet _HJGL_HotProess; - - private EntitySet _HJGL_Match_InStorage; - - private EntitySet _HJGL_Match_Material; - - private EntitySet _HJGL_Match_OutStorage; - - private EntitySet _HJGL_Match_PipeMaterial; - - private EntitySet _HJGL_Match_Storage; - - private EntitySet _HJGL_PW_IsoInfo; - - private EntitySet _HJGL_PW_JointChange; - - private EntitySet _HJGL_PW_JointInfo; - - private EntitySet _HJGL_Sys_DataInTemp; - - private EntitySet _HJGL_TP_TestPackage; - - private EntitySet _HJGL_WeldingProcedure_MatchedProcedureMaterial; - - private EntitySet _HJGL_WeldingProcedure_WeldingProcessCard; - - private EntitySet _HJGL_WeldingProcedure_WeldRepairCard; - - private EntitySet _HJGL_WeldingProcedure_WeldHotProcessCard; - - private EntitySet _Project_Installation; - - private EntitySet _Project_RoleButtonPower; - - private EntitySet _Project_RolePower; - - private EntitySet _Project_Unit; - - private EntitySet _Project_User; - - private EntitySet _Project_UserButtonPower; - - private EntitySet _Project_UserPower; - - private EntitySet _Project_Welder; - - private EntitySet _Project_WorkArea; - - private EntitySet _Sp_WelderOKRate; - - private EntitySet _Weld_ProjectPlan; - - private EntitySet _Weld_RecycleMat; - - private EntitySet _Weld_RecycleMatTop; - - private EntitySet _Weld_UsingMat; - - private EntitySet _Weld_UsingPlan; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnProjectCodeChanging(string value); - partial void OnProjectCodeChanged(); - partial void OnProjectNameChanging(string value); - partial void OnProjectNameChanged(); - partial void OnShortNameChanging(string value); - partial void OnShortNameChanged(); - partial void OnStartDateChanging(System.Nullable value); - partial void OnStartDateChanged(); - partial void OnEndDateChanging(System.Nullable value); - partial void OnEndDateChanged(); - partial void OnProjectPrincipalChanging(string value); - partial void OnProjectPrincipalChanged(); - partial void OnProjectManagerChanging(string value); - partial void OnProjectManagerChanged(); - partial void OnTechnicalPrincipalChanging(string value); - partial void OnTechnicalPrincipalChanged(); - partial void OnSecurePrincipalChanging(string value); - partial void OnSecurePrincipalChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnWatchUnitChanging(string value); - partial void OnWatchUnitChanged(); - partial void OnSubUnitChanging(string value); - partial void OnSubUnitChanged(); - partial void OnIsClosedChanging(System.Nullable value); - partial void OnIsClosedChanged(); - partial void OnPowerIsExtractedChanging(System.Nullable value); - partial void OnPowerIsExtractedChanged(); - partial void OnTestEngineeringCodeChanging(string value); - partial void OnTestEngineeringCodeChanged(); - partial void OnCreateManIdChanging(string value); - partial void OnCreateManIdChanged(); - partial void OnProjectSoftChanging(string value); - partial void OnProjectSoftChanged(); - partial void OnCheckUnitIdChanging(string value); - partial void OnCheckUnitIdChanged(); - partial void OnTestStandardIdChanging(string value); - partial void OnTestStandardIdChanged(); - partial void OnEquipmentNameChanging(string value); - partial void OnEquipmentNameChanged(); - partial void OnTagNumChanging(string value); - partial void OnTagNumChanged(); - partial void OnProductNumChanging(string value); - partial void OnProductNumChanged(); - partial void OnBodyMaterialChanging(string value); - partial void OnBodyMaterialChanged(); - #endregion - - public Base_Project() - { - this._Base_Organization = new EntitySet(new Action(this.attach_Base_Organization), new Action(this.detach_Base_Organization)); - this._Base_PrintFileCode = new EntitySet(new Action(this.attach_Base_PrintFileCode), new Action(this.detach_Base_PrintFileCode)); - this._Base_Unit = default(EntityRef); - this._Sys_User = default(EntityRef); - this._Base_TeamGroup = new EntitySet(new Action(this.attach_Base_TeamGroup), new Action(this.detach_Base_TeamGroup)); - this._Common_ConstructionStandardIdentify = new EntitySet(new Action(this.attach_Common_ConstructionStandardIdentify), new Action(this.detach_Common_ConstructionStandardIdentify)); - this._Common_LawRegulationIdentify = new EntitySet(new Action(this.attach_Common_LawRegulationIdentify), new Action(this.detach_Common_LawRegulationIdentify)); - this._Common_Notice = new EntitySet(new Action(this.attach_Common_Notice), new Action(this.detach_Common_Notice)); - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_BO_Device = new EntitySet(new Action(this.attach_HJGL_BO_Device), new Action(this.detach_HJGL_BO_Device)); - this._HJGL_BO_PreWeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_PreWeldReportMain), new Action(this.detach_HJGL_BO_PreWeldReportMain)); - this._HJGL_BO_WeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_WeldReportMain), new Action(this.detach_HJGL_BO_WeldReportMain)); - this._HJGL_CH_HardTestReport = new EntitySet(new Action(this.attach_HJGL_CH_HardTestReport), new Action(this.detach_HJGL_CH_HardTestReport)); - this._HJGL_CH_HotProessTrust = new EntitySet(new Action(this.attach_HJGL_CH_HotProessTrust), new Action(this.detach_HJGL_CH_HotProessTrust)); - this._HJGL_CH_Repair = new EntitySet(new Action(this.attach_HJGL_CH_Repair), new Action(this.detach_HJGL_CH_Repair)); - this._HJGL_CH_RepairItemRecord = new EntitySet(new Action(this.attach_HJGL_CH_RepairItemRecord), new Action(this.detach_HJGL_CH_RepairItemRecord)); - this._HJGL_CH_TestingReportPrint = new EntitySet(new Action(this.attach_HJGL_CH_TestingReportPrint), new Action(this.detach_HJGL_CH_TestingReportPrint)); - this._HJGL_CH_Trust = new EntitySet(new Action(this.attach_HJGL_CH_Trust), new Action(this.detach_HJGL_CH_Trust)); - this._HJGL_ElectrodeBake = new EntitySet(new Action(this.attach_HJGL_ElectrodeBake), new Action(this.detach_HJGL_ElectrodeBake)); - this._HJGL_ElectrodeRecovery = new EntitySet(new Action(this.attach_HJGL_ElectrodeRecovery), new Action(this.detach_HJGL_ElectrodeRecovery)); - this._HJGL_EMaterialRegist = new EntitySet(new Action(this.attach_HJGL_EMaterialRegist), new Action(this.detach_HJGL_EMaterialRegist)); - this._HJGL_EMInventoryRecords = new EntitySet(new Action(this.attach_HJGL_EMInventoryRecords), new Action(this.detach_HJGL_EMInventoryRecords)); - this._HJGL_EWeldRHRecord = new EntitySet(new Action(this.attach_HJGL_EWeldRHRecord), new Action(this.detach_HJGL_EWeldRHRecord)); - this._HJGL_HotProess = new EntitySet(new Action(this.attach_HJGL_HotProess), new Action(this.detach_HJGL_HotProess)); - this._HJGL_Match_InStorage = new EntitySet(new Action(this.attach_HJGL_Match_InStorage), new Action(this.detach_HJGL_Match_InStorage)); - this._HJGL_Match_Material = new EntitySet(new Action(this.attach_HJGL_Match_Material), new Action(this.detach_HJGL_Match_Material)); - this._HJGL_Match_OutStorage = new EntitySet(new Action(this.attach_HJGL_Match_OutStorage), new Action(this.detach_HJGL_Match_OutStorage)); - this._HJGL_Match_PipeMaterial = new EntitySet(new Action(this.attach_HJGL_Match_PipeMaterial), new Action(this.detach_HJGL_Match_PipeMaterial)); - this._HJGL_Match_Storage = new EntitySet(new Action(this.attach_HJGL_Match_Storage), new Action(this.detach_HJGL_Match_Storage)); - this._HJGL_PW_IsoInfo = new EntitySet(new Action(this.attach_HJGL_PW_IsoInfo), new Action(this.detach_HJGL_PW_IsoInfo)); - this._HJGL_PW_JointChange = new EntitySet(new Action(this.attach_HJGL_PW_JointChange), new Action(this.detach_HJGL_PW_JointChange)); - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - this._HJGL_Sys_DataInTemp = new EntitySet(new Action(this.attach_HJGL_Sys_DataInTemp), new Action(this.detach_HJGL_Sys_DataInTemp)); - this._HJGL_TP_TestPackage = new EntitySet(new Action(this.attach_HJGL_TP_TestPackage), new Action(this.detach_HJGL_TP_TestPackage)); - this._HJGL_WeldingProcedure_MatchedProcedureMaterial = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_MatchedProcedureMaterial), new Action(this.detach_HJGL_WeldingProcedure_MatchedProcedureMaterial)); - this._HJGL_WeldingProcedure_WeldingProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcessCard)); - this._HJGL_WeldingProcedure_WeldRepairCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldRepairCard), new Action(this.detach_HJGL_WeldingProcedure_WeldRepairCard)); - this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard)); - this._Project_Installation = new EntitySet(new Action(this.attach_Project_Installation), new Action(this.detach_Project_Installation)); - this._Project_RoleButtonPower = new EntitySet(new Action(this.attach_Project_RoleButtonPower), new Action(this.detach_Project_RoleButtonPower)); - this._Project_RolePower = new EntitySet(new Action(this.attach_Project_RolePower), new Action(this.detach_Project_RolePower)); - this._Project_Unit = new EntitySet(new Action(this.attach_Project_Unit), new Action(this.detach_Project_Unit)); - this._Project_User = new EntitySet(new Action(this.attach_Project_User), new Action(this.detach_Project_User)); - this._Project_UserButtonPower = new EntitySet(new Action(this.attach_Project_UserButtonPower), new Action(this.detach_Project_UserButtonPower)); - this._Project_UserPower = new EntitySet(new Action(this.attach_Project_UserPower), new Action(this.detach_Project_UserPower)); - this._Project_Welder = new EntitySet(new Action(this.attach_Project_Welder), new Action(this.detach_Project_Welder)); - this._Project_WorkArea = new EntitySet(new Action(this.attach_Project_WorkArea), new Action(this.detach_Project_WorkArea)); - this._Sp_WelderOKRate = new EntitySet(new Action(this.attach_Sp_WelderOKRate), new Action(this.detach_Sp_WelderOKRate)); - this._Weld_ProjectPlan = new EntitySet(new Action(this.attach_Weld_ProjectPlan), new Action(this.detach_Weld_ProjectPlan)); - this._Weld_RecycleMat = new EntitySet(new Action(this.attach_Weld_RecycleMat), new Action(this.detach_Weld_RecycleMat)); - this._Weld_RecycleMatTop = new EntitySet(new Action(this.attach_Weld_RecycleMatTop), new Action(this.detach_Weld_RecycleMatTop)); - this._Weld_UsingMat = new EntitySet(new Action(this.attach_Weld_UsingMat), new Action(this.detach_Weld_UsingMat)); - this._Weld_UsingPlan = new EntitySet(new Action(this.attach_Weld_UsingPlan), new Action(this.detach_Weld_UsingPlan)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this.OnProjectCodeChanging(value); - this.SendPropertyChanging(); - this._ProjectCode = value; - this.SendPropertyChanged("ProjectCode"); - this.OnProjectCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this.OnProjectNameChanging(value); - this.SendPropertyChanging(); - this._ProjectName = value; - this.SendPropertyChanged("ProjectName"); - this.OnProjectNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShortName", DbType="NVarChar(30)")] - public string ShortName - { - get - { - return this._ShortName; - } - set - { - if ((this._ShortName != value)) - { - this.OnShortNameChanging(value); - this.SendPropertyChanging(); - this._ShortName = value; - this.SendPropertyChanged("ShortName"); - this.OnShortNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="DateTime")] - public System.Nullable StartDate - { - get - { - return this._StartDate; - } - set - { - if ((this._StartDate != value)) - { - this.OnStartDateChanging(value); - this.SendPropertyChanging(); - this._StartDate = value; - this.SendPropertyChanged("StartDate"); - this.OnStartDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="DateTime")] - public System.Nullable EndDate - { - get - { - return this._EndDate; - } - set - { - if ((this._EndDate != value)) - { - this.OnEndDateChanging(value); - this.SendPropertyChanging(); - this._EndDate = value; - this.SendPropertyChanged("EndDate"); - this.OnEndDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectPrincipal", DbType="NVarChar(20)")] - public string ProjectPrincipal - { - get - { - return this._ProjectPrincipal; - } - set - { - if ((this._ProjectPrincipal != value)) - { - this.OnProjectPrincipalChanging(value); - this.SendPropertyChanging(); - this._ProjectPrincipal = value; - this.SendPropertyChanged("ProjectPrincipal"); - this.OnProjectPrincipalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectManager", DbType="NVarChar(20)")] - public string ProjectManager - { - get - { - return this._ProjectManager; - } - set - { - if ((this._ProjectManager != value)) - { - this.OnProjectManagerChanging(value); - this.SendPropertyChanging(); - this._ProjectManager = value; - this.SendPropertyChanged("ProjectManager"); - this.OnProjectManagerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TechnicalPrincipal", DbType="NVarChar(20)")] - public string TechnicalPrincipal - { - get - { - return this._TechnicalPrincipal; - } - set - { - if ((this._TechnicalPrincipal != value)) - { - this.OnTechnicalPrincipalChanging(value); - this.SendPropertyChanging(); - this._TechnicalPrincipal = value; - this.SendPropertyChanged("TechnicalPrincipal"); - this.OnTechnicalPrincipalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SecurePrincipal", DbType="NVarChar(20)")] - public string SecurePrincipal - { - get - { - return this._SecurePrincipal; - } - set - { - if ((this._SecurePrincipal != value)) - { - this.OnSecurePrincipalChanging(value); - this.SendPropertyChanging(); - this._SecurePrincipal = value; - this.SendPropertyChanged("SecurePrincipal"); - this.OnSecurePrincipalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(300)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WatchUnit", DbType="NVarChar(50)")] - public string WatchUnit - { - get - { - return this._WatchUnit; - } - set - { - if ((this._WatchUnit != value)) - { - this.OnWatchUnitChanging(value); - this.SendPropertyChanging(); - this._WatchUnit = value; - this.SendPropertyChanged("WatchUnit"); - this.OnWatchUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubUnit", DbType="NVarChar(100)")] - public string SubUnit - { - get - { - return this._SubUnit; - } - set - { - if ((this._SubUnit != value)) - { - this.OnSubUnitChanging(value); - this.SendPropertyChanging(); - this._SubUnit = value; - this.SendPropertyChanged("SubUnit"); - this.OnSubUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsClosed", DbType="Bit")] - public System.Nullable IsClosed - { - get - { - return this._IsClosed; - } - set - { - if ((this._IsClosed != value)) - { - this.OnIsClosedChanging(value); - this.SendPropertyChanging(); - this._IsClosed = value; - this.SendPropertyChanged("IsClosed"); - this.OnIsClosedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerIsExtracted", DbType="Bit")] - public System.Nullable PowerIsExtracted - { - get - { - return this._PowerIsExtracted; - } - set - { - if ((this._PowerIsExtracted != value)) - { - this.OnPowerIsExtractedChanging(value); - this.SendPropertyChanging(); - this._PowerIsExtracted = value; - this.SendPropertyChanged("PowerIsExtracted"); - this.OnPowerIsExtractedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestEngineeringCode", DbType="NVarChar(50)")] - public string TestEngineeringCode - { - get - { - return this._TestEngineeringCode; - } - set - { - if ((this._TestEngineeringCode != value)) - { - this.OnTestEngineeringCodeChanging(value); - this.SendPropertyChanging(); - this._TestEngineeringCode = value; - this.SendPropertyChanged("TestEngineeringCode"); - this.OnTestEngineeringCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateManId", DbType="NVarChar(50)")] - public string CreateManId - { - get - { - return this._CreateManId; - } - set - { - if ((this._CreateManId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCreateManIdChanging(value); - this.SendPropertyChanging(); - this._CreateManId = value; - this.SendPropertyChanged("CreateManId"); - this.OnCreateManIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSoft", DbType="NChar(1)")] - public string ProjectSoft - { - get - { - return this._ProjectSoft; - } - set - { - if ((this._ProjectSoft != value)) - { - this.OnProjectSoftChanging(value); - this.SendPropertyChanging(); - this._ProjectSoft = value; - this.SendPropertyChanged("ProjectSoft"); - this.OnProjectSoftChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckUnitId", DbType="NVarChar(50)")] - public string CheckUnitId - { - get - { - return this._CheckUnitId; - } - set - { - if ((this._CheckUnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCheckUnitIdChanging(value); - this.SendPropertyChanging(); - this._CheckUnitId = value; - this.SendPropertyChanged("CheckUnitId"); - this.OnCheckUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestStandardId", DbType="NVarChar(50)")] - public string TestStandardId - { - get - { - return this._TestStandardId; - } - set - { - if ((this._TestStandardId != value)) - { - this.OnTestStandardIdChanging(value); - this.SendPropertyChanging(); - this._TestStandardId = value; - this.SendPropertyChanged("TestStandardId"); - this.OnTestStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentName", DbType="VarChar(50)")] - public string EquipmentName - { - get - { - return this._EquipmentName; - } - set - { - if ((this._EquipmentName != value)) - { - this.OnEquipmentNameChanging(value); - this.SendPropertyChanging(); - this._EquipmentName = value; - this.SendPropertyChanged("EquipmentName"); - this.OnEquipmentNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TagNum", DbType="VarChar(20)")] - public string TagNum - { - get - { - return this._TagNum; - } - set - { - if ((this._TagNum != value)) - { - this.OnTagNumChanging(value); - this.SendPropertyChanging(); - this._TagNum = value; - this.SendPropertyChanged("TagNum"); - this.OnTagNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProductNum", DbType="VarChar(30)")] - public string ProductNum - { - get - { - return this._ProductNum; - } - set - { - if ((this._ProductNum != value)) - { - this.OnProductNumChanging(value); - this.SendPropertyChanging(); - this._ProductNum = value; - this.SendPropertyChanged("ProductNum"); - this.OnProductNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BodyMaterial", DbType="VarChar(50)")] - public string BodyMaterial - { - get - { - return this._BodyMaterial; - } - set - { - if ((this._BodyMaterial != value)) - { - this.OnBodyMaterialChanging(value); - this.SendPropertyChanging(); - this._BodyMaterial = value; - this.SendPropertyChanged("BodyMaterial"); - this.OnBodyMaterialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_Organization_Base_Project", Storage="_Base_Organization", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Base_Organization - { - get - { - return this._Base_Organization; - } - set - { - this._Base_Organization.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_PrintFileCode_Base_Project", Storage="_Base_PrintFileCode", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Base_PrintFileCode - { - get - { - return this._Base_PrintFileCode; - } - set - { - this._Base_PrintFileCode.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_Project_Base_Unit", Storage="_Base_Unit", ThisKey="CheckUnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.Base_Project.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.Base_Project.Add(this); - this._CheckUnitId = value.UnitId; - } - else - { - this._CheckUnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_Project_Sys_User", Storage="_Sys_User", ThisKey="CreateManId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Base_Project.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Base_Project.Add(this); - this._CreateManId = value.UserId; - } - else - { - this._CreateManId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_TeamGroup_Base_Project", Storage="_Base_TeamGroup", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Base_TeamGroup - { - get - { - return this._Base_TeamGroup; - } - set - { - this._Base_TeamGroup.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_ConstructionStandardIdentify_Base_Project", Storage="_Common_ConstructionStandardIdentify", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Common_ConstructionStandardIdentify - { - get - { - return this._Common_ConstructionStandardIdentify; - } - set - { - this._Common_ConstructionStandardIdentify.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_LawRegulationIdentify_Base_Project", Storage="_Common_LawRegulationIdentify", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Common_LawRegulationIdentify - { - get - { - return this._Common_LawRegulationIdentify; - } - set - { - this._Common_LawRegulationIdentify.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_Notice_Base_Project", Storage="_Common_Notice", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Common_Notice - { - get - { - return this._Common_Notice; - } - set - { - this._Common_Notice.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_Base_Project", Storage="_HJGL_BO_Batch", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Device_Base_Project", Storage="_HJGL_BO_Device", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Device - { - get - { - return this._HJGL_BO_Device; - } - set - { - this._HJGL_BO_Device.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_Base_Project", Storage="_HJGL_BO_PreWeldReportMain", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_PreWeldReportMain - { - get - { - return this._HJGL_BO_PreWeldReportMain; - } - set - { - this._HJGL_BO_PreWeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_WeldReportMain_Base_Project", Storage="_HJGL_BO_WeldReportMain", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_WeldReportMain - { - get - { - return this._HJGL_BO_WeldReportMain; - } - set - { - this._HJGL_BO_WeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReport_Base_Project", Storage="_HJGL_CH_HardTestReport", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HardTestReport - { - get - { - return this._HJGL_CH_HardTestReport; - } - set - { - this._HJGL_CH_HardTestReport.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrust_Base_Project", Storage="_HJGL_CH_HotProessTrust", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HotProessTrust - { - get - { - return this._HJGL_CH_HotProessTrust; - } - set - { - this._HJGL_CH_HotProessTrust.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Repair_Base_Project", Storage="_HJGL_CH_Repair", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_Repair - { - get - { - return this._HJGL_CH_Repair; - } - set - { - this._HJGL_CH_Repair.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_Base_Project", Storage="_HJGL_CH_RepairItemRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItemRecord - { - get - { - return this._HJGL_CH_RepairItemRecord; - } - set - { - this._HJGL_CH_RepairItemRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TestingReportPrint_Base_Project", Storage="_HJGL_CH_TestingReportPrint", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_TestingReportPrint - { - get - { - return this._HJGL_CH_TestingReportPrint; - } - set - { - this._HJGL_CH_TestingReportPrint.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Trust_Base_Project", Storage="_HJGL_CH_Trust", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_Trust - { - get - { - return this._HJGL_CH_Trust; - } - set - { - this._HJGL_CH_Trust.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeBake_Base_Project", Storage="_HJGL_ElectrodeBake", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeBake - { - get - { - return this._HJGL_ElectrodeBake; - } - set - { - this._HJGL_ElectrodeBake.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecovery_Base_Project", Storage="_HJGL_ElectrodeRecovery", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeRecovery - { - get - { - return this._HJGL_ElectrodeRecovery; - } - set - { - this._HJGL_ElectrodeRecovery.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMaterialRegist_Base_Project", Storage="_HJGL_EMaterialRegist", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_EMaterialRegist - { - get - { - return this._HJGL_EMaterialRegist; - } - set - { - this._HJGL_EMaterialRegist.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMInventoryRecords_Base_Project", Storage="_HJGL_EMInventoryRecords", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_EMInventoryRecords - { - get - { - return this._HJGL_EMInventoryRecords; - } - set - { - this._HJGL_EMInventoryRecords.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EWeldRHRecord_Base_Project", Storage="_HJGL_EWeldRHRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_EWeldRHRecord - { - get - { - return this._HJGL_EWeldRHRecord; - } - set - { - this._HJGL_EWeldRHRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_Base_Project", Storage="_HJGL_HotProess", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_HotProess - { - get - { - return this._HJGL_HotProess; - } - set - { - this._HJGL_HotProess.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorage_Base_Project", Storage="_HJGL_Match_InStorage", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_InStorage - { - get - { - return this._HJGL_Match_InStorage; - } - set - { - this._HJGL_Match_InStorage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_Material_Base_Project", Storage="_HJGL_Match_Material", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_Material - { - get - { - return this._HJGL_Match_Material; - } - set - { - this._HJGL_Match_Material.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorage_Base_Project", Storage="_HJGL_Match_OutStorage", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_OutStorage - { - get - { - return this._HJGL_Match_OutStorage; - } - set - { - this._HJGL_Match_OutStorage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_PipeMaterial_Base_Project", Storage="_HJGL_Match_PipeMaterial", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_PipeMaterial - { - get - { - return this._HJGL_Match_PipeMaterial; - } - set - { - this._HJGL_Match_PipeMaterial.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_Storage_Base_Project", Storage="_HJGL_Match_Storage", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_Storage - { - get - { - return this._HJGL_Match_Storage; - } - set - { - this._HJGL_Match_Storage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_Base_Project", Storage="_HJGL_PW_IsoInfo", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo; - } - set - { - this._HJGL_PW_IsoInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointChange_Base_Project", Storage="_HJGL_PW_JointChange", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointChange - { - get - { - return this._HJGL_PW_JointChange; - } - set - { - this._HJGL_PW_JointChange.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_Base_Project", Storage="_HJGL_PW_JointInfo", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Sys_DataInTemp_Base_Project", Storage="_HJGL_Sys_DataInTemp", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Sys_DataInTemp - { - get - { - return this._HJGL_Sys_DataInTemp; - } - set - { - this._HJGL_Sys_DataInTemp.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_TP_TestPackage_Base_Project", Storage="_HJGL_TP_TestPackage", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_TP_TestPackage - { - get - { - return this._HJGL_TP_TestPackage; - } - set - { - this._HJGL_TP_TestPackage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_Base_Project", Storage="_HJGL_WeldingProcedure_MatchedProcedureMaterial", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_MatchedProcedureMaterial - { - get - { - return this._HJGL_WeldingProcedure_MatchedProcedureMaterial; - } - set - { - this._HJGL_WeldingProcedure_MatchedProcedureMaterial.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcessCard_Base_Project", Storage="_HJGL_WeldingProcedure_WeldingProcessCard", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldingProcessCard - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcessCard; - } - set - { - this._HJGL_WeldingProcedure_WeldingProcessCard.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldRepairCard_Base_Project", Storage="_HJGL_WeldingProcedure_WeldRepairCard", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldRepairCard - { - get - { - return this._HJGL_WeldingProcedure_WeldRepairCard; - } - set - { - this._HJGL_WeldingProcedure_WeldRepairCard.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HotProcessCardList_Base_Project", Storage="_HJGL_WeldingProcedure_WeldHotProcessCard", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldHotProcessCard - { - get - { - return this._HJGL_WeldingProcedure_WeldHotProcessCard; - } - set - { - this._HJGL_WeldingProcedure_WeldHotProcessCard.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Installation_Base_Project", Storage="_Project_Installation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_Installation - { - get - { - return this._Project_Installation; - } - set - { - this._Project_Installation.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RoleButtonPower_Base_Project", Storage="_Project_RoleButtonPower", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_RoleButtonPower - { - get - { - return this._Project_RoleButtonPower; - } - set - { - this._Project_RoleButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RolePower_Base_Project", Storage="_Project_RolePower", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_RolePower - { - get - { - return this._Project_RolePower; - } - set - { - this._Project_RolePower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Unit_Base_Project", Storage="_Project_Unit", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_Unit - { - get - { - return this._Project_Unit; - } - set - { - this._Project_Unit.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Base_Project", Storage="_Project_User", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_User - { - get - { - return this._Project_User; - } - set - { - this._Project_User.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserButtonPower_Base_Project", Storage="_Project_UserButtonPower", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_UserButtonPower - { - get - { - return this._Project_UserButtonPower; - } - set - { - this._Project_UserButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserPower_Base_Project", Storage="_Project_UserPower", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_UserPower - { - get - { - return this._Project_UserPower; - } - set - { - this._Project_UserPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Welder_Base_Project", Storage="_Project_Welder", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_Welder - { - get - { - return this._Project_Welder; - } - set - { - this._Project_Welder.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_WorkArea_Base_Project", Storage="_Project_WorkArea", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Project_WorkArea - { - get - { - return this._Project_WorkArea; - } - set - { - this._Project_WorkArea.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRate_Base_Project", Storage="_Sp_WelderOKRate", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Sp_WelderOKRate - { - get - { - return this._Sp_WelderOKRate; - } - set - { - this._Sp_WelderOKRate.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_ProjectPlan_Base_Project", Storage="_Weld_ProjectPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Weld_ProjectPlan - { - get - { - return this._Weld_ProjectPlan; - } - set - { - this._Weld_ProjectPlan.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_RecycleMat", Storage="_Weld_RecycleMat", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMat - { - get - { - return this._Weld_RecycleMat; - } - set - { - this._Weld_RecycleMat.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Base_Project", Storage="_Weld_RecycleMatTop", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMatTop - { - get - { - return this._Weld_RecycleMatTop; - } - set - { - this._Weld_RecycleMatTop.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Base_Project", Storage="_Weld_UsingMat", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Weld_UsingMat - { - get - { - return this._Weld_UsingMat; - } - set - { - this._Weld_UsingMat.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingPlan_Base_Project", Storage="_Weld_UsingPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] - public EntitySet Weld_UsingPlan - { - get - { - return this._Weld_UsingPlan; - } - set - { - this._Weld_UsingPlan.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Base_Organization(Base_Organization entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Base_Organization(Base_Organization entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Base_PrintFileCode(Base_PrintFileCode entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Base_PrintFileCode(Base_PrintFileCode entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Base_TeamGroup(Base_TeamGroup entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Base_TeamGroup(Base_TeamGroup entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Common_ConstructionStandardIdentify(Common_ConstructionStandardIdentify entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Common_ConstructionStandardIdentify(Common_ConstructionStandardIdentify entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Common_LawRegulationIdentify(Common_LawRegulationIdentify entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Common_LawRegulationIdentify(Common_LawRegulationIdentify entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Common_Notice(Common_Notice entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Common_Notice(Common_Notice entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_BO_Device(HJGL_BO_Device entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_BO_Device(HJGL_BO_Device entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_CH_HardTestReport(HJGL_CH_HardTestReport entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_CH_HardTestReport(HJGL_CH_HardTestReport entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_CH_Repair(HJGL_CH_Repair entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_CH_Repair(HJGL_CH_Repair entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_CH_Trust(HJGL_CH_Trust entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_CH_Trust(HJGL_CH_Trust entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_ElectrodeBake(HJGL_ElectrodeBake entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_ElectrodeBake(HJGL_ElectrodeBake entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_EMaterialRegist(HJGL_EMaterialRegist entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_EMaterialRegist(HJGL_EMaterialRegist entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_EMInventoryRecords(HJGL_EMInventoryRecords entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_EMInventoryRecords(HJGL_EMInventoryRecords entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_EWeldRHRecord(HJGL_EWeldRHRecord entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_EWeldRHRecord(HJGL_EWeldRHRecord entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_HotProess(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_HotProess(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_Match_InStorage(HJGL_Match_InStorage entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_Match_InStorage(HJGL_Match_InStorage entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_Match_Material(HJGL_Match_Material entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_Match_Material(HJGL_Match_Material entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_Match_OutStorage(HJGL_Match_OutStorage entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_Match_OutStorage(HJGL_Match_OutStorage entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_Match_Storage(HJGL_Match_Storage entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_Match_Storage(HJGL_Match_Storage entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_PW_JointChange(HJGL_PW_JointChange entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_PW_JointChange(HJGL_PW_JointChange entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_Sys_DataInTemp(HJGL_Sys_DataInTemp entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_Sys_DataInTemp(HJGL_Sys_DataInTemp entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_TP_TestPackage(HJGL_TP_TestPackage entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_TP_TestPackage(HJGL_TP_TestPackage entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_HJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_HJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_Installation(Project_Installation entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_Installation(Project_Installation entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_RoleButtonPower(Project_RoleButtonPower entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_RoleButtonPower(Project_RoleButtonPower entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_RolePower(Project_RolePower entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_RolePower(Project_RolePower entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_Unit(Project_Unit entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_Unit(Project_Unit entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_User(Project_User entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_User(Project_User entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_UserButtonPower(Project_UserButtonPower entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_UserButtonPower(Project_UserButtonPower entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_UserPower(Project_UserPower entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_UserPower(Project_UserPower entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_Welder(Project_Welder entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_Welder(Project_Welder entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Project_WorkArea(Project_WorkArea entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Project_WorkArea(Project_WorkArea entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Sp_WelderOKRate(Sp_WelderOKRate entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Sp_WelderOKRate(Sp_WelderOKRate entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Weld_ProjectPlan(Weld_ProjectPlan entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Weld_ProjectPlan(Weld_ProjectPlan entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Weld_UsingMat(Weld_UsingMat entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Weld_UsingMat(Weld_UsingMat entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - - private void attach_Weld_UsingPlan(Weld_UsingPlan entity) - { - this.SendPropertyChanging(); - entity.Base_Project = this; - } - - private void detach_Weld_UsingPlan(Weld_UsingPlan entity) - { - this.SendPropertyChanging(); - entity.Base_Project = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_TeamGroup")] - public partial class Base_TeamGroup : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _TeamGroupId; - - private string _TeamGroupCode; - - private string _TeamGroupName; - - private string _UnitId; - - private string _ProjectId; - - private string _Remark; - - private string _Area; - - private EntityRef _Base_Project; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnTeamGroupIdChanging(string value); - partial void OnTeamGroupIdChanged(); - partial void OnTeamGroupCodeChanging(string value); - partial void OnTeamGroupCodeChanged(); - partial void OnTeamGroupNameChanging(string value); - partial void OnTeamGroupNameChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnAreaChanging(string value); - partial void OnAreaChanged(); - #endregion - - public Base_TeamGroup() - { - this._Base_Project = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TeamGroupId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string TeamGroupId - { - get - { - return this._TeamGroupId; - } - set - { - if ((this._TeamGroupId != value)) - { - this.OnTeamGroupIdChanging(value); - this.SendPropertyChanging(); - this._TeamGroupId = value; - this.SendPropertyChanged("TeamGroupId"); - this.OnTeamGroupIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TeamGroupCode", DbType="NVarChar(15)")] - public string TeamGroupCode - { - get - { - return this._TeamGroupCode; - } - set - { - if ((this._TeamGroupCode != value)) - { - this.OnTeamGroupCodeChanging(value); - this.SendPropertyChanging(); - this._TeamGroupCode = value; - this.SendPropertyChanged("TeamGroupCode"); - this.OnTeamGroupCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TeamGroupName", DbType="NVarChar(20)")] - public string TeamGroupName - { - get - { - return this._TeamGroupName; - } - set - { - if ((this._TeamGroupName != value)) - { - this.OnTeamGroupNameChanging(value); - this.SendPropertyChanging(); - this._TeamGroupName = value; - this.SendPropertyChanged("TeamGroupName"); - this.OnTeamGroupNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Area", DbType="NVarChar(50)")] - public string Area - { - get - { - return this._Area; - } - set - { - if ((this._Area != value)) - { - this.OnAreaChanging(value); - this.SendPropertyChanging(); - this._Area = value; - this.SendPropertyChanged("Area"); - this.OnAreaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_TeamGroup_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Base_TeamGroup.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Base_TeamGroup.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Unit")] - public partial class Base_Unit : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _UnitId; - - private string _UnitCode; - - private string _UnitName; - - private string _ProjectRange; - - private string _Corporate; - - private string _Address; - - private string _Telephone; - - private string _Fax; - - private System.Nullable _IsMain; - - private System.Nullable _IsSubUnit; - - private EntitySet _Base_Project; - - private EntitySet _HJGL_BO_WeldReportMain; - - private EntitySet _HJGL_BS_Welder; - - private EntitySet _HJGL_CH_HardTestReport; - - private EntitySet _HJGL_CH_HotProessTrust; - - private EntitySet _HJGL_CH_Repair; - - private EntitySet _HJGL_ElectrodeBake; - - private EntitySet _HJGL_ElectrodeRecovery; - - private EntitySet _HJGL_EWeldRHRecord; - - private EntitySet _HJGL_HotProess; - - private EntitySet _Unit; - - private EntitySet _HJGL_Match_InStorage; - - private EntitySet _HJGL_Match_OutStorage; - - private EntitySet _HJGL_PW_IsoInfo; - - private EntitySet _HJGL_WeldingProcedure_WeldHotProcessCard; - - private EntitySet _Project_Unit; - - private EntitySet _Project_WorkArea; - - private EntitySet _Sp_WelderOKRate; - - private EntitySet _Sp_WelderOKRateStatistics; - - private EntitySet _Sys_User; - - private EntitySet _Weld_UnitStore; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnUnitCodeChanging(string value); - partial void OnUnitCodeChanged(); - partial void OnUnitNameChanging(string value); - partial void OnUnitNameChanged(); - partial void OnProjectRangeChanging(string value); - partial void OnProjectRangeChanged(); - partial void OnCorporateChanging(string value); - partial void OnCorporateChanged(); - partial void OnAddressChanging(string value); - partial void OnAddressChanged(); - partial void OnTelephoneChanging(string value); - partial void OnTelephoneChanged(); - partial void OnFaxChanging(string value); - partial void OnFaxChanged(); - partial void OnIsMainChanging(System.Nullable value); - partial void OnIsMainChanged(); - partial void OnIsSubUnitChanging(System.Nullable value); - partial void OnIsSubUnitChanged(); - #endregion - - public Base_Unit() - { - this._Base_Project = new EntitySet(new Action(this.attach_Base_Project), new Action(this.detach_Base_Project)); - this._HJGL_BO_WeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_WeldReportMain), new Action(this.detach_HJGL_BO_WeldReportMain)); - this._HJGL_BS_Welder = new EntitySet(new Action(this.attach_HJGL_BS_Welder), new Action(this.detach_HJGL_BS_Welder)); - this._HJGL_CH_HardTestReport = new EntitySet(new Action(this.attach_HJGL_CH_HardTestReport), new Action(this.detach_HJGL_CH_HardTestReport)); - this._HJGL_CH_HotProessTrust = new EntitySet(new Action(this.attach_HJGL_CH_HotProessTrust), new Action(this.detach_HJGL_CH_HotProessTrust)); - this._HJGL_CH_Repair = new EntitySet(new Action(this.attach_HJGL_CH_Repair), new Action(this.detach_HJGL_CH_Repair)); - this._HJGL_ElectrodeBake = new EntitySet(new Action(this.attach_HJGL_ElectrodeBake), new Action(this.detach_HJGL_ElectrodeBake)); - this._HJGL_ElectrodeRecovery = new EntitySet(new Action(this.attach_HJGL_ElectrodeRecovery), new Action(this.detach_HJGL_ElectrodeRecovery)); - this._HJGL_EWeldRHRecord = new EntitySet(new Action(this.attach_HJGL_EWeldRHRecord), new Action(this.detach_HJGL_EWeldRHRecord)); - this._HJGL_HotProess = new EntitySet(new Action(this.attach_HJGL_HotProess), new Action(this.detach_HJGL_HotProess)); - this._Unit = new EntitySet(new Action(this.attach_Unit), new Action(this.detach_Unit)); - this._HJGL_Match_InStorage = new EntitySet(new Action(this.attach_HJGL_Match_InStorage), new Action(this.detach_HJGL_Match_InStorage)); - this._HJGL_Match_OutStorage = new EntitySet(new Action(this.attach_HJGL_Match_OutStorage), new Action(this.detach_HJGL_Match_OutStorage)); - this._HJGL_PW_IsoInfo = new EntitySet(new Action(this.attach_HJGL_PW_IsoInfo), new Action(this.detach_HJGL_PW_IsoInfo)); - this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard)); - this._Project_Unit = new EntitySet(new Action(this.attach_Project_Unit), new Action(this.detach_Project_Unit)); - this._Project_WorkArea = new EntitySet(new Action(this.attach_Project_WorkArea), new Action(this.detach_Project_WorkArea)); - this._Sp_WelderOKRate = new EntitySet(new Action(this.attach_Sp_WelderOKRate), new Action(this.detach_Sp_WelderOKRate)); - this._Sp_WelderOKRateStatistics = new EntitySet(new Action(this.attach_Sp_WelderOKRateStatistics), new Action(this.detach_Sp_WelderOKRateStatistics)); - this._Sys_User = new EntitySet(new Action(this.attach_Sys_User), new Action(this.detach_Sys_User)); - this._Weld_UnitStore = new EntitySet(new Action(this.attach_Weld_UnitStore), new Action(this.detach_Weld_UnitStore)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitCode", DbType="NVarChar(20)")] - public string UnitCode - { - get - { - return this._UnitCode; - } - set - { - if ((this._UnitCode != value)) - { - this.OnUnitCodeChanging(value); - this.SendPropertyChanging(); - this._UnitCode = value; - this.SendPropertyChanged("UnitCode"); - this.OnUnitCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this.OnUnitNameChanging(value); - this.SendPropertyChanging(); - this._UnitName = value; - this.SendPropertyChanged("UnitName"); - this.OnUnitNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectRange", DbType="NVarChar(500)")] - public string ProjectRange - { - get - { - return this._ProjectRange; - } - set - { - if ((this._ProjectRange != value)) - { - this.OnProjectRangeChanging(value); - this.SendPropertyChanging(); - this._ProjectRange = value; - this.SendPropertyChanged("ProjectRange"); - this.OnProjectRangeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Corporate", DbType="NVarChar(20)")] - public string Corporate - { - get - { - return this._Corporate; - } - set - { - if ((this._Corporate != value)) - { - this.OnCorporateChanging(value); - this.SendPropertyChanging(); - this._Corporate = value; - this.SendPropertyChanged("Corporate"); - this.OnCorporateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(50)")] - public string Address - { - get - { - return this._Address; - } - set - { - if ((this._Address != value)) - { - this.OnAddressChanging(value); - this.SendPropertyChanging(); - this._Address = value; - this.SendPropertyChanged("Address"); - this.OnAddressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Telephone", DbType="NVarChar(150)")] - public string Telephone - { - get - { - return this._Telephone; - } - set - { - if ((this._Telephone != value)) - { - this.OnTelephoneChanging(value); - this.SendPropertyChanging(); - this._Telephone = value; - this.SendPropertyChanged("Telephone"); - this.OnTelephoneChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Fax", DbType="NVarChar(20)")] - public string Fax - { - get - { - return this._Fax; - } - set - { - if ((this._Fax != value)) - { - this.OnFaxChanging(value); - this.SendPropertyChanging(); - this._Fax = value; - this.SendPropertyChanged("Fax"); - this.OnFaxChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMain", DbType="Bit")] - public System.Nullable IsMain - { - get - { - return this._IsMain; - } - set - { - if ((this._IsMain != value)) - { - this.OnIsMainChanging(value); - this.SendPropertyChanging(); - this._IsMain = value; - this.SendPropertyChanged("IsMain"); - this.OnIsMainChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSubUnit", DbType="Bit")] - public System.Nullable IsSubUnit - { - get - { - return this._IsSubUnit; - } - set - { - if ((this._IsSubUnit != value)) - { - this.OnIsSubUnitChanging(value); - this.SendPropertyChanging(); - this._IsSubUnit = value; - this.SendPropertyChanged("IsSubUnit"); - this.OnIsSubUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_Project_Base_Unit", Storage="_Base_Project", ThisKey="UnitId", OtherKey="CheckUnitId", DeleteRule="NO ACTION")] - public EntitySet Base_Project - { - get - { - return this._Base_Project; - } - set - { - this._Base_Project.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_WeldReportMain_Base_Unit", Storage="_HJGL_BO_WeldReportMain", ThisKey="UnitId", OtherKey="BSU_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_WeldReportMain - { - get - { - return this._HJGL_BO_WeldReportMain; - } - set - { - this._HJGL_BO_WeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_Welder_Base_Unit", Storage="_HJGL_BS_Welder", ThisKey="UnitId", OtherKey="WED_Unit", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder; - } - set - { - this._HJGL_BS_Welder.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReport_Base_Unit", Storage="_HJGL_CH_HardTestReport", ThisKey="UnitId", OtherKey="TrustUnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HardTestReport - { - get - { - return this._HJGL_CH_HardTestReport; - } - set - { - this._HJGL_CH_HardTestReport.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrust_Base_Unit", Storage="_HJGL_CH_HotProessTrust", ThisKey="UnitId", OtherKey="TrustUnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HotProessTrust - { - get - { - return this._HJGL_CH_HotProessTrust; - } - set - { - this._HJGL_CH_HotProessTrust.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Repair_Base_Unit", Storage="_HJGL_CH_Repair", ThisKey="UnitId", OtherKey="BSU_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_Repair - { - get - { - return this._HJGL_CH_Repair; - } - set - { - this._HJGL_CH_Repair.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeBake_Base_Unit", Storage="_HJGL_ElectrodeBake", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeBake - { - get - { - return this._HJGL_ElectrodeBake; - } - set - { - this._HJGL_ElectrodeBake.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecovery_Base_Unit", Storage="_HJGL_ElectrodeRecovery", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeRecovery - { - get - { - return this._HJGL_ElectrodeRecovery; - } - set - { - this._HJGL_ElectrodeRecovery.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EWeldRHRecord_Base_Unit", Storage="_HJGL_EWeldRHRecord", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_EWeldRHRecord - { - get - { - return this._HJGL_EWeldRHRecord; - } - set - { - this._HJGL_EWeldRHRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_Base_Unit", Storage="_HJGL_HotProess", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_HotProess - { - get - { - return this._HJGL_HotProess; - } - set - { - this._HJGL_HotProess.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_Base_Unit1", Storage="_Unit", ThisKey="UnitId", OtherKey="CheckUnitId", DeleteRule="NO ACTION")] - public EntitySet Unit - { - get - { - return this._Unit; - } - set - { - this._Unit.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorage_Base_Unit", Storage="_HJGL_Match_InStorage", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_InStorage - { - get - { - return this._HJGL_Match_InStorage; - } - set - { - this._HJGL_Match_InStorage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorage_Base_Unit", Storage="_HJGL_Match_OutStorage", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_OutStorage - { - get - { - return this._HJGL_Match_OutStorage; - } - set - { - this._HJGL_Match_OutStorage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_Base_Unit", Storage="_HJGL_PW_IsoInfo", ThisKey="UnitId", OtherKey="BSU_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo; - } - set - { - this._HJGL_PW_IsoInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HotProcessCardList_Base_Unit", Storage="_HJGL_WeldingProcedure_WeldHotProcessCard", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldHotProcessCard - { - get - { - return this._HJGL_WeldingProcedure_WeldHotProcessCard; - } - set - { - this._HJGL_WeldingProcedure_WeldHotProcessCard.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Unit_Base_Unit", Storage="_Project_Unit", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet Project_Unit - { - get - { - return this._Project_Unit; - } - set - { - this._Project_Unit.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_WorkArea_Base_Unit", Storage="_Project_WorkArea", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet Project_WorkArea - { - get - { - return this._Project_WorkArea; - } - set - { - this._Project_WorkArea.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRate_Base_Unit", Storage="_Sp_WelderOKRate", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet Sp_WelderOKRate - { - get - { - return this._Sp_WelderOKRate; - } - set - { - this._Sp_WelderOKRate.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRateStatistics_Base_Unit", Storage="_Sp_WelderOKRateStatistics", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet Sp_WelderOKRateStatistics - { - get - { - return this._Sp_WelderOKRateStatistics; - } - set - { - this._Sp_WelderOKRateStatistics.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Base_Unit", Storage="_Sys_User", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet Sys_User - { - get - { - return this._Sys_User; - } - set - { - this._Sys_User.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UnitStore_Base_Unit", Storage="_Weld_UnitStore", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")] - public EntitySet Weld_UnitStore - { - get - { - return this._Weld_UnitStore; - } - set - { - this._Weld_UnitStore.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Base_Project(Base_Project entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_Base_Project(Base_Project entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_BS_Welder(HJGL_BS_Welder entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_BS_Welder(HJGL_BS_Welder entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_CH_HardTestReport(HJGL_CH_HardTestReport entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_CH_HardTestReport(HJGL_CH_HardTestReport entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_CH_Repair(HJGL_CH_Repair entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_CH_Repair(HJGL_CH_Repair entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_ElectrodeBake(HJGL_ElectrodeBake entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_ElectrodeBake(HJGL_ElectrodeBake entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_EWeldRHRecord(HJGL_EWeldRHRecord entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_EWeldRHRecord(HJGL_EWeldRHRecord entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_HotProess(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_HotProess(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_Unit(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.CheckUnit = this; - } - - private void detach_Unit(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.CheckUnit = null; - } - - private void attach_HJGL_Match_InStorage(HJGL_Match_InStorage entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_Match_InStorage(HJGL_Match_InStorage entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_Match_OutStorage(HJGL_Match_OutStorage entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_Match_OutStorage(HJGL_Match_OutStorage entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_HJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_HJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_Project_Unit(Project_Unit entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_Project_Unit(Project_Unit entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_Project_WorkArea(Project_WorkArea entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_Project_WorkArea(Project_WorkArea entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_Sp_WelderOKRate(Sp_WelderOKRate entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_Sp_WelderOKRate(Sp_WelderOKRate entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_Sp_WelderOKRateStatistics(Sp_WelderOKRateStatistics entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_Sp_WelderOKRateStatistics(Sp_WelderOKRateStatistics entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - - private void attach_Weld_UnitStore(Weld_UnitStore entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = this; - } - - private void detach_Weld_UnitStore(Weld_UnitStore entity) - { - this.SendPropertyChanging(); - entity.Base_Unit = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ButtonToMenu")] - public partial class ButtonToMenu : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ButtonToMenuId; - - private string _MenuId; - - private string _ButtonName; - - private System.Nullable _SortIndex; - - private EntityRef _Sys_Menu; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnButtonToMenuIdChanging(string value); - partial void OnButtonToMenuIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnButtonNameChanging(string value); - partial void OnButtonNameChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - #endregion - - public ButtonToMenu() - { - this._Sys_Menu = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonToMenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ButtonToMenuId - { - get - { - return this._ButtonToMenuId; - } - set - { - if ((this._ButtonToMenuId != value)) - { - this.OnButtonToMenuIdChanging(value); - this.SendPropertyChanging(); - this._ButtonToMenuId = value; - this.SendPropertyChanged("ButtonToMenuId"); - this.OnButtonToMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonName", DbType="NVarChar(10) NOT NULL", CanBeNull=false)] - public string ButtonName - { - get - { - return this._ButtonName; - } - set - { - if ((this._ButtonName != value)) - { - this.OnButtonNameChanging(value); - this.SendPropertyChanging(); - this._ButtonName = value; - this.SendPropertyChanged("ButtonName"); - this.OnButtonNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ButtonToMenu_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.ButtonToMenu.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.ButtonToMenu.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_ConstructionStandardIdentify")] - public partial class Common_ConstructionStandardIdentify : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ConstructionStandardIdentifyCode; - - private string _VersionNumber; - - private string _ProjectId; - - private string _IdentifyPerson; - - private System.Nullable _IdentifyDate; - - private string _State; - - private string _Remark; - - private string _Type; - - private EntityRef _Base_Project; - - private EntitySet _Common_ConstructionStandardSelectedItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnConstructionStandardIdentifyCodeChanging(string value); - partial void OnConstructionStandardIdentifyCodeChanged(); - partial void OnVersionNumberChanging(string value); - partial void OnVersionNumberChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnIdentifyPersonChanging(string value); - partial void OnIdentifyPersonChanged(); - partial void OnIdentifyDateChanging(System.Nullable value); - partial void OnIdentifyDateChanged(); - partial void OnStateChanging(string value); - partial void OnStateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - #endregion - - public Common_ConstructionStandardIdentify() - { - this._Base_Project = default(EntityRef); - this._Common_ConstructionStandardSelectedItem = new EntitySet(new Action(this.attach_Common_ConstructionStandardSelectedItem), new Action(this.detach_Common_ConstructionStandardSelectedItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardIdentifyCode", DbType="NVarChar(30) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ConstructionStandardIdentifyCode - { - get - { - return this._ConstructionStandardIdentifyCode; - } - set - { - if ((this._ConstructionStandardIdentifyCode != value)) - { - this.OnConstructionStandardIdentifyCodeChanging(value); - this.SendPropertyChanging(); - this._ConstructionStandardIdentifyCode = value; - this.SendPropertyChanged("ConstructionStandardIdentifyCode"); - this.OnConstructionStandardIdentifyCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VersionNumber", DbType="NVarChar(10)")] - public string VersionNumber - { - get - { - return this._VersionNumber; - } - set - { - if ((this._VersionNumber != value)) - { - this.OnVersionNumberChanging(value); - this.SendPropertyChanging(); - this._VersionNumber = value; - this.SendPropertyChanged("VersionNumber"); - this.OnVersionNumberChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyPerson", DbType="NVarChar(50)")] - public string IdentifyPerson - { - get - { - return this._IdentifyPerson; - } - set - { - if ((this._IdentifyPerson != value)) - { - this.OnIdentifyPersonChanging(value); - this.SendPropertyChanging(); - this._IdentifyPerson = value; - this.SendPropertyChanged("IdentifyPerson"); - this.OnIdentifyPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyDate", DbType="DateTime")] - public System.Nullable IdentifyDate - { - get - { - return this._IdentifyDate; - } - set - { - if ((this._IdentifyDate != value)) - { - this.OnIdentifyDateChanging(value); - this.SendPropertyChanging(); - this._IdentifyDate = value; - this.SendPropertyChanged("IdentifyDate"); - this.OnIdentifyDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="NChar(1)")] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this.OnStateChanging(value); - this.SendPropertyChanging(); - this._State = value; - this.SendPropertyChanged("State"); - this.OnStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(150)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_ConstructionStandardIdentify_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Common_ConstructionStandardIdentify.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Common_ConstructionStandardIdentify.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_ConstructionStandardSelectItem_Common_ConstructionStandardIdentify", Storage="_Common_ConstructionStandardSelectedItem", ThisKey="ConstructionStandardIdentifyCode", OtherKey="ConstructionStandardIdentifyCode", DeleteRule="NO ACTION")] - public EntitySet Common_ConstructionStandardSelectedItem - { - get - { - return this._Common_ConstructionStandardSelectedItem; - } - set - { - this._Common_ConstructionStandardSelectedItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Common_ConstructionStandardSelectedItem(Common_ConstructionStandardSelectedItem entity) - { - this.SendPropertyChanging(); - entity.Common_ConstructionStandardIdentify = this; - } - - private void detach_Common_ConstructionStandardSelectedItem(Common_ConstructionStandardSelectedItem entity) - { - this.SendPropertyChanging(); - entity.Common_ConstructionStandardIdentify = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_ConstructionStandardList")] - public partial class Common_ConstructionStandardList : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _StandardId; - - private int _StandardCode; - - private string _StandardGrade; - - private string _StandardNo; - - private string _StandardName; - - private string _AttachUrl; - - private System.Nullable _IsSelected1; - - private System.Nullable _IsSelected2; - - private System.Nullable _IsSelected3; - - private System.Nullable _IsSelected4; - - private System.Nullable _IsSelected5; - - private System.Nullable _IsSelected6; - - private System.Nullable _IsSelected7; - - private System.Nullable _IsSelected8; - - private System.Nullable _IsSelected9; - - private System.Nullable _IsSelected10; - - private System.Nullable _IsSelected11; - - private System.Nullable _IsSelected12; - - private System.Nullable _IsSelected13; - - private System.Nullable _IsSelected14; - - private System.Nullable _IsSelected15; - - private System.Nullable _IsSelected16; - - private System.Nullable _IsSelected17; - - private System.Nullable _IsSelected18; - - private System.Nullable _IsSelected19; - - private System.Nullable _IsSelected20; - - private System.Nullable _IsSelected21; - - private System.Nullable _IsSelected22; - - private System.Nullable _IsSelected23; - - private System.Nullable _IsSelected90; - - private string _IsModel; - - private string _Type; - - private EntitySet _Common_ConstructionStandardSelectedItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnStandardIdChanging(string value); - partial void OnStandardIdChanged(); - partial void OnStandardCodeChanging(int value); - partial void OnStandardCodeChanged(); - partial void OnStandardGradeChanging(string value); - partial void OnStandardGradeChanged(); - partial void OnStandardNoChanging(string value); - partial void OnStandardNoChanged(); - partial void OnStandardNameChanging(string value); - partial void OnStandardNameChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnIsSelected1Changing(System.Nullable value); - partial void OnIsSelected1Changed(); - partial void OnIsSelected2Changing(System.Nullable value); - partial void OnIsSelected2Changed(); - partial void OnIsSelected3Changing(System.Nullable value); - partial void OnIsSelected3Changed(); - partial void OnIsSelected4Changing(System.Nullable value); - partial void OnIsSelected4Changed(); - partial void OnIsSelected5Changing(System.Nullable value); - partial void OnIsSelected5Changed(); - partial void OnIsSelected6Changing(System.Nullable value); - partial void OnIsSelected6Changed(); - partial void OnIsSelected7Changing(System.Nullable value); - partial void OnIsSelected7Changed(); - partial void OnIsSelected8Changing(System.Nullable value); - partial void OnIsSelected8Changed(); - partial void OnIsSelected9Changing(System.Nullable value); - partial void OnIsSelected9Changed(); - partial void OnIsSelected10Changing(System.Nullable value); - partial void OnIsSelected10Changed(); - partial void OnIsSelected11Changing(System.Nullable value); - partial void OnIsSelected11Changed(); - partial void OnIsSelected12Changing(System.Nullable value); - partial void OnIsSelected12Changed(); - partial void OnIsSelected13Changing(System.Nullable value); - partial void OnIsSelected13Changed(); - partial void OnIsSelected14Changing(System.Nullable value); - partial void OnIsSelected14Changed(); - partial void OnIsSelected15Changing(System.Nullable value); - partial void OnIsSelected15Changed(); - partial void OnIsSelected16Changing(System.Nullable value); - partial void OnIsSelected16Changed(); - partial void OnIsSelected17Changing(System.Nullable value); - partial void OnIsSelected17Changed(); - partial void OnIsSelected18Changing(System.Nullable value); - partial void OnIsSelected18Changed(); - partial void OnIsSelected19Changing(System.Nullable value); - partial void OnIsSelected19Changed(); - partial void OnIsSelected20Changing(System.Nullable value); - partial void OnIsSelected20Changed(); - partial void OnIsSelected21Changing(System.Nullable value); - partial void OnIsSelected21Changed(); - partial void OnIsSelected22Changing(System.Nullable value); - partial void OnIsSelected22Changed(); - partial void OnIsSelected23Changing(System.Nullable value); - partial void OnIsSelected23Changed(); - partial void OnIsSelected90Changing(System.Nullable value); - partial void OnIsSelected90Changed(); - partial void OnIsModelChanging(string value); - partial void OnIsModelChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - #endregion - - public Common_ConstructionStandardList() - { - this._Common_ConstructionStandardSelectedItem = new EntitySet(new Action(this.attach_Common_ConstructionStandardSelectedItem), new Action(this.detach_Common_ConstructionStandardSelectedItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string StandardId - { - get - { - return this._StandardId; - } - set - { - if ((this._StandardId != value)) - { - this.OnStandardIdChanging(value); - this.SendPropertyChanging(); - this._StandardId = value; - this.SendPropertyChanged("StandardId"); - this.OnStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardCode", DbType="Int NOT NULL")] - public int StandardCode - { - get - { - return this._StandardCode; - } - set - { - if ((this._StandardCode != value)) - { - this.OnStandardCodeChanging(value); - this.SendPropertyChanging(); - this._StandardCode = value; - this.SendPropertyChanged("StandardCode"); - this.OnStandardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardGrade", DbType="NChar(12)")] - public string StandardGrade - { - get - { - return this._StandardGrade; - } - set - { - if ((this._StandardGrade != value)) - { - this.OnStandardGradeChanging(value); - this.SendPropertyChanging(); - this._StandardGrade = value; - this.SendPropertyChanged("StandardGrade"); - this.OnStandardGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardNo", DbType="NVarChar(25)")] - public string StandardNo - { - get - { - return this._StandardNo; - } - set - { - if ((this._StandardNo != value)) - { - this.OnStandardNoChanging(value); - this.SendPropertyChanging(); - this._StandardNo = value; - this.SendPropertyChanged("StandardNo"); - this.OnStandardNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardName", DbType="NVarChar(200)")] - public string StandardName - { - get - { - return this._StandardName; - } - set - { - if ((this._StandardName != value)) - { - this.OnStandardNameChanging(value); - this.SendPropertyChanging(); - this._StandardName = value; - this.SendPropertyChanged("StandardName"); - this.OnStandardNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(200)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected1", DbType="Bit")] - public System.Nullable IsSelected1 - { - get - { - return this._IsSelected1; - } - set - { - if ((this._IsSelected1 != value)) - { - this.OnIsSelected1Changing(value); - this.SendPropertyChanging(); - this._IsSelected1 = value; - this.SendPropertyChanged("IsSelected1"); - this.OnIsSelected1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected2", DbType="Bit")] - public System.Nullable IsSelected2 - { - get - { - return this._IsSelected2; - } - set - { - if ((this._IsSelected2 != value)) - { - this.OnIsSelected2Changing(value); - this.SendPropertyChanging(); - this._IsSelected2 = value; - this.SendPropertyChanged("IsSelected2"); - this.OnIsSelected2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected3", DbType="Bit")] - public System.Nullable IsSelected3 - { - get - { - return this._IsSelected3; - } - set - { - if ((this._IsSelected3 != value)) - { - this.OnIsSelected3Changing(value); - this.SendPropertyChanging(); - this._IsSelected3 = value; - this.SendPropertyChanged("IsSelected3"); - this.OnIsSelected3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected4", DbType="Bit")] - public System.Nullable IsSelected4 - { - get - { - return this._IsSelected4; - } - set - { - if ((this._IsSelected4 != value)) - { - this.OnIsSelected4Changing(value); - this.SendPropertyChanging(); - this._IsSelected4 = value; - this.SendPropertyChanged("IsSelected4"); - this.OnIsSelected4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected5", DbType="Bit")] - public System.Nullable IsSelected5 - { - get - { - return this._IsSelected5; - } - set - { - if ((this._IsSelected5 != value)) - { - this.OnIsSelected5Changing(value); - this.SendPropertyChanging(); - this._IsSelected5 = value; - this.SendPropertyChanged("IsSelected5"); - this.OnIsSelected5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected6", DbType="Bit")] - public System.Nullable IsSelected6 - { - get - { - return this._IsSelected6; - } - set - { - if ((this._IsSelected6 != value)) - { - this.OnIsSelected6Changing(value); - this.SendPropertyChanging(); - this._IsSelected6 = value; - this.SendPropertyChanged("IsSelected6"); - this.OnIsSelected6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected7", DbType="Bit")] - public System.Nullable IsSelected7 - { - get - { - return this._IsSelected7; - } - set - { - if ((this._IsSelected7 != value)) - { - this.OnIsSelected7Changing(value); - this.SendPropertyChanging(); - this._IsSelected7 = value; - this.SendPropertyChanged("IsSelected7"); - this.OnIsSelected7Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected8", DbType="Bit")] - public System.Nullable IsSelected8 - { - get - { - return this._IsSelected8; - } - set - { - if ((this._IsSelected8 != value)) - { - this.OnIsSelected8Changing(value); - this.SendPropertyChanging(); - this._IsSelected8 = value; - this.SendPropertyChanged("IsSelected8"); - this.OnIsSelected8Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected9", DbType="Bit")] - public System.Nullable IsSelected9 - { - get - { - return this._IsSelected9; - } - set - { - if ((this._IsSelected9 != value)) - { - this.OnIsSelected9Changing(value); - this.SendPropertyChanging(); - this._IsSelected9 = value; - this.SendPropertyChanged("IsSelected9"); - this.OnIsSelected9Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected10", DbType="Bit")] - public System.Nullable IsSelected10 - { - get - { - return this._IsSelected10; - } - set - { - if ((this._IsSelected10 != value)) - { - this.OnIsSelected10Changing(value); - this.SendPropertyChanging(); - this._IsSelected10 = value; - this.SendPropertyChanged("IsSelected10"); - this.OnIsSelected10Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected11", DbType="Bit")] - public System.Nullable IsSelected11 - { - get - { - return this._IsSelected11; - } - set - { - if ((this._IsSelected11 != value)) - { - this.OnIsSelected11Changing(value); - this.SendPropertyChanging(); - this._IsSelected11 = value; - this.SendPropertyChanged("IsSelected11"); - this.OnIsSelected11Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected12", DbType="Bit")] - public System.Nullable IsSelected12 - { - get - { - return this._IsSelected12; - } - set - { - if ((this._IsSelected12 != value)) - { - this.OnIsSelected12Changing(value); - this.SendPropertyChanging(); - this._IsSelected12 = value; - this.SendPropertyChanged("IsSelected12"); - this.OnIsSelected12Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected13", DbType="Bit")] - public System.Nullable IsSelected13 - { - get - { - return this._IsSelected13; - } - set - { - if ((this._IsSelected13 != value)) - { - this.OnIsSelected13Changing(value); - this.SendPropertyChanging(); - this._IsSelected13 = value; - this.SendPropertyChanged("IsSelected13"); - this.OnIsSelected13Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected14", DbType="Bit")] - public System.Nullable IsSelected14 - { - get - { - return this._IsSelected14; - } - set - { - if ((this._IsSelected14 != value)) - { - this.OnIsSelected14Changing(value); - this.SendPropertyChanging(); - this._IsSelected14 = value; - this.SendPropertyChanged("IsSelected14"); - this.OnIsSelected14Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected15", DbType="Bit")] - public System.Nullable IsSelected15 - { - get - { - return this._IsSelected15; - } - set - { - if ((this._IsSelected15 != value)) - { - this.OnIsSelected15Changing(value); - this.SendPropertyChanging(); - this._IsSelected15 = value; - this.SendPropertyChanged("IsSelected15"); - this.OnIsSelected15Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected16", DbType="Bit")] - public System.Nullable IsSelected16 - { - get - { - return this._IsSelected16; - } - set - { - if ((this._IsSelected16 != value)) - { - this.OnIsSelected16Changing(value); - this.SendPropertyChanging(); - this._IsSelected16 = value; - this.SendPropertyChanged("IsSelected16"); - this.OnIsSelected16Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected17", DbType="Bit")] - public System.Nullable IsSelected17 - { - get - { - return this._IsSelected17; - } - set - { - if ((this._IsSelected17 != value)) - { - this.OnIsSelected17Changing(value); - this.SendPropertyChanging(); - this._IsSelected17 = value; - this.SendPropertyChanged("IsSelected17"); - this.OnIsSelected17Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected18", DbType="Bit")] - public System.Nullable IsSelected18 - { - get - { - return this._IsSelected18; - } - set - { - if ((this._IsSelected18 != value)) - { - this.OnIsSelected18Changing(value); - this.SendPropertyChanging(); - this._IsSelected18 = value; - this.SendPropertyChanged("IsSelected18"); - this.OnIsSelected18Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected19", DbType="Bit")] - public System.Nullable IsSelected19 - { - get - { - return this._IsSelected19; - } - set - { - if ((this._IsSelected19 != value)) - { - this.OnIsSelected19Changing(value); - this.SendPropertyChanging(); - this._IsSelected19 = value; - this.SendPropertyChanged("IsSelected19"); - this.OnIsSelected19Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected20", DbType="Bit")] - public System.Nullable IsSelected20 - { - get - { - return this._IsSelected20; - } - set - { - if ((this._IsSelected20 != value)) - { - this.OnIsSelected20Changing(value); - this.SendPropertyChanging(); - this._IsSelected20 = value; - this.SendPropertyChanged("IsSelected20"); - this.OnIsSelected20Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected21", DbType="Bit")] - public System.Nullable IsSelected21 - { - get - { - return this._IsSelected21; - } - set - { - if ((this._IsSelected21 != value)) - { - this.OnIsSelected21Changing(value); - this.SendPropertyChanging(); - this._IsSelected21 = value; - this.SendPropertyChanged("IsSelected21"); - this.OnIsSelected21Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected22", DbType="Bit")] - public System.Nullable IsSelected22 - { - get - { - return this._IsSelected22; - } - set - { - if ((this._IsSelected22 != value)) - { - this.OnIsSelected22Changing(value); - this.SendPropertyChanging(); - this._IsSelected22 = value; - this.SendPropertyChanged("IsSelected22"); - this.OnIsSelected22Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected23", DbType="Bit")] - public System.Nullable IsSelected23 - { - get - { - return this._IsSelected23; - } - set - { - if ((this._IsSelected23 != value)) - { - this.OnIsSelected23Changing(value); - this.SendPropertyChanging(); - this._IsSelected23 = value; - this.SendPropertyChanged("IsSelected23"); - this.OnIsSelected23Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected90", DbType="Bit")] - public System.Nullable IsSelected90 - { - get - { - return this._IsSelected90; - } - set - { - if ((this._IsSelected90 != value)) - { - this.OnIsSelected90Changing(value); - this.SendPropertyChanging(); - this._IsSelected90 = value; - this.SendPropertyChanged("IsSelected90"); - this.OnIsSelected90Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsModel", DbType="Char(1)")] - public string IsModel - { - get - { - return this._IsModel; - } - set - { - if ((this._IsModel != value)) - { - this.OnIsModelChanging(value); - this.SendPropertyChanging(); - this._IsModel = value; - this.SendPropertyChanged("IsModel"); - this.OnIsModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Common_ConstructionStandardSelectedItem_Common_ConstructionStandardList", Storage="_Common_ConstructionStandardSelectedItem", ThisKey="StandardId", OtherKey="StandardId", DeleteRule="NO ACTION")] - public EntitySet Common_ConstructionStandardSelectedItem - { - get - { - return this._Common_ConstructionStandardSelectedItem; - } - set - { - this._Common_ConstructionStandardSelectedItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Common_ConstructionStandardSelectedItem(Common_ConstructionStandardSelectedItem entity) - { - this.SendPropertyChanging(); - entity.Common_ConstructionStandardList = this; - } - - private void detach_Common_ConstructionStandardSelectedItem(Common_ConstructionStandardSelectedItem entity) - { - this.SendPropertyChanging(); - entity.Common_ConstructionStandardList = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_ConstructionStandardSelectedItem")] - public partial class Common_ConstructionStandardSelectedItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ConstructionStandardSelectedItemId; - - private string _ConstructionStandardIdentifyCode; - - private string _StandardId; - - private EntityRef _Common_ConstructionStandardList; - - private EntityRef _Common_ConstructionStandardIdentify; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnConstructionStandardSelectedItemIdChanging(string value); - partial void OnConstructionStandardSelectedItemIdChanged(); - partial void OnConstructionStandardIdentifyCodeChanging(string value); - partial void OnConstructionStandardIdentifyCodeChanged(); - partial void OnStandardIdChanging(string value); - partial void OnStandardIdChanged(); - #endregion - - public Common_ConstructionStandardSelectedItem() - { - this._Common_ConstructionStandardList = default(EntityRef); - this._Common_ConstructionStandardIdentify = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardSelectedItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ConstructionStandardSelectedItemId - { - get - { - return this._ConstructionStandardSelectedItemId; - } - set - { - if ((this._ConstructionStandardSelectedItemId != value)) - { - this.OnConstructionStandardSelectedItemIdChanging(value); - this.SendPropertyChanging(); - this._ConstructionStandardSelectedItemId = value; - this.SendPropertyChanged("ConstructionStandardSelectedItemId"); - this.OnConstructionStandardSelectedItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardIdentifyCode", DbType="NVarChar(30)")] - public string ConstructionStandardIdentifyCode - { - get - { - return this._ConstructionStandardIdentifyCode; - } - set - { - if ((this._ConstructionStandardIdentifyCode != value)) - { - if (this._Common_ConstructionStandardIdentify.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnConstructionStandardIdentifyCodeChanging(value); - this.SendPropertyChanging(); - this._ConstructionStandardIdentifyCode = value; - this.SendPropertyChanged("ConstructionStandardIdentifyCode"); - this.OnConstructionStandardIdentifyCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardId", DbType="NVarChar(50)")] - public string StandardId - { - get - { - return this._StandardId; - } - set - { - if ((this._StandardId != value)) - { - if (this._Common_ConstructionStandardList.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnStandardIdChanging(value); - this.SendPropertyChanging(); - this._StandardId = value; - this.SendPropertyChanged("StandardId"); - this.OnStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Common_ConstructionStandardSelectedItem_Common_ConstructionStandardList", Storage="_Common_ConstructionStandardList", ThisKey="StandardId", OtherKey="StandardId", IsForeignKey=true)] - public Common_ConstructionStandardList Common_ConstructionStandardList - { - get - { - return this._Common_ConstructionStandardList.Entity; - } - set - { - Common_ConstructionStandardList previousValue = this._Common_ConstructionStandardList.Entity; - if (((previousValue != value) - || (this._Common_ConstructionStandardList.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Common_ConstructionStandardList.Entity = null; - previousValue.Common_ConstructionStandardSelectedItem.Remove(this); - } - this._Common_ConstructionStandardList.Entity = value; - if ((value != null)) - { - value.Common_ConstructionStandardSelectedItem.Add(this); - this._StandardId = value.StandardId; - } - else - { - this._StandardId = default(string); - } - this.SendPropertyChanged("Common_ConstructionStandardList"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_ConstructionStandardSelectItem_Common_ConstructionStandardIdentify", Storage="_Common_ConstructionStandardIdentify", ThisKey="ConstructionStandardIdentifyCode", OtherKey="ConstructionStandardIdentifyCode", IsForeignKey=true)] - public Common_ConstructionStandardIdentify Common_ConstructionStandardIdentify - { - get - { - return this._Common_ConstructionStandardIdentify.Entity; - } - set - { - Common_ConstructionStandardIdentify previousValue = this._Common_ConstructionStandardIdentify.Entity; - if (((previousValue != value) - || (this._Common_ConstructionStandardIdentify.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Common_ConstructionStandardIdentify.Entity = null; - previousValue.Common_ConstructionStandardSelectedItem.Remove(this); - } - this._Common_ConstructionStandardIdentify.Entity = value; - if ((value != null)) - { - value.Common_ConstructionStandardSelectedItem.Add(this); - this._ConstructionStandardIdentifyCode = value.ConstructionStandardIdentifyCode; - } - else - { - this._ConstructionStandardIdentifyCode = default(string); - } - this.SendPropertyChanged("Common_ConstructionStandardIdentify"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_FileManage")] - public partial class Common_FileManage : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private int _FileId; - - private string _FileCode; - - private string _FileName; - - private string _FileSize; - - private string _FileType; - - private System.Data.Linq.Binary _FileContent; - - private string _BigType; - - private string _SmallType; - - private string _FileCreate; - - private System.Nullable _FileDate; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnFileIdChanging(int value); - partial void OnFileIdChanged(); - partial void OnFileCodeChanging(string value); - partial void OnFileCodeChanged(); - partial void OnFileNameChanging(string value); - partial void OnFileNameChanged(); - partial void OnFileSizeChanging(string value); - partial void OnFileSizeChanged(); - partial void OnFileTypeChanging(string value); - partial void OnFileTypeChanged(); - partial void OnFileContentChanging(System.Data.Linq.Binary value); - partial void OnFileContentChanged(); - partial void OnBigTypeChanging(string value); - partial void OnBigTypeChanged(); - partial void OnSmallTypeChanging(string value); - partial void OnSmallTypeChanged(); - partial void OnFileCreateChanging(string value); - partial void OnFileCreateChanged(); - partial void OnFileDateChanging(System.Nullable value); - partial void OnFileDateChanged(); - #endregion - - public Common_FileManage() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileId", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] - public int FileId - { - get - { - return this._FileId; - } - set - { - if ((this._FileId != value)) - { - this.OnFileIdChanging(value); - this.SendPropertyChanging(); - this._FileId = value; - this.SendPropertyChanged("FileId"); - this.OnFileIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode", DbType="NVarChar(50)")] - public string FileCode - { - get - { - return this._FileCode; - } - set - { - if ((this._FileCode != value)) - { - this.OnFileCodeChanging(value); - this.SendPropertyChanging(); - this._FileCode = value; - this.SendPropertyChanged("FileCode"); - this.OnFileCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileName", DbType="NVarChar(100)")] - public string FileName - { - get - { - return this._FileName; - } - set - { - if ((this._FileName != value)) - { - this.OnFileNameChanging(value); - this.SendPropertyChanging(); - this._FileName = value; - this.SendPropertyChanged("FileName"); - this.OnFileNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileSize", DbType="NVarChar(50)")] - public string FileSize - { - get - { - return this._FileSize; - } - set - { - if ((this._FileSize != value)) - { - this.OnFileSizeChanging(value); - this.SendPropertyChanging(); - this._FileSize = value; - this.SendPropertyChanged("FileSize"); - this.OnFileSizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileType", DbType="NVarChar(50)")] - public string FileType - { - get - { - return this._FileType; - } - set - { - if ((this._FileType != value)) - { - this.OnFileTypeChanging(value); - this.SendPropertyChanging(); - this._FileType = value; - this.SendPropertyChanged("FileType"); - this.OnFileTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileContent", DbType="Image", CanBeNull=true, UpdateCheck=UpdateCheck.Never)] - public System.Data.Linq.Binary FileContent - { - get - { - return this._FileContent; - } - set - { - if ((this._FileContent != value)) - { - this.OnFileContentChanging(value); - this.SendPropertyChanging(); - this._FileContent = value; - this.SendPropertyChanged("FileContent"); - this.OnFileContentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BigType", DbType="NVarChar(50)")] - public string BigType - { - get - { - return this._BigType; - } - set - { - if ((this._BigType != value)) - { - this.OnBigTypeChanging(value); - this.SendPropertyChanging(); - this._BigType = value; - this.SendPropertyChanged("BigType"); - this.OnBigTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SmallType", DbType="NVarChar(50)")] - public string SmallType - { - get - { - return this._SmallType; - } - set - { - if ((this._SmallType != value)) - { - this.OnSmallTypeChanging(value); - this.SendPropertyChanging(); - this._SmallType = value; - this.SendPropertyChanged("SmallType"); - this.OnSmallTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCreate", DbType="NVarChar(50)")] - public string FileCreate - { - get - { - return this._FileCreate; - } - set - { - if ((this._FileCreate != value)) - { - this.OnFileCreateChanging(value); - this.SendPropertyChanging(); - this._FileCreate = value; - this.SendPropertyChanged("FileCreate"); - this.OnFileCreateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileDate", DbType="DateTime")] - public System.Nullable FileDate - { - get - { - return this._FileDate; - } - set - { - if ((this._FileDate != value)) - { - this.OnFileDateChanging(value); - this.SendPropertyChanging(); - this._FileDate = value; - this.SendPropertyChanged("FileDate"); - this.OnFileDateChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_FileManageType")] - public partial class Common_FileManageType : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _FileCode; - - private string _FileType; - - private System.Nullable _SortIndex; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnFileCodeChanging(string value); - partial void OnFileCodeChanged(); - partial void OnFileTypeChanging(string value); - partial void OnFileTypeChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - #endregion - - public Common_FileManageType() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string FileCode - { - get - { - return this._FileCode; - } - set - { - if ((this._FileCode != value)) - { - this.OnFileCodeChanging(value); - this.SendPropertyChanging(); - this._FileCode = value; - this.SendPropertyChanged("FileCode"); - this.OnFileCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileType", DbType="NVarChar(50)")] - public string FileType - { - get - { - return this._FileType; - } - set - { - if ((this._FileType != value)) - { - this.OnFileTypeChanging(value); - this.SendPropertyChanging(); - this._FileType = value; - this.SendPropertyChanged("FileType"); - this.OnFileTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_LawRegulation")] - public partial class Common_LawRegulation : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _LawRegulationId; - - private int _LawRegulationCode; - - private string _LawRegulationName; - - private System.Nullable _ApproveDate; - - private System.Nullable _AffectiveDate; - - private string _AttachUrl; - - private string _AttentionItem; - - private string _Remark; - - private string _IsModel; - - private string _LawRegulationGrade; - - private string _Type; - - private System.Nullable _RevisionDate; - - private System.Nullable _ImplementationDate; - - private EntitySet _Common_LawRegulationSelectedItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnLawRegulationIdChanging(string value); - partial void OnLawRegulationIdChanged(); - partial void OnLawRegulationCodeChanging(int value); - partial void OnLawRegulationCodeChanged(); - partial void OnLawRegulationNameChanging(string value); - partial void OnLawRegulationNameChanged(); - partial void OnApproveDateChanging(System.Nullable value); - partial void OnApproveDateChanged(); - partial void OnAffectiveDateChanging(System.Nullable value); - partial void OnAffectiveDateChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnAttentionItemChanging(string value); - partial void OnAttentionItemChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnIsModelChanging(string value); - partial void OnIsModelChanged(); - partial void OnLawRegulationGradeChanging(string value); - partial void OnLawRegulationGradeChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - partial void OnRevisionDateChanging(System.Nullable value); - partial void OnRevisionDateChanged(); - partial void OnImplementationDateChanging(System.Nullable value); - partial void OnImplementationDateChanged(); - #endregion - - public Common_LawRegulation() - { - this._Common_LawRegulationSelectedItem = new EntitySet(new Action(this.attach_Common_LawRegulationSelectedItem), new Action(this.detach_Common_LawRegulationSelectedItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string LawRegulationId - { - get - { - return this._LawRegulationId; - } - set - { - if ((this._LawRegulationId != value)) - { - this.OnLawRegulationIdChanging(value); - this.SendPropertyChanging(); - this._LawRegulationId = value; - this.SendPropertyChanged("LawRegulationId"); - this.OnLawRegulationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationCode", DbType="Int NOT NULL")] - public int LawRegulationCode - { - get - { - return this._LawRegulationCode; - } - set - { - if ((this._LawRegulationCode != value)) - { - this.OnLawRegulationCodeChanging(value); - this.SendPropertyChanging(); - this._LawRegulationCode = value; - this.SendPropertyChanged("LawRegulationCode"); - this.OnLawRegulationCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationName", DbType="NVarChar(80)")] - public string LawRegulationName - { - get - { - return this._LawRegulationName; - } - set - { - if ((this._LawRegulationName != value)) - { - this.OnLawRegulationNameChanging(value); - this.SendPropertyChanging(); - this._LawRegulationName = value; - this.SendPropertyChanged("LawRegulationName"); - this.OnLawRegulationNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveDate", DbType="DateTime")] - public System.Nullable ApproveDate - { - get - { - return this._ApproveDate; - } - set - { - if ((this._ApproveDate != value)) - { - this.OnApproveDateChanging(value); - this.SendPropertyChanging(); - this._ApproveDate = value; - this.SendPropertyChanged("ApproveDate"); - this.OnApproveDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AffectiveDate", DbType="DateTime")] - public System.Nullable AffectiveDate - { - get - { - return this._AffectiveDate; - } - set - { - if ((this._AffectiveDate != value)) - { - this.OnAffectiveDateChanging(value); - this.SendPropertyChanging(); - this._AffectiveDate = value; - this.SendPropertyChanged("AffectiveDate"); - this.OnAffectiveDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(100)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentionItem", DbType="NText", UpdateCheck=UpdateCheck.Never)] - public string AttentionItem - { - get - { - return this._AttentionItem; - } - set - { - if ((this._AttentionItem != value)) - { - this.OnAttentionItemChanging(value); - this.SendPropertyChanging(); - this._AttentionItem = value; - this.SendPropertyChanged("AttentionItem"); - this.OnAttentionItemChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsModel", DbType="Char(1)")] - public string IsModel - { - get - { - return this._IsModel; - } - set - { - if ((this._IsModel != value)) - { - this.OnIsModelChanging(value); - this.SendPropertyChanging(); - this._IsModel = value; - this.SendPropertyChanged("IsModel"); - this.OnIsModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationGrade", DbType="Char(1)")] - public string LawRegulationGrade - { - get - { - return this._LawRegulationGrade; - } - set - { - if ((this._LawRegulationGrade != value)) - { - this.OnLawRegulationGradeChanging(value); - this.SendPropertyChanging(); - this._LawRegulationGrade = value; - this.SendPropertyChanged("LawRegulationGrade"); - this.OnLawRegulationGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RevisionDate", DbType="DateTime")] - public System.Nullable RevisionDate - { - get - { - return this._RevisionDate; - } - set - { - if ((this._RevisionDate != value)) - { - this.OnRevisionDateChanging(value); - this.SendPropertyChanging(); - this._RevisionDate = value; - this.SendPropertyChanged("RevisionDate"); - this.OnRevisionDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImplementationDate", DbType="DateTime")] - public System.Nullable ImplementationDate - { - get - { - return this._ImplementationDate; - } - set - { - if ((this._ImplementationDate != value)) - { - this.OnImplementationDateChanging(value); - this.SendPropertyChanging(); - this._ImplementationDate = value; - this.SendPropertyChanged("ImplementationDate"); - this.OnImplementationDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Common_LawRegulationSelectedItem_Common_LawRegulation", Storage="_Common_LawRegulationSelectedItem", ThisKey="LawRegulationId", OtherKey="LawRegulationId", DeleteRule="NO ACTION")] - public EntitySet Common_LawRegulationSelectedItem - { - get - { - return this._Common_LawRegulationSelectedItem; - } - set - { - this._Common_LawRegulationSelectedItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Common_LawRegulationSelectedItem(Common_LawRegulationSelectedItem entity) - { - this.SendPropertyChanging(); - entity.Common_LawRegulation = this; - } - - private void detach_Common_LawRegulationSelectedItem(Common_LawRegulationSelectedItem entity) - { - this.SendPropertyChanging(); - entity.Common_LawRegulation = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_LawRegulationIdentify")] - public partial class Common_LawRegulationIdentify : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _LawRegulationIdentifyCode; - - private string _VersionNumber; - - private string _ProjectId; - - private string _IdentifyPerson; - - private System.Nullable _IdentifyDate; - - private string _ManagerContent; - - private string _IdentifyConclude; - - private string _State; - - private string _GroupMember; - - private string _Remark; - - private string _Type; - - private EntityRef _Base_Project; - - private EntitySet _Common_LawRegulationSelectedItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnLawRegulationIdentifyCodeChanging(string value); - partial void OnLawRegulationIdentifyCodeChanged(); - partial void OnVersionNumberChanging(string value); - partial void OnVersionNumberChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnIdentifyPersonChanging(string value); - partial void OnIdentifyPersonChanged(); - partial void OnIdentifyDateChanging(System.Nullable value); - partial void OnIdentifyDateChanged(); - partial void OnManagerContentChanging(string value); - partial void OnManagerContentChanged(); - partial void OnIdentifyConcludeChanging(string value); - partial void OnIdentifyConcludeChanged(); - partial void OnStateChanging(string value); - partial void OnStateChanged(); - partial void OnGroupMemberChanging(string value); - partial void OnGroupMemberChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - #endregion - - public Common_LawRegulationIdentify() - { - this._Base_Project = default(EntityRef); - this._Common_LawRegulationSelectedItem = new EntitySet(new Action(this.attach_Common_LawRegulationSelectedItem), new Action(this.detach_Common_LawRegulationSelectedItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationIdentifyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string LawRegulationIdentifyCode - { - get - { - return this._LawRegulationIdentifyCode; - } - set - { - if ((this._LawRegulationIdentifyCode != value)) - { - this.OnLawRegulationIdentifyCodeChanging(value); - this.SendPropertyChanging(); - this._LawRegulationIdentifyCode = value; - this.SendPropertyChanged("LawRegulationIdentifyCode"); - this.OnLawRegulationIdentifyCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VersionNumber", DbType="NVarChar(10)")] - public string VersionNumber - { - get - { - return this._VersionNumber; - } - set - { - if ((this._VersionNumber != value)) - { - this.OnVersionNumberChanging(value); - this.SendPropertyChanging(); - this._VersionNumber = value; - this.SendPropertyChanged("VersionNumber"); - this.OnVersionNumberChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyPerson", DbType="NVarChar(50)")] - public string IdentifyPerson - { - get - { - return this._IdentifyPerson; - } - set - { - if ((this._IdentifyPerson != value)) - { - this.OnIdentifyPersonChanging(value); - this.SendPropertyChanging(); - this._IdentifyPerson = value; - this.SendPropertyChanged("IdentifyPerson"); - this.OnIdentifyPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyDate", DbType="DateTime")] - public System.Nullable IdentifyDate - { - get - { - return this._IdentifyDate; - } - set - { - if ((this._IdentifyDate != value)) - { - this.OnIdentifyDateChanging(value); - this.SendPropertyChanging(); - this._IdentifyDate = value; - this.SendPropertyChanged("IdentifyDate"); - this.OnIdentifyDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManagerContent", DbType="NText", UpdateCheck=UpdateCheck.Never)] - public string ManagerContent - { - get - { - return this._ManagerContent; - } - set - { - if ((this._ManagerContent != value)) - { - this.OnManagerContentChanging(value); - this.SendPropertyChanging(); - this._ManagerContent = value; - this.SendPropertyChanged("ManagerContent"); - this.OnManagerContentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyConclude", DbType="NText", UpdateCheck=UpdateCheck.Never)] - public string IdentifyConclude - { - get - { - return this._IdentifyConclude; - } - set - { - if ((this._IdentifyConclude != value)) - { - this.OnIdentifyConcludeChanging(value); - this.SendPropertyChanging(); - this._IdentifyConclude = value; - this.SendPropertyChanged("IdentifyConclude"); - this.OnIdentifyConcludeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="NChar(1)")] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this.OnStateChanging(value); - this.SendPropertyChanging(); - this._State = value; - this.SendPropertyChanged("State"); - this.OnStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupMember", DbType="NVarChar(150)")] - public string GroupMember - { - get - { - return this._GroupMember; - } - set - { - if ((this._GroupMember != value)) - { - this.OnGroupMemberChanging(value); - this.SendPropertyChanging(); - this._GroupMember = value; - this.SendPropertyChanged("GroupMember"); - this.OnGroupMemberChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(150)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_LawRegulationIdentify_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Common_LawRegulationIdentify.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Common_LawRegulationIdentify.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_LawRegulationSelectedItem_Common_LawRegulationIdentify", Storage="_Common_LawRegulationSelectedItem", ThisKey="LawRegulationIdentifyCode", OtherKey="LawRegulationIdentifyCode", DeleteRule="NO ACTION")] - public EntitySet Common_LawRegulationSelectedItem - { - get - { - return this._Common_LawRegulationSelectedItem; - } - set - { - this._Common_LawRegulationSelectedItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Common_LawRegulationSelectedItem(Common_LawRegulationSelectedItem entity) - { - this.SendPropertyChanging(); - entity.Common_LawRegulationIdentify = this; - } - - private void detach_Common_LawRegulationSelectedItem(Common_LawRegulationSelectedItem entity) - { - this.SendPropertyChanging(); - entity.Common_LawRegulationIdentify = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_LawRegulationSelectedItem")] - public partial class Common_LawRegulationSelectedItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _LawRegulationSelectedItemId; - - private string _LawRegulationIdentifyCode; - - private string _LawRegulationGrade; - - private string _FitPerfomance; - - private string _LawRegulationId; - - private EntityRef _Common_LawRegulation; - - private EntityRef _Common_LawRegulationIdentify; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnLawRegulationSelectedItemIdChanging(string value); - partial void OnLawRegulationSelectedItemIdChanged(); - partial void OnLawRegulationIdentifyCodeChanging(string value); - partial void OnLawRegulationIdentifyCodeChanged(); - partial void OnLawRegulationGradeChanging(string value); - partial void OnLawRegulationGradeChanged(); - partial void OnFitPerfomanceChanging(string value); - partial void OnFitPerfomanceChanged(); - partial void OnLawRegulationIdChanging(string value); - partial void OnLawRegulationIdChanged(); - #endregion - - public Common_LawRegulationSelectedItem() - { - this._Common_LawRegulation = default(EntityRef); - this._Common_LawRegulationIdentify = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationSelectedItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string LawRegulationSelectedItemId - { - get - { - return this._LawRegulationSelectedItemId; - } - set - { - if ((this._LawRegulationSelectedItemId != value)) - { - this.OnLawRegulationSelectedItemIdChanging(value); - this.SendPropertyChanging(); - this._LawRegulationSelectedItemId = value; - this.SendPropertyChanged("LawRegulationSelectedItemId"); - this.OnLawRegulationSelectedItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationIdentifyCode", DbType="NVarChar(50)")] - public string LawRegulationIdentifyCode - { - get - { - return this._LawRegulationIdentifyCode; - } - set - { - if ((this._LawRegulationIdentifyCode != value)) - { - if (this._Common_LawRegulationIdentify.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnLawRegulationIdentifyCodeChanging(value); - this.SendPropertyChanging(); - this._LawRegulationIdentifyCode = value; - this.SendPropertyChanged("LawRegulationIdentifyCode"); - this.OnLawRegulationIdentifyCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationGrade", DbType="Char(1)")] - public string LawRegulationGrade - { - get - { - return this._LawRegulationGrade; - } - set - { - if ((this._LawRegulationGrade != value)) - { - this.OnLawRegulationGradeChanging(value); - this.SendPropertyChanging(); - this._LawRegulationGrade = value; - this.SendPropertyChanged("LawRegulationGrade"); - this.OnLawRegulationGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FitPerfomance", DbType="NVarChar(100)")] - public string FitPerfomance - { - get - { - return this._FitPerfomance; - } - set - { - if ((this._FitPerfomance != value)) - { - this.OnFitPerfomanceChanging(value); - this.SendPropertyChanging(); - this._FitPerfomance = value; - this.SendPropertyChanged("FitPerfomance"); - this.OnFitPerfomanceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationId", DbType="NVarChar(50)")] - public string LawRegulationId - { - get - { - return this._LawRegulationId; - } - set - { - if ((this._LawRegulationId != value)) - { - if (this._Common_LawRegulation.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnLawRegulationIdChanging(value); - this.SendPropertyChanging(); - this._LawRegulationId = value; - this.SendPropertyChanged("LawRegulationId"); - this.OnLawRegulationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Common_LawRegulationSelectedItem_Common_LawRegulation", Storage="_Common_LawRegulation", ThisKey="LawRegulationId", OtherKey="LawRegulationId", IsForeignKey=true)] - public Common_LawRegulation Common_LawRegulation - { - get - { - return this._Common_LawRegulation.Entity; - } - set - { - Common_LawRegulation previousValue = this._Common_LawRegulation.Entity; - if (((previousValue != value) - || (this._Common_LawRegulation.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Common_LawRegulation.Entity = null; - previousValue.Common_LawRegulationSelectedItem.Remove(this); - } - this._Common_LawRegulation.Entity = value; - if ((value != null)) - { - value.Common_LawRegulationSelectedItem.Add(this); - this._LawRegulationId = value.LawRegulationId; - } - else - { - this._LawRegulationId = default(string); - } - this.SendPropertyChanged("Common_LawRegulation"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_LawRegulationSelectedItem_Common_LawRegulationIdentify", Storage="_Common_LawRegulationIdentify", ThisKey="LawRegulationIdentifyCode", OtherKey="LawRegulationIdentifyCode", IsForeignKey=true)] - public Common_LawRegulationIdentify Common_LawRegulationIdentify - { - get - { - return this._Common_LawRegulationIdentify.Entity; - } - set - { - Common_LawRegulationIdentify previousValue = this._Common_LawRegulationIdentify.Entity; - if (((previousValue != value) - || (this._Common_LawRegulationIdentify.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Common_LawRegulationIdentify.Entity = null; - previousValue.Common_LawRegulationSelectedItem.Remove(this); - } - this._Common_LawRegulationIdentify.Entity = value; - if ((value != null)) - { - value.Common_LawRegulationSelectedItem.Add(this); - this._LawRegulationIdentifyCode = value.LawRegulationIdentifyCode; - } - else - { - this._LawRegulationIdentifyCode = default(string); - } - this.SendPropertyChanged("Common_LawRegulationIdentify"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_Notice")] - public partial class Common_Notice : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _NoticeId; - - private string _NoticeCode; - - private string _ProjectId; - - private string _NoticeTitle; - - private string _MainContent; - - private string _ClearUpMan; - - private System.Nullable _CompileDate; - - private System.Nullable _IsRelease; - - private string _State; - - private System.Data.Linq.Binary _FileContent; - - private string _AttachUrl; - - private string _SystemId; - - private string _AccessSystemId; - - private string _AccessProjectId; - - private string _AccessSystemText; - - private string _AccessProjectText; - - private string _Flag; - - private EntityRef _Base_Project; - - private EntitySet _Common_NoticeSign; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnNoticeIdChanging(string value); - partial void OnNoticeIdChanged(); - partial void OnNoticeCodeChanging(string value); - partial void OnNoticeCodeChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnNoticeTitleChanging(string value); - partial void OnNoticeTitleChanged(); - partial void OnMainContentChanging(string value); - partial void OnMainContentChanged(); - partial void OnClearUpManChanging(string value); - partial void OnClearUpManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnIsReleaseChanging(System.Nullable value); - partial void OnIsReleaseChanged(); - partial void OnStateChanging(string value); - partial void OnStateChanged(); - partial void OnFileContentChanging(System.Data.Linq.Binary value); - partial void OnFileContentChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnSystemIdChanging(string value); - partial void OnSystemIdChanged(); - partial void OnAccessSystemIdChanging(string value); - partial void OnAccessSystemIdChanged(); - partial void OnAccessProjectIdChanging(string value); - partial void OnAccessProjectIdChanged(); - partial void OnAccessSystemTextChanging(string value); - partial void OnAccessSystemTextChanged(); - partial void OnAccessProjectTextChanging(string value); - partial void OnAccessProjectTextChanged(); - partial void OnFlagChanging(string value); - partial void OnFlagChanged(); - #endregion - - public Common_Notice() - { - this._Base_Project = default(EntityRef); - this._Common_NoticeSign = new EntitySet(new Action(this.attach_Common_NoticeSign), new Action(this.detach_Common_NoticeSign)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string NoticeId - { - get - { - return this._NoticeId; - } - set - { - if ((this._NoticeId != value)) - { - this.OnNoticeIdChanging(value); - this.SendPropertyChanging(); - this._NoticeId = value; - this.SendPropertyChanged("NoticeId"); - this.OnNoticeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeCode", DbType="NVarChar(30) NOT NULL", CanBeNull=false)] - public string NoticeCode - { - get - { - return this._NoticeCode; - } - set - { - if ((this._NoticeCode != value)) - { - this.OnNoticeCodeChanging(value); - this.SendPropertyChanging(); - this._NoticeCode = value; - this.SendPropertyChanged("NoticeCode"); - this.OnNoticeCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeTitle", DbType="NVarChar(50)")] - public string NoticeTitle - { - get - { - return this._NoticeTitle; - } - set - { - if ((this._NoticeTitle != value)) - { - this.OnNoticeTitleChanging(value); - this.SendPropertyChanging(); - this._NoticeTitle = value; - this.SendPropertyChanged("NoticeTitle"); - this.OnNoticeTitleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainContent", DbType="NVarChar(800)")] - public string MainContent - { - get - { - return this._MainContent; - } - set - { - if ((this._MainContent != value)) - { - this.OnMainContentChanging(value); - this.SendPropertyChanging(); - this._MainContent = value; - this.SendPropertyChanged("MainContent"); - this.OnMainContentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClearUpMan", DbType="NVarChar(50)")] - public string ClearUpMan - { - get - { - return this._ClearUpMan; - } - set - { - if ((this._ClearUpMan != value)) - { - this.OnClearUpManChanging(value); - this.SendPropertyChanging(); - this._ClearUpMan = value; - this.SendPropertyChanged("ClearUpMan"); - this.OnClearUpManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsRelease", DbType="Bit")] - public System.Nullable IsRelease - { - get - { - return this._IsRelease; - } - set - { - if ((this._IsRelease != value)) - { - this.OnIsReleaseChanging(value); - this.SendPropertyChanging(); - this._IsRelease = value; - this.SendPropertyChanged("IsRelease"); - this.OnIsReleaseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="NChar(1)")] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this.OnStateChanging(value); - this.SendPropertyChanging(); - this._State = value; - this.SendPropertyChanged("State"); - this.OnStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileContent", DbType="Image", CanBeNull=true, UpdateCheck=UpdateCheck.Never)] - public System.Data.Linq.Binary FileContent - { - get - { - return this._FileContent; - } - set - { - if ((this._FileContent != value)) - { - this.OnFileContentChanging(value); - this.SendPropertyChanging(); - this._FileContent = value; - this.SendPropertyChanged("FileContent"); - this.OnFileContentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(150)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="NVarChar(50)")] - public string SystemId - { - get - { - return this._SystemId; - } - set - { - if ((this._SystemId != value)) - { - this.OnSystemIdChanging(value); - this.SendPropertyChanging(); - this._SystemId = value; - this.SendPropertyChanged("SystemId"); - this.OnSystemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccessSystemId", DbType="NVarChar(800)")] - public string AccessSystemId - { - get - { - return this._AccessSystemId; - } - set - { - if ((this._AccessSystemId != value)) - { - this.OnAccessSystemIdChanging(value); - this.SendPropertyChanging(); - this._AccessSystemId = value; - this.SendPropertyChanged("AccessSystemId"); - this.OnAccessSystemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccessProjectId", DbType="NVarChar(800)")] - public string AccessProjectId - { - get - { - return this._AccessProjectId; - } - set - { - if ((this._AccessProjectId != value)) - { - this.OnAccessProjectIdChanging(value); - this.SendPropertyChanging(); - this._AccessProjectId = value; - this.SendPropertyChanged("AccessProjectId"); - this.OnAccessProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccessSystemText", DbType="NVarChar(800)")] - public string AccessSystemText - { - get - { - return this._AccessSystemText; - } - set - { - if ((this._AccessSystemText != value)) - { - this.OnAccessSystemTextChanging(value); - this.SendPropertyChanging(); - this._AccessSystemText = value; - this.SendPropertyChanged("AccessSystemText"); - this.OnAccessSystemTextChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccessProjectText", DbType="NVarChar(800)")] - public string AccessProjectText - { - get - { - return this._AccessProjectText; - } - set - { - if ((this._AccessProjectText != value)) - { - this.OnAccessProjectTextChanging(value); - this.SendPropertyChanging(); - this._AccessProjectText = value; - this.SendPropertyChanged("AccessProjectText"); - this.OnAccessProjectTextChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Char(1)")] - public string Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this.OnFlagChanging(value); - this.SendPropertyChanging(); - this._Flag = value; - this.SendPropertyChanged("Flag"); - this.OnFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_Notice_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Common_Notice.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Common_Notice.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_NoticeSign_Common_Notice", Storage="_Common_NoticeSign", ThisKey="NoticeId", OtherKey="NoticeId", DeleteRule="NO ACTION")] - public EntitySet Common_NoticeSign - { - get - { - return this._Common_NoticeSign; - } - set - { - this._Common_NoticeSign.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Common_NoticeSign(Common_NoticeSign entity) - { - this.SendPropertyChanging(); - entity.Common_Notice = this; - } - - private void detach_Common_NoticeSign(Common_NoticeSign entity) - { - this.SendPropertyChanging(); - entity.Common_Notice = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_NoticeSign")] - public partial class Common_NoticeSign : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _NoticeSignId; - - private string _NoticeId; - - private string _SignMan; - - private System.Nullable _SinaDate; - - private string _SignIdea; - - private System.Nullable _IsAgree; - - private string _SignStep; - - private EntityRef _Common_Notice; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnNoticeSignIdChanging(string value); - partial void OnNoticeSignIdChanged(); - partial void OnNoticeIdChanging(string value); - partial void OnNoticeIdChanged(); - partial void OnSignManChanging(string value); - partial void OnSignManChanged(); - partial void OnSinaDateChanging(System.Nullable value); - partial void OnSinaDateChanged(); - partial void OnSignIdeaChanging(string value); - partial void OnSignIdeaChanged(); - partial void OnIsAgreeChanging(System.Nullable value); - partial void OnIsAgreeChanged(); - partial void OnSignStepChanging(string value); - partial void OnSignStepChanged(); - #endregion - - public Common_NoticeSign() - { - this._Common_Notice = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeSignId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string NoticeSignId - { - get - { - return this._NoticeSignId; - } - set - { - if ((this._NoticeSignId != value)) - { - this.OnNoticeSignIdChanging(value); - this.SendPropertyChanging(); - this._NoticeSignId = value; - this.SendPropertyChanged("NoticeSignId"); - this.OnNoticeSignIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeId", DbType="NVarChar(50)")] - public string NoticeId - { - get - { - return this._NoticeId; - } - set - { - if ((this._NoticeId != value)) - { - if (this._Common_Notice.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnNoticeIdChanging(value); - this.SendPropertyChanging(); - this._NoticeId = value; - this.SendPropertyChanged("NoticeId"); - this.OnNoticeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignMan", DbType="NVarChar(50)")] - public string SignMan - { - get - { - return this._SignMan; - } - set - { - if ((this._SignMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSignManChanging(value); - this.SendPropertyChanging(); - this._SignMan = value; - this.SendPropertyChanged("SignMan"); - this.OnSignManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SinaDate", DbType="DateTime")] - public System.Nullable SinaDate - { - get - { - return this._SinaDate; - } - set - { - if ((this._SinaDate != value)) - { - this.OnSinaDateChanging(value); - this.SendPropertyChanging(); - this._SinaDate = value; - this.SendPropertyChanged("SinaDate"); - this.OnSinaDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignIdea", DbType="NVarChar(100)")] - public string SignIdea - { - get - { - return this._SignIdea; - } - set - { - if ((this._SignIdea != value)) - { - this.OnSignIdeaChanging(value); - this.SendPropertyChanging(); - this._SignIdea = value; - this.SendPropertyChanged("SignIdea"); - this.OnSignIdeaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgree", DbType="Bit")] - public System.Nullable IsAgree - { - get - { - return this._IsAgree; - } - set - { - if ((this._IsAgree != value)) - { - this.OnIsAgreeChanging(value); - this.SendPropertyChanging(); - this._IsAgree = value; - this.SendPropertyChanged("IsAgree"); - this.OnIsAgreeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignStep", DbType="NChar(1)")] - public string SignStep - { - get - { - return this._SignStep; - } - set - { - if ((this._SignStep != value)) - { - this.OnSignStepChanging(value); - this.SendPropertyChanging(); - this._SignStep = value; - this.SendPropertyChanged("SignStep"); - this.OnSignStepChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_NoticeSign_Common_Notice", Storage="_Common_Notice", ThisKey="NoticeId", OtherKey="NoticeId", IsForeignKey=true)] - public Common_Notice Common_Notice - { - get - { - return this._Common_Notice.Entity; - } - set - { - Common_Notice previousValue = this._Common_Notice.Entity; - if (((previousValue != value) - || (this._Common_Notice.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Common_Notice.Entity = null; - previousValue.Common_NoticeSign.Remove(this); - } - this._Common_Notice.Entity = value; - if ((value != null)) - { - value.Common_NoticeSign.Add(this); - this._NoticeId = value.NoticeId; - } - else - { - this._NoticeId = default(string); - } - this.SendPropertyChanged("Common_Notice"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_NoticeSign_Sys_User", Storage="_Sys_User", ThisKey="SignMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Common_NoticeSign.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Common_NoticeSign.Add(this); - this._SignMan = value.UserId; - } - else - { - this._SignMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Common_ReportServer")] - public partial class Common_ReportServer : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ReportId; - - private string _TabContent; - - private string _ReportName; - - private string _InitTabContent; - - private string _ProjectId; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnReportIdChanging(string value); - partial void OnReportIdChanged(); - partial void OnTabContentChanging(string value); - partial void OnTabContentChanged(); - partial void OnReportNameChanging(string value); - partial void OnReportNameChanged(); - partial void OnInitTabContentChanging(string value); - partial void OnInitTabContentChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - #endregion - - public Common_ReportServer() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportId", DbType="NChar(3) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ReportId - { - get - { - return this._ReportId; - } - set - { - if ((this._ReportId != value)) - { - this.OnReportIdChanging(value); - this.SendPropertyChanging(); - this._ReportId = value; - this.SendPropertyChanged("ReportId"); - this.OnReportIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TabContent", DbType="NText", UpdateCheck=UpdateCheck.Never)] - public string TabContent - { - get - { - return this._TabContent; - } - set - { - if ((this._TabContent != value)) - { - this.OnTabContentChanging(value); - this.SendPropertyChanging(); - this._TabContent = value; - this.SendPropertyChanged("TabContent"); - this.OnTabContentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportName", DbType="NVarChar(100)")] - public string ReportName - { - get - { - return this._ReportName; - } - set - { - if ((this._ReportName != value)) - { - this.OnReportNameChanging(value); - this.SendPropertyChanging(); - this._ReportName = value; - this.SendPropertyChanged("ReportName"); - this.OnReportNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InitTabContent", DbType="NText", UpdateCheck=UpdateCheck.Never)] - public string InitTabContent - { - get - { - return this._InitTabContent; - } - set - { - if ((this._InitTabContent != value)) - { - this.OnInitTabContentChanging(value); - this.SendPropertyChanging(); - this._InitTabContent = value; - this.SendPropertyChanged("InitTabContent"); - this.OnInitTabContentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="projectId", Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Base_HotProcessCard")] - public partial class HJGL_Base_HotProcessCard : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HpcId; - - private string _Shejiwj; - - private string _Guandaocz; - - private string _Guandaogg; - - private string _Jietouxs; - - private string _Yijuhanpin; - - private string _Kzxtxh; - - private string _Jiareqixh; - - private string _Cewenyq; - - private string _Buchangdx; - - private string _Jiaredaigd; - - private string _Bwkuandu; - - private string _Bwcailao; - - private string _Bwdianshu; - - private string _Cewendianshc; - - private string _Hanhouchl; - - private string _Jiaresd; - - private string _Bwwendu; - - private string _Bwshijian; - - private string _Lenquesd; - - private string _Ewailq; - - private string _Lilunhanhou; - - private string _Qishuyq; - - private string _Qitashc; - - private EntitySet _HJGL_WeldingProcedure_WeldHotProcessCard; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHpcIdChanging(string value); - partial void OnHpcIdChanged(); - partial void OnShejiwjChanging(string value); - partial void OnShejiwjChanged(); - partial void OnGuandaoczChanging(string value); - partial void OnGuandaoczChanged(); - partial void OnGuandaoggChanging(string value); - partial void OnGuandaoggChanged(); - partial void OnJietouxsChanging(string value); - partial void OnJietouxsChanged(); - partial void OnYijuhanpinChanging(string value); - partial void OnYijuhanpinChanged(); - partial void OnKzxtxhChanging(string value); - partial void OnKzxtxhChanged(); - partial void OnJiareqixhChanging(string value); - partial void OnJiareqixhChanged(); - partial void OnCewenyqChanging(string value); - partial void OnCewenyqChanged(); - partial void OnBuchangdxChanging(string value); - partial void OnBuchangdxChanged(); - partial void OnJiaredaigdChanging(string value); - partial void OnJiaredaigdChanged(); - partial void OnBwkuanduChanging(string value); - partial void OnBwkuanduChanged(); - partial void OnBwcailaoChanging(string value); - partial void OnBwcailaoChanged(); - partial void OnBwdianshuChanging(string value); - partial void OnBwdianshuChanged(); - partial void OnCewendianshcChanging(string value); - partial void OnCewendianshcChanged(); - partial void OnHanhouchlChanging(string value); - partial void OnHanhouchlChanged(); - partial void OnJiaresdChanging(string value); - partial void OnJiaresdChanged(); - partial void OnBwwenduChanging(string value); - partial void OnBwwenduChanged(); - partial void OnBwshijianChanging(string value); - partial void OnBwshijianChanged(); - partial void OnLenquesdChanging(string value); - partial void OnLenquesdChanged(); - partial void OnEwailqChanging(string value); - partial void OnEwailqChanged(); - partial void OnLilunhanhouChanging(string value); - partial void OnLilunhanhouChanged(); - partial void OnQishuyqChanging(string value); - partial void OnQishuyqChanged(); - partial void OnQitashcChanging(string value); - partial void OnQitashcChanged(); - #endregion - - public HJGL_Base_HotProcessCard() - { - this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HpcId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HpcId - { - get - { - return this._HpcId; - } - set - { - if ((this._HpcId != value)) - { - this.OnHpcIdChanging(value); - this.SendPropertyChanging(); - this._HpcId = value; - this.SendPropertyChanged("HpcId"); - this.OnHpcIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="shejiwj", Storage="_Shejiwj", DbType="VarChar(100)")] - public string Shejiwj - { - get - { - return this._Shejiwj; - } - set - { - if ((this._Shejiwj != value)) - { - this.OnShejiwjChanging(value); - this.SendPropertyChanging(); - this._Shejiwj = value; - this.SendPropertyChanged("Shejiwj"); - this.OnShejiwjChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="guandaocz", Storage="_Guandaocz", DbType="VarChar(100)")] - public string Guandaocz - { - get - { - return this._Guandaocz; - } - set - { - if ((this._Guandaocz != value)) - { - this.OnGuandaoczChanging(value); - this.SendPropertyChanging(); - this._Guandaocz = value; - this.SendPropertyChanged("Guandaocz"); - this.OnGuandaoczChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="guandaogg", Storage="_Guandaogg", DbType="VarChar(100)")] - public string Guandaogg - { - get - { - return this._Guandaogg; - } - set - { - if ((this._Guandaogg != value)) - { - this.OnGuandaoggChanging(value); - this.SendPropertyChanging(); - this._Guandaogg = value; - this.SendPropertyChanged("Guandaogg"); - this.OnGuandaoggChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jietouxs", Storage="_Jietouxs", DbType="VarChar(100)")] - public string Jietouxs - { - get - { - return this._Jietouxs; - } - set - { - if ((this._Jietouxs != value)) - { - this.OnJietouxsChanging(value); - this.SendPropertyChanging(); - this._Jietouxs = value; - this.SendPropertyChanged("Jietouxs"); - this.OnJietouxsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="yijuhanpin", Storage="_Yijuhanpin", DbType="VarChar(100)")] - public string Yijuhanpin - { - get - { - return this._Yijuhanpin; - } - set - { - if ((this._Yijuhanpin != value)) - { - this.OnYijuhanpinChanging(value); - this.SendPropertyChanging(); - this._Yijuhanpin = value; - this.SendPropertyChanged("Yijuhanpin"); - this.OnYijuhanpinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="kzxtxh", Storage="_Kzxtxh", DbType="VarChar(50)")] - public string Kzxtxh - { - get - { - return this._Kzxtxh; - } - set - { - if ((this._Kzxtxh != value)) - { - this.OnKzxtxhChanging(value); - this.SendPropertyChanging(); - this._Kzxtxh = value; - this.SendPropertyChanged("Kzxtxh"); - this.OnKzxtxhChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jiareqixh", Storage="_Jiareqixh", DbType="VarChar(100)")] - public string Jiareqixh - { - get - { - return this._Jiareqixh; - } - set - { - if ((this._Jiareqixh != value)) - { - this.OnJiareqixhChanging(value); - this.SendPropertyChanging(); - this._Jiareqixh = value; - this.SendPropertyChanged("Jiareqixh"); - this.OnJiareqixhChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="cewenyq", Storage="_Cewenyq", DbType="VarChar(100)")] - public string Cewenyq - { - get - { - return this._Cewenyq; - } - set - { - if ((this._Cewenyq != value)) - { - this.OnCewenyqChanging(value); - this.SendPropertyChanging(); - this._Cewenyq = value; - this.SendPropertyChanged("Cewenyq"); - this.OnCewenyqChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="buchangdx", Storage="_Buchangdx", DbType="VarChar(100)")] - public string Buchangdx - { - get - { - return this._Buchangdx; - } - set - { - if ((this._Buchangdx != value)) - { - this.OnBuchangdxChanging(value); - this.SendPropertyChanging(); - this._Buchangdx = value; - this.SendPropertyChanged("Buchangdx"); - this.OnBuchangdxChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jiaredaigd", Storage="_Jiaredaigd", DbType="VarChar(100)")] - public string Jiaredaigd - { - get - { - return this._Jiaredaigd; - } - set - { - if ((this._Jiaredaigd != value)) - { - this.OnJiaredaigdChanging(value); - this.SendPropertyChanging(); - this._Jiaredaigd = value; - this.SendPropertyChanged("Jiaredaigd"); - this.OnJiaredaigdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwkuandu", Storage="_Bwkuandu", DbType="VarChar(100)")] - public string Bwkuandu - { - get - { - return this._Bwkuandu; - } - set - { - if ((this._Bwkuandu != value)) - { - this.OnBwkuanduChanging(value); - this.SendPropertyChanging(); - this._Bwkuandu = value; - this.SendPropertyChanged("Bwkuandu"); - this.OnBwkuanduChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwcailao", Storage="_Bwcailao", DbType="VarChar(100)")] - public string Bwcailao - { - get - { - return this._Bwcailao; - } - set - { - if ((this._Bwcailao != value)) - { - this.OnBwcailaoChanging(value); - this.SendPropertyChanging(); - this._Bwcailao = value; - this.SendPropertyChanged("Bwcailao"); - this.OnBwcailaoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwdianshu", Storage="_Bwdianshu", DbType="VarChar(100)")] - public string Bwdianshu - { - get - { - return this._Bwdianshu; - } - set - { - if ((this._Bwdianshu != value)) - { - this.OnBwdianshuChanging(value); - this.SendPropertyChanging(); - this._Bwdianshu = value; - this.SendPropertyChanged("Bwdianshu"); - this.OnBwdianshuChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="cewendianshc", Storage="_Cewendianshc", DbType="NVarChar(2000)")] - public string Cewendianshc - { - get - { - return this._Cewendianshc; - } - set - { - if ((this._Cewendianshc != value)) - { - this.OnCewendianshcChanging(value); - this.SendPropertyChanging(); - this._Cewendianshc = value; - this.SendPropertyChanged("Cewendianshc"); - this.OnCewendianshcChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="hanhouchl", Storage="_Hanhouchl", DbType="VarChar(50)")] - public string Hanhouchl - { - get - { - return this._Hanhouchl; - } - set - { - if ((this._Hanhouchl != value)) - { - this.OnHanhouchlChanging(value); - this.SendPropertyChanging(); - this._Hanhouchl = value; - this.SendPropertyChanged("Hanhouchl"); - this.OnHanhouchlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jiaresd", Storage="_Jiaresd", DbType="VarChar(100)")] - public string Jiaresd - { - get - { - return this._Jiaresd; - } - set - { - if ((this._Jiaresd != value)) - { - this.OnJiaresdChanging(value); - this.SendPropertyChanging(); - this._Jiaresd = value; - this.SendPropertyChanged("Jiaresd"); - this.OnJiaresdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwwendu", Storage="_Bwwendu", DbType="VarChar(100)")] - public string Bwwendu - { - get - { - return this._Bwwendu; - } - set - { - if ((this._Bwwendu != value)) - { - this.OnBwwenduChanging(value); - this.SendPropertyChanging(); - this._Bwwendu = value; - this.SendPropertyChanged("Bwwendu"); - this.OnBwwenduChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwshijian", Storage="_Bwshijian", DbType="VarChar(100)")] - public string Bwshijian - { - get - { - return this._Bwshijian; - } - set - { - if ((this._Bwshijian != value)) - { - this.OnBwshijianChanging(value); - this.SendPropertyChanging(); - this._Bwshijian = value; - this.SendPropertyChanged("Bwshijian"); - this.OnBwshijianChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="lenquesd", Storage="_Lenquesd", DbType="VarChar(100)")] - public string Lenquesd - { - get - { - return this._Lenquesd; - } - set - { - if ((this._Lenquesd != value)) - { - this.OnLenquesdChanging(value); - this.SendPropertyChanging(); - this._Lenquesd = value; - this.SendPropertyChanged("Lenquesd"); - this.OnLenquesdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="ewailq", Storage="_Ewailq", DbType="VarChar(100)")] - public string Ewailq - { - get - { - return this._Ewailq; - } - set - { - if ((this._Ewailq != value)) - { - this.OnEwailqChanging(value); - this.SendPropertyChanging(); - this._Ewailq = value; - this.SendPropertyChanged("Ewailq"); - this.OnEwailqChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="lilunhanhou", Storage="_Lilunhanhou", DbType="NVarChar(2000)")] - public string Lilunhanhou - { - get - { - return this._Lilunhanhou; - } - set - { - if ((this._Lilunhanhou != value)) - { - this.OnLilunhanhouChanging(value); - this.SendPropertyChanging(); - this._Lilunhanhou = value; - this.SendPropertyChanged("Lilunhanhou"); - this.OnLilunhanhouChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="qishuyq", Storage="_Qishuyq", DbType="VarChar(100)")] - public string Qishuyq - { - get - { - return this._Qishuyq; - } - set - { - if ((this._Qishuyq != value)) - { - this.OnQishuyqChanging(value); - this.SendPropertyChanging(); - this._Qishuyq = value; - this.SendPropertyChanged("Qishuyq"); - this.OnQishuyqChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="qitashc", Storage="_Qitashc", DbType="VarChar(100)")] - public string Qitashc - { - get - { - return this._Qitashc; - } - set - { - if ((this._Qitashc != value)) - { - this.OnQitashcChanging(value); - this.SendPropertyChanging(); - this._Qitashc = value; - this.SendPropertyChanged("Qitashc"); - this.OnQitashcChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldHotProcessCard_HJGL_Base_HotProcessCard", Storage="_HJGL_WeldingProcedure_WeldHotProcessCard", ThisKey="HpcId", OtherKey="HpcId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldHotProcessCard - { - get - { - return this._HJGL_WeldingProcedure_WeldHotProcessCard; - } - set - { - this._HJGL_WeldingProcedure_WeldHotProcessCard.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard entity) - { - this.SendPropertyChanging(); - entity.HJGL_Base_HotProcessCard = this; - } - - private void detach_HJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard entity) - { - this.SendPropertyChanging(); - entity.HJGL_Base_HotProcessCard = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_Batch")] - public partial class HJGL_BO_Batch : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _BatchId; - - private string _BatchCode; - - private string _ProjectId; - - private string _BatchCondition; - - private string _InstallationId; - - private string _ISO_ID; - - private string _TestPackage; - - private string _ISC_ID; - - private string _ExecStandardId; - - private string _SER_ID; - - private string _STE_ID; - - private string _JOTY_ID; - - private string _NDTR_ID; - - private string _WED_ID; - - private System.Nullable _IsSpecial; - - private System.Nullable _BatchIsClosed; - - private System.Nullable _BatchStartDate; - - private System.Nullable _BatchCloseDate; - - private System.Nullable _SubmitAskDate; - - private System.Nullable _AskCompleteDate; - - private System.Nullable _IsPrint; - - private System.Nullable _IsPrintRTTestingResult; - - private System.Nullable _ReportFeedback; - - private EntityRef _Base_Project; - - private EntityRef _Batch; - - private EntityRef _HJGL_BO_Batch_HJGL_BO_Batch; - - private EntityRef _HJGL_BS_ExecStandard; - - private EntityRef _HJGL_BS_IsoClass; - - private EntityRef _HJGL_BS_JointType; - - private EntityRef _HJGL_BS_NDTRate; - - private EntityRef _HJGL_BS_Service; - - private EntityRef _HJGL_BS_Steel; - - private EntityRef _HJGL_BS_Welder; - - private EntityRef _HJGL_PW_IsoInfo; - - private EntityRef _Project_Installation; - - private EntitySet _HJGL_BO_BatchDetail; - - private EntitySet _HJGL_CH_RepairItemRecord; - - private EntitySet _HJGL_CH_TestingReportPrint; - - private EntitySet _HJGL_CH_Trust; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnBatchIdChanging(string value); - partial void OnBatchIdChanged(); - partial void OnBatchCodeChanging(string value); - partial void OnBatchCodeChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnBatchConditionChanging(string value); - partial void OnBatchConditionChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnTestPackageChanging(string value); - partial void OnTestPackageChanged(); - partial void OnISC_IDChanging(string value); - partial void OnISC_IDChanged(); - partial void OnExecStandardIdChanging(string value); - partial void OnExecStandardIdChanged(); - partial void OnSER_IDChanging(string value); - partial void OnSER_IDChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnJOTY_IDChanging(string value); - partial void OnJOTY_IDChanged(); - partial void OnNDTR_IDChanging(string value); - partial void OnNDTR_IDChanged(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnIsSpecialChanging(System.Nullable value); - partial void OnIsSpecialChanged(); - partial void OnBatchIsClosedChanging(System.Nullable value); - partial void OnBatchIsClosedChanged(); - partial void OnBatchStartDateChanging(System.Nullable value); - partial void OnBatchStartDateChanged(); - partial void OnBatchCloseDateChanging(System.Nullable value); - partial void OnBatchCloseDateChanged(); - partial void OnSubmitAskDateChanging(System.Nullable value); - partial void OnSubmitAskDateChanged(); - partial void OnAskCompleteDateChanging(System.Nullable value); - partial void OnAskCompleteDateChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnIsPrintRTTestingResultChanging(System.Nullable value); - partial void OnIsPrintRTTestingResultChanged(); - partial void OnReportFeedbackChanging(System.Nullable value); - partial void OnReportFeedbackChanged(); - #endregion - - public HJGL_BO_Batch() - { - this._Base_Project = default(EntityRef); - this._Batch = default(EntityRef); - this._HJGL_BO_Batch_HJGL_BO_Batch = default(EntityRef); - this._HJGL_BS_ExecStandard = default(EntityRef); - this._HJGL_BS_IsoClass = default(EntityRef); - this._HJGL_BS_JointType = default(EntityRef); - this._HJGL_BS_NDTRate = default(EntityRef); - this._HJGL_BS_Service = default(EntityRef); - this._HJGL_BS_Steel = default(EntityRef); - this._HJGL_BS_Welder = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - this._Project_Installation = default(EntityRef); - this._HJGL_BO_BatchDetail = new EntitySet(new Action(this.attach_HJGL_BO_BatchDetail), new Action(this.detach_HJGL_BO_BatchDetail)); - this._HJGL_CH_RepairItemRecord = new EntitySet(new Action(this.attach_HJGL_CH_RepairItemRecord), new Action(this.detach_HJGL_CH_RepairItemRecord)); - this._HJGL_CH_TestingReportPrint = new EntitySet(new Action(this.attach_HJGL_CH_TestingReportPrint), new Action(this.detach_HJGL_CH_TestingReportPrint)); - this._HJGL_CH_Trust = new EntitySet(new Action(this.attach_HJGL_CH_Trust), new Action(this.detach_HJGL_CH_Trust)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - if (this._Batch.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBatchIdChanging(value); - this.SendPropertyChanging(); - this._BatchId = value; - this.SendPropertyChanged("BatchId"); - this.OnBatchIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this.OnBatchCodeChanging(value); - this.SendPropertyChanging(); - this._BatchCode = value; - this.SendPropertyChanged("BatchCode"); - this.OnBatchCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCondition", DbType="NVarChar(50)")] - public string BatchCondition - { - get - { - return this._BatchCondition; - } - set - { - if ((this._BatchCondition != value)) - { - this.OnBatchConditionChanging(value); - this.SendPropertyChanging(); - this._BatchCondition = value; - this.SendPropertyChanged("BatchCondition"); - this.OnBatchConditionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - if (this._Project_Installation.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPackage", DbType="NVarChar(50)")] - public string TestPackage - { - get - { - return this._TestPackage; - } - set - { - if ((this._TestPackage != value)) - { - this.OnTestPackageChanging(value); - this.SendPropertyChanging(); - this._TestPackage = value; - this.SendPropertyChanged("TestPackage"); - this.OnTestPackageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_ID", DbType="VarChar(50)")] - public string ISC_ID - { - get - { - return this._ISC_ID; - } - set - { - if ((this._ISC_ID != value)) - { - if (this._HJGL_BS_IsoClass.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISC_IDChanging(value); - this.SendPropertyChanging(); - this._ISC_ID = value; - this.SendPropertyChanged("ISC_ID"); - this.OnISC_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExecStandardId", DbType="NVarChar(50)")] - public string ExecStandardId - { - get - { - return this._ExecStandardId; - } - set - { - if ((this._ExecStandardId != value)) - { - if (this._HJGL_BS_ExecStandard.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnExecStandardIdChanging(value); - this.SendPropertyChanging(); - this._ExecStandardId = value; - this.SendPropertyChanged("ExecStandardId"); - this.OnExecStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_ID", DbType="VarChar(50)")] - public string SER_ID - { - get - { - return this._SER_ID; - } - set - { - if ((this._SER_ID != value)) - { - if (this._HJGL_BS_Service.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSER_IDChanging(value); - this.SendPropertyChanging(); - this._SER_ID = value; - this.SendPropertyChanged("SER_ID"); - this.OnSER_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_ID", DbType="VarChar(50)")] - public string JOTY_ID - { - get - { - return this._JOTY_ID; - } - set - { - if ((this._JOTY_ID != value)) - { - if (this._HJGL_BS_JointType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOTY_IDChanging(value); - this.SendPropertyChanging(); - this._JOTY_ID = value; - this.SendPropertyChanged("JOTY_ID"); - this.OnJOTY_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_ID", DbType="VarChar(50)")] - public string NDTR_ID - { - get - { - return this._NDTR_ID; - } - set - { - if ((this._NDTR_ID != value)) - { - if (this._HJGL_BS_NDTRate.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnNDTR_IDChanging(value); - this.SendPropertyChanging(); - this._NDTR_ID = value; - this.SendPropertyChanged("NDTR_ID"); - this.OnNDTR_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50)")] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSpecial", DbType="Bit")] - public System.Nullable IsSpecial - { - get - { - return this._IsSpecial; - } - set - { - if ((this._IsSpecial != value)) - { - this.OnIsSpecialChanging(value); - this.SendPropertyChanging(); - this._IsSpecial = value; - this.SendPropertyChanged("IsSpecial"); - this.OnIsSpecialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchIsClosed", DbType="Bit")] - public System.Nullable BatchIsClosed - { - get - { - return this._BatchIsClosed; - } - set - { - if ((this._BatchIsClosed != value)) - { - this.OnBatchIsClosedChanging(value); - this.SendPropertyChanging(); - this._BatchIsClosed = value; - this.SendPropertyChanged("BatchIsClosed"); - this.OnBatchIsClosedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchStartDate", DbType="DateTime")] - public System.Nullable BatchStartDate - { - get - { - return this._BatchStartDate; - } - set - { - if ((this._BatchStartDate != value)) - { - this.OnBatchStartDateChanging(value); - this.SendPropertyChanging(); - this._BatchStartDate = value; - this.SendPropertyChanged("BatchStartDate"); - this.OnBatchStartDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCloseDate", DbType="DateTime")] - public System.Nullable BatchCloseDate - { - get - { - return this._BatchCloseDate; - } - set - { - if ((this._BatchCloseDate != value)) - { - this.OnBatchCloseDateChanging(value); - this.SendPropertyChanging(); - this._BatchCloseDate = value; - this.SendPropertyChanged("BatchCloseDate"); - this.OnBatchCloseDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubmitAskDate", DbType="DateTime")] - public System.Nullable SubmitAskDate - { - get - { - return this._SubmitAskDate; - } - set - { - if ((this._SubmitAskDate != value)) - { - this.OnSubmitAskDateChanging(value); - this.SendPropertyChanging(); - this._SubmitAskDate = value; - this.SendPropertyChanged("SubmitAskDate"); - this.OnSubmitAskDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AskCompleteDate", DbType="DateTime")] - public System.Nullable AskCompleteDate - { - get - { - return this._AskCompleteDate; - } - set - { - if ((this._AskCompleteDate != value)) - { - this.OnAskCompleteDateChanging(value); - this.SendPropertyChanging(); - this._AskCompleteDate = value; - this.SendPropertyChanged("AskCompleteDate"); - this.OnAskCompleteDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrintRTTestingResult", DbType="Bit")] - public System.Nullable IsPrintRTTestingResult - { - get - { - return this._IsPrintRTTestingResult; - } - set - { - if ((this._IsPrintRTTestingResult != value)) - { - this.OnIsPrintRTTestingResultChanging(value); - this.SendPropertyChanging(); - this._IsPrintRTTestingResult = value; - this.SendPropertyChanged("IsPrintRTTestingResult"); - this.OnIsPrintRTTestingResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportFeedback", DbType="DateTime")] - public System.Nullable ReportFeedback - { - get - { - return this._ReportFeedback; - } - set - { - if ((this._ReportFeedback != value)) - { - this.OnReportFeedbackChanging(value); - this.SendPropertyChanging(); - this._ReportFeedback = value; - this.SendPropertyChanged("ReportFeedback"); - this.OnReportFeedbackChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BO_Batch", Storage="_Batch", ThisKey="BatchId", OtherKey="BatchId", IsForeignKey=true)] - public HJGL_BO_Batch Batch - { - get - { - return this._Batch.Entity; - } - set - { - HJGL_BO_Batch previousValue = this._Batch.Entity; - if (((previousValue != value) - || (this._Batch.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Batch.Entity = null; - previousValue.HJGL_BO_Batch_HJGL_BO_Batch = null; - } - this._Batch.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch_HJGL_BO_Batch = this; - this._BatchId = value.BatchId; - } - else - { - this._BatchId = default(string); - } - this.SendPropertyChanged("Batch"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BO_Batch", Storage="_HJGL_BO_Batch_HJGL_BO_Batch", ThisKey="BatchId", OtherKey="BatchId", IsUnique=true, IsForeignKey=false, DeleteRule="NO ACTION")] - public HJGL_BO_Batch HJGL_BO_Batch_HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch_HJGL_BO_Batch.Entity; - } - set - { - HJGL_BO_Batch previousValue = this._HJGL_BO_Batch_HJGL_BO_Batch.Entity; - if (((previousValue != value) - || (this._HJGL_BO_Batch_HJGL_BO_Batch.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BO_Batch_HJGL_BO_Batch.Entity = null; - previousValue.Batch = null; - } - this._HJGL_BO_Batch_HJGL_BO_Batch.Entity = value; - if ((value != null)) - { - value.Batch = this; - } - this.SendPropertyChanged("HJGL_BO_Batch_HJGL_BO_Batch"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_ExecStandard", Storage="_HJGL_BS_ExecStandard", ThisKey="ExecStandardId", OtherKey="ExecStandardId", IsForeignKey=true)] - public HJGL_BS_ExecStandard HJGL_BS_ExecStandard - { - get - { - return this._HJGL_BS_ExecStandard.Entity; - } - set - { - HJGL_BS_ExecStandard previousValue = this._HJGL_BS_ExecStandard.Entity; - if (((previousValue != value) - || (this._HJGL_BS_ExecStandard.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_ExecStandard.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._HJGL_BS_ExecStandard.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._ExecStandardId = value.ExecStandardId; - } - else - { - this._ExecStandardId = default(string); - } - this.SendPropertyChanged("HJGL_BS_ExecStandard"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_IsoClass", Storage="_HJGL_BS_IsoClass", ThisKey="ISC_ID", OtherKey="ISC_ID", IsForeignKey=true)] - public HJGL_BS_IsoClass HJGL_BS_IsoClass - { - get - { - return this._HJGL_BS_IsoClass.Entity; - } - set - { - HJGL_BS_IsoClass previousValue = this._HJGL_BS_IsoClass.Entity; - if (((previousValue != value) - || (this._HJGL_BS_IsoClass.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_IsoClass.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._HJGL_BS_IsoClass.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._ISC_ID = value.ISC_ID; - } - else - { - this._ISC_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_IsoClass"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_JointType", Storage="_HJGL_BS_JointType", ThisKey="JOTY_ID", OtherKey="JOTY_ID", IsForeignKey=true)] - public HJGL_BS_JointType HJGL_BS_JointType - { - get - { - return this._HJGL_BS_JointType.Entity; - } - set - { - HJGL_BS_JointType previousValue = this._HJGL_BS_JointType.Entity; - if (((previousValue != value) - || (this._HJGL_BS_JointType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_JointType.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._HJGL_BS_JointType.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._JOTY_ID = value.JOTY_ID; - } - else - { - this._JOTY_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_JointType"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_NDTRate", Storage="_HJGL_BS_NDTRate", ThisKey="NDTR_ID", OtherKey="NDTR_ID", IsForeignKey=true)] - public HJGL_BS_NDTRate HJGL_BS_NDTRate - { - get - { - return this._HJGL_BS_NDTRate.Entity; - } - set - { - HJGL_BS_NDTRate previousValue = this._HJGL_BS_NDTRate.Entity; - if (((previousValue != value) - || (this._HJGL_BS_NDTRate.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_NDTRate.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._HJGL_BS_NDTRate.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._NDTR_ID = value.NDTR_ID; - } - else - { - this._NDTR_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_NDTRate"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_Service", Storage="_HJGL_BS_Service", ThisKey="SER_ID", OtherKey="SER_ID", IsForeignKey=true)] - public HJGL_BS_Service HJGL_BS_Service - { - get - { - return this._HJGL_BS_Service.Entity; - } - set - { - HJGL_BS_Service previousValue = this._HJGL_BS_Service.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Service.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Service.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._HJGL_BS_Service.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._SER_ID = value.SER_ID; - } - else - { - this._SER_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Service"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel HJGL_BS_Steel - { - get - { - return this._HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Steel.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._STE_ID = value.STE_ID; - } - else - { - this._STE_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="WED_ID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._WED_ID = value.WED_ID; - } - else - { - this._WED_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_Project_Installation", Storage="_Project_Installation", ThisKey="InstallationId", OtherKey="InstallationId", IsForeignKey=true)] - public Project_Installation Project_Installation - { - get - { - return this._Project_Installation.Entity; - } - set - { - Project_Installation previousValue = this._Project_Installation.Entity; - if (((previousValue != value) - || (this._Project_Installation.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Project_Installation.Entity = null; - previousValue.HJGL_BO_Batch.Remove(this); - } - this._Project_Installation.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Batch.Add(this); - this._InstallationId = value.InstallationId; - } - else - { - this._InstallationId = default(string); - } - this.SendPropertyChanged("Project_Installation"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_BatchDetail_HJGL_BO_Batch", Storage="_HJGL_BO_BatchDetail", ThisKey="BatchId", OtherKey="BatchId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_BatchDetail - { - get - { - return this._HJGL_BO_BatchDetail; - } - set - { - this._HJGL_BO_BatchDetail.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_BO_Batch", Storage="_HJGL_CH_RepairItemRecord", ThisKey="BatchId", OtherKey="BatchId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItemRecord - { - get - { - return this._HJGL_CH_RepairItemRecord; - } - set - { - this._HJGL_CH_RepairItemRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TestingReportPrint_HJGL_BO_Batch", Storage="_HJGL_CH_TestingReportPrint", ThisKey="BatchId", OtherKey="BatchId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_TestingReportPrint - { - get - { - return this._HJGL_CH_TestingReportPrint; - } - set - { - this._HJGL_CH_TestingReportPrint.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Trust_HJGL_BO_Batch", Storage="_HJGL_CH_Trust", ThisKey="BatchId", OtherKey="BatchId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_Trust - { - get - { - return this._HJGL_CH_Trust; - } - set - { - this._HJGL_CH_Trust.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_BatchDetail(HJGL_BO_BatchDetail entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_Batch = this; - } - - private void detach_HJGL_BO_BatchDetail(HJGL_BO_BatchDetail entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_Batch = null; - } - - private void attach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_Batch = this; - } - - private void detach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_Batch = null; - } - - private void attach_HJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_Batch = this; - } - - private void detach_HJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_Batch = null; - } - - private void attach_HJGL_CH_Trust(HJGL_CH_Trust entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_Batch = this; - } - - private void detach_HJGL_CH_Trust(HJGL_CH_Trust entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_Batch = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_BatchDetail")] - public partial class HJGL_BO_BatchDetail : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _BatchDetailId; - - private string _BatchId; - - private string _ISO_ID; - - private string _JOT_ID; - - private string _NDT; - - private string _PointType; - - private System.Nullable _PointDate; - - private System.Nullable _ConfirmDate; - - private string _CheckAddress; - - private System.Nullable _IsVI; - - private string _Checker; - - private string _Remark; - - private string _ToRepairId; - - private System.Nullable _VICheckDate; - - private System.Nullable _ReportFeedback; - - private EntityRef _HJGL_BO_Batch; - - private EntityRef _HJGL_PW_IsoInfo; - - private EntityRef _HJGL_PW_JointInfo; - - private EntitySet _HJGL_CH_TrustItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnBatchDetailIdChanging(string value); - partial void OnBatchDetailIdChanged(); - partial void OnBatchIdChanging(string value); - partial void OnBatchIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnNDTChanging(string value); - partial void OnNDTChanged(); - partial void OnPointTypeChanging(string value); - partial void OnPointTypeChanged(); - partial void OnPointDateChanging(System.Nullable value); - partial void OnPointDateChanged(); - partial void OnConfirmDateChanging(System.Nullable value); - partial void OnConfirmDateChanged(); - partial void OnCheckAddressChanging(string value); - partial void OnCheckAddressChanged(); - partial void OnIsVIChanging(System.Nullable value); - partial void OnIsVIChanged(); - partial void OnCheckerChanging(string value); - partial void OnCheckerChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnToRepairIdChanging(string value); - partial void OnToRepairIdChanged(); - partial void OnVICheckDateChanging(System.Nullable value); - partial void OnVICheckDateChanged(); - partial void OnReportFeedbackChanging(System.Nullable value); - partial void OnReportFeedbackChanged(); - #endregion - - public HJGL_BO_BatchDetail() - { - this._HJGL_BO_Batch = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - this._HJGL_CH_TrustItem = new EntitySet(new Action(this.attach_HJGL_CH_TrustItem), new Action(this.detach_HJGL_CH_TrustItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchDetailId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string BatchDetailId - { - get - { - return this._BatchDetailId; - } - set - { - if ((this._BatchDetailId != value)) - { - this.OnBatchDetailIdChanging(value); - this.SendPropertyChanging(); - this._BatchDetailId = value; - this.SendPropertyChanged("BatchDetailId"); - this.OnBatchDetailIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - if (this._HJGL_BO_Batch.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBatchIdChanging(value); - this.SendPropertyChanging(); - this._BatchId = value; - this.SendPropertyChanged("BatchId"); - this.OnBatchIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT", DbType="NVarChar(300)")] - public string NDT - { - get - { - return this._NDT; - } - set - { - if ((this._NDT != value)) - { - this.OnNDTChanging(value); - this.SendPropertyChanging(); - this._NDT = value; - this.SendPropertyChanged("NDT"); - this.OnNDTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointType", DbType="NChar(10)")] - public string PointType - { - get - { - return this._PointType; - } - set - { - if ((this._PointType != value)) - { - this.OnPointTypeChanging(value); - this.SendPropertyChanging(); - this._PointType = value; - this.SendPropertyChanged("PointType"); - this.OnPointTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointDate", DbType="DateTime")] - public System.Nullable PointDate - { - get - { - return this._PointDate; - } - set - { - if ((this._PointDate != value)) - { - this.OnPointDateChanging(value); - this.SendPropertyChanging(); - this._PointDate = value; - this.SendPropertyChanged("PointDate"); - this.OnPointDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConfirmDate", DbType="DateTime")] - public System.Nullable ConfirmDate - { - get - { - return this._ConfirmDate; - } - set - { - if ((this._ConfirmDate != value)) - { - this.OnConfirmDateChanging(value); - this.SendPropertyChanging(); - this._ConfirmDate = value; - this.SendPropertyChanged("ConfirmDate"); - this.OnConfirmDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckAddress", DbType="NVarChar(50)")] - public string CheckAddress - { - get - { - return this._CheckAddress; - } - set - { - if ((this._CheckAddress != value)) - { - this.OnCheckAddressChanging(value); - this.SendPropertyChanging(); - this._CheckAddress = value; - this.SendPropertyChanged("CheckAddress"); - this.OnCheckAddressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsVI", DbType="Bit")] - public System.Nullable IsVI - { - get - { - return this._IsVI; - } - set - { - if ((this._IsVI != value)) - { - this.OnIsVIChanging(value); - this.SendPropertyChanging(); - this._IsVI = value; - this.SendPropertyChanged("IsVI"); - this.OnIsVIChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Checker", DbType="NVarChar(50)")] - public string Checker - { - get - { - return this._Checker; - } - set - { - if ((this._Checker != value)) - { - this.OnCheckerChanging(value); - this.SendPropertyChanging(); - this._Checker = value; - this.SendPropertyChanged("Checker"); - this.OnCheckerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(200)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToRepairId", DbType="VarChar(50)")] - public string ToRepairId - { - get - { - return this._ToRepairId; - } - set - { - if ((this._ToRepairId != value)) - { - this.OnToRepairIdChanging(value); - this.SendPropertyChanging(); - this._ToRepairId = value; - this.SendPropertyChanged("ToRepairId"); - this.OnToRepairIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VICheckDate", DbType="DateTime")] - public System.Nullable VICheckDate - { - get - { - return this._VICheckDate; - } - set - { - if ((this._VICheckDate != value)) - { - this.OnVICheckDateChanging(value); - this.SendPropertyChanging(); - this._VICheckDate = value; - this.SendPropertyChanged("VICheckDate"); - this.OnVICheckDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportFeedback", DbType="DateTime")] - public System.Nullable ReportFeedback - { - get - { - return this._ReportFeedback; - } - set - { - if ((this._ReportFeedback != value)) - { - this.OnReportFeedbackChanging(value); - this.SendPropertyChanging(); - this._ReportFeedback = value; - this.SendPropertyChanged("ReportFeedback"); - this.OnReportFeedbackChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_BatchDetail_HJGL_BO_Batch", Storage="_HJGL_BO_Batch", ThisKey="BatchId", OtherKey="BatchId", IsForeignKey=true)] - public HJGL_BO_Batch HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch.Entity; - } - set - { - HJGL_BO_Batch previousValue = this._HJGL_BO_Batch.Entity; - if (((previousValue != value) - || (this._HJGL_BO_Batch.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BO_Batch.Entity = null; - previousValue.HJGL_BO_BatchDetail.Remove(this); - } - this._HJGL_BO_Batch.Entity = value; - if ((value != null)) - { - value.HJGL_BO_BatchDetail.Add(this); - this._BatchId = value.BatchId; - } - else - { - this._BatchId = default(string); - } - this.SendPropertyChanged("HJGL_BO_Batch"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_BatchDetail_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_BO_BatchDetail.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_BatchDetail.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_BatchDetail_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_BO_BatchDetail = null; - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_BatchDetail = this; - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TrustItem_HJGL_BO_BatchDetail", Storage="_HJGL_CH_TrustItem", ThisKey="BatchDetailId", OtherKey="BatchDetailId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_TrustItem - { - get - { - return this._HJGL_CH_TrustItem; - } - set - { - this._HJGL_CH_TrustItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_CH_TrustItem(HJGL_CH_TrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_BatchDetail = this; - } - - private void detach_HJGL_CH_TrustItem(HJGL_CH_TrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_BatchDetail = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_Device")] - public partial class HJGL_BO_Device : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _Device_ID; - - private string _ProjectId; - - private string _Device_Code; - - private string _Device_Name; - - private string _Device_Def; - - private EntityRef _Base_Project; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDevice_IDChanging(string value); - partial void OnDevice_IDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnDevice_CodeChanging(string value); - partial void OnDevice_CodeChanged(); - partial void OnDevice_NameChanging(string value); - partial void OnDevice_NameChanged(); - partial void OnDevice_DefChanging(string value); - partial void OnDevice_DefChanged(); - #endregion - - public HJGL_BO_Device() - { - this._Base_Project = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Device_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string Device_ID - { - get - { - return this._Device_ID; - } - set - { - if ((this._Device_ID != value)) - { - this.OnDevice_IDChanging(value); - this.SendPropertyChanging(); - this._Device_ID = value; - this.SendPropertyChanged("Device_ID"); - this.OnDevice_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Device_Code", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string Device_Code - { - get - { - return this._Device_Code; - } - set - { - if ((this._Device_Code != value)) - { - this.OnDevice_CodeChanging(value); - this.SendPropertyChanging(); - this._Device_Code = value; - this.SendPropertyChanged("Device_Code"); - this.OnDevice_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Device_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string Device_Name - { - get - { - return this._Device_Name; - } - set - { - if ((this._Device_Name != value)) - { - this.OnDevice_NameChanging(value); - this.SendPropertyChanging(); - this._Device_Name = value; - this.SendPropertyChanged("Device_Name"); - this.OnDevice_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Device_Def", DbType="VarChar(100)")] - public string Device_Def - { - get - { - return this._Device_Def; - } - set - { - if ((this._Device_Def != value)) - { - this.OnDevice_DefChanging(value); - this.SendPropertyChanging(); - this._Device_Def = value; - this.SendPropertyChanged("Device_Def"); - this.OnDevice_DefChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Device_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_BO_Device.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_BO_Device.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_PreWeldReportMain")] - public partial class HJGL_BO_PreWeldReportMain : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _PreWeldReportId; - - private string _ProjectId; - - private string _JOT_ID; - - private System.Nullable _JOT_WeldDate; - - private string _JOT_CellWelderID; - - private string _JOT_FloorWelderID; - - private string _WLO_CodeID; - - private string _JOT_JointAttribute; - - private string _JOT_Location; - - private System.Nullable _JOT_Size; - - private System.Nullable _JOT_Dia; - - private System.Nullable _JOT_Sch; - - private string _WME_ID; - - private string _JOT_WeldMat; - - private string _JOT_WeldSilk; - - private string _JOT_Remark; - - private string _AttachUrl; - - private string _WelderHardMan; - - private string _AuditMan; - - private System.Nullable _AuditDate; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_PW_JointInfo; - - private EntityRef _HJGL_BS_Welder; - - private EntityRef _JOT_FloorWelder; - - private EntityRef _HJGL_BS_WeldMaterial; - - private EntityRef _JOT_WeldSilkHJGL_BS_WeldMaterial; - - private EntityRef _HJGL_BS_WeldMethod; - - private EntityRef _Sys_User; - - private EntityRef _AuditManSys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnPreWeldReportIdChanging(string value); - partial void OnPreWeldReportIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnJOT_WeldDateChanging(System.Nullable value); - partial void OnJOT_WeldDateChanged(); - partial void OnJOT_CellWelderIDChanging(string value); - partial void OnJOT_CellWelderIDChanged(); - partial void OnJOT_FloorWelderIDChanging(string value); - partial void OnJOT_FloorWelderIDChanged(); - partial void OnWLO_CodeIDChanging(string value); - partial void OnWLO_CodeIDChanged(); - partial void OnJOT_JointAttributeChanging(string value); - partial void OnJOT_JointAttributeChanged(); - partial void OnJOT_LocationChanging(string value); - partial void OnJOT_LocationChanged(); - partial void OnJOT_SizeChanging(System.Nullable value); - partial void OnJOT_SizeChanged(); - partial void OnJOT_DiaChanging(System.Nullable value); - partial void OnJOT_DiaChanged(); - partial void OnJOT_SchChanging(System.Nullable value); - partial void OnJOT_SchChanged(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - partial void OnJOT_WeldMatChanging(string value); - partial void OnJOT_WeldMatChanged(); - partial void OnJOT_WeldSilkChanging(string value); - partial void OnJOT_WeldSilkChanged(); - partial void OnJOT_RemarkChanging(string value); - partial void OnJOT_RemarkChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnWelderHardManChanging(string value); - partial void OnWelderHardManChanged(); - partial void OnAuditManChanging(string value); - partial void OnAuditManChanged(); - partial void OnAuditDateChanging(System.Nullable value); - partial void OnAuditDateChanged(); - #endregion - - public HJGL_BO_PreWeldReportMain() - { - this._Base_Project = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - this._HJGL_BS_Welder = default(EntityRef); - this._JOT_FloorWelder = default(EntityRef); - this._HJGL_BS_WeldMaterial = default(EntityRef); - this._JOT_WeldSilkHJGL_BS_WeldMaterial = default(EntityRef); - this._HJGL_BS_WeldMethod = default(EntityRef); - this._Sys_User = default(EntityRef); - this._AuditManSys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreWeldReportId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string PreWeldReportId - { - get - { - return this._PreWeldReportId; - } - set - { - if ((this._PreWeldReportId != value)) - { - this.OnPreWeldReportIdChanging(value); - this.SendPropertyChanging(); - this._PreWeldReportId = value; - this.SendPropertyChanged("PreWeldReportId"); - this.OnPreWeldReportIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldDate", DbType="DateTime")] - public System.Nullable JOT_WeldDate - { - get - { - return this._JOT_WeldDate; - } - set - { - if ((this._JOT_WeldDate != value)) - { - this.OnJOT_WeldDateChanging(value); - this.SendPropertyChanging(); - this._JOT_WeldDate = value; - this.SendPropertyChanged("JOT_WeldDate"); - this.OnJOT_WeldDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_CellWelderID", DbType="NVarChar(50)")] - public string JOT_CellWelderID - { - get - { - return this._JOT_CellWelderID; - } - set - { - if ((this._JOT_CellWelderID != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_CellWelderIDChanging(value); - this.SendPropertyChanging(); - this._JOT_CellWelderID = value; - this.SendPropertyChanged("JOT_CellWelderID"); - this.OnJOT_CellWelderIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_FloorWelderID", DbType="NVarChar(50)")] - public string JOT_FloorWelderID - { - get - { - return this._JOT_FloorWelderID; - } - set - { - if ((this._JOT_FloorWelderID != value)) - { - if (this._JOT_FloorWelder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_FloorWelderIDChanging(value); - this.SendPropertyChanging(); - this._JOT_FloorWelderID = value; - this.SendPropertyChanged("JOT_FloorWelderID"); - this.OnJOT_FloorWelderIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WLO_CodeID", DbType="NVarChar(50)")] - public string WLO_CodeID - { - get - { - return this._WLO_CodeID; - } - set - { - if ((this._WLO_CodeID != value)) - { - this.OnWLO_CodeIDChanging(value); - this.SendPropertyChanging(); - this._WLO_CodeID = value; - this.SendPropertyChanged("WLO_CodeID"); - this.OnWLO_CodeIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointAttribute", DbType="NVarChar(50)")] - public string JOT_JointAttribute - { - get - { - return this._JOT_JointAttribute; - } - set - { - if ((this._JOT_JointAttribute != value)) - { - this.OnJOT_JointAttributeChanging(value); - this.SendPropertyChanging(); - this._JOT_JointAttribute = value; - this.SendPropertyChanged("JOT_JointAttribute"); - this.OnJOT_JointAttributeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Location", DbType="NVarChar(50)")] - public string JOT_Location - { - get - { - return this._JOT_Location; - } - set - { - if ((this._JOT_Location != value)) - { - this.OnJOT_LocationChanging(value); - this.SendPropertyChanging(); - this._JOT_Location = value; - this.SendPropertyChanged("JOT_Location"); - this.OnJOT_LocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Size", DbType="Decimal(9,2)")] - public System.Nullable JOT_Size - { - get - { - return this._JOT_Size; - } - set - { - if ((this._JOT_Size != value)) - { - this.OnJOT_SizeChanging(value); - this.SendPropertyChanging(); - this._JOT_Size = value; - this.SendPropertyChanged("JOT_Size"); - this.OnJOT_SizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(9,2)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this.OnJOT_DiaChanging(value); - this.SendPropertyChanging(); - this._JOT_Dia = value; - this.SendPropertyChanged("JOT_Dia"); - this.OnJOT_DiaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="Decimal(9,2)")] - public System.Nullable JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this.OnJOT_SchChanging(value); - this.SendPropertyChanging(); - this._JOT_Sch = value; - this.SendPropertyChanged("JOT_Sch"); - this.OnJOT_SchChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldMat", DbType="VarChar(50)")] - public string JOT_WeldMat - { - get - { - return this._JOT_WeldMat; - } - set - { - if ((this._JOT_WeldMat != value)) - { - if (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_WeldMatChanging(value); - this.SendPropertyChanging(); - this._JOT_WeldMat = value; - this.SendPropertyChanged("JOT_WeldMat"); - this.OnJOT_WeldMatChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldSilk", DbType="VarChar(50)")] - public string JOT_WeldSilk - { - get - { - return this._JOT_WeldSilk; - } - set - { - if ((this._JOT_WeldSilk != value)) - { - if (this._JOT_WeldSilkHJGL_BS_WeldMaterial.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_WeldSilkChanging(value); - this.SendPropertyChanging(); - this._JOT_WeldSilk = value; - this.SendPropertyChanged("JOT_WeldSilk"); - this.OnJOT_WeldSilkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Remark", DbType="VarChar(100)")] - public string JOT_Remark - { - get - { - return this._JOT_Remark; - } - set - { - if ((this._JOT_Remark != value)) - { - this.OnJOT_RemarkChanging(value); - this.SendPropertyChanging(); - this._JOT_Remark = value; - this.SendPropertyChanged("JOT_Remark"); - this.OnJOT_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(500)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderHardMan", DbType="NVarChar(50)")] - public string WelderHardMan - { - get - { - return this._WelderHardMan; - } - set - { - if ((this._WelderHardMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWelderHardManChanging(value); - this.SendPropertyChanging(); - this._WelderHardMan = value; - this.SendPropertyChanged("WelderHardMan"); - this.OnWelderHardManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")] - public string AuditMan - { - get - { - return this._AuditMan; - } - set - { - if ((this._AuditMan != value)) - { - if (this._AuditManSys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnAuditManChanging(value); - this.SendPropertyChanging(); - this._AuditMan = value; - this.SendPropertyChanged("AuditMan"); - this.OnAuditManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditDate", DbType="DateTime")] - public System.Nullable AuditDate - { - get - { - return this._AuditDate; - } - set - { - if ((this._AuditDate != value)) - { - this.OnAuditDateChanging(value); - this.SendPropertyChanging(); - this._AuditDate = value; - this.SendPropertyChanged("AuditDate"); - this.OnAuditDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_BO_PreWeldReportMain.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_BO_PreWeldReportMain.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BO_PreWeldReportMain", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_BO_PreWeldReportMain.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_PreWeldReportMain.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="JOT_CellWelderID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.HJGL_BO_PreWeldReportMain.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_BO_PreWeldReportMain.Add(this); - this._JOT_CellWelderID = value.WED_ID; - } - else - { - this._JOT_CellWelderID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_Welder1", Storage="_JOT_FloorWelder", ThisKey="JOT_FloorWelderID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder JOT_FloorWelder - { - get - { - return this._JOT_FloorWelder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._JOT_FloorWelder.Entity; - if (((previousValue != value) - || (this._JOT_FloorWelder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._JOT_FloorWelder.Entity = null; - previousValue.WED_.Remove(this); - } - this._JOT_FloorWelder.Entity = value; - if ((value != null)) - { - value.WED_.Add(this); - this._JOT_FloorWelderID = value.WED_ID; - } - else - { - this._JOT_FloorWelderID = default(string); - } - this.SendPropertyChanged("JOT_FloorWelder"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_WeldMaterial", Storage="_HJGL_BS_WeldMaterial", ThisKey="JOT_WeldMat", OtherKey="WMT_ID", IsForeignKey=true)] - public HJGL_BS_WeldMaterial HJGL_BS_WeldMaterial - { - get - { - return this._HJGL_BS_WeldMaterial.Entity; - } - set - { - HJGL_BS_WeldMaterial previousValue = this._HJGL_BS_WeldMaterial.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMaterial.Entity = null; - previousValue.HJGL_BO_PreWeldReportMain.Remove(this); - } - this._HJGL_BS_WeldMaterial.Entity = value; - if ((value != null)) - { - value.HJGL_BO_PreWeldReportMain.Add(this); - this._JOT_WeldMat = value.WMT_ID; - } - else - { - this._JOT_WeldMat = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMaterial"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_WeldMaterial1", Storage="_JOT_WeldSilkHJGL_BS_WeldMaterial", ThisKey="JOT_WeldSilk", OtherKey="WMT_ID", IsForeignKey=true)] - public HJGL_BS_WeldMaterial JOT_WeldSilkHJGL_BS_WeldMaterial - { - get - { - return this._JOT_WeldSilkHJGL_BS_WeldMaterial.Entity; - } - set - { - HJGL_BS_WeldMaterial previousValue = this._JOT_WeldSilkHJGL_BS_WeldMaterial.Entity; - if (((previousValue != value) - || (this._JOT_WeldSilkHJGL_BS_WeldMaterial.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._JOT_WeldSilkHJGL_BS_WeldMaterial.Entity = null; - previousValue.WMT_.Remove(this); - } - this._JOT_WeldSilkHJGL_BS_WeldMaterial.Entity = value; - if ((value != null)) - { - value.WMT_.Add(this); - this._JOT_WeldSilk = value.WMT_ID; - } - else - { - this._JOT_WeldSilk = default(string); - } - this.SendPropertyChanged("JOT_WeldSilkHJGL_BS_WeldMaterial"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WME_ID", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_BO_PreWeldReportMain.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_BO_PreWeldReportMain.Add(this); - this._WME_ID = value.WME_ID; - } - else - { - this._WME_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_Sys_User", Storage="_Sys_User", ThisKey="WelderHardMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_BO_PreWeldReportMain.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_BO_PreWeldReportMain.Add(this); - this._WelderHardMan = value.UserId; - } - else - { - this._WelderHardMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_Sys_User1", Storage="_AuditManSys_User", ThisKey="AuditMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User AuditManSys_User - { - get - { - return this._AuditManSys_User.Entity; - } - set - { - Sys_User previousValue = this._AuditManSys_User.Entity; - if (((previousValue != value) - || (this._AuditManSys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._AuditManSys_User.Entity = null; - previousValue.User.Remove(this); - } - this._AuditManSys_User.Entity = value; - if ((value != null)) - { - value.User.Add(this); - this._AuditMan = value.UserId; - } - else - { - this._AuditMan = default(string); - } - this.SendPropertyChanged("AuditManSys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_QualityRating")] - public partial class HJGL_BO_QualityRating : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _QualityRatingId; - - private string _CH_TrustItemID; - - private string _ISO_ID; - - private System.Nullable _Remake; - - private string _JOT_ID; - - private string _FilmNum; - - private string _RepairTag; - - private System.Nullable _Cack; - - private System.Nullable _NotFusion; - - private System.Nullable _NotPenetration; - - private System.Nullable _StripDefects; - - private System.Nullable _CircularDefects; - - private System.Nullable _DeepHoleDefects; - - private System.Nullable _RootsConcave; - - private System.Nullable _RootsBiteEdge; - - private System.Nullable _PseudoDefects; - - private string _DefectLength; - - private string _DefectResult; - - private string _SignMan; - - private System.Nullable _SignDate; - - private string _Remark; - - private string _RemakeResult; - - private System.Nullable _DetectLength; - - private string _PeakAmplitude; - - private string _DefectLocation; - - private System.Nullable _DepthDefect; - - private System.Nullable _IndicatingLength; - - private System.Nullable _DefectHeight; - - private System.Nullable _DefectsHighSide; - - private System.Nullable _DefectSize; - - private string _DefectNature; - - private string _IsPass; - - private string _DefectRation; - - private System.Nullable _RMaterial; - - private EntityRef _HJGL_CH_TrustItem; - - private EntityRef _HJGL_PW_IsoInfo; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnQualityRatingIdChanging(string value); - partial void OnQualityRatingIdChanged(); - partial void OnCH_TrustItemIDChanging(string value); - partial void OnCH_TrustItemIDChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnRemakeChanging(System.Nullable value); - partial void OnRemakeChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnFilmNumChanging(string value); - partial void OnFilmNumChanged(); - partial void OnRepairTagChanging(string value); - partial void OnRepairTagChanged(); - partial void OnCackChanging(System.Nullable value); - partial void OnCackChanged(); - partial void OnNotFusionChanging(System.Nullable value); - partial void OnNotFusionChanged(); - partial void OnNotPenetrationChanging(System.Nullable value); - partial void OnNotPenetrationChanged(); - partial void OnStripDefectsChanging(System.Nullable value); - partial void OnStripDefectsChanged(); - partial void OnCircularDefectsChanging(System.Nullable value); - partial void OnCircularDefectsChanged(); - partial void OnDeepHoleDefectsChanging(System.Nullable value); - partial void OnDeepHoleDefectsChanged(); - partial void OnRootsConcaveChanging(System.Nullable value); - partial void OnRootsConcaveChanged(); - partial void OnRootsBiteEdgeChanging(System.Nullable value); - partial void OnRootsBiteEdgeChanged(); - partial void OnPseudoDefectsChanging(System.Nullable value); - partial void OnPseudoDefectsChanged(); - partial void OnDefectLengthChanging(string value); - partial void OnDefectLengthChanged(); - partial void OnDefectResultChanging(string value); - partial void OnDefectResultChanged(); - partial void OnSignManChanging(string value); - partial void OnSignManChanged(); - partial void OnSignDateChanging(System.Nullable value); - partial void OnSignDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnRemakeResultChanging(string value); - partial void OnRemakeResultChanged(); - partial void OnDetectLengthChanging(System.Nullable value); - partial void OnDetectLengthChanged(); - partial void OnPeakAmplitudeChanging(string value); - partial void OnPeakAmplitudeChanged(); - partial void OnDefectLocationChanging(string value); - partial void OnDefectLocationChanged(); - partial void OnDepthDefectChanging(System.Nullable value); - partial void OnDepthDefectChanged(); - partial void OnIndicatingLengthChanging(System.Nullable value); - partial void OnIndicatingLengthChanged(); - partial void OnDefectHeightChanging(System.Nullable value); - partial void OnDefectHeightChanged(); - partial void OnDefectsHighSideChanging(System.Nullable value); - partial void OnDefectsHighSideChanged(); - partial void OnDefectSizeChanging(System.Nullable value); - partial void OnDefectSizeChanged(); - partial void OnDefectNatureChanging(string value); - partial void OnDefectNatureChanged(); - partial void OnIsPassChanging(string value); - partial void OnIsPassChanged(); - partial void OnDefectRationChanging(string value); - partial void OnDefectRationChanged(); - partial void OnRMaterialChanging(System.Nullable value); - partial void OnRMaterialChanged(); - #endregion - - public HJGL_BO_QualityRating() - { - this._HJGL_CH_TrustItem = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualityRatingId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string QualityRatingId - { - get - { - return this._QualityRatingId; - } - set - { - if ((this._QualityRatingId != value)) - { - this.OnQualityRatingIdChanging(value); - this.SendPropertyChanging(); - this._QualityRatingId = value; - this.SendPropertyChanged("QualityRatingId"); - this.OnQualityRatingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustItemID", DbType="VarChar(50)")] - public string CH_TrustItemID - { - get - { - return this._CH_TrustItemID; - } - set - { - if ((this._CH_TrustItemID != value)) - { - if (this._HJGL_CH_TrustItem.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCH_TrustItemIDChanging(value); - this.SendPropertyChanging(); - this._CH_TrustItemID = value; - this.SendPropertyChanged("CH_TrustItemID"); - this.OnCH_TrustItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remake", DbType="Bit")] - public System.Nullable Remake - { - get - { - return this._Remake; - } - set - { - if ((this._Remake != value)) - { - this.OnRemakeChanging(value); - this.SendPropertyChanging(); - this._Remake = value; - this.SendPropertyChanged("Remake"); - this.OnRemakeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmNum", DbType="NVarChar(50)")] - public string FilmNum - { - get - { - return this._FilmNum; - } - set - { - if ((this._FilmNum != value)) - { - this.OnFilmNumChanging(value); - this.SendPropertyChanging(); - this._FilmNum = value; - this.SendPropertyChanged("FilmNum"); - this.OnFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairTag", DbType="NVarChar(50)")] - public string RepairTag - { - get - { - return this._RepairTag; - } - set - { - if ((this._RepairTag != value)) - { - this.OnRepairTagChanging(value); - this.SendPropertyChanging(); - this._RepairTag = value; - this.SendPropertyChanged("RepairTag"); - this.OnRepairTagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cack", DbType="Bit")] - public System.Nullable Cack - { - get - { - return this._Cack; - } - set - { - if ((this._Cack != value)) - { - this.OnCackChanging(value); - this.SendPropertyChanging(); - this._Cack = value; - this.SendPropertyChanged("Cack"); - this.OnCackChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NotFusion", DbType="Bit")] - public System.Nullable NotFusion - { - get - { - return this._NotFusion; - } - set - { - if ((this._NotFusion != value)) - { - this.OnNotFusionChanging(value); - this.SendPropertyChanging(); - this._NotFusion = value; - this.SendPropertyChanged("NotFusion"); - this.OnNotFusionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NotPenetration", DbType="Bit")] - public System.Nullable NotPenetration - { - get - { - return this._NotPenetration; - } - set - { - if ((this._NotPenetration != value)) - { - this.OnNotPenetrationChanging(value); - this.SendPropertyChanging(); - this._NotPenetration = value; - this.SendPropertyChanged("NotPenetration"); - this.OnNotPenetrationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StripDefects", DbType="Bit")] - public System.Nullable StripDefects - { - get - { - return this._StripDefects; - } - set - { - if ((this._StripDefects != value)) - { - this.OnStripDefectsChanging(value); - this.SendPropertyChanging(); - this._StripDefects = value; - this.SendPropertyChanged("StripDefects"); - this.OnStripDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CircularDefects", DbType="Bit")] - public System.Nullable CircularDefects - { - get - { - return this._CircularDefects; - } - set - { - if ((this._CircularDefects != value)) - { - this.OnCircularDefectsChanging(value); - this.SendPropertyChanging(); - this._CircularDefects = value; - this.SendPropertyChanged("CircularDefects"); - this.OnCircularDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeepHoleDefects", DbType="Bit")] - public System.Nullable DeepHoleDefects - { - get - { - return this._DeepHoleDefects; - } - set - { - if ((this._DeepHoleDefects != value)) - { - this.OnDeepHoleDefectsChanging(value); - this.SendPropertyChanging(); - this._DeepHoleDefects = value; - this.SendPropertyChanged("DeepHoleDefects"); - this.OnDeepHoleDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RootsConcave", DbType="Bit")] - public System.Nullable RootsConcave - { - get - { - return this._RootsConcave; - } - set - { - if ((this._RootsConcave != value)) - { - this.OnRootsConcaveChanging(value); - this.SendPropertyChanging(); - this._RootsConcave = value; - this.SendPropertyChanged("RootsConcave"); - this.OnRootsConcaveChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RootsBiteEdge", DbType="Bit")] - public System.Nullable RootsBiteEdge - { - get - { - return this._RootsBiteEdge; - } - set - { - if ((this._RootsBiteEdge != value)) - { - this.OnRootsBiteEdgeChanging(value); - this.SendPropertyChanging(); - this._RootsBiteEdge = value; - this.SendPropertyChanged("RootsBiteEdge"); - this.OnRootsBiteEdgeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PseudoDefects", DbType="Bit")] - public System.Nullable PseudoDefects - { - get - { - return this._PseudoDefects; - } - set - { - if ((this._PseudoDefects != value)) - { - this.OnPseudoDefectsChanging(value); - this.SendPropertyChanging(); - this._PseudoDefects = value; - this.SendPropertyChanged("PseudoDefects"); - this.OnPseudoDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectLength", DbType="NVarChar(50)")] - public string DefectLength - { - get - { - return this._DefectLength; - } - set - { - if ((this._DefectLength != value)) - { - this.OnDefectLengthChanging(value); - this.SendPropertyChanging(); - this._DefectLength = value; - this.SendPropertyChanged("DefectLength"); - this.OnDefectLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectResult", DbType="Char(10)")] - public string DefectResult - { - get - { - return this._DefectResult; - } - set - { - if ((this._DefectResult != value)) - { - this.OnDefectResultChanging(value); - this.SendPropertyChanging(); - this._DefectResult = value; - this.SendPropertyChanged("DefectResult"); - this.OnDefectResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignMan", DbType="NVarChar(50)")] - public string SignMan - { - get - { - return this._SignMan; - } - set - { - if ((this._SignMan != value)) - { - this.OnSignManChanging(value); - this.SendPropertyChanging(); - this._SignMan = value; - this.SendPropertyChanged("SignMan"); - this.OnSignManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignDate", DbType="DateTime")] - public System.Nullable SignDate - { - get - { - return this._SignDate; - } - set - { - if ((this._SignDate != value)) - { - this.OnSignDateChanging(value); - this.SendPropertyChanging(); - this._SignDate = value; - this.SendPropertyChanged("SignDate"); - this.OnSignDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemakeResult", DbType="NVarChar(100)")] - public string RemakeResult - { - get - { - return this._RemakeResult; - } - set - { - if ((this._RemakeResult != value)) - { - this.OnRemakeResultChanging(value); - this.SendPropertyChanging(); - this._RemakeResult = value; - this.SendPropertyChanged("RemakeResult"); - this.OnRemakeResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectLength", DbType="Decimal(18,2)")] - public System.Nullable DetectLength - { - get - { - return this._DetectLength; - } - set - { - if ((this._DetectLength != value)) - { - this.OnDetectLengthChanging(value); - this.SendPropertyChanging(); - this._DetectLength = value; - this.SendPropertyChanged("DetectLength"); - this.OnDetectLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PeakAmplitude", DbType="NVarChar(50)")] - public string PeakAmplitude - { - get - { - return this._PeakAmplitude; - } - set - { - if ((this._PeakAmplitude != value)) - { - this.OnPeakAmplitudeChanging(value); - this.SendPropertyChanging(); - this._PeakAmplitude = value; - this.SendPropertyChanged("PeakAmplitude"); - this.OnPeakAmplitudeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectLocation", DbType="NVarChar(50)")] - public string DefectLocation - { - get - { - return this._DefectLocation; - } - set - { - if ((this._DefectLocation != value)) - { - this.OnDefectLocationChanging(value); - this.SendPropertyChanging(); - this._DefectLocation = value; - this.SendPropertyChanged("DefectLocation"); - this.OnDefectLocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepthDefect", DbType="Decimal(18,2)")] - public System.Nullable DepthDefect - { - get - { - return this._DepthDefect; - } - set - { - if ((this._DepthDefect != value)) - { - this.OnDepthDefectChanging(value); - this.SendPropertyChanging(); - this._DepthDefect = value; - this.SendPropertyChanged("DepthDefect"); - this.OnDepthDefectChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndicatingLength", DbType="Decimal(18,2)")] - public System.Nullable IndicatingLength - { - get - { - return this._IndicatingLength; - } - set - { - if ((this._IndicatingLength != value)) - { - this.OnIndicatingLengthChanging(value); - this.SendPropertyChanging(); - this._IndicatingLength = value; - this.SendPropertyChanged("IndicatingLength"); - this.OnIndicatingLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectHeight", DbType="Decimal(18,2)")] - public System.Nullable DefectHeight - { - get - { - return this._DefectHeight; - } - set - { - if ((this._DefectHeight != value)) - { - this.OnDefectHeightChanging(value); - this.SendPropertyChanging(); - this._DefectHeight = value; - this.SendPropertyChanged("DefectHeight"); - this.OnDefectHeightChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectsHighSide", DbType="Decimal(18,2)")] - public System.Nullable DefectsHighSide - { - get - { - return this._DefectsHighSide; - } - set - { - if ((this._DefectsHighSide != value)) - { - this.OnDefectsHighSideChanging(value); - this.SendPropertyChanging(); - this._DefectsHighSide = value; - this.SendPropertyChanged("DefectsHighSide"); - this.OnDefectsHighSideChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectSize", DbType="Decimal(18,2)")] - public System.Nullable DefectSize - { - get - { - return this._DefectSize; - } - set - { - if ((this._DefectSize != value)) - { - this.OnDefectSizeChanging(value); - this.SendPropertyChanging(); - this._DefectSize = value; - this.SendPropertyChanged("DefectSize"); - this.OnDefectSizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(50)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this.OnDefectNatureChanging(value); - this.SendPropertyChanging(); - this._DefectNature = value; - this.SendPropertyChanged("DefectNature"); - this.OnDefectNatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPass", DbType="NVarChar(10)")] - public string IsPass - { - get - { - return this._IsPass; - } - set - { - if ((this._IsPass != value)) - { - this.OnIsPassChanging(value); - this.SendPropertyChanging(); - this._IsPass = value; - this.SendPropertyChanged("IsPass"); - this.OnIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectRation", DbType="NVarChar(50)")] - public string DefectRation - { - get - { - return this._DefectRation; - } - set - { - if ((this._DefectRation != value)) - { - this.OnDefectRationChanging(value); - this.SendPropertyChanging(); - this._DefectRation = value; - this.SendPropertyChanged("DefectRation"); - this.OnDefectRationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RMaterial", DbType="Bit")] - public System.Nullable RMaterial - { - get - { - return this._RMaterial; - } - set - { - if ((this._RMaterial != value)) - { - this.OnRMaterialChanging(value); - this.SendPropertyChanging(); - this._RMaterial = value; - this.SendPropertyChanged("RMaterial"); - this.OnRMaterialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRating_HJGL_BO_BatchDetail", Storage="_HJGL_CH_TrustItem", ThisKey="CH_TrustItemID", OtherKey="CH_TrustItemID", IsForeignKey=true)] - public HJGL_CH_TrustItem HJGL_CH_TrustItem - { - get - { - return this._HJGL_CH_TrustItem.Entity; - } - set - { - HJGL_CH_TrustItem previousValue = this._HJGL_CH_TrustItem.Entity; - if (((previousValue != value) - || (this._HJGL_CH_TrustItem.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_TrustItem.Entity = null; - previousValue.HJGL_BO_QualityRating.Remove(this); - } - this._HJGL_CH_TrustItem.Entity = value; - if ((value != null)) - { - value.HJGL_BO_QualityRating.Add(this); - this._CH_TrustItemID = value.CH_TrustItemID; - } - else - { - this._CH_TrustItemID = default(string); - } - this.SendPropertyChanged("HJGL_CH_TrustItem"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRating_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_BO_QualityRating.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_QualityRating.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRating_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_BO_QualityRating.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_QualityRating.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_QualityRatingRepair")] - public partial class HJGL_BO_QualityRatingRepair : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _QualityRatingRepairId; - - private string _CH_RepairItemId; - - private string _ISO_ID; - - private System.Nullable _Remake; - - private string _RemakeResult; - - private string _JOT_ID; - - private string _FilmNum; - - private string _RepairTag; - - private System.Nullable _Cack; - - private System.Nullable _NotFusion; - - private System.Nullable _NotPenetration; - - private System.Nullable _StripDefects; - - private System.Nullable _CircularDefects; - - private System.Nullable _DeepHoleDefects; - - private System.Nullable _RootsConcave; - - private System.Nullable _RootsBiteEdge; - - private System.Nullable _PseudoDefects; - - private string _DefectLength; - - private string _DefectResult; - - private string _SignMan; - - private System.Nullable _SignDate; - - private string _Remark; - - private System.Nullable _DetectLength; - - private string _PeakAmplitude; - - private string _DefectLocation; - - private System.Nullable _DepthDefect; - - private System.Nullable _IndicatingLength; - - private System.Nullable _DefectHeight; - - private System.Nullable _DefectsHighSide; - - private System.Nullable _DefectSize; - - private string _DefectNature; - - private string _IsPass; - - private string _DefectRation; - - private System.Nullable _RMaterial; - - private EntityRef _HJGL_CH_RepairItem; - - private EntityRef _HJGL_PW_IsoInfo; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnQualityRatingRepairIdChanging(string value); - partial void OnQualityRatingRepairIdChanged(); - partial void OnCH_RepairItemIdChanging(string value); - partial void OnCH_RepairItemIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnRemakeChanging(System.Nullable value); - partial void OnRemakeChanged(); - partial void OnRemakeResultChanging(string value); - partial void OnRemakeResultChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnFilmNumChanging(string value); - partial void OnFilmNumChanged(); - partial void OnRepairTagChanging(string value); - partial void OnRepairTagChanged(); - partial void OnCackChanging(System.Nullable value); - partial void OnCackChanged(); - partial void OnNotFusionChanging(System.Nullable value); - partial void OnNotFusionChanged(); - partial void OnNotPenetrationChanging(System.Nullable value); - partial void OnNotPenetrationChanged(); - partial void OnStripDefectsChanging(System.Nullable value); - partial void OnStripDefectsChanged(); - partial void OnCircularDefectsChanging(System.Nullable value); - partial void OnCircularDefectsChanged(); - partial void OnDeepHoleDefectsChanging(System.Nullable value); - partial void OnDeepHoleDefectsChanged(); - partial void OnRootsConcaveChanging(System.Nullable value); - partial void OnRootsConcaveChanged(); - partial void OnRootsBiteEdgeChanging(System.Nullable value); - partial void OnRootsBiteEdgeChanged(); - partial void OnPseudoDefectsChanging(System.Nullable value); - partial void OnPseudoDefectsChanged(); - partial void OnDefectLengthChanging(string value); - partial void OnDefectLengthChanged(); - partial void OnDefectResultChanging(string value); - partial void OnDefectResultChanged(); - partial void OnSignManChanging(string value); - partial void OnSignManChanged(); - partial void OnSignDateChanging(System.Nullable value); - partial void OnSignDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnDetectLengthChanging(System.Nullable value); - partial void OnDetectLengthChanged(); - partial void OnPeakAmplitudeChanging(string value); - partial void OnPeakAmplitudeChanged(); - partial void OnDefectLocationChanging(string value); - partial void OnDefectLocationChanged(); - partial void OnDepthDefectChanging(System.Nullable value); - partial void OnDepthDefectChanged(); - partial void OnIndicatingLengthChanging(System.Nullable value); - partial void OnIndicatingLengthChanged(); - partial void OnDefectHeightChanging(System.Nullable value); - partial void OnDefectHeightChanged(); - partial void OnDefectsHighSideChanging(System.Nullable value); - partial void OnDefectsHighSideChanged(); - partial void OnDefectSizeChanging(System.Nullable value); - partial void OnDefectSizeChanged(); - partial void OnDefectNatureChanging(string value); - partial void OnDefectNatureChanged(); - partial void OnIsPassChanging(string value); - partial void OnIsPassChanged(); - partial void OnDefectRationChanging(string value); - partial void OnDefectRationChanged(); - partial void OnRMaterialChanging(System.Nullable value); - partial void OnRMaterialChanged(); - #endregion - - public HJGL_BO_QualityRatingRepair() - { - this._HJGL_CH_RepairItem = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualityRatingRepairId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string QualityRatingRepairId - { - get - { - return this._QualityRatingRepairId; - } - set - { - if ((this._QualityRatingRepairId != value)) - { - this.OnQualityRatingRepairIdChanging(value); - this.SendPropertyChanging(); - this._QualityRatingRepairId = value; - this.SendPropertyChanged("QualityRatingRepairId"); - this.OnQualityRatingRepairIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairItemId", DbType="NVarChar(50)")] - public string CH_RepairItemId - { - get - { - return this._CH_RepairItemId; - } - set - { - if ((this._CH_RepairItemId != value)) - { - if (this._HJGL_CH_RepairItem.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCH_RepairItemIdChanging(value); - this.SendPropertyChanging(); - this._CH_RepairItemId = value; - this.SendPropertyChanged("CH_RepairItemId"); - this.OnCH_RepairItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remake", DbType="Bit")] - public System.Nullable Remake - { - get - { - return this._Remake; - } - set - { - if ((this._Remake != value)) - { - this.OnRemakeChanging(value); - this.SendPropertyChanging(); - this._Remake = value; - this.SendPropertyChanged("Remake"); - this.OnRemakeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemakeResult", DbType="NVarChar(100)")] - public string RemakeResult - { - get - { - return this._RemakeResult; - } - set - { - if ((this._RemakeResult != value)) - { - this.OnRemakeResultChanging(value); - this.SendPropertyChanging(); - this._RemakeResult = value; - this.SendPropertyChanged("RemakeResult"); - this.OnRemakeResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmNum", DbType="NVarChar(50)")] - public string FilmNum - { - get - { - return this._FilmNum; - } - set - { - if ((this._FilmNum != value)) - { - this.OnFilmNumChanging(value); - this.SendPropertyChanging(); - this._FilmNum = value; - this.SendPropertyChanged("FilmNum"); - this.OnFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairTag", DbType="NVarChar(50)")] - public string RepairTag - { - get - { - return this._RepairTag; - } - set - { - if ((this._RepairTag != value)) - { - this.OnRepairTagChanging(value); - this.SendPropertyChanging(); - this._RepairTag = value; - this.SendPropertyChanged("RepairTag"); - this.OnRepairTagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cack", DbType="Bit")] - public System.Nullable Cack - { - get - { - return this._Cack; - } - set - { - if ((this._Cack != value)) - { - this.OnCackChanging(value); - this.SendPropertyChanging(); - this._Cack = value; - this.SendPropertyChanged("Cack"); - this.OnCackChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NotFusion", DbType="Bit")] - public System.Nullable NotFusion - { - get - { - return this._NotFusion; - } - set - { - if ((this._NotFusion != value)) - { - this.OnNotFusionChanging(value); - this.SendPropertyChanging(); - this._NotFusion = value; - this.SendPropertyChanged("NotFusion"); - this.OnNotFusionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NotPenetration", DbType="Bit")] - public System.Nullable NotPenetration - { - get - { - return this._NotPenetration; - } - set - { - if ((this._NotPenetration != value)) - { - this.OnNotPenetrationChanging(value); - this.SendPropertyChanging(); - this._NotPenetration = value; - this.SendPropertyChanged("NotPenetration"); - this.OnNotPenetrationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StripDefects", DbType="Bit")] - public System.Nullable StripDefects - { - get - { - return this._StripDefects; - } - set - { - if ((this._StripDefects != value)) - { - this.OnStripDefectsChanging(value); - this.SendPropertyChanging(); - this._StripDefects = value; - this.SendPropertyChanged("StripDefects"); - this.OnStripDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CircularDefects", DbType="Bit")] - public System.Nullable CircularDefects - { - get - { - return this._CircularDefects; - } - set - { - if ((this._CircularDefects != value)) - { - this.OnCircularDefectsChanging(value); - this.SendPropertyChanging(); - this._CircularDefects = value; - this.SendPropertyChanged("CircularDefects"); - this.OnCircularDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeepHoleDefects", DbType="Bit")] - public System.Nullable DeepHoleDefects - { - get - { - return this._DeepHoleDefects; - } - set - { - if ((this._DeepHoleDefects != value)) - { - this.OnDeepHoleDefectsChanging(value); - this.SendPropertyChanging(); - this._DeepHoleDefects = value; - this.SendPropertyChanged("DeepHoleDefects"); - this.OnDeepHoleDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RootsConcave", DbType="Bit")] - public System.Nullable RootsConcave - { - get - { - return this._RootsConcave; - } - set - { - if ((this._RootsConcave != value)) - { - this.OnRootsConcaveChanging(value); - this.SendPropertyChanging(); - this._RootsConcave = value; - this.SendPropertyChanged("RootsConcave"); - this.OnRootsConcaveChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RootsBiteEdge", DbType="Bit")] - public System.Nullable RootsBiteEdge - { - get - { - return this._RootsBiteEdge; - } - set - { - if ((this._RootsBiteEdge != value)) - { - this.OnRootsBiteEdgeChanging(value); - this.SendPropertyChanging(); - this._RootsBiteEdge = value; - this.SendPropertyChanged("RootsBiteEdge"); - this.OnRootsBiteEdgeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PseudoDefects", DbType="Bit")] - public System.Nullable PseudoDefects - { - get - { - return this._PseudoDefects; - } - set - { - if ((this._PseudoDefects != value)) - { - this.OnPseudoDefectsChanging(value); - this.SendPropertyChanging(); - this._PseudoDefects = value; - this.SendPropertyChanged("PseudoDefects"); - this.OnPseudoDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectLength", DbType="NVarChar(50)")] - public string DefectLength - { - get - { - return this._DefectLength; - } - set - { - if ((this._DefectLength != value)) - { - this.OnDefectLengthChanging(value); - this.SendPropertyChanging(); - this._DefectLength = value; - this.SendPropertyChanged("DefectLength"); - this.OnDefectLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectResult", DbType="Char(10)")] - public string DefectResult - { - get - { - return this._DefectResult; - } - set - { - if ((this._DefectResult != value)) - { - this.OnDefectResultChanging(value); - this.SendPropertyChanging(); - this._DefectResult = value; - this.SendPropertyChanged("DefectResult"); - this.OnDefectResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignMan", DbType="NVarChar(50)")] - public string SignMan - { - get - { - return this._SignMan; - } - set - { - if ((this._SignMan != value)) - { - this.OnSignManChanging(value); - this.SendPropertyChanging(); - this._SignMan = value; - this.SendPropertyChanged("SignMan"); - this.OnSignManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignDate", DbType="DateTime")] - public System.Nullable SignDate - { - get - { - return this._SignDate; - } - set - { - if ((this._SignDate != value)) - { - this.OnSignDateChanging(value); - this.SendPropertyChanging(); - this._SignDate = value; - this.SendPropertyChanged("SignDate"); - this.OnSignDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectLength", DbType="Decimal(18,2)")] - public System.Nullable DetectLength - { - get - { - return this._DetectLength; - } - set - { - if ((this._DetectLength != value)) - { - this.OnDetectLengthChanging(value); - this.SendPropertyChanging(); - this._DetectLength = value; - this.SendPropertyChanged("DetectLength"); - this.OnDetectLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PeakAmplitude", DbType="NVarChar(50)")] - public string PeakAmplitude - { - get - { - return this._PeakAmplitude; - } - set - { - if ((this._PeakAmplitude != value)) - { - this.OnPeakAmplitudeChanging(value); - this.SendPropertyChanging(); - this._PeakAmplitude = value; - this.SendPropertyChanged("PeakAmplitude"); - this.OnPeakAmplitudeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectLocation", DbType="NVarChar(50)")] - public string DefectLocation - { - get - { - return this._DefectLocation; - } - set - { - if ((this._DefectLocation != value)) - { - this.OnDefectLocationChanging(value); - this.SendPropertyChanging(); - this._DefectLocation = value; - this.SendPropertyChanged("DefectLocation"); - this.OnDefectLocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepthDefect", DbType="Decimal(18,2)")] - public System.Nullable DepthDefect - { - get - { - return this._DepthDefect; - } - set - { - if ((this._DepthDefect != value)) - { - this.OnDepthDefectChanging(value); - this.SendPropertyChanging(); - this._DepthDefect = value; - this.SendPropertyChanged("DepthDefect"); - this.OnDepthDefectChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndicatingLength", DbType="Decimal(18,2)")] - public System.Nullable IndicatingLength - { - get - { - return this._IndicatingLength; - } - set - { - if ((this._IndicatingLength != value)) - { - this.OnIndicatingLengthChanging(value); - this.SendPropertyChanging(); - this._IndicatingLength = value; - this.SendPropertyChanged("IndicatingLength"); - this.OnIndicatingLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectHeight", DbType="Decimal(18,2)")] - public System.Nullable DefectHeight - { - get - { - return this._DefectHeight; - } - set - { - if ((this._DefectHeight != value)) - { - this.OnDefectHeightChanging(value); - this.SendPropertyChanging(); - this._DefectHeight = value; - this.SendPropertyChanged("DefectHeight"); - this.OnDefectHeightChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectsHighSide", DbType="Decimal(18,2)")] - public System.Nullable DefectsHighSide - { - get - { - return this._DefectsHighSide; - } - set - { - if ((this._DefectsHighSide != value)) - { - this.OnDefectsHighSideChanging(value); - this.SendPropertyChanging(); - this._DefectsHighSide = value; - this.SendPropertyChanged("DefectsHighSide"); - this.OnDefectsHighSideChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectSize", DbType="Decimal(18,2)")] - public System.Nullable DefectSize - { - get - { - return this._DefectSize; - } - set - { - if ((this._DefectSize != value)) - { - this.OnDefectSizeChanging(value); - this.SendPropertyChanging(); - this._DefectSize = value; - this.SendPropertyChanged("DefectSize"); - this.OnDefectSizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(50)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this.OnDefectNatureChanging(value); - this.SendPropertyChanging(); - this._DefectNature = value; - this.SendPropertyChanged("DefectNature"); - this.OnDefectNatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPass", DbType="NVarChar(50)")] - public string IsPass - { - get - { - return this._IsPass; - } - set - { - if ((this._IsPass != value)) - { - this.OnIsPassChanging(value); - this.SendPropertyChanging(); - this._IsPass = value; - this.SendPropertyChanged("IsPass"); - this.OnIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectRation", DbType="NVarChar(50)")] - public string DefectRation - { - get - { - return this._DefectRation; - } - set - { - if ((this._DefectRation != value)) - { - this.OnDefectRationChanging(value); - this.SendPropertyChanging(); - this._DefectRation = value; - this.SendPropertyChanged("DefectRation"); - this.OnDefectRationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RMaterial", DbType="Bit")] - public System.Nullable RMaterial - { - get - { - return this._RMaterial; - } - set - { - if ((this._RMaterial != value)) - { - this.OnRMaterialChanging(value); - this.SendPropertyChanging(); - this._RMaterial = value; - this.SendPropertyChanged("RMaterial"); - this.OnRMaterialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRatingRepair_HJGL_CH_RepairItem", Storage="_HJGL_CH_RepairItem", ThisKey="CH_RepairItemId", OtherKey="CH_RepairItemId", IsForeignKey=true)] - public HJGL_CH_RepairItem HJGL_CH_RepairItem - { - get - { - return this._HJGL_CH_RepairItem.Entity; - } - set - { - HJGL_CH_RepairItem previousValue = this._HJGL_CH_RepairItem.Entity; - if (((previousValue != value) - || (this._HJGL_CH_RepairItem.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_RepairItem.Entity = null; - previousValue.HJGL_BO_QualityRatingRepair.Remove(this); - } - this._HJGL_CH_RepairItem.Entity = value; - if ((value != null)) - { - value.HJGL_BO_QualityRatingRepair.Add(this); - this._CH_RepairItemId = value.CH_RepairItemId; - } - else - { - this._CH_RepairItemId = default(string); - } - this.SendPropertyChanged("HJGL_CH_RepairItem"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRatingRepair_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_BO_QualityRatingRepair.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_QualityRatingRepair.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRatingRepair_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_BO_QualityRatingRepair.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_QualityRatingRepair.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_RemakeReason")] - public partial class HJGL_BO_RemakeReason : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RemakeId; - - private string _QualityRatingId; - - private string _CheckMan; - - private System.Nullable _TypeNum_Error; - - private System.Nullable _TypeNum_Defect; - - private System.Nullable _TypeNum_Position; - - private System.Nullable _TypeNum_Displacement; - - private System.Nullable _ImageQualityMeter_Error; - - private System.Nullable _ImageQualityMeter_Defect; - - private System.Nullable _RayField_Tilt; - - private System.Nullable _RayField_Whitehead; - - private System.Nullable _RayField_FocalLengthSmall; - - private System.Nullable _Blackness_TooHigh; - - private System.Nullable _Blackness_TooLow; - - private System.Nullable _EllipticalOpening_TooMuch; - - private System.Nullable _EllipticalOpening_TooSmall; - - private System.Nullable _NegativeOffset; - - private System.Nullable _Ghosting; - - private System.Nullable _LocationIsNot; - - private System.Nullable _PseudoDefects_Obstacles; - - private System.Nullable _PseudoDefects_Mark; - - private System.Nullable _BackScattering; - - private System.Nullable _FilmSensitizingScreen; - - private System.Nullable _WashPiece; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRemakeIdChanging(string value); - partial void OnRemakeIdChanged(); - partial void OnQualityRatingIdChanging(string value); - partial void OnQualityRatingIdChanged(); - partial void OnCheckManChanging(string value); - partial void OnCheckManChanged(); - partial void OnTypeNum_ErrorChanging(System.Nullable value); - partial void OnTypeNum_ErrorChanged(); - partial void OnTypeNum_DefectChanging(System.Nullable value); - partial void OnTypeNum_DefectChanged(); - partial void OnTypeNum_PositionChanging(System.Nullable value); - partial void OnTypeNum_PositionChanged(); - partial void OnTypeNum_DisplacementChanging(System.Nullable value); - partial void OnTypeNum_DisplacementChanged(); - partial void OnImageQualityMeter_ErrorChanging(System.Nullable value); - partial void OnImageQualityMeter_ErrorChanged(); - partial void OnImageQualityMeter_DefectChanging(System.Nullable value); - partial void OnImageQualityMeter_DefectChanged(); - partial void OnRayField_TiltChanging(System.Nullable value); - partial void OnRayField_TiltChanged(); - partial void OnRayField_WhiteheadChanging(System.Nullable value); - partial void OnRayField_WhiteheadChanged(); - partial void OnRayField_FocalLengthSmallChanging(System.Nullable value); - partial void OnRayField_FocalLengthSmallChanged(); - partial void OnBlackness_TooHighChanging(System.Nullable value); - partial void OnBlackness_TooHighChanged(); - partial void OnBlackness_TooLowChanging(System.Nullable value); - partial void OnBlackness_TooLowChanged(); - partial void OnEllipticalOpening_TooMuchChanging(System.Nullable value); - partial void OnEllipticalOpening_TooMuchChanged(); - partial void OnEllipticalOpening_TooSmallChanging(System.Nullable value); - partial void OnEllipticalOpening_TooSmallChanged(); - partial void OnNegativeOffsetChanging(System.Nullable value); - partial void OnNegativeOffsetChanged(); - partial void OnGhostingChanging(System.Nullable value); - partial void OnGhostingChanged(); - partial void OnLocationIsNotChanging(System.Nullable value); - partial void OnLocationIsNotChanged(); - partial void OnPseudoDefects_ObstaclesChanging(System.Nullable value); - partial void OnPseudoDefects_ObstaclesChanged(); - partial void OnPseudoDefects_MarkChanging(System.Nullable value); - partial void OnPseudoDefects_MarkChanged(); - partial void OnBackScatteringChanging(System.Nullable value); - partial void OnBackScatteringChanged(); - partial void OnFilmSensitizingScreenChanging(System.Nullable value); - partial void OnFilmSensitizingScreenChanged(); - partial void OnWashPieceChanging(System.Nullable value); - partial void OnWashPieceChanged(); - #endregion - - public HJGL_BO_RemakeReason() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemakeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RemakeId - { - get - { - return this._RemakeId; - } - set - { - if ((this._RemakeId != value)) - { - this.OnRemakeIdChanging(value); - this.SendPropertyChanging(); - this._RemakeId = value; - this.SendPropertyChanged("RemakeId"); - this.OnRemakeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualityRatingId", DbType="NVarChar(50)")] - public string QualityRatingId - { - get - { - return this._QualityRatingId; - } - set - { - if ((this._QualityRatingId != value)) - { - this.OnQualityRatingIdChanging(value); - this.SendPropertyChanging(); - this._QualityRatingId = value; - this.SendPropertyChanged("QualityRatingId"); - this.OnQualityRatingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckMan", DbType="NVarChar(50)")] - public string CheckMan - { - get - { - return this._CheckMan; - } - set - { - if ((this._CheckMan != value)) - { - this.OnCheckManChanging(value); - this.SendPropertyChanging(); - this._CheckMan = value; - this.SendPropertyChanged("CheckMan"); - this.OnCheckManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeNum_Error", DbType="Bit")] - public System.Nullable TypeNum_Error - { - get - { - return this._TypeNum_Error; - } - set - { - if ((this._TypeNum_Error != value)) - { - this.OnTypeNum_ErrorChanging(value); - this.SendPropertyChanging(); - this._TypeNum_Error = value; - this.SendPropertyChanged("TypeNum_Error"); - this.OnTypeNum_ErrorChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeNum_Defect", DbType="Bit")] - public System.Nullable TypeNum_Defect - { - get - { - return this._TypeNum_Defect; - } - set - { - if ((this._TypeNum_Defect != value)) - { - this.OnTypeNum_DefectChanging(value); - this.SendPropertyChanging(); - this._TypeNum_Defect = value; - this.SendPropertyChanged("TypeNum_Defect"); - this.OnTypeNum_DefectChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeNum_Position", DbType="Bit")] - public System.Nullable TypeNum_Position - { - get - { - return this._TypeNum_Position; - } - set - { - if ((this._TypeNum_Position != value)) - { - this.OnTypeNum_PositionChanging(value); - this.SendPropertyChanging(); - this._TypeNum_Position = value; - this.SendPropertyChanged("TypeNum_Position"); - this.OnTypeNum_PositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeNum_Displacement", DbType="Bit")] - public System.Nullable TypeNum_Displacement - { - get - { - return this._TypeNum_Displacement; - } - set - { - if ((this._TypeNum_Displacement != value)) - { - this.OnTypeNum_DisplacementChanging(value); - this.SendPropertyChanging(); - this._TypeNum_Displacement = value; - this.SendPropertyChanged("TypeNum_Displacement"); - this.OnTypeNum_DisplacementChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageQualityMeter_Error", DbType="Bit")] - public System.Nullable ImageQualityMeter_Error - { - get - { - return this._ImageQualityMeter_Error; - } - set - { - if ((this._ImageQualityMeter_Error != value)) - { - this.OnImageQualityMeter_ErrorChanging(value); - this.SendPropertyChanging(); - this._ImageQualityMeter_Error = value; - this.SendPropertyChanged("ImageQualityMeter_Error"); - this.OnImageQualityMeter_ErrorChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageQualityMeter_Defect", DbType="Bit")] - public System.Nullable ImageQualityMeter_Defect - { - get - { - return this._ImageQualityMeter_Defect; - } - set - { - if ((this._ImageQualityMeter_Defect != value)) - { - this.OnImageQualityMeter_DefectChanging(value); - this.SendPropertyChanging(); - this._ImageQualityMeter_Defect = value; - this.SendPropertyChanged("ImageQualityMeter_Defect"); - this.OnImageQualityMeter_DefectChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RayField_Tilt", DbType="Bit")] - public System.Nullable RayField_Tilt - { - get - { - return this._RayField_Tilt; - } - set - { - if ((this._RayField_Tilt != value)) - { - this.OnRayField_TiltChanging(value); - this.SendPropertyChanging(); - this._RayField_Tilt = value; - this.SendPropertyChanged("RayField_Tilt"); - this.OnRayField_TiltChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RayField_Whitehead", DbType="Bit")] - public System.Nullable RayField_Whitehead - { - get - { - return this._RayField_Whitehead; - } - set - { - if ((this._RayField_Whitehead != value)) - { - this.OnRayField_WhiteheadChanging(value); - this.SendPropertyChanging(); - this._RayField_Whitehead = value; - this.SendPropertyChanged("RayField_Whitehead"); - this.OnRayField_WhiteheadChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RayField_FocalLengthSmall", DbType="Bit")] - public System.Nullable RayField_FocalLengthSmall - { - get - { - return this._RayField_FocalLengthSmall; - } - set - { - if ((this._RayField_FocalLengthSmall != value)) - { - this.OnRayField_FocalLengthSmallChanging(value); - this.SendPropertyChanging(); - this._RayField_FocalLengthSmall = value; - this.SendPropertyChanged("RayField_FocalLengthSmall"); - this.OnRayField_FocalLengthSmallChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Blackness_TooHigh", DbType="Bit")] - public System.Nullable Blackness_TooHigh - { - get - { - return this._Blackness_TooHigh; - } - set - { - if ((this._Blackness_TooHigh != value)) - { - this.OnBlackness_TooHighChanging(value); - this.SendPropertyChanging(); - this._Blackness_TooHigh = value; - this.SendPropertyChanged("Blackness_TooHigh"); - this.OnBlackness_TooHighChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Blackness_TooLow", DbType="Bit")] - public System.Nullable Blackness_TooLow - { - get - { - return this._Blackness_TooLow; - } - set - { - if ((this._Blackness_TooLow != value)) - { - this.OnBlackness_TooLowChanging(value); - this.SendPropertyChanging(); - this._Blackness_TooLow = value; - this.SendPropertyChanged("Blackness_TooLow"); - this.OnBlackness_TooLowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EllipticalOpening_TooMuch", DbType="Bit")] - public System.Nullable EllipticalOpening_TooMuch - { - get - { - return this._EllipticalOpening_TooMuch; - } - set - { - if ((this._EllipticalOpening_TooMuch != value)) - { - this.OnEllipticalOpening_TooMuchChanging(value); - this.SendPropertyChanging(); - this._EllipticalOpening_TooMuch = value; - this.SendPropertyChanged("EllipticalOpening_TooMuch"); - this.OnEllipticalOpening_TooMuchChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EllipticalOpening_TooSmall", DbType="Bit")] - public System.Nullable EllipticalOpening_TooSmall - { - get - { - return this._EllipticalOpening_TooSmall; - } - set - { - if ((this._EllipticalOpening_TooSmall != value)) - { - this.OnEllipticalOpening_TooSmallChanging(value); - this.SendPropertyChanging(); - this._EllipticalOpening_TooSmall = value; - this.SendPropertyChanged("EllipticalOpening_TooSmall"); - this.OnEllipticalOpening_TooSmallChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NegativeOffset", DbType="Bit")] - public System.Nullable NegativeOffset - { - get - { - return this._NegativeOffset; - } - set - { - if ((this._NegativeOffset != value)) - { - this.OnNegativeOffsetChanging(value); - this.SendPropertyChanging(); - this._NegativeOffset = value; - this.SendPropertyChanged("NegativeOffset"); - this.OnNegativeOffsetChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ghosting", DbType="Bit")] - public System.Nullable Ghosting - { - get - { - return this._Ghosting; - } - set - { - if ((this._Ghosting != value)) - { - this.OnGhostingChanging(value); - this.SendPropertyChanging(); - this._Ghosting = value; - this.SendPropertyChanged("Ghosting"); - this.OnGhostingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationIsNot", DbType="Bit")] - public System.Nullable LocationIsNot - { - get - { - return this._LocationIsNot; - } - set - { - if ((this._LocationIsNot != value)) - { - this.OnLocationIsNotChanging(value); - this.SendPropertyChanging(); - this._LocationIsNot = value; - this.SendPropertyChanged("LocationIsNot"); - this.OnLocationIsNotChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PseudoDefects_Obstacles", DbType="Bit")] - public System.Nullable PseudoDefects_Obstacles - { - get - { - return this._PseudoDefects_Obstacles; - } - set - { - if ((this._PseudoDefects_Obstacles != value)) - { - this.OnPseudoDefects_ObstaclesChanging(value); - this.SendPropertyChanging(); - this._PseudoDefects_Obstacles = value; - this.SendPropertyChanged("PseudoDefects_Obstacles"); - this.OnPseudoDefects_ObstaclesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PseudoDefects_Mark", DbType="Bit")] - public System.Nullable PseudoDefects_Mark - { - get - { - return this._PseudoDefects_Mark; - } - set - { - if ((this._PseudoDefects_Mark != value)) - { - this.OnPseudoDefects_MarkChanging(value); - this.SendPropertyChanging(); - this._PseudoDefects_Mark = value; - this.SendPropertyChanged("PseudoDefects_Mark"); - this.OnPseudoDefects_MarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BackScattering", DbType="Bit")] - public System.Nullable BackScattering - { - get - { - return this._BackScattering; - } - set - { - if ((this._BackScattering != value)) - { - this.OnBackScatteringChanging(value); - this.SendPropertyChanging(); - this._BackScattering = value; - this.SendPropertyChanged("BackScattering"); - this.OnBackScatteringChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmSensitizingScreen", DbType="Bit")] - public System.Nullable FilmSensitizingScreen - { - get - { - return this._FilmSensitizingScreen; - } - set - { - if ((this._FilmSensitizingScreen != value)) - { - this.OnFilmSensitizingScreenChanging(value); - this.SendPropertyChanging(); - this._FilmSensitizingScreen = value; - this.SendPropertyChanged("FilmSensitizingScreen"); - this.OnFilmSensitizingScreenChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WashPiece", DbType="Bit")] - public System.Nullable WashPiece - { - get - { - return this._WashPiece; - } - set - { - if ((this._WashPiece != value)) - { - this.OnWashPieceChanging(value); - this.SendPropertyChanging(); - this._WashPiece = value; - this.SendPropertyChanged("WashPiece"); - this.OnWashPieceChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_RepairNotice")] - public partial class HJGL_BO_RepairNotice : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RepairNoticeId; - - private string _CH_TrustItemID; - - private string _ISO_ID; - - private string _JOT_ID; - - private string _FilmNum; - - private string _RepairTag; - - private string _States; - - private string _FeedbackMan; - - private System.Nullable _FeedbackDate; - - private string _DefectNature; - - private string _ToKTJotId; - - private EntityRef _HJGL_CH_TrustItem; - - private EntityRef _HJGL_PW_IsoInfo; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRepairNoticeIdChanging(string value); - partial void OnRepairNoticeIdChanged(); - partial void OnCH_TrustItemIDChanging(string value); - partial void OnCH_TrustItemIDChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnFilmNumChanging(string value); - partial void OnFilmNumChanged(); - partial void OnRepairTagChanging(string value); - partial void OnRepairTagChanged(); - partial void OnStatesChanging(string value); - partial void OnStatesChanged(); - partial void OnFeedbackManChanging(string value); - partial void OnFeedbackManChanged(); - partial void OnFeedbackDateChanging(System.Nullable value); - partial void OnFeedbackDateChanged(); - partial void OnDefectNatureChanging(string value); - partial void OnDefectNatureChanged(); - partial void OnToKTJotIdChanging(string value); - partial void OnToKTJotIdChanged(); - #endregion - - public HJGL_BO_RepairNotice() - { - this._HJGL_CH_TrustItem = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNoticeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RepairNoticeId - { - get - { - return this._RepairNoticeId; - } - set - { - if ((this._RepairNoticeId != value)) - { - this.OnRepairNoticeIdChanging(value); - this.SendPropertyChanging(); - this._RepairNoticeId = value; - this.SendPropertyChanged("RepairNoticeId"); - this.OnRepairNoticeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustItemID", DbType="VarChar(50)")] - public string CH_TrustItemID - { - get - { - return this._CH_TrustItemID; - } - set - { - if ((this._CH_TrustItemID != value)) - { - if (this._HJGL_CH_TrustItem.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCH_TrustItemIDChanging(value); - this.SendPropertyChanging(); - this._CH_TrustItemID = value; - this.SendPropertyChanged("CH_TrustItemID"); - this.OnCH_TrustItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmNum", DbType="NVarChar(50)")] - public string FilmNum - { - get - { - return this._FilmNum; - } - set - { - if ((this._FilmNum != value)) - { - this.OnFilmNumChanging(value); - this.SendPropertyChanging(); - this._FilmNum = value; - this.SendPropertyChanged("FilmNum"); - this.OnFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairTag", DbType="NVarChar(50)")] - public string RepairTag - { - get - { - return this._RepairTag; - } - set - { - if ((this._RepairTag != value)) - { - this.OnRepairTagChanging(value); - this.SendPropertyChanging(); - this._RepairTag = value; - this.SendPropertyChanged("RepairTag"); - this.OnRepairTagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="Char(1)")] - public string States - { - get - { - return this._States; - } - set - { - if ((this._States != value)) - { - this.OnStatesChanging(value); - this.SendPropertyChanging(); - this._States = value; - this.SendPropertyChanged("States"); - this.OnStatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackMan", DbType="NVarChar(50)")] - public string FeedbackMan - { - get - { - return this._FeedbackMan; - } - set - { - if ((this._FeedbackMan != value)) - { - this.OnFeedbackManChanging(value); - this.SendPropertyChanging(); - this._FeedbackMan = value; - this.SendPropertyChanged("FeedbackMan"); - this.OnFeedbackManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackDate", DbType="DateTime")] - public System.Nullable FeedbackDate - { - get - { - return this._FeedbackDate; - } - set - { - if ((this._FeedbackDate != value)) - { - this.OnFeedbackDateChanging(value); - this.SendPropertyChanging(); - this._FeedbackDate = value; - this.SendPropertyChanged("FeedbackDate"); - this.OnFeedbackDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(50)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this.OnDefectNatureChanging(value); - this.SendPropertyChanging(); - this._DefectNature = value; - this.SendPropertyChanged("DefectNature"); - this.OnDefectNatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKTJotId", DbType="NVarChar(1000)")] - public string ToKTJotId - { - get - { - return this._ToKTJotId; - } - set - { - if ((this._ToKTJotId != value)) - { - this.OnToKTJotIdChanging(value); - this.SendPropertyChanging(); - this._ToKTJotId = value; - this.SendPropertyChanged("ToKTJotId"); - this.OnToKTJotIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_RepairNotice_HJGL_BO_BatchDetail", Storage="_HJGL_CH_TrustItem", ThisKey="CH_TrustItemID", OtherKey="CH_TrustItemID", IsForeignKey=true)] - public HJGL_CH_TrustItem HJGL_CH_TrustItem - { - get - { - return this._HJGL_CH_TrustItem.Entity; - } - set - { - HJGL_CH_TrustItem previousValue = this._HJGL_CH_TrustItem.Entity; - if (((previousValue != value) - || (this._HJGL_CH_TrustItem.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_TrustItem.Entity = null; - previousValue.HJGL_BO_RepairNotice.Remove(this); - } - this._HJGL_CH_TrustItem.Entity = value; - if ((value != null)) - { - value.HJGL_BO_RepairNotice.Add(this); - this._CH_TrustItemID = value.CH_TrustItemID; - } - else - { - this._CH_TrustItemID = default(string); - } - this.SendPropertyChanged("HJGL_CH_TrustItem"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_RepairNotice_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_BO_RepairNotice.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_RepairNotice.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_RepairNotice_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_BO_RepairNotice.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_BO_RepairNotice.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BO_WeldReportMain")] - public partial class HJGL_BO_WeldReportMain : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DReportID; - - private string _ProjectId; - - private string _InstallationId; - - private string _BSU_ID; - - private System.DateTime _JOT_WeldDate; - - private string _JOT_DailyReportNo; - - private string _CHT_Tabler; - - private System.Nullable _CHT_TableDate; - - private string _JOT_Remark; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Project_Installation; - - private EntitySet _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDReportIDChanging(string value); - partial void OnDReportIDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnBSU_IDChanging(string value); - partial void OnBSU_IDChanged(); - partial void OnJOT_WeldDateChanging(System.DateTime value); - partial void OnJOT_WeldDateChanged(); - partial void OnJOT_DailyReportNoChanging(string value); - partial void OnJOT_DailyReportNoChanged(); - partial void OnCHT_TablerChanging(string value); - partial void OnCHT_TablerChanged(); - partial void OnCHT_TableDateChanging(System.Nullable value); - partial void OnCHT_TableDateChanged(); - partial void OnJOT_RemarkChanging(string value); - partial void OnJOT_RemarkChanged(); - #endregion - - public HJGL_BO_WeldReportMain() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Project_Installation = default(EntityRef); - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this.OnDReportIDChanging(value); - this.SendPropertyChanging(); - this._DReportID = value; - this.SendPropertyChanged("DReportID"); - this.OnDReportIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - if (this._Project_Installation.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BSU_ID", DbType="NVarChar(50)")] - public string BSU_ID - { - get - { - return this._BSU_ID; - } - set - { - if ((this._BSU_ID != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBSU_IDChanging(value); - this.SendPropertyChanging(); - this._BSU_ID = value; - this.SendPropertyChanged("BSU_ID"); - this.OnBSU_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldDate", DbType="DateTime NOT NULL")] - public System.DateTime JOT_WeldDate - { - get - { - return this._JOT_WeldDate; - } - set - { - if ((this._JOT_WeldDate != value)) - { - this.OnJOT_WeldDateChanging(value); - this.SendPropertyChanging(); - this._JOT_WeldDate = value; - this.SendPropertyChanged("JOT_WeldDate"); - this.OnJOT_WeldDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_DailyReportNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_DailyReportNo - { - get - { - return this._JOT_DailyReportNo; - } - set - { - if ((this._JOT_DailyReportNo != value)) - { - this.OnJOT_DailyReportNoChanging(value); - this.SendPropertyChanging(); - this._JOT_DailyReportNo = value; - this.SendPropertyChanged("JOT_DailyReportNo"); - this.OnJOT_DailyReportNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHT_Tabler", DbType="NVarChar(50)")] - public string CHT_Tabler - { - get - { - return this._CHT_Tabler; - } - set - { - if ((this._CHT_Tabler != value)) - { - this.OnCHT_TablerChanging(value); - this.SendPropertyChanging(); - this._CHT_Tabler = value; - this.SendPropertyChanged("CHT_Tabler"); - this.OnCHT_TablerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHT_TableDate", DbType="DateTime")] - public System.Nullable CHT_TableDate - { - get - { - return this._CHT_TableDate; - } - set - { - if ((this._CHT_TableDate != value)) - { - this.OnCHT_TableDateChanging(value); - this.SendPropertyChanging(); - this._CHT_TableDate = value; - this.SendPropertyChanged("CHT_TableDate"); - this.OnCHT_TableDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Remark", DbType="VarChar(100)")] - public string JOT_Remark - { - get - { - return this._JOT_Remark; - } - set - { - if ((this._JOT_Remark != value)) - { - this.OnJOT_RemarkChanging(value); - this.SendPropertyChanging(); - this._JOT_Remark = value; - this.SendPropertyChanged("JOT_Remark"); - this.OnJOT_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_WeldReportMain_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_BO_WeldReportMain.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_BO_WeldReportMain.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_WeldReportMain_Base_Unit", Storage="_Base_Unit", ThisKey="BSU_ID", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_BO_WeldReportMain.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_BO_WeldReportMain.Add(this); - this._BSU_ID = value.UnitId; - } - else - { - this._BSU_ID = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_WeldReportMain_Project_Installation", Storage="_Project_Installation", ThisKey="InstallationId", OtherKey="InstallationId", IsForeignKey=true)] - public Project_Installation Project_Installation - { - get - { - return this._Project_Installation.Entity; - } - set - { - Project_Installation previousValue = this._Project_Installation.Entity; - if (((previousValue != value) - || (this._Project_Installation.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Project_Installation.Entity = null; - previousValue.HJGL_BO_WeldReportMain.Remove(this); - } - this._Project_Installation.Entity = value; - if ((value != null)) - { - value.HJGL_BO_WeldReportMain.Add(this); - this._InstallationId = value.InstallationId; - } - else - { - this._InstallationId = default(string); - } - this.SendPropertyChanged("Project_Installation"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BO_WeldReportMain", Storage="_HJGL_PW_JointInfo", ThisKey="DReportID", OtherKey="DReportID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_WeldReportMain = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BO_WeldReportMain = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_Component")] - public partial class HJGL_BS_Component : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _COM_ID; - - private string _COM_Code; - - private string _COM_Name; - - private string _COM_Remark; - - private EntitySet _HJGL_PW_JointInfo; - - private EntitySet _COM_; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnCOM_IDChanging(string value); - partial void OnCOM_IDChanged(); - partial void OnCOM_CodeChanging(string value); - partial void OnCOM_CodeChanged(); - partial void OnCOM_NameChanging(string value); - partial void OnCOM_NameChanged(); - partial void OnCOM_RemarkChanging(string value); - partial void OnCOM_RemarkChanged(); - #endregion - - public HJGL_BS_Component() - { - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - this._COM_ = new EntitySet(new Action(this.attach_COM_), new Action(this.detach_COM_)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_COM_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string COM_ID - { - get - { - return this._COM_ID; - } - set - { - if ((this._COM_ID != value)) - { - this.OnCOM_IDChanging(value); - this.SendPropertyChanging(); - this._COM_ID = value; - this.SendPropertyChanged("COM_ID"); - this.OnCOM_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_COM_Code", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string COM_Code - { - get - { - return this._COM_Code; - } - set - { - if ((this._COM_Code != value)) - { - this.OnCOM_CodeChanging(value); - this.SendPropertyChanging(); - this._COM_Code = value; - this.SendPropertyChanged("COM_Code"); - this.OnCOM_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_COM_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string COM_Name - { - get - { - return this._COM_Name; - } - set - { - if ((this._COM_Name != value)) - { - this.OnCOM_NameChanging(value); - this.SendPropertyChanging(); - this._COM_Name = value; - this.SendPropertyChanged("COM_Name"); - this.OnCOM_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_COM_Remark", DbType="VarChar(100)")] - public string COM_Remark - { - get - { - return this._COM_Remark; - } - set - { - if ((this._COM_Remark != value)) - { - this.OnCOM_RemarkChanging(value); - this.SendPropertyChanging(); - this._COM_Remark = value; - this.SendPropertyChanged("COM_Remark"); - this.OnCOM_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Component", Storage="_HJGL_PW_JointInfo", ThisKey="COM_ID", OtherKey="JOT_Component1", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Component1", Storage="_COM_", ThisKey="COM_ID", OtherKey="JOT_Component2", DeleteRule="NO ACTION")] - public EntitySet COM_ - { - get - { - return this._COM_; - } - set - { - this._COM_.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Component = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Component = null; - } - - private void attach_COM_(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.JOT_Component2HJGL_BS_Component = this; - } - - private void detach_COM_(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.JOT_Component2HJGL_BS_Component = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_Equipment")] - public partial class HJGL_BS_Equipment : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EquipmentId; - - private string _EquipmentCode; - - private string _EquipmentName; - - private string _Remarks; - - private string _FocalSize; - - private string _FilmModel; - - private string _IntensifyingWay; - - private string _LineEnergy; - - private EntitySet _HJGL_CH_HardTestReport; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEquipmentIdChanging(string value); - partial void OnEquipmentIdChanged(); - partial void OnEquipmentCodeChanging(string value); - partial void OnEquipmentCodeChanged(); - partial void OnEquipmentNameChanging(string value); - partial void OnEquipmentNameChanged(); - partial void OnRemarksChanging(string value); - partial void OnRemarksChanged(); - partial void OnFocalSizeChanging(string value); - partial void OnFocalSizeChanged(); - partial void OnFilmModelChanging(string value); - partial void OnFilmModelChanged(); - partial void OnIntensifyingWayChanging(string value); - partial void OnIntensifyingWayChanged(); - partial void OnLineEnergyChanging(string value); - partial void OnLineEnergyChanged(); - #endregion - - public HJGL_BS_Equipment() - { - this._HJGL_CH_HardTestReport = new EntitySet(new Action(this.attach_HJGL_CH_HardTestReport), new Action(this.detach_HJGL_CH_HardTestReport)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EquipmentId - { - get - { - return this._EquipmentId; - } - set - { - if ((this._EquipmentId != value)) - { - this.OnEquipmentIdChanging(value); - this.SendPropertyChanging(); - this._EquipmentId = value; - this.SendPropertyChanged("EquipmentId"); - this.OnEquipmentIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentCode", DbType="NVarChar(50)")] - public string EquipmentCode - { - get - { - return this._EquipmentCode; - } - set - { - if ((this._EquipmentCode != value)) - { - this.OnEquipmentCodeChanging(value); - this.SendPropertyChanging(); - this._EquipmentCode = value; - this.SendPropertyChanged("EquipmentCode"); - this.OnEquipmentCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EquipmentName - { - get - { - return this._EquipmentName; - } - set - { - if ((this._EquipmentName != value)) - { - this.OnEquipmentNameChanging(value); - this.SendPropertyChanging(); - this._EquipmentName = value; - this.SendPropertyChanged("EquipmentName"); - this.OnEquipmentNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(500)")] - public string Remarks - { - get - { - return this._Remarks; - } - set - { - if ((this._Remarks != value)) - { - this.OnRemarksChanging(value); - this.SendPropertyChanging(); - this._Remarks = value; - this.SendPropertyChanged("Remarks"); - this.OnRemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FocalSize", DbType="NVarChar(50)")] - public string FocalSize - { - get - { - return this._FocalSize; - } - set - { - if ((this._FocalSize != value)) - { - this.OnFocalSizeChanging(value); - this.SendPropertyChanging(); - this._FocalSize = value; - this.SendPropertyChanged("FocalSize"); - this.OnFocalSizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmModel", DbType="NVarChar(50)")] - public string FilmModel - { - get - { - return this._FilmModel; - } - set - { - if ((this._FilmModel != value)) - { - this.OnFilmModelChanging(value); - this.SendPropertyChanging(); - this._FilmModel = value; - this.SendPropertyChanged("FilmModel"); - this.OnFilmModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IntensifyingWay", DbType="NVarChar(50)")] - public string IntensifyingWay - { - get - { - return this._IntensifyingWay; - } - set - { - if ((this._IntensifyingWay != value)) - { - this.OnIntensifyingWayChanging(value); - this.SendPropertyChanging(); - this._IntensifyingWay = value; - this.SendPropertyChanged("IntensifyingWay"); - this.OnIntensifyingWayChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LineEnergy", DbType="NVarChar(50)")] - public string LineEnergy - { - get - { - return this._LineEnergy; - } - set - { - if ((this._LineEnergy != value)) - { - this.OnLineEnergyChanging(value); - this.SendPropertyChanging(); - this._LineEnergy = value; - this.SendPropertyChanged("LineEnergy"); - this.OnLineEnergyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReport_HJGL_BS_Equipment", Storage="_HJGL_CH_HardTestReport", ThisKey="EquipmentId", OtherKey="EquipmentId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HardTestReport - { - get - { - return this._HJGL_CH_HardTestReport; - } - set - { - this._HJGL_CH_HardTestReport.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_CH_HardTestReport(HJGL_CH_HardTestReport entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Equipment = this; - } - - private void detach_HJGL_CH_HardTestReport(HJGL_CH_HardTestReport entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Equipment = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_ExecStandard")] - public partial class HJGL_BS_ExecStandard : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ExecStandardId; - - private string _ExecStandardName; - - private string _Def; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_BS_WeldControl; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnExecStandardIdChanging(string value); - partial void OnExecStandardIdChanged(); - partial void OnExecStandardNameChanging(string value); - partial void OnExecStandardNameChanged(); - partial void OnDefChanging(string value); - partial void OnDefChanged(); - #endregion - - public HJGL_BS_ExecStandard() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_BS_WeldControl = new EntitySet(new Action(this.attach_HJGL_BS_WeldControl), new Action(this.detach_HJGL_BS_WeldControl)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExecStandardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ExecStandardId - { - get - { - return this._ExecStandardId; - } - set - { - if ((this._ExecStandardId != value)) - { - this.OnExecStandardIdChanging(value); - this.SendPropertyChanging(); - this._ExecStandardId = value; - this.SendPropertyChanged("ExecStandardId"); - this.OnExecStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExecStandardName", DbType="NVarChar(50)")] - public string ExecStandardName - { - get - { - return this._ExecStandardName; - } - set - { - if ((this._ExecStandardName != value)) - { - this.OnExecStandardNameChanging(value); - this.SendPropertyChanging(); - this._ExecStandardName = value; - this.SendPropertyChanged("ExecStandardName"); - this.OnExecStandardNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Def", DbType="NVarChar(500)")] - public string Def - { - get - { - return this._Def; - } - set - { - if ((this._Def != value)) - { - this.OnDefChanging(value); - this.SendPropertyChanging(); - this._Def = value; - this.SendPropertyChanged("Def"); - this.OnDefChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_ExecStandard", Storage="_HJGL_BO_Batch", ThisKey="ExecStandardId", OtherKey="ExecStandardId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_ExecStandard", Storage="_HJGL_BS_WeldControl", ThisKey="ExecStandardId", OtherKey="ExecStandardId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_WeldControl - { - get - { - return this._HJGL_BS_WeldControl; - } - set - { - this._HJGL_BS_WeldControl.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_ExecStandard = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_ExecStandard = null; - } - - private void attach_HJGL_BS_WeldControl(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_ExecStandard = this; - } - - private void detach_HJGL_BS_WeldControl(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_ExecStandard = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_IsoClass")] - public partial class HJGL_BS_IsoClass : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ISC_ID; - - private string _ISC_IsoCode; - - private string _ISC_IsoClass; - - private string _ISC_IsoName; - - private string _ISC_Remark; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_BS_WeldControl; - - private EntitySet _HJGL_PW_IsoInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnISC_IDChanging(string value); - partial void OnISC_IDChanged(); - partial void OnISC_IsoCodeChanging(string value); - partial void OnISC_IsoCodeChanged(); - partial void OnISC_IsoClassChanging(string value); - partial void OnISC_IsoClassChanged(); - partial void OnISC_IsoNameChanging(string value); - partial void OnISC_IsoNameChanged(); - partial void OnISC_RemarkChanging(string value); - partial void OnISC_RemarkChanged(); - #endregion - - public HJGL_BS_IsoClass() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_BS_WeldControl = new EntitySet(new Action(this.attach_HJGL_BS_WeldControl), new Action(this.detach_HJGL_BS_WeldControl)); - this._HJGL_PW_IsoInfo = new EntitySet(new Action(this.attach_HJGL_PW_IsoInfo), new Action(this.detach_HJGL_PW_IsoInfo)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ISC_ID - { - get - { - return this._ISC_ID; - } - set - { - if ((this._ISC_ID != value)) - { - this.OnISC_IDChanging(value); - this.SendPropertyChanging(); - this._ISC_ID = value; - this.SendPropertyChanged("ISC_ID"); - this.OnISC_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_IsoCode", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string ISC_IsoCode - { - get - { - return this._ISC_IsoCode; - } - set - { - if ((this._ISC_IsoCode != value)) - { - this.OnISC_IsoCodeChanging(value); - this.SendPropertyChanging(); - this._ISC_IsoCode = value; - this.SendPropertyChanged("ISC_IsoCode"); - this.OnISC_IsoCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_IsoClass", DbType="VarChar(50)")] - public string ISC_IsoClass - { - get - { - return this._ISC_IsoClass; - } - set - { - if ((this._ISC_IsoClass != value)) - { - this.OnISC_IsoClassChanging(value); - this.SendPropertyChanging(); - this._ISC_IsoClass = value; - this.SendPropertyChanged("ISC_IsoClass"); - this.OnISC_IsoClassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_IsoName", DbType="VarChar(50)")] - public string ISC_IsoName - { - get - { - return this._ISC_IsoName; - } - set - { - if ((this._ISC_IsoName != value)) - { - this.OnISC_IsoNameChanging(value); - this.SendPropertyChanging(); - this._ISC_IsoName = value; - this.SendPropertyChanged("ISC_IsoName"); - this.OnISC_IsoNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_Remark", DbType="VarChar(100)")] - public string ISC_Remark - { - get - { - return this._ISC_Remark; - } - set - { - if ((this._ISC_Remark != value)) - { - this.OnISC_RemarkChanging(value); - this.SendPropertyChanging(); - this._ISC_Remark = value; - this.SendPropertyChanged("ISC_Remark"); - this.OnISC_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_IsoClass", Storage="_HJGL_BO_Batch", ThisKey="ISC_ID", OtherKey="ISC_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_WeldControl", Storage="_HJGL_BS_WeldControl", ThisKey="ISC_ID", OtherKey="ISC_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_WeldControl - { - get - { - return this._HJGL_BS_WeldControl; - } - set - { - this._HJGL_BS_WeldControl.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_HJGL_BS_IsoClass", Storage="_HJGL_PW_IsoInfo", ThisKey="ISC_ID", OtherKey="ISC_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo; - } - set - { - this._HJGL_PW_IsoInfo.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_IsoClass = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_IsoClass = null; - } - - private void attach_HJGL_BS_WeldControl(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_IsoClass = this; - } - - private void detach_HJGL_BS_WeldControl(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_IsoClass = null; - } - - private void attach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_IsoClass = this; - } - - private void detach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_IsoClass = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_JointType")] - public partial class HJGL_BS_JointType : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _JOTY_ID; - - private string _JOTY_Code; - - private string _JOTY_Name; - - private string _JOTY_Group; - - private string _JOTY_Remark; - - private string _ProjectSoft; - - private string _JOYT_ShortName; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_PW_JointInfo; - - private EntitySet _HJGL_PW_ProcedureImageManage; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnJOTY_IDChanging(string value); - partial void OnJOTY_IDChanged(); - partial void OnJOTY_CodeChanging(string value); - partial void OnJOTY_CodeChanged(); - partial void OnJOTY_NameChanging(string value); - partial void OnJOTY_NameChanged(); - partial void OnJOTY_GroupChanging(string value); - partial void OnJOTY_GroupChanged(); - partial void OnJOTY_RemarkChanging(string value); - partial void OnJOTY_RemarkChanged(); - partial void OnProjectSoftChanging(string value); - partial void OnProjectSoftChanged(); - partial void OnJOYT_ShortNameChanging(string value); - partial void OnJOYT_ShortNameChanged(); - #endregion - - public HJGL_BS_JointType() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - this._HJGL_PW_ProcedureImageManage = new EntitySet(new Action(this.attach_HJGL_PW_ProcedureImageManage), new Action(this.detach_HJGL_PW_ProcedureImageManage)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string JOTY_ID - { - get - { - return this._JOTY_ID; - } - set - { - if ((this._JOTY_ID != value)) - { - this.OnJOTY_IDChanging(value); - this.SendPropertyChanging(); - this._JOTY_ID = value; - this.SendPropertyChanged("JOTY_ID"); - this.OnJOTY_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Code", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string JOTY_Code - { - get - { - return this._JOTY_Code; - } - set - { - if ((this._JOTY_Code != value)) - { - this.OnJOTY_CodeChanging(value); - this.SendPropertyChanging(); - this._JOTY_Code = value; - this.SendPropertyChanged("JOTY_Code"); - this.OnJOTY_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOTY_Name - { - get - { - return this._JOTY_Name; - } - set - { - if ((this._JOTY_Name != value)) - { - this.OnJOTY_NameChanging(value); - this.SendPropertyChanging(); - this._JOTY_Name = value; - this.SendPropertyChanged("JOTY_Name"); - this.OnJOTY_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Group", DbType="NChar(1)")] - public string JOTY_Group - { - get - { - return this._JOTY_Group; - } - set - { - if ((this._JOTY_Group != value)) - { - this.OnJOTY_GroupChanging(value); - this.SendPropertyChanging(); - this._JOTY_Group = value; - this.SendPropertyChanged("JOTY_Group"); - this.OnJOTY_GroupChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Remark", DbType="VarChar(100)")] - public string JOTY_Remark - { - get - { - return this._JOTY_Remark; - } - set - { - if ((this._JOTY_Remark != value)) - { - this.OnJOTY_RemarkChanging(value); - this.SendPropertyChanging(); - this._JOTY_Remark = value; - this.SendPropertyChanged("JOTY_Remark"); - this.OnJOTY_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSoft", DbType="VarChar(5)")] - public string ProjectSoft - { - get - { - return this._ProjectSoft; - } - set - { - if ((this._ProjectSoft != value)) - { - this.OnProjectSoftChanging(value); - this.SendPropertyChanging(); - this._ProjectSoft = value; - this.SendPropertyChanged("ProjectSoft"); - this.OnProjectSoftChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOYT_ShortName", DbType="NVarChar(10)")] - public string JOYT_ShortName - { - get - { - return this._JOYT_ShortName; - } - set - { - if ((this._JOYT_ShortName != value)) - { - this.OnJOYT_ShortNameChanging(value); - this.SendPropertyChanging(); - this._JOYT_ShortName = value; - this.SendPropertyChanged("JOYT_ShortName"); - this.OnJOYT_ShortNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_JointType", Storage="_HJGL_BO_Batch", ThisKey="JOTY_ID", OtherKey="JOTY_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_JointType", Storage="_HJGL_PW_JointInfo", ThisKey="JOTY_ID", OtherKey="JOTY_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_ProcedureImageManage_HJGL_BS_JointType", Storage="_HJGL_PW_ProcedureImageManage", ThisKey="JOTY_ID", OtherKey="JOTY_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_ProcedureImageManage - { - get - { - return this._HJGL_PW_ProcedureImageManage; - } - set - { - this._HJGL_PW_ProcedureImageManage.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_JointType = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_JointType = null; - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_JointType = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_JointType = null; - } - - private void attach_HJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_JointType = this; - } - - private void detach_HJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_JointType = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_MaterialClass")] - public partial class HJGL_BS_MaterialClass : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MaterialClassId; - - private string _MaterialClassCode; - - private string _MaterialClass; - - private string _Remark; - - private EntitySet _HJGL_BS_MaterialGroup; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMaterialClassIdChanging(string value); - partial void OnMaterialClassIdChanged(); - partial void OnMaterialClassCodeChanging(string value); - partial void OnMaterialClassCodeChanged(); - partial void OnMaterialClassChanging(string value); - partial void OnMaterialClassChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_BS_MaterialClass() - { - this._HJGL_BS_MaterialGroup = new EntitySet(new Action(this.attach_HJGL_BS_MaterialGroup), new Action(this.detach_HJGL_BS_MaterialGroup)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClassId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MaterialClassId - { - get - { - return this._MaterialClassId; - } - set - { - if ((this._MaterialClassId != value)) - { - this.OnMaterialClassIdChanging(value); - this.SendPropertyChanging(); - this._MaterialClassId = value; - this.SendPropertyChanged("MaterialClassId"); - this.OnMaterialClassIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClassCode", DbType="NVarChar(50)")] - public string MaterialClassCode - { - get - { - return this._MaterialClassCode; - } - set - { - if ((this._MaterialClassCode != value)) - { - this.OnMaterialClassCodeChanging(value); - this.SendPropertyChanging(); - this._MaterialClassCode = value; - this.SendPropertyChanged("MaterialClassCode"); - this.OnMaterialClassCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClass", DbType="NVarChar(50)")] - public string MaterialClass - { - get - { - return this._MaterialClass; - } - set - { - if ((this._MaterialClass != value)) - { - this.OnMaterialClassChanging(value); - this.SendPropertyChanging(); - this._MaterialClass = value; - this.SendPropertyChanged("MaterialClass"); - this.OnMaterialClassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_MaterialGroup_HJGL_BS_MaterialClass", Storage="_HJGL_BS_MaterialGroup", ThisKey="MaterialClassId", OtherKey="MaterialClassId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_MaterialGroup - { - get - { - return this._HJGL_BS_MaterialGroup; - } - set - { - this._HJGL_BS_MaterialGroup.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BS_MaterialGroup(HJGL_BS_MaterialGroup entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_MaterialClass = this; - } - - private void detach_HJGL_BS_MaterialGroup(HJGL_BS_MaterialGroup entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_MaterialClass = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_MaterialCompare")] - public partial class HJGL_BS_MaterialCompare : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MaterialCompareId; - - private string _STE_ID; - - private string _WME_ID; - - private string _WMT_ID1; - - private string _WMT_ID2; - - private string _Remark; - - private EntityRef _HJGL_BS_Steel; - - private EntityRef _HJGL_BS_WeldMaterial; - - private EntityRef _HJGL_BS_WeldMethod; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMaterialCompareIdChanging(string value); - partial void OnMaterialCompareIdChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - partial void OnWMT_ID1Changing(string value); - partial void OnWMT_ID1Changed(); - partial void OnWMT_ID2Changing(string value); - partial void OnWMT_ID2Changed(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_BS_MaterialCompare() - { - this._HJGL_BS_Steel = default(EntityRef); - this._HJGL_BS_WeldMaterial = default(EntityRef); - this._HJGL_BS_WeldMethod = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCompareId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MaterialCompareId - { - get - { - return this._MaterialCompareId; - } - set - { - if ((this._MaterialCompareId != value)) - { - this.OnMaterialCompareIdChanging(value); - this.SendPropertyChanging(); - this._MaterialCompareId = value; - this.SendPropertyChanged("MaterialCompareId"); - this.OnMaterialCompareIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_ID1", DbType="VarChar(50)")] - public string WMT_ID1 - { - get - { - return this._WMT_ID1; - } - set - { - if ((this._WMT_ID1 != value)) - { - if (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWMT_ID1Changing(value); - this.SendPropertyChanging(); - this._WMT_ID1 = value; - this.SendPropertyChanged("WMT_ID1"); - this.OnWMT_ID1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_ID2", DbType="VarChar(50)")] - public string WMT_ID2 - { - get - { - return this._WMT_ID2; - } - set - { - if ((this._WMT_ID2 != value)) - { - this.OnWMT_ID2Changing(value); - this.SendPropertyChanging(); - this._WMT_ID2 = value; - this.SendPropertyChanged("WMT_ID2"); - this.OnWMT_ID2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(300)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_MaterialCompare_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel HJGL_BS_Steel - { - get - { - return this._HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Steel.Entity = null; - previousValue.HJGL_BS_MaterialCompare.Remove(this); - } - this._HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_BS_MaterialCompare.Add(this); - this._STE_ID = value.STE_ID; - } - else - { - this._STE_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_MaterialCompare_HJGL_BS_WeldMaterial", Storage="_HJGL_BS_WeldMaterial", ThisKey="WMT_ID1", OtherKey="WMT_ID", IsForeignKey=true)] - public HJGL_BS_WeldMaterial HJGL_BS_WeldMaterial - { - get - { - return this._HJGL_BS_WeldMaterial.Entity; - } - set - { - HJGL_BS_WeldMaterial previousValue = this._HJGL_BS_WeldMaterial.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMaterial.Entity = null; - previousValue.HJGL_BS_MaterialCompare.Remove(this); - } - this._HJGL_BS_WeldMaterial.Entity = value; - if ((value != null)) - { - value.HJGL_BS_MaterialCompare.Add(this); - this._WMT_ID1 = value.WMT_ID; - } - else - { - this._WMT_ID1 = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMaterial"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_MaterialCompare_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WME_ID", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_BS_MaterialCompare.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_BS_MaterialCompare.Add(this); - this._WME_ID = value.WME_ID; - } - else - { - this._WME_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_MaterialGroup")] - public partial class HJGL_BS_MaterialGroup : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MaterialGroupId; - - private string _MaterialGroupCode; - - private string _MaterialGroup; - - private string _Remark; - - private string _MaterialClassId; - - private EntityRef _HJGL_BS_MaterialClass; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMaterialGroupIdChanging(string value); - partial void OnMaterialGroupIdChanged(); - partial void OnMaterialGroupCodeChanging(string value); - partial void OnMaterialGroupCodeChanged(); - partial void OnMaterialGroupChanging(string value); - partial void OnMaterialGroupChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnMaterialClassIdChanging(string value); - partial void OnMaterialClassIdChanged(); - #endregion - - public HJGL_BS_MaterialGroup() - { - this._HJGL_BS_MaterialClass = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroupId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MaterialGroupId - { - get - { - return this._MaterialGroupId; - } - set - { - if ((this._MaterialGroupId != value)) - { - this.OnMaterialGroupIdChanging(value); - this.SendPropertyChanging(); - this._MaterialGroupId = value; - this.SendPropertyChanged("MaterialGroupId"); - this.OnMaterialGroupIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroupCode", DbType="NVarChar(50)")] - public string MaterialGroupCode - { - get - { - return this._MaterialGroupCode; - } - set - { - if ((this._MaterialGroupCode != value)) - { - this.OnMaterialGroupCodeChanging(value); - this.SendPropertyChanging(); - this._MaterialGroupCode = value; - this.SendPropertyChanged("MaterialGroupCode"); - this.OnMaterialGroupCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroup", DbType="NVarChar(50)")] - public string MaterialGroup - { - get - { - return this._MaterialGroup; - } - set - { - if ((this._MaterialGroup != value)) - { - this.OnMaterialGroupChanging(value); - this.SendPropertyChanging(); - this._MaterialGroup = value; - this.SendPropertyChanged("MaterialGroup"); - this.OnMaterialGroupChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClassId", DbType="NVarChar(50)")] - public string MaterialClassId - { - get - { - return this._MaterialClassId; - } - set - { - if ((this._MaterialClassId != value)) - { - if (this._HJGL_BS_MaterialClass.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMaterialClassIdChanging(value); - this.SendPropertyChanging(); - this._MaterialClassId = value; - this.SendPropertyChanged("MaterialClassId"); - this.OnMaterialClassIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_MaterialGroup_HJGL_BS_MaterialClass", Storage="_HJGL_BS_MaterialClass", ThisKey="MaterialClassId", OtherKey="MaterialClassId", IsForeignKey=true)] - public HJGL_BS_MaterialClass HJGL_BS_MaterialClass - { - get - { - return this._HJGL_BS_MaterialClass.Entity; - } - set - { - HJGL_BS_MaterialClass previousValue = this._HJGL_BS_MaterialClass.Entity; - if (((previousValue != value) - || (this._HJGL_BS_MaterialClass.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_MaterialClass.Entity = null; - previousValue.HJGL_BS_MaterialGroup.Remove(this); - } - this._HJGL_BS_MaterialClass.Entity = value; - if ((value != null)) - { - value.HJGL_BS_MaterialGroup.Add(this); - this._MaterialClassId = value.MaterialClassId; - } - else - { - this._MaterialClassId = default(string); - } - this.SendPropertyChanged("HJGL_BS_MaterialClass"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_MaterialStandard")] - public partial class HJGL_BS_MaterialStandard : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MaterialStandardId; - - private string _MaterialStandardCode; - - private string _MaterialStandardName; - - private string _Remark; - - private EntitySet _HJGL_PW_IsoInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMaterialStandardIdChanging(string value); - partial void OnMaterialStandardIdChanged(); - partial void OnMaterialStandardCodeChanging(string value); - partial void OnMaterialStandardCodeChanged(); - partial void OnMaterialStandardNameChanging(string value); - partial void OnMaterialStandardNameChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_BS_MaterialStandard() - { - this._HJGL_PW_IsoInfo = new EntitySet(new Action(this.attach_HJGL_PW_IsoInfo), new Action(this.detach_HJGL_PW_IsoInfo)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MaterialStandardId - { - get - { - return this._MaterialStandardId; - } - set - { - if ((this._MaterialStandardId != value)) - { - this.OnMaterialStandardIdChanging(value); - this.SendPropertyChanging(); - this._MaterialStandardId = value; - this.SendPropertyChanged("MaterialStandardId"); - this.OnMaterialStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandardCode", DbType="NVarChar(50)")] - public string MaterialStandardCode - { - get - { - return this._MaterialStandardCode; - } - set - { - if ((this._MaterialStandardCode != value)) - { - this.OnMaterialStandardCodeChanging(value); - this.SendPropertyChanging(); - this._MaterialStandardCode = value; - this.SendPropertyChanged("MaterialStandardCode"); - this.OnMaterialStandardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandardName", DbType="NVarChar(50)")] - public string MaterialStandardName - { - get - { - return this._MaterialStandardName; - } - set - { - if ((this._MaterialStandardName != value)) - { - this.OnMaterialStandardNameChanging(value); - this.SendPropertyChanging(); - this._MaterialStandardName = value; - this.SendPropertyChanged("MaterialStandardName"); - this.OnMaterialStandardNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_HJGL_BS_MaterialStandard", Storage="_HJGL_PW_IsoInfo", ThisKey="MaterialStandardId", OtherKey="MaterialStandardId", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo; - } - set - { - this._HJGL_PW_IsoInfo.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_MaterialStandard = this; - } - - private void detach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_MaterialStandard = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_NDTRate")] - public partial class HJGL_BS_NDTRate : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _NDTR_ID; - - private string _NDTR_Code; - - private string _NDTR_Name; - - private System.Nullable _NDTR_Rate; - - private string _NDTR_Remark; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_BS_WeldControl; - - private EntitySet _NDTR_; - - private EntitySet _HJGL_BS_WeldControl_HJGL_BS_NDTRate2; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnNDTR_IDChanging(string value); - partial void OnNDTR_IDChanged(); - partial void OnNDTR_CodeChanging(string value); - partial void OnNDTR_CodeChanged(); - partial void OnNDTR_NameChanging(string value); - partial void OnNDTR_NameChanged(); - partial void OnNDTR_RateChanging(System.Nullable value); - partial void OnNDTR_RateChanged(); - partial void OnNDTR_RemarkChanging(string value); - partial void OnNDTR_RemarkChanged(); - #endregion - - public HJGL_BS_NDTRate() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_BS_WeldControl = new EntitySet(new Action(this.attach_HJGL_BS_WeldControl), new Action(this.detach_HJGL_BS_WeldControl)); - this._NDTR_ = new EntitySet(new Action(this.attach_NDTR_), new Action(this.detach_NDTR_)); - this._HJGL_BS_WeldControl_HJGL_BS_NDTRate2 = new EntitySet(new Action(this.attach_HJGL_BS_WeldControl_HJGL_BS_NDTRate2), new Action(this.detach_HJGL_BS_WeldControl_HJGL_BS_NDTRate2)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string NDTR_ID - { - get - { - return this._NDTR_ID; - } - set - { - if ((this._NDTR_ID != value)) - { - this.OnNDTR_IDChanging(value); - this.SendPropertyChanging(); - this._NDTR_ID = value; - this.SendPropertyChanged("NDTR_ID"); - this.OnNDTR_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_Code", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string NDTR_Code - { - get - { - return this._NDTR_Code; - } - set - { - if ((this._NDTR_Code != value)) - { - this.OnNDTR_CodeChanging(value); - this.SendPropertyChanging(); - this._NDTR_Code = value; - this.SendPropertyChanged("NDTR_Code"); - this.OnNDTR_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string NDTR_Name - { - get - { - return this._NDTR_Name; - } - set - { - if ((this._NDTR_Name != value)) - { - this.OnNDTR_NameChanging(value); - this.SendPropertyChanging(); - this._NDTR_Name = value; - this.SendPropertyChanged("NDTR_Name"); - this.OnNDTR_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_Rate", DbType="Int")] - public System.Nullable NDTR_Rate - { - get - { - return this._NDTR_Rate; - } - set - { - if ((this._NDTR_Rate != value)) - { - this.OnNDTR_RateChanging(value); - this.SendPropertyChanging(); - this._NDTR_Rate = value; - this.SendPropertyChanged("NDTR_Rate"); - this.OnNDTR_RateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_Remark", DbType="VarChar(100)")] - public string NDTR_Remark - { - get - { - return this._NDTR_Remark; - } - set - { - if ((this._NDTR_Remark != value)) - { - this.OnNDTR_RemarkChanging(value); - this.SendPropertyChanging(); - this._NDTR_Remark = value; - this.SendPropertyChanged("NDTR_Remark"); - this.OnNDTR_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_NDTRate", Storage="_HJGL_BO_Batch", ThisKey="NDTR_ID", OtherKey="NDTR_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_NDTRate", Storage="_HJGL_BS_WeldControl", ThisKey="NDTR_ID", OtherKey="Joty_C_Rate", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_WeldControl - { - get - { - return this._HJGL_BS_WeldControl; - } - set - { - this._HJGL_BS_WeldControl.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_NDTRate1", Storage="_NDTR_", ThisKey="NDTR_ID", OtherKey="Joty_Rate", DeleteRule="NO ACTION")] - public EntitySet NDTR_ - { - get - { - return this._NDTR_; - } - set - { - this._NDTR_.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_NDTRate2", Storage="_HJGL_BS_WeldControl_HJGL_BS_NDTRate2", ThisKey="NDTR_ID", OtherKey="Joty_D_Rate", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_WeldControl_HJGL_BS_NDTRate2 - { - get - { - return this._HJGL_BS_WeldControl_HJGL_BS_NDTRate2; - } - set - { - this._HJGL_BS_WeldControl_HJGL_BS_NDTRate2.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTRate = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTRate = null; - } - - private void attach_HJGL_BS_WeldControl(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTRate = this; - } - - private void detach_HJGL_BS_WeldControl(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTRate = null; - } - - private void attach_NDTR_(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.Joty_RateHJGL_BS_NDTRate = this; - } - - private void detach_NDTR_(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.Joty_RateHJGL_BS_NDTRate = null; - } - - private void attach_HJGL_BS_WeldControl_HJGL_BS_NDTRate2(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.Joty_D_RateHJGL_BS_NDTRate = this; - } - - private void detach_HJGL_BS_WeldControl_HJGL_BS_NDTRate2(HJGL_BS_WeldControl entity) - { - this.SendPropertyChanging(); - entity.Joty_D_RateHJGL_BS_NDTRate = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_NDTType")] - public partial class HJGL_BS_NDTType : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _NDT_ID; - - private string _NDT_Code; - - private string _NDT_Name; - - private string _SysType; - - private string _NDT_Description; - - private System.Nullable _NDT_SecuritySpace; - - private string _NDT_Harm; - - private string _NDT_Remark; - - private string _ProjectSoft; - - private EntitySet _HJGL_CH_Repair; - - private EntitySet _HJGL_CH_RepairItemRecord; - - private EntitySet _HJGL_CH_TestingReportPrint; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnNDT_IDChanging(string value); - partial void OnNDT_IDChanged(); - partial void OnNDT_CodeChanging(string value); - partial void OnNDT_CodeChanged(); - partial void OnNDT_NameChanging(string value); - partial void OnNDT_NameChanged(); - partial void OnSysTypeChanging(string value); - partial void OnSysTypeChanged(); - partial void OnNDT_DescriptionChanging(string value); - partial void OnNDT_DescriptionChanged(); - partial void OnNDT_SecuritySpaceChanging(System.Nullable value); - partial void OnNDT_SecuritySpaceChanged(); - partial void OnNDT_HarmChanging(string value); - partial void OnNDT_HarmChanged(); - partial void OnNDT_RemarkChanging(string value); - partial void OnNDT_RemarkChanged(); - partial void OnProjectSoftChanging(string value); - partial void OnProjectSoftChanged(); - #endregion - - public HJGL_BS_NDTType() - { - this._HJGL_CH_Repair = new EntitySet(new Action(this.attach_HJGL_CH_Repair), new Action(this.detach_HJGL_CH_Repair)); - this._HJGL_CH_RepairItemRecord = new EntitySet(new Action(this.attach_HJGL_CH_RepairItemRecord), new Action(this.detach_HJGL_CH_RepairItemRecord)); - this._HJGL_CH_TestingReportPrint = new EntitySet(new Action(this.attach_HJGL_CH_TestingReportPrint), new Action(this.detach_HJGL_CH_TestingReportPrint)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string NDT_ID - { - get - { - return this._NDT_ID; - } - set - { - if ((this._NDT_ID != value)) - { - this.OnNDT_IDChanging(value); - this.SendPropertyChanging(); - this._NDT_ID = value; - this.SendPropertyChanged("NDT_ID"); - this.OnNDT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_Code", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string NDT_Code - { - get - { - return this._NDT_Code; - } - set - { - if ((this._NDT_Code != value)) - { - this.OnNDT_CodeChanging(value); - this.SendPropertyChanging(); - this._NDT_Code = value; - this.SendPropertyChanged("NDT_Code"); - this.OnNDT_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string NDT_Name - { - get - { - return this._NDT_Name; - } - set - { - if ((this._NDT_Name != value)) - { - this.OnNDT_NameChanging(value); - this.SendPropertyChanging(); - this._NDT_Name = value; - this.SendPropertyChanged("NDT_Name"); - this.OnNDT_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SysType", DbType="VarChar(50)")] - public string SysType - { - get - { - return this._SysType; - } - set - { - if ((this._SysType != value)) - { - this.OnSysTypeChanging(value); - this.SendPropertyChanging(); - this._SysType = value; - this.SendPropertyChanged("SysType"); - this.OnSysTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_Description", DbType="VarChar(50)")] - public string NDT_Description - { - get - { - return this._NDT_Description; - } - set - { - if ((this._NDT_Description != value)) - { - this.OnNDT_DescriptionChanging(value); - this.SendPropertyChanging(); - this._NDT_Description = value; - this.SendPropertyChanged("NDT_Description"); - this.OnNDT_DescriptionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_SecuritySpace", DbType="Decimal(18,4)")] - public System.Nullable NDT_SecuritySpace - { - get - { - return this._NDT_SecuritySpace; - } - set - { - if ((this._NDT_SecuritySpace != value)) - { - this.OnNDT_SecuritySpaceChanging(value); - this.SendPropertyChanging(); - this._NDT_SecuritySpace = value; - this.SendPropertyChanged("NDT_SecuritySpace"); - this.OnNDT_SecuritySpaceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_Harm", DbType="VarChar(100)")] - public string NDT_Harm - { - get - { - return this._NDT_Harm; - } - set - { - if ((this._NDT_Harm != value)) - { - this.OnNDT_HarmChanging(value); - this.SendPropertyChanging(); - this._NDT_Harm = value; - this.SendPropertyChanged("NDT_Harm"); - this.OnNDT_HarmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_Remark", DbType="VarChar(100)")] - public string NDT_Remark - { - get - { - return this._NDT_Remark; - } - set - { - if ((this._NDT_Remark != value)) - { - this.OnNDT_RemarkChanging(value); - this.SendPropertyChanging(); - this._NDT_Remark = value; - this.SendPropertyChanged("NDT_Remark"); - this.OnNDT_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSoft", DbType="VarChar(5)")] - public string ProjectSoft - { - get - { - return this._ProjectSoft; - } - set - { - if ((this._ProjectSoft != value)) - { - this.OnProjectSoftChanging(value); - this.SendPropertyChanging(); - this._ProjectSoft = value; - this.SendPropertyChanged("ProjectSoft"); - this.OnProjectSoftChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Repair_HJGL_BS_NDTType", Storage="_HJGL_CH_Repair", ThisKey="NDT_ID", OtherKey="NDT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_Repair - { - get - { - return this._HJGL_CH_Repair; - } - set - { - this._HJGL_CH_Repair.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_BS_NDTType", Storage="_HJGL_CH_RepairItemRecord", ThisKey="NDT_ID", OtherKey="NDT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItemRecord - { - get - { - return this._HJGL_CH_RepairItemRecord; - } - set - { - this._HJGL_CH_RepairItemRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TestingReportPrint_HJGL_BS_NDTType", Storage="_HJGL_CH_TestingReportPrint", ThisKey="NDT_ID", OtherKey="NDT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_TestingReportPrint - { - get - { - return this._HJGL_CH_TestingReportPrint; - } - set - { - this._HJGL_CH_TestingReportPrint.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_CH_Repair(HJGL_CH_Repair entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTType = this; - } - - private void detach_HJGL_CH_Repair(HJGL_CH_Repair entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTType = null; - } - - private void attach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTType = this; - } - - private void detach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTType = null; - } - - private void attach_HJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTType = this; - } - - private void detach_HJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_NDTType = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_SchTab")] - public partial class HJGL_BS_SchTab : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _BST_ID; - - private string _BST_Code; - - private System.Nullable _BST_Dia; - - private string _BST_DN; - - private System.Nullable _BST_Inch; - - private System.Nullable _BST_Sch5s; - - private System.Nullable _BST_Sch10s; - - private System.Nullable _BST_Sch10; - - private System.Nullable _BST_Sch20; - - private System.Nullable _BST_Sch30; - - private System.Nullable _BST_Sch40s; - - private System.Nullable _BST_STD; - - private System.Nullable _BST_Sch40; - - private System.Nullable _BST_Sch60; - - private System.Nullable _BST_Sch80s; - - private System.Nullable _BST_XS; - - private System.Nullable _BST_Sch80; - - private System.Nullable _BST_Sch100; - - private System.Nullable _BST_Sch120; - - private System.Nullable _BST_Sch140; - - private System.Nullable _BST_Sch160; - - private System.Nullable _BST_XXS; - - private string _BST_Remark; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnBST_IDChanging(string value); - partial void OnBST_IDChanged(); - partial void OnBST_CodeChanging(string value); - partial void OnBST_CodeChanged(); - partial void OnBST_DiaChanging(System.Nullable value); - partial void OnBST_DiaChanged(); - partial void OnBST_DNChanging(string value); - partial void OnBST_DNChanged(); - partial void OnBST_InchChanging(System.Nullable value); - partial void OnBST_InchChanged(); - partial void OnBST_Sch5sChanging(System.Nullable value); - partial void OnBST_Sch5sChanged(); - partial void OnBST_Sch10sChanging(System.Nullable value); - partial void OnBST_Sch10sChanged(); - partial void OnBST_Sch10Changing(System.Nullable value); - partial void OnBST_Sch10Changed(); - partial void OnBST_Sch20Changing(System.Nullable value); - partial void OnBST_Sch20Changed(); - partial void OnBST_Sch30Changing(System.Nullable value); - partial void OnBST_Sch30Changed(); - partial void OnBST_Sch40sChanging(System.Nullable value); - partial void OnBST_Sch40sChanged(); - partial void OnBST_STDChanging(System.Nullable value); - partial void OnBST_STDChanged(); - partial void OnBST_Sch40Changing(System.Nullable value); - partial void OnBST_Sch40Changed(); - partial void OnBST_Sch60Changing(System.Nullable value); - partial void OnBST_Sch60Changed(); - partial void OnBST_Sch80sChanging(System.Nullable value); - partial void OnBST_Sch80sChanged(); - partial void OnBST_XSChanging(System.Nullable value); - partial void OnBST_XSChanged(); - partial void OnBST_Sch80Changing(System.Nullable value); - partial void OnBST_Sch80Changed(); - partial void OnBST_Sch100Changing(System.Nullable value); - partial void OnBST_Sch100Changed(); - partial void OnBST_Sch120Changing(System.Nullable value); - partial void OnBST_Sch120Changed(); - partial void OnBST_Sch140Changing(System.Nullable value); - partial void OnBST_Sch140Changed(); - partial void OnBST_Sch160Changing(System.Nullable value); - partial void OnBST_Sch160Changed(); - partial void OnBST_XXSChanging(System.Nullable value); - partial void OnBST_XXSChanged(); - partial void OnBST_RemarkChanging(string value); - partial void OnBST_RemarkChanged(); - #endregion - - public HJGL_BS_SchTab() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string BST_ID - { - get - { - return this._BST_ID; - } - set - { - if ((this._BST_ID != value)) - { - this.OnBST_IDChanging(value); - this.SendPropertyChanging(); - this._BST_ID = value; - this.SendPropertyChanged("BST_ID"); - this.OnBST_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Code", DbType="VarChar(50)")] - public string BST_Code - { - get - { - return this._BST_Code; - } - set - { - if ((this._BST_Code != value)) - { - this.OnBST_CodeChanging(value); - this.SendPropertyChanging(); - this._BST_Code = value; - this.SendPropertyChanged("BST_Code"); - this.OnBST_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Dia", DbType="Decimal(18,4)")] - public System.Nullable BST_Dia - { - get - { - return this._BST_Dia; - } - set - { - if ((this._BST_Dia != value)) - { - this.OnBST_DiaChanging(value); - this.SendPropertyChanging(); - this._BST_Dia = value; - this.SendPropertyChanged("BST_Dia"); - this.OnBST_DiaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_DN", DbType="VarChar(20)")] - public string BST_DN - { - get - { - return this._BST_DN; - } - set - { - if ((this._BST_DN != value)) - { - this.OnBST_DNChanging(value); - this.SendPropertyChanging(); - this._BST_DN = value; - this.SendPropertyChanged("BST_DN"); - this.OnBST_DNChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Inch", DbType="Decimal(18,4)")] - public System.Nullable BST_Inch - { - get - { - return this._BST_Inch; - } - set - { - if ((this._BST_Inch != value)) - { - this.OnBST_InchChanging(value); - this.SendPropertyChanging(); - this._BST_Inch = value; - this.SendPropertyChanged("BST_Inch"); - this.OnBST_InchChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch5s", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch5s - { - get - { - return this._BST_Sch5s; - } - set - { - if ((this._BST_Sch5s != value)) - { - this.OnBST_Sch5sChanging(value); - this.SendPropertyChanging(); - this._BST_Sch5s = value; - this.SendPropertyChanged("BST_Sch5s"); - this.OnBST_Sch5sChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch10s", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch10s - { - get - { - return this._BST_Sch10s; - } - set - { - if ((this._BST_Sch10s != value)) - { - this.OnBST_Sch10sChanging(value); - this.SendPropertyChanging(); - this._BST_Sch10s = value; - this.SendPropertyChanged("BST_Sch10s"); - this.OnBST_Sch10sChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch10", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch10 - { - get - { - return this._BST_Sch10; - } - set - { - if ((this._BST_Sch10 != value)) - { - this.OnBST_Sch10Changing(value); - this.SendPropertyChanging(); - this._BST_Sch10 = value; - this.SendPropertyChanged("BST_Sch10"); - this.OnBST_Sch10Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch20", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch20 - { - get - { - return this._BST_Sch20; - } - set - { - if ((this._BST_Sch20 != value)) - { - this.OnBST_Sch20Changing(value); - this.SendPropertyChanging(); - this._BST_Sch20 = value; - this.SendPropertyChanged("BST_Sch20"); - this.OnBST_Sch20Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch30", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch30 - { - get - { - return this._BST_Sch30; - } - set - { - if ((this._BST_Sch30 != value)) - { - this.OnBST_Sch30Changing(value); - this.SendPropertyChanging(); - this._BST_Sch30 = value; - this.SendPropertyChanged("BST_Sch30"); - this.OnBST_Sch30Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch40s", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch40s - { - get - { - return this._BST_Sch40s; - } - set - { - if ((this._BST_Sch40s != value)) - { - this.OnBST_Sch40sChanging(value); - this.SendPropertyChanging(); - this._BST_Sch40s = value; - this.SendPropertyChanged("BST_Sch40s"); - this.OnBST_Sch40sChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_STD", DbType="Decimal(18,4)")] - public System.Nullable BST_STD - { - get - { - return this._BST_STD; - } - set - { - if ((this._BST_STD != value)) - { - this.OnBST_STDChanging(value); - this.SendPropertyChanging(); - this._BST_STD = value; - this.SendPropertyChanged("BST_STD"); - this.OnBST_STDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch40", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch40 - { - get - { - return this._BST_Sch40; - } - set - { - if ((this._BST_Sch40 != value)) - { - this.OnBST_Sch40Changing(value); - this.SendPropertyChanging(); - this._BST_Sch40 = value; - this.SendPropertyChanged("BST_Sch40"); - this.OnBST_Sch40Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch60", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch60 - { - get - { - return this._BST_Sch60; - } - set - { - if ((this._BST_Sch60 != value)) - { - this.OnBST_Sch60Changing(value); - this.SendPropertyChanging(); - this._BST_Sch60 = value; - this.SendPropertyChanged("BST_Sch60"); - this.OnBST_Sch60Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch80s", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch80s - { - get - { - return this._BST_Sch80s; - } - set - { - if ((this._BST_Sch80s != value)) - { - this.OnBST_Sch80sChanging(value); - this.SendPropertyChanging(); - this._BST_Sch80s = value; - this.SendPropertyChanged("BST_Sch80s"); - this.OnBST_Sch80sChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_XS", DbType="Decimal(18,4)")] - public System.Nullable BST_XS - { - get - { - return this._BST_XS; - } - set - { - if ((this._BST_XS != value)) - { - this.OnBST_XSChanging(value); - this.SendPropertyChanging(); - this._BST_XS = value; - this.SendPropertyChanged("BST_XS"); - this.OnBST_XSChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch80", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch80 - { - get - { - return this._BST_Sch80; - } - set - { - if ((this._BST_Sch80 != value)) - { - this.OnBST_Sch80Changing(value); - this.SendPropertyChanging(); - this._BST_Sch80 = value; - this.SendPropertyChanged("BST_Sch80"); - this.OnBST_Sch80Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch100", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch100 - { - get - { - return this._BST_Sch100; - } - set - { - if ((this._BST_Sch100 != value)) - { - this.OnBST_Sch100Changing(value); - this.SendPropertyChanging(); - this._BST_Sch100 = value; - this.SendPropertyChanged("BST_Sch100"); - this.OnBST_Sch100Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch120", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch120 - { - get - { - return this._BST_Sch120; - } - set - { - if ((this._BST_Sch120 != value)) - { - this.OnBST_Sch120Changing(value); - this.SendPropertyChanging(); - this._BST_Sch120 = value; - this.SendPropertyChanged("BST_Sch120"); - this.OnBST_Sch120Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch140", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch140 - { - get - { - return this._BST_Sch140; - } - set - { - if ((this._BST_Sch140 != value)) - { - this.OnBST_Sch140Changing(value); - this.SendPropertyChanging(); - this._BST_Sch140 = value; - this.SendPropertyChanged("BST_Sch140"); - this.OnBST_Sch140Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Sch160", DbType="Decimal(18,4)")] - public System.Nullable BST_Sch160 - { - get - { - return this._BST_Sch160; - } - set - { - if ((this._BST_Sch160 != value)) - { - this.OnBST_Sch160Changing(value); - this.SendPropertyChanging(); - this._BST_Sch160 = value; - this.SendPropertyChanged("BST_Sch160"); - this.OnBST_Sch160Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_XXS", DbType="Decimal(18,4)")] - public System.Nullable BST_XXS - { - get - { - return this._BST_XXS; - } - set - { - if ((this._BST_XXS != value)) - { - this.OnBST_XXSChanging(value); - this.SendPropertyChanging(); - this._BST_XXS = value; - this.SendPropertyChanged("BST_XXS"); - this.OnBST_XXSChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BST_Remark", DbType="VarChar(50)")] - public string BST_Remark - { - get - { - return this._BST_Remark; - } - set - { - if ((this._BST_Remark != value)) - { - this.OnBST_RemarkChanging(value); - this.SendPropertyChanging(); - this._BST_Remark = value; - this.SendPropertyChanged("BST_Remark"); - this.OnBST_RemarkChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_Service")] - public partial class HJGL_BS_Service : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _SER_ID; - - private string _SER_Code; - - private string _SER_Name; - - private string _SER_Remark; - - private string _SER_Abbreviate; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_PW_IsoInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnSER_IDChanging(string value); - partial void OnSER_IDChanged(); - partial void OnSER_CodeChanging(string value); - partial void OnSER_CodeChanged(); - partial void OnSER_NameChanging(string value); - partial void OnSER_NameChanged(); - partial void OnSER_RemarkChanging(string value); - partial void OnSER_RemarkChanged(); - partial void OnSER_AbbreviateChanging(string value); - partial void OnSER_AbbreviateChanged(); - #endregion - - public HJGL_BS_Service() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_PW_IsoInfo = new EntitySet(new Action(this.attach_HJGL_PW_IsoInfo), new Action(this.detach_HJGL_PW_IsoInfo)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string SER_ID - { - get - { - return this._SER_ID; - } - set - { - if ((this._SER_ID != value)) - { - this.OnSER_IDChanging(value); - this.SendPropertyChanging(); - this._SER_ID = value; - this.SendPropertyChanged("SER_ID"); - this.OnSER_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_Code", DbType="VarChar(40) NOT NULL", CanBeNull=false)] - public string SER_Code - { - get - { - return this._SER_Code; - } - set - { - if ((this._SER_Code != value)) - { - this.OnSER_CodeChanging(value); - this.SendPropertyChanging(); - this._SER_Code = value; - this.SendPropertyChanged("SER_Code"); - this.OnSER_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_Name", DbType="VarChar(80) NOT NULL", CanBeNull=false)] - public string SER_Name - { - get - { - return this._SER_Name; - } - set - { - if ((this._SER_Name != value)) - { - this.OnSER_NameChanging(value); - this.SendPropertyChanging(); - this._SER_Name = value; - this.SendPropertyChanged("SER_Name"); - this.OnSER_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_Remark", DbType="VarChar(100)")] - public string SER_Remark - { - get - { - return this._SER_Remark; - } - set - { - if ((this._SER_Remark != value)) - { - this.OnSER_RemarkChanging(value); - this.SendPropertyChanging(); - this._SER_Remark = value; - this.SendPropertyChanged("SER_Remark"); - this.OnSER_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_Abbreviate", DbType="NVarChar(50)")] - public string SER_Abbreviate - { - get - { - return this._SER_Abbreviate; - } - set - { - if ((this._SER_Abbreviate != value)) - { - this.OnSER_AbbreviateChanging(value); - this.SendPropertyChanging(); - this._SER_Abbreviate = value; - this.SendPropertyChanged("SER_Abbreviate"); - this.OnSER_AbbreviateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_Service", Storage="_HJGL_BO_Batch", ThisKey="SER_ID", OtherKey="SER_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_HJGL_BS_Service", Storage="_HJGL_PW_IsoInfo", ThisKey="SER_ID", OtherKey="SER_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo; - } - set - { - this._HJGL_PW_IsoInfo.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Service = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Service = null; - } - - private void attach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Service = this; - } - - private void detach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Service = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_SlopeType")] - public partial class HJGL_BS_SlopeType : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _JST_ID; - - private string _JST_Code; - - private string _JST_Name; - - private string _JST_Remark; - - private EntitySet _HJGL_PW_JointInfo; - - private EntitySet _HJGL_PW_ProcedureImageManage; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnJST_IDChanging(string value); - partial void OnJST_IDChanged(); - partial void OnJST_CodeChanging(string value); - partial void OnJST_CodeChanged(); - partial void OnJST_NameChanging(string value); - partial void OnJST_NameChanged(); - partial void OnJST_RemarkChanging(string value); - partial void OnJST_RemarkChanged(); - #endregion - - public HJGL_BS_SlopeType() - { - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - this._HJGL_PW_ProcedureImageManage = new EntitySet(new Action(this.attach_HJGL_PW_ProcedureImageManage), new Action(this.detach_HJGL_PW_ProcedureImageManage)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string JST_ID - { - get - { - return this._JST_ID; - } - set - { - if ((this._JST_ID != value)) - { - this.OnJST_IDChanging(value); - this.SendPropertyChanging(); - this._JST_ID = value; - this.SendPropertyChanged("JST_ID"); - this.OnJST_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_Code", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string JST_Code - { - get - { - return this._JST_Code; - } - set - { - if ((this._JST_Code != value)) - { - this.OnJST_CodeChanging(value); - this.SendPropertyChanging(); - this._JST_Code = value; - this.SendPropertyChanged("JST_Code"); - this.OnJST_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JST_Name - { - get - { - return this._JST_Name; - } - set - { - if ((this._JST_Name != value)) - { - this.OnJST_NameChanging(value); - this.SendPropertyChanging(); - this._JST_Name = value; - this.SendPropertyChanged("JST_Name"); - this.OnJST_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_Remark", DbType="VarChar(100)")] - public string JST_Remark - { - get - { - return this._JST_Remark; - } - set - { - if ((this._JST_Remark != value)) - { - this.OnJST_RemarkChanging(value); - this.SendPropertyChanging(); - this._JST_Remark = value; - this.SendPropertyChanged("JST_Remark"); - this.OnJST_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_SlopeType", Storage="_HJGL_PW_JointInfo", ThisKey="JST_ID", OtherKey="JST_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_ProcedureImageManage_HJGL_BS_SlopeType", Storage="_HJGL_PW_ProcedureImageManage", ThisKey="JST_ID", OtherKey="JST_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_ProcedureImageManage - { - get - { - return this._HJGL_PW_ProcedureImageManage; - } - set - { - this._HJGL_PW_ProcedureImageManage.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_SlopeType = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_SlopeType = null; - } - - private void attach_HJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_SlopeType = this; - } - - private void detach_HJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_SlopeType = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_Standard")] - public partial class HJGL_BS_Standard : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _StandardId; - - private string _StandardCode; - - private string _Remark; - - private EntitySet _HJGL_WeldingProcedure_WeldingProcedure; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnStandardIdChanging(string value); - partial void OnStandardIdChanged(); - partial void OnStandardCodeChanging(string value); - partial void OnStandardCodeChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_BS_Standard() - { - this._HJGL_WeldingProcedure_WeldingProcedure = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcedure), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcedure)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string StandardId - { - get - { - return this._StandardId; - } - set - { - if ((this._StandardId != value)) - { - this.OnStandardIdChanging(value); - this.SendPropertyChanging(); - this._StandardId = value; - this.SendPropertyChanged("StandardId"); - this.OnStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string StandardCode - { - get - { - return this._StandardCode; - } - set - { - if ((this._StandardCode != value)) - { - this.OnStandardCodeChanging(value); - this.SendPropertyChanging(); - this._StandardCode = value; - this.SendPropertyChanged("StandardCode"); - this.OnStandardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Standard", Storage="_HJGL_WeldingProcedure_WeldingProcedure", ThisKey="StandardId", OtherKey="StandardId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldingProcedure - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcedure; - } - set - { - this._HJGL_WeldingProcedure_WeldingProcedure.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Standard = this; - } - - private void detach_HJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Standard = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_Steel")] - public partial class HJGL_BS_Steel : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _STE_ID; - - private string _STE_Code; - - private string _STE_Name; - - private string _STE_SteelType; - - private string _STE_Remark; - - private string _MaterialType; - - private string _MaterialGroup; - - private string _HardQuaStandard; - - private System.Nullable _IsUse; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_BS_MaterialCompare; - - private EntitySet _HJGL_PW_IsoInfo; - - private EntitySet _HJGL_PW_JointInfo; - - private EntitySet _STE_; - - private EntitySet _HJGL_PW_WeldingProcedure; - - private EntitySet _HJGL_WeldingManage_TestingParameters; - - private EntitySet _HJGL_WeldingProcedure_MatchedProcedureMaterial; - - private EntitySet _HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1; - - private EntitySet _HJGL_WeldingProcedure_WeldingProcedure; - - private EntitySet _HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnSTE_CodeChanging(string value); - partial void OnSTE_CodeChanged(); - partial void OnSTE_NameChanging(string value); - partial void OnSTE_NameChanged(); - partial void OnSTE_SteelTypeChanging(string value); - partial void OnSTE_SteelTypeChanged(); - partial void OnSTE_RemarkChanging(string value); - partial void OnSTE_RemarkChanged(); - partial void OnMaterialTypeChanging(string value); - partial void OnMaterialTypeChanged(); - partial void OnMaterialGroupChanging(string value); - partial void OnMaterialGroupChanged(); - partial void OnHardQuaStandardChanging(string value); - partial void OnHardQuaStandardChanged(); - partial void OnIsUseChanging(System.Nullable value); - partial void OnIsUseChanged(); - #endregion - - public HJGL_BS_Steel() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_BS_MaterialCompare = new EntitySet(new Action(this.attach_HJGL_BS_MaterialCompare), new Action(this.detach_HJGL_BS_MaterialCompare)); - this._HJGL_PW_IsoInfo = new EntitySet(new Action(this.attach_HJGL_PW_IsoInfo), new Action(this.detach_HJGL_PW_IsoInfo)); - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - this._STE_ = new EntitySet(new Action(this.attach_STE_), new Action(this.detach_STE_)); - this._HJGL_PW_WeldingProcedure = new EntitySet(new Action(this.attach_HJGL_PW_WeldingProcedure), new Action(this.detach_HJGL_PW_WeldingProcedure)); - this._HJGL_WeldingManage_TestingParameters = new EntitySet(new Action(this.attach_HJGL_WeldingManage_TestingParameters), new Action(this.detach_HJGL_WeldingManage_TestingParameters)); - this._HJGL_WeldingProcedure_MatchedProcedureMaterial = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_MatchedProcedureMaterial), new Action(this.detach_HJGL_WeldingProcedure_MatchedProcedureMaterial)); - this._HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1 = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1), new Action(this.detach_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1)); - this._HJGL_WeldingProcedure_WeldingProcedure = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcedure), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcedure)); - this._HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1 = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(50)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this.OnSTE_CodeChanging(value); - this.SendPropertyChanging(); - this._STE_Code = value; - this.SendPropertyChanged("STE_Code"); - this.OnSTE_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name", DbType="NVarChar(50)")] - public string STE_Name - { - get - { - return this._STE_Name; - } - set - { - if ((this._STE_Name != value)) - { - this.OnSTE_NameChanging(value); - this.SendPropertyChanging(); - this._STE_Name = value; - this.SendPropertyChanged("STE_Name"); - this.OnSTE_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_SteelType", DbType="NVarChar(20)")] - public string STE_SteelType - { - get - { - return this._STE_SteelType; - } - set - { - if ((this._STE_SteelType != value)) - { - this.OnSTE_SteelTypeChanging(value); - this.SendPropertyChanging(); - this._STE_SteelType = value; - this.SendPropertyChanged("STE_SteelType"); - this.OnSTE_SteelTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Remark", DbType="VarChar(100)")] - public string STE_Remark - { - get - { - return this._STE_Remark; - } - set - { - if ((this._STE_Remark != value)) - { - this.OnSTE_RemarkChanging(value); - this.SendPropertyChanging(); - this._STE_Remark = value; - this.SendPropertyChanged("STE_Remark"); - this.OnSTE_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialType", DbType="NVarChar(50)")] - public string MaterialType - { - get - { - return this._MaterialType; - } - set - { - if ((this._MaterialType != value)) - { - this.OnMaterialTypeChanging(value); - this.SendPropertyChanging(); - this._MaterialType = value; - this.SendPropertyChanged("MaterialType"); - this.OnMaterialTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroup", DbType="NVarChar(50)")] - public string MaterialGroup - { - get - { - return this._MaterialGroup; - } - set - { - if ((this._MaterialGroup != value)) - { - this.OnMaterialGroupChanging(value); - this.SendPropertyChanging(); - this._MaterialGroup = value; - this.SendPropertyChanged("MaterialGroup"); - this.OnMaterialGroupChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardQuaStandard", DbType="NVarChar(50)")] - public string HardQuaStandard - { - get - { - return this._HardQuaStandard; - } - set - { - if ((this._HardQuaStandard != value)) - { - this.OnHardQuaStandardChanging(value); - this.SendPropertyChanging(); - this._HardQuaStandard = value; - this.SendPropertyChanged("HardQuaStandard"); - this.OnHardQuaStandardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUse", DbType="Bit")] - public System.Nullable IsUse - { - get - { - return this._IsUse; - } - set - { - if ((this._IsUse != value)) - { - this.OnIsUseChanging(value); - this.SendPropertyChanging(); - this._IsUse = value; - this.SendPropertyChanged("IsUse"); - this.OnIsUseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_Steel", Storage="_HJGL_BO_Batch", ThisKey="STE_ID", OtherKey="STE_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_MaterialCompare_HJGL_BS_Steel", Storage="_HJGL_BS_MaterialCompare", ThisKey="STE_ID", OtherKey="STE_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_MaterialCompare - { - get - { - return this._HJGL_BS_MaterialCompare; - } - set - { - this._HJGL_BS_MaterialCompare.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_HJGL_BS_Steel", Storage="_HJGL_PW_IsoInfo", ThisKey="STE_ID", OtherKey="STE_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo; - } - set - { - this._HJGL_PW_IsoInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Steel", Storage="_HJGL_PW_JointInfo", ThisKey="STE_ID", OtherKey="STE_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Steel1", Storage="_STE_", ThisKey="STE_ID", OtherKey="STE_ID2", DeleteRule="NO ACTION")] - public EntitySet STE_ - { - get - { - return this._STE_; - } - set - { - this._STE_.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_WeldingProcedure_HJGL_BS_Steel", Storage="_HJGL_PW_WeldingProcedure", ThisKey="STE_ID", OtherKey="STE_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_WeldingProcedure - { - get - { - return this._HJGL_PW_WeldingProcedure; - } - set - { - this._HJGL_PW_WeldingProcedure.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingManage_TestingParameters_HJGL_BS_Steel", Storage="_HJGL_WeldingManage_TestingParameters", ThisKey="STE_ID", OtherKey="STE_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingManage_TestingParameters - { - get - { - return this._HJGL_WeldingManage_TestingParameters; - } - set - { - this._HJGL_WeldingManage_TestingParameters.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel", Storage="_HJGL_WeldingProcedure_MatchedProcedureMaterial", ThisKey="STE_ID", OtherKey="STE_ID1", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_MatchedProcedureMaterial - { - get - { - return this._HJGL_WeldingProcedure_MatchedProcedureMaterial; - } - set - { - this._HJGL_WeldingProcedure_MatchedProcedureMaterial.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1", Storage="_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1", ThisKey="STE_ID", OtherKey="STE_ID2", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1 - { - get - { - return this._HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1; - } - set - { - this._HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel", Storage="_HJGL_WeldingProcedure_WeldingProcedure", ThisKey="STE_ID", OtherKey="STE_ID1", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldingProcedure - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcedure; - } - set - { - this._HJGL_WeldingProcedure_WeldingProcedure.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1", Storage="_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1", ThisKey="STE_ID", OtherKey="STE_ID2", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1 - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1; - } - set - { - this._HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = null; - } - - private void attach_HJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = this; - } - - private void detach_HJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = null; - } - - private void attach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = this; - } - - private void detach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = null; - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = null; - } - - private void attach_STE_(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.STE_ID2HJGL_BS_Steel = this; - } - - private void detach_STE_(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.STE_ID2HJGL_BS_Steel = null; - } - - private void attach_HJGL_PW_WeldingProcedure(HJGL_PW_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = this; - } - - private void detach_HJGL_PW_WeldingProcedure(HJGL_PW_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = null; - } - - private void attach_HJGL_WeldingManage_TestingParameters(HJGL_WeldingManage_TestingParameters entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = this; - } - - private void detach_HJGL_WeldingManage_TestingParameters(HJGL_WeldingManage_TestingParameters entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = null; - } - - private void attach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = this; - } - - private void detach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = null; - } - - private void attach_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.STE_ID2HJGL_BS_Steel = this; - } - - private void detach_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.STE_ID2HJGL_BS_Steel = null; - } - - private void attach_HJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = this; - } - - private void detach_HJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Steel = null; - } - - private void attach_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1(HJGL_WeldingProcedure_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.STE_ID2HJGL_BS_Steel = this; - } - - private void detach_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1(HJGL_WeldingProcedure_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.STE_ID2HJGL_BS_Steel = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_TestStandard")] - public partial class HJGL_BS_TestStandard : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _TestStandardId; - - private string _TestStandardCode; - - private string _TestStandardName; - - private string _Remark; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnTestStandardIdChanging(string value); - partial void OnTestStandardIdChanged(); - partial void OnTestStandardCodeChanging(string value); - partial void OnTestStandardCodeChanged(); - partial void OnTestStandardNameChanging(string value); - partial void OnTestStandardNameChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_BS_TestStandard() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestStandardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string TestStandardId - { - get - { - return this._TestStandardId; - } - set - { - if ((this._TestStandardId != value)) - { - this.OnTestStandardIdChanging(value); - this.SendPropertyChanging(); - this._TestStandardId = value; - this.SendPropertyChanged("TestStandardId"); - this.OnTestStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestStandardCode", DbType="NVarChar(50)")] - public string TestStandardCode - { - get - { - return this._TestStandardCode; - } - set - { - if ((this._TestStandardCode != value)) - { - this.OnTestStandardCodeChanging(value); - this.SendPropertyChanging(); - this._TestStandardCode = value; - this.SendPropertyChanged("TestStandardCode"); - this.OnTestStandardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestStandardName", DbType="NVarChar(50)")] - public string TestStandardName - { - get - { - return this._TestStandardName; - } - set - { - if ((this._TestStandardName != value)) - { - this.OnTestStandardNameChanging(value); - this.SendPropertyChanging(); - this._TestStandardName = value; - this.SendPropertyChanged("TestStandardName"); - this.OnTestStandardNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_WeldControl")] - public partial class HJGL_BS_WeldControl : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldControlId; - - private string _ExecStandardId; - - private string _ISC_ID; - - private string _JotyId; - - private string _Joty_Rate; - - private string _Joty_Level; - - private string _JotyId_C; - - private string _Joty_C_Rate; - - private string _Joty_C_Level; - - private string _JotyId_D; - - private string _Joty_D_Rate; - - private string _Joty_D_Level; - - private EntityRef _HJGL_BS_ExecStandard; - - private EntityRef _HJGL_BS_NDTRate; - - private EntityRef _Joty_RateHJGL_BS_NDTRate; - - private EntityRef _Joty_D_RateHJGL_BS_NDTRate; - - private EntityRef _HJGL_BS_IsoClass; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldControlIdChanging(string value); - partial void OnWeldControlIdChanged(); - partial void OnExecStandardIdChanging(string value); - partial void OnExecStandardIdChanged(); - partial void OnISC_IDChanging(string value); - partial void OnISC_IDChanged(); - partial void OnJotyIdChanging(string value); - partial void OnJotyIdChanged(); - partial void OnJoty_RateChanging(string value); - partial void OnJoty_RateChanged(); - partial void OnJoty_LevelChanging(string value); - partial void OnJoty_LevelChanged(); - partial void OnJotyId_CChanging(string value); - partial void OnJotyId_CChanged(); - partial void OnJoty_C_RateChanging(string value); - partial void OnJoty_C_RateChanged(); - partial void OnJoty_C_LevelChanging(string value); - partial void OnJoty_C_LevelChanged(); - partial void OnJotyId_DChanging(string value); - partial void OnJotyId_DChanged(); - partial void OnJoty_D_RateChanging(string value); - partial void OnJoty_D_RateChanged(); - partial void OnJoty_D_LevelChanging(string value); - partial void OnJoty_D_LevelChanged(); - #endregion - - public HJGL_BS_WeldControl() - { - this._HJGL_BS_ExecStandard = default(EntityRef); - this._HJGL_BS_NDTRate = default(EntityRef); - this._Joty_RateHJGL_BS_NDTRate = default(EntityRef); - this._Joty_D_RateHJGL_BS_NDTRate = default(EntityRef); - this._HJGL_BS_IsoClass = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldControlId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldControlId - { - get - { - return this._WeldControlId; - } - set - { - if ((this._WeldControlId != value)) - { - this.OnWeldControlIdChanging(value); - this.SendPropertyChanging(); - this._WeldControlId = value; - this.SendPropertyChanged("WeldControlId"); - this.OnWeldControlIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExecStandardId", DbType="NVarChar(50)")] - public string ExecStandardId - { - get - { - return this._ExecStandardId; - } - set - { - if ((this._ExecStandardId != value)) - { - if (this._HJGL_BS_ExecStandard.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnExecStandardIdChanging(value); - this.SendPropertyChanging(); - this._ExecStandardId = value; - this.SendPropertyChanged("ExecStandardId"); - this.OnExecStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_ID", DbType="VarChar(50)")] - public string ISC_ID - { - get - { - return this._ISC_ID; - } - set - { - if ((this._ISC_ID != value)) - { - if (this._HJGL_BS_IsoClass.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISC_IDChanging(value); - this.SendPropertyChanging(); - this._ISC_ID = value; - this.SendPropertyChanged("ISC_ID"); - this.OnISC_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JotyId", DbType="VarChar(50)")] - public string JotyId - { - get - { - return this._JotyId; - } - set - { - if ((this._JotyId != value)) - { - this.OnJotyIdChanging(value); - this.SendPropertyChanging(); - this._JotyId = value; - this.SendPropertyChanged("JotyId"); - this.OnJotyIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_Rate", DbType="VarChar(50)")] - public string Joty_Rate - { - get - { - return this._Joty_Rate; - } - set - { - if ((this._Joty_Rate != value)) - { - if (this._Joty_RateHJGL_BS_NDTRate.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJoty_RateChanging(value); - this.SendPropertyChanging(); - this._Joty_Rate = value; - this.SendPropertyChanged("Joty_Rate"); - this.OnJoty_RateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_Level", DbType="NVarChar(10)")] - public string Joty_Level - { - get - { - return this._Joty_Level; - } - set - { - if ((this._Joty_Level != value)) - { - this.OnJoty_LevelChanging(value); - this.SendPropertyChanging(); - this._Joty_Level = value; - this.SendPropertyChanged("Joty_Level"); - this.OnJoty_LevelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JotyId_C", DbType="VarChar(50)")] - public string JotyId_C - { - get - { - return this._JotyId_C; - } - set - { - if ((this._JotyId_C != value)) - { - this.OnJotyId_CChanging(value); - this.SendPropertyChanging(); - this._JotyId_C = value; - this.SendPropertyChanged("JotyId_C"); - this.OnJotyId_CChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_C_Rate", DbType="VarChar(50)")] - public string Joty_C_Rate - { - get - { - return this._Joty_C_Rate; - } - set - { - if ((this._Joty_C_Rate != value)) - { - if (this._HJGL_BS_NDTRate.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJoty_C_RateChanging(value); - this.SendPropertyChanging(); - this._Joty_C_Rate = value; - this.SendPropertyChanged("Joty_C_Rate"); - this.OnJoty_C_RateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_C_Level", DbType="NVarChar(10)")] - public string Joty_C_Level - { - get - { - return this._Joty_C_Level; - } - set - { - if ((this._Joty_C_Level != value)) - { - this.OnJoty_C_LevelChanging(value); - this.SendPropertyChanging(); - this._Joty_C_Level = value; - this.SendPropertyChanged("Joty_C_Level"); - this.OnJoty_C_LevelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JotyId_D", DbType="VarChar(50)")] - public string JotyId_D - { - get - { - return this._JotyId_D; - } - set - { - if ((this._JotyId_D != value)) - { - this.OnJotyId_DChanging(value); - this.SendPropertyChanging(); - this._JotyId_D = value; - this.SendPropertyChanged("JotyId_D"); - this.OnJotyId_DChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_D_Rate", DbType="VarChar(50)")] - public string Joty_D_Rate - { - get - { - return this._Joty_D_Rate; - } - set - { - if ((this._Joty_D_Rate != value)) - { - if (this._Joty_D_RateHJGL_BS_NDTRate.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJoty_D_RateChanging(value); - this.SendPropertyChanging(); - this._Joty_D_Rate = value; - this.SendPropertyChanged("Joty_D_Rate"); - this.OnJoty_D_RateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_D_Level", DbType="NVarChar(10)")] - public string Joty_D_Level - { - get - { - return this._Joty_D_Level; - } - set - { - if ((this._Joty_D_Level != value)) - { - this.OnJoty_D_LevelChanging(value); - this.SendPropertyChanging(); - this._Joty_D_Level = value; - this.SendPropertyChanged("Joty_D_Level"); - this.OnJoty_D_LevelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_ExecStandard", Storage="_HJGL_BS_ExecStandard", ThisKey="ExecStandardId", OtherKey="ExecStandardId", IsForeignKey=true)] - public HJGL_BS_ExecStandard HJGL_BS_ExecStandard - { - get - { - return this._HJGL_BS_ExecStandard.Entity; - } - set - { - HJGL_BS_ExecStandard previousValue = this._HJGL_BS_ExecStandard.Entity; - if (((previousValue != value) - || (this._HJGL_BS_ExecStandard.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_ExecStandard.Entity = null; - previousValue.HJGL_BS_WeldControl.Remove(this); - } - this._HJGL_BS_ExecStandard.Entity = value; - if ((value != null)) - { - value.HJGL_BS_WeldControl.Add(this); - this._ExecStandardId = value.ExecStandardId; - } - else - { - this._ExecStandardId = default(string); - } - this.SendPropertyChanged("HJGL_BS_ExecStandard"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_NDTRate", Storage="_HJGL_BS_NDTRate", ThisKey="Joty_C_Rate", OtherKey="NDTR_ID", IsForeignKey=true)] - public HJGL_BS_NDTRate HJGL_BS_NDTRate - { - get - { - return this._HJGL_BS_NDTRate.Entity; - } - set - { - HJGL_BS_NDTRate previousValue = this._HJGL_BS_NDTRate.Entity; - if (((previousValue != value) - || (this._HJGL_BS_NDTRate.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_NDTRate.Entity = null; - previousValue.HJGL_BS_WeldControl.Remove(this); - } - this._HJGL_BS_NDTRate.Entity = value; - if ((value != null)) - { - value.HJGL_BS_WeldControl.Add(this); - this._Joty_C_Rate = value.NDTR_ID; - } - else - { - this._Joty_C_Rate = default(string); - } - this.SendPropertyChanged("HJGL_BS_NDTRate"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_NDTRate1", Storage="_Joty_RateHJGL_BS_NDTRate", ThisKey="Joty_Rate", OtherKey="NDTR_ID", IsForeignKey=true)] - public HJGL_BS_NDTRate Joty_RateHJGL_BS_NDTRate - { - get - { - return this._Joty_RateHJGL_BS_NDTRate.Entity; - } - set - { - HJGL_BS_NDTRate previousValue = this._Joty_RateHJGL_BS_NDTRate.Entity; - if (((previousValue != value) - || (this._Joty_RateHJGL_BS_NDTRate.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Joty_RateHJGL_BS_NDTRate.Entity = null; - previousValue.NDTR_.Remove(this); - } - this._Joty_RateHJGL_BS_NDTRate.Entity = value; - if ((value != null)) - { - value.NDTR_.Add(this); - this._Joty_Rate = value.NDTR_ID; - } - else - { - this._Joty_Rate = default(string); - } - this.SendPropertyChanged("Joty_RateHJGL_BS_NDTRate"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_NDTRate2", Storage="_Joty_D_RateHJGL_BS_NDTRate", ThisKey="Joty_D_Rate", OtherKey="NDTR_ID", IsForeignKey=true)] - public HJGL_BS_NDTRate Joty_D_RateHJGL_BS_NDTRate - { - get - { - return this._Joty_D_RateHJGL_BS_NDTRate.Entity; - } - set - { - HJGL_BS_NDTRate previousValue = this._Joty_D_RateHJGL_BS_NDTRate.Entity; - if (((previousValue != value) - || (this._Joty_D_RateHJGL_BS_NDTRate.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Joty_D_RateHJGL_BS_NDTRate.Entity = null; - previousValue.HJGL_BS_WeldControl_HJGL_BS_NDTRate2.Remove(this); - } - this._Joty_D_RateHJGL_BS_NDTRate.Entity = value; - if ((value != null)) - { - value.HJGL_BS_WeldControl_HJGL_BS_NDTRate2.Add(this); - this._Joty_D_Rate = value.NDTR_ID; - } - else - { - this._Joty_D_Rate = default(string); - } - this.SendPropertyChanged("Joty_D_RateHJGL_BS_NDTRate"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldControl_HJGL_BS_WeldControl", Storage="_HJGL_BS_IsoClass", ThisKey="ISC_ID", OtherKey="ISC_ID", IsForeignKey=true)] - public HJGL_BS_IsoClass HJGL_BS_IsoClass - { - get - { - return this._HJGL_BS_IsoClass.Entity; - } - set - { - HJGL_BS_IsoClass previousValue = this._HJGL_BS_IsoClass.Entity; - if (((previousValue != value) - || (this._HJGL_BS_IsoClass.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_IsoClass.Entity = null; - previousValue.HJGL_BS_WeldControl.Remove(this); - } - this._HJGL_BS_IsoClass.Entity = value; - if ((value != null)) - { - value.HJGL_BS_WeldControl.Add(this); - this._ISC_ID = value.ISC_ID; - } - else - { - this._ISC_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_IsoClass"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_Welder")] - public partial class HJGL_BS_Welder : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WED_ID; - - private string _WED_Unit; - - private string _EDU_ID; - - private string _SE_EquipmentID; - - private string _NP_NondestructivePersonID; - - private string _WED_Code; - - private string _WED_Name; - - private string _WED_UserType; - - private string _WED_Sex; - - private System.Nullable _WED_Birthday; - - private string _WED_WorkCode; - - private string _WED_Class; - - private System.Nullable _LimitDate; - - private System.Nullable _WED_TotalDin; - - private System.Nullable _WED_TotalJoint; - - private System.Nullable _WED_ExtendDin; - - private System.Nullable _WED_ExtendJoint; - - private System.Nullable _WED_RepairJoint; - - private System.Nullable _WED_IfOnGuard; - - private string _WED_Remark; - - private System.Nullable _WED_TotalFilm; - - private System.Nullable _WED_PassFilm; - - private System.Nullable _WED_ExtendTotalFilm; - - private System.Nullable _WED_ExtendPassFilm; - - private string _ProjectId; - - private System.Nullable _ThicknessMax; - - private System.Nullable _ThicknessMin; - - private System.Nullable _SizesMax; - - private System.Nullable _SizesMin; - - private string _IdentityCard; - - private string _AttachUrl; - - private System.Nullable _RecordDate; - - private string _MyFinger; - - private string _SignatureUrl; - - private System.Nullable _IsFaceTrain; - - private string _Education; - - private string _WED_States; - - private System.Nullable _IsOAM; - - private System.Nullable _MaxWeldingWire; - - private System.Nullable _MaxHanTiao; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_BO_PreWeldReportMain; - - private EntitySet _WED_; - - private EntityRef _Base_Unit; - - private EntitySet _HJGL_BS_WelderQualifiedProject; - - private EntitySet _HJGL_BS_WelderScore; - - private EntitySet _HJGL_BS_WeldMethodItem; - - private EntitySet _HJGL_CH_RepairItemRecord; - - private EntitySet _HJGL_CH_RepairItemRecord_HJGL_BS_Welder1; - - private EntitySet _HJGL_PW_JointInfo; - - private EntitySet _HJGL_PW_JointInfo_HJGL_BS_Welder1; - - private EntitySet _Project_Welder; - - private EntitySet _Sp_WelderOKRate; - - private EntitySet _Sp_WelderOKRateStatistics; - - private EntitySet _WeldRecordIn; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnWED_UnitChanging(string value); - partial void OnWED_UnitChanged(); - partial void OnEDU_IDChanging(string value); - partial void OnEDU_IDChanged(); - partial void OnSE_EquipmentIDChanging(string value); - partial void OnSE_EquipmentIDChanged(); - partial void OnNP_NondestructivePersonIDChanging(string value); - partial void OnNP_NondestructivePersonIDChanged(); - partial void OnWED_CodeChanging(string value); - partial void OnWED_CodeChanged(); - partial void OnWED_NameChanging(string value); - partial void OnWED_NameChanged(); - partial void OnWED_UserTypeChanging(string value); - partial void OnWED_UserTypeChanged(); - partial void OnWED_SexChanging(string value); - partial void OnWED_SexChanged(); - partial void OnWED_BirthdayChanging(System.Nullable value); - partial void OnWED_BirthdayChanged(); - partial void OnWED_WorkCodeChanging(string value); - partial void OnWED_WorkCodeChanged(); - partial void OnWED_ClassChanging(string value); - partial void OnWED_ClassChanged(); - partial void OnLimitDateChanging(System.Nullable value); - partial void OnLimitDateChanged(); - partial void OnWED_TotalDinChanging(System.Nullable value); - partial void OnWED_TotalDinChanged(); - partial void OnWED_TotalJointChanging(System.Nullable value); - partial void OnWED_TotalJointChanged(); - partial void OnWED_ExtendDinChanging(System.Nullable value); - partial void OnWED_ExtendDinChanged(); - partial void OnWED_ExtendJointChanging(System.Nullable value); - partial void OnWED_ExtendJointChanged(); - partial void OnWED_RepairJointChanging(System.Nullable value); - partial void OnWED_RepairJointChanged(); - partial void OnWED_IfOnGuardChanging(System.Nullable value); - partial void OnWED_IfOnGuardChanged(); - partial void OnWED_RemarkChanging(string value); - partial void OnWED_RemarkChanged(); - partial void OnWED_TotalFilmChanging(System.Nullable value); - partial void OnWED_TotalFilmChanged(); - partial void OnWED_PassFilmChanging(System.Nullable value); - partial void OnWED_PassFilmChanged(); - partial void OnWED_ExtendTotalFilmChanging(System.Nullable value); - partial void OnWED_ExtendTotalFilmChanged(); - partial void OnWED_ExtendPassFilmChanging(System.Nullable value); - partial void OnWED_ExtendPassFilmChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnThicknessMaxChanging(System.Nullable value); - partial void OnThicknessMaxChanged(); - partial void OnThicknessMinChanging(System.Nullable value); - partial void OnThicknessMinChanged(); - partial void OnSizesMaxChanging(System.Nullable value); - partial void OnSizesMaxChanged(); - partial void OnSizesMinChanging(System.Nullable value); - partial void OnSizesMinChanged(); - partial void OnIdentityCardChanging(string value); - partial void OnIdentityCardChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnRecordDateChanging(System.Nullable value); - partial void OnRecordDateChanged(); - partial void OnMyFingerChanging(string value); - partial void OnMyFingerChanged(); - partial void OnSignatureUrlChanging(string value); - partial void OnSignatureUrlChanged(); - partial void OnIsFaceTrainChanging(System.Nullable value); - partial void OnIsFaceTrainChanged(); - partial void OnEducationChanging(string value); - partial void OnEducationChanged(); - partial void OnWED_StatesChanging(string value); - partial void OnWED_StatesChanged(); - partial void OnIsOAMChanging(System.Nullable value); - partial void OnIsOAMChanged(); - partial void OnMaxWeldingWireChanging(System.Nullable value); - partial void OnMaxWeldingWireChanged(); - partial void OnMaxHanTiaoChanging(System.Nullable value); - partial void OnMaxHanTiaoChanged(); - #endregion - - public HJGL_BS_Welder() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_BO_PreWeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_PreWeldReportMain), new Action(this.detach_HJGL_BO_PreWeldReportMain)); - this._WED_ = new EntitySet(new Action(this.attach_WED_), new Action(this.detach_WED_)); - this._Base_Unit = default(EntityRef); - this._HJGL_BS_WelderQualifiedProject = new EntitySet(new Action(this.attach_HJGL_BS_WelderQualifiedProject), new Action(this.detach_HJGL_BS_WelderQualifiedProject)); - this._HJGL_BS_WelderScore = new EntitySet(new Action(this.attach_HJGL_BS_WelderScore), new Action(this.detach_HJGL_BS_WelderScore)); - this._HJGL_BS_WeldMethodItem = new EntitySet(new Action(this.attach_HJGL_BS_WeldMethodItem), new Action(this.detach_HJGL_BS_WeldMethodItem)); - this._HJGL_CH_RepairItemRecord = new EntitySet(new Action(this.attach_HJGL_CH_RepairItemRecord), new Action(this.detach_HJGL_CH_RepairItemRecord)); - this._HJGL_CH_RepairItemRecord_HJGL_BS_Welder1 = new EntitySet(new Action(this.attach_HJGL_CH_RepairItemRecord_HJGL_BS_Welder1), new Action(this.detach_HJGL_CH_RepairItemRecord_HJGL_BS_Welder1)); - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - this._HJGL_PW_JointInfo_HJGL_BS_Welder1 = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo_HJGL_BS_Welder1), new Action(this.detach_HJGL_PW_JointInfo_HJGL_BS_Welder1)); - this._Project_Welder = new EntitySet(new Action(this.attach_Project_Welder), new Action(this.detach_Project_Welder)); - this._Sp_WelderOKRate = new EntitySet(new Action(this.attach_Sp_WelderOKRate), new Action(this.detach_Sp_WelderOKRate)); - this._Sp_WelderOKRateStatistics = new EntitySet(new Action(this.attach_Sp_WelderOKRateStatistics), new Action(this.detach_Sp_WelderOKRateStatistics)); - this._WeldRecordIn = new EntitySet(new Action(this.attach_WeldRecordIn), new Action(this.detach_WeldRecordIn)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Unit", DbType="NVarChar(50)")] - public string WED_Unit - { - get - { - return this._WED_Unit; - } - set - { - if ((this._WED_Unit != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWED_UnitChanging(value); - this.SendPropertyChanging(); - this._WED_Unit = value; - this.SendPropertyChanged("WED_Unit"); - this.OnWED_UnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EDU_ID", DbType="VarChar(50)")] - public string EDU_ID - { - get - { - return this._EDU_ID; - } - set - { - if ((this._EDU_ID != value)) - { - this.OnEDU_IDChanging(value); - this.SendPropertyChanging(); - this._EDU_ID = value; - this.SendPropertyChanged("EDU_ID"); - this.OnEDU_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SE_EquipmentID", DbType="VarChar(50)")] - public string SE_EquipmentID - { - get - { - return this._SE_EquipmentID; - } - set - { - if ((this._SE_EquipmentID != value)) - { - this.OnSE_EquipmentIDChanging(value); - this.SendPropertyChanging(); - this._SE_EquipmentID = value; - this.SendPropertyChanged("SE_EquipmentID"); - this.OnSE_EquipmentIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NP_NondestructivePersonID", DbType="VarChar(50)")] - public string NP_NondestructivePersonID - { - get - { - return this._NP_NondestructivePersonID; - } - set - { - if ((this._NP_NondestructivePersonID != value)) - { - this.OnNP_NondestructivePersonIDChanging(value); - this.SendPropertyChanging(); - this._NP_NondestructivePersonID = value; - this.SendPropertyChanged("NP_NondestructivePersonID"); - this.OnNP_NondestructivePersonIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this.OnWED_CodeChanging(value); - this.SendPropertyChanging(); - this._WED_Code = value; - this.SendPropertyChanged("WED_Code"); - this.OnWED_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Name", DbType="VarChar(40)")] - public string WED_Name - { - get - { - return this._WED_Name; - } - set - { - if ((this._WED_Name != value)) - { - this.OnWED_NameChanging(value); - this.SendPropertyChanging(); - this._WED_Name = value; - this.SendPropertyChanged("WED_Name"); - this.OnWED_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_UserType", DbType="Char(10)")] - public string WED_UserType - { - get - { - return this._WED_UserType; - } - set - { - if ((this._WED_UserType != value)) - { - this.OnWED_UserTypeChanging(value); - this.SendPropertyChanging(); - this._WED_UserType = value; - this.SendPropertyChanged("WED_UserType"); - this.OnWED_UserTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Sex", DbType="Char(1)")] - public string WED_Sex - { - get - { - return this._WED_Sex; - } - set - { - if ((this._WED_Sex != value)) - { - this.OnWED_SexChanging(value); - this.SendPropertyChanging(); - this._WED_Sex = value; - this.SendPropertyChanged("WED_Sex"); - this.OnWED_SexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Birthday", DbType="DateTime")] - public System.Nullable WED_Birthday - { - get - { - return this._WED_Birthday; - } - set - { - if ((this._WED_Birthday != value)) - { - this.OnWED_BirthdayChanging(value); - this.SendPropertyChanging(); - this._WED_Birthday = value; - this.SendPropertyChanged("WED_Birthday"); - this.OnWED_BirthdayChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_WorkCode", DbType="VarChar(20)")] - public string WED_WorkCode - { - get - { - return this._WED_WorkCode; - } - set - { - if ((this._WED_WorkCode != value)) - { - this.OnWED_WorkCodeChanging(value); - this.SendPropertyChanging(); - this._WED_WorkCode = value; - this.SendPropertyChanged("WED_WorkCode"); - this.OnWED_WorkCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Class", DbType="VarChar(4)")] - public string WED_Class - { - get - { - return this._WED_Class; - } - set - { - if ((this._WED_Class != value)) - { - this.OnWED_ClassChanging(value); - this.SendPropertyChanging(); - this._WED_Class = value; - this.SendPropertyChanged("WED_Class"); - this.OnWED_ClassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LimitDate", DbType="DateTime")] - public System.Nullable LimitDate - { - get - { - return this._LimitDate; - } - set - { - if ((this._LimitDate != value)) - { - this.OnLimitDateChanging(value); - this.SendPropertyChanging(); - this._LimitDate = value; - this.SendPropertyChanged("LimitDate"); - this.OnLimitDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_TotalDin", DbType="Decimal(18,4)")] - public System.Nullable WED_TotalDin - { - get - { - return this._WED_TotalDin; - } - set - { - if ((this._WED_TotalDin != value)) - { - this.OnWED_TotalDinChanging(value); - this.SendPropertyChanging(); - this._WED_TotalDin = value; - this.SendPropertyChanged("WED_TotalDin"); - this.OnWED_TotalDinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_TotalJoint", DbType="Decimal(18,4)")] - public System.Nullable WED_TotalJoint - { - get - { - return this._WED_TotalJoint; - } - set - { - if ((this._WED_TotalJoint != value)) - { - this.OnWED_TotalJointChanging(value); - this.SendPropertyChanging(); - this._WED_TotalJoint = value; - this.SendPropertyChanged("WED_TotalJoint"); - this.OnWED_TotalJointChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ExtendDin", DbType="Decimal(18,4)")] - public System.Nullable WED_ExtendDin - { - get - { - return this._WED_ExtendDin; - } - set - { - if ((this._WED_ExtendDin != value)) - { - this.OnWED_ExtendDinChanging(value); - this.SendPropertyChanging(); - this._WED_ExtendDin = value; - this.SendPropertyChanged("WED_ExtendDin"); - this.OnWED_ExtendDinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ExtendJoint", DbType="Decimal(18,4)")] - public System.Nullable WED_ExtendJoint - { - get - { - return this._WED_ExtendJoint; - } - set - { - if ((this._WED_ExtendJoint != value)) - { - this.OnWED_ExtendJointChanging(value); - this.SendPropertyChanging(); - this._WED_ExtendJoint = value; - this.SendPropertyChanged("WED_ExtendJoint"); - this.OnWED_ExtendJointChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_RepairJoint", DbType="Decimal(18,4)")] - public System.Nullable WED_RepairJoint - { - get - { - return this._WED_RepairJoint; - } - set - { - if ((this._WED_RepairJoint != value)) - { - this.OnWED_RepairJointChanging(value); - this.SendPropertyChanging(); - this._WED_RepairJoint = value; - this.SendPropertyChanged("WED_RepairJoint"); - this.OnWED_RepairJointChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_IfOnGuard", DbType="Bit")] - public System.Nullable WED_IfOnGuard - { - get - { - return this._WED_IfOnGuard; - } - set - { - if ((this._WED_IfOnGuard != value)) - { - this.OnWED_IfOnGuardChanging(value); - this.SendPropertyChanging(); - this._WED_IfOnGuard = value; - this.SendPropertyChanged("WED_IfOnGuard"); - this.OnWED_IfOnGuardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Remark", DbType="NVarChar(500)")] - public string WED_Remark - { - get - { - return this._WED_Remark; - } - set - { - if ((this._WED_Remark != value)) - { - this.OnWED_RemarkChanging(value); - this.SendPropertyChanging(); - this._WED_Remark = value; - this.SendPropertyChanged("WED_Remark"); - this.OnWED_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_TotalFilm", DbType="Int")] - public System.Nullable WED_TotalFilm - { - get - { - return this._WED_TotalFilm; - } - set - { - if ((this._WED_TotalFilm != value)) - { - this.OnWED_TotalFilmChanging(value); - this.SendPropertyChanging(); - this._WED_TotalFilm = value; - this.SendPropertyChanged("WED_TotalFilm"); - this.OnWED_TotalFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_PassFilm", DbType="Int")] - public System.Nullable WED_PassFilm - { - get - { - return this._WED_PassFilm; - } - set - { - if ((this._WED_PassFilm != value)) - { - this.OnWED_PassFilmChanging(value); - this.SendPropertyChanging(); - this._WED_PassFilm = value; - this.SendPropertyChanged("WED_PassFilm"); - this.OnWED_PassFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ExtendTotalFilm", DbType="Int")] - public System.Nullable WED_ExtendTotalFilm - { - get - { - return this._WED_ExtendTotalFilm; - } - set - { - if ((this._WED_ExtendTotalFilm != value)) - { - this.OnWED_ExtendTotalFilmChanging(value); - this.SendPropertyChanging(); - this._WED_ExtendTotalFilm = value; - this.SendPropertyChanged("WED_ExtendTotalFilm"); - this.OnWED_ExtendTotalFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ExtendPassFilm", DbType="Int")] - public System.Nullable WED_ExtendPassFilm - { - get - { - return this._WED_ExtendPassFilm; - } - set - { - if ((this._WED_ExtendPassFilm != value)) - { - this.OnWED_ExtendPassFilmChanging(value); - this.SendPropertyChanging(); - this._WED_ExtendPassFilm = value; - this.SendPropertyChanged("WED_ExtendPassFilm"); - this.OnWED_ExtendPassFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThicknessMax", DbType="Decimal(18,4)")] - public System.Nullable ThicknessMax - { - get - { - return this._ThicknessMax; - } - set - { - if ((this._ThicknessMax != value)) - { - this.OnThicknessMaxChanging(value); - this.SendPropertyChanging(); - this._ThicknessMax = value; - this.SendPropertyChanged("ThicknessMax"); - this.OnThicknessMaxChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThicknessMin", DbType="Decimal(18,4)")] - public System.Nullable ThicknessMin - { - get - { - return this._ThicknessMin; - } - set - { - if ((this._ThicknessMin != value)) - { - this.OnThicknessMinChanging(value); - this.SendPropertyChanging(); - this._ThicknessMin = value; - this.SendPropertyChanged("ThicknessMin"); - this.OnThicknessMinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SizesMax", DbType="Decimal(18,4)")] - public System.Nullable SizesMax - { - get - { - return this._SizesMax; - } - set - { - if ((this._SizesMax != value)) - { - this.OnSizesMaxChanging(value); - this.SendPropertyChanging(); - this._SizesMax = value; - this.SendPropertyChanged("SizesMax"); - this.OnSizesMaxChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SizesMin", DbType="Decimal(18,4)")] - public System.Nullable SizesMin - { - get - { - return this._SizesMin; - } - set - { - if ((this._SizesMin != value)) - { - this.OnSizesMinChanging(value); - this.SendPropertyChanging(); - this._SizesMin = value; - this.SendPropertyChanged("SizesMin"); - this.OnSizesMinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentityCard", DbType="NVarChar(18)")] - public string IdentityCard - { - get - { - return this._IdentityCard; - } - set - { - if ((this._IdentityCard != value)) - { - this.OnIdentityCardChanging(value); - this.SendPropertyChanging(); - this._IdentityCard = value; - this.SendPropertyChanged("IdentityCard"); - this.OnIdentityCardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordDate", DbType="DateTime")] - public System.Nullable RecordDate - { - get - { - return this._RecordDate; - } - set - { - if ((this._RecordDate != value)) - { - this.OnRecordDateChanging(value); - this.SendPropertyChanging(); - this._RecordDate = value; - this.SendPropertyChanged("RecordDate"); - this.OnRecordDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MyFinger", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string MyFinger - { - get - { - return this._MyFinger; - } - set - { - if ((this._MyFinger != value)) - { - this.OnMyFingerChanging(value); - this.SendPropertyChanging(); - this._MyFinger = value; - this.SendPropertyChanged("MyFinger"); - this.OnMyFingerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")] - public string SignatureUrl - { - get - { - return this._SignatureUrl; - } - set - { - if ((this._SignatureUrl != value)) - { - this.OnSignatureUrlChanging(value); - this.SendPropertyChanging(); - this._SignatureUrl = value; - this.SendPropertyChanged("SignatureUrl"); - this.OnSignatureUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFaceTrain", DbType="Bit")] - public System.Nullable IsFaceTrain - { - get - { - return this._IsFaceTrain; - } - set - { - if ((this._IsFaceTrain != value)) - { - this.OnIsFaceTrainChanging(value); - this.SendPropertyChanging(); - this._IsFaceTrain = value; - this.SendPropertyChanged("IsFaceTrain"); - this.OnIsFaceTrainChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Education", DbType="NVarChar(20)")] - public string Education - { - get - { - return this._Education; - } - set - { - if ((this._Education != value)) - { - this.OnEducationChanging(value); - this.SendPropertyChanging(); - this._Education = value; - this.SendPropertyChanged("Education"); - this.OnEducationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_States", DbType="VarChar(2)")] - public string WED_States - { - get - { - return this._WED_States; - } - set - { - if ((this._WED_States != value)) - { - this.OnWED_StatesChanging(value); - this.SendPropertyChanging(); - this._WED_States = value; - this.SendPropertyChanged("WED_States"); - this.OnWED_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOAM", DbType="Bit")] - public System.Nullable IsOAM - { - get - { - return this._IsOAM; - } - set - { - if ((this._IsOAM != value)) - { - this.OnIsOAMChanging(value); - this.SendPropertyChanging(); - this._IsOAM = value; - this.SendPropertyChanged("IsOAM"); - this.OnIsOAMChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxWeldingWire", DbType="Decimal(6,0)")] - public System.Nullable MaxWeldingWire - { - get - { - return this._MaxWeldingWire; - } - set - { - if ((this._MaxWeldingWire != value)) - { - this.OnMaxWeldingWireChanging(value); - this.SendPropertyChanging(); - this._MaxWeldingWire = value; - this.SendPropertyChanged("MaxWeldingWire"); - this.OnMaxWeldingWireChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxHanTiao", DbType="Decimal(6,0)")] - public System.Nullable MaxHanTiao - { - get - { - return this._MaxHanTiao; - } - set - { - if ((this._MaxHanTiao != value)) - { - this.OnMaxHanTiaoChanging(value); - this.SendPropertyChanging(); - this._MaxHanTiao = value; - this.SendPropertyChanged("MaxHanTiao"); - this.OnMaxHanTiaoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_BS_Welder", Storage="_HJGL_BO_Batch", ThisKey="WED_ID", OtherKey="WED_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_Welder", Storage="_HJGL_BO_PreWeldReportMain", ThisKey="WED_ID", OtherKey="JOT_CellWelderID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_PreWeldReportMain - { - get - { - return this._HJGL_BO_PreWeldReportMain; - } - set - { - this._HJGL_BO_PreWeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_Welder1", Storage="_WED_", ThisKey="WED_ID", OtherKey="JOT_FloorWelderID", DeleteRule="NO ACTION")] - public EntitySet WED_ - { - get - { - return this._WED_; - } - set - { - this._WED_.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_Welder_Base_Unit", Storage="_Base_Unit", ThisKey="WED_Unit", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_BS_Welder.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_BS_Welder.Add(this); - this._WED_Unit = value.UnitId; - } - else - { - this._WED_Unit = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WelderQualifiedProject_HJGL_BS_Welder", Storage="_HJGL_BS_WelderQualifiedProject", ThisKey="WED_ID", OtherKey="WED_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_WelderQualifiedProject - { - get - { - return this._HJGL_BS_WelderQualifiedProject; - } - set - { - this._HJGL_BS_WelderQualifiedProject.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WelderScore_HJGL_BS_Welder", Storage="_HJGL_BS_WelderScore", ThisKey="WED_ID", OtherKey="WED_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_WelderScore - { - get - { - return this._HJGL_BS_WelderScore; - } - set - { - this._HJGL_BS_WelderScore.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldMethodItem_HJGL_BS_Welder", Storage="_HJGL_BS_WeldMethodItem", ThisKey="WED_ID", OtherKey="WED_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_WeldMethodItem - { - get - { - return this._HJGL_BS_WeldMethodItem; - } - set - { - this._HJGL_BS_WeldMethodItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_BS_Welder", Storage="_HJGL_CH_RepairItemRecord", ThisKey="WED_ID", OtherKey="JOT_CellWelder", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItemRecord - { - get - { - return this._HJGL_CH_RepairItemRecord; - } - set - { - this._HJGL_CH_RepairItemRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_BS_Welder1", Storage="_HJGL_CH_RepairItemRecord_HJGL_BS_Welder1", ThisKey="WED_ID", OtherKey="JOT_FloorWelder", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItemRecord_HJGL_BS_Welder1 - { - get - { - return this._HJGL_CH_RepairItemRecord_HJGL_BS_Welder1; - } - set - { - this._HJGL_CH_RepairItemRecord_HJGL_BS_Welder1.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Welder", Storage="_HJGL_PW_JointInfo", ThisKey="WED_ID", OtherKey="JOT_CellWelder", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Welder1", Storage="_HJGL_PW_JointInfo_HJGL_BS_Welder1", ThisKey="WED_ID", OtherKey="JOT_FloorWelder", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo_HJGL_BS_Welder1 - { - get - { - return this._HJGL_PW_JointInfo_HJGL_BS_Welder1; - } - set - { - this._HJGL_PW_JointInfo_HJGL_BS_Welder1.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Welder_Project_Welder", Storage="_Project_Welder", ThisKey="WED_ID", OtherKey="WED_ID", DeleteRule="NO ACTION")] - public EntitySet Project_Welder - { - get - { - return this._Project_Welder; - } - set - { - this._Project_Welder.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRate_HJGL_BS_Welder", Storage="_Sp_WelderOKRate", ThisKey="WED_ID", OtherKey="WED_ID", DeleteRule="NO ACTION")] - public EntitySet Sp_WelderOKRate - { - get - { - return this._Sp_WelderOKRate; - } - set - { - this._Sp_WelderOKRate.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRateStatisticsItem_HJGL_BS_Welder", Storage="_Sp_WelderOKRateStatistics", ThisKey="WED_ID", OtherKey="WED_ID", DeleteRule="NO ACTION")] - public EntitySet Sp_WelderOKRateStatistics - { - get - { - return this._Sp_WelderOKRateStatistics; - } - set - { - this._Sp_WelderOKRateStatistics.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WeldRecordIn_HJGL_BS_Welder", Storage="_WeldRecordIn", ThisKey="WED_ID", OtherKey="WelderId", DeleteRule="NO ACTION")] - public EntitySet WeldRecordIn - { - get - { - return this._WeldRecordIn; - } - set - { - this._WeldRecordIn.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_WED_(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.JOT_FloorWelder = this; - } - - private void detach_WED_(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.JOT_FloorWelder = null; - } - - private void attach_HJGL_BS_WelderQualifiedProject(HJGL_BS_WelderQualifiedProject entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_HJGL_BS_WelderQualifiedProject(HJGL_BS_WelderQualifiedProject entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_HJGL_BS_WelderScore(HJGL_BS_WelderScore entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_HJGL_BS_WelderScore(HJGL_BS_WelderScore entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_HJGL_BS_WeldMethodItem(HJGL_BS_WeldMethodItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_HJGL_BS_WeldMethodItem(HJGL_BS_WeldMethodItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_HJGL_CH_RepairItemRecord_HJGL_BS_Welder1(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.JOT_FloorWelderHJGL_BS_Welder = this; - } - - private void detach_HJGL_CH_RepairItemRecord_HJGL_BS_Welder1(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.JOT_FloorWelderHJGL_BS_Welder = null; - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_HJGL_PW_JointInfo_HJGL_BS_Welder1(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.JOT_FloorWelderHJGL_BS_Welder = this; - } - - private void detach_HJGL_PW_JointInfo_HJGL_BS_Welder1(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.JOT_FloorWelderHJGL_BS_Welder = null; - } - - private void attach_Project_Welder(Project_Welder entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_Project_Welder(Project_Welder entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_Sp_WelderOKRate(Sp_WelderOKRate entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_Sp_WelderOKRate(Sp_WelderOKRate entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_Sp_WelderOKRateStatistics(Sp_WelderOKRateStatistics entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_Sp_WelderOKRateStatistics(Sp_WelderOKRateStatistics entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - - private void attach_WeldRecordIn(WeldRecordIn entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = this; - } - - private void detach_WeldRecordIn(WeldRecordIn entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_Welder = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_WelderItem")] - public partial class HJGL_BS_WelderItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WEDItem_ID; - - private string _WED_ID; - - private string _STE_ID; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWEDItem_IDChanging(string value); - partial void OnWEDItem_IDChanged(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - #endregion - - public HJGL_BS_WelderItem() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WEDItem_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WEDItem_ID - { - get - { - return this._WEDItem_ID; - } - set - { - if ((this._WEDItem_ID != value)) - { - this.OnWEDItem_IDChanging(value); - this.SendPropertyChanging(); - this._WEDItem_ID = value; - this.SendPropertyChanged("WEDItem_ID"); - this.OnWEDItem_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50)")] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="NVarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_WelderQualifiedProject")] - public partial class HJGL_BS_WelderQualifiedProject : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WelderQualifiedProjectId; - - private string _WED_ID; - - private string _QualifiedProjectCode; - - private System.Nullable _LimitDate; - - private System.Nullable _CheckDate; - - private string _CertificateNo; - - private string _WeldingMethodId; - - private string _MaterialType; - - private string _WeldingLocationId; - - private System.Nullable _ThicknessMax; - - private System.Nullable _SizesMin; - - private string _MaterialTypeName; - - private string _WeldType; - - private System.Nullable _IsSteelStru; - - private System.Nullable _IsDemoteUse; - - private string _DemoteUseSteelType; - - private EntityRef _HJGL_BS_Welder; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWelderQualifiedProjectIdChanging(string value); - partial void OnWelderQualifiedProjectIdChanged(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnQualifiedProjectCodeChanging(string value); - partial void OnQualifiedProjectCodeChanged(); - partial void OnLimitDateChanging(System.Nullable value); - partial void OnLimitDateChanged(); - partial void OnCheckDateChanging(System.Nullable value); - partial void OnCheckDateChanged(); - partial void OnCertificateNoChanging(string value); - partial void OnCertificateNoChanged(); - partial void OnWeldingMethodIdChanging(string value); - partial void OnWeldingMethodIdChanged(); - partial void OnMaterialTypeChanging(string value); - partial void OnMaterialTypeChanged(); - partial void OnWeldingLocationIdChanging(string value); - partial void OnWeldingLocationIdChanged(); - partial void OnThicknessMaxChanging(System.Nullable value); - partial void OnThicknessMaxChanged(); - partial void OnSizesMinChanging(System.Nullable value); - partial void OnSizesMinChanged(); - partial void OnMaterialTypeNameChanging(string value); - partial void OnMaterialTypeNameChanged(); - partial void OnWeldTypeChanging(string value); - partial void OnWeldTypeChanged(); - partial void OnIsSteelStruChanging(System.Nullable value); - partial void OnIsSteelStruChanged(); - partial void OnIsDemoteUseChanging(System.Nullable value); - partial void OnIsDemoteUseChanged(); - partial void OnDemoteUseSteelTypeChanging(string value); - partial void OnDemoteUseSteelTypeChanged(); - #endregion - - public HJGL_BS_WelderQualifiedProject() - { - this._HJGL_BS_Welder = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderQualifiedProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WelderQualifiedProjectId - { - get - { - return this._WelderQualifiedProjectId; - } - set - { - if ((this._WelderQualifiedProjectId != value)) - { - this.OnWelderQualifiedProjectIdChanging(value); - this.SendPropertyChanging(); - this._WelderQualifiedProjectId = value; - this.SendPropertyChanged("WelderQualifiedProjectId"); - this.OnWelderQualifiedProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50)")] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedProjectCode", DbType="NVarChar(100)")] - public string QualifiedProjectCode - { - get - { - return this._QualifiedProjectCode; - } - set - { - if ((this._QualifiedProjectCode != value)) - { - this.OnQualifiedProjectCodeChanging(value); - this.SendPropertyChanging(); - this._QualifiedProjectCode = value; - this.SendPropertyChanged("QualifiedProjectCode"); - this.OnQualifiedProjectCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LimitDate", DbType="DateTime")] - public System.Nullable LimitDate - { - get - { - return this._LimitDate; - } - set - { - if ((this._LimitDate != value)) - { - this.OnLimitDateChanging(value); - this.SendPropertyChanging(); - this._LimitDate = value; - this.SendPropertyChanged("LimitDate"); - this.OnLimitDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckDate", DbType="DateTime")] - public System.Nullable CheckDate - { - get - { - return this._CheckDate; - } - set - { - if ((this._CheckDate != value)) - { - this.OnCheckDateChanging(value); - this.SendPropertyChanging(); - this._CheckDate = value; - this.SendPropertyChanged("CheckDate"); - this.OnCheckDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CertificateNo", DbType="NVarChar(50)")] - public string CertificateNo - { - get - { - return this._CertificateNo; - } - set - { - if ((this._CertificateNo != value)) - { - this.OnCertificateNoChanging(value); - this.SendPropertyChanging(); - this._CertificateNo = value; - this.SendPropertyChanged("CertificateNo"); - this.OnCertificateNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingMethodId", DbType="NVarChar(50)")] - public string WeldingMethodId - { - get - { - return this._WeldingMethodId; - } - set - { - if ((this._WeldingMethodId != value)) - { - this.OnWeldingMethodIdChanging(value); - this.SendPropertyChanging(); - this._WeldingMethodId = value; - this.SendPropertyChanged("WeldingMethodId"); - this.OnWeldingMethodIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialType", DbType="NVarChar(50)")] - public string MaterialType - { - get - { - return this._MaterialType; - } - set - { - if ((this._MaterialType != value)) - { - this.OnMaterialTypeChanging(value); - this.SendPropertyChanging(); - this._MaterialType = value; - this.SendPropertyChanged("MaterialType"); - this.OnMaterialTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingLocationId", DbType="NVarChar(50)")] - public string WeldingLocationId - { - get - { - return this._WeldingLocationId; - } - set - { - if ((this._WeldingLocationId != value)) - { - this.OnWeldingLocationIdChanging(value); - this.SendPropertyChanging(); - this._WeldingLocationId = value; - this.SendPropertyChanged("WeldingLocationId"); - this.OnWeldingLocationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThicknessMax", DbType="Decimal(18,2)")] - public System.Nullable ThicknessMax - { - get - { - return this._ThicknessMax; - } - set - { - if ((this._ThicknessMax != value)) - { - this.OnThicknessMaxChanging(value); - this.SendPropertyChanging(); - this._ThicknessMax = value; - this.SendPropertyChanged("ThicknessMax"); - this.OnThicknessMaxChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SizesMin", DbType="Decimal(18,2)")] - public System.Nullable SizesMin - { - get - { - return this._SizesMin; - } - set - { - if ((this._SizesMin != value)) - { - this.OnSizesMinChanging(value); - this.SendPropertyChanging(); - this._SizesMin = value; - this.SendPropertyChanged("SizesMin"); - this.OnSizesMinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialTypeName", DbType="NVarChar(50)")] - public string MaterialTypeName - { - get - { - return this._MaterialTypeName; - } - set - { - if ((this._MaterialTypeName != value)) - { - this.OnMaterialTypeNameChanging(value); - this.SendPropertyChanging(); - this._MaterialTypeName = value; - this.SendPropertyChanged("MaterialTypeName"); - this.OnMaterialTypeNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldType", DbType="NVarChar(10)")] - public string WeldType - { - get - { - return this._WeldType; - } - set - { - if ((this._WeldType != value)) - { - this.OnWeldTypeChanging(value); - this.SendPropertyChanging(); - this._WeldType = value; - this.SendPropertyChanged("WeldType"); - this.OnWeldTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSteelStru", DbType="Bit")] - public System.Nullable IsSteelStru - { - get - { - return this._IsSteelStru; - } - set - { - if ((this._IsSteelStru != value)) - { - this.OnIsSteelStruChanging(value); - this.SendPropertyChanging(); - this._IsSteelStru = value; - this.SendPropertyChanged("IsSteelStru"); - this.OnIsSteelStruChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsDemoteUse", DbType="Bit")] - public System.Nullable IsDemoteUse - { - get - { - return this._IsDemoteUse; - } - set - { - if ((this._IsDemoteUse != value)) - { - this.OnIsDemoteUseChanging(value); - this.SendPropertyChanging(); - this._IsDemoteUse = value; - this.SendPropertyChanged("IsDemoteUse"); - this.OnIsDemoteUseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DemoteUseSteelType", DbType="NVarChar(50)")] - public string DemoteUseSteelType - { - get - { - return this._DemoteUseSteelType; - } - set - { - if ((this._DemoteUseSteelType != value)) - { - this.OnDemoteUseSteelTypeChanging(value); - this.SendPropertyChanging(); - this._DemoteUseSteelType = value; - this.SendPropertyChanged("DemoteUseSteelType"); - this.OnDemoteUseSteelTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WelderQualifiedProject_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="WED_ID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.HJGL_BS_WelderQualifiedProject.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_BS_WelderQualifiedProject.Add(this); - this._WED_ID = value.WED_ID; - } - else - { - this._WED_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_WelderScore")] - public partial class HJGL_BS_WelderScore : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WelderScoreId; - - private string _WED_ID; - - private string _ProjectName; - - private string _UnitName; - - private System.Nullable _TotalJot; - - private System.Nullable _QualifiedJot; - - private string _WeldRange; - - private string _Remark; - - private EntityRef _HJGL_BS_Welder; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWelderScoreIdChanging(string value); - partial void OnWelderScoreIdChanged(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnProjectNameChanging(string value); - partial void OnProjectNameChanged(); - partial void OnUnitNameChanging(string value); - partial void OnUnitNameChanged(); - partial void OnTotalJotChanging(System.Nullable value); - partial void OnTotalJotChanged(); - partial void OnQualifiedJotChanging(System.Nullable value); - partial void OnQualifiedJotChanged(); - partial void OnWeldRangeChanging(string value); - partial void OnWeldRangeChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_BS_WelderScore() - { - this._HJGL_BS_Welder = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderScoreId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WelderScoreId - { - get - { - return this._WelderScoreId; - } - set - { - if ((this._WelderScoreId != value)) - { - this.OnWelderScoreIdChanging(value); - this.SendPropertyChanging(); - this._WelderScoreId = value; - this.SendPropertyChanged("WelderScoreId"); - this.OnWelderScoreIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50)")] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this.OnProjectNameChanging(value); - this.SendPropertyChanging(); - this._ProjectName = value; - this.SendPropertyChanged("ProjectName"); - this.OnProjectNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this.OnUnitNameChanging(value); - this.SendPropertyChanging(); - this._UnitName = value; - this.SendPropertyChanged("UnitName"); - this.OnUnitNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalJot", DbType="Int")] - public System.Nullable TotalJot - { - get - { - return this._TotalJot; - } - set - { - if ((this._TotalJot != value)) - { - this.OnTotalJotChanging(value); - this.SendPropertyChanging(); - this._TotalJot = value; - this.SendPropertyChanged("TotalJot"); - this.OnTotalJotChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedJot", DbType="Int")] - public System.Nullable QualifiedJot - { - get - { - return this._QualifiedJot; - } - set - { - if ((this._QualifiedJot != value)) - { - this.OnQualifiedJotChanging(value); - this.SendPropertyChanging(); - this._QualifiedJot = value; - this.SendPropertyChanged("QualifiedJot"); - this.OnQualifiedJotChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldRange", DbType="NVarChar(100)")] - public string WeldRange - { - get - { - return this._WeldRange; - } - set - { - if ((this._WeldRange != value)) - { - this.OnWeldRangeChanging(value); - this.SendPropertyChanging(); - this._WeldRange = value; - this.SendPropertyChanged("WeldRange"); - this.OnWeldRangeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(300)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WelderScore_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="WED_ID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.HJGL_BS_WelderScore.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_BS_WelderScore.Add(this); - this._WED_ID = value.WED_ID; - } - else - { - this._WED_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_WeldMaterial")] - public partial class HJGL_BS_WeldMaterial : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WMT_ID; - - private string _WMT_MatCode; - - private string _WMT_MatName; - - private string _WMT_MatType; - - private string _WMT_Remark; - - private EntitySet _HJGL_BO_PreWeldReportMain; - - private EntitySet _WMT_; - - private EntitySet _HJGL_BS_MaterialCompare; - - private EntitySet _HJGL_EMaterialRegistItem; - - private EntitySet _HJGL_EMInventoryRecords; - - private EntitySet _HJGL_PW_JointInfo; - - private EntitySet _HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWMT_IDChanging(string value); - partial void OnWMT_IDChanged(); - partial void OnWMT_MatCodeChanging(string value); - partial void OnWMT_MatCodeChanged(); - partial void OnWMT_MatNameChanging(string value); - partial void OnWMT_MatNameChanged(); - partial void OnWMT_MatTypeChanging(string value); - partial void OnWMT_MatTypeChanged(); - partial void OnWMT_RemarkChanging(string value); - partial void OnWMT_RemarkChanged(); - #endregion - - public HJGL_BS_WeldMaterial() - { - this._HJGL_BO_PreWeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_PreWeldReportMain), new Action(this.detach_HJGL_BO_PreWeldReportMain)); - this._WMT_ = new EntitySet(new Action(this.attach_WMT_), new Action(this.detach_WMT_)); - this._HJGL_BS_MaterialCompare = new EntitySet(new Action(this.attach_HJGL_BS_MaterialCompare), new Action(this.detach_HJGL_BS_MaterialCompare)); - this._HJGL_EMaterialRegistItem = new EntitySet(new Action(this.attach_HJGL_EMaterialRegistItem), new Action(this.detach_HJGL_EMaterialRegistItem)); - this._HJGL_EMInventoryRecords = new EntitySet(new Action(this.attach_HJGL_EMInventoryRecords), new Action(this.detach_HJGL_EMInventoryRecords)); - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - this._HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1 = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1), new Action(this.detach_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WMT_ID - { - get - { - return this._WMT_ID; - } - set - { - if ((this._WMT_ID != value)) - { - this.OnWMT_IDChanging(value); - this.SendPropertyChanging(); - this._WMT_ID = value; - this.SendPropertyChanged("WMT_ID"); - this.OnWMT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatCode", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string WMT_MatCode - { - get - { - return this._WMT_MatCode; - } - set - { - if ((this._WMT_MatCode != value)) - { - this.OnWMT_MatCodeChanging(value); - this.SendPropertyChanging(); - this._WMT_MatCode = value; - this.SendPropertyChanged("WMT_MatCode"); - this.OnWMT_MatCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatName", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string WMT_MatName - { - get - { - return this._WMT_MatName; - } - set - { - if ((this._WMT_MatName != value)) - { - this.OnWMT_MatNameChanging(value); - this.SendPropertyChanging(); - this._WMT_MatName = value; - this.SendPropertyChanged("WMT_MatName"); - this.OnWMT_MatNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatType", DbType="VarChar(20)")] - public string WMT_MatType - { - get - { - return this._WMT_MatType; - } - set - { - if ((this._WMT_MatType != value)) - { - this.OnWMT_MatTypeChanging(value); - this.SendPropertyChanging(); - this._WMT_MatType = value; - this.SendPropertyChanged("WMT_MatType"); - this.OnWMT_MatTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_Remark", DbType="VarChar(100)")] - public string WMT_Remark - { - get - { - return this._WMT_Remark; - } - set - { - if ((this._WMT_Remark != value)) - { - this.OnWMT_RemarkChanging(value); - this.SendPropertyChanging(); - this._WMT_Remark = value; - this.SendPropertyChanged("WMT_Remark"); - this.OnWMT_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_WeldMaterial", Storage="_HJGL_BO_PreWeldReportMain", ThisKey="WMT_ID", OtherKey="JOT_WeldMat", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_PreWeldReportMain - { - get - { - return this._HJGL_BO_PreWeldReportMain; - } - set - { - this._HJGL_BO_PreWeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_WeldMaterial1", Storage="_WMT_", ThisKey="WMT_ID", OtherKey="JOT_WeldSilk", DeleteRule="NO ACTION")] - public EntitySet WMT_ - { - get - { - return this._WMT_; - } - set - { - this._WMT_.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_MaterialCompare_HJGL_BS_WeldMaterial", Storage="_HJGL_BS_MaterialCompare", ThisKey="WMT_ID", OtherKey="WMT_ID1", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_MaterialCompare - { - get - { - return this._HJGL_BS_MaterialCompare; - } - set - { - this._HJGL_BS_MaterialCompare.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMaterialRegistItem_HJGL_BS_WeldMaterial", Storage="_HJGL_EMaterialRegistItem", ThisKey="WMT_ID", OtherKey="WMT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_EMaterialRegistItem - { - get - { - return this._HJGL_EMaterialRegistItem; - } - set - { - this._HJGL_EMaterialRegistItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMInventoryRecords_HJGL_BS_WeldMaterial", Storage="_HJGL_EMInventoryRecords", ThisKey="WMT_ID", OtherKey="WMT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_EMInventoryRecords - { - get - { - return this._HJGL_EMInventoryRecords; - } - set - { - this._HJGL_EMInventoryRecords.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial", Storage="_HJGL_PW_JointInfo", ThisKey="WMT_ID", OtherKey="JOT_WeldMat", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1", Storage="_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1", ThisKey="WMT_ID", OtherKey="JOT_WeldSilk", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1 - { - get - { - return this._HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1; - } - set - { - this._HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = this; - } - - private void detach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = null; - } - - private void attach_WMT_(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.JOT_WeldSilkHJGL_BS_WeldMaterial = this; - } - - private void detach_WMT_(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.JOT_WeldSilkHJGL_BS_WeldMaterial = null; - } - - private void attach_HJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = this; - } - - private void detach_HJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = null; - } - - private void attach_HJGL_EMaterialRegistItem(HJGL_EMaterialRegistItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = this; - } - - private void detach_HJGL_EMaterialRegistItem(HJGL_EMaterialRegistItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = null; - } - - private void attach_HJGL_EMInventoryRecords(HJGL_EMInventoryRecords entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = this; - } - - private void detach_HJGL_EMInventoryRecords(HJGL_EMInventoryRecords entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = null; - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMaterial = null; - } - - private void attach_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.JOT_WeldSilkHJGL_BS_WeldMaterial = this; - } - - private void detach_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.JOT_WeldSilkHJGL_BS_WeldMaterial = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_WeldMethod")] - public partial class HJGL_BS_WeldMethod : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WME_ID; - - private string _WME_Code; - - private string _WME_Name; - - private string _WME_Remark; - - private EntitySet _HJGL_BO_PreWeldReportMain; - - private EntitySet _HJGL_BS_MaterialCompare; - - private EntitySet _HJGL_BS_WeldMethodItem; - - private EntitySet _HJGL_PW_JointInfo; - - private EntitySet _HJGL_PW_ProcedureImageManage; - - private EntitySet _HJGL_WeldingProcedure_JointImageItem; - - private EntitySet _HJGL_WeldingProcedure_MatchedProcedureMaterial; - - private EntitySet _HJGL_WeldingProcedure_WeldingProcedure; - - private EntitySet _HJGL_WeldingProcedure_WeldingProcessCard; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - partial void OnWME_CodeChanging(string value); - partial void OnWME_CodeChanged(); - partial void OnWME_NameChanging(string value); - partial void OnWME_NameChanged(); - partial void OnWME_RemarkChanging(string value); - partial void OnWME_RemarkChanged(); - #endregion - - public HJGL_BS_WeldMethod() - { - this._HJGL_BO_PreWeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_PreWeldReportMain), new Action(this.detach_HJGL_BO_PreWeldReportMain)); - this._HJGL_BS_MaterialCompare = new EntitySet(new Action(this.attach_HJGL_BS_MaterialCompare), new Action(this.detach_HJGL_BS_MaterialCompare)); - this._HJGL_BS_WeldMethodItem = new EntitySet(new Action(this.attach_HJGL_BS_WeldMethodItem), new Action(this.detach_HJGL_BS_WeldMethodItem)); - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - this._HJGL_PW_ProcedureImageManage = new EntitySet(new Action(this.attach_HJGL_PW_ProcedureImageManage), new Action(this.detach_HJGL_PW_ProcedureImageManage)); - this._HJGL_WeldingProcedure_JointImageItem = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_JointImageItem), new Action(this.detach_HJGL_WeldingProcedure_JointImageItem)); - this._HJGL_WeldingProcedure_MatchedProcedureMaterial = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_MatchedProcedureMaterial), new Action(this.detach_HJGL_WeldingProcedure_MatchedProcedureMaterial)); - this._HJGL_WeldingProcedure_WeldingProcedure = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcedure), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcedure)); - this._HJGL_WeldingProcedure_WeldingProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcessCard)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Code", DbType="VarChar(20) NOT NULL", CanBeNull=false)] - public string WME_Code - { - get - { - return this._WME_Code; - } - set - { - if ((this._WME_Code != value)) - { - this.OnWME_CodeChanging(value); - this.SendPropertyChanging(); - this._WME_Code = value; - this.SendPropertyChanged("WME_Code"); - this.OnWME_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this.OnWME_NameChanging(value); - this.SendPropertyChanging(); - this._WME_Name = value; - this.SendPropertyChanged("WME_Name"); - this.OnWME_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Remark", DbType="VarChar(100)")] - public string WME_Remark - { - get - { - return this._WME_Remark; - } - set - { - if ((this._WME_Remark != value)) - { - this.OnWME_RemarkChanging(value); - this.SendPropertyChanging(); - this._WME_Remark = value; - this.SendPropertyChanged("WME_Remark"); - this.OnWME_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BS_WeldMethod", Storage="_HJGL_BO_PreWeldReportMain", ThisKey="WME_ID", OtherKey="WME_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_PreWeldReportMain - { - get - { - return this._HJGL_BO_PreWeldReportMain; - } - set - { - this._HJGL_BO_PreWeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_MaterialCompare_HJGL_BS_WeldMethod", Storage="_HJGL_BS_MaterialCompare", ThisKey="WME_ID", OtherKey="WME_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_MaterialCompare - { - get - { - return this._HJGL_BS_MaterialCompare; - } - set - { - this._HJGL_BS_MaterialCompare.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldMethodItem_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethodItem", ThisKey="WME_ID", OtherKey="WME_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BS_WeldMethodItem - { - get - { - return this._HJGL_BS_WeldMethodItem; - } - set - { - this._HJGL_BS_WeldMethodItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_WeldMethod", Storage="_HJGL_PW_JointInfo", ThisKey="WME_ID", OtherKey="WME_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_ProcedureImageManage_HJGL_BS_WeldMethod", Storage="_HJGL_PW_ProcedureImageManage", ThisKey="WME_ID", OtherKey="WME_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_ProcedureImageManage - { - get - { - return this._HJGL_PW_ProcedureImageManage; - } - set - { - this._HJGL_PW_ProcedureImageManage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_JointImageItem_HJGL_BS_WeldMethod", Storage="_HJGL_WeldingProcedure_JointImageItem", ThisKey="WME_ID", OtherKey="WME_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_JointImageItem - { - get - { - return this._HJGL_WeldingProcedure_JointImageItem; - } - set - { - this._HJGL_WeldingProcedure_JointImageItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_WeldMethod", Storage="_HJGL_WeldingProcedure_MatchedProcedureMaterial", ThisKey="WME_ID", OtherKey="WeldingMethodId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_MatchedProcedureMaterial - { - get - { - return this._HJGL_WeldingProcedure_MatchedProcedureMaterial; - } - set - { - this._HJGL_WeldingProcedure_MatchedProcedureMaterial.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_WeldMethod", Storage="_HJGL_WeldingProcedure_WeldingProcedure", ThisKey="WME_ID", OtherKey="WeldingMethodId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldingProcedure - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcedure; - } - set - { - this._HJGL_WeldingProcedure_WeldingProcedure.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcessCard_HJGL_BS_WeldMethod", Storage="_HJGL_WeldingProcedure_WeldingProcessCard", ThisKey="WME_ID", OtherKey="WME_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldingProcessCard - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcessCard; - } - set - { - this._HJGL_WeldingProcedure_WeldingProcessCard.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - - private void attach_HJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_BS_MaterialCompare(HJGL_BS_MaterialCompare entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - - private void attach_HJGL_BS_WeldMethodItem(HJGL_BS_WeldMethodItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_BS_WeldMethodItem(HJGL_BS_WeldMethodItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - - private void attach_HJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_PW_ProcedureImageManage(HJGL_PW_ProcedureImageManage entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - - private void attach_HJGL_WeldingProcedure_JointImageItem(HJGL_WeldingProcedure_JointImageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_WeldingProcedure_JointImageItem(HJGL_WeldingProcedure_JointImageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - - private void attach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - - private void attach_HJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_WeldingProcedure_WeldingProcedure(HJGL_WeldingProcedure_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - - private void attach_HJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = this; - } - - private void detach_HJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard entity) - { - this.SendPropertyChanging(); - entity.HJGL_BS_WeldMethod = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_BS_WeldMethodItem")] - public partial class HJGL_BS_WeldMethodItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldMethodItemId; - - private string _WED_ID; - - private string _WME_ID; - - private EntityRef _HJGL_BS_Welder; - - private EntityRef _HJGL_BS_WeldMethod; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldMethodItemIdChanging(string value); - partial void OnWeldMethodItemIdChanged(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - #endregion - - public HJGL_BS_WeldMethodItem() - { - this._HJGL_BS_Welder = default(EntityRef); - this._HJGL_BS_WeldMethod = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethodItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldMethodItemId - { - get - { - return this._WeldMethodItemId; - } - set - { - if ((this._WeldMethodItemId != value)) - { - this.OnWeldMethodItemIdChanging(value); - this.SendPropertyChanging(); - this._WeldMethodItemId = value; - this.SendPropertyChanged("WeldMethodItemId"); - this.OnWeldMethodItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50)")] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldMethodItem_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="WED_ID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.HJGL_BS_WeldMethodItem.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_BS_WeldMethodItem.Add(this); - this._WED_ID = value.WED_ID; - } - else - { - this._WED_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BS_WeldMethodItem_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WME_ID", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_BS_WeldMethodItem.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_BS_WeldMethodItem.Add(this); - this._WME_ID = value.WME_ID; - } - else - { - this._WME_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_HardTestReport")] - public partial class HJGL_CH_HardTestReport : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HardTestReportId; - - private string _HardTestReportCode; - - private string _ProjectId; - - private string _ISO_ID; - - private string _TrustUnitId; - - private System.Nullable _TestDate; - - private string _InstrumentType; - - private string _EquipmentId; - - private string _TestStandard; - - private string _AuditMan; - - private string _TestMan; - - private System.Nullable _IsPrintTrust; - - private System.Nullable _IsPrintReport; - - private System.Nullable _PrintReportDate; - - private string _HotHardCode; - - private string _HotProessState; - - private string _SurfaceAppearance; - - private string _TestMethod; - - private string _MaterialStandard; - - private string _TestRate; - - private System.Nullable _TestCount; - - private string _ContractUnit; - - private string _STE_ID; - - private System.Nullable _IsPushed; - - private System.Nullable _PushedDate; - - private string _FileType; - - private System.Nullable _PrintTrustDate; - - private string _TrustName; - - private string _ReportName; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _HJGL_BS_Equipment; - - private EntityRef _HJGL_PW_IsoInfo; - - private EntitySet _HJGL_CH_HardTestReportItem; - - private EntitySet _HJGL_CH_HardTestResult; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHardTestReportIdChanging(string value); - partial void OnHardTestReportIdChanged(); - partial void OnHardTestReportCodeChanging(string value); - partial void OnHardTestReportCodeChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnTrustUnitIdChanging(string value); - partial void OnTrustUnitIdChanged(); - partial void OnTestDateChanging(System.Nullable value); - partial void OnTestDateChanged(); - partial void OnInstrumentTypeChanging(string value); - partial void OnInstrumentTypeChanged(); - partial void OnEquipmentIdChanging(string value); - partial void OnEquipmentIdChanged(); - partial void OnTestStandardChanging(string value); - partial void OnTestStandardChanged(); - partial void OnAuditManChanging(string value); - partial void OnAuditManChanged(); - partial void OnTestManChanging(string value); - partial void OnTestManChanged(); - partial void OnIsPrintTrustChanging(System.Nullable value); - partial void OnIsPrintTrustChanged(); - partial void OnIsPrintReportChanging(System.Nullable value); - partial void OnIsPrintReportChanged(); - partial void OnPrintReportDateChanging(System.Nullable value); - partial void OnPrintReportDateChanged(); - partial void OnHotHardCodeChanging(string value); - partial void OnHotHardCodeChanged(); - partial void OnHotProessStateChanging(string value); - partial void OnHotProessStateChanged(); - partial void OnSurfaceAppearanceChanging(string value); - partial void OnSurfaceAppearanceChanged(); - partial void OnTestMethodChanging(string value); - partial void OnTestMethodChanged(); - partial void OnMaterialStandardChanging(string value); - partial void OnMaterialStandardChanged(); - partial void OnTestRateChanging(string value); - partial void OnTestRateChanged(); - partial void OnTestCountChanging(System.Nullable value); - partial void OnTestCountChanged(); - partial void OnContractUnitChanging(string value); - partial void OnContractUnitChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnIsPushedChanging(System.Nullable value); - partial void OnIsPushedChanged(); - partial void OnPushedDateChanging(System.Nullable value); - partial void OnPushedDateChanged(); - partial void OnFileTypeChanging(string value); - partial void OnFileTypeChanged(); - partial void OnPrintTrustDateChanging(System.Nullable value); - partial void OnPrintTrustDateChanged(); - partial void OnTrustNameChanging(string value); - partial void OnTrustNameChanged(); - partial void OnReportNameChanging(string value); - partial void OnReportNameChanged(); - #endregion - - public HJGL_CH_HardTestReport() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._HJGL_BS_Equipment = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - this._HJGL_CH_HardTestReportItem = new EntitySet(new Action(this.attach_HJGL_CH_HardTestReportItem), new Action(this.detach_HJGL_CH_HardTestReportItem)); - this._HJGL_CH_HardTestResult = new EntitySet(new Action(this.attach_HJGL_CH_HardTestResult), new Action(this.detach_HJGL_CH_HardTestResult)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HardTestReportId - { - get - { - return this._HardTestReportId; - } - set - { - if ((this._HardTestReportId != value)) - { - this.OnHardTestReportIdChanging(value); - this.SendPropertyChanging(); - this._HardTestReportId = value; - this.SendPropertyChanged("HardTestReportId"); - this.OnHardTestReportIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportCode", DbType="NVarChar(50)")] - public string HardTestReportCode - { - get - { - return this._HardTestReportCode; - } - set - { - if ((this._HardTestReportCode != value)) - { - this.OnHardTestReportCodeChanging(value); - this.SendPropertyChanging(); - this._HardTestReportCode = value; - this.SendPropertyChanged("HardTestReportCode"); - this.OnHardTestReportCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustUnitId", DbType="NVarChar(50)")] - public string TrustUnitId - { - get - { - return this._TrustUnitId; - } - set - { - if ((this._TrustUnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnTrustUnitIdChanging(value); - this.SendPropertyChanging(); - this._TrustUnitId = value; - this.SendPropertyChanged("TrustUnitId"); - this.OnTrustUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestDate", DbType="DateTime")] - public System.Nullable TestDate - { - get - { - return this._TestDate; - } - set - { - if ((this._TestDate != value)) - { - this.OnTestDateChanging(value); - this.SendPropertyChanging(); - this._TestDate = value; - this.SendPropertyChanged("TestDate"); - this.OnTestDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstrumentType", DbType="NVarChar(50)")] - public string InstrumentType - { - get - { - return this._InstrumentType; - } - set - { - if ((this._InstrumentType != value)) - { - this.OnInstrumentTypeChanging(value); - this.SendPropertyChanging(); - this._InstrumentType = value; - this.SendPropertyChanged("InstrumentType"); - this.OnInstrumentTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="NVarChar(50)")] - public string EquipmentId - { - get - { - return this._EquipmentId; - } - set - { - if ((this._EquipmentId != value)) - { - if (this._HJGL_BS_Equipment.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEquipmentIdChanging(value); - this.SendPropertyChanging(); - this._EquipmentId = value; - this.SendPropertyChanged("EquipmentId"); - this.OnEquipmentIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestStandard", DbType="NVarChar(50)")] - public string TestStandard - { - get - { - return this._TestStandard; - } - set - { - if ((this._TestStandard != value)) - { - this.OnTestStandardChanging(value); - this.SendPropertyChanging(); - this._TestStandard = value; - this.SendPropertyChanged("TestStandard"); - this.OnTestStandardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")] - public string AuditMan - { - get - { - return this._AuditMan; - } - set - { - if ((this._AuditMan != value)) - { - this.OnAuditManChanging(value); - this.SendPropertyChanging(); - this._AuditMan = value; - this.SendPropertyChanged("AuditMan"); - this.OnAuditManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestMan", DbType="NVarChar(50)")] - public string TestMan - { - get - { - return this._TestMan; - } - set - { - if ((this._TestMan != value)) - { - this.OnTestManChanging(value); - this.SendPropertyChanging(); - this._TestMan = value; - this.SendPropertyChanged("TestMan"); - this.OnTestManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrintTrust", DbType="Bit")] - public System.Nullable IsPrintTrust - { - get - { - return this._IsPrintTrust; - } - set - { - if ((this._IsPrintTrust != value)) - { - this.OnIsPrintTrustChanging(value); - this.SendPropertyChanging(); - this._IsPrintTrust = value; - this.SendPropertyChanged("IsPrintTrust"); - this.OnIsPrintTrustChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrintReport", DbType="Bit")] - public System.Nullable IsPrintReport - { - get - { - return this._IsPrintReport; - } - set - { - if ((this._IsPrintReport != value)) - { - this.OnIsPrintReportChanging(value); - this.SendPropertyChanging(); - this._IsPrintReport = value; - this.SendPropertyChanged("IsPrintReport"); - this.OnIsPrintReportChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintReportDate", DbType="DateTime")] - public System.Nullable PrintReportDate - { - get - { - return this._PrintReportDate; - } - set - { - if ((this._PrintReportDate != value)) - { - this.OnPrintReportDateChanging(value); - this.SendPropertyChanging(); - this._PrintReportDate = value; - this.SendPropertyChanged("PrintReportDate"); - this.OnPrintReportDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotHardCode", DbType="NVarChar(50)")] - public string HotHardCode - { - get - { - return this._HotHardCode; - } - set - { - if ((this._HotHardCode != value)) - { - this.OnHotHardCodeChanging(value); - this.SendPropertyChanging(); - this._HotHardCode = value; - this.SendPropertyChanged("HotHardCode"); - this.OnHotHardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessState", DbType="NVarChar(50)")] - public string HotProessState - { - get - { - return this._HotProessState; - } - set - { - if ((this._HotProessState != value)) - { - this.OnHotProessStateChanging(value); - this.SendPropertyChanging(); - this._HotProessState = value; - this.SendPropertyChanged("HotProessState"); - this.OnHotProessStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SurfaceAppearance", DbType="NVarChar(50)")] - public string SurfaceAppearance - { - get - { - return this._SurfaceAppearance; - } - set - { - if ((this._SurfaceAppearance != value)) - { - this.OnSurfaceAppearanceChanging(value); - this.SendPropertyChanging(); - this._SurfaceAppearance = value; - this.SendPropertyChanged("SurfaceAppearance"); - this.OnSurfaceAppearanceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestMethod", DbType="NVarChar(50)")] - public string TestMethod - { - get - { - return this._TestMethod; - } - set - { - if ((this._TestMethod != value)) - { - this.OnTestMethodChanging(value); - this.SendPropertyChanging(); - this._TestMethod = value; - this.SendPropertyChanged("TestMethod"); - this.OnTestMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandard", DbType="NVarChar(50)")] - public string MaterialStandard - { - get - { - return this._MaterialStandard; - } - set - { - if ((this._MaterialStandard != value)) - { - this.OnMaterialStandardChanging(value); - this.SendPropertyChanging(); - this._MaterialStandard = value; - this.SendPropertyChanged("MaterialStandard"); - this.OnMaterialStandardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestRate", DbType="NVarChar(50)")] - public string TestRate - { - get - { - return this._TestRate; - } - set - { - if ((this._TestRate != value)) - { - this.OnTestRateChanging(value); - this.SendPropertyChanging(); - this._TestRate = value; - this.SendPropertyChanged("TestRate"); - this.OnTestRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestCount", DbType="Int")] - public System.Nullable TestCount - { - get - { - return this._TestCount; - } - set - { - if ((this._TestCount != value)) - { - this.OnTestCountChanging(value); - this.SendPropertyChanging(); - this._TestCount = value; - this.SendPropertyChanged("TestCount"); - this.OnTestCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractUnit", DbType="NVarChar(50)")] - public string ContractUnit - { - get - { - return this._ContractUnit; - } - set - { - if ((this._ContractUnit != value)) - { - this.OnContractUnitChanging(value); - this.SendPropertyChanging(); - this._ContractUnit = value; - this.SendPropertyChanged("ContractUnit"); - this.OnContractUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPushed", DbType="Bit")] - public System.Nullable IsPushed - { - get - { - return this._IsPushed; - } - set - { - if ((this._IsPushed != value)) - { - this.OnIsPushedChanging(value); - this.SendPropertyChanging(); - this._IsPushed = value; - this.SendPropertyChanged("IsPushed"); - this.OnIsPushedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PushedDate", DbType="DateTime")] - public System.Nullable PushedDate - { - get - { - return this._PushedDate; - } - set - { - if ((this._PushedDate != value)) - { - this.OnPushedDateChanging(value); - this.SendPropertyChanging(); - this._PushedDate = value; - this.SendPropertyChanged("PushedDate"); - this.OnPushedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileType", DbType="Char(1)")] - public string FileType - { - get - { - return this._FileType; - } - set - { - if ((this._FileType != value)) - { - this.OnFileTypeChanging(value); - this.SendPropertyChanging(); - this._FileType = value; - this.SendPropertyChanged("FileType"); - this.OnFileTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintTrustDate", DbType="DateTime")] - public System.Nullable PrintTrustDate - { - get - { - return this._PrintTrustDate; - } - set - { - if ((this._PrintTrustDate != value)) - { - this.OnPrintTrustDateChanging(value); - this.SendPropertyChanging(); - this._PrintTrustDate = value; - this.SendPropertyChanged("PrintTrustDate"); - this.OnPrintTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustName", DbType="NVarChar(100)")] - public string TrustName - { - get - { - return this._TrustName; - } - set - { - if ((this._TrustName != value)) - { - this.OnTrustNameChanging(value); - this.SendPropertyChanging(); - this._TrustName = value; - this.SendPropertyChanged("TrustName"); - this.OnTrustNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportName", DbType="NVarChar(100)")] - public string ReportName - { - get - { - return this._ReportName; - } - set - { - if ((this._ReportName != value)) - { - this.OnReportNameChanging(value); - this.SendPropertyChanging(); - this._ReportName = value; - this.SendPropertyChanged("ReportName"); - this.OnReportNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReport_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_CH_HardTestReport.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HardTestReport.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReport_Base_Unit", Storage="_Base_Unit", ThisKey="TrustUnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_CH_HardTestReport.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HardTestReport.Add(this); - this._TrustUnitId = value.UnitId; - } - else - { - this._TrustUnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReport_HJGL_BS_Equipment", Storage="_HJGL_BS_Equipment", ThisKey="EquipmentId", OtherKey="EquipmentId", IsForeignKey=true)] - public HJGL_BS_Equipment HJGL_BS_Equipment - { - get - { - return this._HJGL_BS_Equipment.Entity; - } - set - { - HJGL_BS_Equipment previousValue = this._HJGL_BS_Equipment.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Equipment.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Equipment.Entity = null; - previousValue.HJGL_CH_HardTestReport.Remove(this); - } - this._HJGL_BS_Equipment.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HardTestReport.Add(this); - this._EquipmentId = value.EquipmentId; - } - else - { - this._EquipmentId = default(string); - } - this.SendPropertyChanged("HJGL_BS_Equipment"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReport_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_CH_HardTestReport.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HardTestReport.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReportItem_HJGL_CH_HardTestReport", Storage="_HJGL_CH_HardTestReportItem", ThisKey="HardTestReportId", OtherKey="HardTestReportId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HardTestReportItem - { - get - { - return this._HJGL_CH_HardTestReportItem; - } - set - { - this._HJGL_CH_HardTestReportItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestResult_HJGL_CH_HardTestReport", Storage="_HJGL_CH_HardTestResult", ThisKey="HardTestReportId", OtherKey="HardTestReportId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HardTestResult - { - get - { - return this._HJGL_CH_HardTestResult; - } - set - { - this._HJGL_CH_HardTestResult.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_CH_HardTestReportItem(HJGL_CH_HardTestReportItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HardTestReport = this; - } - - private void detach_HJGL_CH_HardTestReportItem(HJGL_CH_HardTestReportItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HardTestReport = null; - } - - private void attach_HJGL_CH_HardTestResult(HJGL_CH_HardTestResult entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HardTestReport = this; - } - - private void detach_HJGL_CH_HardTestResult(HJGL_CH_HardTestResult entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HardTestReport = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_HardTestReportItem")] - public partial class HJGL_CH_HardTestReportItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HardTestReportItemId; - - private string _HardTestReportId; - - private string _JOT_ID; - - private string _TestPart; - - private string _Remark; - - private System.Nullable _SortIndex; - - private string _HotProessTrustId; - - private System.Nullable _Flag; - - private System.Nullable _HardNessValue; - - private System.Nullable _IsShow; - - private System.Nullable _NewFlag; - - private EntityRef _HJGL_CH_HardTestReport; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHardTestReportItemIdChanging(string value); - partial void OnHardTestReportItemIdChanged(); - partial void OnHardTestReportIdChanging(string value); - partial void OnHardTestReportIdChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnTestPartChanging(string value); - partial void OnTestPartChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnFlagChanging(System.Nullable value); - partial void OnFlagChanged(); - partial void OnHardNessValueChanging(System.Nullable value); - partial void OnHardNessValueChanged(); - partial void OnIsShowChanging(System.Nullable value); - partial void OnIsShowChanged(); - partial void OnNewFlagChanging(System.Nullable value); - partial void OnNewFlagChanged(); - #endregion - - public HJGL_CH_HardTestReportItem() - { - this._HJGL_CH_HardTestReport = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HardTestReportItemId - { - get - { - return this._HardTestReportItemId; - } - set - { - if ((this._HardTestReportItemId != value)) - { - this.OnHardTestReportItemIdChanging(value); - this.SendPropertyChanging(); - this._HardTestReportItemId = value; - this.SendPropertyChanged("HardTestReportItemId"); - this.OnHardTestReportItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportId", DbType="NVarChar(50)")] - public string HardTestReportId - { - get - { - return this._HardTestReportId; - } - set - { - if ((this._HardTestReportId != value)) - { - if (this._HJGL_CH_HardTestReport.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnHardTestReportIdChanging(value); - this.SendPropertyChanging(); - this._HardTestReportId = value; - this.SendPropertyChanged("HardTestReportId"); - this.OnHardTestReportIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPart", DbType="NVarChar(50)")] - public string TestPart - { - get - { - return this._TestPart; - } - set - { - if ((this._TestPart != value)) - { - this.OnTestPartChanging(value); - this.SendPropertyChanging(); - this._TestPart = value; - this.SendPropertyChanged("TestPart"); - this.OnTestPartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Int")] - public System.Nullable Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this.OnFlagChanging(value); - this.SendPropertyChanging(); - this._Flag = value; - this.SendPropertyChanged("Flag"); - this.OnFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue", DbType="Int")] - public System.Nullable HardNessValue - { - get - { - return this._HardNessValue; - } - set - { - if ((this._HardNessValue != value)) - { - this.OnHardNessValueChanging(value); - this.SendPropertyChanging(); - this._HardNessValue = value; - this.SendPropertyChanged("HardNessValue"); - this.OnHardNessValueChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsShow", DbType="Bit")] - public System.Nullable IsShow - { - get - { - return this._IsShow; - } - set - { - if ((this._IsShow != value)) - { - this.OnIsShowChanging(value); - this.SendPropertyChanging(); - this._IsShow = value; - this.SendPropertyChanged("IsShow"); - this.OnIsShowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NewFlag", DbType="Int")] - public System.Nullable NewFlag - { - get - { - return this._NewFlag; - } - set - { - if ((this._NewFlag != value)) - { - this.OnNewFlagChanging(value); - this.SendPropertyChanging(); - this._NewFlag = value; - this.SendPropertyChanged("NewFlag"); - this.OnNewFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReportItem_HJGL_CH_HardTestReport", Storage="_HJGL_CH_HardTestReport", ThisKey="HardTestReportId", OtherKey="HardTestReportId", IsForeignKey=true)] - public HJGL_CH_HardTestReport HJGL_CH_HardTestReport - { - get - { - return this._HJGL_CH_HardTestReport.Entity; - } - set - { - HJGL_CH_HardTestReport previousValue = this._HJGL_CH_HardTestReport.Entity; - if (((previousValue != value) - || (this._HJGL_CH_HardTestReport.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_HardTestReport.Entity = null; - previousValue.HJGL_CH_HardTestReportItem.Remove(this); - } - this._HJGL_CH_HardTestReport.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HardTestReportItem.Add(this); - this._HardTestReportId = value.HardTestReportId; - } - else - { - this._HardTestReportId = default(string); - } - this.SendPropertyChanged("HJGL_CH_HardTestReport"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReportItem_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_CH_HardTestReportItem.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HardTestReportItem.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_HardTestReportPrintItem")] - public partial class HJGL_CH_HardTestReportPrintItem - { - - private string _HardTestReportId; - - private System.Nullable _Number; - - private string _JOT_JointNoStr1; - - private string _NewJOT_JointNoStr1; - - private string _TestPart1; - - private string _HardNessValue1; - - private string _JOT_JointNoStr2; - - private string _NewJOT_JointNoStr2; - - private string _TestPart2; - - private string _HardNessValue2; - - private string _JOT_JointNoStr3; - - private string _NewJOT_JointNoStr3; - - private string _TestPart3; - - private string _HardNessValue3; - - public HJGL_CH_HardTestReportPrintItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportId", DbType="NVarChar(50)")] - public string HardTestReportId - { - get - { - return this._HardTestReportId; - } - set - { - if ((this._HardTestReportId != value)) - { - this._HardTestReportId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Number", DbType="Int")] - public System.Nullable Number - { - get - { - return this._Number; - } - set - { - if ((this._Number != value)) - { - this._Number = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNoStr1", DbType="VarChar(50)")] - public string JOT_JointNoStr1 - { - get - { - return this._JOT_JointNoStr1; - } - set - { - if ((this._JOT_JointNoStr1 != value)) - { - this._JOT_JointNoStr1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NewJOT_JointNoStr1", DbType="VarChar(50)")] - public string NewJOT_JointNoStr1 - { - get - { - return this._NewJOT_JointNoStr1; - } - set - { - if ((this._NewJOT_JointNoStr1 != value)) - { - this._NewJOT_JointNoStr1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPart1", DbType="VarChar(20)")] - public string TestPart1 - { - get - { - return this._TestPart1; - } - set - { - if ((this._TestPart1 != value)) - { - this._TestPart1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue1", DbType="VarChar(100)")] - public string HardNessValue1 - { - get - { - return this._HardNessValue1; - } - set - { - if ((this._HardNessValue1 != value)) - { - this._HardNessValue1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNoStr2", DbType="VarChar(50)")] - public string JOT_JointNoStr2 - { - get - { - return this._JOT_JointNoStr2; - } - set - { - if ((this._JOT_JointNoStr2 != value)) - { - this._JOT_JointNoStr2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NewJOT_JointNoStr2", DbType="VarChar(50)")] - public string NewJOT_JointNoStr2 - { - get - { - return this._NewJOT_JointNoStr2; - } - set - { - if ((this._NewJOT_JointNoStr2 != value)) - { - this._NewJOT_JointNoStr2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPart2", DbType="VarChar(20)")] - public string TestPart2 - { - get - { - return this._TestPart2; - } - set - { - if ((this._TestPart2 != value)) - { - this._TestPart2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue2", DbType="VarChar(100)")] - public string HardNessValue2 - { - get - { - return this._HardNessValue2; - } - set - { - if ((this._HardNessValue2 != value)) - { - this._HardNessValue2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNoStr3", DbType="VarChar(50)")] - public string JOT_JointNoStr3 - { - get - { - return this._JOT_JointNoStr3; - } - set - { - if ((this._JOT_JointNoStr3 != value)) - { - this._JOT_JointNoStr3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NewJOT_JointNoStr3", DbType="VarChar(50)")] - public string NewJOT_JointNoStr3 - { - get - { - return this._NewJOT_JointNoStr3; - } - set - { - if ((this._NewJOT_JointNoStr3 != value)) - { - this._NewJOT_JointNoStr3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPart3", DbType="VarChar(20)")] - public string TestPart3 - { - get - { - return this._TestPart3; - } - set - { - if ((this._TestPart3 != value)) - { - this._TestPart3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue3", DbType="VarChar(100)")] - public string HardNessValue3 - { - get - { - return this._HardNessValue3; - } - set - { - if ((this._HardNessValue3 != value)) - { - this._HardNessValue3 = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_HardTestResult")] - public partial class HJGL_CH_HardTestResult : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HardTestResultId; - - private string _HardTestReportId; - - private string _JOT_ID; - - private System.Nullable _IsOK; - - private System.Nullable _CannotCheck; - - private string _Remark; - - private System.Nullable _ResultDate; - - private EntityRef _HJGL_CH_HardTestReport; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHardTestResultIdChanging(string value); - partial void OnHardTestResultIdChanged(); - partial void OnHardTestReportIdChanging(string value); - partial void OnHardTestReportIdChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnIsOKChanging(System.Nullable value); - partial void OnIsOKChanged(); - partial void OnCannotCheckChanging(System.Nullable value); - partial void OnCannotCheckChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnResultDateChanging(System.Nullable value); - partial void OnResultDateChanged(); - #endregion - - public HJGL_CH_HardTestResult() - { - this._HJGL_CH_HardTestReport = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestResultId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HardTestResultId - { - get - { - return this._HardTestResultId; - } - set - { - if ((this._HardTestResultId != value)) - { - this.OnHardTestResultIdChanging(value); - this.SendPropertyChanging(); - this._HardTestResultId = value; - this.SendPropertyChanged("HardTestResultId"); - this.OnHardTestResultIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportId", DbType="NVarChar(50)")] - public string HardTestReportId - { - get - { - return this._HardTestReportId; - } - set - { - if ((this._HardTestReportId != value)) - { - if (this._HJGL_CH_HardTestReport.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnHardTestReportIdChanging(value); - this.SendPropertyChanging(); - this._HardTestReportId = value; - this.SendPropertyChanged("HardTestReportId"); - this.OnHardTestReportIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Bit")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this.OnIsOKChanging(value); - this.SendPropertyChanging(); - this._IsOK = value; - this.SendPropertyChanged("IsOK"); - this.OnIsOKChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CannotCheck", DbType="Bit")] - public System.Nullable CannotCheck - { - get - { - return this._CannotCheck; - } - set - { - if ((this._CannotCheck != value)) - { - this.OnCannotCheckChanging(value); - this.SendPropertyChanging(); - this._CannotCheck = value; - this.SendPropertyChanged("CannotCheck"); - this.OnCannotCheckChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResultDate", DbType="DateTime")] - public System.Nullable ResultDate - { - get - { - return this._ResultDate; - } - set - { - if ((this._ResultDate != value)) - { - this.OnResultDateChanging(value); - this.SendPropertyChanging(); - this._ResultDate = value; - this.SendPropertyChanged("ResultDate"); - this.OnResultDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestResult_HJGL_CH_HardTestReport", Storage="_HJGL_CH_HardTestReport", ThisKey="HardTestReportId", OtherKey="HardTestReportId", IsForeignKey=true)] - public HJGL_CH_HardTestReport HJGL_CH_HardTestReport - { - get - { - return this._HJGL_CH_HardTestReport.Entity; - } - set - { - HJGL_CH_HardTestReport previousValue = this._HJGL_CH_HardTestReport.Entity; - if (((previousValue != value) - || (this._HJGL_CH_HardTestReport.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_HardTestReport.Entity = null; - previousValue.HJGL_CH_HardTestResult.Remove(this); - } - this._HJGL_CH_HardTestReport.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HardTestResult.Add(this); - this._HardTestReportId = value.HardTestReportId; - } - else - { - this._HardTestReportId = default(string); - } - this.SendPropertyChanged("HJGL_CH_HardTestReport"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestResult_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_CH_HardTestResult.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HardTestResult.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_HotProessResult")] - public partial class HJGL_CH_HotProessResult : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HotProessResultId; - - private string _HotProessTrustId; - - private string _JOT_ID; - - private string _HotProessCurveNo; - - private System.Nullable _IsOK; - - private System.Nullable _IsNeedHardTest; - - private string _ProessTypes; - - private System.Nullable _ResultDate; - - private string _Remark; - - private EntityRef _HJGL_CH_HotProessTrust; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHotProessResultIdChanging(string value); - partial void OnHotProessResultIdChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnHotProessCurveNoChanging(string value); - partial void OnHotProessCurveNoChanged(); - partial void OnIsOKChanging(System.Nullable value); - partial void OnIsOKChanged(); - partial void OnIsNeedHardTestChanging(System.Nullable value); - partial void OnIsNeedHardTestChanged(); - partial void OnProessTypesChanging(string value); - partial void OnProessTypesChanged(); - partial void OnResultDateChanging(System.Nullable value); - partial void OnResultDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_CH_HotProessResult() - { - this._HJGL_CH_HotProessTrust = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessResultId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HotProessResultId - { - get - { - return this._HotProessResultId; - } - set - { - if ((this._HotProessResultId != value)) - { - this.OnHotProessResultIdChanging(value); - this.SendPropertyChanging(); - this._HotProessResultId = value; - this.SendPropertyChanged("HotProessResultId"); - this.OnHotProessResultIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - if (this._HJGL_CH_HotProessTrust.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessCurveNo", DbType="NVarChar(50)")] - public string HotProessCurveNo - { - get - { - return this._HotProessCurveNo; - } - set - { - if ((this._HotProessCurveNo != value)) - { - this.OnHotProessCurveNoChanging(value); - this.SendPropertyChanging(); - this._HotProessCurveNo = value; - this.SendPropertyChanged("HotProessCurveNo"); - this.OnHotProessCurveNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Bit")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this.OnIsOKChanging(value); - this.SendPropertyChanging(); - this._IsOK = value; - this.SendPropertyChanged("IsOK"); - this.OnIsOKChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNeedHardTest", DbType="Bit")] - public System.Nullable IsNeedHardTest - { - get - { - return this._IsNeedHardTest; - } - set - { - if ((this._IsNeedHardTest != value)) - { - this.OnIsNeedHardTestChanging(value); - this.SendPropertyChanging(); - this._IsNeedHardTest = value; - this.SendPropertyChanged("IsNeedHardTest"); - this.OnIsNeedHardTestChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="NVarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this.OnProessTypesChanging(value); - this.SendPropertyChanging(); - this._ProessTypes = value; - this.SendPropertyChanged("ProessTypes"); - this.OnProessTypesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResultDate", DbType="DateTime")] - public System.Nullable ResultDate - { - get - { - return this._ResultDate; - } - set - { - if ((this._ResultDate != value)) - { - this.OnResultDateChanging(value); - this.SendPropertyChanging(); - this._ResultDate = value; - this.SendPropertyChanged("ResultDate"); - this.OnResultDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessResult_HJGL_CH_HotProessTrust", Storage="_HJGL_CH_HotProessTrust", ThisKey="HotProessTrustId", OtherKey="HotProessTrustId", IsForeignKey=true)] - public HJGL_CH_HotProessTrust HJGL_CH_HotProessTrust - { - get - { - return this._HJGL_CH_HotProessTrust.Entity; - } - set - { - HJGL_CH_HotProessTrust previousValue = this._HJGL_CH_HotProessTrust.Entity; - if (((previousValue != value) - || (this._HJGL_CH_HotProessTrust.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_HotProessTrust.Entity = null; - previousValue.HJGL_CH_HotProessResult.Remove(this); - } - this._HJGL_CH_HotProessTrust.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HotProessResult.Add(this); - this._HotProessTrustId = value.HotProessTrustId; - } - else - { - this._HotProessTrustId = default(string); - } - this.SendPropertyChanged("HJGL_CH_HotProessTrust"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessResult_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_CH_HotProessResult.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HotProessResult.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_HotProessTrust")] - public partial class HJGL_CH_HotProessTrust : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HotProessTrustId; - - private string _ProjectId; - - private string _HotProessTrustCode; - - private string _ProjectName; - - private string _ConstructionNo; - - private string _TrustUnitId; - - private string _TrstManId; - - private System.Nullable _CreateDate; - - private System.Nullable _IsPrint; - - private string _TrustType; - - private System.Nullable _IsPushed; - - private System.Nullable _PushedDate; - - private EntitySet _HJGL_CH_HotProessResult; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_User; - - private EntitySet _HJGL_CH_HotProessTrustItem; - - private EntitySet _HJGL_HotProess; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnHotProessTrustCodeChanging(string value); - partial void OnHotProessTrustCodeChanged(); - partial void OnProjectNameChanging(string value); - partial void OnProjectNameChanged(); - partial void OnConstructionNoChanging(string value); - partial void OnConstructionNoChanged(); - partial void OnTrustUnitIdChanging(string value); - partial void OnTrustUnitIdChanged(); - partial void OnTrstManIdChanging(string value); - partial void OnTrstManIdChanged(); - partial void OnCreateDateChanging(System.Nullable value); - partial void OnCreateDateChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnTrustTypeChanging(string value); - partial void OnTrustTypeChanged(); - partial void OnIsPushedChanging(System.Nullable value); - partial void OnIsPushedChanged(); - partial void OnPushedDateChanging(System.Nullable value); - partial void OnPushedDateChanged(); - #endregion - - public HJGL_CH_HotProessTrust() - { - this._HJGL_CH_HotProessResult = new EntitySet(new Action(this.attach_HJGL_CH_HotProessResult), new Action(this.detach_HJGL_CH_HotProessResult)); - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Sys_User = default(EntityRef); - this._HJGL_CH_HotProessTrustItem = new EntitySet(new Action(this.attach_HJGL_CH_HotProessTrustItem), new Action(this.detach_HJGL_CH_HotProessTrustItem)); - this._HJGL_HotProess = new EntitySet(new Action(this.attach_HJGL_HotProess), new Action(this.detach_HJGL_HotProess)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustCode", DbType="NVarChar(50)")] - public string HotProessTrustCode - { - get - { - return this._HotProessTrustCode; - } - set - { - if ((this._HotProessTrustCode != value)) - { - this.OnHotProessTrustCodeChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustCode = value; - this.SendPropertyChanged("HotProessTrustCode"); - this.OnHotProessTrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this.OnProjectNameChanging(value); - this.SendPropertyChanging(); - this._ProjectName = value; - this.SendPropertyChanged("ProjectName"); - this.OnProjectNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionNo", DbType="NVarChar(50)")] - public string ConstructionNo - { - get - { - return this._ConstructionNo; - } - set - { - if ((this._ConstructionNo != value)) - { - this.OnConstructionNoChanging(value); - this.SendPropertyChanging(); - this._ConstructionNo = value; - this.SendPropertyChanged("ConstructionNo"); - this.OnConstructionNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustUnitId", DbType="NVarChar(50)")] - public string TrustUnitId - { - get - { - return this._TrustUnitId; - } - set - { - if ((this._TrustUnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnTrustUnitIdChanging(value); - this.SendPropertyChanging(); - this._TrustUnitId = value; - this.SendPropertyChanged("TrustUnitId"); - this.OnTrustUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrstManId", DbType="NVarChar(50)")] - public string TrstManId - { - get - { - return this._TrstManId; - } - set - { - if ((this._TrstManId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnTrstManIdChanging(value); - this.SendPropertyChanging(); - this._TrstManId = value; - this.SendPropertyChanged("TrstManId"); - this.OnTrstManIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")] - public System.Nullable CreateDate - { - get - { - return this._CreateDate; - } - set - { - if ((this._CreateDate != value)) - { - this.OnCreateDateChanging(value); - this.SendPropertyChanging(); - this._CreateDate = value; - this.SendPropertyChanged("CreateDate"); - this.OnCreateDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Char(1)")] - public string TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this.OnTrustTypeChanging(value); - this.SendPropertyChanging(); - this._TrustType = value; - this.SendPropertyChanged("TrustType"); - this.OnTrustTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPushed", DbType="Bit")] - public System.Nullable IsPushed - { - get - { - return this._IsPushed; - } - set - { - if ((this._IsPushed != value)) - { - this.OnIsPushedChanging(value); - this.SendPropertyChanging(); - this._IsPushed = value; - this.SendPropertyChanged("IsPushed"); - this.OnIsPushedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PushedDate", DbType="DateTime")] - public System.Nullable PushedDate - { - get - { - return this._PushedDate; - } - set - { - if ((this._PushedDate != value)) - { - this.OnPushedDateChanging(value); - this.SendPropertyChanging(); - this._PushedDate = value; - this.SendPropertyChanged("PushedDate"); - this.OnPushedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessResult_HJGL_CH_HotProessTrust", Storage="_HJGL_CH_HotProessResult", ThisKey="HotProessTrustId", OtherKey="HotProessTrustId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HotProessResult - { - get - { - return this._HJGL_CH_HotProessResult; - } - set - { - this._HJGL_CH_HotProessResult.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrust_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_CH_HotProessTrust.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HotProessTrust.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrust_Base_Unit", Storage="_Base_Unit", ThisKey="TrustUnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_CH_HotProessTrust.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HotProessTrust.Add(this); - this._TrustUnitId = value.UnitId; - } - else - { - this._TrustUnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrust_Sys_User", Storage="_Sys_User", ThisKey="TrstManId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_CH_HotProessTrust.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HotProessTrust.Add(this); - this._TrstManId = value.UserId; - } - else - { - this._TrstManId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrustItem_HJGL_CH_HotProessTrust", Storage="_HJGL_CH_HotProessTrustItem", ThisKey="HotProessTrustId", OtherKey="HotProessTrustId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HotProessTrustItem - { - get - { - return this._HJGL_CH_HotProessTrustItem; - } - set - { - this._HJGL_CH_HotProessTrustItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_HJGL_CH_HotProessTrust", Storage="_HJGL_HotProess", ThisKey="HotProessTrustId", OtherKey="HotProessTrustId", DeleteRule="NO ACTION")] - public EntitySet HJGL_HotProess - { - get - { - return this._HJGL_HotProess; - } - set - { - this._HJGL_HotProess.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_CH_HotProessResult(HJGL_CH_HotProessResult entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HotProessTrust = this; - } - - private void detach_HJGL_CH_HotProessResult(HJGL_CH_HotProessResult entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HotProessTrust = null; - } - - private void attach_HJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HotProessTrust = this; - } - - private void detach_HJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HotProessTrust = null; - } - - private void attach_HJGL_HotProess(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HotProessTrust = this; - } - - private void detach_HJGL_HotProess(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_HotProessTrust = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_HotProessTrustItem")] - public partial class HJGL_CH_HotProessTrustItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HotProessTrustItemId; - - private string _HotProessTrustId; - - private string _JOT_ID; - - private string _ProessTypes; - - private System.Nullable _TrustDate; - - private string _Remark; - - private System.Nullable _IsComplete; - - private string _TrustItemID; - - private string _HardTestResultId; - - private string _HardRepairMark; - - private EntityRef _HJGL_CH_HotProessTrust; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHotProessTrustItemIdChanging(string value); - partial void OnHotProessTrustItemIdChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnProessTypesChanging(string value); - partial void OnProessTypesChanged(); - partial void OnTrustDateChanging(System.Nullable value); - partial void OnTrustDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnIsCompleteChanging(System.Nullable value); - partial void OnIsCompleteChanged(); - partial void OnTrustItemIDChanging(string value); - partial void OnTrustItemIDChanged(); - partial void OnHardTestResultIdChanging(string value); - partial void OnHardTestResultIdChanged(); - partial void OnHardRepairMarkChanging(string value); - partial void OnHardRepairMarkChanged(); - #endregion - - public HJGL_CH_HotProessTrustItem() - { - this._HJGL_CH_HotProessTrust = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this.OnHotProessTrustItemIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustItemId = value; - this.SendPropertyChanged("HotProessTrustItemId"); - this.OnHotProessTrustItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - if (this._HJGL_CH_HotProessTrust.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="NVarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this.OnProessTypesChanging(value); - this.SendPropertyChanging(); - this._ProessTypes = value; - this.SendPropertyChanged("ProessTypes"); - this.OnProessTypesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustDate", DbType="DateTime")] - public System.Nullable TrustDate - { - get - { - return this._TrustDate; - } - set - { - if ((this._TrustDate != value)) - { - this.OnTrustDateChanging(value); - this.SendPropertyChanging(); - this._TrustDate = value; - this.SendPropertyChanged("TrustDate"); - this.OnTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsComplete", DbType="Bit")] - public System.Nullable IsComplete - { - get - { - return this._IsComplete; - } - set - { - if ((this._IsComplete != value)) - { - this.OnIsCompleteChanging(value); - this.SendPropertyChanging(); - this._IsComplete = value; - this.SendPropertyChanged("IsComplete"); - this.OnIsCompleteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustItemID", DbType="VarChar(50)")] - public string TrustItemID - { - get - { - return this._TrustItemID; - } - set - { - if ((this._TrustItemID != value)) - { - this.OnTrustItemIDChanging(value); - this.SendPropertyChanging(); - this._TrustItemID = value; - this.SendPropertyChanged("TrustItemID"); - this.OnTrustItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestResultId", DbType="NVarChar(50)")] - public string HardTestResultId - { - get - { - return this._HardTestResultId; - } - set - { - if ((this._HardTestResultId != value)) - { - this.OnHardTestResultIdChanging(value); - this.SendPropertyChanging(); - this._HardTestResultId = value; - this.SendPropertyChanged("HardTestResultId"); - this.OnHardTestResultIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardRepairMark", DbType="NVarChar(10)")] - public string HardRepairMark - { - get - { - return this._HardRepairMark; - } - set - { - if ((this._HardRepairMark != value)) - { - this.OnHardRepairMarkChanging(value); - this.SendPropertyChanging(); - this._HardRepairMark = value; - this.SendPropertyChanged("HardRepairMark"); - this.OnHardRepairMarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrustItem_HJGL_CH_HotProessTrust", Storage="_HJGL_CH_HotProessTrust", ThisKey="HotProessTrustId", OtherKey="HotProessTrustId", IsForeignKey=true)] - public HJGL_CH_HotProessTrust HJGL_CH_HotProessTrust - { - get - { - return this._HJGL_CH_HotProessTrust.Entity; - } - set - { - HJGL_CH_HotProessTrust previousValue = this._HJGL_CH_HotProessTrust.Entity; - if (((previousValue != value) - || (this._HJGL_CH_HotProessTrust.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_HotProessTrust.Entity = null; - previousValue.HJGL_CH_HotProessTrustItem.Remove(this); - } - this._HJGL_CH_HotProessTrust.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HotProessTrustItem.Add(this); - this._HotProessTrustId = value.HotProessTrustId; - } - else - { - this._HotProessTrustId = default(string); - } - this.SendPropertyChanged("HJGL_CH_HotProessTrust"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrustItem_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_CH_HotProessTrustItem.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_HotProessTrustItem.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_Repair")] - public partial class HJGL_CH_Repair : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _CH_RepairID; - - private string _ProjectId; - - private string _TrustItemID; - - private string _JOT_ID; - - private string _NDT_ID; - - private System.Nullable _RepairTrustDate; - - private string _BSU_ID; - - private System.Nullable _CH_RepairDate; - - private string _CH_RepairNo; - - private string _CH_RepairType; - - private string _CH_Tabler; - - private System.Nullable _CH_TableDate; - - private string _CH_AuditMan; - - private System.Nullable _CH_AuditDate; - - private string _CH_Printer; - - private System.Nullable _CH_PrintDate; - - private string _CH_Remark; - - private string _BatchId; - - private string _ISO_ID; - - private string _CH_TrustUnit; - - private string _InstallationId; - - private string _CH_TrustType; - - private string _CH_CheckUnit; - - private string _CH_AcceptGrade; - - private string _CH_NDTCriteria; - - private string _CH_ItemName; - - private string _CH_SlopeType; - - private string _CH_WeldMethod; - - private string _Record_Printer; - - private System.Nullable _Record_PrintDate; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _HJGL_BS_NDTType; - - private EntityRef _HJGL_PW_JointInfo; - - private EntitySet _HJGL_CH_RepairItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnCH_RepairIDChanging(string value); - partial void OnCH_RepairIDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnTrustItemIDChanging(string value); - partial void OnTrustItemIDChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnNDT_IDChanging(string value); - partial void OnNDT_IDChanged(); - partial void OnRepairTrustDateChanging(System.Nullable value); - partial void OnRepairTrustDateChanged(); - partial void OnBSU_IDChanging(string value); - partial void OnBSU_IDChanged(); - partial void OnCH_RepairDateChanging(System.Nullable value); - partial void OnCH_RepairDateChanged(); - partial void OnCH_RepairNoChanging(string value); - partial void OnCH_RepairNoChanged(); - partial void OnCH_RepairTypeChanging(string value); - partial void OnCH_RepairTypeChanged(); - partial void OnCH_TablerChanging(string value); - partial void OnCH_TablerChanged(); - partial void OnCH_TableDateChanging(System.Nullable value); - partial void OnCH_TableDateChanged(); - partial void OnCH_AuditManChanging(string value); - partial void OnCH_AuditManChanged(); - partial void OnCH_AuditDateChanging(System.Nullable value); - partial void OnCH_AuditDateChanged(); - partial void OnCH_PrinterChanging(string value); - partial void OnCH_PrinterChanged(); - partial void OnCH_PrintDateChanging(System.Nullable value); - partial void OnCH_PrintDateChanged(); - partial void OnCH_RemarkChanging(string value); - partial void OnCH_RemarkChanged(); - partial void OnBatchIdChanging(string value); - partial void OnBatchIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnCH_TrustUnitChanging(string value); - partial void OnCH_TrustUnitChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnCH_TrustTypeChanging(string value); - partial void OnCH_TrustTypeChanged(); - partial void OnCH_CheckUnitChanging(string value); - partial void OnCH_CheckUnitChanged(); - partial void OnCH_AcceptGradeChanging(string value); - partial void OnCH_AcceptGradeChanged(); - partial void OnCH_NDTCriteriaChanging(string value); - partial void OnCH_NDTCriteriaChanged(); - partial void OnCH_ItemNameChanging(string value); - partial void OnCH_ItemNameChanged(); - partial void OnCH_SlopeTypeChanging(string value); - partial void OnCH_SlopeTypeChanged(); - partial void OnCH_WeldMethodChanging(string value); - partial void OnCH_WeldMethodChanged(); - partial void OnRecord_PrinterChanging(string value); - partial void OnRecord_PrinterChanged(); - partial void OnRecord_PrintDateChanging(System.Nullable value); - partial void OnRecord_PrintDateChanged(); - #endregion - - public HJGL_CH_Repair() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._HJGL_BS_NDTType = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - this._HJGL_CH_RepairItem = new EntitySet(new Action(this.attach_HJGL_CH_RepairItem), new Action(this.detach_HJGL_CH_RepairItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string CH_RepairID - { - get - { - return this._CH_RepairID; - } - set - { - if ((this._CH_RepairID != value)) - { - this.OnCH_RepairIDChanging(value); - this.SendPropertyChanging(); - this._CH_RepairID = value; - this.SendPropertyChanged("CH_RepairID"); - this.OnCH_RepairIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustItemID", DbType="VarChar(50)")] - public string TrustItemID - { - get - { - return this._TrustItemID; - } - set - { - if ((this._TrustItemID != value)) - { - this.OnTrustItemIDChanging(value); - this.SendPropertyChanging(); - this._TrustItemID = value; - this.SendPropertyChanged("TrustItemID"); - this.OnTrustItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_ID", DbType="VarChar(50)")] - public string NDT_ID - { - get - { - return this._NDT_ID; - } - set - { - if ((this._NDT_ID != value)) - { - if (this._HJGL_BS_NDTType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnNDT_IDChanging(value); - this.SendPropertyChanging(); - this._NDT_ID = value; - this.SendPropertyChanged("NDT_ID"); - this.OnNDT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairTrustDate", DbType="DateTime")] - public System.Nullable RepairTrustDate - { - get - { - return this._RepairTrustDate; - } - set - { - if ((this._RepairTrustDate != value)) - { - this.OnRepairTrustDateChanging(value); - this.SendPropertyChanging(); - this._RepairTrustDate = value; - this.SendPropertyChanged("RepairTrustDate"); - this.OnRepairTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BSU_ID", DbType="NVarChar(50)")] - public string BSU_ID - { - get - { - return this._BSU_ID; - } - set - { - if ((this._BSU_ID != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBSU_IDChanging(value); - this.SendPropertyChanging(); - this._BSU_ID = value; - this.SendPropertyChanged("BSU_ID"); - this.OnBSU_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairDate", DbType="DateTime")] - public System.Nullable CH_RepairDate - { - get - { - return this._CH_RepairDate; - } - set - { - if ((this._CH_RepairDate != value)) - { - this.OnCH_RepairDateChanging(value); - this.SendPropertyChanging(); - this._CH_RepairDate = value; - this.SendPropertyChanged("CH_RepairDate"); - this.OnCH_RepairDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairNo", DbType="VarChar(50)")] - public string CH_RepairNo - { - get - { - return this._CH_RepairNo; - } - set - { - if ((this._CH_RepairNo != value)) - { - this.OnCH_RepairNoChanging(value); - this.SendPropertyChanging(); - this._CH_RepairNo = value; - this.SendPropertyChanged("CH_RepairNo"); - this.OnCH_RepairNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairType", DbType="VarChar(50)")] - public string CH_RepairType - { - get - { - return this._CH_RepairType; - } - set - { - if ((this._CH_RepairType != value)) - { - this.OnCH_RepairTypeChanging(value); - this.SendPropertyChanging(); - this._CH_RepairType = value; - this.SendPropertyChanged("CH_RepairType"); - this.OnCH_RepairTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Tabler", DbType="VarChar(50)")] - public string CH_Tabler - { - get - { - return this._CH_Tabler; - } - set - { - if ((this._CH_Tabler != value)) - { - this.OnCH_TablerChanging(value); - this.SendPropertyChanging(); - this._CH_Tabler = value; - this.SendPropertyChanged("CH_Tabler"); - this.OnCH_TablerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TableDate", DbType="DateTime")] - public System.Nullable CH_TableDate - { - get - { - return this._CH_TableDate; - } - set - { - if ((this._CH_TableDate != value)) - { - this.OnCH_TableDateChanging(value); - this.SendPropertyChanging(); - this._CH_TableDate = value; - this.SendPropertyChanged("CH_TableDate"); - this.OnCH_TableDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_AuditMan", DbType="VarChar(50)")] - public string CH_AuditMan - { - get - { - return this._CH_AuditMan; - } - set - { - if ((this._CH_AuditMan != value)) - { - this.OnCH_AuditManChanging(value); - this.SendPropertyChanging(); - this._CH_AuditMan = value; - this.SendPropertyChanged("CH_AuditMan"); - this.OnCH_AuditManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_AuditDate", DbType="DateTime")] - public System.Nullable CH_AuditDate - { - get - { - return this._CH_AuditDate; - } - set - { - if ((this._CH_AuditDate != value)) - { - this.OnCH_AuditDateChanging(value); - this.SendPropertyChanging(); - this._CH_AuditDate = value; - this.SendPropertyChanged("CH_AuditDate"); - this.OnCH_AuditDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Printer", DbType="VarChar(50)")] - public string CH_Printer - { - get - { - return this._CH_Printer; - } - set - { - if ((this._CH_Printer != value)) - { - this.OnCH_PrinterChanging(value); - this.SendPropertyChanging(); - this._CH_Printer = value; - this.SendPropertyChanged("CH_Printer"); - this.OnCH_PrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_PrintDate", DbType="DateTime")] - public System.Nullable CH_PrintDate - { - get - { - return this._CH_PrintDate; - } - set - { - if ((this._CH_PrintDate != value)) - { - this.OnCH_PrintDateChanging(value); - this.SendPropertyChanging(); - this._CH_PrintDate = value; - this.SendPropertyChanged("CH_PrintDate"); - this.OnCH_PrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Remark", DbType="VarChar(50)")] - public string CH_Remark - { - get - { - return this._CH_Remark; - } - set - { - if ((this._CH_Remark != value)) - { - this.OnCH_RemarkChanging(value); - this.SendPropertyChanging(); - this._CH_Remark = value; - this.SendPropertyChanged("CH_Remark"); - this.OnCH_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this.OnBatchIdChanging(value); - this.SendPropertyChanging(); - this._BatchId = value; - this.SendPropertyChanged("BatchId"); - this.OnBatchIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustUnit", DbType="NVarChar(50)")] - public string CH_TrustUnit - { - get - { - return this._CH_TrustUnit; - } - set - { - if ((this._CH_TrustUnit != value)) - { - this.OnCH_TrustUnitChanging(value); - this.SendPropertyChanging(); - this._CH_TrustUnit = value; - this.SendPropertyChanged("CH_TrustUnit"); - this.OnCH_TrustUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustType", DbType="Char(1)")] - public string CH_TrustType - { - get - { - return this._CH_TrustType; - } - set - { - if ((this._CH_TrustType != value)) - { - this.OnCH_TrustTypeChanging(value); - this.SendPropertyChanging(); - this._CH_TrustType = value; - this.SendPropertyChanged("CH_TrustType"); - this.OnCH_TrustTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_CheckUnit", DbType="NVarChar(50)")] - public string CH_CheckUnit - { - get - { - return this._CH_CheckUnit; - } - set - { - if ((this._CH_CheckUnit != value)) - { - this.OnCH_CheckUnitChanging(value); - this.SendPropertyChanging(); - this._CH_CheckUnit = value; - this.SendPropertyChanged("CH_CheckUnit"); - this.OnCH_CheckUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_AcceptGrade", DbType="VarChar(100)")] - public string CH_AcceptGrade - { - get - { - return this._CH_AcceptGrade; - } - set - { - if ((this._CH_AcceptGrade != value)) - { - this.OnCH_AcceptGradeChanging(value); - this.SendPropertyChanging(); - this._CH_AcceptGrade = value; - this.SendPropertyChanged("CH_AcceptGrade"); - this.OnCH_AcceptGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_NDTCriteria", DbType="VarChar(60)")] - public string CH_NDTCriteria - { - get - { - return this._CH_NDTCriteria; - } - set - { - if ((this._CH_NDTCriteria != value)) - { - this.OnCH_NDTCriteriaChanging(value); - this.SendPropertyChanging(); - this._CH_NDTCriteria = value; - this.SendPropertyChanged("CH_NDTCriteria"); - this.OnCH_NDTCriteriaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_ItemName", DbType="NVarChar(50)")] - public string CH_ItemName - { - get - { - return this._CH_ItemName; - } - set - { - if ((this._CH_ItemName != value)) - { - this.OnCH_ItemNameChanging(value); - this.SendPropertyChanging(); - this._CH_ItemName = value; - this.SendPropertyChanged("CH_ItemName"); - this.OnCH_ItemNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_SlopeType", DbType="VarChar(50)")] - public string CH_SlopeType - { - get - { - return this._CH_SlopeType; - } - set - { - if ((this._CH_SlopeType != value)) - { - this.OnCH_SlopeTypeChanging(value); - this.SendPropertyChanging(); - this._CH_SlopeType = value; - this.SendPropertyChanged("CH_SlopeType"); - this.OnCH_SlopeTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_WeldMethod", DbType="VarChar(50)")] - public string CH_WeldMethod - { - get - { - return this._CH_WeldMethod; - } - set - { - if ((this._CH_WeldMethod != value)) - { - this.OnCH_WeldMethodChanging(value); - this.SendPropertyChanging(); - this._CH_WeldMethod = value; - this.SendPropertyChanged("CH_WeldMethod"); - this.OnCH_WeldMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Record_Printer", DbType="NVarChar(50)")] - public string Record_Printer - { - get - { - return this._Record_Printer; - } - set - { - if ((this._Record_Printer != value)) - { - this.OnRecord_PrinterChanging(value); - this.SendPropertyChanging(); - this._Record_Printer = value; - this.SendPropertyChanged("Record_Printer"); - this.OnRecord_PrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Record_PrintDate", DbType="DateTime")] - public System.Nullable Record_PrintDate - { - get - { - return this._Record_PrintDate; - } - set - { - if ((this._Record_PrintDate != value)) - { - this.OnRecord_PrintDateChanging(value); - this.SendPropertyChanging(); - this._Record_PrintDate = value; - this.SendPropertyChanged("Record_PrintDate"); - this.OnRecord_PrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Repair_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_CH_Repair.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_CH_Repair.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Repair_Base_Unit", Storage="_Base_Unit", ThisKey="BSU_ID", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_CH_Repair.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_CH_Repair.Add(this); - this._BSU_ID = value.UnitId; - } - else - { - this._BSU_ID = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Repair_HJGL_BS_NDTType", Storage="_HJGL_BS_NDTType", ThisKey="NDT_ID", OtherKey="NDT_ID", IsForeignKey=true)] - public HJGL_BS_NDTType HJGL_BS_NDTType - { - get - { - return this._HJGL_BS_NDTType.Entity; - } - set - { - HJGL_BS_NDTType previousValue = this._HJGL_BS_NDTType.Entity; - if (((previousValue != value) - || (this._HJGL_BS_NDTType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_NDTType.Entity = null; - previousValue.HJGL_CH_Repair.Remove(this); - } - this._HJGL_BS_NDTType.Entity = value; - if ((value != null)) - { - value.HJGL_CH_Repair.Add(this); - this._NDT_ID = value.NDT_ID; - } - else - { - this._NDT_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_NDTType"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Repair_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_CH_Repair.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_Repair.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItem_HJGL_CH_Repair", Storage="_HJGL_CH_RepairItem", ThisKey="CH_RepairID", OtherKey="CH_RepairID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItem - { - get - { - return this._HJGL_CH_RepairItem; - } - set - { - this._HJGL_CH_RepairItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_CH_RepairItem(HJGL_CH_RepairItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_Repair = this; - } - - private void detach_HJGL_CH_RepairItem(HJGL_CH_RepairItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_Repair = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_RepairItem")] - public partial class HJGL_CH_RepairItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _CH_RepairItemId; - - private string _CH_RepairID; - - private string _JOT_ID; - - private string _FilmNum; - - private string _States; - - private string _FeedbackMan; - - private System.Nullable _FeedbackDate; - - private string _DefectNature; - - private string _Remark; - - private string _ExtendedNum; - - private string _CheckPlace; - - private string _CheckPerson; - - private string _RepairItemRecordId; - - private string _ShootMan; - - private string _EquipmentId; - - private System.Nullable _ReportNoticeDate; - - private System.Nullable _ShootDate; - - private EntitySet _HJGL_BO_QualityRatingRepair; - - private EntityRef _HJGL_CH_Repair; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnCH_RepairItemIdChanging(string value); - partial void OnCH_RepairItemIdChanged(); - partial void OnCH_RepairIDChanging(string value); - partial void OnCH_RepairIDChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnFilmNumChanging(string value); - partial void OnFilmNumChanged(); - partial void OnStatesChanging(string value); - partial void OnStatesChanged(); - partial void OnFeedbackManChanging(string value); - partial void OnFeedbackManChanged(); - partial void OnFeedbackDateChanging(System.Nullable value); - partial void OnFeedbackDateChanged(); - partial void OnDefectNatureChanging(string value); - partial void OnDefectNatureChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnExtendedNumChanging(string value); - partial void OnExtendedNumChanged(); - partial void OnCheckPlaceChanging(string value); - partial void OnCheckPlaceChanged(); - partial void OnCheckPersonChanging(string value); - partial void OnCheckPersonChanged(); - partial void OnRepairItemRecordIdChanging(string value); - partial void OnRepairItemRecordIdChanged(); - partial void OnShootManChanging(string value); - partial void OnShootManChanged(); - partial void OnEquipmentIdChanging(string value); - partial void OnEquipmentIdChanged(); - partial void OnReportNoticeDateChanging(System.Nullable value); - partial void OnReportNoticeDateChanged(); - partial void OnShootDateChanging(System.Nullable value); - partial void OnShootDateChanged(); - #endregion - - public HJGL_CH_RepairItem() - { - this._HJGL_BO_QualityRatingRepair = new EntitySet(new Action(this.attach_HJGL_BO_QualityRatingRepair), new Action(this.detach_HJGL_BO_QualityRatingRepair)); - this._HJGL_CH_Repair = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string CH_RepairItemId - { - get - { - return this._CH_RepairItemId; - } - set - { - if ((this._CH_RepairItemId != value)) - { - this.OnCH_RepairItemIdChanging(value); - this.SendPropertyChanging(); - this._CH_RepairItemId = value; - this.SendPropertyChanged("CH_RepairItemId"); - this.OnCH_RepairItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairID", DbType="NVarChar(50)")] - public string CH_RepairID - { - get - { - return this._CH_RepairID; - } - set - { - if ((this._CH_RepairID != value)) - { - if (this._HJGL_CH_Repair.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCH_RepairIDChanging(value); - this.SendPropertyChanging(); - this._CH_RepairID = value; - this.SendPropertyChanged("CH_RepairID"); - this.OnCH_RepairIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmNum", DbType="NVarChar(50)")] - public string FilmNum - { - get - { - return this._FilmNum; - } - set - { - if ((this._FilmNum != value)) - { - this.OnFilmNumChanging(value); - this.SendPropertyChanging(); - this._FilmNum = value; - this.SendPropertyChanged("FilmNum"); - this.OnFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="NChar(1)")] - public string States - { - get - { - return this._States; - } - set - { - if ((this._States != value)) - { - this.OnStatesChanging(value); - this.SendPropertyChanging(); - this._States = value; - this.SendPropertyChanged("States"); - this.OnStatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackMan", DbType="NVarChar(50)")] - public string FeedbackMan - { - get - { - return this._FeedbackMan; - } - set - { - if ((this._FeedbackMan != value)) - { - this.OnFeedbackManChanging(value); - this.SendPropertyChanging(); - this._FeedbackMan = value; - this.SendPropertyChanged("FeedbackMan"); - this.OnFeedbackManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackDate", DbType="DateTime")] - public System.Nullable FeedbackDate - { - get - { - return this._FeedbackDate; - } - set - { - if ((this._FeedbackDate != value)) - { - this.OnFeedbackDateChanging(value); - this.SendPropertyChanging(); - this._FeedbackDate = value; - this.SendPropertyChanged("FeedbackDate"); - this.OnFeedbackDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(50)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this.OnDefectNatureChanging(value); - this.SendPropertyChanging(); - this._DefectNature = value; - this.SendPropertyChanged("DefectNature"); - this.OnDefectNatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtendedNum", DbType="Char(10)")] - public string ExtendedNum - { - get - { - return this._ExtendedNum; - } - set - { - if ((this._ExtendedNum != value)) - { - this.OnExtendedNumChanging(value); - this.SendPropertyChanging(); - this._ExtendedNum = value; - this.SendPropertyChanged("ExtendedNum"); - this.OnExtendedNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckPlace", DbType="NVarChar(50)")] - public string CheckPlace - { - get - { - return this._CheckPlace; - } - set - { - if ((this._CheckPlace != value)) - { - this.OnCheckPlaceChanging(value); - this.SendPropertyChanging(); - this._CheckPlace = value; - this.SendPropertyChanged("CheckPlace"); - this.OnCheckPlaceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckPerson", DbType="NVarChar(50)")] - public string CheckPerson - { - get - { - return this._CheckPerson; - } - set - { - if ((this._CheckPerson != value)) - { - this.OnCheckPersonChanging(value); - this.SendPropertyChanging(); - this._CheckPerson = value; - this.SendPropertyChanged("CheckPerson"); - this.OnCheckPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairItemRecordId", DbType="NVarChar(50)")] - public string RepairItemRecordId - { - get - { - return this._RepairItemRecordId; - } - set - { - if ((this._RepairItemRecordId != value)) - { - this.OnRepairItemRecordIdChanging(value); - this.SendPropertyChanging(); - this._RepairItemRecordId = value; - this.SendPropertyChanged("RepairItemRecordId"); - this.OnRepairItemRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShootMan", DbType="NVarChar(50)")] - public string ShootMan - { - get - { - return this._ShootMan; - } - set - { - if ((this._ShootMan != value)) - { - this.OnShootManChanging(value); - this.SendPropertyChanging(); - this._ShootMan = value; - this.SendPropertyChanged("ShootMan"); - this.OnShootManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="NVarChar(50)")] - public string EquipmentId - { - get - { - return this._EquipmentId; - } - set - { - if ((this._EquipmentId != value)) - { - this.OnEquipmentIdChanging(value); - this.SendPropertyChanging(); - this._EquipmentId = value; - this.SendPropertyChanged("EquipmentId"); - this.OnEquipmentIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportNoticeDate", DbType="DateTime")] - public System.Nullable ReportNoticeDate - { - get - { - return this._ReportNoticeDate; - } - set - { - if ((this._ReportNoticeDate != value)) - { - this.OnReportNoticeDateChanging(value); - this.SendPropertyChanging(); - this._ReportNoticeDate = value; - this.SendPropertyChanged("ReportNoticeDate"); - this.OnReportNoticeDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShootDate", DbType="DateTime")] - public System.Nullable ShootDate - { - get - { - return this._ShootDate; - } - set - { - if ((this._ShootDate != value)) - { - this.OnShootDateChanging(value); - this.SendPropertyChanging(); - this._ShootDate = value; - this.SendPropertyChanged("ShootDate"); - this.OnShootDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRatingRepair_HJGL_CH_RepairItem", Storage="_HJGL_BO_QualityRatingRepair", ThisKey="CH_RepairItemId", OtherKey="CH_RepairItemId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_QualityRatingRepair - { - get - { - return this._HJGL_BO_QualityRatingRepair; - } - set - { - this._HJGL_BO_QualityRatingRepair.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItem_HJGL_CH_Repair", Storage="_HJGL_CH_Repair", ThisKey="CH_RepairID", OtherKey="CH_RepairID", IsForeignKey=true)] - public HJGL_CH_Repair HJGL_CH_Repair - { - get - { - return this._HJGL_CH_Repair.Entity; - } - set - { - HJGL_CH_Repair previousValue = this._HJGL_CH_Repair.Entity; - if (((previousValue != value) - || (this._HJGL_CH_Repair.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_Repair.Entity = null; - previousValue.HJGL_CH_RepairItem.Remove(this); - } - this._HJGL_CH_Repair.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItem.Add(this); - this._CH_RepairID = value.CH_RepairID; - } - else - { - this._CH_RepairID = default(string); - } - this.SendPropertyChanged("HJGL_CH_Repair"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItem_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_CH_RepairItem.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItem.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_RepairItem = this; - } - - private void detach_HJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_RepairItem = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_RepairItemRecord")] - public partial class HJGL_CH_RepairItemRecord : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RepairItemRecordId; - - private string _ProjectId; - - private string _ISO_ID; - - private string _JOT_ID; - - private string _FilmNum; - - private string _TrustItemID; - - private string _BatchId; - - private string _RepairMark; - - private string _DefectNature; - - private System.Nullable _IsWeld; - - private string _JOT_CellWelder; - - private string _JOT_FloorWelder; - - private System.Nullable _WeldDate; - - private string _ConstructionPerson; - - private System.Nullable _ConfirmDate; - - private System.Nullable _FeedbackDate; - - private string _NDT_ID; - - private string _SignMan; - - private System.Nullable _SignDate; - - private string _ReceiveMan; - - private System.Nullable _ReceiveDate; - - private System.Nullable _IsPrint; - - private string _PrintMan; - - private System.Nullable _PrintDate; - - private string _TrustRemark; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_BO_Batch; - - private EntityRef _HJGL_BS_NDTType; - - private EntityRef _HJGL_BS_Welder; - - private EntityRef _JOT_FloorWelderHJGL_BS_Welder; - - private EntityRef _HJGL_PW_IsoInfo; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRepairItemRecordIdChanging(string value); - partial void OnRepairItemRecordIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnFilmNumChanging(string value); - partial void OnFilmNumChanged(); - partial void OnTrustItemIDChanging(string value); - partial void OnTrustItemIDChanged(); - partial void OnBatchIdChanging(string value); - partial void OnBatchIdChanged(); - partial void OnRepairMarkChanging(string value); - partial void OnRepairMarkChanged(); - partial void OnDefectNatureChanging(string value); - partial void OnDefectNatureChanged(); - partial void OnIsWeldChanging(System.Nullable value); - partial void OnIsWeldChanged(); - partial void OnJOT_CellWelderChanging(string value); - partial void OnJOT_CellWelderChanged(); - partial void OnJOT_FloorWelderChanging(string value); - partial void OnJOT_FloorWelderChanged(); - partial void OnWeldDateChanging(System.Nullable value); - partial void OnWeldDateChanged(); - partial void OnConstructionPersonChanging(string value); - partial void OnConstructionPersonChanged(); - partial void OnConfirmDateChanging(System.Nullable value); - partial void OnConfirmDateChanged(); - partial void OnFeedbackDateChanging(System.Nullable value); - partial void OnFeedbackDateChanged(); - partial void OnNDT_IDChanging(string value); - partial void OnNDT_IDChanged(); - partial void OnSignManChanging(string value); - partial void OnSignManChanged(); - partial void OnSignDateChanging(System.Nullable value); - partial void OnSignDateChanged(); - partial void OnReceiveManChanging(string value); - partial void OnReceiveManChanged(); - partial void OnReceiveDateChanging(System.Nullable value); - partial void OnReceiveDateChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnPrintManChanging(string value); - partial void OnPrintManChanged(); - partial void OnPrintDateChanging(System.Nullable value); - partial void OnPrintDateChanged(); - partial void OnTrustRemarkChanging(string value); - partial void OnTrustRemarkChanged(); - #endregion - - public HJGL_CH_RepairItemRecord() - { - this._Base_Project = default(EntityRef); - this._HJGL_BO_Batch = default(EntityRef); - this._HJGL_BS_NDTType = default(EntityRef); - this._HJGL_BS_Welder = default(EntityRef); - this._JOT_FloorWelderHJGL_BS_Welder = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairItemRecordId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RepairItemRecordId - { - get - { - return this._RepairItemRecordId; - } - set - { - if ((this._RepairItemRecordId != value)) - { - this.OnRepairItemRecordIdChanging(value); - this.SendPropertyChanging(); - this._RepairItemRecordId = value; - this.SendPropertyChanged("RepairItemRecordId"); - this.OnRepairItemRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmNum", DbType="NVarChar(50)")] - public string FilmNum - { - get - { - return this._FilmNum; - } - set - { - if ((this._FilmNum != value)) - { - this.OnFilmNumChanging(value); - this.SendPropertyChanging(); - this._FilmNum = value; - this.SendPropertyChanged("FilmNum"); - this.OnFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustItemID", DbType="VarChar(50)")] - public string TrustItemID - { - get - { - return this._TrustItemID; - } - set - { - if ((this._TrustItemID != value)) - { - this.OnTrustItemIDChanging(value); - this.SendPropertyChanging(); - this._TrustItemID = value; - this.SendPropertyChanged("TrustItemID"); - this.OnTrustItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - if (this._HJGL_BO_Batch.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBatchIdChanging(value); - this.SendPropertyChanging(); - this._BatchId = value; - this.SendPropertyChanged("BatchId"); - this.OnBatchIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairMark", DbType="NVarChar(50)")] - public string RepairMark - { - get - { - return this._RepairMark; - } - set - { - if ((this._RepairMark != value)) - { - this.OnRepairMarkChanging(value); - this.SendPropertyChanging(); - this._RepairMark = value; - this.SendPropertyChanged("RepairMark"); - this.OnRepairMarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(50)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this.OnDefectNatureChanging(value); - this.SendPropertyChanging(); - this._DefectNature = value; - this.SendPropertyChanged("DefectNature"); - this.OnDefectNatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsWeld", DbType="Bit")] - public System.Nullable IsWeld - { - get - { - return this._IsWeld; - } - set - { - if ((this._IsWeld != value)) - { - this.OnIsWeldChanging(value); - this.SendPropertyChanging(); - this._IsWeld = value; - this.SendPropertyChanged("IsWeld"); - this.OnIsWeldChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_CellWelder", DbType="NVarChar(50)")] - public string JOT_CellWelder - { - get - { - return this._JOT_CellWelder; - } - set - { - if ((this._JOT_CellWelder != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_CellWelderChanging(value); - this.SendPropertyChanging(); - this._JOT_CellWelder = value; - this.SendPropertyChanged("JOT_CellWelder"); - this.OnJOT_CellWelderChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_FloorWelder", DbType="NVarChar(50)")] - public string JOT_FloorWelder - { - get - { - return this._JOT_FloorWelder; - } - set - { - if ((this._JOT_FloorWelder != value)) - { - if (this._JOT_FloorWelderHJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_FloorWelderChanging(value); - this.SendPropertyChanging(); - this._JOT_FloorWelder = value; - this.SendPropertyChanged("JOT_FloorWelder"); - this.OnJOT_FloorWelderChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldDate", DbType="DateTime")] - public System.Nullable WeldDate - { - get - { - return this._WeldDate; - } - set - { - if ((this._WeldDate != value)) - { - this.OnWeldDateChanging(value); - this.SendPropertyChanging(); - this._WeldDate = value; - this.SendPropertyChanged("WeldDate"); - this.OnWeldDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionPerson", DbType="NVarChar(50)")] - public string ConstructionPerson - { - get - { - return this._ConstructionPerson; - } - set - { - if ((this._ConstructionPerson != value)) - { - this.OnConstructionPersonChanging(value); - this.SendPropertyChanging(); - this._ConstructionPerson = value; - this.SendPropertyChanged("ConstructionPerson"); - this.OnConstructionPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConfirmDate", DbType="DateTime")] - public System.Nullable ConfirmDate - { - get - { - return this._ConfirmDate; - } - set - { - if ((this._ConfirmDate != value)) - { - this.OnConfirmDateChanging(value); - this.SendPropertyChanging(); - this._ConfirmDate = value; - this.SendPropertyChanged("ConfirmDate"); - this.OnConfirmDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackDate", DbType="DateTime")] - public System.Nullable FeedbackDate - { - get - { - return this._FeedbackDate; - } - set - { - if ((this._FeedbackDate != value)) - { - this.OnFeedbackDateChanging(value); - this.SendPropertyChanging(); - this._FeedbackDate = value; - this.SendPropertyChanged("FeedbackDate"); - this.OnFeedbackDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_ID", DbType="VarChar(50)")] - public string NDT_ID - { - get - { - return this._NDT_ID; - } - set - { - if ((this._NDT_ID != value)) - { - if (this._HJGL_BS_NDTType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnNDT_IDChanging(value); - this.SendPropertyChanging(); - this._NDT_ID = value; - this.SendPropertyChanged("NDT_ID"); - this.OnNDT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignMan", DbType="NVarChar(50)")] - public string SignMan - { - get - { - return this._SignMan; - } - set - { - if ((this._SignMan != value)) - { - this.OnSignManChanging(value); - this.SendPropertyChanging(); - this._SignMan = value; - this.SendPropertyChanged("SignMan"); - this.OnSignManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignDate", DbType="DateTime")] - public System.Nullable SignDate - { - get - { - return this._SignDate; - } - set - { - if ((this._SignDate != value)) - { - this.OnSignDateChanging(value); - this.SendPropertyChanging(); - this._SignDate = value; - this.SendPropertyChanged("SignDate"); - this.OnSignDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveMan", DbType="NVarChar(50)")] - public string ReceiveMan - { - get - { - return this._ReceiveMan; - } - set - { - if ((this._ReceiveMan != value)) - { - this.OnReceiveManChanging(value); - this.SendPropertyChanging(); - this._ReceiveMan = value; - this.SendPropertyChanged("ReceiveMan"); - this.OnReceiveManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveDate", DbType="DateTime")] - public System.Nullable ReceiveDate - { - get - { - return this._ReceiveDate; - } - set - { - if ((this._ReceiveDate != value)) - { - this.OnReceiveDateChanging(value); - this.SendPropertyChanging(); - this._ReceiveDate = value; - this.SendPropertyChanged("ReceiveDate"); - this.OnReceiveDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintMan", DbType="NVarChar(50)")] - public string PrintMan - { - get - { - return this._PrintMan; - } - set - { - if ((this._PrintMan != value)) - { - this.OnPrintManChanging(value); - this.SendPropertyChanging(); - this._PrintMan = value; - this.SendPropertyChanged("PrintMan"); - this.OnPrintManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintDate", DbType="DateTime")] - public System.Nullable PrintDate - { - get - { - return this._PrintDate; - } - set - { - if ((this._PrintDate != value)) - { - this.OnPrintDateChanging(value); - this.SendPropertyChanging(); - this._PrintDate = value; - this.SendPropertyChanged("PrintDate"); - this.OnPrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustRemark", DbType="NVarChar(50)")] - public string TrustRemark - { - get - { - return this._TrustRemark; - } - set - { - if ((this._TrustRemark != value)) - { - this.OnTrustRemarkChanging(value); - this.SendPropertyChanging(); - this._TrustRemark = value; - this.SendPropertyChanged("TrustRemark"); - this.OnTrustRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_CH_RepairItemRecord.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItemRecord.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_BO_Batch", Storage="_HJGL_BO_Batch", ThisKey="BatchId", OtherKey="BatchId", IsForeignKey=true)] - public HJGL_BO_Batch HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch.Entity; - } - set - { - HJGL_BO_Batch previousValue = this._HJGL_BO_Batch.Entity; - if (((previousValue != value) - || (this._HJGL_BO_Batch.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BO_Batch.Entity = null; - previousValue.HJGL_CH_RepairItemRecord.Remove(this); - } - this._HJGL_BO_Batch.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItemRecord.Add(this); - this._BatchId = value.BatchId; - } - else - { - this._BatchId = default(string); - } - this.SendPropertyChanged("HJGL_BO_Batch"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_BS_NDTType", Storage="_HJGL_BS_NDTType", ThisKey="NDT_ID", OtherKey="NDT_ID", IsForeignKey=true)] - public HJGL_BS_NDTType HJGL_BS_NDTType - { - get - { - return this._HJGL_BS_NDTType.Entity; - } - set - { - HJGL_BS_NDTType previousValue = this._HJGL_BS_NDTType.Entity; - if (((previousValue != value) - || (this._HJGL_BS_NDTType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_NDTType.Entity = null; - previousValue.HJGL_CH_RepairItemRecord.Remove(this); - } - this._HJGL_BS_NDTType.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItemRecord.Add(this); - this._NDT_ID = value.NDT_ID; - } - else - { - this._NDT_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_NDTType"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="JOT_CellWelder", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.HJGL_CH_RepairItemRecord.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItemRecord.Add(this); - this._JOT_CellWelder = value.WED_ID; - } - else - { - this._JOT_CellWelder = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_BS_Welder1", Storage="_JOT_FloorWelderHJGL_BS_Welder", ThisKey="JOT_FloorWelder", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder JOT_FloorWelderHJGL_BS_Welder - { - get - { - return this._JOT_FloorWelderHJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._JOT_FloorWelderHJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._JOT_FloorWelderHJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._JOT_FloorWelderHJGL_BS_Welder.Entity = null; - previousValue.HJGL_CH_RepairItemRecord_HJGL_BS_Welder1.Remove(this); - } - this._JOT_FloorWelderHJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItemRecord_HJGL_BS_Welder1.Add(this); - this._JOT_FloorWelder = value.WED_ID; - } - else - { - this._JOT_FloorWelder = default(string); - } - this.SendPropertyChanged("JOT_FloorWelderHJGL_BS_Welder"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_CH_RepairItemRecord.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItemRecord.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_CH_RepairItemRecord.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_RepairItemRecord.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_TestingReportPrint")] - public partial class HJGL_CH_TestingReportPrint : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _TestingReportPrintId; - - private string _ISO_ID; - - private string _Specifications; - - private string _NDT_ID; - - private string _BatchId; - - private string _ReportCode; - - private string _ContractUnitId; - - private string _RT_TechnicalGrade; - - private string _RT_FocalSize; - - private string _RT_TubeCurrent; - - private string _RT_SourceType; - - private string _RT_FilmDensity; - - private string _RT_DeveloperTemperature; - - private string _RT_DeveloperTime; - - private string _PT_SurfaceState; - - private string _PT_PenetrantGrade; - - private string _PT_CleaningGrade; - - private string _PT_ImagingGrade; - - private string _PT_OsmoticTemperature; - - private string _PT_ImposingMethod; - - private string _PT_ObservationMethod; - - private string _PT_SensitivityTestBlock; - - private string _PT_PermeationTime; - - private string _PT_ImagingTime; - - private string _MT_SurfaceState; - - private string _MT_SensitivityTestBlock; - - private string _MT_CurrentType; - - private string _MT_LiftingPower; - - private string _MT_MagnetizationTime; - - private string _MT_MagneticPowderType; - - private string _MT_Concentration; - - private string _MT_ImposingMethod; - - private string _UT_TechnicalGrade; - - private string _UT_DetectionSurface; - - private string _UT_SurfaceState; - - private string _UT_StandardTestBlock; - - private string _UT_ProbeType; - - private string _UT_SurfaceCompensation; - - private string _UT_ScanningRate; - - private string _UT_DetectionSensitivity; - - private string _UT_CouplingAgent; - - private string _Type; - - private string _Printer; - - private System.Nullable _PrintTime; - - private string _ProjectId; - - private string _TestingTime; - - private string _TransilluminationMode; - - private string _FilmModel; - - private string _IntensifyingWay; - - private string _TubeVoltage; - - private string _SourceActivity; - - private string _ImageQualityModel; - - private string _WireDiameterCode; - - private string _FocalLength; - - private string _ExposureTime; - - private string _EffectiveLength; - - private string _EquipmentCode; - - private string _EquipmentName; - - private string _JotyName; - - private string _MT_TestMethod; - - private string _HotProessState; - - private string _TestBlock; - - private string _PoleSpacing; - - private string _UT_StandardTestBlock2; - - private string _STE_ID; - - private string _STE_ID2; - - private string _WME_ID; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_BO_Batch; - - private EntityRef _HJGL_BS_NDTType; - - private EntityRef _HJGL_PW_IsoInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnTestingReportPrintIdChanging(string value); - partial void OnTestingReportPrintIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnSpecificationsChanging(string value); - partial void OnSpecificationsChanged(); - partial void OnNDT_IDChanging(string value); - partial void OnNDT_IDChanged(); - partial void OnBatchIdChanging(string value); - partial void OnBatchIdChanged(); - partial void OnReportCodeChanging(string value); - partial void OnReportCodeChanged(); - partial void OnContractUnitIdChanging(string value); - partial void OnContractUnitIdChanged(); - partial void OnRT_TechnicalGradeChanging(string value); - partial void OnRT_TechnicalGradeChanged(); - partial void OnRT_FocalSizeChanging(string value); - partial void OnRT_FocalSizeChanged(); - partial void OnRT_TubeCurrentChanging(string value); - partial void OnRT_TubeCurrentChanged(); - partial void OnRT_SourceTypeChanging(string value); - partial void OnRT_SourceTypeChanged(); - partial void OnRT_FilmDensityChanging(string value); - partial void OnRT_FilmDensityChanged(); - partial void OnRT_DeveloperTemperatureChanging(string value); - partial void OnRT_DeveloperTemperatureChanged(); - partial void OnRT_DeveloperTimeChanging(string value); - partial void OnRT_DeveloperTimeChanged(); - partial void OnPT_SurfaceStateChanging(string value); - partial void OnPT_SurfaceStateChanged(); - partial void OnPT_PenetrantGradeChanging(string value); - partial void OnPT_PenetrantGradeChanged(); - partial void OnPT_CleaningGradeChanging(string value); - partial void OnPT_CleaningGradeChanged(); - partial void OnPT_ImagingGradeChanging(string value); - partial void OnPT_ImagingGradeChanged(); - partial void OnPT_OsmoticTemperatureChanging(string value); - partial void OnPT_OsmoticTemperatureChanged(); - partial void OnPT_ImposingMethodChanging(string value); - partial void OnPT_ImposingMethodChanged(); - partial void OnPT_ObservationMethodChanging(string value); - partial void OnPT_ObservationMethodChanged(); - partial void OnPT_SensitivityTestBlockChanging(string value); - partial void OnPT_SensitivityTestBlockChanged(); - partial void OnPT_PermeationTimeChanging(string value); - partial void OnPT_PermeationTimeChanged(); - partial void OnPT_ImagingTimeChanging(string value); - partial void OnPT_ImagingTimeChanged(); - partial void OnMT_SurfaceStateChanging(string value); - partial void OnMT_SurfaceStateChanged(); - partial void OnMT_SensitivityTestBlockChanging(string value); - partial void OnMT_SensitivityTestBlockChanged(); - partial void OnMT_CurrentTypeChanging(string value); - partial void OnMT_CurrentTypeChanged(); - partial void OnMT_LiftingPowerChanging(string value); - partial void OnMT_LiftingPowerChanged(); - partial void OnMT_MagnetizationTimeChanging(string value); - partial void OnMT_MagnetizationTimeChanged(); - partial void OnMT_MagneticPowderTypeChanging(string value); - partial void OnMT_MagneticPowderTypeChanged(); - partial void OnMT_ConcentrationChanging(string value); - partial void OnMT_ConcentrationChanged(); - partial void OnMT_ImposingMethodChanging(string value); - partial void OnMT_ImposingMethodChanged(); - partial void OnUT_TechnicalGradeChanging(string value); - partial void OnUT_TechnicalGradeChanged(); - partial void OnUT_DetectionSurfaceChanging(string value); - partial void OnUT_DetectionSurfaceChanged(); - partial void OnUT_SurfaceStateChanging(string value); - partial void OnUT_SurfaceStateChanged(); - partial void OnUT_StandardTestBlockChanging(string value); - partial void OnUT_StandardTestBlockChanged(); - partial void OnUT_ProbeTypeChanging(string value); - partial void OnUT_ProbeTypeChanged(); - partial void OnUT_SurfaceCompensationChanging(string value); - partial void OnUT_SurfaceCompensationChanged(); - partial void OnUT_ScanningRateChanging(string value); - partial void OnUT_ScanningRateChanged(); - partial void OnUT_DetectionSensitivityChanging(string value); - partial void OnUT_DetectionSensitivityChanged(); - partial void OnUT_CouplingAgentChanging(string value); - partial void OnUT_CouplingAgentChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - partial void OnPrinterChanging(string value); - partial void OnPrinterChanged(); - partial void OnPrintTimeChanging(System.Nullable value); - partial void OnPrintTimeChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnTestingTimeChanging(string value); - partial void OnTestingTimeChanged(); - partial void OnTransilluminationModeChanging(string value); - partial void OnTransilluminationModeChanged(); - partial void OnFilmModelChanging(string value); - partial void OnFilmModelChanged(); - partial void OnIntensifyingWayChanging(string value); - partial void OnIntensifyingWayChanged(); - partial void OnTubeVoltageChanging(string value); - partial void OnTubeVoltageChanged(); - partial void OnSourceActivityChanging(string value); - partial void OnSourceActivityChanged(); - partial void OnImageQualityModelChanging(string value); - partial void OnImageQualityModelChanged(); - partial void OnWireDiameterCodeChanging(string value); - partial void OnWireDiameterCodeChanged(); - partial void OnFocalLengthChanging(string value); - partial void OnFocalLengthChanged(); - partial void OnExposureTimeChanging(string value); - partial void OnExposureTimeChanged(); - partial void OnEffectiveLengthChanging(string value); - partial void OnEffectiveLengthChanged(); - partial void OnEquipmentCodeChanging(string value); - partial void OnEquipmentCodeChanged(); - partial void OnEquipmentNameChanging(string value); - partial void OnEquipmentNameChanged(); - partial void OnJotyNameChanging(string value); - partial void OnJotyNameChanged(); - partial void OnMT_TestMethodChanging(string value); - partial void OnMT_TestMethodChanged(); - partial void OnHotProessStateChanging(string value); - partial void OnHotProessStateChanged(); - partial void OnTestBlockChanging(string value); - partial void OnTestBlockChanged(); - partial void OnPoleSpacingChanging(string value); - partial void OnPoleSpacingChanged(); - partial void OnUT_StandardTestBlock2Changing(string value); - partial void OnUT_StandardTestBlock2Changed(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnSTE_ID2Changing(string value); - partial void OnSTE_ID2Changed(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - #endregion - - public HJGL_CH_TestingReportPrint() - { - this._Base_Project = default(EntityRef); - this._HJGL_BO_Batch = default(EntityRef); - this._HJGL_BS_NDTType = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingReportPrintId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string TestingReportPrintId - { - get - { - return this._TestingReportPrintId; - } - set - { - if ((this._TestingReportPrintId != value)) - { - this.OnTestingReportPrintIdChanging(value); - this.SendPropertyChanging(); - this._TestingReportPrintId = value; - this.SendPropertyChanged("TestingReportPrintId"); - this.OnTestingReportPrintIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(50)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this.OnSpecificationsChanging(value); - this.SendPropertyChanging(); - this._Specifications = value; - this.SendPropertyChanged("Specifications"); - this.OnSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_ID", DbType="VarChar(50)")] - public string NDT_ID - { - get - { - return this._NDT_ID; - } - set - { - if ((this._NDT_ID != value)) - { - if (this._HJGL_BS_NDTType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnNDT_IDChanging(value); - this.SendPropertyChanging(); - this._NDT_ID = value; - this.SendPropertyChanged("NDT_ID"); - this.OnNDT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - if (this._HJGL_BO_Batch.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBatchIdChanging(value); - this.SendPropertyChanging(); - this._BatchId = value; - this.SendPropertyChanged("BatchId"); - this.OnBatchIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportCode", DbType="NVarChar(50)")] - public string ReportCode - { - get - { - return this._ReportCode; - } - set - { - if ((this._ReportCode != value)) - { - this.OnReportCodeChanging(value); - this.SendPropertyChanging(); - this._ReportCode = value; - this.SendPropertyChanged("ReportCode"); - this.OnReportCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractUnitId", DbType="NVarChar(50)")] - public string ContractUnitId - { - get - { - return this._ContractUnitId; - } - set - { - if ((this._ContractUnitId != value)) - { - this.OnContractUnitIdChanging(value); - this.SendPropertyChanging(); - this._ContractUnitId = value; - this.SendPropertyChanged("ContractUnitId"); - this.OnContractUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TechnicalGrade", DbType="NVarChar(50)")] - public string RT_TechnicalGrade - { - get - { - return this._RT_TechnicalGrade; - } - set - { - if ((this._RT_TechnicalGrade != value)) - { - this.OnRT_TechnicalGradeChanging(value); - this.SendPropertyChanging(); - this._RT_TechnicalGrade = value; - this.SendPropertyChanged("RT_TechnicalGrade"); - this.OnRT_TechnicalGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FocalSize", DbType="NVarChar(50)")] - public string RT_FocalSize - { - get - { - return this._RT_FocalSize; - } - set - { - if ((this._RT_FocalSize != value)) - { - this.OnRT_FocalSizeChanging(value); - this.SendPropertyChanging(); - this._RT_FocalSize = value; - this.SendPropertyChanged("RT_FocalSize"); - this.OnRT_FocalSizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TubeCurrent", DbType="NVarChar(50)")] - public string RT_TubeCurrent - { - get - { - return this._RT_TubeCurrent; - } - set - { - if ((this._RT_TubeCurrent != value)) - { - this.OnRT_TubeCurrentChanging(value); - this.SendPropertyChanging(); - this._RT_TubeCurrent = value; - this.SendPropertyChanged("RT_TubeCurrent"); - this.OnRT_TubeCurrentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_SourceType", DbType="NVarChar(50)")] - public string RT_SourceType - { - get - { - return this._RT_SourceType; - } - set - { - if ((this._RT_SourceType != value)) - { - this.OnRT_SourceTypeChanging(value); - this.SendPropertyChanging(); - this._RT_SourceType = value; - this.SendPropertyChanged("RT_SourceType"); - this.OnRT_SourceTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FilmDensity", DbType="NVarChar(50)")] - public string RT_FilmDensity - { - get - { - return this._RT_FilmDensity; - } - set - { - if ((this._RT_FilmDensity != value)) - { - this.OnRT_FilmDensityChanging(value); - this.SendPropertyChanging(); - this._RT_FilmDensity = value; - this.SendPropertyChanged("RT_FilmDensity"); - this.OnRT_FilmDensityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_DeveloperTemperature", DbType="NVarChar(50)")] - public string RT_DeveloperTemperature - { - get - { - return this._RT_DeveloperTemperature; - } - set - { - if ((this._RT_DeveloperTemperature != value)) - { - this.OnRT_DeveloperTemperatureChanging(value); - this.SendPropertyChanging(); - this._RT_DeveloperTemperature = value; - this.SendPropertyChanged("RT_DeveloperTemperature"); - this.OnRT_DeveloperTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_DeveloperTime", DbType="NVarChar(50)")] - public string RT_DeveloperTime - { - get - { - return this._RT_DeveloperTime; - } - set - { - if ((this._RT_DeveloperTime != value)) - { - this.OnRT_DeveloperTimeChanging(value); - this.SendPropertyChanging(); - this._RT_DeveloperTime = value; - this.SendPropertyChanged("RT_DeveloperTime"); - this.OnRT_DeveloperTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_SurfaceState", DbType="NVarChar(50)")] - public string PT_SurfaceState - { - get - { - return this._PT_SurfaceState; - } - set - { - if ((this._PT_SurfaceState != value)) - { - this.OnPT_SurfaceStateChanging(value); - this.SendPropertyChanging(); - this._PT_SurfaceState = value; - this.SendPropertyChanged("PT_SurfaceState"); - this.OnPT_SurfaceStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_PenetrantGrade", DbType="NVarChar(50)")] - public string PT_PenetrantGrade - { - get - { - return this._PT_PenetrantGrade; - } - set - { - if ((this._PT_PenetrantGrade != value)) - { - this.OnPT_PenetrantGradeChanging(value); - this.SendPropertyChanging(); - this._PT_PenetrantGrade = value; - this.SendPropertyChanged("PT_PenetrantGrade"); - this.OnPT_PenetrantGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_CleaningGrade", DbType="NVarChar(50)")] - public string PT_CleaningGrade - { - get - { - return this._PT_CleaningGrade; - } - set - { - if ((this._PT_CleaningGrade != value)) - { - this.OnPT_CleaningGradeChanging(value); - this.SendPropertyChanging(); - this._PT_CleaningGrade = value; - this.SendPropertyChanged("PT_CleaningGrade"); - this.OnPT_CleaningGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ImagingGrade", DbType="NVarChar(50)")] - public string PT_ImagingGrade - { - get - { - return this._PT_ImagingGrade; - } - set - { - if ((this._PT_ImagingGrade != value)) - { - this.OnPT_ImagingGradeChanging(value); - this.SendPropertyChanging(); - this._PT_ImagingGrade = value; - this.SendPropertyChanged("PT_ImagingGrade"); - this.OnPT_ImagingGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_OsmoticTemperature", DbType="NVarChar(50)")] - public string PT_OsmoticTemperature - { - get - { - return this._PT_OsmoticTemperature; - } - set - { - if ((this._PT_OsmoticTemperature != value)) - { - this.OnPT_OsmoticTemperatureChanging(value); - this.SendPropertyChanging(); - this._PT_OsmoticTemperature = value; - this.SendPropertyChanged("PT_OsmoticTemperature"); - this.OnPT_OsmoticTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ImposingMethod", DbType="NVarChar(50)")] - public string PT_ImposingMethod - { - get - { - return this._PT_ImposingMethod; - } - set - { - if ((this._PT_ImposingMethod != value)) - { - this.OnPT_ImposingMethodChanging(value); - this.SendPropertyChanging(); - this._PT_ImposingMethod = value; - this.SendPropertyChanged("PT_ImposingMethod"); - this.OnPT_ImposingMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ObservationMethod", DbType="NVarChar(50)")] - public string PT_ObservationMethod - { - get - { - return this._PT_ObservationMethod; - } - set - { - if ((this._PT_ObservationMethod != value)) - { - this.OnPT_ObservationMethodChanging(value); - this.SendPropertyChanging(); - this._PT_ObservationMethod = value; - this.SendPropertyChanged("PT_ObservationMethod"); - this.OnPT_ObservationMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_SensitivityTestBlock", DbType="NVarChar(50)")] - public string PT_SensitivityTestBlock - { - get - { - return this._PT_SensitivityTestBlock; - } - set - { - if ((this._PT_SensitivityTestBlock != value)) - { - this.OnPT_SensitivityTestBlockChanging(value); - this.SendPropertyChanging(); - this._PT_SensitivityTestBlock = value; - this.SendPropertyChanged("PT_SensitivityTestBlock"); - this.OnPT_SensitivityTestBlockChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_PermeationTime", DbType="NVarChar(50)")] - public string PT_PermeationTime - { - get - { - return this._PT_PermeationTime; - } - set - { - if ((this._PT_PermeationTime != value)) - { - this.OnPT_PermeationTimeChanging(value); - this.SendPropertyChanging(); - this._PT_PermeationTime = value; - this.SendPropertyChanged("PT_PermeationTime"); - this.OnPT_PermeationTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ImagingTime", DbType="NVarChar(50)")] - public string PT_ImagingTime - { - get - { - return this._PT_ImagingTime; - } - set - { - if ((this._PT_ImagingTime != value)) - { - this.OnPT_ImagingTimeChanging(value); - this.SendPropertyChanging(); - this._PT_ImagingTime = value; - this.SendPropertyChanged("PT_ImagingTime"); - this.OnPT_ImagingTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_SurfaceState", DbType="NVarChar(50)")] - public string MT_SurfaceState - { - get - { - return this._MT_SurfaceState; - } - set - { - if ((this._MT_SurfaceState != value)) - { - this.OnMT_SurfaceStateChanging(value); - this.SendPropertyChanging(); - this._MT_SurfaceState = value; - this.SendPropertyChanged("MT_SurfaceState"); - this.OnMT_SurfaceStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_SensitivityTestBlock", DbType="NVarChar(50)")] - public string MT_SensitivityTestBlock - { - get - { - return this._MT_SensitivityTestBlock; - } - set - { - if ((this._MT_SensitivityTestBlock != value)) - { - this.OnMT_SensitivityTestBlockChanging(value); - this.SendPropertyChanging(); - this._MT_SensitivityTestBlock = value; - this.SendPropertyChanged("MT_SensitivityTestBlock"); - this.OnMT_SensitivityTestBlockChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_CurrentType", DbType="NVarChar(50)")] - public string MT_CurrentType - { - get - { - return this._MT_CurrentType; - } - set - { - if ((this._MT_CurrentType != value)) - { - this.OnMT_CurrentTypeChanging(value); - this.SendPropertyChanging(); - this._MT_CurrentType = value; - this.SendPropertyChanged("MT_CurrentType"); - this.OnMT_CurrentTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_LiftingPower", DbType="NVarChar(50)")] - public string MT_LiftingPower - { - get - { - return this._MT_LiftingPower; - } - set - { - if ((this._MT_LiftingPower != value)) - { - this.OnMT_LiftingPowerChanging(value); - this.SendPropertyChanging(); - this._MT_LiftingPower = value; - this.SendPropertyChanged("MT_LiftingPower"); - this.OnMT_LiftingPowerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_MagnetizationTime", DbType="NVarChar(50)")] - public string MT_MagnetizationTime - { - get - { - return this._MT_MagnetizationTime; - } - set - { - if ((this._MT_MagnetizationTime != value)) - { - this.OnMT_MagnetizationTimeChanging(value); - this.SendPropertyChanging(); - this._MT_MagnetizationTime = value; - this.SendPropertyChanged("MT_MagnetizationTime"); - this.OnMT_MagnetizationTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_MagneticPowderType", DbType="NVarChar(50)")] - public string MT_MagneticPowderType - { - get - { - return this._MT_MagneticPowderType; - } - set - { - if ((this._MT_MagneticPowderType != value)) - { - this.OnMT_MagneticPowderTypeChanging(value); - this.SendPropertyChanging(); - this._MT_MagneticPowderType = value; - this.SendPropertyChanged("MT_MagneticPowderType"); - this.OnMT_MagneticPowderTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_Concentration", DbType="NVarChar(50)")] - public string MT_Concentration - { - get - { - return this._MT_Concentration; - } - set - { - if ((this._MT_Concentration != value)) - { - this.OnMT_ConcentrationChanging(value); - this.SendPropertyChanging(); - this._MT_Concentration = value; - this.SendPropertyChanged("MT_Concentration"); - this.OnMT_ConcentrationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_ImposingMethod", DbType="NVarChar(50)")] - public string MT_ImposingMethod - { - get - { - return this._MT_ImposingMethod; - } - set - { - if ((this._MT_ImposingMethod != value)) - { - this.OnMT_ImposingMethodChanging(value); - this.SendPropertyChanging(); - this._MT_ImposingMethod = value; - this.SendPropertyChanged("MT_ImposingMethod"); - this.OnMT_ImposingMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_TechnicalGrade", DbType="NVarChar(50)")] - public string UT_TechnicalGrade - { - get - { - return this._UT_TechnicalGrade; - } - set - { - if ((this._UT_TechnicalGrade != value)) - { - this.OnUT_TechnicalGradeChanging(value); - this.SendPropertyChanging(); - this._UT_TechnicalGrade = value; - this.SendPropertyChanged("UT_TechnicalGrade"); - this.OnUT_TechnicalGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_DetectionSurface", DbType="NVarChar(50)")] - public string UT_DetectionSurface - { - get - { - return this._UT_DetectionSurface; - } - set - { - if ((this._UT_DetectionSurface != value)) - { - this.OnUT_DetectionSurfaceChanging(value); - this.SendPropertyChanging(); - this._UT_DetectionSurface = value; - this.SendPropertyChanged("UT_DetectionSurface"); - this.OnUT_DetectionSurfaceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_SurfaceState", DbType="NVarChar(50)")] - public string UT_SurfaceState - { - get - { - return this._UT_SurfaceState; - } - set - { - if ((this._UT_SurfaceState != value)) - { - this.OnUT_SurfaceStateChanging(value); - this.SendPropertyChanging(); - this._UT_SurfaceState = value; - this.SendPropertyChanged("UT_SurfaceState"); - this.OnUT_SurfaceStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_StandardTestBlock", DbType="NVarChar(50)")] - public string UT_StandardTestBlock - { - get - { - return this._UT_StandardTestBlock; - } - set - { - if ((this._UT_StandardTestBlock != value)) - { - this.OnUT_StandardTestBlockChanging(value); - this.SendPropertyChanging(); - this._UT_StandardTestBlock = value; - this.SendPropertyChanged("UT_StandardTestBlock"); - this.OnUT_StandardTestBlockChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_ProbeType", DbType="NVarChar(50)")] - public string UT_ProbeType - { - get - { - return this._UT_ProbeType; - } - set - { - if ((this._UT_ProbeType != value)) - { - this.OnUT_ProbeTypeChanging(value); - this.SendPropertyChanging(); - this._UT_ProbeType = value; - this.SendPropertyChanged("UT_ProbeType"); - this.OnUT_ProbeTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_SurfaceCompensation", DbType="NVarChar(50)")] - public string UT_SurfaceCompensation - { - get - { - return this._UT_SurfaceCompensation; - } - set - { - if ((this._UT_SurfaceCompensation != value)) - { - this.OnUT_SurfaceCompensationChanging(value); - this.SendPropertyChanging(); - this._UT_SurfaceCompensation = value; - this.SendPropertyChanged("UT_SurfaceCompensation"); - this.OnUT_SurfaceCompensationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_ScanningRate", DbType="NVarChar(50)")] - public string UT_ScanningRate - { - get - { - return this._UT_ScanningRate; - } - set - { - if ((this._UT_ScanningRate != value)) - { - this.OnUT_ScanningRateChanging(value); - this.SendPropertyChanging(); - this._UT_ScanningRate = value; - this.SendPropertyChanged("UT_ScanningRate"); - this.OnUT_ScanningRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_DetectionSensitivity", DbType="NVarChar(50)")] - public string UT_DetectionSensitivity - { - get - { - return this._UT_DetectionSensitivity; - } - set - { - if ((this._UT_DetectionSensitivity != value)) - { - this.OnUT_DetectionSensitivityChanging(value); - this.SendPropertyChanging(); - this._UT_DetectionSensitivity = value; - this.SendPropertyChanged("UT_DetectionSensitivity"); - this.OnUT_DetectionSensitivityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_CouplingAgent", DbType="NVarChar(50)")] - public string UT_CouplingAgent - { - get - { - return this._UT_CouplingAgent; - } - set - { - if ((this._UT_CouplingAgent != value)) - { - this.OnUT_CouplingAgentChanging(value); - this.SendPropertyChanging(); - this._UT_CouplingAgent = value; - this.SendPropertyChanged("UT_CouplingAgent"); - this.OnUT_CouplingAgentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NChar(10)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Printer", DbType="NVarChar(50)")] - public string Printer - { - get - { - return this._Printer; - } - set - { - if ((this._Printer != value)) - { - this.OnPrinterChanging(value); - this.SendPropertyChanging(); - this._Printer = value; - this.SendPropertyChanged("Printer"); - this.OnPrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintTime", DbType="DateTime")] - public System.Nullable PrintTime - { - get - { - return this._PrintTime; - } - set - { - if ((this._PrintTime != value)) - { - this.OnPrintTimeChanging(value); - this.SendPropertyChanging(); - this._PrintTime = value; - this.SendPropertyChanged("PrintTime"); - this.OnPrintTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingTime", DbType="NVarChar(50)")] - public string TestingTime - { - get - { - return this._TestingTime; - } - set - { - if ((this._TestingTime != value)) - { - this.OnTestingTimeChanging(value); - this.SendPropertyChanging(); - this._TestingTime = value; - this.SendPropertyChanged("TestingTime"); - this.OnTestingTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransilluminationMode", DbType="NVarChar(50)")] - public string TransilluminationMode - { - get - { - return this._TransilluminationMode; - } - set - { - if ((this._TransilluminationMode != value)) - { - this.OnTransilluminationModeChanging(value); - this.SendPropertyChanging(); - this._TransilluminationMode = value; - this.SendPropertyChanged("TransilluminationMode"); - this.OnTransilluminationModeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmModel", DbType="NVarChar(50)")] - public string FilmModel - { - get - { - return this._FilmModel; - } - set - { - if ((this._FilmModel != value)) - { - this.OnFilmModelChanging(value); - this.SendPropertyChanging(); - this._FilmModel = value; - this.SendPropertyChanged("FilmModel"); - this.OnFilmModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IntensifyingWay", DbType="NVarChar(50)")] - public string IntensifyingWay - { - get - { - return this._IntensifyingWay; - } - set - { - if ((this._IntensifyingWay != value)) - { - this.OnIntensifyingWayChanging(value); - this.SendPropertyChanging(); - this._IntensifyingWay = value; - this.SendPropertyChanged("IntensifyingWay"); - this.OnIntensifyingWayChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TubeVoltage", DbType="NVarChar(50)")] - public string TubeVoltage - { - get - { - return this._TubeVoltage; - } - set - { - if ((this._TubeVoltage != value)) - { - this.OnTubeVoltageChanging(value); - this.SendPropertyChanging(); - this._TubeVoltage = value; - this.SendPropertyChanged("TubeVoltage"); - this.OnTubeVoltageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceActivity", DbType="NVarChar(50)")] - public string SourceActivity - { - get - { - return this._SourceActivity; - } - set - { - if ((this._SourceActivity != value)) - { - this.OnSourceActivityChanging(value); - this.SendPropertyChanging(); - this._SourceActivity = value; - this.SendPropertyChanged("SourceActivity"); - this.OnSourceActivityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageQualityModel", DbType="NVarChar(50)")] - public string ImageQualityModel - { - get - { - return this._ImageQualityModel; - } - set - { - if ((this._ImageQualityModel != value)) - { - this.OnImageQualityModelChanging(value); - this.SendPropertyChanging(); - this._ImageQualityModel = value; - this.SendPropertyChanged("ImageQualityModel"); - this.OnImageQualityModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WireDiameterCode", DbType="NVarChar(50)")] - public string WireDiameterCode - { - get - { - return this._WireDiameterCode; - } - set - { - if ((this._WireDiameterCode != value)) - { - this.OnWireDiameterCodeChanging(value); - this.SendPropertyChanging(); - this._WireDiameterCode = value; - this.SendPropertyChanged("WireDiameterCode"); - this.OnWireDiameterCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FocalLength", DbType="NVarChar(50)")] - public string FocalLength - { - get - { - return this._FocalLength; - } - set - { - if ((this._FocalLength != value)) - { - this.OnFocalLengthChanging(value); - this.SendPropertyChanging(); - this._FocalLength = value; - this.SendPropertyChanged("FocalLength"); - this.OnFocalLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExposureTime", DbType="NVarChar(50)")] - public string ExposureTime - { - get - { - return this._ExposureTime; - } - set - { - if ((this._ExposureTime != value)) - { - this.OnExposureTimeChanging(value); - this.SendPropertyChanging(); - this._ExposureTime = value; - this.SendPropertyChanged("ExposureTime"); - this.OnExposureTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveLength", DbType="NVarChar(50)")] - public string EffectiveLength - { - get - { - return this._EffectiveLength; - } - set - { - if ((this._EffectiveLength != value)) - { - this.OnEffectiveLengthChanging(value); - this.SendPropertyChanging(); - this._EffectiveLength = value; - this.SendPropertyChanged("EffectiveLength"); - this.OnEffectiveLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentCode", DbType="NVarChar(50)")] - public string EquipmentCode - { - get - { - return this._EquipmentCode; - } - set - { - if ((this._EquipmentCode != value)) - { - this.OnEquipmentCodeChanging(value); - this.SendPropertyChanging(); - this._EquipmentCode = value; - this.SendPropertyChanged("EquipmentCode"); - this.OnEquipmentCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentName", DbType="NVarChar(50)")] - public string EquipmentName - { - get - { - return this._EquipmentName; - } - set - { - if ((this._EquipmentName != value)) - { - this.OnEquipmentNameChanging(value); - this.SendPropertyChanging(); - this._EquipmentName = value; - this.SendPropertyChanged("EquipmentName"); - this.OnEquipmentNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JotyName", DbType="NVarChar(50)")] - public string JotyName - { - get - { - return this._JotyName; - } - set - { - if ((this._JotyName != value)) - { - this.OnJotyNameChanging(value); - this.SendPropertyChanging(); - this._JotyName = value; - this.SendPropertyChanged("JotyName"); - this.OnJotyNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_TestMethod", DbType="NVarChar(50)")] - public string MT_TestMethod - { - get - { - return this._MT_TestMethod; - } - set - { - if ((this._MT_TestMethod != value)) - { - this.OnMT_TestMethodChanging(value); - this.SendPropertyChanging(); - this._MT_TestMethod = value; - this.SendPropertyChanged("MT_TestMethod"); - this.OnMT_TestMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessState", DbType="NVarChar(50)")] - public string HotProessState - { - get - { - return this._HotProessState; - } - set - { - if ((this._HotProessState != value)) - { - this.OnHotProessStateChanging(value); - this.SendPropertyChanging(); - this._HotProessState = value; - this.SendPropertyChanged("HotProessState"); - this.OnHotProessStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestBlock", DbType="NVarChar(50)")] - public string TestBlock - { - get - { - return this._TestBlock; - } - set - { - if ((this._TestBlock != value)) - { - this.OnTestBlockChanging(value); - this.SendPropertyChanging(); - this._TestBlock = value; - this.SendPropertyChanged("TestBlock"); - this.OnTestBlockChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PoleSpacing", DbType="NVarChar(50)")] - public string PoleSpacing - { - get - { - return this._PoleSpacing; - } - set - { - if ((this._PoleSpacing != value)) - { - this.OnPoleSpacingChanging(value); - this.SendPropertyChanging(); - this._PoleSpacing = value; - this.SendPropertyChanged("PoleSpacing"); - this.OnPoleSpacingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_StandardTestBlock2", DbType="NVarChar(50)")] - public string UT_StandardTestBlock2 - { - get - { - return this._UT_StandardTestBlock2; - } - set - { - if ((this._UT_StandardTestBlock2 != value)) - { - this.OnUT_StandardTestBlock2Changing(value); - this.SendPropertyChanging(); - this._UT_StandardTestBlock2 = value; - this.SendPropertyChanged("UT_StandardTestBlock2"); - this.OnUT_StandardTestBlock2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="NVarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID2", DbType="NVarChar(50)")] - public string STE_ID2 - { - get - { - return this._STE_ID2; - } - set - { - if ((this._STE_ID2 != value)) - { - this.OnSTE_ID2Changing(value); - this.SendPropertyChanging(); - this._STE_ID2 = value; - this.SendPropertyChanged("STE_ID2"); - this.OnSTE_ID2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="NVarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TestingReportPrint_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_CH_TestingReportPrint.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_CH_TestingReportPrint.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TestingReportPrint_HJGL_BO_Batch", Storage="_HJGL_BO_Batch", ThisKey="BatchId", OtherKey="BatchId", IsForeignKey=true)] - public HJGL_BO_Batch HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch.Entity; - } - set - { - HJGL_BO_Batch previousValue = this._HJGL_BO_Batch.Entity; - if (((previousValue != value) - || (this._HJGL_BO_Batch.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BO_Batch.Entity = null; - previousValue.HJGL_CH_TestingReportPrint.Remove(this); - } - this._HJGL_BO_Batch.Entity = value; - if ((value != null)) - { - value.HJGL_CH_TestingReportPrint.Add(this); - this._BatchId = value.BatchId; - } - else - { - this._BatchId = default(string); - } - this.SendPropertyChanged("HJGL_BO_Batch"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TestingReportPrint_HJGL_BS_NDTType", Storage="_HJGL_BS_NDTType", ThisKey="NDT_ID", OtherKey="NDT_ID", IsForeignKey=true)] - public HJGL_BS_NDTType HJGL_BS_NDTType - { - get - { - return this._HJGL_BS_NDTType.Entity; - } - set - { - HJGL_BS_NDTType previousValue = this._HJGL_BS_NDTType.Entity; - if (((previousValue != value) - || (this._HJGL_BS_NDTType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_NDTType.Entity = null; - previousValue.HJGL_CH_TestingReportPrint.Remove(this); - } - this._HJGL_BS_NDTType.Entity = value; - if ((value != null)) - { - value.HJGL_CH_TestingReportPrint.Add(this); - this._NDT_ID = value.NDT_ID; - } - else - { - this._NDT_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_NDTType"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TestingReportPrint_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_CH_TestingReportPrint.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_TestingReportPrint.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_Trust")] - public partial class HJGL_CH_Trust : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _CH_TrustID; - - private string _CH_TrustCode; - - private string _BatchId; - - private string _CH_TrustUnit; - - private System.Nullable _CH_TrustDate; - - private string _CH_TrustType; - - private string _CH_TrustMan; - - private string _CH_Tabler; - - private System.Nullable _CH_TableDate; - - private string _CH_AuditMan; - - private System.Nullable _CH_AuditDate; - - private string _CH_Printer; - - private System.Nullable _CH_PrintDate; - - private string _CH_UnitName; - - private string _CH_WorkNo; - - private string _CH_ItemName; - - private string _CH_SlopeType; - - private string _CH_ServiceTemp; - - private string _CH_Press; - - private string _CH_WeldMethod; - - private string _CH_NDTRate; - - private string _CH_NDTMethod; - - private string _CH_NDTCriteria; - - private string _CH_AcceptGrade; - - private string _CH_Remark; - - private string _CH_CheckUnit; - - private string _ProjectId; - - private string _InstallationId; - - private System.Nullable _CH_RequestDate; - - private string _RepairItemRecordId; - - private System.Nullable _Flag; - - private string _Record_Printer; - - private System.Nullable _Record_PrintDate; - - private System.Nullable _IsPushed; - - private System.Nullable _PushedDate; - - private string _ReRecord_Printer; - - private System.Nullable _ReRecord_PrintDate; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_BO_Batch; - - private EntityRef _Project_Installation; - - private EntitySet _HJGL_CH_TrustItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnCH_TrustIDChanging(string value); - partial void OnCH_TrustIDChanged(); - partial void OnCH_TrustCodeChanging(string value); - partial void OnCH_TrustCodeChanged(); - partial void OnBatchIdChanging(string value); - partial void OnBatchIdChanged(); - partial void OnCH_TrustUnitChanging(string value); - partial void OnCH_TrustUnitChanged(); - partial void OnCH_TrustDateChanging(System.Nullable value); - partial void OnCH_TrustDateChanged(); - partial void OnCH_TrustTypeChanging(string value); - partial void OnCH_TrustTypeChanged(); - partial void OnCH_TrustManChanging(string value); - partial void OnCH_TrustManChanged(); - partial void OnCH_TablerChanging(string value); - partial void OnCH_TablerChanged(); - partial void OnCH_TableDateChanging(System.Nullable value); - partial void OnCH_TableDateChanged(); - partial void OnCH_AuditManChanging(string value); - partial void OnCH_AuditManChanged(); - partial void OnCH_AuditDateChanging(System.Nullable value); - partial void OnCH_AuditDateChanged(); - partial void OnCH_PrinterChanging(string value); - partial void OnCH_PrinterChanged(); - partial void OnCH_PrintDateChanging(System.Nullable value); - partial void OnCH_PrintDateChanged(); - partial void OnCH_UnitNameChanging(string value); - partial void OnCH_UnitNameChanged(); - partial void OnCH_WorkNoChanging(string value); - partial void OnCH_WorkNoChanged(); - partial void OnCH_ItemNameChanging(string value); - partial void OnCH_ItemNameChanged(); - partial void OnCH_SlopeTypeChanging(string value); - partial void OnCH_SlopeTypeChanged(); - partial void OnCH_ServiceTempChanging(string value); - partial void OnCH_ServiceTempChanged(); - partial void OnCH_PressChanging(string value); - partial void OnCH_PressChanged(); - partial void OnCH_WeldMethodChanging(string value); - partial void OnCH_WeldMethodChanged(); - partial void OnCH_NDTRateChanging(string value); - partial void OnCH_NDTRateChanged(); - partial void OnCH_NDTMethodChanging(string value); - partial void OnCH_NDTMethodChanged(); - partial void OnCH_NDTCriteriaChanging(string value); - partial void OnCH_NDTCriteriaChanged(); - partial void OnCH_AcceptGradeChanging(string value); - partial void OnCH_AcceptGradeChanged(); - partial void OnCH_RemarkChanging(string value); - partial void OnCH_RemarkChanged(); - partial void OnCH_CheckUnitChanging(string value); - partial void OnCH_CheckUnitChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnCH_RequestDateChanging(System.Nullable value); - partial void OnCH_RequestDateChanged(); - partial void OnRepairItemRecordIdChanging(string value); - partial void OnRepairItemRecordIdChanged(); - partial void OnFlagChanging(System.Nullable value); - partial void OnFlagChanged(); - partial void OnRecord_PrinterChanging(string value); - partial void OnRecord_PrinterChanged(); - partial void OnRecord_PrintDateChanging(System.Nullable value); - partial void OnRecord_PrintDateChanged(); - partial void OnIsPushedChanging(System.Nullable value); - partial void OnIsPushedChanged(); - partial void OnPushedDateChanging(System.Nullable value); - partial void OnPushedDateChanged(); - partial void OnReRecord_PrinterChanging(string value); - partial void OnReRecord_PrinterChanged(); - partial void OnReRecord_PrintDateChanging(System.Nullable value); - partial void OnReRecord_PrintDateChanged(); - #endregion - - public HJGL_CH_Trust() - { - this._Base_Project = default(EntityRef); - this._HJGL_BO_Batch = default(EntityRef); - this._Project_Installation = default(EntityRef); - this._HJGL_CH_TrustItem = new EntitySet(new Action(this.attach_HJGL_CH_TrustItem), new Action(this.detach_HJGL_CH_TrustItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string CH_TrustID - { - get - { - return this._CH_TrustID; - } - set - { - if ((this._CH_TrustID != value)) - { - this.OnCH_TrustIDChanging(value); - this.SendPropertyChanging(); - this._CH_TrustID = value; - this.SendPropertyChanged("CH_TrustID"); - this.OnCH_TrustIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustCode", DbType="VarChar(30)")] - public string CH_TrustCode - { - get - { - return this._CH_TrustCode; - } - set - { - if ((this._CH_TrustCode != value)) - { - this.OnCH_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._CH_TrustCode = value; - this.SendPropertyChanged("CH_TrustCode"); - this.OnCH_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - if (this._HJGL_BO_Batch.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBatchIdChanging(value); - this.SendPropertyChanging(); - this._BatchId = value; - this.SendPropertyChanged("BatchId"); - this.OnBatchIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustUnit", DbType="VarChar(50)")] - public string CH_TrustUnit - { - get - { - return this._CH_TrustUnit; - } - set - { - if ((this._CH_TrustUnit != value)) - { - this.OnCH_TrustUnitChanging(value); - this.SendPropertyChanging(); - this._CH_TrustUnit = value; - this.SendPropertyChanged("CH_TrustUnit"); - this.OnCH_TrustUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustDate", DbType="DateTime")] - public System.Nullable CH_TrustDate - { - get - { - return this._CH_TrustDate; - } - set - { - if ((this._CH_TrustDate != value)) - { - this.OnCH_TrustDateChanging(value); - this.SendPropertyChanging(); - this._CH_TrustDate = value; - this.SendPropertyChanged("CH_TrustDate"); - this.OnCH_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustType", DbType="Char(2)")] - public string CH_TrustType - { - get - { - return this._CH_TrustType; - } - set - { - if ((this._CH_TrustType != value)) - { - this.OnCH_TrustTypeChanging(value); - this.SendPropertyChanging(); - this._CH_TrustType = value; - this.SendPropertyChanged("CH_TrustType"); - this.OnCH_TrustTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustMan", DbType="VarChar(50)")] - public string CH_TrustMan - { - get - { - return this._CH_TrustMan; - } - set - { - if ((this._CH_TrustMan != value)) - { - this.OnCH_TrustManChanging(value); - this.SendPropertyChanging(); - this._CH_TrustMan = value; - this.SendPropertyChanged("CH_TrustMan"); - this.OnCH_TrustManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Tabler", DbType="VarChar(50)")] - public string CH_Tabler - { - get - { - return this._CH_Tabler; - } - set - { - if ((this._CH_Tabler != value)) - { - this.OnCH_TablerChanging(value); - this.SendPropertyChanging(); - this._CH_Tabler = value; - this.SendPropertyChanged("CH_Tabler"); - this.OnCH_TablerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TableDate", DbType="DateTime")] - public System.Nullable CH_TableDate - { - get - { - return this._CH_TableDate; - } - set - { - if ((this._CH_TableDate != value)) - { - this.OnCH_TableDateChanging(value); - this.SendPropertyChanging(); - this._CH_TableDate = value; - this.SendPropertyChanged("CH_TableDate"); - this.OnCH_TableDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_AuditMan", DbType="VarChar(50)")] - public string CH_AuditMan - { - get - { - return this._CH_AuditMan; - } - set - { - if ((this._CH_AuditMan != value)) - { - this.OnCH_AuditManChanging(value); - this.SendPropertyChanging(); - this._CH_AuditMan = value; - this.SendPropertyChanged("CH_AuditMan"); - this.OnCH_AuditManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_AuditDate", DbType="DateTime")] - public System.Nullable CH_AuditDate - { - get - { - return this._CH_AuditDate; - } - set - { - if ((this._CH_AuditDate != value)) - { - this.OnCH_AuditDateChanging(value); - this.SendPropertyChanging(); - this._CH_AuditDate = value; - this.SendPropertyChanged("CH_AuditDate"); - this.OnCH_AuditDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Printer", DbType="VarChar(50)")] - public string CH_Printer - { - get - { - return this._CH_Printer; - } - set - { - if ((this._CH_Printer != value)) - { - this.OnCH_PrinterChanging(value); - this.SendPropertyChanging(); - this._CH_Printer = value; - this.SendPropertyChanged("CH_Printer"); - this.OnCH_PrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_PrintDate", DbType="DateTime")] - public System.Nullable CH_PrintDate - { - get - { - return this._CH_PrintDate; - } - set - { - if ((this._CH_PrintDate != value)) - { - this.OnCH_PrintDateChanging(value); - this.SendPropertyChanging(); - this._CH_PrintDate = value; - this.SendPropertyChanged("CH_PrintDate"); - this.OnCH_PrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_UnitName", DbType="VarChar(60)")] - public string CH_UnitName - { - get - { - return this._CH_UnitName; - } - set - { - if ((this._CH_UnitName != value)) - { - this.OnCH_UnitNameChanging(value); - this.SendPropertyChanging(); - this._CH_UnitName = value; - this.SendPropertyChanged("CH_UnitName"); - this.OnCH_UnitNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_WorkNo", DbType="VarChar(60)")] - public string CH_WorkNo - { - get - { - return this._CH_WorkNo; - } - set - { - if ((this._CH_WorkNo != value)) - { - this.OnCH_WorkNoChanging(value); - this.SendPropertyChanging(); - this._CH_WorkNo = value; - this.SendPropertyChanged("CH_WorkNo"); - this.OnCH_WorkNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_ItemName", DbType="VarChar(60)")] - public string CH_ItemName - { - get - { - return this._CH_ItemName; - } - set - { - if ((this._CH_ItemName != value)) - { - this.OnCH_ItemNameChanging(value); - this.SendPropertyChanging(); - this._CH_ItemName = value; - this.SendPropertyChanged("CH_ItemName"); - this.OnCH_ItemNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_SlopeType", DbType="VarChar(50)")] - public string CH_SlopeType - { - get - { - return this._CH_SlopeType; - } - set - { - if ((this._CH_SlopeType != value)) - { - this.OnCH_SlopeTypeChanging(value); - this.SendPropertyChanging(); - this._CH_SlopeType = value; - this.SendPropertyChanged("CH_SlopeType"); - this.OnCH_SlopeTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_ServiceTemp", DbType="VarChar(60)")] - public string CH_ServiceTemp - { - get - { - return this._CH_ServiceTemp; - } - set - { - if ((this._CH_ServiceTemp != value)) - { - this.OnCH_ServiceTempChanging(value); - this.SendPropertyChanging(); - this._CH_ServiceTemp = value; - this.SendPropertyChanged("CH_ServiceTemp"); - this.OnCH_ServiceTempChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Press", DbType="VarChar(60)")] - public string CH_Press - { - get - { - return this._CH_Press; - } - set - { - if ((this._CH_Press != value)) - { - this.OnCH_PressChanging(value); - this.SendPropertyChanging(); - this._CH_Press = value; - this.SendPropertyChanged("CH_Press"); - this.OnCH_PressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_WeldMethod", DbType="VarChar(50)")] - public string CH_WeldMethod - { - get - { - return this._CH_WeldMethod; - } - set - { - if ((this._CH_WeldMethod != value)) - { - this.OnCH_WeldMethodChanging(value); - this.SendPropertyChanging(); - this._CH_WeldMethod = value; - this.SendPropertyChanged("CH_WeldMethod"); - this.OnCH_WeldMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_NDTRate", DbType="VarChar(50)")] - public string CH_NDTRate - { - get - { - return this._CH_NDTRate; - } - set - { - if ((this._CH_NDTRate != value)) - { - this.OnCH_NDTRateChanging(value); - this.SendPropertyChanging(); - this._CH_NDTRate = value; - this.SendPropertyChanged("CH_NDTRate"); - this.OnCH_NDTRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_NDTMethod", DbType="VarChar(50)")] - public string CH_NDTMethod - { - get - { - return this._CH_NDTMethod; - } - set - { - if ((this._CH_NDTMethod != value)) - { - this.OnCH_NDTMethodChanging(value); - this.SendPropertyChanging(); - this._CH_NDTMethod = value; - this.SendPropertyChanged("CH_NDTMethod"); - this.OnCH_NDTMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_NDTCriteria", DbType="VarChar(60)")] - public string CH_NDTCriteria - { - get - { - return this._CH_NDTCriteria; - } - set - { - if ((this._CH_NDTCriteria != value)) - { - this.OnCH_NDTCriteriaChanging(value); - this.SendPropertyChanging(); - this._CH_NDTCriteria = value; - this.SendPropertyChanged("CH_NDTCriteria"); - this.OnCH_NDTCriteriaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_AcceptGrade", DbType="VarChar(100)")] - public string CH_AcceptGrade - { - get - { - return this._CH_AcceptGrade; - } - set - { - if ((this._CH_AcceptGrade != value)) - { - this.OnCH_AcceptGradeChanging(value); - this.SendPropertyChanging(); - this._CH_AcceptGrade = value; - this.SendPropertyChanged("CH_AcceptGrade"); - this.OnCH_AcceptGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Remark", DbType="VarChar(100)")] - public string CH_Remark - { - get - { - return this._CH_Remark; - } - set - { - if ((this._CH_Remark != value)) - { - this.OnCH_RemarkChanging(value); - this.SendPropertyChanging(); - this._CH_Remark = value; - this.SendPropertyChanged("CH_Remark"); - this.OnCH_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_CheckUnit", DbType="VarChar(40)")] - public string CH_CheckUnit - { - get - { - return this._CH_CheckUnit; - } - set - { - if ((this._CH_CheckUnit != value)) - { - this.OnCH_CheckUnitChanging(value); - this.SendPropertyChanging(); - this._CH_CheckUnit = value; - this.SendPropertyChanged("CH_CheckUnit"); - this.OnCH_CheckUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - if (this._Project_Installation.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RequestDate", DbType="DateTime")] - public System.Nullable CH_RequestDate - { - get - { - return this._CH_RequestDate; - } - set - { - if ((this._CH_RequestDate != value)) - { - this.OnCH_RequestDateChanging(value); - this.SendPropertyChanging(); - this._CH_RequestDate = value; - this.SendPropertyChanged("CH_RequestDate"); - this.OnCH_RequestDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairItemRecordId", DbType="NVarChar(50)")] - public string RepairItemRecordId - { - get - { - return this._RepairItemRecordId; - } - set - { - if ((this._RepairItemRecordId != value)) - { - this.OnRepairItemRecordIdChanging(value); - this.SendPropertyChanging(); - this._RepairItemRecordId = value; - this.SendPropertyChanged("RepairItemRecordId"); - this.OnRepairItemRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Int")] - public System.Nullable Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this.OnFlagChanging(value); - this.SendPropertyChanging(); - this._Flag = value; - this.SendPropertyChanged("Flag"); - this.OnFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Record_Printer", DbType="NVarChar(50)")] - public string Record_Printer - { - get - { - return this._Record_Printer; - } - set - { - if ((this._Record_Printer != value)) - { - this.OnRecord_PrinterChanging(value); - this.SendPropertyChanging(); - this._Record_Printer = value; - this.SendPropertyChanged("Record_Printer"); - this.OnRecord_PrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Record_PrintDate", DbType="DateTime")] - public System.Nullable Record_PrintDate - { - get - { - return this._Record_PrintDate; - } - set - { - if ((this._Record_PrintDate != value)) - { - this.OnRecord_PrintDateChanging(value); - this.SendPropertyChanging(); - this._Record_PrintDate = value; - this.SendPropertyChanged("Record_PrintDate"); - this.OnRecord_PrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPushed", DbType="Bit")] - public System.Nullable IsPushed - { - get - { - return this._IsPushed; - } - set - { - if ((this._IsPushed != value)) - { - this.OnIsPushedChanging(value); - this.SendPropertyChanging(); - this._IsPushed = value; - this.SendPropertyChanged("IsPushed"); - this.OnIsPushedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PushedDate", DbType="DateTime")] - public System.Nullable PushedDate - { - get - { - return this._PushedDate; - } - set - { - if ((this._PushedDate != value)) - { - this.OnPushedDateChanging(value); - this.SendPropertyChanging(); - this._PushedDate = value; - this.SendPropertyChanged("PushedDate"); - this.OnPushedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReRecord_Printer", DbType="NVarChar(50)")] - public string ReRecord_Printer - { - get - { - return this._ReRecord_Printer; - } - set - { - if ((this._ReRecord_Printer != value)) - { - this.OnReRecord_PrinterChanging(value); - this.SendPropertyChanging(); - this._ReRecord_Printer = value; - this.SendPropertyChanged("ReRecord_Printer"); - this.OnReRecord_PrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReRecord_PrintDate", DbType="DateTime")] - public System.Nullable ReRecord_PrintDate - { - get - { - return this._ReRecord_PrintDate; - } - set - { - if ((this._ReRecord_PrintDate != value)) - { - this.OnReRecord_PrintDateChanging(value); - this.SendPropertyChanging(); - this._ReRecord_PrintDate = value; - this.SendPropertyChanged("ReRecord_PrintDate"); - this.OnReRecord_PrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Trust_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_CH_Trust.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_CH_Trust.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Trust_HJGL_BO_Batch", Storage="_HJGL_BO_Batch", ThisKey="BatchId", OtherKey="BatchId", IsForeignKey=true)] - public HJGL_BO_Batch HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch.Entity; - } - set - { - HJGL_BO_Batch previousValue = this._HJGL_BO_Batch.Entity; - if (((previousValue != value) - || (this._HJGL_BO_Batch.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BO_Batch.Entity = null; - previousValue.HJGL_CH_Trust.Remove(this); - } - this._HJGL_BO_Batch.Entity = value; - if ((value != null)) - { - value.HJGL_CH_Trust.Add(this); - this._BatchId = value.BatchId; - } - else - { - this._BatchId = default(string); - } - this.SendPropertyChanged("HJGL_BO_Batch"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Trust_Project_Installation", Storage="_Project_Installation", ThisKey="InstallationId", OtherKey="InstallationId", IsForeignKey=true)] - public Project_Installation Project_Installation - { - get - { - return this._Project_Installation.Entity; - } - set - { - Project_Installation previousValue = this._Project_Installation.Entity; - if (((previousValue != value) - || (this._Project_Installation.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Project_Installation.Entity = null; - previousValue.HJGL_CH_Trust.Remove(this); - } - this._Project_Installation.Entity = value; - if ((value != null)) - { - value.HJGL_CH_Trust.Add(this); - this._InstallationId = value.InstallationId; - } - else - { - this._InstallationId = default(string); - } - this.SendPropertyChanged("Project_Installation"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TrustItem_HJGL_CH_Trust", Storage="_HJGL_CH_TrustItem", ThisKey="CH_TrustID", OtherKey="CH_TrustID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_TrustItem - { - get - { - return this._HJGL_CH_TrustItem; - } - set - { - this._HJGL_CH_TrustItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_CH_TrustItem(HJGL_CH_TrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_Trust = this; - } - - private void detach_HJGL_CH_TrustItem(HJGL_CH_TrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_Trust = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_CH_TrustItem")] - public partial class HJGL_CH_TrustItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _CH_TrustItemID; - - private string _CH_TrustID; - - private string _JOT_ID; - - private string _BatchDetailId; - - private string _States; - - private string _CHT_CheckItemId; - - private string _CH_CheckMethod; - - private string _CH_UnitNo; - - private string _CH_CheckResult; - - private string _CH_RepairLocation; - - private string _CH_Remark; - - private string _FeedbackMan; - - private System.Nullable _FeedbackDate; - - private string _ShootMan; - - private string _EquipmentId; - - private System.Nullable _ReportNoticeDate; - - private System.Nullable _ShootDate; - - private System.Nullable _IsPushed; - - private System.Nullable _PushedDate; - - private string _Record_Printer; - - private System.Nullable _Record_PrintDate; - - private System.Nullable _UnableCheck; - - private string _UnableCheckReason; - - private EntitySet _HJGL_BO_QualityRating; - - private EntitySet _HJGL_BO_RepairNotice; - - private EntityRef _HJGL_BO_BatchDetail; - - private EntityRef _HJGL_CH_Trust; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnCH_TrustItemIDChanging(string value); - partial void OnCH_TrustItemIDChanged(); - partial void OnCH_TrustIDChanging(string value); - partial void OnCH_TrustIDChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnBatchDetailIdChanging(string value); - partial void OnBatchDetailIdChanged(); - partial void OnStatesChanging(string value); - partial void OnStatesChanged(); - partial void OnCHT_CheckItemIdChanging(string value); - partial void OnCHT_CheckItemIdChanged(); - partial void OnCH_CheckMethodChanging(string value); - partial void OnCH_CheckMethodChanged(); - partial void OnCH_UnitNoChanging(string value); - partial void OnCH_UnitNoChanged(); - partial void OnCH_CheckResultChanging(string value); - partial void OnCH_CheckResultChanged(); - partial void OnCH_RepairLocationChanging(string value); - partial void OnCH_RepairLocationChanged(); - partial void OnCH_RemarkChanging(string value); - partial void OnCH_RemarkChanged(); - partial void OnFeedbackManChanging(string value); - partial void OnFeedbackManChanged(); - partial void OnFeedbackDateChanging(System.Nullable value); - partial void OnFeedbackDateChanged(); - partial void OnShootManChanging(string value); - partial void OnShootManChanged(); - partial void OnEquipmentIdChanging(string value); - partial void OnEquipmentIdChanged(); - partial void OnReportNoticeDateChanging(System.Nullable value); - partial void OnReportNoticeDateChanged(); - partial void OnShootDateChanging(System.Nullable value); - partial void OnShootDateChanged(); - partial void OnIsPushedChanging(System.Nullable value); - partial void OnIsPushedChanged(); - partial void OnPushedDateChanging(System.Nullable value); - partial void OnPushedDateChanged(); - partial void OnRecord_PrinterChanging(string value); - partial void OnRecord_PrinterChanged(); - partial void OnRecord_PrintDateChanging(System.Nullable value); - partial void OnRecord_PrintDateChanged(); - partial void OnUnableCheckChanging(System.Nullable value); - partial void OnUnableCheckChanged(); - partial void OnUnableCheckReasonChanging(string value); - partial void OnUnableCheckReasonChanged(); - #endregion - - public HJGL_CH_TrustItem() - { - this._HJGL_BO_QualityRating = new EntitySet(new Action(this.attach_HJGL_BO_QualityRating), new Action(this.detach_HJGL_BO_QualityRating)); - this._HJGL_BO_RepairNotice = new EntitySet(new Action(this.attach_HJGL_BO_RepairNotice), new Action(this.detach_HJGL_BO_RepairNotice)); - this._HJGL_BO_BatchDetail = default(EntityRef); - this._HJGL_CH_Trust = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustItemID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string CH_TrustItemID - { - get - { - return this._CH_TrustItemID; - } - set - { - if ((this._CH_TrustItemID != value)) - { - this.OnCH_TrustItemIDChanging(value); - this.SendPropertyChanging(); - this._CH_TrustItemID = value; - this.SendPropertyChanged("CH_TrustItemID"); - this.OnCH_TrustItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustID", DbType="VarChar(50)")] - public string CH_TrustID - { - get - { - return this._CH_TrustID; - } - set - { - if ((this._CH_TrustID != value)) - { - if (this._HJGL_CH_Trust.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCH_TrustIDChanging(value); - this.SendPropertyChanging(); - this._CH_TrustID = value; - this.SendPropertyChanged("CH_TrustID"); - this.OnCH_TrustIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchDetailId", DbType="VarChar(50)")] - public string BatchDetailId - { - get - { - return this._BatchDetailId; - } - set - { - if ((this._BatchDetailId != value)) - { - if (this._HJGL_BO_BatchDetail.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBatchDetailIdChanging(value); - this.SendPropertyChanging(); - this._BatchDetailId = value; - this.SendPropertyChanged("BatchDetailId"); - this.OnBatchDetailIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="NChar(1)")] - public string States - { - get - { - return this._States; - } - set - { - if ((this._States != value)) - { - this.OnStatesChanging(value); - this.SendPropertyChanging(); - this._States = value; - this.SendPropertyChanged("States"); - this.OnStatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHT_CheckItemId", DbType="VarChar(50)")] - public string CHT_CheckItemId - { - get - { - return this._CHT_CheckItemId; - } - set - { - if ((this._CHT_CheckItemId != value)) - { - this.OnCHT_CheckItemIdChanging(value); - this.SendPropertyChanging(); - this._CHT_CheckItemId = value; - this.SendPropertyChanged("CHT_CheckItemId"); - this.OnCHT_CheckItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_CheckMethod", DbType="VarChar(50)")] - public string CH_CheckMethod - { - get - { - return this._CH_CheckMethod; - } - set - { - if ((this._CH_CheckMethod != value)) - { - this.OnCH_CheckMethodChanging(value); - this.SendPropertyChanging(); - this._CH_CheckMethod = value; - this.SendPropertyChanged("CH_CheckMethod"); - this.OnCH_CheckMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_UnitNo", DbType="VarChar(50)")] - public string CH_UnitNo - { - get - { - return this._CH_UnitNo; - } - set - { - if ((this._CH_UnitNo != value)) - { - this.OnCH_UnitNoChanging(value); - this.SendPropertyChanging(); - this._CH_UnitNo = value; - this.SendPropertyChanged("CH_UnitNo"); - this.OnCH_UnitNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_CheckResult", DbType="VarChar(20)")] - public string CH_CheckResult - { - get - { - return this._CH_CheckResult; - } - set - { - if ((this._CH_CheckResult != value)) - { - this.OnCH_CheckResultChanging(value); - this.SendPropertyChanging(); - this._CH_CheckResult = value; - this.SendPropertyChanged("CH_CheckResult"); - this.OnCH_CheckResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairLocation", DbType="VarChar(20)")] - public string CH_RepairLocation - { - get - { - return this._CH_RepairLocation; - } - set - { - if ((this._CH_RepairLocation != value)) - { - this.OnCH_RepairLocationChanging(value); - this.SendPropertyChanging(); - this._CH_RepairLocation = value; - this.SendPropertyChanged("CH_RepairLocation"); - this.OnCH_RepairLocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Remark", DbType="VarChar(100)")] - public string CH_Remark - { - get - { - return this._CH_Remark; - } - set - { - if ((this._CH_Remark != value)) - { - this.OnCH_RemarkChanging(value); - this.SendPropertyChanging(); - this._CH_Remark = value; - this.SendPropertyChanged("CH_Remark"); - this.OnCH_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackMan", DbType="NVarChar(20)")] - public string FeedbackMan - { - get - { - return this._FeedbackMan; - } - set - { - if ((this._FeedbackMan != value)) - { - this.OnFeedbackManChanging(value); - this.SendPropertyChanging(); - this._FeedbackMan = value; - this.SendPropertyChanged("FeedbackMan"); - this.OnFeedbackManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackDate", DbType="DateTime")] - public System.Nullable FeedbackDate - { - get - { - return this._FeedbackDate; - } - set - { - if ((this._FeedbackDate != value)) - { - this.OnFeedbackDateChanging(value); - this.SendPropertyChanging(); - this._FeedbackDate = value; - this.SendPropertyChanged("FeedbackDate"); - this.OnFeedbackDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShootMan", DbType="NVarChar(50)")] - public string ShootMan - { - get - { - return this._ShootMan; - } - set - { - if ((this._ShootMan != value)) - { - this.OnShootManChanging(value); - this.SendPropertyChanging(); - this._ShootMan = value; - this.SendPropertyChanged("ShootMan"); - this.OnShootManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="NVarChar(50)")] - public string EquipmentId - { - get - { - return this._EquipmentId; - } - set - { - if ((this._EquipmentId != value)) - { - this.OnEquipmentIdChanging(value); - this.SendPropertyChanging(); - this._EquipmentId = value; - this.SendPropertyChanged("EquipmentId"); - this.OnEquipmentIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportNoticeDate", DbType="DateTime")] - public System.Nullable ReportNoticeDate - { - get - { - return this._ReportNoticeDate; - } - set - { - if ((this._ReportNoticeDate != value)) - { - this.OnReportNoticeDateChanging(value); - this.SendPropertyChanging(); - this._ReportNoticeDate = value; - this.SendPropertyChanged("ReportNoticeDate"); - this.OnReportNoticeDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShootDate", DbType="DateTime")] - public System.Nullable ShootDate - { - get - { - return this._ShootDate; - } - set - { - if ((this._ShootDate != value)) - { - this.OnShootDateChanging(value); - this.SendPropertyChanging(); - this._ShootDate = value; - this.SendPropertyChanged("ShootDate"); - this.OnShootDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPushed", DbType="Bit")] - public System.Nullable IsPushed - { - get - { - return this._IsPushed; - } - set - { - if ((this._IsPushed != value)) - { - this.OnIsPushedChanging(value); - this.SendPropertyChanging(); - this._IsPushed = value; - this.SendPropertyChanged("IsPushed"); - this.OnIsPushedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PushedDate", DbType="DateTime")] - public System.Nullable PushedDate - { - get - { - return this._PushedDate; - } - set - { - if ((this._PushedDate != value)) - { - this.OnPushedDateChanging(value); - this.SendPropertyChanging(); - this._PushedDate = value; - this.SendPropertyChanged("PushedDate"); - this.OnPushedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Record_Printer", DbType="NVarChar(50)")] - public string Record_Printer - { - get - { - return this._Record_Printer; - } - set - { - if ((this._Record_Printer != value)) - { - this.OnRecord_PrinterChanging(value); - this.SendPropertyChanging(); - this._Record_Printer = value; - this.SendPropertyChanged("Record_Printer"); - this.OnRecord_PrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Record_PrintDate", DbType="DateTime")] - public System.Nullable Record_PrintDate - { - get - { - return this._Record_PrintDate; - } - set - { - if ((this._Record_PrintDate != value)) - { - this.OnRecord_PrintDateChanging(value); - this.SendPropertyChanging(); - this._Record_PrintDate = value; - this.SendPropertyChanged("Record_PrintDate"); - this.OnRecord_PrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnableCheck", DbType="Bit")] - public System.Nullable UnableCheck - { - get - { - return this._UnableCheck; - } - set - { - if ((this._UnableCheck != value)) - { - this.OnUnableCheckChanging(value); - this.SendPropertyChanging(); - this._UnableCheck = value; - this.SendPropertyChanged("UnableCheck"); - this.OnUnableCheckChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnableCheckReason", DbType="NVarChar(100)")] - public string UnableCheckReason - { - get - { - return this._UnableCheckReason; - } - set - { - if ((this._UnableCheckReason != value)) - { - this.OnUnableCheckReasonChanging(value); - this.SendPropertyChanging(); - this._UnableCheckReason = value; - this.SendPropertyChanged("UnableCheckReason"); - this.OnUnableCheckReasonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRating_HJGL_BO_BatchDetail", Storage="_HJGL_BO_QualityRating", ThisKey="CH_TrustItemID", OtherKey="CH_TrustItemID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_QualityRating - { - get - { - return this._HJGL_BO_QualityRating; - } - set - { - this._HJGL_BO_QualityRating.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_RepairNotice_HJGL_BO_BatchDetail", Storage="_HJGL_BO_RepairNotice", ThisKey="CH_TrustItemID", OtherKey="CH_TrustItemID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_RepairNotice - { - get - { - return this._HJGL_BO_RepairNotice; - } - set - { - this._HJGL_BO_RepairNotice.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TrustItem_HJGL_BO_BatchDetail", Storage="_HJGL_BO_BatchDetail", ThisKey="BatchDetailId", OtherKey="BatchDetailId", IsForeignKey=true)] - public HJGL_BO_BatchDetail HJGL_BO_BatchDetail - { - get - { - return this._HJGL_BO_BatchDetail.Entity; - } - set - { - HJGL_BO_BatchDetail previousValue = this._HJGL_BO_BatchDetail.Entity; - if (((previousValue != value) - || (this._HJGL_BO_BatchDetail.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BO_BatchDetail.Entity = null; - previousValue.HJGL_CH_TrustItem.Remove(this); - } - this._HJGL_BO_BatchDetail.Entity = value; - if ((value != null)) - { - value.HJGL_CH_TrustItem.Add(this); - this._BatchDetailId = value.BatchDetailId; - } - else - { - this._BatchDetailId = default(string); - } - this.SendPropertyChanged("HJGL_BO_BatchDetail"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TrustItem_HJGL_CH_Trust", Storage="_HJGL_CH_Trust", ThisKey="CH_TrustID", OtherKey="CH_TrustID", IsForeignKey=true)] - public HJGL_CH_Trust HJGL_CH_Trust - { - get - { - return this._HJGL_CH_Trust.Entity; - } - set - { - HJGL_CH_Trust previousValue = this._HJGL_CH_Trust.Entity; - if (((previousValue != value) - || (this._HJGL_CH_Trust.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_Trust.Entity = null; - previousValue.HJGL_CH_TrustItem.Remove(this); - } - this._HJGL_CH_Trust.Entity = value; - if ((value != null)) - { - value.HJGL_CH_TrustItem.Add(this); - this._CH_TrustID = value.CH_TrustID; - } - else - { - this._CH_TrustID = default(string); - } - this.SendPropertyChanged("HJGL_CH_Trust"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TrustItem_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_CH_TrustItem.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_CH_TrustItem.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_QualityRating(HJGL_BO_QualityRating entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_TrustItem = this; - } - - private void detach_HJGL_BO_QualityRating(HJGL_BO_QualityRating entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_TrustItem = null; - } - - private void attach_HJGL_BO_RepairNotice(HJGL_BO_RepairNotice entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_TrustItem = this; - } - - private void detach_HJGL_BO_RepairNotice(HJGL_BO_RepairNotice entity) - { - this.SendPropertyChanging(); - entity.HJGL_CH_TrustItem = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_ElectrodeBake")] - public partial class HJGL_ElectrodeBake : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ElectrodeID; - - private string _ElectrodeCode; - - private System.Nullable _ElectrodeDate; - - private string _UnitId; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _ProjectId; - - private string _EType; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_User; - - private EntitySet _HJGL_ElectrodeBakeItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnElectrodeIDChanging(string value); - partial void OnElectrodeIDChanged(); - partial void OnElectrodeCodeChanging(string value); - partial void OnElectrodeCodeChanged(); - partial void OnElectrodeDateChanging(System.Nullable value); - partial void OnElectrodeDateChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnETypeChanging(string value); - partial void OnETypeChanged(); - #endregion - - public HJGL_ElectrodeBake() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Sys_User = default(EntityRef); - this._HJGL_ElectrodeBakeItem = new EntitySet(new Action(this.attach_HJGL_ElectrodeBakeItem), new Action(this.detach_HJGL_ElectrodeBakeItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ElectrodeID - { - get - { - return this._ElectrodeID; - } - set - { - if ((this._ElectrodeID != value)) - { - this.OnElectrodeIDChanging(value); - this.SendPropertyChanging(); - this._ElectrodeID = value; - this.SendPropertyChanged("ElectrodeID"); - this.OnElectrodeIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeCode", DbType="NVarChar(50)")] - public string ElectrodeCode - { - get - { - return this._ElectrodeCode; - } - set - { - if ((this._ElectrodeCode != value)) - { - this.OnElectrodeCodeChanging(value); - this.SendPropertyChanging(); - this._ElectrodeCode = value; - this.SendPropertyChanged("ElectrodeCode"); - this.OnElectrodeCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeDate", DbType="DateTime")] - public System.Nullable ElectrodeDate - { - get - { - return this._ElectrodeDate; - } - set - { - if ((this._ElectrodeDate != value)) - { - this.OnElectrodeDateChanging(value); - this.SendPropertyChanging(); - this._ElectrodeDate = value; - this.SendPropertyChanged("ElectrodeDate"); - this.OnElectrodeDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EType", DbType="Char(1)")] - public string EType - { - get - { - return this._EType; - } - set - { - if ((this._EType != value)) - { - this.OnETypeChanging(value); - this.SendPropertyChanging(); - this._EType = value; - this.SendPropertyChanged("EType"); - this.OnETypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeBake_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_ElectrodeBake.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeBake.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeBake_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_ElectrodeBake.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeBake.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeBake_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_ElectrodeBake.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeBake.Add(this); - this._CompileMan = value.UserId; - } - else - { - this._CompileMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeBakeItem_HJGL_ElectrodeBake", Storage="_HJGL_ElectrodeBakeItem", ThisKey="ElectrodeID", OtherKey="ElectrodeID", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeBakeItem - { - get - { - return this._HJGL_ElectrodeBakeItem; - } - set - { - this._HJGL_ElectrodeBakeItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_ElectrodeBakeItem(HJGL_ElectrodeBakeItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_ElectrodeBake = this; - } - - private void detach_HJGL_ElectrodeBakeItem(HJGL_ElectrodeBakeItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_ElectrodeBake = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_ElectrodeBakeItem")] - public partial class HJGL_ElectrodeBakeItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ElectrodeItemID; - - private string _ElectrodeID; - - private string _CardCode; - - private string _BatchCode; - - private string _InLibCode; - - private string _Specifications; - - private System.Nullable _ElectrodeCount; - - private System.Nullable _OvenElectricHours; - - private System.Nullable _OvenElectricMinute; - - private System.Nullable _OvenElectricTemperature; - - private System.Nullable _ConstantTemperature; - - private System.Nullable _ConstantStartHours; - - private System.Nullable _ConstantStartMinute; - - private System.Nullable _ConstantEndHours; - - private System.Nullable _ConstantEndMinute; - - private System.Nullable _MoveInBoxHours; - - private System.Nullable _MoveInBoxMinute; - - private System.Nullable _MoveInTemperature; - - private System.Nullable _BakeNumber; - - private string _BakeHead; - - private string _ElectrodeModel; - - private EntityRef _HJGL_ElectrodeBake; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnElectrodeItemIDChanging(string value); - partial void OnElectrodeItemIDChanged(); - partial void OnElectrodeIDChanging(string value); - partial void OnElectrodeIDChanged(); - partial void OnCardCodeChanging(string value); - partial void OnCardCodeChanged(); - partial void OnBatchCodeChanging(string value); - partial void OnBatchCodeChanged(); - partial void OnInLibCodeChanging(string value); - partial void OnInLibCodeChanged(); - partial void OnSpecificationsChanging(string value); - partial void OnSpecificationsChanged(); - partial void OnElectrodeCountChanging(System.Nullable value); - partial void OnElectrodeCountChanged(); - partial void OnOvenElectricHoursChanging(System.Nullable value); - partial void OnOvenElectricHoursChanged(); - partial void OnOvenElectricMinuteChanging(System.Nullable value); - partial void OnOvenElectricMinuteChanged(); - partial void OnOvenElectricTemperatureChanging(System.Nullable value); - partial void OnOvenElectricTemperatureChanged(); - partial void OnConstantTemperatureChanging(System.Nullable value); - partial void OnConstantTemperatureChanged(); - partial void OnConstantStartHoursChanging(System.Nullable value); - partial void OnConstantStartHoursChanged(); - partial void OnConstantStartMinuteChanging(System.Nullable value); - partial void OnConstantStartMinuteChanged(); - partial void OnConstantEndHoursChanging(System.Nullable value); - partial void OnConstantEndHoursChanged(); - partial void OnConstantEndMinuteChanging(System.Nullable value); - partial void OnConstantEndMinuteChanged(); - partial void OnMoveInBoxHoursChanging(System.Nullable value); - partial void OnMoveInBoxHoursChanged(); - partial void OnMoveInBoxMinuteChanging(System.Nullable value); - partial void OnMoveInBoxMinuteChanged(); - partial void OnMoveInTemperatureChanging(System.Nullable value); - partial void OnMoveInTemperatureChanged(); - partial void OnBakeNumberChanging(System.Nullable value); - partial void OnBakeNumberChanged(); - partial void OnBakeHeadChanging(string value); - partial void OnBakeHeadChanged(); - partial void OnElectrodeModelChanging(string value); - partial void OnElectrodeModelChanged(); - #endregion - - public HJGL_ElectrodeBakeItem() - { - this._HJGL_ElectrodeBake = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeItemID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ElectrodeItemID - { - get - { - return this._ElectrodeItemID; - } - set - { - if ((this._ElectrodeItemID != value)) - { - this.OnElectrodeItemIDChanging(value); - this.SendPropertyChanging(); - this._ElectrodeItemID = value; - this.SendPropertyChanged("ElectrodeItemID"); - this.OnElectrodeItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeID", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ElectrodeID - { - get - { - return this._ElectrodeID; - } - set - { - if ((this._ElectrodeID != value)) - { - if (this._HJGL_ElectrodeBake.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnElectrodeIDChanging(value); - this.SendPropertyChanging(); - this._ElectrodeID = value; - this.SendPropertyChanged("ElectrodeID"); - this.OnElectrodeIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CardCode", DbType="NVarChar(30)")] - public string CardCode - { - get - { - return this._CardCode; - } - set - { - if ((this._CardCode != value)) - { - this.OnCardCodeChanging(value); - this.SendPropertyChanging(); - this._CardCode = value; - this.SendPropertyChanged("CardCode"); - this.OnCardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(30)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this.OnBatchCodeChanging(value); - this.SendPropertyChanging(); - this._BatchCode = value; - this.SendPropertyChanged("BatchCode"); - this.OnBatchCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InLibCode", DbType="NVarChar(30)")] - public string InLibCode - { - get - { - return this._InLibCode; - } - set - { - if ((this._InLibCode != value)) - { - this.OnInLibCodeChanging(value); - this.SendPropertyChanging(); - this._InLibCode = value; - this.SendPropertyChanged("InLibCode"); - this.OnInLibCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(50)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this.OnSpecificationsChanging(value); - this.SendPropertyChanging(); - this._Specifications = value; - this.SendPropertyChanged("Specifications"); - this.OnSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeCount", DbType="Int")] - public System.Nullable ElectrodeCount - { - get - { - return this._ElectrodeCount; - } - set - { - if ((this._ElectrodeCount != value)) - { - this.OnElectrodeCountChanging(value); - this.SendPropertyChanging(); - this._ElectrodeCount = value; - this.SendPropertyChanged("ElectrodeCount"); - this.OnElectrodeCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OvenElectricHours", DbType="Int")] - public System.Nullable OvenElectricHours - { - get - { - return this._OvenElectricHours; - } - set - { - if ((this._OvenElectricHours != value)) - { - this.OnOvenElectricHoursChanging(value); - this.SendPropertyChanging(); - this._OvenElectricHours = value; - this.SendPropertyChanged("OvenElectricHours"); - this.OnOvenElectricHoursChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OvenElectricMinute", DbType="Int")] - public System.Nullable OvenElectricMinute - { - get - { - return this._OvenElectricMinute; - } - set - { - if ((this._OvenElectricMinute != value)) - { - this.OnOvenElectricMinuteChanging(value); - this.SendPropertyChanging(); - this._OvenElectricMinute = value; - this.SendPropertyChanged("OvenElectricMinute"); - this.OnOvenElectricMinuteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OvenElectricTemperature", DbType="Int")] - public System.Nullable OvenElectricTemperature - { - get - { - return this._OvenElectricTemperature; - } - set - { - if ((this._OvenElectricTemperature != value)) - { - this.OnOvenElectricTemperatureChanging(value); - this.SendPropertyChanging(); - this._OvenElectricTemperature = value; - this.SendPropertyChanged("OvenElectricTemperature"); - this.OnOvenElectricTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstantTemperature", DbType="Int")] - public System.Nullable ConstantTemperature - { - get - { - return this._ConstantTemperature; - } - set - { - if ((this._ConstantTemperature != value)) - { - this.OnConstantTemperatureChanging(value); - this.SendPropertyChanging(); - this._ConstantTemperature = value; - this.SendPropertyChanged("ConstantTemperature"); - this.OnConstantTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstantStartHours", DbType="Int")] - public System.Nullable ConstantStartHours - { - get - { - return this._ConstantStartHours; - } - set - { - if ((this._ConstantStartHours != value)) - { - this.OnConstantStartHoursChanging(value); - this.SendPropertyChanging(); - this._ConstantStartHours = value; - this.SendPropertyChanged("ConstantStartHours"); - this.OnConstantStartHoursChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstantStartMinute", DbType="Int")] - public System.Nullable ConstantStartMinute - { - get - { - return this._ConstantStartMinute; - } - set - { - if ((this._ConstantStartMinute != value)) - { - this.OnConstantStartMinuteChanging(value); - this.SendPropertyChanging(); - this._ConstantStartMinute = value; - this.SendPropertyChanged("ConstantStartMinute"); - this.OnConstantStartMinuteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstantEndHours", DbType="Int")] - public System.Nullable ConstantEndHours - { - get - { - return this._ConstantEndHours; - } - set - { - if ((this._ConstantEndHours != value)) - { - this.OnConstantEndHoursChanging(value); - this.SendPropertyChanging(); - this._ConstantEndHours = value; - this.SendPropertyChanged("ConstantEndHours"); - this.OnConstantEndHoursChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstantEndMinute", DbType="Int")] - public System.Nullable ConstantEndMinute - { - get - { - return this._ConstantEndMinute; - } - set - { - if ((this._ConstantEndMinute != value)) - { - this.OnConstantEndMinuteChanging(value); - this.SendPropertyChanging(); - this._ConstantEndMinute = value; - this.SendPropertyChanged("ConstantEndMinute"); - this.OnConstantEndMinuteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MoveInBoxHours", DbType="Int")] - public System.Nullable MoveInBoxHours - { - get - { - return this._MoveInBoxHours; - } - set - { - if ((this._MoveInBoxHours != value)) - { - this.OnMoveInBoxHoursChanging(value); - this.SendPropertyChanging(); - this._MoveInBoxHours = value; - this.SendPropertyChanged("MoveInBoxHours"); - this.OnMoveInBoxHoursChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MoveInBoxMinute", DbType="Int")] - public System.Nullable MoveInBoxMinute - { - get - { - return this._MoveInBoxMinute; - } - set - { - if ((this._MoveInBoxMinute != value)) - { - this.OnMoveInBoxMinuteChanging(value); - this.SendPropertyChanging(); - this._MoveInBoxMinute = value; - this.SendPropertyChanged("MoveInBoxMinute"); - this.OnMoveInBoxMinuteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MoveInTemperature", DbType="Int")] - public System.Nullable MoveInTemperature - { - get - { - return this._MoveInTemperature; - } - set - { - if ((this._MoveInTemperature != value)) - { - this.OnMoveInTemperatureChanging(value); - this.SendPropertyChanging(); - this._MoveInTemperature = value; - this.SendPropertyChanged("MoveInTemperature"); - this.OnMoveInTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakeNumber", DbType="Int")] - public System.Nullable BakeNumber - { - get - { - return this._BakeNumber; - } - set - { - if ((this._BakeNumber != value)) - { - this.OnBakeNumberChanging(value); - this.SendPropertyChanging(); - this._BakeNumber = value; - this.SendPropertyChanged("BakeNumber"); - this.OnBakeNumberChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakeHead", DbType="NVarChar(30)")] - public string BakeHead - { - get - { - return this._BakeHead; - } - set - { - if ((this._BakeHead != value)) - { - this.OnBakeHeadChanging(value); - this.SendPropertyChanging(); - this._BakeHead = value; - this.SendPropertyChanged("BakeHead"); - this.OnBakeHeadChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeModel", DbType="NVarChar(50)")] - public string ElectrodeModel - { - get - { - return this._ElectrodeModel; - } - set - { - if ((this._ElectrodeModel != value)) - { - this.OnElectrodeModelChanging(value); - this.SendPropertyChanging(); - this._ElectrodeModel = value; - this.SendPropertyChanged("ElectrodeModel"); - this.OnElectrodeModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeBakeItem_HJGL_ElectrodeBake", Storage="_HJGL_ElectrodeBake", ThisKey="ElectrodeID", OtherKey="ElectrodeID", IsForeignKey=true)] - public HJGL_ElectrodeBake HJGL_ElectrodeBake - { - get - { - return this._HJGL_ElectrodeBake.Entity; - } - set - { - HJGL_ElectrodeBake previousValue = this._HJGL_ElectrodeBake.Entity; - if (((previousValue != value) - || (this._HJGL_ElectrodeBake.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_ElectrodeBake.Entity = null; - previousValue.HJGL_ElectrodeBakeItem.Remove(this); - } - this._HJGL_ElectrodeBake.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeBakeItem.Add(this); - this._ElectrodeID = value.ElectrodeID; - } - else - { - this._ElectrodeID = default(string); - } - this.SendPropertyChanged("HJGL_ElectrodeBake"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_ElectrodeRecovery")] - public partial class HJGL_ElectrodeRecovery : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ElectrodeRecoveryId; - - private string _ElectrodeRecoveryCode; - - private System.DateTime _ElectrodeRecoveryDate; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _ProjectId; - - private string _UnitId; - - private string _AuditMan; - - private System.Nullable _AuditDate; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_User; - - private EntityRef _AuditManSys_User; - - private EntitySet _HJGL_ElectrodeRecoveryItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnElectrodeRecoveryIdChanging(string value); - partial void OnElectrodeRecoveryIdChanged(); - partial void OnElectrodeRecoveryCodeChanging(string value); - partial void OnElectrodeRecoveryCodeChanged(); - partial void OnElectrodeRecoveryDateChanging(System.DateTime value); - partial void OnElectrodeRecoveryDateChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnAuditManChanging(string value); - partial void OnAuditManChanged(); - partial void OnAuditDateChanging(System.Nullable value); - partial void OnAuditDateChanged(); - #endregion - - public HJGL_ElectrodeRecovery() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Sys_User = default(EntityRef); - this._AuditManSys_User = default(EntityRef); - this._HJGL_ElectrodeRecoveryItem = new EntitySet(new Action(this.attach_HJGL_ElectrodeRecoveryItem), new Action(this.detach_HJGL_ElectrodeRecoveryItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeRecoveryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ElectrodeRecoveryId - { - get - { - return this._ElectrodeRecoveryId; - } - set - { - if ((this._ElectrodeRecoveryId != value)) - { - this.OnElectrodeRecoveryIdChanging(value); - this.SendPropertyChanging(); - this._ElectrodeRecoveryId = value; - this.SendPropertyChanged("ElectrodeRecoveryId"); - this.OnElectrodeRecoveryIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeRecoveryCode", DbType="NVarChar(50)")] - public string ElectrodeRecoveryCode - { - get - { - return this._ElectrodeRecoveryCode; - } - set - { - if ((this._ElectrodeRecoveryCode != value)) - { - this.OnElectrodeRecoveryCodeChanging(value); - this.SendPropertyChanging(); - this._ElectrodeRecoveryCode = value; - this.SendPropertyChanged("ElectrodeRecoveryCode"); - this.OnElectrodeRecoveryCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeRecoveryDate", DbType="DateTime NOT NULL")] - public System.DateTime ElectrodeRecoveryDate - { - get - { - return this._ElectrodeRecoveryDate; - } - set - { - if ((this._ElectrodeRecoveryDate != value)) - { - this.OnElectrodeRecoveryDateChanging(value); - this.SendPropertyChanging(); - this._ElectrodeRecoveryDate = value; - this.SendPropertyChanged("ElectrodeRecoveryDate"); - this.OnElectrodeRecoveryDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")] - public string AuditMan - { - get - { - return this._AuditMan; - } - set - { - if ((this._AuditMan != value)) - { - if (this._AuditManSys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnAuditManChanging(value); - this.SendPropertyChanging(); - this._AuditMan = value; - this.SendPropertyChanged("AuditMan"); - this.OnAuditManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditDate", DbType="DateTime")] - public System.Nullable AuditDate - { - get - { - return this._AuditDate; - } - set - { - if ((this._AuditDate != value)) - { - this.OnAuditDateChanging(value); - this.SendPropertyChanging(); - this._AuditDate = value; - this.SendPropertyChanged("AuditDate"); - this.OnAuditDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecovery_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_ElectrodeRecovery.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeRecovery.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecovery_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_ElectrodeRecovery.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeRecovery.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecovery_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_ElectrodeRecovery.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeRecovery.Add(this); - this._CompileMan = value.UserId; - } - else - { - this._CompileMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecovery_Sys_User1", Storage="_AuditManSys_User", ThisKey="AuditMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User AuditManSys_User - { - get - { - return this._AuditManSys_User.Entity; - } - set - { - Sys_User previousValue = this._AuditManSys_User.Entity; - if (((previousValue != value) - || (this._AuditManSys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._AuditManSys_User.Entity = null; - previousValue.HJGL_ElectrodeRecovery_Sys_User1.Remove(this); - } - this._AuditManSys_User.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeRecovery_Sys_User1.Add(this); - this._AuditMan = value.UserId; - } - else - { - this._AuditMan = default(string); - } - this.SendPropertyChanged("AuditManSys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecoveryItem_HJGL_ElectrodeRecovery", Storage="_HJGL_ElectrodeRecoveryItem", ThisKey="ElectrodeRecoveryId", OtherKey="ElectrodeRecoveryId", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeRecoveryItem - { - get - { - return this._HJGL_ElectrodeRecoveryItem; - } - set - { - this._HJGL_ElectrodeRecoveryItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_ElectrodeRecoveryItem(HJGL_ElectrodeRecoveryItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_ElectrodeRecovery = this; - } - - private void detach_HJGL_ElectrodeRecoveryItem(HJGL_ElectrodeRecoveryItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_ElectrodeRecovery = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_ElectrodeRecoveryItem")] - public partial class HJGL_ElectrodeRecoveryItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ElectrodeRecoveryItemID; - - private string _ElectrodeRecoveryId; - - private string _ElectrodeGrade; - - private string _BatchNumber; - - private string _InLibCode; - - private string _Specifications; - - private string _WelderCode; - - private string _UseSite; - - private string _WeldingMaterial; - - private System.Nullable _RecipientsCount; - - private System.Nullable _RecoveryCount; - - private string _GrantMan; - - private string _ElectrodeRecoveryModel; - - private string _WMT_ID; - - private EntityRef _HJGL_ElectrodeRecovery; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnElectrodeRecoveryItemIDChanging(string value); - partial void OnElectrodeRecoveryItemIDChanged(); - partial void OnElectrodeRecoveryIdChanging(string value); - partial void OnElectrodeRecoveryIdChanged(); - partial void OnElectrodeGradeChanging(string value); - partial void OnElectrodeGradeChanged(); - partial void OnBatchNumberChanging(string value); - partial void OnBatchNumberChanged(); - partial void OnInLibCodeChanging(string value); - partial void OnInLibCodeChanged(); - partial void OnSpecificationsChanging(string value); - partial void OnSpecificationsChanged(); - partial void OnWelderCodeChanging(string value); - partial void OnWelderCodeChanged(); - partial void OnUseSiteChanging(string value); - partial void OnUseSiteChanged(); - partial void OnWeldingMaterialChanging(string value); - partial void OnWeldingMaterialChanged(); - partial void OnRecipientsCountChanging(System.Nullable value); - partial void OnRecipientsCountChanged(); - partial void OnRecoveryCountChanging(System.Nullable value); - partial void OnRecoveryCountChanged(); - partial void OnGrantManChanging(string value); - partial void OnGrantManChanged(); - partial void OnElectrodeRecoveryModelChanging(string value); - partial void OnElectrodeRecoveryModelChanged(); - partial void OnWMT_IDChanging(string value); - partial void OnWMT_IDChanged(); - #endregion - - public HJGL_ElectrodeRecoveryItem() - { - this._HJGL_ElectrodeRecovery = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeRecoveryItemID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ElectrodeRecoveryItemID - { - get - { - return this._ElectrodeRecoveryItemID; - } - set - { - if ((this._ElectrodeRecoveryItemID != value)) - { - this.OnElectrodeRecoveryItemIDChanging(value); - this.SendPropertyChanging(); - this._ElectrodeRecoveryItemID = value; - this.SendPropertyChanged("ElectrodeRecoveryItemID"); - this.OnElectrodeRecoveryItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeRecoveryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ElectrodeRecoveryId - { - get - { - return this._ElectrodeRecoveryId; - } - set - { - if ((this._ElectrodeRecoveryId != value)) - { - if (this._HJGL_ElectrodeRecovery.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnElectrodeRecoveryIdChanging(value); - this.SendPropertyChanging(); - this._ElectrodeRecoveryId = value; - this.SendPropertyChanged("ElectrodeRecoveryId"); - this.OnElectrodeRecoveryIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeGrade", DbType="NVarChar(50)")] - public string ElectrodeGrade - { - get - { - return this._ElectrodeGrade; - } - set - { - if ((this._ElectrodeGrade != value)) - { - this.OnElectrodeGradeChanging(value); - this.SendPropertyChanging(); - this._ElectrodeGrade = value; - this.SendPropertyChanged("ElectrodeGrade"); - this.OnElectrodeGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchNumber", DbType="NVarChar(50)")] - public string BatchNumber - { - get - { - return this._BatchNumber; - } - set - { - if ((this._BatchNumber != value)) - { - this.OnBatchNumberChanging(value); - this.SendPropertyChanging(); - this._BatchNumber = value; - this.SendPropertyChanged("BatchNumber"); - this.OnBatchNumberChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InLibCode", DbType="NVarChar(50)")] - public string InLibCode - { - get - { - return this._InLibCode; - } - set - { - if ((this._InLibCode != value)) - { - this.OnInLibCodeChanging(value); - this.SendPropertyChanging(); - this._InLibCode = value; - this.SendPropertyChanged("InLibCode"); - this.OnInLibCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(50)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this.OnSpecificationsChanging(value); - this.SendPropertyChanging(); - this._Specifications = value; - this.SendPropertyChanged("Specifications"); - this.OnSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderCode", DbType="NVarChar(20)")] - public string WelderCode - { - get - { - return this._WelderCode; - } - set - { - if ((this._WelderCode != value)) - { - this.OnWelderCodeChanging(value); - this.SendPropertyChanging(); - this._WelderCode = value; - this.SendPropertyChanged("WelderCode"); - this.OnWelderCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseSite", DbType="NVarChar(50)")] - public string UseSite - { - get - { - return this._UseSite; - } - set - { - if ((this._UseSite != value)) - { - this.OnUseSiteChanging(value); - this.SendPropertyChanging(); - this._UseSite = value; - this.SendPropertyChanged("UseSite"); - this.OnUseSiteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingMaterial", DbType="NVarChar(50)")] - public string WeldingMaterial - { - get - { - return this._WeldingMaterial; - } - set - { - if ((this._WeldingMaterial != value)) - { - this.OnWeldingMaterialChanging(value); - this.SendPropertyChanging(); - this._WeldingMaterial = value; - this.SendPropertyChanged("WeldingMaterial"); - this.OnWeldingMaterialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecipientsCount", DbType="Decimal(19,1)")] - public System.Nullable RecipientsCount - { - get - { - return this._RecipientsCount; - } - set - { - if ((this._RecipientsCount != value)) - { - this.OnRecipientsCountChanging(value); - this.SendPropertyChanging(); - this._RecipientsCount = value; - this.SendPropertyChanged("RecipientsCount"); - this.OnRecipientsCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecoveryCount", DbType="Decimal(19,1)")] - public System.Nullable RecoveryCount - { - get - { - return this._RecoveryCount; - } - set - { - if ((this._RecoveryCount != value)) - { - this.OnRecoveryCountChanging(value); - this.SendPropertyChanging(); - this._RecoveryCount = value; - this.SendPropertyChanged("RecoveryCount"); - this.OnRecoveryCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GrantMan", DbType="NVarChar(20)")] - public string GrantMan - { - get - { - return this._GrantMan; - } - set - { - if ((this._GrantMan != value)) - { - this.OnGrantManChanging(value); - this.SendPropertyChanging(); - this._GrantMan = value; - this.SendPropertyChanged("GrantMan"); - this.OnGrantManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectrodeRecoveryModel", DbType="NVarChar(50)")] - public string ElectrodeRecoveryModel - { - get - { - return this._ElectrodeRecoveryModel; - } - set - { - if ((this._ElectrodeRecoveryModel != value)) - { - this.OnElectrodeRecoveryModelChanging(value); - this.SendPropertyChanging(); - this._ElectrodeRecoveryModel = value; - this.SendPropertyChanged("ElectrodeRecoveryModel"); - this.OnElectrodeRecoveryModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_ID", DbType="VarChar(50)")] - public string WMT_ID - { - get - { - return this._WMT_ID; - } - set - { - if ((this._WMT_ID != value)) - { - this.OnWMT_IDChanging(value); - this.SendPropertyChanging(); - this._WMT_ID = value; - this.SendPropertyChanged("WMT_ID"); - this.OnWMT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecoveryItem_HJGL_ElectrodeRecovery", Storage="_HJGL_ElectrodeRecovery", ThisKey="ElectrodeRecoveryId", OtherKey="ElectrodeRecoveryId", IsForeignKey=true)] - public HJGL_ElectrodeRecovery HJGL_ElectrodeRecovery - { - get - { - return this._HJGL_ElectrodeRecovery.Entity; - } - set - { - HJGL_ElectrodeRecovery previousValue = this._HJGL_ElectrodeRecovery.Entity; - if (((previousValue != value) - || (this._HJGL_ElectrodeRecovery.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_ElectrodeRecovery.Entity = null; - previousValue.HJGL_ElectrodeRecoveryItem.Remove(this); - } - this._HJGL_ElectrodeRecovery.Entity = value; - if ((value != null)) - { - value.HJGL_ElectrodeRecoveryItem.Add(this); - this._ElectrodeRecoveryId = value.ElectrodeRecoveryId; - } - else - { - this._ElectrodeRecoveryId = default(string); - } - this.SendPropertyChanged("HJGL_ElectrodeRecovery"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_EMaterialRegist")] - public partial class HJGL_EMaterialRegist : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EMaterialRegistId; - - private string _EMaterialRegistCode; - - private System.Nullable _EMaterialRegistDate; - - private string _DeliveryMan; - - private string _UnitName; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _ProjectId; - - private EntityRef _Base_Project; - - private EntityRef _Sys_User; - - private EntitySet _HJGL_EMaterialRegistItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEMaterialRegistIdChanging(string value); - partial void OnEMaterialRegistIdChanged(); - partial void OnEMaterialRegistCodeChanging(string value); - partial void OnEMaterialRegistCodeChanged(); - partial void OnEMaterialRegistDateChanging(System.Nullable value); - partial void OnEMaterialRegistDateChanged(); - partial void OnDeliveryManChanging(string value); - partial void OnDeliveryManChanged(); - partial void OnUnitNameChanging(string value); - partial void OnUnitNameChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - #endregion - - public HJGL_EMaterialRegist() - { - this._Base_Project = default(EntityRef); - this._Sys_User = default(EntityRef); - this._HJGL_EMaterialRegistItem = new EntitySet(new Action(this.attach_HJGL_EMaterialRegistItem), new Action(this.detach_HJGL_EMaterialRegistItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EMaterialRegistId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EMaterialRegistId - { - get - { - return this._EMaterialRegistId; - } - set - { - if ((this._EMaterialRegistId != value)) - { - this.OnEMaterialRegistIdChanging(value); - this.SendPropertyChanging(); - this._EMaterialRegistId = value; - this.SendPropertyChanged("EMaterialRegistId"); - this.OnEMaterialRegistIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EMaterialRegistCode", DbType="NVarChar(50)")] - public string EMaterialRegistCode - { - get - { - return this._EMaterialRegistCode; - } - set - { - if ((this._EMaterialRegistCode != value)) - { - this.OnEMaterialRegistCodeChanging(value); - this.SendPropertyChanging(); - this._EMaterialRegistCode = value; - this.SendPropertyChanged("EMaterialRegistCode"); - this.OnEMaterialRegistCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EMaterialRegistDate", DbType="DateTime")] - public System.Nullable EMaterialRegistDate - { - get - { - return this._EMaterialRegistDate; - } - set - { - if ((this._EMaterialRegistDate != value)) - { - this.OnEMaterialRegistDateChanging(value); - this.SendPropertyChanging(); - this._EMaterialRegistDate = value; - this.SendPropertyChanged("EMaterialRegistDate"); - this.OnEMaterialRegistDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeliveryMan", DbType="NVarChar(50)")] - public string DeliveryMan - { - get - { - return this._DeliveryMan; - } - set - { - if ((this._DeliveryMan != value)) - { - this.OnDeliveryManChanging(value); - this.SendPropertyChanging(); - this._DeliveryMan = value; - this.SendPropertyChanged("DeliveryMan"); - this.OnDeliveryManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this.OnUnitNameChanging(value); - this.SendPropertyChanging(); - this._UnitName = value; - this.SendPropertyChanged("UnitName"); - this.OnUnitNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMaterialRegist_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_EMaterialRegist.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_EMaterialRegist.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMaterialRegist_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_EMaterialRegist.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_EMaterialRegist.Add(this); - this._CompileMan = value.UserId; - } - else - { - this._CompileMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMaterialRegistItem_HJGL_EMaterialRegist", Storage="_HJGL_EMaterialRegistItem", ThisKey="EMaterialRegistId", OtherKey="EMaterialRegistId", DeleteRule="NO ACTION")] - public EntitySet HJGL_EMaterialRegistItem - { - get - { - return this._HJGL_EMaterialRegistItem; - } - set - { - this._HJGL_EMaterialRegistItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_EMaterialRegistItem(HJGL_EMaterialRegistItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_EMaterialRegist = this; - } - - private void detach_HJGL_EMaterialRegistItem(HJGL_EMaterialRegistItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_EMaterialRegist = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_EMaterialRegistItem")] - public partial class HJGL_EMaterialRegistItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EMaterialRegistItemId; - - private string _EMaterialRegistId; - - private string _WMT_ID; - - private string _SpecificationsModel; - - private string _UnitName; - - private System.Nullable _MaterialCount; - - private string _ItemCode; - - private string _Testrecords; - - private string _Models; - - private EntityRef _HJGL_BS_WeldMaterial; - - private EntityRef _HJGL_EMaterialRegist; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEMaterialRegistItemIdChanging(string value); - partial void OnEMaterialRegistItemIdChanged(); - partial void OnEMaterialRegistIdChanging(string value); - partial void OnEMaterialRegistIdChanged(); - partial void OnWMT_IDChanging(string value); - partial void OnWMT_IDChanged(); - partial void OnSpecificationsModelChanging(string value); - partial void OnSpecificationsModelChanged(); - partial void OnUnitNameChanging(string value); - partial void OnUnitNameChanged(); - partial void OnMaterialCountChanging(System.Nullable value); - partial void OnMaterialCountChanged(); - partial void OnItemCodeChanging(string value); - partial void OnItemCodeChanged(); - partial void OnTestrecordsChanging(string value); - partial void OnTestrecordsChanged(); - partial void OnModelsChanging(string value); - partial void OnModelsChanged(); - #endregion - - public HJGL_EMaterialRegistItem() - { - this._HJGL_BS_WeldMaterial = default(EntityRef); - this._HJGL_EMaterialRegist = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EMaterialRegistItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EMaterialRegistItemId - { - get - { - return this._EMaterialRegistItemId; - } - set - { - if ((this._EMaterialRegistItemId != value)) - { - this.OnEMaterialRegistItemIdChanging(value); - this.SendPropertyChanging(); - this._EMaterialRegistItemId = value; - this.SendPropertyChanged("EMaterialRegistItemId"); - this.OnEMaterialRegistItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EMaterialRegistId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string EMaterialRegistId - { - get - { - return this._EMaterialRegistId; - } - set - { - if ((this._EMaterialRegistId != value)) - { - if (this._HJGL_EMaterialRegist.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEMaterialRegistIdChanging(value); - this.SendPropertyChanging(); - this._EMaterialRegistId = value; - this.SendPropertyChanged("EMaterialRegistId"); - this.OnEMaterialRegistIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_ID", DbType="VarChar(50)")] - public string WMT_ID - { - get - { - return this._WMT_ID; - } - set - { - if ((this._WMT_ID != value)) - { - if (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWMT_IDChanging(value); - this.SendPropertyChanging(); - this._WMT_ID = value; - this.SendPropertyChanged("WMT_ID"); - this.OnWMT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationsModel", DbType="NVarChar(50)")] - public string SpecificationsModel - { - get - { - return this._SpecificationsModel; - } - set - { - if ((this._SpecificationsModel != value)) - { - this.OnSpecificationsModelChanging(value); - this.SendPropertyChanging(); - this._SpecificationsModel = value; - this.SendPropertyChanged("SpecificationsModel"); - this.OnSpecificationsModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this.OnUnitNameChanging(value); - this.SendPropertyChanging(); - this._UnitName = value; - this.SendPropertyChanged("UnitName"); - this.OnUnitNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCount", DbType="Int")] - public System.Nullable MaterialCount - { - get - { - return this._MaterialCount; - } - set - { - if ((this._MaterialCount != value)) - { - this.OnMaterialCountChanging(value); - this.SendPropertyChanging(); - this._MaterialCount = value; - this.SendPropertyChanged("MaterialCount"); - this.OnMaterialCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ItemCode", DbType="NVarChar(50)")] - public string ItemCode - { - get - { - return this._ItemCode; - } - set - { - if ((this._ItemCode != value)) - { - this.OnItemCodeChanging(value); - this.SendPropertyChanging(); - this._ItemCode = value; - this.SendPropertyChanged("ItemCode"); - this.OnItemCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Testrecords", DbType="NVarChar(50)")] - public string Testrecords - { - get - { - return this._Testrecords; - } - set - { - if ((this._Testrecords != value)) - { - this.OnTestrecordsChanging(value); - this.SendPropertyChanging(); - this._Testrecords = value; - this.SendPropertyChanged("Testrecords"); - this.OnTestrecordsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Models", DbType="NVarChar(50)")] - public string Models - { - get - { - return this._Models; - } - set - { - if ((this._Models != value)) - { - this.OnModelsChanging(value); - this.SendPropertyChanging(); - this._Models = value; - this.SendPropertyChanged("Models"); - this.OnModelsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMaterialRegistItem_HJGL_BS_WeldMaterial", Storage="_HJGL_BS_WeldMaterial", ThisKey="WMT_ID", OtherKey="WMT_ID", IsForeignKey=true)] - public HJGL_BS_WeldMaterial HJGL_BS_WeldMaterial - { - get - { - return this._HJGL_BS_WeldMaterial.Entity; - } - set - { - HJGL_BS_WeldMaterial previousValue = this._HJGL_BS_WeldMaterial.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMaterial.Entity = null; - previousValue.HJGL_EMaterialRegistItem.Remove(this); - } - this._HJGL_BS_WeldMaterial.Entity = value; - if ((value != null)) - { - value.HJGL_EMaterialRegistItem.Add(this); - this._WMT_ID = value.WMT_ID; - } - else - { - this._WMT_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMaterial"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMaterialRegistItem_HJGL_EMaterialRegist", Storage="_HJGL_EMaterialRegist", ThisKey="EMaterialRegistId", OtherKey="EMaterialRegistId", IsForeignKey=true)] - public HJGL_EMaterialRegist HJGL_EMaterialRegist - { - get - { - return this._HJGL_EMaterialRegist.Entity; - } - set - { - HJGL_EMaterialRegist previousValue = this._HJGL_EMaterialRegist.Entity; - if (((previousValue != value) - || (this._HJGL_EMaterialRegist.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_EMaterialRegist.Entity = null; - previousValue.HJGL_EMaterialRegistItem.Remove(this); - } - this._HJGL_EMaterialRegist.Entity = value; - if ((value != null)) - { - value.HJGL_EMaterialRegistItem.Add(this); - this._EMaterialRegistId = value.EMaterialRegistId; - } - else - { - this._EMaterialRegistId = default(string); - } - this.SendPropertyChanged("HJGL_EMaterialRegist"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_EMInventoryRecords")] - public partial class HJGL_EMInventoryRecords : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _InventoryId; - - private string _ProjectId; - - private string _WMT_ID; - - private string _Model; - - private string _Specification; - - private System.Nullable _MaterialCount; - - private System.Nullable _UpdateTime; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_BS_WeldMaterial; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnInventoryIdChanging(string value); - partial void OnInventoryIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnWMT_IDChanging(string value); - partial void OnWMT_IDChanged(); - partial void OnModelChanging(string value); - partial void OnModelChanged(); - partial void OnSpecificationChanging(string value); - partial void OnSpecificationChanged(); - partial void OnMaterialCountChanging(System.Nullable value); - partial void OnMaterialCountChanged(); - partial void OnUpdateTimeChanging(System.Nullable value); - partial void OnUpdateTimeChanged(); - #endregion - - public HJGL_EMInventoryRecords() - { - this._Base_Project = default(EntityRef); - this._HJGL_BS_WeldMaterial = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InventoryId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string InventoryId - { - get - { - return this._InventoryId; - } - set - { - if ((this._InventoryId != value)) - { - this.OnInventoryIdChanging(value); - this.SendPropertyChanging(); - this._InventoryId = value; - this.SendPropertyChanged("InventoryId"); - this.OnInventoryIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_ID", DbType="VarChar(50)")] - public string WMT_ID - { - get - { - return this._WMT_ID; - } - set - { - if ((this._WMT_ID != value)) - { - if (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWMT_IDChanging(value); - this.SendPropertyChanging(); - this._WMT_ID = value; - this.SendPropertyChanged("WMT_ID"); - this.OnWMT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Model", DbType="NVarChar(50)")] - public string Model - { - get - { - return this._Model; - } - set - { - if ((this._Model != value)) - { - this.OnModelChanging(value); - this.SendPropertyChanging(); - this._Model = value; - this.SendPropertyChanged("Model"); - this.OnModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specification", DbType="NVarChar(50)")] - public string Specification - { - get - { - return this._Specification; - } - set - { - if ((this._Specification != value)) - { - this.OnSpecificationChanging(value); - this.SendPropertyChanging(); - this._Specification = value; - this.SendPropertyChanged("Specification"); - this.OnSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCount", DbType="Decimal(19,1)")] - public System.Nullable MaterialCount - { - get - { - return this._MaterialCount; - } - set - { - if ((this._MaterialCount != value)) - { - this.OnMaterialCountChanging(value); - this.SendPropertyChanging(); - this._MaterialCount = value; - this.SendPropertyChanged("MaterialCount"); - this.OnMaterialCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpdateTime", DbType="DateTime")] - public System.Nullable UpdateTime - { - get - { - return this._UpdateTime; - } - set - { - if ((this._UpdateTime != value)) - { - this.OnUpdateTimeChanging(value); - this.SendPropertyChanging(); - this._UpdateTime = value; - this.SendPropertyChanged("UpdateTime"); - this.OnUpdateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMInventoryRecords_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_EMInventoryRecords.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_EMInventoryRecords.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMInventoryRecords_HJGL_BS_WeldMaterial", Storage="_HJGL_BS_WeldMaterial", ThisKey="WMT_ID", OtherKey="WMT_ID", IsForeignKey=true)] - public HJGL_BS_WeldMaterial HJGL_BS_WeldMaterial - { - get - { - return this._HJGL_BS_WeldMaterial.Entity; - } - set - { - HJGL_BS_WeldMaterial previousValue = this._HJGL_BS_WeldMaterial.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMaterial.Entity = null; - previousValue.HJGL_EMInventoryRecords.Remove(this); - } - this._HJGL_BS_WeldMaterial.Entity = value; - if ((value != null)) - { - value.HJGL_EMInventoryRecords.Add(this); - this._WMT_ID = value.WMT_ID; - } - else - { - this._WMT_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMaterial"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_EWeldRHRecord")] - public partial class HJGL_EWeldRHRecord : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EWeldRHRecordId; - - private string _EWeldRHRecordCode; - - private System.Nullable _EWeldRHRecordDate; - - private string _UnitId; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _ProjectId; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_User; - - private EntitySet _HJGL_EWeldRHRecordItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEWeldRHRecordIdChanging(string value); - partial void OnEWeldRHRecordIdChanged(); - partial void OnEWeldRHRecordCodeChanging(string value); - partial void OnEWeldRHRecordCodeChanged(); - partial void OnEWeldRHRecordDateChanging(System.Nullable value); - partial void OnEWeldRHRecordDateChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - #endregion - - public HJGL_EWeldRHRecord() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Sys_User = default(EntityRef); - this._HJGL_EWeldRHRecordItem = new EntitySet(new Action(this.attach_HJGL_EWeldRHRecordItem), new Action(this.detach_HJGL_EWeldRHRecordItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EWeldRHRecordId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EWeldRHRecordId - { - get - { - return this._EWeldRHRecordId; - } - set - { - if ((this._EWeldRHRecordId != value)) - { - this.OnEWeldRHRecordIdChanging(value); - this.SendPropertyChanging(); - this._EWeldRHRecordId = value; - this.SendPropertyChanged("EWeldRHRecordId"); - this.OnEWeldRHRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EWeldRHRecordCode", DbType="NVarChar(50)")] - public string EWeldRHRecordCode - { - get - { - return this._EWeldRHRecordCode; - } - set - { - if ((this._EWeldRHRecordCode != value)) - { - this.OnEWeldRHRecordCodeChanging(value); - this.SendPropertyChanging(); - this._EWeldRHRecordCode = value; - this.SendPropertyChanged("EWeldRHRecordCode"); - this.OnEWeldRHRecordCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EWeldRHRecordDate", DbType="DateTime")] - public System.Nullable EWeldRHRecordDate - { - get - { - return this._EWeldRHRecordDate; - } - set - { - if ((this._EWeldRHRecordDate != value)) - { - this.OnEWeldRHRecordDateChanging(value); - this.SendPropertyChanging(); - this._EWeldRHRecordDate = value; - this.SendPropertyChanged("EWeldRHRecordDate"); - this.OnEWeldRHRecordDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EWeldRHRecord_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_EWeldRHRecord.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_EWeldRHRecord.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EWeldRHRecord_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_EWeldRHRecord.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_EWeldRHRecord.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EWeldRHRecord_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_EWeldRHRecord.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_EWeldRHRecord.Add(this); - this._CompileMan = value.UserId; - } - else - { - this._CompileMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EWeldRHRecordItem_HJGL_EWeldRHRecordItem", Storage="_HJGL_EWeldRHRecordItem", ThisKey="EWeldRHRecordId", OtherKey="EWeldRHRecordId", DeleteRule="NO ACTION")] - public EntitySet HJGL_EWeldRHRecordItem - { - get - { - return this._HJGL_EWeldRHRecordItem; - } - set - { - this._HJGL_EWeldRHRecordItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_EWeldRHRecordItem(HJGL_EWeldRHRecordItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_EWeldRHRecord = this; - } - - private void detach_HJGL_EWeldRHRecordItem(HJGL_EWeldRHRecordItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_EWeldRHRecord = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_EWeldRHRecordItem")] - public partial class HJGL_EWeldRHRecordItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _EWeldRHRecordItemId; - - private string _EWeldRHRecordId; - - private System.Nullable _EWeldRHRecordMonth; - - private System.Nullable _EWeldRHRecordDay; - - private System.Nullable _EWeldRHRecordHours; - - private System.Nullable _RoomTemperature; - - private System.Nullable _Humidity; - - private string _RecordMan; - - private string _Remark; - - private EntityRef _HJGL_EWeldRHRecord; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnEWeldRHRecordItemIdChanging(string value); - partial void OnEWeldRHRecordItemIdChanged(); - partial void OnEWeldRHRecordIdChanging(string value); - partial void OnEWeldRHRecordIdChanged(); - partial void OnEWeldRHRecordMonthChanging(System.Nullable value); - partial void OnEWeldRHRecordMonthChanged(); - partial void OnEWeldRHRecordDayChanging(System.Nullable value); - partial void OnEWeldRHRecordDayChanged(); - partial void OnEWeldRHRecordHoursChanging(System.Nullable value); - partial void OnEWeldRHRecordHoursChanged(); - partial void OnRoomTemperatureChanging(System.Nullable value); - partial void OnRoomTemperatureChanged(); - partial void OnHumidityChanging(System.Nullable value); - partial void OnHumidityChanged(); - partial void OnRecordManChanging(string value); - partial void OnRecordManChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_EWeldRHRecordItem() - { - this._HJGL_EWeldRHRecord = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EWeldRHRecordItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string EWeldRHRecordItemId - { - get - { - return this._EWeldRHRecordItemId; - } - set - { - if ((this._EWeldRHRecordItemId != value)) - { - this.OnEWeldRHRecordItemIdChanging(value); - this.SendPropertyChanging(); - this._EWeldRHRecordItemId = value; - this.SendPropertyChanged("EWeldRHRecordItemId"); - this.OnEWeldRHRecordItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EWeldRHRecordId", DbType="NVarChar(50)")] - public string EWeldRHRecordId - { - get - { - return this._EWeldRHRecordId; - } - set - { - if ((this._EWeldRHRecordId != value)) - { - if (this._HJGL_EWeldRHRecord.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnEWeldRHRecordIdChanging(value); - this.SendPropertyChanging(); - this._EWeldRHRecordId = value; - this.SendPropertyChanged("EWeldRHRecordId"); - this.OnEWeldRHRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EWeldRHRecordMonth", DbType="Int")] - public System.Nullable EWeldRHRecordMonth - { - get - { - return this._EWeldRHRecordMonth; - } - set - { - if ((this._EWeldRHRecordMonth != value)) - { - this.OnEWeldRHRecordMonthChanging(value); - this.SendPropertyChanging(); - this._EWeldRHRecordMonth = value; - this.SendPropertyChanged("EWeldRHRecordMonth"); - this.OnEWeldRHRecordMonthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EWeldRHRecordDay", DbType="Int")] - public System.Nullable EWeldRHRecordDay - { - get - { - return this._EWeldRHRecordDay; - } - set - { - if ((this._EWeldRHRecordDay != value)) - { - this.OnEWeldRHRecordDayChanging(value); - this.SendPropertyChanging(); - this._EWeldRHRecordDay = value; - this.SendPropertyChanged("EWeldRHRecordDay"); - this.OnEWeldRHRecordDayChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EWeldRHRecordHours", DbType="Int")] - public System.Nullable EWeldRHRecordHours - { - get - { - return this._EWeldRHRecordHours; - } - set - { - if ((this._EWeldRHRecordHours != value)) - { - this.OnEWeldRHRecordHoursChanging(value); - this.SendPropertyChanging(); - this._EWeldRHRecordHours = value; - this.SendPropertyChanged("EWeldRHRecordHours"); - this.OnEWeldRHRecordHoursChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoomTemperature", DbType="Decimal(18,4)")] - public System.Nullable RoomTemperature - { - get - { - return this._RoomTemperature; - } - set - { - if ((this._RoomTemperature != value)) - { - this.OnRoomTemperatureChanging(value); - this.SendPropertyChanging(); - this._RoomTemperature = value; - this.SendPropertyChanged("RoomTemperature"); - this.OnRoomTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Humidity", DbType="Decimal(18,4)")] - public System.Nullable Humidity - { - get - { - return this._Humidity; - } - set - { - if ((this._Humidity != value)) - { - this.OnHumidityChanging(value); - this.SendPropertyChanging(); - this._Humidity = value; - this.SendPropertyChanged("Humidity"); - this.OnHumidityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordMan", DbType="NVarChar(50)")] - public string RecordMan - { - get - { - return this._RecordMan; - } - set - { - if ((this._RecordMan != value)) - { - this.OnRecordManChanging(value); - this.SendPropertyChanging(); - this._RecordMan = value; - this.SendPropertyChanged("RecordMan"); - this.OnRecordManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EWeldRHRecordItem_HJGL_EWeldRHRecordItem", Storage="_HJGL_EWeldRHRecord", ThisKey="EWeldRHRecordId", OtherKey="EWeldRHRecordId", IsForeignKey=true)] - public HJGL_EWeldRHRecord HJGL_EWeldRHRecord - { - get - { - return this._HJGL_EWeldRHRecord.Entity; - } - set - { - HJGL_EWeldRHRecord previousValue = this._HJGL_EWeldRHRecord.Entity; - if (((previousValue != value) - || (this._HJGL_EWeldRHRecord.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_EWeldRHRecord.Entity = null; - previousValue.HJGL_EWeldRHRecordItem.Remove(this); - } - this._HJGL_EWeldRHRecord.Entity = value; - if ((value != null)) - { - value.HJGL_EWeldRHRecordItem.Add(this); - this._EWeldRHRecordId = value.EWeldRHRecordId; - } - else - { - this._EWeldRHRecordId = default(string); - } - this.SendPropertyChanged("HJGL_EWeldRHRecord"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_FileControl_CompanyStandards")] - public partial class HJGL_FileControl_CompanyStandards : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _CompanyStandardsId; - - private string _CompanyStandardsCode; - - private string _CompanyStandardsName; - - private string _Summary; - - private string _AttachUrl; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _Remarks; - - private string _Abstract; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnCompanyStandardsIdChanging(string value); - partial void OnCompanyStandardsIdChanged(); - partial void OnCompanyStandardsCodeChanging(string value); - partial void OnCompanyStandardsCodeChanged(); - partial void OnCompanyStandardsNameChanging(string value); - partial void OnCompanyStandardsNameChanged(); - partial void OnSummaryChanging(string value); - partial void OnSummaryChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnRemarksChanging(string value); - partial void OnRemarksChanged(); - partial void OnAbstractChanging(string value); - partial void OnAbstractChanged(); - #endregion - - public HJGL_FileControl_CompanyStandards() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyStandardsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string CompanyStandardsId - { - get - { - return this._CompanyStandardsId; - } - set - { - if ((this._CompanyStandardsId != value)) - { - this.OnCompanyStandardsIdChanging(value); - this.SendPropertyChanging(); - this._CompanyStandardsId = value; - this.SendPropertyChanged("CompanyStandardsId"); - this.OnCompanyStandardsIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyStandardsCode", DbType="NVarChar(100)")] - public string CompanyStandardsCode - { - get - { - return this._CompanyStandardsCode; - } - set - { - if ((this._CompanyStandardsCode != value)) - { - this.OnCompanyStandardsCodeChanging(value); - this.SendPropertyChanging(); - this._CompanyStandardsCode = value; - this.SendPropertyChanged("CompanyStandardsCode"); - this.OnCompanyStandardsCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompanyStandardsName", DbType="VarChar(100)")] - public string CompanyStandardsName - { - get - { - return this._CompanyStandardsName; - } - set - { - if ((this._CompanyStandardsName != value)) - { - this.OnCompanyStandardsNameChanging(value); - this.SendPropertyChanging(); - this._CompanyStandardsName = value; - this.SendPropertyChanged("CompanyStandardsName"); - this.OnCompanyStandardsNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Summary", DbType="NVarChar(500)")] - public string Summary - { - get - { - return this._Summary; - } - set - { - if ((this._Summary != value)) - { - this.OnSummaryChanging(value); - this.SendPropertyChanging(); - this._Summary = value; - this.SendPropertyChanged("Summary"); - this.OnSummaryChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(100)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(1000)")] - public string Remarks - { - get - { - return this._Remarks; - } - set - { - if ((this._Remarks != value)) - { - this.OnRemarksChanging(value); - this.SendPropertyChanging(); - this._Remarks = value; - this.SendPropertyChanged("Remarks"); - this.OnRemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Abstract", DbType="NVarChar(500)")] - public string Abstract - { - get - { - return this._Abstract; - } - set - { - if ((this._Abstract != value)) - { - this.OnAbstractChanging(value); - this.SendPropertyChanging(); - this._Abstract = value; - this.SendPropertyChanged("Abstract"); - this.OnAbstractChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_FileControl_DomesticLawsRegulations")] - public partial class HJGL_FileControl_DomesticLawsRegulations : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DomesticLawsRegulationsId; - - private string _DomesticLawsRegulationsCode; - - private string _DomesticLawsRegulationsName; - - private string _Summary; - - private string _AttachUrl; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _Remarks; - - private string _Abstract; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDomesticLawsRegulationsIdChanging(string value); - partial void OnDomesticLawsRegulationsIdChanged(); - partial void OnDomesticLawsRegulationsCodeChanging(string value); - partial void OnDomesticLawsRegulationsCodeChanged(); - partial void OnDomesticLawsRegulationsNameChanging(string value); - partial void OnDomesticLawsRegulationsNameChanged(); - partial void OnSummaryChanging(string value); - partial void OnSummaryChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnRemarksChanging(string value); - partial void OnRemarksChanged(); - partial void OnAbstractChanging(string value); - partial void OnAbstractChanged(); - #endregion - - public HJGL_FileControl_DomesticLawsRegulations() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DomesticLawsRegulationsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DomesticLawsRegulationsId - { - get - { - return this._DomesticLawsRegulationsId; - } - set - { - if ((this._DomesticLawsRegulationsId != value)) - { - this.OnDomesticLawsRegulationsIdChanging(value); - this.SendPropertyChanging(); - this._DomesticLawsRegulationsId = value; - this.SendPropertyChanged("DomesticLawsRegulationsId"); - this.OnDomesticLawsRegulationsIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DomesticLawsRegulationsCode", DbType="NVarChar(100)")] - public string DomesticLawsRegulationsCode - { - get - { - return this._DomesticLawsRegulationsCode; - } - set - { - if ((this._DomesticLawsRegulationsCode != value)) - { - this.OnDomesticLawsRegulationsCodeChanging(value); - this.SendPropertyChanging(); - this._DomesticLawsRegulationsCode = value; - this.SendPropertyChanged("DomesticLawsRegulationsCode"); - this.OnDomesticLawsRegulationsCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DomesticLawsRegulationsName", DbType="VarChar(100)")] - public string DomesticLawsRegulationsName - { - get - { - return this._DomesticLawsRegulationsName; - } - set - { - if ((this._DomesticLawsRegulationsName != value)) - { - this.OnDomesticLawsRegulationsNameChanging(value); - this.SendPropertyChanging(); - this._DomesticLawsRegulationsName = value; - this.SendPropertyChanged("DomesticLawsRegulationsName"); - this.OnDomesticLawsRegulationsNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Summary", DbType="NVarChar(500)")] - public string Summary - { - get - { - return this._Summary; - } - set - { - if ((this._Summary != value)) - { - this.OnSummaryChanging(value); - this.SendPropertyChanging(); - this._Summary = value; - this.SendPropertyChanged("Summary"); - this.OnSummaryChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(100)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(1000)")] - public string Remarks - { - get - { - return this._Remarks; - } - set - { - if ((this._Remarks != value)) - { - this.OnRemarksChanging(value); - this.SendPropertyChanging(); - this._Remarks = value; - this.SendPropertyChanged("Remarks"); - this.OnRemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Abstract", DbType="NVarChar(500)")] - public string Abstract - { - get - { - return this._Abstract; - } - set - { - if ((this._Abstract != value)) - { - this.OnAbstractChanging(value); - this.SendPropertyChanging(); - this._Abstract = value; - this.SendPropertyChanged("Abstract"); - this.OnAbstractChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_FileControl_DomesticStandards")] - public partial class HJGL_FileControl_DomesticStandards : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DomesticStandardsId; - - private string _DomesticStandardsCode; - - private string _DomesticStandardsName; - - private string _Summary; - - private string _AttachUrl; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _Remarks; - - private string _Abstract; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDomesticStandardsIdChanging(string value); - partial void OnDomesticStandardsIdChanged(); - partial void OnDomesticStandardsCodeChanging(string value); - partial void OnDomesticStandardsCodeChanged(); - partial void OnDomesticStandardsNameChanging(string value); - partial void OnDomesticStandardsNameChanged(); - partial void OnSummaryChanging(string value); - partial void OnSummaryChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnRemarksChanging(string value); - partial void OnRemarksChanged(); - partial void OnAbstractChanging(string value); - partial void OnAbstractChanged(); - #endregion - - public HJGL_FileControl_DomesticStandards() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DomesticStandardsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DomesticStandardsId - { - get - { - return this._DomesticStandardsId; - } - set - { - if ((this._DomesticStandardsId != value)) - { - this.OnDomesticStandardsIdChanging(value); - this.SendPropertyChanging(); - this._DomesticStandardsId = value; - this.SendPropertyChanged("DomesticStandardsId"); - this.OnDomesticStandardsIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DomesticStandardsCode", DbType="NVarChar(100)")] - public string DomesticStandardsCode - { - get - { - return this._DomesticStandardsCode; - } - set - { - if ((this._DomesticStandardsCode != value)) - { - this.OnDomesticStandardsCodeChanging(value); - this.SendPropertyChanging(); - this._DomesticStandardsCode = value; - this.SendPropertyChanged("DomesticStandardsCode"); - this.OnDomesticStandardsCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DomesticStandardsName", DbType="VarChar(100)")] - public string DomesticStandardsName - { - get - { - return this._DomesticStandardsName; - } - set - { - if ((this._DomesticStandardsName != value)) - { - this.OnDomesticStandardsNameChanging(value); - this.SendPropertyChanging(); - this._DomesticStandardsName = value; - this.SendPropertyChanged("DomesticStandardsName"); - this.OnDomesticStandardsNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Summary", DbType="NVarChar(500)")] - public string Summary - { - get - { - return this._Summary; - } - set - { - if ((this._Summary != value)) - { - this.OnSummaryChanging(value); - this.SendPropertyChanging(); - this._Summary = value; - this.SendPropertyChanged("Summary"); - this.OnSummaryChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(100)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(1000)")] - public string Remarks - { - get - { - return this._Remarks; - } - set - { - if ((this._Remarks != value)) - { - this.OnRemarksChanging(value); - this.SendPropertyChanging(); - this._Remarks = value; - this.SendPropertyChanged("Remarks"); - this.OnRemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Abstract", DbType="NVarChar(500)")] - public string Abstract - { - get - { - return this._Abstract; - } - set - { - if ((this._Abstract != value)) - { - this.OnAbstractChanging(value); - this.SendPropertyChanging(); - this._Abstract = value; - this.SendPropertyChanged("Abstract"); - this.OnAbstractChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_FileControl_ForeignStandards")] - public partial class HJGL_FileControl_ForeignStandards : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ForeignStandardsId; - - private string _ForeignStandardsCode; - - private string _ForeignStandardsName; - - private string _Summary; - - private string _AttachUrl; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _Remarks; - - private string _Abstract; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnForeignStandardsIdChanging(string value); - partial void OnForeignStandardsIdChanged(); - partial void OnForeignStandardsCodeChanging(string value); - partial void OnForeignStandardsCodeChanged(); - partial void OnForeignStandardsNameChanging(string value); - partial void OnForeignStandardsNameChanged(); - partial void OnSummaryChanging(string value); - partial void OnSummaryChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnRemarksChanging(string value); - partial void OnRemarksChanged(); - partial void OnAbstractChanging(string value); - partial void OnAbstractChanged(); - #endregion - - public HJGL_FileControl_ForeignStandards() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ForeignStandardsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ForeignStandardsId - { - get - { - return this._ForeignStandardsId; - } - set - { - if ((this._ForeignStandardsId != value)) - { - this.OnForeignStandardsIdChanging(value); - this.SendPropertyChanging(); - this._ForeignStandardsId = value; - this.SendPropertyChanged("ForeignStandardsId"); - this.OnForeignStandardsIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ForeignStandardsCode", DbType="NVarChar(100)")] - public string ForeignStandardsCode - { - get - { - return this._ForeignStandardsCode; - } - set - { - if ((this._ForeignStandardsCode != value)) - { - this.OnForeignStandardsCodeChanging(value); - this.SendPropertyChanging(); - this._ForeignStandardsCode = value; - this.SendPropertyChanged("ForeignStandardsCode"); - this.OnForeignStandardsCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ForeignStandardsName", DbType="VarChar(100)")] - public string ForeignStandardsName - { - get - { - return this._ForeignStandardsName; - } - set - { - if ((this._ForeignStandardsName != value)) - { - this.OnForeignStandardsNameChanging(value); - this.SendPropertyChanging(); - this._ForeignStandardsName = value; - this.SendPropertyChanged("ForeignStandardsName"); - this.OnForeignStandardsNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Summary", DbType="NVarChar(500)")] - public string Summary - { - get - { - return this._Summary; - } - set - { - if ((this._Summary != value)) - { - this.OnSummaryChanging(value); - this.SendPropertyChanging(); - this._Summary = value; - this.SendPropertyChanged("Summary"); - this.OnSummaryChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(100)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="NVarChar(1000)")] - public string Remarks - { - get - { - return this._Remarks; - } - set - { - if ((this._Remarks != value)) - { - this.OnRemarksChanging(value); - this.SendPropertyChanging(); - this._Remarks = value; - this.SendPropertyChanged("Remarks"); - this.OnRemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Abstract", DbType="NVarChar(500)")] - public string Abstract - { - get - { - return this._Abstract; - } - set - { - if ((this._Abstract != value)) - { - this.OnAbstractChanging(value); - this.SendPropertyChanging(); - this._Abstract = value; - this.SendPropertyChanged("Abstract"); - this.OnAbstractChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_HotProess")] - public partial class HJGL_HotProess : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HotProessId; - - private string _HotProessNo; - - private System.Nullable _ProessDate; - - private string _InstallationId; - - private string _ProjectId; - - private string _UnitId; - - private string _Tabler; - - private string _Remark; - - private string _ProessMethod; - - private string _ProessEquipment; - - private string _NDTRate; - - private string _NDTMethod; - - private string _Standards; - - private string _InspectionNum; - - private string _CheckNum; - - private string _TestWeldNum; - - private string _Sendee; - - private string _CheckUnitId; - - private string _HotProessTrustId; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _CheckUnit; - - private EntityRef _HJGL_CH_HotProessTrust; - - private EntityRef _Project_Installation; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHotProessIdChanging(string value); - partial void OnHotProessIdChanged(); - partial void OnHotProessNoChanging(string value); - partial void OnHotProessNoChanged(); - partial void OnProessDateChanging(System.Nullable value); - partial void OnProessDateChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnTablerChanging(string value); - partial void OnTablerChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnProessMethodChanging(string value); - partial void OnProessMethodChanged(); - partial void OnProessEquipmentChanging(string value); - partial void OnProessEquipmentChanged(); - partial void OnNDTRateChanging(string value); - partial void OnNDTRateChanged(); - partial void OnNDTMethodChanging(string value); - partial void OnNDTMethodChanged(); - partial void OnStandardsChanging(string value); - partial void OnStandardsChanged(); - partial void OnInspectionNumChanging(string value); - partial void OnInspectionNumChanged(); - partial void OnCheckNumChanging(string value); - partial void OnCheckNumChanged(); - partial void OnTestWeldNumChanging(string value); - partial void OnTestWeldNumChanged(); - partial void OnSendeeChanging(string value); - partial void OnSendeeChanged(); - partial void OnCheckUnitIdChanging(string value); - partial void OnCheckUnitIdChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - #endregion - - public HJGL_HotProess() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._CheckUnit = default(EntityRef); - this._HJGL_CH_HotProessTrust = default(EntityRef); - this._Project_Installation = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HotProessId - { - get - { - return this._HotProessId; - } - set - { - if ((this._HotProessId != value)) - { - this.OnHotProessIdChanging(value); - this.SendPropertyChanging(); - this._HotProessId = value; - this.SendPropertyChanged("HotProessId"); - this.OnHotProessIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessNo", DbType="VarChar(50)")] - public string HotProessNo - { - get - { - return this._HotProessNo; - } - set - { - if ((this._HotProessNo != value)) - { - this.OnHotProessNoChanging(value); - this.SendPropertyChanging(); - this._HotProessNo = value; - this.SendPropertyChanged("HotProessNo"); - this.OnHotProessNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessDate", DbType="DateTime")] - public System.Nullable ProessDate - { - get - { - return this._ProessDate; - } - set - { - if ((this._ProessDate != value)) - { - this.OnProessDateChanging(value); - this.SendPropertyChanging(); - this._ProessDate = value; - this.SendPropertyChanged("ProessDate"); - this.OnProessDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - if (this._Project_Installation.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tabler", DbType="NVarChar(50)")] - public string Tabler - { - get - { - return this._Tabler; - } - set - { - if ((this._Tabler != value)) - { - this.OnTablerChanging(value); - this.SendPropertyChanging(); - this._Tabler = value; - this.SendPropertyChanged("Tabler"); - this.OnTablerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessMethod", DbType="VarChar(100)")] - public string ProessMethod - { - get - { - return this._ProessMethod; - } - set - { - if ((this._ProessMethod != value)) - { - this.OnProessMethodChanging(value); - this.SendPropertyChanging(); - this._ProessMethod = value; - this.SendPropertyChanged("ProessMethod"); - this.OnProessMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessEquipment", DbType="VarChar(100)")] - public string ProessEquipment - { - get - { - return this._ProessEquipment; - } - set - { - if ((this._ProessEquipment != value)) - { - this.OnProessEquipmentChanging(value); - this.SendPropertyChanging(); - this._ProessEquipment = value; - this.SendPropertyChanged("ProessEquipment"); - this.OnProessEquipmentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTRate", DbType="NVarChar(50)")] - public string NDTRate - { - get - { - return this._NDTRate; - } - set - { - if ((this._NDTRate != value)) - { - this.OnNDTRateChanging(value); - this.SendPropertyChanging(); - this._NDTRate = value; - this.SendPropertyChanged("NDTRate"); - this.OnNDTRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTMethod", DbType="NVarChar(50)")] - public string NDTMethod - { - get - { - return this._NDTMethod; - } - set - { - if ((this._NDTMethod != value)) - { - this.OnNDTMethodChanging(value); - this.SendPropertyChanging(); - this._NDTMethod = value; - this.SendPropertyChanged("NDTMethod"); - this.OnNDTMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Standards", DbType="NVarChar(50)")] - public string Standards - { - get - { - return this._Standards; - } - set - { - if ((this._Standards != value)) - { - this.OnStandardsChanging(value); - this.SendPropertyChanging(); - this._Standards = value; - this.SendPropertyChanged("Standards"); - this.OnStandardsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionNum", DbType="NVarChar(50)")] - public string InspectionNum - { - get - { - return this._InspectionNum; - } - set - { - if ((this._InspectionNum != value)) - { - this.OnInspectionNumChanging(value); - this.SendPropertyChanging(); - this._InspectionNum = value; - this.SendPropertyChanged("InspectionNum"); - this.OnInspectionNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckNum", DbType="NVarChar(50)")] - public string CheckNum - { - get - { - return this._CheckNum; - } - set - { - if ((this._CheckNum != value)) - { - this.OnCheckNumChanging(value); - this.SendPropertyChanging(); - this._CheckNum = value; - this.SendPropertyChanged("CheckNum"); - this.OnCheckNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestWeldNum", DbType="NVarChar(50)")] - public string TestWeldNum - { - get - { - return this._TestWeldNum; - } - set - { - if ((this._TestWeldNum != value)) - { - this.OnTestWeldNumChanging(value); - this.SendPropertyChanging(); - this._TestWeldNum = value; - this.SendPropertyChanged("TestWeldNum"); - this.OnTestWeldNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sendee", DbType="NVarChar(50)")] - public string Sendee - { - get - { - return this._Sendee; - } - set - { - if ((this._Sendee != value)) - { - this.OnSendeeChanging(value); - this.SendPropertyChanging(); - this._Sendee = value; - this.SendPropertyChanged("Sendee"); - this.OnSendeeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckUnitId", DbType="NVarChar(50)")] - public string CheckUnitId - { - get - { - return this._CheckUnitId; - } - set - { - if ((this._CheckUnitId != value)) - { - if (this._CheckUnit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCheckUnitIdChanging(value); - this.SendPropertyChanging(); - this._CheckUnitId = value; - this.SendPropertyChanged("CheckUnitId"); - this.OnCheckUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - if (this._HJGL_CH_HotProessTrust.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_HotProess.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_HotProess.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_HotProess.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_HotProess.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_Base_Unit1", Storage="_CheckUnit", ThisKey="CheckUnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit CheckUnit - { - get - { - return this._CheckUnit.Entity; - } - set - { - Base_Unit previousValue = this._CheckUnit.Entity; - if (((previousValue != value) - || (this._CheckUnit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._CheckUnit.Entity = null; - previousValue.Unit.Remove(this); - } - this._CheckUnit.Entity = value; - if ((value != null)) - { - value.Unit.Add(this); - this._CheckUnitId = value.UnitId; - } - else - { - this._CheckUnitId = default(string); - } - this.SendPropertyChanged("CheckUnit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_HJGL_CH_HotProessTrust", Storage="_HJGL_CH_HotProessTrust", ThisKey="HotProessTrustId", OtherKey="HotProessTrustId", IsForeignKey=true)] - public HJGL_CH_HotProessTrust HJGL_CH_HotProessTrust - { - get - { - return this._HJGL_CH_HotProessTrust.Entity; - } - set - { - HJGL_CH_HotProessTrust previousValue = this._HJGL_CH_HotProessTrust.Entity; - if (((previousValue != value) - || (this._HJGL_CH_HotProessTrust.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_CH_HotProessTrust.Entity = null; - previousValue.HJGL_HotProess.Remove(this); - } - this._HJGL_CH_HotProessTrust.Entity = value; - if ((value != null)) - { - value.HJGL_HotProess.Add(this); - this._HotProessTrustId = value.HotProessTrustId; - } - else - { - this._HotProessTrustId = default(string); - } - this.SendPropertyChanged("HJGL_CH_HotProessTrust"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_Project_Installation", Storage="_Project_Installation", ThisKey="InstallationId", OtherKey="InstallationId", IsForeignKey=true)] - public Project_Installation Project_Installation - { - get - { - return this._Project_Installation.Entity; - } - set - { - Project_Installation previousValue = this._Project_Installation.Entity; - if (((previousValue != value) - || (this._Project_Installation.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Project_Installation.Entity = null; - previousValue.HJGL_HotProess.Remove(this); - } - this._Project_Installation.Entity = value; - if ((value != null)) - { - value.HJGL_HotProess.Add(this); - this._InstallationId = value.InstallationId; - } - else - { - this._InstallationId = default(string); - } - this.SendPropertyChanged("Project_Installation"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_HotProessItem")] - public partial class HJGL_HotProessItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HotProessItemId; - - private string _HotProessId; - - private string _JOT_ID; - - private System.Nullable _PointCount; - - private string _RequiredT; - - private string _ActualT; - - private string _RequestTime; - - private string _ActualTime; - - private string _RecordChartNo; - - private string _HardnessReportNo; - - private string _HotProessTrustId; - - private System.Nullable _HotProessDate; - - private string _ProessTypes; - - private System.Nullable _SortIndex; - - private string _Remark; - - private System.Nullable _IsPrint; - - private System.Nullable _PrintDate; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHotProessItemIdChanging(string value); - partial void OnHotProessItemIdChanged(); - partial void OnHotProessIdChanging(string value); - partial void OnHotProessIdChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnPointCountChanging(System.Nullable value); - partial void OnPointCountChanged(); - partial void OnRequiredTChanging(string value); - partial void OnRequiredTChanged(); - partial void OnActualTChanging(string value); - partial void OnActualTChanged(); - partial void OnRequestTimeChanging(string value); - partial void OnRequestTimeChanged(); - partial void OnActualTimeChanging(string value); - partial void OnActualTimeChanged(); - partial void OnRecordChartNoChanging(string value); - partial void OnRecordChartNoChanged(); - partial void OnHardnessReportNoChanging(string value); - partial void OnHardnessReportNoChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnHotProessDateChanging(System.Nullable value); - partial void OnHotProessDateChanged(); - partial void OnProessTypesChanging(string value); - partial void OnProessTypesChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnPrintDateChanging(System.Nullable value); - partial void OnPrintDateChanged(); - #endregion - - public HJGL_HotProessItem() - { - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessItemId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HotProessItemId - { - get - { - return this._HotProessItemId; - } - set - { - if ((this._HotProessItemId != value)) - { - this.OnHotProessItemIdChanging(value); - this.SendPropertyChanging(); - this._HotProessItemId = value; - this.SendPropertyChanged("HotProessItemId"); - this.OnHotProessItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessId", DbType="VarChar(50)")] - public string HotProessId - { - get - { - return this._HotProessId; - } - set - { - if ((this._HotProessId != value)) - { - this.OnHotProessIdChanging(value); - this.SendPropertyChanging(); - this._HotProessId = value; - this.SendPropertyChanged("HotProessId"); - this.OnHotProessIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointCount", DbType="Int")] - public System.Nullable PointCount - { - get - { - return this._PointCount; - } - set - { - if ((this._PointCount != value)) - { - this.OnPointCountChanging(value); - this.SendPropertyChanging(); - this._PointCount = value; - this.SendPropertyChanged("PointCount"); - this.OnPointCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RequiredT", DbType="VarChar(20)")] - public string RequiredT - { - get - { - return this._RequiredT; - } - set - { - if ((this._RequiredT != value)) - { - this.OnRequiredTChanging(value); - this.SendPropertyChanging(); - this._RequiredT = value; - this.SendPropertyChanged("RequiredT"); - this.OnRequiredTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualT", DbType="VarChar(20)")] - public string ActualT - { - get - { - return this._ActualT; - } - set - { - if ((this._ActualT != value)) - { - this.OnActualTChanging(value); - this.SendPropertyChanging(); - this._ActualT = value; - this.SendPropertyChanged("ActualT"); - this.OnActualTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RequestTime", DbType="VarChar(20)")] - public string RequestTime - { - get - { - return this._RequestTime; - } - set - { - if ((this._RequestTime != value)) - { - this.OnRequestTimeChanging(value); - this.SendPropertyChanging(); - this._RequestTime = value; - this.SendPropertyChanged("RequestTime"); - this.OnRequestTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualTime", DbType="VarChar(20)")] - public string ActualTime - { - get - { - return this._ActualTime; - } - set - { - if ((this._ActualTime != value)) - { - this.OnActualTimeChanging(value); - this.SendPropertyChanging(); - this._ActualTime = value; - this.SendPropertyChanged("ActualTime"); - this.OnActualTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordChartNo", DbType="VarChar(20)")] - public string RecordChartNo - { - get - { - return this._RecordChartNo; - } - set - { - if ((this._RecordChartNo != value)) - { - this.OnRecordChartNoChanging(value); - this.SendPropertyChanging(); - this._RecordChartNo = value; - this.SendPropertyChanged("RecordChartNo"); - this.OnRecordChartNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardnessReportNo", DbType="VarChar(20)")] - public string HardnessReportNo - { - get - { - return this._HardnessReportNo; - } - set - { - if ((this._HardnessReportNo != value)) - { - this.OnHardnessReportNoChanging(value); - this.SendPropertyChanging(); - this._HardnessReportNo = value; - this.SendPropertyChanged("HardnessReportNo"); - this.OnHardnessReportNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessDate", DbType="DateTime")] - public System.Nullable HotProessDate - { - get - { - return this._HotProessDate; - } - set - { - if ((this._HotProessDate != value)) - { - this.OnHotProessDateChanging(value); - this.SendPropertyChanging(); - this._HotProessDate = value; - this.SendPropertyChanged("HotProessDate"); - this.OnHotProessDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="NVarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this.OnProessTypesChanging(value); - this.SendPropertyChanging(); - this._ProessTypes = value; - this.SendPropertyChanged("ProessTypes"); - this.OnProessTypesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintDate", DbType="DateTime")] - public System.Nullable PrintDate - { - get - { - return this._PrintDate; - } - set - { - if ((this._PrintDate != value)) - { - this.OnPrintDateChanging(value); - this.SendPropertyChanging(); - this._PrintDate = value; - this.SendPropertyChanged("PrintDate"); - this.OnPrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProessItem_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_HotProessItem.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_HotProessItem.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Match_InStorage")] - public partial class HJGL_Match_InStorage : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _InStorageId; - - private string _InStorageCode; - - private string _ProjectId; - - private string _UnitId; - - private System.Nullable _InTime; - - private string _CompileMan; - - private string _State; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_User; - - private EntitySet _HJGL_Match_InStorageItem; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnInStorageIdChanging(string value); - partial void OnInStorageIdChanged(); - partial void OnInStorageCodeChanging(string value); - partial void OnInStorageCodeChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnInTimeChanging(System.Nullable value); - partial void OnInTimeChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnStateChanging(string value); - partial void OnStateChanged(); - #endregion - - public HJGL_Match_InStorage() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Sys_User = default(EntityRef); - this._HJGL_Match_InStorageItem = new EntitySet(new Action(this.attach_HJGL_Match_InStorageItem), new Action(this.detach_HJGL_Match_InStorageItem)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InStorageId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string InStorageId - { - get - { - return this._InStorageId; - } - set - { - if ((this._InStorageId != value)) - { - this.OnInStorageIdChanging(value); - this.SendPropertyChanging(); - this._InStorageId = value; - this.SendPropertyChanged("InStorageId"); - this.OnInStorageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InStorageCode", DbType="NVarChar(50)")] - public string InStorageCode - { - get - { - return this._InStorageCode; - } - set - { - if ((this._InStorageCode != value)) - { - this.OnInStorageCodeChanging(value); - this.SendPropertyChanging(); - this._InStorageCode = value; - this.SendPropertyChanged("InStorageCode"); - this.OnInStorageCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InTime", DbType="DateTime")] - public System.Nullable InTime - { - get - { - return this._InTime; - } - set - { - if ((this._InTime != value)) - { - this.OnInTimeChanging(value); - this.SendPropertyChanging(); - this._InTime = value; - this.SendPropertyChanged("InTime"); - this.OnInTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Char(1)")] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this.OnStateChanging(value); - this.SendPropertyChanging(); - this._State = value; - this.SendPropertyChanged("State"); - this.OnStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorage_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_Match_InStorage.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_Match_InStorage.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorage_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_Match_InStorage.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_Match_InStorage.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorage_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_Match_InStorage.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_Match_InStorage.Add(this); - this._CompileMan = value.UserId; - } - else - { - this._CompileMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorageItem_HJGL_Match_InStorage", Storage="_HJGL_Match_InStorageItem", ThisKey="InStorageId", OtherKey="InStorageId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_InStorageItem - { - get - { - return this._HJGL_Match_InStorageItem; - } - set - { - this._HJGL_Match_InStorageItem.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_Match_InStorageItem(HJGL_Match_InStorageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_InStorage = this; - } - - private void detach_HJGL_Match_InStorageItem(HJGL_Match_InStorageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_InStorage = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Match_InStorageItem")] - public partial class HJGL_Match_InStorageItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _InStorageItemId; - - private string _InStorageId; - - private string _MaterialId; - - private System.Nullable _InCount; - - private EntityRef _HJGL_Match_InStorage; - - private EntityRef _HJGL_Match_Material; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnInStorageItemIdChanging(string value); - partial void OnInStorageItemIdChanged(); - partial void OnInStorageIdChanging(string value); - partial void OnInStorageIdChanged(); - partial void OnMaterialIdChanging(string value); - partial void OnMaterialIdChanged(); - partial void OnInCountChanging(System.Nullable value); - partial void OnInCountChanged(); - #endregion - - public HJGL_Match_InStorageItem() - { - this._HJGL_Match_InStorage = default(EntityRef); - this._HJGL_Match_Material = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InStorageItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string InStorageItemId - { - get - { - return this._InStorageItemId; - } - set - { - if ((this._InStorageItemId != value)) - { - this.OnInStorageItemIdChanging(value); - this.SendPropertyChanging(); - this._InStorageItemId = value; - this.SendPropertyChanged("InStorageItemId"); - this.OnInStorageItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InStorageId", DbType="NVarChar(50)")] - public string InStorageId - { - get - { - return this._InStorageId; - } - set - { - if ((this._InStorageId != value)) - { - if (this._HJGL_Match_InStorage.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnInStorageIdChanging(value); - this.SendPropertyChanging(); - this._InStorageId = value; - this.SendPropertyChanged("InStorageId"); - this.OnInStorageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialId", DbType="NVarChar(50)")] - public string MaterialId - { - get - { - return this._MaterialId; - } - set - { - if ((this._MaterialId != value)) - { - if (this._HJGL_Match_Material.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMaterialIdChanging(value); - this.SendPropertyChanging(); - this._MaterialId = value; - this.SendPropertyChanged("MaterialId"); - this.OnMaterialIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCount", DbType="Decimal(19,2)")] - public System.Nullable InCount - { - get - { - return this._InCount; - } - set - { - if ((this._InCount != value)) - { - this.OnInCountChanging(value); - this.SendPropertyChanging(); - this._InCount = value; - this.SendPropertyChanged("InCount"); - this.OnInCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorageItem_HJGL_Match_InStorage", Storage="_HJGL_Match_InStorage", ThisKey="InStorageId", OtherKey="InStorageId", IsForeignKey=true)] - public HJGL_Match_InStorage HJGL_Match_InStorage - { - get - { - return this._HJGL_Match_InStorage.Entity; - } - set - { - HJGL_Match_InStorage previousValue = this._HJGL_Match_InStorage.Entity; - if (((previousValue != value) - || (this._HJGL_Match_InStorage.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_Match_InStorage.Entity = null; - previousValue.HJGL_Match_InStorageItem.Remove(this); - } - this._HJGL_Match_InStorage.Entity = value; - if ((value != null)) - { - value.HJGL_Match_InStorageItem.Add(this); - this._InStorageId = value.InStorageId; - } - else - { - this._InStorageId = default(string); - } - this.SendPropertyChanged("HJGL_Match_InStorage"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorageItem_HJGL_Match_Material", Storage="_HJGL_Match_Material", ThisKey="MaterialId", OtherKey="MaterialId", IsForeignKey=true)] - public HJGL_Match_Material HJGL_Match_Material - { - get - { - return this._HJGL_Match_Material.Entity; - } - set - { - HJGL_Match_Material previousValue = this._HJGL_Match_Material.Entity; - if (((previousValue != value) - || (this._HJGL_Match_Material.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_Match_Material.Entity = null; - previousValue.HJGL_Match_InStorageItem.Remove(this); - } - this._HJGL_Match_Material.Entity = value; - if ((value != null)) - { - value.HJGL_Match_InStorageItem.Add(this); - this._MaterialId = value.MaterialId; - } - else - { - this._MaterialId = default(string); - } - this.SendPropertyChanged("HJGL_Match_Material"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Match_Material")] - public partial class HJGL_Match_Material : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MaterialId; - - private string _ProjectId; - - private string _Code; - - private string _Name; - - private string _Standard; - - private string _UNIT; - - private string _SteelName; - - private EntitySet _HJGL_Match_InStorageItem; - - private EntityRef _Base_Project; - - private EntitySet _HJGL_Match_OutStorageItem; - - private EntitySet _HJGL_Match_PipeMaterial; - - private EntitySet _HJGL_Match_Storage; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMaterialIdChanging(string value); - partial void OnMaterialIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnCodeChanging(string value); - partial void OnCodeChanged(); - partial void OnNameChanging(string value); - partial void OnNameChanged(); - partial void OnStandardChanging(string value); - partial void OnStandardChanged(); - partial void OnUNITChanging(string value); - partial void OnUNITChanged(); - partial void OnSteelNameChanging(string value); - partial void OnSteelNameChanged(); - #endregion - - public HJGL_Match_Material() - { - this._HJGL_Match_InStorageItem = new EntitySet(new Action(this.attach_HJGL_Match_InStorageItem), new Action(this.detach_HJGL_Match_InStorageItem)); - this._Base_Project = default(EntityRef); - this._HJGL_Match_OutStorageItem = new EntitySet(new Action(this.attach_HJGL_Match_OutStorageItem), new Action(this.detach_HJGL_Match_OutStorageItem)); - this._HJGL_Match_PipeMaterial = new EntitySet(new Action(this.attach_HJGL_Match_PipeMaterial), new Action(this.detach_HJGL_Match_PipeMaterial)); - this._HJGL_Match_Storage = new EntitySet(new Action(this.attach_HJGL_Match_Storage), new Action(this.detach_HJGL_Match_Storage)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MaterialId - { - get - { - return this._MaterialId; - } - set - { - if ((this._MaterialId != value)) - { - this.OnMaterialIdChanging(value); - this.SendPropertyChanging(); - this._MaterialId = value; - this.SendPropertyChanged("MaterialId"); - this.OnMaterialIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] - public string Code - { - get - { - return this._Code; - } - set - { - if ((this._Code != value)) - { - this.OnCodeChanging(value); - this.SendPropertyChanging(); - this._Code = value; - this.SendPropertyChanged("Code"); - this.OnCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")] - public string Name - { - get - { - return this._Name; - } - set - { - if ((this._Name != value)) - { - this.OnNameChanging(value); - this.SendPropertyChanging(); - this._Name = value; - this.SendPropertyChanged("Name"); - this.OnNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Standard", DbType="NVarChar(20)")] - public string Standard - { - get - { - return this._Standard; - } - set - { - if ((this._Standard != value)) - { - this.OnStandardChanging(value); - this.SendPropertyChanging(); - this._Standard = value; - this.SendPropertyChanged("Standard"); - this.OnStandardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UNIT", DbType="NVarChar(10)")] - public string UNIT - { - get - { - return this._UNIT; - } - set - { - if ((this._UNIT != value)) - { - this.OnUNITChanging(value); - this.SendPropertyChanging(); - this._UNIT = value; - this.SendPropertyChanged("UNIT"); - this.OnUNITChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SteelName", DbType="NVarChar(50)")] - public string SteelName - { - get - { - return this._SteelName; - } - set - { - if ((this._SteelName != value)) - { - this.OnSteelNameChanging(value); - this.SendPropertyChanging(); - this._SteelName = value; - this.SendPropertyChanged("SteelName"); - this.OnSteelNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorageItem_HJGL_Match_Material", Storage="_HJGL_Match_InStorageItem", ThisKey="MaterialId", OtherKey="MaterialId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_InStorageItem - { - get - { - return this._HJGL_Match_InStorageItem; - } - set - { - this._HJGL_Match_InStorageItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_Material_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_Match_Material.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_Match_Material.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorageItem_HJGL_Match_Material", Storage="_HJGL_Match_OutStorageItem", ThisKey="MaterialId", OtherKey="MaterialId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_OutStorageItem - { - get - { - return this._HJGL_Match_OutStorageItem; - } - set - { - this._HJGL_Match_OutStorageItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_PipeMaterial_HJGL_Match_Material", Storage="_HJGL_Match_PipeMaterial", ThisKey="MaterialId", OtherKey="MaterialId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_PipeMaterial - { - get - { - return this._HJGL_Match_PipeMaterial; - } - set - { - this._HJGL_Match_PipeMaterial.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_Storage_HJGL_Match_Material", Storage="_HJGL_Match_Storage", ThisKey="MaterialId", OtherKey="MaterialId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_Storage - { - get - { - return this._HJGL_Match_Storage; - } - set - { - this._HJGL_Match_Storage.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_Match_InStorageItem(HJGL_Match_InStorageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_Material = this; - } - - private void detach_HJGL_Match_InStorageItem(HJGL_Match_InStorageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_Material = null; - } - - private void attach_HJGL_Match_OutStorageItem(HJGL_Match_OutStorageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_Material = this; - } - - private void detach_HJGL_Match_OutStorageItem(HJGL_Match_OutStorageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_Material = null; - } - - private void attach_HJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_Material = this; - } - - private void detach_HJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_Material = null; - } - - private void attach_HJGL_Match_Storage(HJGL_Match_Storage entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_Material = this; - } - - private void detach_HJGL_Match_Storage(HJGL_Match_Storage entity) - { - this.SendPropertyChanging(); - entity.HJGL_Match_Material = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Match_OutStorage")] - public partial class HJGL_Match_OutStorage : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _OutStorageId; - - private string _OutStorageCode; - - private string _ProjectId; - - private string _UnitId; - - private System.Nullable _OutTime; - - private string _CompileMan; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnOutStorageIdChanging(string value); - partial void OnOutStorageIdChanged(); - partial void OnOutStorageCodeChanging(string value); - partial void OnOutStorageCodeChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnOutTimeChanging(System.Nullable value); - partial void OnOutTimeChanged(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - #endregion - - public HJGL_Match_OutStorage() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutStorageId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string OutStorageId - { - get - { - return this._OutStorageId; - } - set - { - if ((this._OutStorageId != value)) - { - this.OnOutStorageIdChanging(value); - this.SendPropertyChanging(); - this._OutStorageId = value; - this.SendPropertyChanged("OutStorageId"); - this.OnOutStorageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutStorageCode", DbType="NVarChar(50)")] - public string OutStorageCode - { - get - { - return this._OutStorageCode; - } - set - { - if ((this._OutStorageCode != value)) - { - this.OnOutStorageCodeChanging(value); - this.SendPropertyChanging(); - this._OutStorageCode = value; - this.SendPropertyChanged("OutStorageCode"); - this.OnOutStorageCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutTime", DbType="DateTime")] - public System.Nullable OutTime - { - get - { - return this._OutTime; - } - set - { - if ((this._OutTime != value)) - { - this.OnOutTimeChanging(value); - this.SendPropertyChanging(); - this._OutTime = value; - this.SendPropertyChanged("OutTime"); - this.OnOutTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorage_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_Match_OutStorage.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_Match_OutStorage.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorage_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_Match_OutStorage.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_Match_OutStorage.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorage_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_Match_OutStorage.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_Match_OutStorage.Add(this); - this._CompileMan = value.UserId; - } - else - { - this._CompileMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Match_OutStorageItem")] - public partial class HJGL_Match_OutStorageItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _OutStorageItemId; - - private string _OutStorageId; - - private string _MaterialId; - - private string _ISO_ID; - - private System.Nullable _OutCount; - - private EntityRef _HJGL_Match_Material; - - private EntityRef _HJGL_PW_IsoInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnOutStorageItemIdChanging(string value); - partial void OnOutStorageItemIdChanged(); - partial void OnOutStorageIdChanging(string value); - partial void OnOutStorageIdChanged(); - partial void OnMaterialIdChanging(string value); - partial void OnMaterialIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnOutCountChanging(System.Nullable value); - partial void OnOutCountChanged(); - #endregion - - public HJGL_Match_OutStorageItem() - { - this._HJGL_Match_Material = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutStorageItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string OutStorageItemId - { - get - { - return this._OutStorageItemId; - } - set - { - if ((this._OutStorageItemId != value)) - { - this.OnOutStorageItemIdChanging(value); - this.SendPropertyChanging(); - this._OutStorageItemId = value; - this.SendPropertyChanged("OutStorageItemId"); - this.OnOutStorageItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutStorageId", DbType="NVarChar(50)")] - public string OutStorageId - { - get - { - return this._OutStorageId; - } - set - { - if ((this._OutStorageId != value)) - { - this.OnOutStorageIdChanging(value); - this.SendPropertyChanging(); - this._OutStorageId = value; - this.SendPropertyChanged("OutStorageId"); - this.OnOutStorageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialId", DbType="NVarChar(50)")] - public string MaterialId - { - get - { - return this._MaterialId; - } - set - { - if ((this._MaterialId != value)) - { - if (this._HJGL_Match_Material.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMaterialIdChanging(value); - this.SendPropertyChanging(); - this._MaterialId = value; - this.SendPropertyChanged("MaterialId"); - this.OnMaterialIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutCount", DbType="Decimal(19,2)")] - public System.Nullable OutCount - { - get - { - return this._OutCount; - } - set - { - if ((this._OutCount != value)) - { - this.OnOutCountChanging(value); - this.SendPropertyChanging(); - this._OutCount = value; - this.SendPropertyChanged("OutCount"); - this.OnOutCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorageItem_HJGL_Match_Material", Storage="_HJGL_Match_Material", ThisKey="MaterialId", OtherKey="MaterialId", IsForeignKey=true)] - public HJGL_Match_Material HJGL_Match_Material - { - get - { - return this._HJGL_Match_Material.Entity; - } - set - { - HJGL_Match_Material previousValue = this._HJGL_Match_Material.Entity; - if (((previousValue != value) - || (this._HJGL_Match_Material.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_Match_Material.Entity = null; - previousValue.HJGL_Match_OutStorageItem.Remove(this); - } - this._HJGL_Match_Material.Entity = value; - if ((value != null)) - { - value.HJGL_Match_OutStorageItem.Add(this); - this._MaterialId = value.MaterialId; - } - else - { - this._MaterialId = default(string); - } - this.SendPropertyChanged("HJGL_Match_Material"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorageItem_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_Match_OutStorageItem.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_Match_OutStorageItem.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Match_PipeMaterial")] - public partial class HJGL_Match_PipeMaterial : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _PipeMaterialId; - - private string _ProjectId; - - private string _MaterialId; - - private string _ISO_ID; - - private System.Nullable _NeedCount; - - private System.Nullable _UsedCount; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_Match_Material; - - private EntityRef _HJGL_PW_IsoInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnPipeMaterialIdChanging(string value); - partial void OnPipeMaterialIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnMaterialIdChanging(string value); - partial void OnMaterialIdChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnNeedCountChanging(System.Nullable value); - partial void OnNeedCountChanged(); - partial void OnUsedCountChanging(System.Nullable value); - partial void OnUsedCountChanged(); - #endregion - - public HJGL_Match_PipeMaterial() - { - this._Base_Project = default(EntityRef); - this._HJGL_Match_Material = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeMaterialId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string PipeMaterialId - { - get - { - return this._PipeMaterialId; - } - set - { - if ((this._PipeMaterialId != value)) - { - this.OnPipeMaterialIdChanging(value); - this.SendPropertyChanging(); - this._PipeMaterialId = value; - this.SendPropertyChanged("PipeMaterialId"); - this.OnPipeMaterialIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialId", DbType="NVarChar(50)")] - public string MaterialId - { - get - { - return this._MaterialId; - } - set - { - if ((this._MaterialId != value)) - { - if (this._HJGL_Match_Material.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMaterialIdChanging(value); - this.SendPropertyChanging(); - this._MaterialId = value; - this.SendPropertyChanged("MaterialId"); - this.OnMaterialIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NeedCount", DbType="Decimal(19,2)")] - public System.Nullable NeedCount - { - get - { - return this._NeedCount; - } - set - { - if ((this._NeedCount != value)) - { - this.OnNeedCountChanging(value); - this.SendPropertyChanging(); - this._NeedCount = value; - this.SendPropertyChanged("NeedCount"); - this.OnNeedCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsedCount", DbType="Decimal(19,2)")] - public System.Nullable UsedCount - { - get - { - return this._UsedCount; - } - set - { - if ((this._UsedCount != value)) - { - this.OnUsedCountChanging(value); - this.SendPropertyChanging(); - this._UsedCount = value; - this.SendPropertyChanged("UsedCount"); - this.OnUsedCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_PipeMaterial_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_Match_PipeMaterial.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_Match_PipeMaterial.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_PipeMaterial_HJGL_Match_Material", Storage="_HJGL_Match_Material", ThisKey="MaterialId", OtherKey="MaterialId", IsForeignKey=true)] - public HJGL_Match_Material HJGL_Match_Material - { - get - { - return this._HJGL_Match_Material.Entity; - } - set - { - HJGL_Match_Material previousValue = this._HJGL_Match_Material.Entity; - if (((previousValue != value) - || (this._HJGL_Match_Material.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_Match_Material.Entity = null; - previousValue.HJGL_Match_PipeMaterial.Remove(this); - } - this._HJGL_Match_Material.Entity = value; - if ((value != null)) - { - value.HJGL_Match_PipeMaterial.Add(this); - this._MaterialId = value.MaterialId; - } - else - { - this._MaterialId = default(string); - } - this.SendPropertyChanged("HJGL_Match_Material"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_PipeMaterial_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_Match_PipeMaterial.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_Match_PipeMaterial.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Match_Storage")] - public partial class HJGL_Match_Storage : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _StorageId; - - private string _ProjectId; - - private string _MaterialId; - - private System.Nullable _InCount; - - private System.Nullable _OutCount; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_Match_Material; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnStorageIdChanging(string value); - partial void OnStorageIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnMaterialIdChanging(string value); - partial void OnMaterialIdChanged(); - partial void OnInCountChanging(System.Nullable value); - partial void OnInCountChanged(); - partial void OnOutCountChanging(System.Nullable value); - partial void OnOutCountChanged(); - #endregion - - public HJGL_Match_Storage() - { - this._Base_Project = default(EntityRef); - this._HJGL_Match_Material = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StorageId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string StorageId - { - get - { - return this._StorageId; - } - set - { - if ((this._StorageId != value)) - { - this.OnStorageIdChanging(value); - this.SendPropertyChanging(); - this._StorageId = value; - this.SendPropertyChanged("StorageId"); - this.OnStorageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialId", DbType="NVarChar(50)")] - public string MaterialId - { - get - { - return this._MaterialId; - } - set - { - if ((this._MaterialId != value)) - { - if (this._HJGL_Match_Material.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMaterialIdChanging(value); - this.SendPropertyChanging(); - this._MaterialId = value; - this.SendPropertyChanged("MaterialId"); - this.OnMaterialIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCount", DbType="Decimal(19,2)")] - public System.Nullable InCount - { - get - { - return this._InCount; - } - set - { - if ((this._InCount != value)) - { - this.OnInCountChanging(value); - this.SendPropertyChanging(); - this._InCount = value; - this.SendPropertyChanged("InCount"); - this.OnInCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutCount", DbType="Decimal(19,2)")] - public System.Nullable OutCount - { - get - { - return this._OutCount; - } - set - { - if ((this._OutCount != value)) - { - this.OnOutCountChanging(value); - this.SendPropertyChanging(); - this._OutCount = value; - this.SendPropertyChanged("OutCount"); - this.OnOutCountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_Storage_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_Match_Storage.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_Match_Storage.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_Storage_HJGL_Match_Material", Storage="_HJGL_Match_Material", ThisKey="MaterialId", OtherKey="MaterialId", IsForeignKey=true)] - public HJGL_Match_Material HJGL_Match_Material - { - get - { - return this._HJGL_Match_Material.Entity; - } - set - { - HJGL_Match_Material previousValue = this._HJGL_Match_Material.Entity; - if (((previousValue != value) - || (this._HJGL_Match_Material.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_Match_Material.Entity = null; - previousValue.HJGL_Match_Storage.Remove(this); - } - this._HJGL_Match_Material.Entity = value; - if ((value != null)) - { - value.HJGL_Match_Storage.Add(this); - this._MaterialId = value.MaterialId; - } - else - { - this._MaterialId = default(string); - } - this.SendPropertyChanged("HJGL_Match_Material"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_PW_IsoInfo")] - public partial class HJGL_PW_IsoInfo : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ISO_ID; - - private string _ProjectId; - - private string _BSU_ID; - - private string _SER_ID; - - private string _BAW_ID; - - private string _ISO_IsoNo; - - private System.Nullable _ISO_TotalDin; - - private string _ISO_Paint; - - private string _ISO_Insulator; - - private string _STE_ID; - - private string _ISO_Executive; - - private string _ISO_Modifier; - - private System.Nullable _ISO_ModifyDate; - - private string _ISO_Creator; - - private System.Nullable _ISO_CreateDate; - - private System.Nullable _ISO_DesignPress; - - private System.Nullable _ISO_DesignTemperature; - - private System.Nullable _ISO_TestPress; - - private System.Nullable _ISO_TestTemperature; - - private string _ISC_ID; - - private string _ISO_Remark; - - private string _MaterialStandardId; - - private string _PressureTestPackageNo; - - private string _OperatingPressure; - - private string _OperatingTemperature; - - private string _PipeLineClass; - - private System.Nullable _PipeLineLength; - - private string _LeakageTest; - - private string _TestCategoryNum; - - private string _IsHot; - - private string _IsHotType; - - private string _Specification; - - private System.Nullable _ISO_Dia; - - private System.Nullable _ISO_Sch; - - private string _Joty_B_Rate; - - private string _Joty_C_Rate; - - private string _Joty_D_Rate; - - private string _Joty_B_Level; - - private string _Joty_C_Level; - - private string _Joty_D_Level; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_BO_BatchDetail; - - private EntitySet _HJGL_BO_QualityRating; - - private EntitySet _HJGL_BO_QualityRatingRepair; - - private EntitySet _HJGL_BO_RepairNotice; - - private EntitySet _HJGL_CH_HardTestReport; - - private EntitySet _HJGL_CH_RepairItemRecord; - - private EntitySet _HJGL_CH_TestingReportPrint; - - private EntitySet _HJGL_Match_OutStorageItem; - - private EntitySet _HJGL_Match_PipeMaterial; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _HJGL_BS_IsoClass; - - private EntityRef _HJGL_BS_MaterialStandard; - - private EntityRef _HJGL_BS_Service; - - private EntityRef _HJGL_BS_Steel; - - private EntityRef _Project_WorkArea; - - private EntitySet _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnBSU_IDChanging(string value); - partial void OnBSU_IDChanged(); - partial void OnSER_IDChanging(string value); - partial void OnSER_IDChanged(); - partial void OnBAW_IDChanging(string value); - partial void OnBAW_IDChanged(); - partial void OnISO_IsoNoChanging(string value); - partial void OnISO_IsoNoChanged(); - partial void OnISO_TotalDinChanging(System.Nullable value); - partial void OnISO_TotalDinChanged(); - partial void OnISO_PaintChanging(string value); - partial void OnISO_PaintChanged(); - partial void OnISO_InsulatorChanging(string value); - partial void OnISO_InsulatorChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnISO_ExecutiveChanging(string value); - partial void OnISO_ExecutiveChanged(); - partial void OnISO_ModifierChanging(string value); - partial void OnISO_ModifierChanged(); - partial void OnISO_ModifyDateChanging(System.Nullable value); - partial void OnISO_ModifyDateChanged(); - partial void OnISO_CreatorChanging(string value); - partial void OnISO_CreatorChanged(); - partial void OnISO_CreateDateChanging(System.Nullable value); - partial void OnISO_CreateDateChanged(); - partial void OnISO_DesignPressChanging(System.Nullable value); - partial void OnISO_DesignPressChanged(); - partial void OnISO_DesignTemperatureChanging(System.Nullable value); - partial void OnISO_DesignTemperatureChanged(); - partial void OnISO_TestPressChanging(System.Nullable value); - partial void OnISO_TestPressChanged(); - partial void OnISO_TestTemperatureChanging(System.Nullable value); - partial void OnISO_TestTemperatureChanged(); - partial void OnISC_IDChanging(string value); - partial void OnISC_IDChanged(); - partial void OnISO_RemarkChanging(string value); - partial void OnISO_RemarkChanged(); - partial void OnMaterialStandardIdChanging(string value); - partial void OnMaterialStandardIdChanged(); - partial void OnPressureTestPackageNoChanging(string value); - partial void OnPressureTestPackageNoChanged(); - partial void OnOperatingPressureChanging(string value); - partial void OnOperatingPressureChanged(); - partial void OnOperatingTemperatureChanging(string value); - partial void OnOperatingTemperatureChanged(); - partial void OnPipeLineClassChanging(string value); - partial void OnPipeLineClassChanged(); - partial void OnPipeLineLengthChanging(System.Nullable value); - partial void OnPipeLineLengthChanged(); - partial void OnLeakageTestChanging(string value); - partial void OnLeakageTestChanged(); - partial void OnTestCategoryNumChanging(string value); - partial void OnTestCategoryNumChanged(); - partial void OnIsHotChanging(string value); - partial void OnIsHotChanged(); - partial void OnIsHotTypeChanging(string value); - partial void OnIsHotTypeChanged(); - partial void OnSpecificationChanging(string value); - partial void OnSpecificationChanged(); - partial void OnISO_DiaChanging(System.Nullable value); - partial void OnISO_DiaChanged(); - partial void OnISO_SchChanging(System.Nullable value); - partial void OnISO_SchChanged(); - partial void OnJoty_B_RateChanging(string value); - partial void OnJoty_B_RateChanged(); - partial void OnJoty_C_RateChanging(string value); - partial void OnJoty_C_RateChanged(); - partial void OnJoty_D_RateChanging(string value); - partial void OnJoty_D_RateChanged(); - partial void OnJoty_B_LevelChanging(string value); - partial void OnJoty_B_LevelChanged(); - partial void OnJoty_C_LevelChanging(string value); - partial void OnJoty_C_LevelChanged(); - partial void OnJoty_D_LevelChanging(string value); - partial void OnJoty_D_LevelChanged(); - #endregion - - public HJGL_PW_IsoInfo() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_BO_BatchDetail = new EntitySet(new Action(this.attach_HJGL_BO_BatchDetail), new Action(this.detach_HJGL_BO_BatchDetail)); - this._HJGL_BO_QualityRating = new EntitySet(new Action(this.attach_HJGL_BO_QualityRating), new Action(this.detach_HJGL_BO_QualityRating)); - this._HJGL_BO_QualityRatingRepair = new EntitySet(new Action(this.attach_HJGL_BO_QualityRatingRepair), new Action(this.detach_HJGL_BO_QualityRatingRepair)); - this._HJGL_BO_RepairNotice = new EntitySet(new Action(this.attach_HJGL_BO_RepairNotice), new Action(this.detach_HJGL_BO_RepairNotice)); - this._HJGL_CH_HardTestReport = new EntitySet(new Action(this.attach_HJGL_CH_HardTestReport), new Action(this.detach_HJGL_CH_HardTestReport)); - this._HJGL_CH_RepairItemRecord = new EntitySet(new Action(this.attach_HJGL_CH_RepairItemRecord), new Action(this.detach_HJGL_CH_RepairItemRecord)); - this._HJGL_CH_TestingReportPrint = new EntitySet(new Action(this.attach_HJGL_CH_TestingReportPrint), new Action(this.detach_HJGL_CH_TestingReportPrint)); - this._HJGL_Match_OutStorageItem = new EntitySet(new Action(this.attach_HJGL_Match_OutStorageItem), new Action(this.detach_HJGL_Match_OutStorageItem)); - this._HJGL_Match_PipeMaterial = new EntitySet(new Action(this.attach_HJGL_Match_PipeMaterial), new Action(this.detach_HJGL_Match_PipeMaterial)); - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._HJGL_BS_IsoClass = default(EntityRef); - this._HJGL_BS_MaterialStandard = default(EntityRef); - this._HJGL_BS_Service = default(EntityRef); - this._HJGL_BS_Steel = default(EntityRef); - this._Project_WorkArea = default(EntityRef); - this._HJGL_PW_JointInfo = new EntitySet(new Action(this.attach_HJGL_PW_JointInfo), new Action(this.detach_HJGL_PW_JointInfo)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BSU_ID", DbType="NVarChar(50)")] - public string BSU_ID - { - get - { - return this._BSU_ID; - } - set - { - if ((this._BSU_ID != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBSU_IDChanging(value); - this.SendPropertyChanging(); - this._BSU_ID = value; - this.SendPropertyChanged("BSU_ID"); - this.OnBSU_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_ID", DbType="VarChar(50)")] - public string SER_ID - { - get - { - return this._SER_ID; - } - set - { - if ((this._SER_ID != value)) - { - if (this._HJGL_BS_Service.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSER_IDChanging(value); - this.SendPropertyChanging(); - this._SER_ID = value; - this.SendPropertyChanged("SER_ID"); - this.OnSER_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BAW_ID", DbType="NVarChar(50)")] - public string BAW_ID - { - get - { - return this._BAW_ID; - } - set - { - if ((this._BAW_ID != value)) - { - if (this._Project_WorkArea.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnBAW_IDChanging(value); - this.SendPropertyChanging(); - this._BAW_ID = value; - this.SendPropertyChanged("BAW_ID"); - this.OnBAW_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this.OnISO_IsoNoChanging(value); - this.SendPropertyChanging(); - this._ISO_IsoNo = value; - this.SendPropertyChanged("ISO_IsoNo"); - this.OnISO_IsoNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TotalDin", DbType="Decimal(18,4)")] - public System.Nullable ISO_TotalDin - { - get - { - return this._ISO_TotalDin; - } - set - { - if ((this._ISO_TotalDin != value)) - { - this.OnISO_TotalDinChanging(value); - this.SendPropertyChanging(); - this._ISO_TotalDin = value; - this.SendPropertyChanged("ISO_TotalDin"); - this.OnISO_TotalDinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Paint", DbType="VarChar(40)")] - public string ISO_Paint - { - get - { - return this._ISO_Paint; - } - set - { - if ((this._ISO_Paint != value)) - { - this.OnISO_PaintChanging(value); - this.SendPropertyChanging(); - this._ISO_Paint = value; - this.SendPropertyChanged("ISO_Paint"); - this.OnISO_PaintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Insulator", DbType="VarChar(40)")] - public string ISO_Insulator - { - get - { - return this._ISO_Insulator; - } - set - { - if ((this._ISO_Insulator != value)) - { - this.OnISO_InsulatorChanging(value); - this.SendPropertyChanging(); - this._ISO_Insulator = value; - this.SendPropertyChanged("ISO_Insulator"); - this.OnISO_InsulatorChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Executive", DbType="NVarChar(50)")] - public string ISO_Executive - { - get - { - return this._ISO_Executive; - } - set - { - if ((this._ISO_Executive != value)) - { - this.OnISO_ExecutiveChanging(value); - this.SendPropertyChanging(); - this._ISO_Executive = value; - this.SendPropertyChanged("ISO_Executive"); - this.OnISO_ExecutiveChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Modifier", DbType="VarChar(20)")] - public string ISO_Modifier - { - get - { - return this._ISO_Modifier; - } - set - { - if ((this._ISO_Modifier != value)) - { - this.OnISO_ModifierChanging(value); - this.SendPropertyChanging(); - this._ISO_Modifier = value; - this.SendPropertyChanged("ISO_Modifier"); - this.OnISO_ModifierChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ModifyDate", DbType="DateTime")] - public System.Nullable ISO_ModifyDate - { - get - { - return this._ISO_ModifyDate; - } - set - { - if ((this._ISO_ModifyDate != value)) - { - this.OnISO_ModifyDateChanging(value); - this.SendPropertyChanging(); - this._ISO_ModifyDate = value; - this.SendPropertyChanged("ISO_ModifyDate"); - this.OnISO_ModifyDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Creator", DbType="VarChar(20)")] - public string ISO_Creator - { - get - { - return this._ISO_Creator; - } - set - { - if ((this._ISO_Creator != value)) - { - this.OnISO_CreatorChanging(value); - this.SendPropertyChanging(); - this._ISO_Creator = value; - this.SendPropertyChanged("ISO_Creator"); - this.OnISO_CreatorChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_CreateDate", DbType="DateTime")] - public System.Nullable ISO_CreateDate - { - get - { - return this._ISO_CreateDate; - } - set - { - if ((this._ISO_CreateDate != value)) - { - this.OnISO_CreateDateChanging(value); - this.SendPropertyChanging(); - this._ISO_CreateDate = value; - this.SendPropertyChanged("ISO_CreateDate"); - this.OnISO_CreateDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_DesignPress", DbType="Decimal(18,4)")] - public System.Nullable ISO_DesignPress - { - get - { - return this._ISO_DesignPress; - } - set - { - if ((this._ISO_DesignPress != value)) - { - this.OnISO_DesignPressChanging(value); - this.SendPropertyChanging(); - this._ISO_DesignPress = value; - this.SendPropertyChanged("ISO_DesignPress"); - this.OnISO_DesignPressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_DesignTemperature", DbType="Decimal(18,4)")] - public System.Nullable ISO_DesignTemperature - { - get - { - return this._ISO_DesignTemperature; - } - set - { - if ((this._ISO_DesignTemperature != value)) - { - this.OnISO_DesignTemperatureChanging(value); - this.SendPropertyChanging(); - this._ISO_DesignTemperature = value; - this.SendPropertyChanged("ISO_DesignTemperature"); - this.OnISO_DesignTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TestPress", DbType="Decimal(18,4)")] - public System.Nullable ISO_TestPress - { - get - { - return this._ISO_TestPress; - } - set - { - if ((this._ISO_TestPress != value)) - { - this.OnISO_TestPressChanging(value); - this.SendPropertyChanging(); - this._ISO_TestPress = value; - this.SendPropertyChanged("ISO_TestPress"); - this.OnISO_TestPressChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TestTemperature", DbType="Decimal(18,4)")] - public System.Nullable ISO_TestTemperature - { - get - { - return this._ISO_TestTemperature; - } - set - { - if ((this._ISO_TestTemperature != value)) - { - this.OnISO_TestTemperatureChanging(value); - this.SendPropertyChanging(); - this._ISO_TestTemperature = value; - this.SendPropertyChanged("ISO_TestTemperature"); - this.OnISO_TestTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_ID", DbType="VarChar(50)")] - public string ISC_ID - { - get - { - return this._ISC_ID; - } - set - { - if ((this._ISC_ID != value)) - { - if (this._HJGL_BS_IsoClass.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISC_IDChanging(value); - this.SendPropertyChanging(); - this._ISC_ID = value; - this.SendPropertyChanged("ISC_ID"); - this.OnISC_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Remark", DbType="VarChar(100)")] - public string ISO_Remark - { - get - { - return this._ISO_Remark; - } - set - { - if ((this._ISO_Remark != value)) - { - this.OnISO_RemarkChanging(value); - this.SendPropertyChanging(); - this._ISO_Remark = value; - this.SendPropertyChanged("ISO_Remark"); - this.OnISO_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandardId", DbType="NVarChar(50)")] - public string MaterialStandardId - { - get - { - return this._MaterialStandardId; - } - set - { - if ((this._MaterialStandardId != value)) - { - if (this._HJGL_BS_MaterialStandard.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMaterialStandardIdChanging(value); - this.SendPropertyChanging(); - this._MaterialStandardId = value; - this.SendPropertyChanged("MaterialStandardId"); - this.OnMaterialStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestPackageNo", DbType="NVarChar(50)")] - public string PressureTestPackageNo - { - get - { - return this._PressureTestPackageNo; - } - set - { - if ((this._PressureTestPackageNo != value)) - { - this.OnPressureTestPackageNoChanging(value); - this.SendPropertyChanging(); - this._PressureTestPackageNo = value; - this.SendPropertyChanged("PressureTestPackageNo"); - this.OnPressureTestPackageNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingPressure", DbType="NVarChar(50)")] - public string OperatingPressure - { - get - { - return this._OperatingPressure; - } - set - { - if ((this._OperatingPressure != value)) - { - this.OnOperatingPressureChanging(value); - this.SendPropertyChanging(); - this._OperatingPressure = value; - this.SendPropertyChanged("OperatingPressure"); - this.OnOperatingPressureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingTemperature", DbType="NVarChar(50)")] - public string OperatingTemperature - { - get - { - return this._OperatingTemperature; - } - set - { - if ((this._OperatingTemperature != value)) - { - this.OnOperatingTemperatureChanging(value); - this.SendPropertyChanging(); - this._OperatingTemperature = value; - this.SendPropertyChanged("OperatingTemperature"); - this.OnOperatingTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeLineClass", DbType="NVarChar(50)")] - public string PipeLineClass - { - get - { - return this._PipeLineClass; - } - set - { - if ((this._PipeLineClass != value)) - { - this.OnPipeLineClassChanging(value); - this.SendPropertyChanging(); - this._PipeLineClass = value; - this.SendPropertyChanged("PipeLineClass"); - this.OnPipeLineClassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeLineLength", DbType="Decimal(18,4)")] - public System.Nullable PipeLineLength - { - get - { - return this._PipeLineLength; - } - set - { - if ((this._PipeLineLength != value)) - { - this.OnPipeLineLengthChanging(value); - this.SendPropertyChanging(); - this._PipeLineLength = value; - this.SendPropertyChanged("PipeLineLength"); - this.OnPipeLineLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageTest", DbType="NVarChar(50)")] - public string LeakageTest - { - get - { - return this._LeakageTest; - } - set - { - if ((this._LeakageTest != value)) - { - this.OnLeakageTestChanging(value); - this.SendPropertyChanging(); - this._LeakageTest = value; - this.SendPropertyChanged("LeakageTest"); - this.OnLeakageTestChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestCategoryNum", DbType="NVarChar(50)")] - public string TestCategoryNum - { - get - { - return this._TestCategoryNum; - } - set - { - if ((this._TestCategoryNum != value)) - { - this.OnTestCategoryNumChanging(value); - this.SendPropertyChanging(); - this._TestCategoryNum = value; - this.SendPropertyChanged("TestCategoryNum"); - this.OnTestCategoryNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHot", DbType="NChar(1)")] - public string IsHot - { - get - { - return this._IsHot; - } - set - { - if ((this._IsHot != value)) - { - this.OnIsHotChanging(value); - this.SendPropertyChanging(); - this._IsHot = value; - this.SendPropertyChanged("IsHot"); - this.OnIsHotChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotType", DbType="NVarChar(50)")] - public string IsHotType - { - get - { - return this._IsHotType; - } - set - { - if ((this._IsHotType != value)) - { - this.OnIsHotTypeChanging(value); - this.SendPropertyChanging(); - this._IsHotType = value; - this.SendPropertyChanged("IsHotType"); - this.OnIsHotTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specification", DbType="NVarChar(50)")] - public string Specification - { - get - { - return this._Specification; - } - set - { - if ((this._Specification != value)) - { - this.OnSpecificationChanging(value); - this.SendPropertyChanging(); - this._Specification = value; - this.SendPropertyChanged("Specification"); - this.OnSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Dia", DbType="Decimal(9,2)")] - public System.Nullable ISO_Dia - { - get - { - return this._ISO_Dia; - } - set - { - if ((this._ISO_Dia != value)) - { - this.OnISO_DiaChanging(value); - this.SendPropertyChanging(); - this._ISO_Dia = value; - this.SendPropertyChanged("ISO_Dia"); - this.OnISO_DiaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Sch", DbType="Decimal(9,2)")] - public System.Nullable ISO_Sch - { - get - { - return this._ISO_Sch; - } - set - { - if ((this._ISO_Sch != value)) - { - this.OnISO_SchChanging(value); - this.SendPropertyChanging(); - this._ISO_Sch = value; - this.SendPropertyChanged("ISO_Sch"); - this.OnISO_SchChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_B_Rate", DbType="NVarChar(50)")] - public string Joty_B_Rate - { - get - { - return this._Joty_B_Rate; - } - set - { - if ((this._Joty_B_Rate != value)) - { - this.OnJoty_B_RateChanging(value); - this.SendPropertyChanging(); - this._Joty_B_Rate = value; - this.SendPropertyChanged("Joty_B_Rate"); - this.OnJoty_B_RateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_C_Rate", DbType="NVarChar(50)")] - public string Joty_C_Rate - { - get - { - return this._Joty_C_Rate; - } - set - { - if ((this._Joty_C_Rate != value)) - { - this.OnJoty_C_RateChanging(value); - this.SendPropertyChanging(); - this._Joty_C_Rate = value; - this.SendPropertyChanged("Joty_C_Rate"); - this.OnJoty_C_RateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_D_Rate", DbType="NVarChar(50)")] - public string Joty_D_Rate - { - get - { - return this._Joty_D_Rate; - } - set - { - if ((this._Joty_D_Rate != value)) - { - this.OnJoty_D_RateChanging(value); - this.SendPropertyChanging(); - this._Joty_D_Rate = value; - this.SendPropertyChanged("Joty_D_Rate"); - this.OnJoty_D_RateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_B_Level", DbType="NVarChar(10)")] - public string Joty_B_Level - { - get - { - return this._Joty_B_Level; - } - set - { - if ((this._Joty_B_Level != value)) - { - this.OnJoty_B_LevelChanging(value); - this.SendPropertyChanging(); - this._Joty_B_Level = value; - this.SendPropertyChanged("Joty_B_Level"); - this.OnJoty_B_LevelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_C_Level", DbType="NVarChar(10)")] - public string Joty_C_Level - { - get - { - return this._Joty_C_Level; - } - set - { - if ((this._Joty_C_Level != value)) - { - this.OnJoty_C_LevelChanging(value); - this.SendPropertyChanging(); - this._Joty_C_Level = value; - this.SendPropertyChanged("Joty_C_Level"); - this.OnJoty_C_LevelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Joty_D_Level", DbType="NVarChar(10)")] - public string Joty_D_Level - { - get - { - return this._Joty_D_Level; - } - set - { - if ((this._Joty_D_Level != value)) - { - this.OnJoty_D_LevelChanging(value); - this.SendPropertyChanging(); - this._Joty_D_Level = value; - this.SendPropertyChanged("Joty_D_Level"); - this.OnJoty_D_LevelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_HJGL_PW_IsoInfo", Storage="_HJGL_BO_Batch", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_BatchDetail_HJGL_PW_IsoInfo", Storage="_HJGL_BO_BatchDetail", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_BatchDetail - { - get - { - return this._HJGL_BO_BatchDetail; - } - set - { - this._HJGL_BO_BatchDetail.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRating_HJGL_PW_IsoInfo", Storage="_HJGL_BO_QualityRating", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_QualityRating - { - get - { - return this._HJGL_BO_QualityRating; - } - set - { - this._HJGL_BO_QualityRating.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRatingRepair_HJGL_PW_IsoInfo", Storage="_HJGL_BO_QualityRatingRepair", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_QualityRatingRepair - { - get - { - return this._HJGL_BO_QualityRatingRepair; - } - set - { - this._HJGL_BO_QualityRatingRepair.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_RepairNotice_HJGL_PW_IsoInfo", Storage="_HJGL_BO_RepairNotice", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_RepairNotice - { - get - { - return this._HJGL_BO_RepairNotice; - } - set - { - this._HJGL_BO_RepairNotice.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReport_HJGL_PW_IsoInfo", Storage="_HJGL_CH_HardTestReport", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HardTestReport - { - get - { - return this._HJGL_CH_HardTestReport; - } - set - { - this._HJGL_CH_HardTestReport.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_PW_IsoInfo", Storage="_HJGL_CH_RepairItemRecord", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItemRecord - { - get - { - return this._HJGL_CH_RepairItemRecord; - } - set - { - this._HJGL_CH_RepairItemRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TestingReportPrint_HJGL_PW_IsoInfo", Storage="_HJGL_CH_TestingReportPrint", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_TestingReportPrint - { - get - { - return this._HJGL_CH_TestingReportPrint; - } - set - { - this._HJGL_CH_TestingReportPrint.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorageItem_HJGL_PW_IsoInfo", Storage="_HJGL_Match_OutStorageItem", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_OutStorageItem - { - get - { - return this._HJGL_Match_OutStorageItem; - } - set - { - this._HJGL_Match_OutStorageItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_PipeMaterial_HJGL_PW_IsoInfo", Storage="_HJGL_Match_PipeMaterial", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_PipeMaterial - { - get - { - return this._HJGL_Match_PipeMaterial; - } - set - { - this._HJGL_Match_PipeMaterial.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_PW_IsoInfo.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_PW_IsoInfo.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_Base_Unit", Storage="_Base_Unit", ThisKey="BSU_ID", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_PW_IsoInfo.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_PW_IsoInfo.Add(this); - this._BSU_ID = value.UnitId; - } - else - { - this._BSU_ID = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_HJGL_BS_IsoClass", Storage="_HJGL_BS_IsoClass", ThisKey="ISC_ID", OtherKey="ISC_ID", IsForeignKey=true)] - public HJGL_BS_IsoClass HJGL_BS_IsoClass - { - get - { - return this._HJGL_BS_IsoClass.Entity; - } - set - { - HJGL_BS_IsoClass previousValue = this._HJGL_BS_IsoClass.Entity; - if (((previousValue != value) - || (this._HJGL_BS_IsoClass.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_IsoClass.Entity = null; - previousValue.HJGL_PW_IsoInfo.Remove(this); - } - this._HJGL_BS_IsoClass.Entity = value; - if ((value != null)) - { - value.HJGL_PW_IsoInfo.Add(this); - this._ISC_ID = value.ISC_ID; - } - else - { - this._ISC_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_IsoClass"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_HJGL_BS_MaterialStandard", Storage="_HJGL_BS_MaterialStandard", ThisKey="MaterialStandardId", OtherKey="MaterialStandardId", IsForeignKey=true)] - public HJGL_BS_MaterialStandard HJGL_BS_MaterialStandard - { - get - { - return this._HJGL_BS_MaterialStandard.Entity; - } - set - { - HJGL_BS_MaterialStandard previousValue = this._HJGL_BS_MaterialStandard.Entity; - if (((previousValue != value) - || (this._HJGL_BS_MaterialStandard.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_MaterialStandard.Entity = null; - previousValue.HJGL_PW_IsoInfo.Remove(this); - } - this._HJGL_BS_MaterialStandard.Entity = value; - if ((value != null)) - { - value.HJGL_PW_IsoInfo.Add(this); - this._MaterialStandardId = value.MaterialStandardId; - } - else - { - this._MaterialStandardId = default(string); - } - this.SendPropertyChanged("HJGL_BS_MaterialStandard"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_HJGL_BS_Service", Storage="_HJGL_BS_Service", ThisKey="SER_ID", OtherKey="SER_ID", IsForeignKey=true)] - public HJGL_BS_Service HJGL_BS_Service - { - get - { - return this._HJGL_BS_Service.Entity; - } - set - { - HJGL_BS_Service previousValue = this._HJGL_BS_Service.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Service.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Service.Entity = null; - previousValue.HJGL_PW_IsoInfo.Remove(this); - } - this._HJGL_BS_Service.Entity = value; - if ((value != null)) - { - value.HJGL_PW_IsoInfo.Add(this); - this._SER_ID = value.SER_ID; - } - else - { - this._SER_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Service"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel HJGL_BS_Steel - { - get - { - return this._HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Steel.Entity = null; - previousValue.HJGL_PW_IsoInfo.Remove(this); - } - this._HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_PW_IsoInfo.Add(this); - this._STE_ID = value.STE_ID; - } - else - { - this._STE_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_Project_WorkArea", Storage="_Project_WorkArea", ThisKey="BAW_ID", OtherKey="WorkAreaId", IsForeignKey=true)] - public Project_WorkArea Project_WorkArea - { - get - { - return this._Project_WorkArea.Entity; - } - set - { - Project_WorkArea previousValue = this._Project_WorkArea.Entity; - if (((previousValue != value) - || (this._Project_WorkArea.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Project_WorkArea.Entity = null; - previousValue.HJGL_PW_IsoInfo.Remove(this); - } - this._Project_WorkArea.Entity = value; - if ((value != null)) - { - value.HJGL_PW_IsoInfo.Add(this); - this._BAW_ID = value.WorkAreaId; - } - else - { - this._BAW_ID = default(string); - } - this.SendPropertyChanged("Project_WorkArea"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_PW_IsoInfo", Storage="_HJGL_PW_JointInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo; - } - set - { - this._HJGL_PW_JointInfo.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_BO_BatchDetail(HJGL_BO_BatchDetail entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_BO_BatchDetail(HJGL_BO_BatchDetail entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_BO_QualityRating(HJGL_BO_QualityRating entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_BO_QualityRating(HJGL_BO_QualityRating entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_BO_RepairNotice(HJGL_BO_RepairNotice entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_BO_RepairNotice(HJGL_BO_RepairNotice entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_CH_HardTestReport(HJGL_CH_HardTestReport entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_CH_HardTestReport(HJGL_CH_HardTestReport entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_CH_TestingReportPrint(HJGL_CH_TestingReportPrint entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_Match_OutStorageItem(HJGL_Match_OutStorageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_Match_OutStorageItem(HJGL_Match_OutStorageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_Match_PipeMaterial(HJGL_Match_PipeMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - - private void attach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = this; - } - - private void detach_HJGL_PW_JointInfo(HJGL_PW_JointInfo entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_IsoInfo = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_PW_JointChange")] - public partial class HJGL_PW_JointChange : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _JOC_Code; - - private string _ProjectId; - - private string _JOC_Name; - - private string _JOC_Remark; - - private EntityRef _Base_Project; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnJOC_CodeChanging(string value); - partial void OnJOC_CodeChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnJOC_NameChanging(string value); - partial void OnJOC_NameChanged(); - partial void OnJOC_RemarkChanging(string value); - partial void OnJOC_RemarkChanged(); - #endregion - - public HJGL_PW_JointChange() - { - this._Base_Project = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOC_Code", DbType="VarChar(20) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string JOC_Code - { - get - { - return this._JOC_Code; - } - set - { - if ((this._JOC_Code != value)) - { - this.OnJOC_CodeChanging(value); - this.SendPropertyChanging(); - this._JOC_Code = value; - this.SendPropertyChanged("JOC_Code"); - this.OnJOC_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOC_Name", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOC_Name - { - get - { - return this._JOC_Name; - } - set - { - if ((this._JOC_Name != value)) - { - this.OnJOC_NameChanging(value); - this.SendPropertyChanging(); - this._JOC_Name = value; - this.SendPropertyChanged("JOC_Name"); - this.OnJOC_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOC_Remark", DbType="VarChar(100)")] - public string JOC_Remark - { - get - { - return this._JOC_Remark; - } - set - { - if ((this._JOC_Remark != value)) - { - this.OnJOC_RemarkChanging(value); - this.SendPropertyChanging(); - this._JOC_Remark = value; - this.SendPropertyChanged("JOC_Remark"); - this.OnJOC_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointChange_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_PW_JointChange.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointChange.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_PW_JointInfo")] - public partial class HJGL_PW_JointInfo : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _JOT_ID; - - private string _ProjectId; - - private string _InstallationId; - - private string _JOT_JointNo; - - private string _DReportID; - - private string _ISO_ID; - - private string _STE_ID; - - private string _STE_ID2; - - private string _NDTR_ID; - - private string _JOT_CellWelder; - - private string _JOT_FloorWelder; - - private string _WLO_Code; - - private System.Nullable _JOT_DoneDin; - - private string _IS_Compute; - - private string _JOT_Component1; - - private string _JOT_Component2; - - private string _JOT_WeldMat; - - private string _JOT_JointStatus; - - private System.Nullable _JOT_Dia; - - private System.Nullable _JOT_Size; - - private string _JOT_Sch; - - private System.Nullable _JOT_FactSch; - - private string _JOT_JointFlag; - - private string _JOT_TrustFlag; - - private string _JOT_JointDesc; - - private string _JOT_WeldSilk; - - private string _JOTY_ID; - - private string _JOT_Electricity; - - private string _JOT_Voltage; - - private string _JOT_CheckFlag; - - private string _JOT_RepairFlag; - - private string _WME_ID; - - private string _JST_ID; - - private string _IS_Proess; - - private System.Nullable _IsSpecial; - - private System.Nullable _JOT_PrepareTemp; - - private System.Nullable _JOT_CellTemp; - - private System.Nullable _JOT_LastTemp; - - private string _JOT_JointAttribute; - - private string _JOT_Location; - - private string _JOT_Remark; - - private string _ProessTypes; - - private string _JOT_QualifiedLevel; - - private System.Nullable _WeldL; - - private string _PointType; - - private string _RT_TrustCode; - - private System.Nullable _RT_TrustDate; - - private string _RT_States; - - private System.Nullable _RTFeedbackDate; - - private System.Nullable _RT_FilmNum; - - private System.Nullable _RT1_RepairFilmNum; - - private string _RT1_RepairFilm; - - private System.Nullable _RT2_RepairFilmNum; - - private string _RT2_RepairFilm; - - private System.Nullable _RT3_RepairFilmNum; - - private string _RT3_RepairFilm; - - private string _PT_TrustCode; - - private System.Nullable _PT_TrustDate; - - private string _PT_States; - - private string _MT_TrustCode; - - private System.Nullable _MT_TrustDate; - - private string _MT_States; - - private string _UT_TrustCode; - - private System.Nullable _UT_TrustDate; - - private string _UT_States; - - private System.Nullable _HotProessTrustDate; - - private System.Nullable _HotProessResultOK; - - private System.Nullable _HotResultDate; - - private System.Nullable _HardTrustDate; - - private System.Nullable _HardTestResultOK; - - private System.Nullable _HardResultDate; - - private System.Nullable _PTIsRepair1; - - private System.Nullable _PTIsRepair2; - - private System.Nullable _PTIsRepair3; - - private System.Nullable _MTIsRepair1; - - private System.Nullable _MTIsRepair2; - - private System.Nullable _MTIsRepair3; - - private System.Nullable _UTIsRepair1; - - private System.Nullable _UTIsRepair2; - - private System.Nullable _UTIsRepair3; - - private string _HotProessRemark; - - private string _PAUT_TrustCode; - - private System.Nullable _PAUT_TrustDate; - - private string _PAUT_States; - - private System.Nullable _PAUTIsRepair1; - - private System.Nullable _PAUTIsRepair2; - - private System.Nullable _PAUTIsRepair3; - - private System.Nullable _R_Material; - - private System.Nullable _Jot_WeldingDate; - - private string _PressureTestPackageNo; - - private string _Sort1; - - private System.Nullable _Sort2; - - private string _Sort3; - - private System.Nullable _Sort4; - - private System.Nullable _Sort5; - - private EntityRef _HJGL_BO_BatchDetail; - - private EntitySet _HJGL_BO_PreWeldReportMain; - - private EntitySet _HJGL_BO_QualityRating; - - private EntitySet _HJGL_BO_QualityRatingRepair; - - private EntitySet _HJGL_BO_RepairNotice; - - private EntitySet _HJGL_CH_HardTestReportItem; - - private EntitySet _HJGL_CH_HardTestResult; - - private EntitySet _HJGL_CH_HotProessResult; - - private EntitySet _HJGL_CH_HotProessTrustItem; - - private EntitySet _HJGL_CH_Repair; - - private EntitySet _HJGL_CH_RepairItem; - - private EntitySet _HJGL_CH_RepairItemRecord; - - private EntitySet _HJGL_CH_TrustItem; - - private EntitySet _HJGL_HotProessItem; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_BO_WeldReportMain; - - private EntityRef _HJGL_BS_Component; - - private EntityRef _JOT_Component2HJGL_BS_Component; - - private EntityRef _HJGL_BS_JointType; - - private EntityRef _HJGL_BS_SlopeType; - - private EntityRef _HJGL_BS_Steel; - - private EntityRef _STE_ID2HJGL_BS_Steel; - - private EntityRef _HJGL_BS_Welder; - - private EntityRef _JOT_FloorWelderHJGL_BS_Welder; - - private EntityRef _HJGL_BS_WeldMaterial; - - private EntityRef _JOT_WeldSilkHJGL_BS_WeldMaterial; - - private EntityRef _HJGL_BS_WeldMethod; - - private EntityRef _HJGL_PW_IsoInfo; - - private EntitySet _HJGL_WeldingProcedure_WeldRepairCard; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnJOT_JointNoChanging(string value); - partial void OnJOT_JointNoChanged(); - partial void OnDReportIDChanging(string value); - partial void OnDReportIDChanged(); - partial void OnISO_IDChanging(string value); - partial void OnISO_IDChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnSTE_ID2Changing(string value); - partial void OnSTE_ID2Changed(); - partial void OnNDTR_IDChanging(string value); - partial void OnNDTR_IDChanged(); - partial void OnJOT_CellWelderChanging(string value); - partial void OnJOT_CellWelderChanged(); - partial void OnJOT_FloorWelderChanging(string value); - partial void OnJOT_FloorWelderChanged(); - partial void OnWLO_CodeChanging(string value); - partial void OnWLO_CodeChanged(); - partial void OnJOT_DoneDinChanging(System.Nullable value); - partial void OnJOT_DoneDinChanged(); - partial void OnIS_ComputeChanging(string value); - partial void OnIS_ComputeChanged(); - partial void OnJOT_Component1Changing(string value); - partial void OnJOT_Component1Changed(); - partial void OnJOT_Component2Changing(string value); - partial void OnJOT_Component2Changed(); - partial void OnJOT_WeldMatChanging(string value); - partial void OnJOT_WeldMatChanged(); - partial void OnJOT_JointStatusChanging(string value); - partial void OnJOT_JointStatusChanged(); - partial void OnJOT_DiaChanging(System.Nullable value); - partial void OnJOT_DiaChanged(); - partial void OnJOT_SizeChanging(System.Nullable value); - partial void OnJOT_SizeChanged(); - partial void OnJOT_SchChanging(string value); - partial void OnJOT_SchChanged(); - partial void OnJOT_FactSchChanging(System.Nullable value); - partial void OnJOT_FactSchChanged(); - partial void OnJOT_JointFlagChanging(string value); - partial void OnJOT_JointFlagChanged(); - partial void OnJOT_TrustFlagChanging(string value); - partial void OnJOT_TrustFlagChanged(); - partial void OnJOT_JointDescChanging(string value); - partial void OnJOT_JointDescChanged(); - partial void OnJOT_WeldSilkChanging(string value); - partial void OnJOT_WeldSilkChanged(); - partial void OnJOTY_IDChanging(string value); - partial void OnJOTY_IDChanged(); - partial void OnJOT_ElectricityChanging(string value); - partial void OnJOT_ElectricityChanged(); - partial void OnJOT_VoltageChanging(string value); - partial void OnJOT_VoltageChanged(); - partial void OnJOT_CheckFlagChanging(string value); - partial void OnJOT_CheckFlagChanged(); - partial void OnJOT_RepairFlagChanging(string value); - partial void OnJOT_RepairFlagChanged(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - partial void OnJST_IDChanging(string value); - partial void OnJST_IDChanged(); - partial void OnIS_ProessChanging(string value); - partial void OnIS_ProessChanged(); - partial void OnIsSpecialChanging(System.Nullable value); - partial void OnIsSpecialChanged(); - partial void OnJOT_PrepareTempChanging(System.Nullable value); - partial void OnJOT_PrepareTempChanged(); - partial void OnJOT_CellTempChanging(System.Nullable value); - partial void OnJOT_CellTempChanged(); - partial void OnJOT_LastTempChanging(System.Nullable value); - partial void OnJOT_LastTempChanged(); - partial void OnJOT_JointAttributeChanging(string value); - partial void OnJOT_JointAttributeChanged(); - partial void OnJOT_LocationChanging(string value); - partial void OnJOT_LocationChanged(); - partial void OnJOT_RemarkChanging(string value); - partial void OnJOT_RemarkChanged(); - partial void OnProessTypesChanging(string value); - partial void OnProessTypesChanged(); - partial void OnJOT_QualifiedLevelChanging(string value); - partial void OnJOT_QualifiedLevelChanged(); - partial void OnWeldLChanging(System.Nullable value); - partial void OnWeldLChanged(); - partial void OnPointTypeChanging(string value); - partial void OnPointTypeChanged(); - partial void OnRT_TrustCodeChanging(string value); - partial void OnRT_TrustCodeChanged(); - partial void OnRT_TrustDateChanging(System.Nullable value); - partial void OnRT_TrustDateChanged(); - partial void OnRT_StatesChanging(string value); - partial void OnRT_StatesChanged(); - partial void OnRTFeedbackDateChanging(System.Nullable value); - partial void OnRTFeedbackDateChanged(); - partial void OnRT_FilmNumChanging(System.Nullable value); - partial void OnRT_FilmNumChanged(); - partial void OnRT1_RepairFilmNumChanging(System.Nullable value); - partial void OnRT1_RepairFilmNumChanged(); - partial void OnRT1_RepairFilmChanging(string value); - partial void OnRT1_RepairFilmChanged(); - partial void OnRT2_RepairFilmNumChanging(System.Nullable value); - partial void OnRT2_RepairFilmNumChanged(); - partial void OnRT2_RepairFilmChanging(string value); - partial void OnRT2_RepairFilmChanged(); - partial void OnRT3_RepairFilmNumChanging(System.Nullable value); - partial void OnRT3_RepairFilmNumChanged(); - partial void OnRT3_RepairFilmChanging(string value); - partial void OnRT3_RepairFilmChanged(); - partial void OnPT_TrustCodeChanging(string value); - partial void OnPT_TrustCodeChanged(); - partial void OnPT_TrustDateChanging(System.Nullable value); - partial void OnPT_TrustDateChanged(); - partial void OnPT_StatesChanging(string value); - partial void OnPT_StatesChanged(); - partial void OnMT_TrustCodeChanging(string value); - partial void OnMT_TrustCodeChanged(); - partial void OnMT_TrustDateChanging(System.Nullable value); - partial void OnMT_TrustDateChanged(); - partial void OnMT_StatesChanging(string value); - partial void OnMT_StatesChanged(); - partial void OnUT_TrustCodeChanging(string value); - partial void OnUT_TrustCodeChanged(); - partial void OnUT_TrustDateChanging(System.Nullable value); - partial void OnUT_TrustDateChanged(); - partial void OnUT_StatesChanging(string value); - partial void OnUT_StatesChanged(); - partial void OnHotProessTrustDateChanging(System.Nullable value); - partial void OnHotProessTrustDateChanged(); - partial void OnHotProessResultOKChanging(System.Nullable value); - partial void OnHotProessResultOKChanged(); - partial void OnHotResultDateChanging(System.Nullable value); - partial void OnHotResultDateChanged(); - partial void OnHardTrustDateChanging(System.Nullable value); - partial void OnHardTrustDateChanged(); - partial void OnHardTestResultOKChanging(System.Nullable value); - partial void OnHardTestResultOKChanged(); - partial void OnHardResultDateChanging(System.Nullable value); - partial void OnHardResultDateChanged(); - partial void OnPTIsRepair1Changing(System.Nullable value); - partial void OnPTIsRepair1Changed(); - partial void OnPTIsRepair2Changing(System.Nullable value); - partial void OnPTIsRepair2Changed(); - partial void OnPTIsRepair3Changing(System.Nullable value); - partial void OnPTIsRepair3Changed(); - partial void OnMTIsRepair1Changing(System.Nullable value); - partial void OnMTIsRepair1Changed(); - partial void OnMTIsRepair2Changing(System.Nullable value); - partial void OnMTIsRepair2Changed(); - partial void OnMTIsRepair3Changing(System.Nullable value); - partial void OnMTIsRepair3Changed(); - partial void OnUTIsRepair1Changing(System.Nullable value); - partial void OnUTIsRepair1Changed(); - partial void OnUTIsRepair2Changing(System.Nullable value); - partial void OnUTIsRepair2Changed(); - partial void OnUTIsRepair3Changing(System.Nullable value); - partial void OnUTIsRepair3Changed(); - partial void OnHotProessRemarkChanging(string value); - partial void OnHotProessRemarkChanged(); - partial void OnPAUT_TrustCodeChanging(string value); - partial void OnPAUT_TrustCodeChanged(); - partial void OnPAUT_TrustDateChanging(System.Nullable value); - partial void OnPAUT_TrustDateChanged(); - partial void OnPAUT_StatesChanging(string value); - partial void OnPAUT_StatesChanged(); - partial void OnPAUTIsRepair1Changing(System.Nullable value); - partial void OnPAUTIsRepair1Changed(); - partial void OnPAUTIsRepair2Changing(System.Nullable value); - partial void OnPAUTIsRepair2Changed(); - partial void OnPAUTIsRepair3Changing(System.Nullable value); - partial void OnPAUTIsRepair3Changed(); - partial void OnR_MaterialChanging(System.Nullable value); - partial void OnR_MaterialChanged(); - partial void OnJot_WeldingDateChanging(System.Nullable value); - partial void OnJot_WeldingDateChanged(); - partial void OnPressureTestPackageNoChanging(string value); - partial void OnPressureTestPackageNoChanged(); - partial void OnSort1Changing(string value); - partial void OnSort1Changed(); - partial void OnSort2Changing(System.Nullable value); - partial void OnSort2Changed(); - partial void OnSort3Changing(string value); - partial void OnSort3Changed(); - partial void OnSort4Changing(System.Nullable value); - partial void OnSort4Changed(); - partial void OnSort5Changing(System.Nullable value); - partial void OnSort5Changed(); - #endregion - - public HJGL_PW_JointInfo() - { - this._HJGL_BO_BatchDetail = default(EntityRef); - this._HJGL_BO_PreWeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_PreWeldReportMain), new Action(this.detach_HJGL_BO_PreWeldReportMain)); - this._HJGL_BO_QualityRating = new EntitySet(new Action(this.attach_HJGL_BO_QualityRating), new Action(this.detach_HJGL_BO_QualityRating)); - this._HJGL_BO_QualityRatingRepair = new EntitySet(new Action(this.attach_HJGL_BO_QualityRatingRepair), new Action(this.detach_HJGL_BO_QualityRatingRepair)); - this._HJGL_BO_RepairNotice = new EntitySet(new Action(this.attach_HJGL_BO_RepairNotice), new Action(this.detach_HJGL_BO_RepairNotice)); - this._HJGL_CH_HardTestReportItem = new EntitySet(new Action(this.attach_HJGL_CH_HardTestReportItem), new Action(this.detach_HJGL_CH_HardTestReportItem)); - this._HJGL_CH_HardTestResult = new EntitySet(new Action(this.attach_HJGL_CH_HardTestResult), new Action(this.detach_HJGL_CH_HardTestResult)); - this._HJGL_CH_HotProessResult = new EntitySet(new Action(this.attach_HJGL_CH_HotProessResult), new Action(this.detach_HJGL_CH_HotProessResult)); - this._HJGL_CH_HotProessTrustItem = new EntitySet(new Action(this.attach_HJGL_CH_HotProessTrustItem), new Action(this.detach_HJGL_CH_HotProessTrustItem)); - this._HJGL_CH_Repair = new EntitySet(new Action(this.attach_HJGL_CH_Repair), new Action(this.detach_HJGL_CH_Repair)); - this._HJGL_CH_RepairItem = new EntitySet(new Action(this.attach_HJGL_CH_RepairItem), new Action(this.detach_HJGL_CH_RepairItem)); - this._HJGL_CH_RepairItemRecord = new EntitySet(new Action(this.attach_HJGL_CH_RepairItemRecord), new Action(this.detach_HJGL_CH_RepairItemRecord)); - this._HJGL_CH_TrustItem = new EntitySet(new Action(this.attach_HJGL_CH_TrustItem), new Action(this.detach_HJGL_CH_TrustItem)); - this._HJGL_HotProessItem = new EntitySet(new Action(this.attach_HJGL_HotProessItem), new Action(this.detach_HJGL_HotProessItem)); - this._Base_Project = default(EntityRef); - this._HJGL_BO_WeldReportMain = default(EntityRef); - this._HJGL_BS_Component = default(EntityRef); - this._JOT_Component2HJGL_BS_Component = default(EntityRef); - this._HJGL_BS_JointType = default(EntityRef); - this._HJGL_BS_SlopeType = default(EntityRef); - this._HJGL_BS_Steel = default(EntityRef); - this._STE_ID2HJGL_BS_Steel = default(EntityRef); - this._HJGL_BS_Welder = default(EntityRef); - this._JOT_FloorWelderHJGL_BS_Welder = default(EntityRef); - this._HJGL_BS_WeldMaterial = default(EntityRef); - this._JOT_WeldSilkHJGL_BS_WeldMaterial = default(EntityRef); - this._HJGL_BS_WeldMethod = default(EntityRef); - this._HJGL_PW_IsoInfo = default(EntityRef); - this._HJGL_WeldingProcedure_WeldRepairCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldRepairCard), new Action(this.detach_HJGL_WeldingProcedure_WeldRepairCard)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this.OnJOT_JointNoChanging(value); - this.SendPropertyChanging(); - this._JOT_JointNo = value; - this.SendPropertyChanged("JOT_JointNo"); - this.OnJOT_JointNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - if (this._HJGL_BO_WeldReportMain.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnDReportIDChanging(value); - this.SendPropertyChanging(); - this._DReportID = value; - this.SendPropertyChanged("DReportID"); - this.OnDReportIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - if (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnISO_IDChanging(value); - this.SendPropertyChanging(); - this._ISO_ID = value; - this.SendPropertyChanged("ISO_ID"); - this.OnISO_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID2", DbType="VarChar(50)")] - public string STE_ID2 - { - get - { - return this._STE_ID2; - } - set - { - if ((this._STE_ID2 != value)) - { - if (this._STE_ID2HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_ID2Changing(value); - this.SendPropertyChanging(); - this._STE_ID2 = value; - this.SendPropertyChanged("STE_ID2"); - this.OnSTE_ID2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_ID", DbType="VarChar(50)")] - public string NDTR_ID - { - get - { - return this._NDTR_ID; - } - set - { - if ((this._NDTR_ID != value)) - { - this.OnNDTR_IDChanging(value); - this.SendPropertyChanging(); - this._NDTR_ID = value; - this.SendPropertyChanged("NDTR_ID"); - this.OnNDTR_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_CellWelder", DbType="NVarChar(50)")] - public string JOT_CellWelder - { - get - { - return this._JOT_CellWelder; - } - set - { - if ((this._JOT_CellWelder != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_CellWelderChanging(value); - this.SendPropertyChanging(); - this._JOT_CellWelder = value; - this.SendPropertyChanged("JOT_CellWelder"); - this.OnJOT_CellWelderChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_FloorWelder", DbType="NVarChar(50)")] - public string JOT_FloorWelder - { - get - { - return this._JOT_FloorWelder; - } - set - { - if ((this._JOT_FloorWelder != value)) - { - if (this._JOT_FloorWelderHJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_FloorWelderChanging(value); - this.SendPropertyChanging(); - this._JOT_FloorWelder = value; - this.SendPropertyChanged("JOT_FloorWelder"); - this.OnJOT_FloorWelderChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WLO_Code", DbType="VarChar(20)")] - public string WLO_Code - { - get - { - return this._WLO_Code; - } - set - { - if ((this._WLO_Code != value)) - { - this.OnWLO_CodeChanging(value); - this.SendPropertyChanging(); - this._WLO_Code = value; - this.SendPropertyChanged("WLO_Code"); - this.OnWLO_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_DoneDin", DbType="Decimal(18,4)")] - public System.Nullable JOT_DoneDin - { - get - { - return this._JOT_DoneDin; - } - set - { - if ((this._JOT_DoneDin != value)) - { - this.OnJOT_DoneDinChanging(value); - this.SendPropertyChanging(); - this._JOT_DoneDin = value; - this.SendPropertyChanged("JOT_DoneDin"); - this.OnJOT_DoneDinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_Compute", DbType="Char(1)")] - public string IS_Compute - { - get - { - return this._IS_Compute; - } - set - { - if ((this._IS_Compute != value)) - { - this.OnIS_ComputeChanging(value); - this.SendPropertyChanging(); - this._IS_Compute = value; - this.SendPropertyChanged("IS_Compute"); - this.OnIS_ComputeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Component1", DbType="VarChar(50)")] - public string JOT_Component1 - { - get - { - return this._JOT_Component1; - } - set - { - if ((this._JOT_Component1 != value)) - { - if (this._HJGL_BS_Component.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_Component1Changing(value); - this.SendPropertyChanging(); - this._JOT_Component1 = value; - this.SendPropertyChanged("JOT_Component1"); - this.OnJOT_Component1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Component2", DbType="VarChar(50)")] - public string JOT_Component2 - { - get - { - return this._JOT_Component2; - } - set - { - if ((this._JOT_Component2 != value)) - { - if (this._JOT_Component2HJGL_BS_Component.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_Component2Changing(value); - this.SendPropertyChanging(); - this._JOT_Component2 = value; - this.SendPropertyChanged("JOT_Component2"); - this.OnJOT_Component2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldMat", DbType="VarChar(50)")] - public string JOT_WeldMat - { - get - { - return this._JOT_WeldMat; - } - set - { - if ((this._JOT_WeldMat != value)) - { - if (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_WeldMatChanging(value); - this.SendPropertyChanging(); - this._JOT_WeldMat = value; - this.SendPropertyChanged("JOT_WeldMat"); - this.OnJOT_WeldMatChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointStatus", DbType="VarChar(20)")] - public string JOT_JointStatus - { - get - { - return this._JOT_JointStatus; - } - set - { - if ((this._JOT_JointStatus != value)) - { - this.OnJOT_JointStatusChanging(value); - this.SendPropertyChanging(); - this._JOT_JointStatus = value; - this.SendPropertyChanged("JOT_JointStatus"); - this.OnJOT_JointStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this.OnJOT_DiaChanging(value); - this.SendPropertyChanging(); - this._JOT_Dia = value; - this.SendPropertyChanged("JOT_Dia"); - this.OnJOT_DiaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Size", DbType="Decimal(18,4)")] - public System.Nullable JOT_Size - { - get - { - return this._JOT_Size; - } - set - { - if ((this._JOT_Size != value)) - { - this.OnJOT_SizeChanging(value); - this.SendPropertyChanging(); - this._JOT_Size = value; - this.SendPropertyChanged("JOT_Size"); - this.OnJOT_SizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="VarChar(40)")] - public string JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this.OnJOT_SchChanging(value); - this.SendPropertyChanging(); - this._JOT_Sch = value; - this.SendPropertyChanged("JOT_Sch"); - this.OnJOT_SchChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_FactSch", DbType="Decimal(18,4)")] - public System.Nullable JOT_FactSch - { - get - { - return this._JOT_FactSch; - } - set - { - if ((this._JOT_FactSch != value)) - { - this.OnJOT_FactSchChanging(value); - this.SendPropertyChanging(); - this._JOT_FactSch = value; - this.SendPropertyChanged("JOT_FactSch"); - this.OnJOT_FactSchChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointFlag", DbType="VarChar(80)")] - public string JOT_JointFlag - { - get - { - return this._JOT_JointFlag; - } - set - { - if ((this._JOT_JointFlag != value)) - { - this.OnJOT_JointFlagChanging(value); - this.SendPropertyChanging(); - this._JOT_JointFlag = value; - this.SendPropertyChanged("JOT_JointFlag"); - this.OnJOT_JointFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_TrustFlag", DbType="VarChar(40)")] - public string JOT_TrustFlag - { - get - { - return this._JOT_TrustFlag; - } - set - { - if ((this._JOT_TrustFlag != value)) - { - this.OnJOT_TrustFlagChanging(value); - this.SendPropertyChanging(); - this._JOT_TrustFlag = value; - this.SendPropertyChanged("JOT_TrustFlag"); - this.OnJOT_TrustFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this.OnJOT_JointDescChanging(value); - this.SendPropertyChanging(); - this._JOT_JointDesc = value; - this.SendPropertyChanged("JOT_JointDesc"); - this.OnJOT_JointDescChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldSilk", DbType="VarChar(50)")] - public string JOT_WeldSilk - { - get - { - return this._JOT_WeldSilk; - } - set - { - if ((this._JOT_WeldSilk != value)) - { - if (this._JOT_WeldSilkHJGL_BS_WeldMaterial.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_WeldSilkChanging(value); - this.SendPropertyChanging(); - this._JOT_WeldSilk = value; - this.SendPropertyChanged("JOT_WeldSilk"); - this.OnJOT_WeldSilkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_ID", DbType="VarChar(50)")] - public string JOTY_ID - { - get - { - return this._JOTY_ID; - } - set - { - if ((this._JOTY_ID != value)) - { - if (this._HJGL_BS_JointType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOTY_IDChanging(value); - this.SendPropertyChanging(); - this._JOTY_ID = value; - this.SendPropertyChanged("JOTY_ID"); - this.OnJOTY_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Electricity", DbType="VarChar(40)")] - public string JOT_Electricity - { - get - { - return this._JOT_Electricity; - } - set - { - if ((this._JOT_Electricity != value)) - { - this.OnJOT_ElectricityChanging(value); - this.SendPropertyChanging(); - this._JOT_Electricity = value; - this.SendPropertyChanged("JOT_Electricity"); - this.OnJOT_ElectricityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Voltage", DbType="VarChar(40)")] - public string JOT_Voltage - { - get - { - return this._JOT_Voltage; - } - set - { - if ((this._JOT_Voltage != value)) - { - this.OnJOT_VoltageChanging(value); - this.SendPropertyChanging(); - this._JOT_Voltage = value; - this.SendPropertyChanged("JOT_Voltage"); - this.OnJOT_VoltageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_CheckFlag", DbType="VarChar(40)")] - public string JOT_CheckFlag - { - get - { - return this._JOT_CheckFlag; - } - set - { - if ((this._JOT_CheckFlag != value)) - { - this.OnJOT_CheckFlagChanging(value); - this.SendPropertyChanging(); - this._JOT_CheckFlag = value; - this.SendPropertyChanged("JOT_CheckFlag"); - this.OnJOT_CheckFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_RepairFlag", DbType="VarChar(40)")] - public string JOT_RepairFlag - { - get - { - return this._JOT_RepairFlag; - } - set - { - if ((this._JOT_RepairFlag != value)) - { - this.OnJOT_RepairFlagChanging(value); - this.SendPropertyChanging(); - this._JOT_RepairFlag = value; - this.SendPropertyChanged("JOT_RepairFlag"); - this.OnJOT_RepairFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_ID", DbType="VarChar(50)")] - public string JST_ID - { - get - { - return this._JST_ID; - } - set - { - if ((this._JST_ID != value)) - { - if (this._HJGL_BS_SlopeType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJST_IDChanging(value); - this.SendPropertyChanging(); - this._JST_ID = value; - this.SendPropertyChanged("JST_ID"); - this.OnJST_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_Proess", DbType="Char(1)")] - public string IS_Proess - { - get - { - return this._IS_Proess; - } - set - { - if ((this._IS_Proess != value)) - { - this.OnIS_ProessChanging(value); - this.SendPropertyChanging(); - this._IS_Proess = value; - this.SendPropertyChanged("IS_Proess"); - this.OnIS_ProessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSpecial", DbType="Bit")] - public System.Nullable IsSpecial - { - get - { - return this._IsSpecial; - } - set - { - if ((this._IsSpecial != value)) - { - this.OnIsSpecialChanging(value); - this.SendPropertyChanging(); - this._IsSpecial = value; - this.SendPropertyChanged("IsSpecial"); - this.OnIsSpecialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_PrepareTemp", DbType="Decimal(18,4)")] - public System.Nullable JOT_PrepareTemp - { - get - { - return this._JOT_PrepareTemp; - } - set - { - if ((this._JOT_PrepareTemp != value)) - { - this.OnJOT_PrepareTempChanging(value); - this.SendPropertyChanging(); - this._JOT_PrepareTemp = value; - this.SendPropertyChanged("JOT_PrepareTemp"); - this.OnJOT_PrepareTempChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_CellTemp", DbType="Decimal(18,4)")] - public System.Nullable JOT_CellTemp - { - get - { - return this._JOT_CellTemp; - } - set - { - if ((this._JOT_CellTemp != value)) - { - this.OnJOT_CellTempChanging(value); - this.SendPropertyChanging(); - this._JOT_CellTemp = value; - this.SendPropertyChanged("JOT_CellTemp"); - this.OnJOT_CellTempChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_LastTemp", DbType="Decimal(18,4)")] - public System.Nullable JOT_LastTemp - { - get - { - return this._JOT_LastTemp; - } - set - { - if ((this._JOT_LastTemp != value)) - { - this.OnJOT_LastTempChanging(value); - this.SendPropertyChanging(); - this._JOT_LastTemp = value; - this.SendPropertyChanged("JOT_LastTemp"); - this.OnJOT_LastTempChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointAttribute", DbType="VarChar(20)")] - public string JOT_JointAttribute - { - get - { - return this._JOT_JointAttribute; - } - set - { - if ((this._JOT_JointAttribute != value)) - { - this.OnJOT_JointAttributeChanging(value); - this.SendPropertyChanging(); - this._JOT_JointAttribute = value; - this.SendPropertyChanged("JOT_JointAttribute"); - this.OnJOT_JointAttributeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Location", DbType="NVarChar(50)")] - public string JOT_Location - { - get - { - return this._JOT_Location; - } - set - { - if ((this._JOT_Location != value)) - { - this.OnJOT_LocationChanging(value); - this.SendPropertyChanging(); - this._JOT_Location = value; - this.SendPropertyChanged("JOT_Location"); - this.OnJOT_LocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Remark", DbType="VarChar(100)")] - public string JOT_Remark - { - get - { - return this._JOT_Remark; - } - set - { - if ((this._JOT_Remark != value)) - { - this.OnJOT_RemarkChanging(value); - this.SendPropertyChanging(); - this._JOT_Remark = value; - this.SendPropertyChanged("JOT_Remark"); - this.OnJOT_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="NVarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this.OnProessTypesChanging(value); - this.SendPropertyChanging(); - this._ProessTypes = value; - this.SendPropertyChanged("ProessTypes"); - this.OnProessTypesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_QualifiedLevel", DbType="NVarChar(10)")] - public string JOT_QualifiedLevel - { - get - { - return this._JOT_QualifiedLevel; - } - set - { - if ((this._JOT_QualifiedLevel != value)) - { - this.OnJOT_QualifiedLevelChanging(value); - this.SendPropertyChanging(); - this._JOT_QualifiedLevel = value; - this.SendPropertyChanged("JOT_QualifiedLevel"); - this.OnJOT_QualifiedLevelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldL", DbType="Int")] - public System.Nullable WeldL - { - get - { - return this._WeldL; - } - set - { - if ((this._WeldL != value)) - { - this.OnWeldLChanging(value); - this.SendPropertyChanging(); - this._WeldL = value; - this.SendPropertyChanged("WeldL"); - this.OnWeldLChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointType", DbType="NVarChar(10)")] - public string PointType - { - get - { - return this._PointType; - } - set - { - if ((this._PointType != value)) - { - this.OnPointTypeChanging(value); - this.SendPropertyChanging(); - this._PointType = value; - this.SendPropertyChanged("PointType"); - this.OnPointTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TrustCode", DbType="VarChar(30)")] - public string RT_TrustCode - { - get - { - return this._RT_TrustCode; - } - set - { - if ((this._RT_TrustCode != value)) - { - this.OnRT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._RT_TrustCode = value; - this.SendPropertyChanged("RT_TrustCode"); - this.OnRT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TrustDate", DbType="DateTime")] - public System.Nullable RT_TrustDate - { - get - { - return this._RT_TrustDate; - } - set - { - if ((this._RT_TrustDate != value)) - { - this.OnRT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._RT_TrustDate = value; - this.SendPropertyChanged("RT_TrustDate"); - this.OnRT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_States", DbType="NVarChar(20)")] - public string RT_States - { - get - { - return this._RT_States; - } - set - { - if ((this._RT_States != value)) - { - this.OnRT_StatesChanging(value); - this.SendPropertyChanging(); - this._RT_States = value; - this.SendPropertyChanged("RT_States"); - this.OnRT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RTFeedbackDate", DbType="DateTime")] - public System.Nullable RTFeedbackDate - { - get - { - return this._RTFeedbackDate; - } - set - { - if ((this._RTFeedbackDate != value)) - { - this.OnRTFeedbackDateChanging(value); - this.SendPropertyChanging(); - this._RTFeedbackDate = value; - this.SendPropertyChanged("RTFeedbackDate"); - this.OnRTFeedbackDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FilmNum", DbType="Int")] - public System.Nullable RT_FilmNum - { - get - { - return this._RT_FilmNum; - } - set - { - if ((this._RT_FilmNum != value)) - { - this.OnRT_FilmNumChanging(value); - this.SendPropertyChanging(); - this._RT_FilmNum = value; - this.SendPropertyChanged("RT_FilmNum"); - this.OnRT_FilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT1_RepairFilmNum", DbType="Int")] - public System.Nullable RT1_RepairFilmNum - { - get - { - return this._RT1_RepairFilmNum; - } - set - { - if ((this._RT1_RepairFilmNum != value)) - { - this.OnRT1_RepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._RT1_RepairFilmNum = value; - this.SendPropertyChanged("RT1_RepairFilmNum"); - this.OnRT1_RepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT1_RepairFilm", DbType="NVarChar(80)")] - public string RT1_RepairFilm - { - get - { - return this._RT1_RepairFilm; - } - set - { - if ((this._RT1_RepairFilm != value)) - { - this.OnRT1_RepairFilmChanging(value); - this.SendPropertyChanging(); - this._RT1_RepairFilm = value; - this.SendPropertyChanged("RT1_RepairFilm"); - this.OnRT1_RepairFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT2_RepairFilmNum", DbType="Int")] - public System.Nullable RT2_RepairFilmNum - { - get - { - return this._RT2_RepairFilmNum; - } - set - { - if ((this._RT2_RepairFilmNum != value)) - { - this.OnRT2_RepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._RT2_RepairFilmNum = value; - this.SendPropertyChanged("RT2_RepairFilmNum"); - this.OnRT2_RepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT2_RepairFilm", DbType="NVarChar(80)")] - public string RT2_RepairFilm - { - get - { - return this._RT2_RepairFilm; - } - set - { - if ((this._RT2_RepairFilm != value)) - { - this.OnRT2_RepairFilmChanging(value); - this.SendPropertyChanging(); - this._RT2_RepairFilm = value; - this.SendPropertyChanged("RT2_RepairFilm"); - this.OnRT2_RepairFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT3_RepairFilmNum", DbType="Int")] - public System.Nullable RT3_RepairFilmNum - { - get - { - return this._RT3_RepairFilmNum; - } - set - { - if ((this._RT3_RepairFilmNum != value)) - { - this.OnRT3_RepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._RT3_RepairFilmNum = value; - this.SendPropertyChanged("RT3_RepairFilmNum"); - this.OnRT3_RepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT3_RepairFilm", DbType="NVarChar(80)")] - public string RT3_RepairFilm - { - get - { - return this._RT3_RepairFilm; - } - set - { - if ((this._RT3_RepairFilm != value)) - { - this.OnRT3_RepairFilmChanging(value); - this.SendPropertyChanging(); - this._RT3_RepairFilm = value; - this.SendPropertyChanged("RT3_RepairFilm"); - this.OnRT3_RepairFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_TrustCode", DbType="VarChar(30)")] - public string PT_TrustCode - { - get - { - return this._PT_TrustCode; - } - set - { - if ((this._PT_TrustCode != value)) - { - this.OnPT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._PT_TrustCode = value; - this.SendPropertyChanged("PT_TrustCode"); - this.OnPT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_TrustDate", DbType="DateTime")] - public System.Nullable PT_TrustDate - { - get - { - return this._PT_TrustDate; - } - set - { - if ((this._PT_TrustDate != value)) - { - this.OnPT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._PT_TrustDate = value; - this.SendPropertyChanged("PT_TrustDate"); - this.OnPT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_States", DbType="NVarChar(20)")] - public string PT_States - { - get - { - return this._PT_States; - } - set - { - if ((this._PT_States != value)) - { - this.OnPT_StatesChanging(value); - this.SendPropertyChanging(); - this._PT_States = value; - this.SendPropertyChanged("PT_States"); - this.OnPT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_TrustCode", DbType="VarChar(30)")] - public string MT_TrustCode - { - get - { - return this._MT_TrustCode; - } - set - { - if ((this._MT_TrustCode != value)) - { - this.OnMT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._MT_TrustCode = value; - this.SendPropertyChanged("MT_TrustCode"); - this.OnMT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_TrustDate", DbType="DateTime")] - public System.Nullable MT_TrustDate - { - get - { - return this._MT_TrustDate; - } - set - { - if ((this._MT_TrustDate != value)) - { - this.OnMT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._MT_TrustDate = value; - this.SendPropertyChanged("MT_TrustDate"); - this.OnMT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_States", DbType="NVarChar(20)")] - public string MT_States - { - get - { - return this._MT_States; - } - set - { - if ((this._MT_States != value)) - { - this.OnMT_StatesChanging(value); - this.SendPropertyChanging(); - this._MT_States = value; - this.SendPropertyChanged("MT_States"); - this.OnMT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_TrustCode", DbType="VarChar(30)")] - public string UT_TrustCode - { - get - { - return this._UT_TrustCode; - } - set - { - if ((this._UT_TrustCode != value)) - { - this.OnUT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._UT_TrustCode = value; - this.SendPropertyChanged("UT_TrustCode"); - this.OnUT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_TrustDate", DbType="DateTime")] - public System.Nullable UT_TrustDate - { - get - { - return this._UT_TrustDate; - } - set - { - if ((this._UT_TrustDate != value)) - { - this.OnUT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._UT_TrustDate = value; - this.SendPropertyChanged("UT_TrustDate"); - this.OnUT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_States", DbType="NVarChar(20)")] - public string UT_States - { - get - { - return this._UT_States; - } - set - { - if ((this._UT_States != value)) - { - this.OnUT_StatesChanging(value); - this.SendPropertyChanging(); - this._UT_States = value; - this.SendPropertyChanged("UT_States"); - this.OnUT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustDate", DbType="DateTime")] - public System.Nullable HotProessTrustDate - { - get - { - return this._HotProessTrustDate; - } - set - { - if ((this._HotProessTrustDate != value)) - { - this.OnHotProessTrustDateChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustDate = value; - this.SendPropertyChanged("HotProessTrustDate"); - this.OnHotProessTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessResultOK", DbType="Bit")] - public System.Nullable HotProessResultOK - { - get - { - return this._HotProessResultOK; - } - set - { - if ((this._HotProessResultOK != value)) - { - this.OnHotProessResultOKChanging(value); - this.SendPropertyChanging(); - this._HotProessResultOK = value; - this.SendPropertyChanged("HotProessResultOK"); - this.OnHotProessResultOKChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotResultDate", DbType="DateTime")] - public System.Nullable HotResultDate - { - get - { - return this._HotResultDate; - } - set - { - if ((this._HotResultDate != value)) - { - this.OnHotResultDateChanging(value); - this.SendPropertyChanging(); - this._HotResultDate = value; - this.SendPropertyChanged("HotResultDate"); - this.OnHotResultDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTrustDate", DbType="DateTime")] - public System.Nullable HardTrustDate - { - get - { - return this._HardTrustDate; - } - set - { - if ((this._HardTrustDate != value)) - { - this.OnHardTrustDateChanging(value); - this.SendPropertyChanging(); - this._HardTrustDate = value; - this.SendPropertyChanged("HardTrustDate"); - this.OnHardTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestResultOK", DbType="Bit")] - public System.Nullable HardTestResultOK - { - get - { - return this._HardTestResultOK; - } - set - { - if ((this._HardTestResultOK != value)) - { - this.OnHardTestResultOKChanging(value); - this.SendPropertyChanging(); - this._HardTestResultOK = value; - this.SendPropertyChanged("HardTestResultOK"); - this.OnHardTestResultOKChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardResultDate", DbType="DateTime")] - public System.Nullable HardResultDate - { - get - { - return this._HardResultDate; - } - set - { - if ((this._HardResultDate != value)) - { - this.OnHardResultDateChanging(value); - this.SendPropertyChanging(); - this._HardResultDate = value; - this.SendPropertyChanged("HardResultDate"); - this.OnHardResultDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTIsRepair1", DbType="Bit")] - public System.Nullable PTIsRepair1 - { - get - { - return this._PTIsRepair1; - } - set - { - if ((this._PTIsRepair1 != value)) - { - this.OnPTIsRepair1Changing(value); - this.SendPropertyChanging(); - this._PTIsRepair1 = value; - this.SendPropertyChanged("PTIsRepair1"); - this.OnPTIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTIsRepair2", DbType="Bit")] - public System.Nullable PTIsRepair2 - { - get - { - return this._PTIsRepair2; - } - set - { - if ((this._PTIsRepair2 != value)) - { - this.OnPTIsRepair2Changing(value); - this.SendPropertyChanging(); - this._PTIsRepair2 = value; - this.SendPropertyChanged("PTIsRepair2"); - this.OnPTIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTIsRepair3", DbType="Bit")] - public System.Nullable PTIsRepair3 - { - get - { - return this._PTIsRepair3; - } - set - { - if ((this._PTIsRepair3 != value)) - { - this.OnPTIsRepair3Changing(value); - this.SendPropertyChanging(); - this._PTIsRepair3 = value; - this.SendPropertyChanged("PTIsRepair3"); - this.OnPTIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIsRepair1", DbType="Bit")] - public System.Nullable MTIsRepair1 - { - get - { - return this._MTIsRepair1; - } - set - { - if ((this._MTIsRepair1 != value)) - { - this.OnMTIsRepair1Changing(value); - this.SendPropertyChanging(); - this._MTIsRepair1 = value; - this.SendPropertyChanged("MTIsRepair1"); - this.OnMTIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIsRepair2", DbType="Bit")] - public System.Nullable MTIsRepair2 - { - get - { - return this._MTIsRepair2; - } - set - { - if ((this._MTIsRepair2 != value)) - { - this.OnMTIsRepair2Changing(value); - this.SendPropertyChanging(); - this._MTIsRepair2 = value; - this.SendPropertyChanged("MTIsRepair2"); - this.OnMTIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIsRepair3", DbType="Bit")] - public System.Nullable MTIsRepair3 - { - get - { - return this._MTIsRepair3; - } - set - { - if ((this._MTIsRepair3 != value)) - { - this.OnMTIsRepair3Changing(value); - this.SendPropertyChanging(); - this._MTIsRepair3 = value; - this.SendPropertyChanged("MTIsRepair3"); - this.OnMTIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UTIsRepair1", DbType="Bit")] - public System.Nullable UTIsRepair1 - { - get - { - return this._UTIsRepair1; - } - set - { - if ((this._UTIsRepair1 != value)) - { - this.OnUTIsRepair1Changing(value); - this.SendPropertyChanging(); - this._UTIsRepair1 = value; - this.SendPropertyChanged("UTIsRepair1"); - this.OnUTIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UTIsRepair2", DbType="Bit")] - public System.Nullable UTIsRepair2 - { - get - { - return this._UTIsRepair2; - } - set - { - if ((this._UTIsRepair2 != value)) - { - this.OnUTIsRepair2Changing(value); - this.SendPropertyChanging(); - this._UTIsRepair2 = value; - this.SendPropertyChanged("UTIsRepair2"); - this.OnUTIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UTIsRepair3", DbType="Bit")] - public System.Nullable UTIsRepair3 - { - get - { - return this._UTIsRepair3; - } - set - { - if ((this._UTIsRepair3 != value)) - { - this.OnUTIsRepair3Changing(value); - this.SendPropertyChanging(); - this._UTIsRepair3 = value; - this.SendPropertyChanged("UTIsRepair3"); - this.OnUTIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessRemark", DbType="NVarChar(50)")] - public string HotProessRemark - { - get - { - return this._HotProessRemark; - } - set - { - if ((this._HotProessRemark != value)) - { - this.OnHotProessRemarkChanging(value); - this.SendPropertyChanging(); - this._HotProessRemark = value; - this.SendPropertyChanged("HotProessRemark"); - this.OnHotProessRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUT_TrustCode", DbType="VarChar(30)")] - public string PAUT_TrustCode - { - get - { - return this._PAUT_TrustCode; - } - set - { - if ((this._PAUT_TrustCode != value)) - { - this.OnPAUT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._PAUT_TrustCode = value; - this.SendPropertyChanged("PAUT_TrustCode"); - this.OnPAUT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUT_TrustDate", DbType="DateTime")] - public System.Nullable PAUT_TrustDate - { - get - { - return this._PAUT_TrustDate; - } - set - { - if ((this._PAUT_TrustDate != value)) - { - this.OnPAUT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._PAUT_TrustDate = value; - this.SendPropertyChanged("PAUT_TrustDate"); - this.OnPAUT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUT_States", DbType="NVarChar(20)")] - public string PAUT_States - { - get - { - return this._PAUT_States; - } - set - { - if ((this._PAUT_States != value)) - { - this.OnPAUT_StatesChanging(value); - this.SendPropertyChanging(); - this._PAUT_States = value; - this.SendPropertyChanged("PAUT_States"); - this.OnPAUT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUTIsRepair1", DbType="Bit")] - public System.Nullable PAUTIsRepair1 - { - get - { - return this._PAUTIsRepair1; - } - set - { - if ((this._PAUTIsRepair1 != value)) - { - this.OnPAUTIsRepair1Changing(value); - this.SendPropertyChanging(); - this._PAUTIsRepair1 = value; - this.SendPropertyChanged("PAUTIsRepair1"); - this.OnPAUTIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUTIsRepair2", DbType="Bit")] - public System.Nullable PAUTIsRepair2 - { - get - { - return this._PAUTIsRepair2; - } - set - { - if ((this._PAUTIsRepair2 != value)) - { - this.OnPAUTIsRepair2Changing(value); - this.SendPropertyChanging(); - this._PAUTIsRepair2 = value; - this.SendPropertyChanged("PAUTIsRepair2"); - this.OnPAUTIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUTIsRepair3", DbType="Bit")] - public System.Nullable PAUTIsRepair3 - { - get - { - return this._PAUTIsRepair3; - } - set - { - if ((this._PAUTIsRepair3 != value)) - { - this.OnPAUTIsRepair3Changing(value); - this.SendPropertyChanging(); - this._PAUTIsRepair3 = value; - this.SendPropertyChanged("PAUTIsRepair3"); - this.OnPAUTIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_R_Material", DbType="Int")] - public System.Nullable R_Material - { - get - { - return this._R_Material; - } - set - { - if ((this._R_Material != value)) - { - this.OnR_MaterialChanging(value); - this.SendPropertyChanging(); - this._R_Material = value; - this.SendPropertyChanged("R_Material"); - this.OnR_MaterialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Jot_WeldingDate", DbType="DateTime")] - public System.Nullable Jot_WeldingDate - { - get - { - return this._Jot_WeldingDate; - } - set - { - if ((this._Jot_WeldingDate != value)) - { - this.OnJot_WeldingDateChanging(value); - this.SendPropertyChanging(); - this._Jot_WeldingDate = value; - this.SendPropertyChanged("Jot_WeldingDate"); - this.OnJot_WeldingDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestPackageNo", DbType="NVarChar(50)")] - public string PressureTestPackageNo - { - get - { - return this._PressureTestPackageNo; - } - set - { - if ((this._PressureTestPackageNo != value)) - { - this.OnPressureTestPackageNoChanging(value); - this.SendPropertyChanging(); - this._PressureTestPackageNo = value; - this.SendPropertyChanged("PressureTestPackageNo"); - this.OnPressureTestPackageNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort1", DbType="VarChar(10)")] - public string Sort1 - { - get - { - return this._Sort1; - } - set - { - if ((this._Sort1 != value)) - { - this.OnSort1Changing(value); - this.SendPropertyChanging(); - this._Sort1 = value; - this.SendPropertyChanged("Sort1"); - this.OnSort1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort2", DbType="Int")] - public System.Nullable Sort2 - { - get - { - return this._Sort2; - } - set - { - if ((this._Sort2 != value)) - { - this.OnSort2Changing(value); - this.SendPropertyChanging(); - this._Sort2 = value; - this.SendPropertyChanged("Sort2"); - this.OnSort2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort3", DbType="VarChar(10)")] - public string Sort3 - { - get - { - return this._Sort3; - } - set - { - if ((this._Sort3 != value)) - { - this.OnSort3Changing(value); - this.SendPropertyChanging(); - this._Sort3 = value; - this.SendPropertyChanged("Sort3"); - this.OnSort3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort4", DbType="Int")] - public System.Nullable Sort4 - { - get - { - return this._Sort4; - } - set - { - if ((this._Sort4 != value)) - { - this.OnSort4Changing(value); - this.SendPropertyChanging(); - this._Sort4 = value; - this.SendPropertyChanged("Sort4"); - this.OnSort4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort5", DbType="Int")] - public System.Nullable Sort5 - { - get - { - return this._Sort5; - } - set - { - if ((this._Sort5 != value)) - { - this.OnSort5Changing(value); - this.SendPropertyChanging(); - this._Sort5 = value; - this.SendPropertyChanged("Sort5"); - this.OnSort5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_BatchDetail_HJGL_PW_JointInfo", Storage="_HJGL_BO_BatchDetail", ThisKey="JOT_ID", OtherKey="JOT_ID", IsUnique=true, IsForeignKey=false, DeleteRule="NO ACTION")] - public HJGL_BO_BatchDetail HJGL_BO_BatchDetail - { - get - { - return this._HJGL_BO_BatchDetail.Entity; - } - set - { - HJGL_BO_BatchDetail previousValue = this._HJGL_BO_BatchDetail.Entity; - if (((previousValue != value) - || (this._HJGL_BO_BatchDetail.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BO_BatchDetail.Entity = null; - previousValue.HJGL_PW_JointInfo = null; - } - this._HJGL_BO_BatchDetail.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo = this; - } - this.SendPropertyChanged("HJGL_BO_BatchDetail"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_HJGL_BO_PreWeldReportMain", Storage="_HJGL_BO_PreWeldReportMain", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_PreWeldReportMain - { - get - { - return this._HJGL_BO_PreWeldReportMain; - } - set - { - this._HJGL_BO_PreWeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRating_HJGL_PW_JointInfo", Storage="_HJGL_BO_QualityRating", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_QualityRating - { - get - { - return this._HJGL_BO_QualityRating; - } - set - { - this._HJGL_BO_QualityRating.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_QualityRatingRepair_HJGL_PW_JointInfo", Storage="_HJGL_BO_QualityRatingRepair", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_QualityRatingRepair - { - get - { - return this._HJGL_BO_QualityRatingRepair; - } - set - { - this._HJGL_BO_QualityRatingRepair.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_RepairNotice_HJGL_PW_JointInfo", Storage="_HJGL_BO_RepairNotice", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_RepairNotice - { - get - { - return this._HJGL_BO_RepairNotice; - } - set - { - this._HJGL_BO_RepairNotice.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestReportItem_HJGL_PW_JointInfo", Storage="_HJGL_CH_HardTestReportItem", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HardTestReportItem - { - get - { - return this._HJGL_CH_HardTestReportItem; - } - set - { - this._HJGL_CH_HardTestReportItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HardTestResult_HJGL_PW_JointInfo", Storage="_HJGL_CH_HardTestResult", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HardTestResult - { - get - { - return this._HJGL_CH_HardTestResult; - } - set - { - this._HJGL_CH_HardTestResult.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessResult_HJGL_PW_JointInfo", Storage="_HJGL_CH_HotProessResult", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HotProessResult - { - get - { - return this._HJGL_CH_HotProessResult; - } - set - { - this._HJGL_CH_HotProessResult.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrustItem_HJGL_PW_JointInfo", Storage="_HJGL_CH_HotProessTrustItem", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HotProessTrustItem - { - get - { - return this._HJGL_CH_HotProessTrustItem; - } - set - { - this._HJGL_CH_HotProessTrustItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Repair_HJGL_PW_JointInfo", Storage="_HJGL_CH_Repair", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_Repair - { - get - { - return this._HJGL_CH_Repair; - } - set - { - this._HJGL_CH_Repair.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItem_HJGL_PW_JointInfo", Storage="_HJGL_CH_RepairItem", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItem - { - get - { - return this._HJGL_CH_RepairItem; - } - set - { - this._HJGL_CH_RepairItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_RepairItemRecord_HJGL_PW_JointInfo", Storage="_HJGL_CH_RepairItemRecord", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_RepairItemRecord - { - get - { - return this._HJGL_CH_RepairItemRecord; - } - set - { - this._HJGL_CH_RepairItemRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_TrustItem_HJGL_PW_JointInfo", Storage="_HJGL_CH_TrustItem", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_TrustItem - { - get - { - return this._HJGL_CH_TrustItem; - } - set - { - this._HJGL_CH_TrustItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProessItem_HJGL_PW_JointInfo", Storage="_HJGL_HotProessItem", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_HotProessItem - { - get - { - return this._HJGL_HotProessItem; - } - set - { - this._HJGL_HotProessItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BO_WeldReportMain", Storage="_HJGL_BO_WeldReportMain", ThisKey="DReportID", OtherKey="DReportID", IsForeignKey=true)] - public HJGL_BO_WeldReportMain HJGL_BO_WeldReportMain - { - get - { - return this._HJGL_BO_WeldReportMain.Entity; - } - set - { - HJGL_BO_WeldReportMain previousValue = this._HJGL_BO_WeldReportMain.Entity; - if (((previousValue != value) - || (this._HJGL_BO_WeldReportMain.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BO_WeldReportMain.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_BO_WeldReportMain.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._DReportID = value.DReportID; - } - else - { - this._DReportID = default(string); - } - this.SendPropertyChanged("HJGL_BO_WeldReportMain"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Component", Storage="_HJGL_BS_Component", ThisKey="JOT_Component1", OtherKey="COM_ID", IsForeignKey=true)] - public HJGL_BS_Component HJGL_BS_Component - { - get - { - return this._HJGL_BS_Component.Entity; - } - set - { - HJGL_BS_Component previousValue = this._HJGL_BS_Component.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Component.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Component.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_BS_Component.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._JOT_Component1 = value.COM_ID; - } - else - { - this._JOT_Component1 = default(string); - } - this.SendPropertyChanged("HJGL_BS_Component"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Component1", Storage="_JOT_Component2HJGL_BS_Component", ThisKey="JOT_Component2", OtherKey="COM_ID", IsForeignKey=true)] - public HJGL_BS_Component JOT_Component2HJGL_BS_Component - { - get - { - return this._JOT_Component2HJGL_BS_Component.Entity; - } - set - { - HJGL_BS_Component previousValue = this._JOT_Component2HJGL_BS_Component.Entity; - if (((previousValue != value) - || (this._JOT_Component2HJGL_BS_Component.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._JOT_Component2HJGL_BS_Component.Entity = null; - previousValue.COM_.Remove(this); - } - this._JOT_Component2HJGL_BS_Component.Entity = value; - if ((value != null)) - { - value.COM_.Add(this); - this._JOT_Component2 = value.COM_ID; - } - else - { - this._JOT_Component2 = default(string); - } - this.SendPropertyChanged("JOT_Component2HJGL_BS_Component"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_JointType", Storage="_HJGL_BS_JointType", ThisKey="JOTY_ID", OtherKey="JOTY_ID", IsForeignKey=true)] - public HJGL_BS_JointType HJGL_BS_JointType - { - get - { - return this._HJGL_BS_JointType.Entity; - } - set - { - HJGL_BS_JointType previousValue = this._HJGL_BS_JointType.Entity; - if (((previousValue != value) - || (this._HJGL_BS_JointType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_JointType.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_BS_JointType.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._JOTY_ID = value.JOTY_ID; - } - else - { - this._JOTY_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_JointType"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_SlopeType", Storage="_HJGL_BS_SlopeType", ThisKey="JST_ID", OtherKey="JST_ID", IsForeignKey=true)] - public HJGL_BS_SlopeType HJGL_BS_SlopeType - { - get - { - return this._HJGL_BS_SlopeType.Entity; - } - set - { - HJGL_BS_SlopeType previousValue = this._HJGL_BS_SlopeType.Entity; - if (((previousValue != value) - || (this._HJGL_BS_SlopeType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_SlopeType.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_BS_SlopeType.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._JST_ID = value.JST_ID; - } - else - { - this._JST_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_SlopeType"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel HJGL_BS_Steel - { - get - { - return this._HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Steel.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._STE_ID = value.STE_ID; - } - else - { - this._STE_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Steel1", Storage="_STE_ID2HJGL_BS_Steel", ThisKey="STE_ID2", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel STE_ID2HJGL_BS_Steel - { - get - { - return this._STE_ID2HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._STE_ID2HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._STE_ID2HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._STE_ID2HJGL_BS_Steel.Entity = null; - previousValue.STE_.Remove(this); - } - this._STE_ID2HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.STE_.Add(this); - this._STE_ID2 = value.STE_ID; - } - else - { - this._STE_ID2 = default(string); - } - this.SendPropertyChanged("STE_ID2HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="JOT_CellWelder", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._JOT_CellWelder = value.WED_ID; - } - else - { - this._JOT_CellWelder = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_Welder1", Storage="_JOT_FloorWelderHJGL_BS_Welder", ThisKey="JOT_FloorWelder", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder JOT_FloorWelderHJGL_BS_Welder - { - get - { - return this._JOT_FloorWelderHJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._JOT_FloorWelderHJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._JOT_FloorWelderHJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._JOT_FloorWelderHJGL_BS_Welder.Entity = null; - previousValue.HJGL_PW_JointInfo_HJGL_BS_Welder1.Remove(this); - } - this._JOT_FloorWelderHJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo_HJGL_BS_Welder1.Add(this); - this._JOT_FloorWelder = value.WED_ID; - } - else - { - this._JOT_FloorWelder = default(string); - } - this.SendPropertyChanged("JOT_FloorWelderHJGL_BS_Welder"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial", Storage="_HJGL_BS_WeldMaterial", ThisKey="JOT_WeldMat", OtherKey="WMT_ID", IsForeignKey=true)] - public HJGL_BS_WeldMaterial HJGL_BS_WeldMaterial - { - get - { - return this._HJGL_BS_WeldMaterial.Entity; - } - set - { - HJGL_BS_WeldMaterial previousValue = this._HJGL_BS_WeldMaterial.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMaterial.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMaterial.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_BS_WeldMaterial.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._JOT_WeldMat = value.WMT_ID; - } - else - { - this._JOT_WeldMat = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMaterial"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1", Storage="_JOT_WeldSilkHJGL_BS_WeldMaterial", ThisKey="JOT_WeldSilk", OtherKey="WMT_ID", IsForeignKey=true)] - public HJGL_BS_WeldMaterial JOT_WeldSilkHJGL_BS_WeldMaterial - { - get - { - return this._JOT_WeldSilkHJGL_BS_WeldMaterial.Entity; - } - set - { - HJGL_BS_WeldMaterial previousValue = this._JOT_WeldSilkHJGL_BS_WeldMaterial.Entity; - if (((previousValue != value) - || (this._JOT_WeldSilkHJGL_BS_WeldMaterial.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._JOT_WeldSilkHJGL_BS_WeldMaterial.Entity = null; - previousValue.HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1.Remove(this); - } - this._JOT_WeldSilkHJGL_BS_WeldMaterial.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo_HJGL_BS_WeldMaterial1.Add(this); - this._JOT_WeldSilk = value.WMT_ID; - } - else - { - this._JOT_WeldSilk = default(string); - } - this.SendPropertyChanged("JOT_WeldSilkHJGL_BS_WeldMaterial"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WME_ID", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._WME_ID = value.WME_ID; - } - else - { - this._WME_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_JointInfo_HJGL_PW_IsoInfo", Storage="_HJGL_PW_IsoInfo", ThisKey="ISO_ID", OtherKey="ISO_ID", IsForeignKey=true)] - public HJGL_PW_IsoInfo HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo.Entity; - } - set - { - HJGL_PW_IsoInfo previousValue = this._HJGL_PW_IsoInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_IsoInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_IsoInfo.Entity = null; - previousValue.HJGL_PW_JointInfo.Remove(this); - } - this._HJGL_PW_IsoInfo.Entity = value; - if ((value != null)) - { - value.HJGL_PW_JointInfo.Add(this); - this._ISO_ID = value.ISO_ID; - } - else - { - this._ISO_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_IsoInfo"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldRepairCard_HJGL_PW_JointInfo", Storage="_HJGL_WeldingProcedure_WeldRepairCard", ThisKey="JOT_ID", OtherKey="JOT_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldRepairCard - { - get - { - return this._HJGL_WeldingProcedure_WeldRepairCard; - } - set - { - this._HJGL_WeldingProcedure_WeldRepairCard.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_BO_QualityRating(HJGL_BO_QualityRating entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_BO_QualityRating(HJGL_BO_QualityRating entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_BO_QualityRatingRepair(HJGL_BO_QualityRatingRepair entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_BO_RepairNotice(HJGL_BO_RepairNotice entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_BO_RepairNotice(HJGL_BO_RepairNotice entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_CH_HardTestReportItem(HJGL_CH_HardTestReportItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_CH_HardTestReportItem(HJGL_CH_HardTestReportItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_CH_HardTestResult(HJGL_CH_HardTestResult entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_CH_HardTestResult(HJGL_CH_HardTestResult entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_CH_HotProessResult(HJGL_CH_HotProessResult entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_CH_HotProessResult(HJGL_CH_HotProessResult entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_CH_HotProessTrustItem(HJGL_CH_HotProessTrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_CH_Repair(HJGL_CH_Repair entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_CH_Repair(HJGL_CH_Repair entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_CH_RepairItem(HJGL_CH_RepairItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_CH_RepairItem(HJGL_CH_RepairItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_CH_RepairItemRecord(HJGL_CH_RepairItemRecord entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_CH_TrustItem(HJGL_CH_TrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_CH_TrustItem(HJGL_CH_TrustItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_HotProessItem(HJGL_HotProessItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_HotProessItem(HJGL_HotProessItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - - private void attach_HJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = this; - } - - private void detach_HJGL_WeldingProcedure_WeldRepairCard(HJGL_WeldingProcedure_WeldRepairCard entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_JointInfo = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_PW_ProcedureImageManage")] - public partial class HJGL_PW_ProcedureImageManage : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ImageId; - - private string _ImageContent; - - private string _AttachUrl; - - private string _WME_ID; - - private System.Nullable _Thickness; - - private string _JOTY_ID; - - private string _JST_ID; - - private EntityRef _HJGL_BS_JointType; - - private EntityRef _HJGL_BS_SlopeType; - - private EntityRef _HJGL_BS_WeldMethod; - - private EntitySet _HJGL_PW_WeldingProcedure; - - private EntitySet _HJGL_PW_WeldingProcedureJOT; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnImageIdChanging(string value); - partial void OnImageIdChanged(); - partial void OnImageContentChanging(string value); - partial void OnImageContentChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - partial void OnThicknessChanging(System.Nullable value); - partial void OnThicknessChanged(); - partial void OnJOTY_IDChanging(string value); - partial void OnJOTY_IDChanged(); - partial void OnJST_IDChanging(string value); - partial void OnJST_IDChanged(); - #endregion - - public HJGL_PW_ProcedureImageManage() - { - this._HJGL_BS_JointType = default(EntityRef); - this._HJGL_BS_SlopeType = default(EntityRef); - this._HJGL_BS_WeldMethod = default(EntityRef); - this._HJGL_PW_WeldingProcedure = new EntitySet(new Action(this.attach_HJGL_PW_WeldingProcedure), new Action(this.detach_HJGL_PW_WeldingProcedure)); - this._HJGL_PW_WeldingProcedureJOT = new EntitySet(new Action(this.attach_HJGL_PW_WeldingProcedureJOT), new Action(this.detach_HJGL_PW_WeldingProcedureJOT)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ImageId - { - get - { - return this._ImageId; - } - set - { - if ((this._ImageId != value)) - { - this.OnImageIdChanging(value); - this.SendPropertyChanging(); - this._ImageId = value; - this.SendPropertyChanged("ImageId"); - this.OnImageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageContent", DbType="NVarChar(100) NOT NULL", CanBeNull=false)] - public string ImageContent - { - get - { - return this._ImageContent; - } - set - { - if ((this._ImageContent != value)) - { - this.OnImageContentChanging(value); - this.SendPropertyChanging(); - this._ImageContent = value; - this.SendPropertyChanged("ImageContent"); - this.OnImageContentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(100)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Thickness", DbType="Decimal(18,0)")] - public System.Nullable Thickness - { - get - { - return this._Thickness; - } - set - { - if ((this._Thickness != value)) - { - this.OnThicknessChanging(value); - this.SendPropertyChanging(); - this._Thickness = value; - this.SendPropertyChanged("Thickness"); - this.OnThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_ID", DbType="VarChar(50)")] - public string JOTY_ID - { - get - { - return this._JOTY_ID; - } - set - { - if ((this._JOTY_ID != value)) - { - if (this._HJGL_BS_JointType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOTY_IDChanging(value); - this.SendPropertyChanging(); - this._JOTY_ID = value; - this.SendPropertyChanged("JOTY_ID"); - this.OnJOTY_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_ID", DbType="VarChar(50)")] - public string JST_ID - { - get - { - return this._JST_ID; - } - set - { - if ((this._JST_ID != value)) - { - if (this._HJGL_BS_SlopeType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJST_IDChanging(value); - this.SendPropertyChanging(); - this._JST_ID = value; - this.SendPropertyChanged("JST_ID"); - this.OnJST_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_ProcedureImageManage_HJGL_BS_JointType", Storage="_HJGL_BS_JointType", ThisKey="JOTY_ID", OtherKey="JOTY_ID", IsForeignKey=true)] - public HJGL_BS_JointType HJGL_BS_JointType - { - get - { - return this._HJGL_BS_JointType.Entity; - } - set - { - HJGL_BS_JointType previousValue = this._HJGL_BS_JointType.Entity; - if (((previousValue != value) - || (this._HJGL_BS_JointType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_JointType.Entity = null; - previousValue.HJGL_PW_ProcedureImageManage.Remove(this); - } - this._HJGL_BS_JointType.Entity = value; - if ((value != null)) - { - value.HJGL_PW_ProcedureImageManage.Add(this); - this._JOTY_ID = value.JOTY_ID; - } - else - { - this._JOTY_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_JointType"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_ProcedureImageManage_HJGL_BS_SlopeType", Storage="_HJGL_BS_SlopeType", ThisKey="JST_ID", OtherKey="JST_ID", IsForeignKey=true)] - public HJGL_BS_SlopeType HJGL_BS_SlopeType - { - get - { - return this._HJGL_BS_SlopeType.Entity; - } - set - { - HJGL_BS_SlopeType previousValue = this._HJGL_BS_SlopeType.Entity; - if (((previousValue != value) - || (this._HJGL_BS_SlopeType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_SlopeType.Entity = null; - previousValue.HJGL_PW_ProcedureImageManage.Remove(this); - } - this._HJGL_BS_SlopeType.Entity = value; - if ((value != null)) - { - value.HJGL_PW_ProcedureImageManage.Add(this); - this._JST_ID = value.JST_ID; - } - else - { - this._JST_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_SlopeType"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_ProcedureImageManage_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WME_ID", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_PW_ProcedureImageManage.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_PW_ProcedureImageManage.Add(this); - this._WME_ID = value.WME_ID; - } - else - { - this._WME_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_WeldingProcedure_HJGL_PW_ProcedureImageManage", Storage="_HJGL_PW_WeldingProcedure", ThisKey="ImageId", OtherKey="ImageId", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_WeldingProcedure - { - get - { - return this._HJGL_PW_WeldingProcedure; - } - set - { - this._HJGL_PW_WeldingProcedure.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_WeldingProcedureJOT_HJGL_PW_ProcedureImageManage", Storage="_HJGL_PW_WeldingProcedureJOT", ThisKey="ImageId", OtherKey="ImageId", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_WeldingProcedureJOT - { - get - { - return this._HJGL_PW_WeldingProcedureJOT; - } - set - { - this._HJGL_PW_WeldingProcedureJOT.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_PW_WeldingProcedure(HJGL_PW_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_ProcedureImageManage = this; - } - - private void detach_HJGL_PW_WeldingProcedure(HJGL_PW_WeldingProcedure entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_ProcedureImageManage = null; - } - - private void attach_HJGL_PW_WeldingProcedureJOT(HJGL_PW_WeldingProcedureJOT entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_ProcedureImageManage = this; - } - - private void detach_HJGL_PW_WeldingProcedureJOT(HJGL_PW_WeldingProcedureJOT entity) - { - this.SendPropertyChanging(); - entity.HJGL_PW_ProcedureImageManage = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_PW_WeldingProcedure")] - public partial class HJGL_PW_WeldingProcedure : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldingProcedureId; - - private string _WeldPositionCode; - - private string _WType; - - private string _Material; - - private string _Specification; - - private string _Welding; - - private string _WRange; - - private string _Remark; - - private System.Nullable _IsAdd; - - private string _MaterialGroup; - - private string _JointsForm; - - private string _TubeDiameter; - - private System.Nullable _SpecimenThickness; - - private string _WeldMethod; - - private string _WeldPreheating; - - private string _PWHT; - - private string _STE_ID; - - private string _WeldingProcedureCode; - - private System.Nullable _ProcedureDate; - - private string _WeldedJoints; - - private string _GrooveForm; - - private string _MaterialCode; - - private string _ThicknessRange; - - private string _MaterialStandard; - - private string _MaterialType; - - private string _MaterialModel; - - private string _MaterialSpecification; - - private string _WeldingPosition; - - private string _HotTemperatures; - - private string _HoldingTime; - - private string _PreheatingTemperature; - - private string _HeatingMode; - - private string _GasComponent; - - private string _GasFlow; - - private string _PolarDiameter; - - private string _NozzleDiameter; - - private string _WeldLayer; - - private string _WeldMethod1; - - private string _CardNum; - - private string _Diameter; - - private string _Polarity; - - private string _ElectricCurrent; - - private string _Voltage; - - private string _Speed; - - private string _LineCapacity; - - private string _TestingRT; - - private string _TestingPT; - - private string _TestingMT; - - private string _TestingUT; - - private string _TestingOther; - - private string _TechnicalMeasures; - - private string _Description; - - private string _ImageId; - - private EntityRef _HJGL_BS_Steel; - - private EntityRef _HJGL_PW_ProcedureImageManage; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldingProcedureIdChanging(string value); - partial void OnWeldingProcedureIdChanged(); - partial void OnWeldPositionCodeChanging(string value); - partial void OnWeldPositionCodeChanged(); - partial void OnWTypeChanging(string value); - partial void OnWTypeChanged(); - partial void OnMaterialChanging(string value); - partial void OnMaterialChanged(); - partial void OnSpecificationChanging(string value); - partial void OnSpecificationChanged(); - partial void OnWeldingChanging(string value); - partial void OnWeldingChanged(); - partial void OnWRangeChanging(string value); - partial void OnWRangeChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnIsAddChanging(System.Nullable value); - partial void OnIsAddChanged(); - partial void OnMaterialGroupChanging(string value); - partial void OnMaterialGroupChanged(); - partial void OnJointsFormChanging(string value); - partial void OnJointsFormChanged(); - partial void OnTubeDiameterChanging(string value); - partial void OnTubeDiameterChanged(); - partial void OnSpecimenThicknessChanging(System.Nullable value); - partial void OnSpecimenThicknessChanged(); - partial void OnWeldMethodChanging(string value); - partial void OnWeldMethodChanged(); - partial void OnWeldPreheatingChanging(string value); - partial void OnWeldPreheatingChanged(); - partial void OnPWHTChanging(string value); - partial void OnPWHTChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnWeldingProcedureCodeChanging(string value); - partial void OnWeldingProcedureCodeChanged(); - partial void OnProcedureDateChanging(System.Nullable value); - partial void OnProcedureDateChanged(); - partial void OnWeldedJointsChanging(string value); - partial void OnWeldedJointsChanged(); - partial void OnGrooveFormChanging(string value); - partial void OnGrooveFormChanged(); - partial void OnMaterialCodeChanging(string value); - partial void OnMaterialCodeChanged(); - partial void OnThicknessRangeChanging(string value); - partial void OnThicknessRangeChanged(); - partial void OnMaterialStandardChanging(string value); - partial void OnMaterialStandardChanged(); - partial void OnMaterialTypeChanging(string value); - partial void OnMaterialTypeChanged(); - partial void OnMaterialModelChanging(string value); - partial void OnMaterialModelChanged(); - partial void OnMaterialSpecificationChanging(string value); - partial void OnMaterialSpecificationChanged(); - partial void OnWeldingPositionChanging(string value); - partial void OnWeldingPositionChanged(); - partial void OnHotTemperaturesChanging(string value); - partial void OnHotTemperaturesChanged(); - partial void OnHoldingTimeChanging(string value); - partial void OnHoldingTimeChanged(); - partial void OnPreheatingTemperatureChanging(string value); - partial void OnPreheatingTemperatureChanged(); - partial void OnHeatingModeChanging(string value); - partial void OnHeatingModeChanged(); - partial void OnGasComponentChanging(string value); - partial void OnGasComponentChanged(); - partial void OnGasFlowChanging(string value); - partial void OnGasFlowChanged(); - partial void OnPolarDiameterChanging(string value); - partial void OnPolarDiameterChanged(); - partial void OnNozzleDiameterChanging(string value); - partial void OnNozzleDiameterChanged(); - partial void OnWeldLayerChanging(string value); - partial void OnWeldLayerChanged(); - partial void OnWeldMethod1Changing(string value); - partial void OnWeldMethod1Changed(); - partial void OnCardNumChanging(string value); - partial void OnCardNumChanged(); - partial void OnDiameterChanging(string value); - partial void OnDiameterChanged(); - partial void OnPolarityChanging(string value); - partial void OnPolarityChanged(); - partial void OnElectricCurrentChanging(string value); - partial void OnElectricCurrentChanged(); - partial void OnVoltageChanging(string value); - partial void OnVoltageChanged(); - partial void OnSpeedChanging(string value); - partial void OnSpeedChanged(); - partial void OnLineCapacityChanging(string value); - partial void OnLineCapacityChanged(); - partial void OnTestingRTChanging(string value); - partial void OnTestingRTChanged(); - partial void OnTestingPTChanging(string value); - partial void OnTestingPTChanged(); - partial void OnTestingMTChanging(string value); - partial void OnTestingMTChanged(); - partial void OnTestingUTChanging(string value); - partial void OnTestingUTChanged(); - partial void OnTestingOtherChanging(string value); - partial void OnTestingOtherChanged(); - partial void OnTechnicalMeasuresChanging(string value); - partial void OnTechnicalMeasuresChanged(); - partial void OnDescriptionChanging(string value); - partial void OnDescriptionChanged(); - partial void OnImageIdChanging(string value); - partial void OnImageIdChanged(); - #endregion - - public HJGL_PW_WeldingProcedure() - { - this._HJGL_BS_Steel = default(EntityRef); - this._HJGL_PW_ProcedureImageManage = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureId", DbType="NVarChar(100) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldingProcedureId - { - get - { - return this._WeldingProcedureId; - } - set - { - if ((this._WeldingProcedureId != value)) - { - this.OnWeldingProcedureIdChanging(value); - this.SendPropertyChanging(); - this._WeldingProcedureId = value; - this.SendPropertyChanged("WeldingProcedureId"); - this.OnWeldingProcedureIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldPositionCode", DbType="NVarChar(50)")] - public string WeldPositionCode - { - get - { - return this._WeldPositionCode; - } - set - { - if ((this._WeldPositionCode != value)) - { - this.OnWeldPositionCodeChanging(value); - this.SendPropertyChanging(); - this._WeldPositionCode = value; - this.SendPropertyChanged("WeldPositionCode"); - this.OnWeldPositionCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WType", DbType="NVarChar(50)")] - public string WType - { - get - { - return this._WType; - } - set - { - if ((this._WType != value)) - { - this.OnWTypeChanging(value); - this.SendPropertyChanging(); - this._WType = value; - this.SendPropertyChanged("WType"); - this.OnWTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")] - public string Material - { - get - { - return this._Material; - } - set - { - if ((this._Material != value)) - { - this.OnMaterialChanging(value); - this.SendPropertyChanging(); - this._Material = value; - this.SendPropertyChanged("Material"); - this.OnMaterialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specification", DbType="NVarChar(50)")] - public string Specification - { - get - { - return this._Specification; - } - set - { - if ((this._Specification != value)) - { - this.OnSpecificationChanging(value); - this.SendPropertyChanging(); - this._Specification = value; - this.SendPropertyChanged("Specification"); - this.OnSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Welding", DbType="NVarChar(50)")] - public string Welding - { - get - { - return this._Welding; - } - set - { - if ((this._Welding != value)) - { - this.OnWeldingChanging(value); - this.SendPropertyChanging(); - this._Welding = value; - this.SendPropertyChanged("Welding"); - this.OnWeldingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WRange", DbType="NVarChar(100)")] - public string WRange - { - get - { - return this._WRange; - } - set - { - if ((this._WRange != value)) - { - this.OnWRangeChanging(value); - this.SendPropertyChanging(); - this._WRange = value; - this.SendPropertyChanged("WRange"); - this.OnWRangeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAdd", DbType="Bit")] - public System.Nullable IsAdd - { - get - { - return this._IsAdd; - } - set - { - if ((this._IsAdd != value)) - { - this.OnIsAddChanging(value); - this.SendPropertyChanging(); - this._IsAdd = value; - this.SendPropertyChanged("IsAdd"); - this.OnIsAddChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroup", DbType="NVarChar(50)")] - public string MaterialGroup - { - get - { - return this._MaterialGroup; - } - set - { - if ((this._MaterialGroup != value)) - { - this.OnMaterialGroupChanging(value); - this.SendPropertyChanging(); - this._MaterialGroup = value; - this.SendPropertyChanged("MaterialGroup"); - this.OnMaterialGroupChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointsForm", DbType="NVarChar(10)")] - public string JointsForm - { - get - { - return this._JointsForm; - } - set - { - if ((this._JointsForm != value)) - { - this.OnJointsFormChanging(value); - this.SendPropertyChanging(); - this._JointsForm = value; - this.SendPropertyChanged("JointsForm"); - this.OnJointsFormChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TubeDiameter", DbType="NVarChar(50)")] - public string TubeDiameter - { - get - { - return this._TubeDiameter; - } - set - { - if ((this._TubeDiameter != value)) - { - this.OnTubeDiameterChanging(value); - this.SendPropertyChanging(); - this._TubeDiameter = value; - this.SendPropertyChanged("TubeDiameter"); - this.OnTubeDiameterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecimenThickness", DbType="Decimal(18,4)")] - public System.Nullable SpecimenThickness - { - get - { - return this._SpecimenThickness; - } - set - { - if ((this._SpecimenThickness != value)) - { - this.OnSpecimenThicknessChanging(value); - this.SendPropertyChanging(); - this._SpecimenThickness = value; - this.SendPropertyChanged("SpecimenThickness"); - this.OnSpecimenThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod", DbType="VarChar(50)")] - public string WeldMethod - { - get - { - return this._WeldMethod; - } - set - { - if ((this._WeldMethod != value)) - { - this.OnWeldMethodChanging(value); - this.SendPropertyChanging(); - this._WeldMethod = value; - this.SendPropertyChanged("WeldMethod"); - this.OnWeldMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldPreheating", DbType="NVarChar(50)")] - public string WeldPreheating - { - get - { - return this._WeldPreheating; - } - set - { - if ((this._WeldPreheating != value)) - { - this.OnWeldPreheatingChanging(value); - this.SendPropertyChanging(); - this._WeldPreheating = value; - this.SendPropertyChanged("WeldPreheating"); - this.OnWeldPreheatingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PWHT", DbType="NVarChar(50)")] - public string PWHT - { - get - { - return this._PWHT; - } - set - { - if ((this._PWHT != value)) - { - this.OnPWHTChanging(value); - this.SendPropertyChanging(); - this._PWHT = value; - this.SendPropertyChanged("PWHT"); - this.OnPWHTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureCode", DbType="NVarChar(100)")] - public string WeldingProcedureCode - { - get - { - return this._WeldingProcedureCode; - } - set - { - if ((this._WeldingProcedureCode != value)) - { - this.OnWeldingProcedureCodeChanging(value); - this.SendPropertyChanging(); - this._WeldingProcedureCode = value; - this.SendPropertyChanged("WeldingProcedureCode"); - this.OnWeldingProcedureCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProcedureDate", DbType="DateTime")] - public System.Nullable ProcedureDate - { - get - { - return this._ProcedureDate; - } - set - { - if ((this._ProcedureDate != value)) - { - this.OnProcedureDateChanging(value); - this.SendPropertyChanging(); - this._ProcedureDate = value; - this.SendPropertyChanged("ProcedureDate"); - this.OnProcedureDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldedJoints", DbType="NVarChar(50)")] - public string WeldedJoints - { - get - { - return this._WeldedJoints; - } - set - { - if ((this._WeldedJoints != value)) - { - this.OnWeldedJointsChanging(value); - this.SendPropertyChanging(); - this._WeldedJoints = value; - this.SendPropertyChanged("WeldedJoints"); - this.OnWeldedJointsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GrooveForm", DbType="NVarChar(50)")] - public string GrooveForm - { - get - { - return this._GrooveForm; - } - set - { - if ((this._GrooveForm != value)) - { - this.OnGrooveFormChanging(value); - this.SendPropertyChanging(); - this._GrooveForm = value; - this.SendPropertyChanged("GrooveForm"); - this.OnGrooveFormChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")] - public string MaterialCode - { - get - { - return this._MaterialCode; - } - set - { - if ((this._MaterialCode != value)) - { - this.OnMaterialCodeChanging(value); - this.SendPropertyChanging(); - this._MaterialCode = value; - this.SendPropertyChanged("MaterialCode"); - this.OnMaterialCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThicknessRange", DbType="NVarChar(20)")] - public string ThicknessRange - { - get - { - return this._ThicknessRange; - } - set - { - if ((this._ThicknessRange != value)) - { - this.OnThicknessRangeChanging(value); - this.SendPropertyChanging(); - this._ThicknessRange = value; - this.SendPropertyChanged("ThicknessRange"); - this.OnThicknessRangeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandard", DbType="NVarChar(50)")] - public string MaterialStandard - { - get - { - return this._MaterialStandard; - } - set - { - if ((this._MaterialStandard != value)) - { - this.OnMaterialStandardChanging(value); - this.SendPropertyChanging(); - this._MaterialStandard = value; - this.SendPropertyChanged("MaterialStandard"); - this.OnMaterialStandardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialType", DbType="NVarChar(50)")] - public string MaterialType - { - get - { - return this._MaterialType; - } - set - { - if ((this._MaterialType != value)) - { - this.OnMaterialTypeChanging(value); - this.SendPropertyChanging(); - this._MaterialType = value; - this.SendPropertyChanged("MaterialType"); - this.OnMaterialTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialModel", DbType="NVarChar(50)")] - public string MaterialModel - { - get - { - return this._MaterialModel; - } - set - { - if ((this._MaterialModel != value)) - { - this.OnMaterialModelChanging(value); - this.SendPropertyChanging(); - this._MaterialModel = value; - this.SendPropertyChanged("MaterialModel"); - this.OnMaterialModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialSpecification", DbType="NVarChar(50)")] - public string MaterialSpecification - { - get - { - return this._MaterialSpecification; - } - set - { - if ((this._MaterialSpecification != value)) - { - this.OnMaterialSpecificationChanging(value); - this.SendPropertyChanging(); - this._MaterialSpecification = value; - this.SendPropertyChanged("MaterialSpecification"); - this.OnMaterialSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingPosition", DbType="NVarChar(50)")] - public string WeldingPosition - { - get - { - return this._WeldingPosition; - } - set - { - if ((this._WeldingPosition != value)) - { - this.OnWeldingPositionChanging(value); - this.SendPropertyChanging(); - this._WeldingPosition = value; - this.SendPropertyChanged("WeldingPosition"); - this.OnWeldingPositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotTemperatures", DbType="NChar(10)")] - public string HotTemperatures - { - get - { - return this._HotTemperatures; - } - set - { - if ((this._HotTemperatures != value)) - { - this.OnHotTemperaturesChanging(value); - this.SendPropertyChanging(); - this._HotTemperatures = value; - this.SendPropertyChanged("HotTemperatures"); - this.OnHotTemperaturesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HoldingTime", DbType="NVarChar(10)")] - public string HoldingTime - { - get - { - return this._HoldingTime; - } - set - { - if ((this._HoldingTime != value)) - { - this.OnHoldingTimeChanging(value); - this.SendPropertyChanging(); - this._HoldingTime = value; - this.SendPropertyChanged("HoldingTime"); - this.OnHoldingTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreheatingTemperature", DbType="NChar(10)")] - public string PreheatingTemperature - { - get - { - return this._PreheatingTemperature; - } - set - { - if ((this._PreheatingTemperature != value)) - { - this.OnPreheatingTemperatureChanging(value); - this.SendPropertyChanging(); - this._PreheatingTemperature = value; - this.SendPropertyChanged("PreheatingTemperature"); - this.OnPreheatingTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeatingMode", DbType="NVarChar(50)")] - public string HeatingMode - { - get - { - return this._HeatingMode; - } - set - { - if ((this._HeatingMode != value)) - { - this.OnHeatingModeChanging(value); - this.SendPropertyChanging(); - this._HeatingMode = value; - this.SendPropertyChanged("HeatingMode"); - this.OnHeatingModeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GasComponent", DbType="NVarChar(50)")] - public string GasComponent - { - get - { - return this._GasComponent; - } - set - { - if ((this._GasComponent != value)) - { - this.OnGasComponentChanging(value); - this.SendPropertyChanging(); - this._GasComponent = value; - this.SendPropertyChanged("GasComponent"); - this.OnGasComponentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GasFlow", DbType="NVarChar(50)")] - public string GasFlow - { - get - { - return this._GasFlow; - } - set - { - if ((this._GasFlow != value)) - { - this.OnGasFlowChanging(value); - this.SendPropertyChanging(); - this._GasFlow = value; - this.SendPropertyChanged("GasFlow"); - this.OnGasFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PolarDiameter", DbType="NVarChar(50)")] - public string PolarDiameter - { - get - { - return this._PolarDiameter; - } - set - { - if ((this._PolarDiameter != value)) - { - this.OnPolarDiameterChanging(value); - this.SendPropertyChanging(); - this._PolarDiameter = value; - this.SendPropertyChanged("PolarDiameter"); - this.OnPolarDiameterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NozzleDiameter", DbType="NChar(10)")] - public string NozzleDiameter - { - get - { - return this._NozzleDiameter; - } - set - { - if ((this._NozzleDiameter != value)) - { - this.OnNozzleDiameterChanging(value); - this.SendPropertyChanging(); - this._NozzleDiameter = value; - this.SendPropertyChanged("NozzleDiameter"); - this.OnNozzleDiameterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldLayer", DbType="NVarChar(50)")] - public string WeldLayer - { - get - { - return this._WeldLayer; - } - set - { - if ((this._WeldLayer != value)) - { - this.OnWeldLayerChanging(value); - this.SendPropertyChanging(); - this._WeldLayer = value; - this.SendPropertyChanged("WeldLayer"); - this.OnWeldLayerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod1", DbType="NVarChar(50)")] - public string WeldMethod1 - { - get - { - return this._WeldMethod1; - } - set - { - if ((this._WeldMethod1 != value)) - { - this.OnWeldMethod1Changing(value); - this.SendPropertyChanging(); - this._WeldMethod1 = value; - this.SendPropertyChanged("WeldMethod1"); - this.OnWeldMethod1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CardNum", DbType="NVarChar(50)")] - public string CardNum - { - get - { - return this._CardNum; - } - set - { - if ((this._CardNum != value)) - { - this.OnCardNumChanging(value); - this.SendPropertyChanging(); - this._CardNum = value; - this.SendPropertyChanged("CardNum"); - this.OnCardNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Diameter", DbType="NChar(10)")] - public string Diameter - { - get - { - return this._Diameter; - } - set - { - if ((this._Diameter != value)) - { - this.OnDiameterChanging(value); - this.SendPropertyChanging(); - this._Diameter = value; - this.SendPropertyChanged("Diameter"); - this.OnDiameterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Polarity", DbType="NVarChar(50)")] - public string Polarity - { - get - { - return this._Polarity; - } - set - { - if ((this._Polarity != value)) - { - this.OnPolarityChanging(value); - this.SendPropertyChanging(); - this._Polarity = value; - this.SendPropertyChanged("Polarity"); - this.OnPolarityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectricCurrent", DbType="NVarChar(50)")] - public string ElectricCurrent - { - get - { - return this._ElectricCurrent; - } - set - { - if ((this._ElectricCurrent != value)) - { - this.OnElectricCurrentChanging(value); - this.SendPropertyChanging(); - this._ElectricCurrent = value; - this.SendPropertyChanged("ElectricCurrent"); - this.OnElectricCurrentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage", DbType="NVarChar(50)")] - public string Voltage - { - get - { - return this._Voltage; - } - set - { - if ((this._Voltage != value)) - { - this.OnVoltageChanging(value); - this.SendPropertyChanging(); - this._Voltage = value; - this.SendPropertyChanged("Voltage"); - this.OnVoltageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed", DbType="NVarChar(50)")] - public string Speed - { - get - { - return this._Speed; - } - set - { - if ((this._Speed != value)) - { - this.OnSpeedChanging(value); - this.SendPropertyChanging(); - this._Speed = value; - this.SendPropertyChanged("Speed"); - this.OnSpeedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LineCapacity", DbType="NVarChar(50)")] - public string LineCapacity - { - get - { - return this._LineCapacity; - } - set - { - if ((this._LineCapacity != value)) - { - this.OnLineCapacityChanging(value); - this.SendPropertyChanging(); - this._LineCapacity = value; - this.SendPropertyChanged("LineCapacity"); - this.OnLineCapacityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingRT", DbType="NChar(10)")] - public string TestingRT - { - get - { - return this._TestingRT; - } - set - { - if ((this._TestingRT != value)) - { - this.OnTestingRTChanging(value); - this.SendPropertyChanging(); - this._TestingRT = value; - this.SendPropertyChanged("TestingRT"); - this.OnTestingRTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingPT", DbType="NChar(10)")] - public string TestingPT - { - get - { - return this._TestingPT; - } - set - { - if ((this._TestingPT != value)) - { - this.OnTestingPTChanging(value); - this.SendPropertyChanging(); - this._TestingPT = value; - this.SendPropertyChanged("TestingPT"); - this.OnTestingPTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingMT", DbType="NChar(10)")] - public string TestingMT - { - get - { - return this._TestingMT; - } - set - { - if ((this._TestingMT != value)) - { - this.OnTestingMTChanging(value); - this.SendPropertyChanging(); - this._TestingMT = value; - this.SendPropertyChanged("TestingMT"); - this.OnTestingMTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingUT", DbType="NChar(10)")] - public string TestingUT - { - get - { - return this._TestingUT; - } - set - { - if ((this._TestingUT != value)) - { - this.OnTestingUTChanging(value); - this.SendPropertyChanging(); - this._TestingUT = value; - this.SendPropertyChanged("TestingUT"); - this.OnTestingUTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingOther", DbType="NVarChar(50)")] - public string TestingOther - { - get - { - return this._TestingOther; - } - set - { - if ((this._TestingOther != value)) - { - this.OnTestingOtherChanging(value); - this.SendPropertyChanging(); - this._TestingOther = value; - this.SendPropertyChanged("TestingOther"); - this.OnTestingOtherChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TechnicalMeasures", DbType="NVarChar(100)")] - public string TechnicalMeasures - { - get - { - return this._TechnicalMeasures; - } - set - { - if ((this._TechnicalMeasures != value)) - { - this.OnTechnicalMeasuresChanging(value); - this.SendPropertyChanging(); - this._TechnicalMeasures = value; - this.SendPropertyChanged("TechnicalMeasures"); - this.OnTechnicalMeasuresChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(100)")] - public string Description - { - get - { - return this._Description; - } - set - { - if ((this._Description != value)) - { - this.OnDescriptionChanging(value); - this.SendPropertyChanging(); - this._Description = value; - this.SendPropertyChanged("Description"); - this.OnDescriptionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageId", DbType="NVarChar(50)")] - public string ImageId - { - get - { - return this._ImageId; - } - set - { - if ((this._ImageId != value)) - { - if (this._HJGL_PW_ProcedureImageManage.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnImageIdChanging(value); - this.SendPropertyChanging(); - this._ImageId = value; - this.SendPropertyChanged("ImageId"); - this.OnImageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_WeldingProcedure_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel HJGL_BS_Steel - { - get - { - return this._HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Steel.Entity = null; - previousValue.HJGL_PW_WeldingProcedure.Remove(this); - } - this._HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_PW_WeldingProcedure.Add(this); - this._STE_ID = value.STE_ID; - } - else - { - this._STE_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_WeldingProcedure_HJGL_PW_ProcedureImageManage", Storage="_HJGL_PW_ProcedureImageManage", ThisKey="ImageId", OtherKey="ImageId", IsForeignKey=true)] - public HJGL_PW_ProcedureImageManage HJGL_PW_ProcedureImageManage - { - get - { - return this._HJGL_PW_ProcedureImageManage.Entity; - } - set - { - HJGL_PW_ProcedureImageManage previousValue = this._HJGL_PW_ProcedureImageManage.Entity; - if (((previousValue != value) - || (this._HJGL_PW_ProcedureImageManage.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_ProcedureImageManage.Entity = null; - previousValue.HJGL_PW_WeldingProcedure.Remove(this); - } - this._HJGL_PW_ProcedureImageManage.Entity = value; - if ((value != null)) - { - value.HJGL_PW_WeldingProcedure.Add(this); - this._ImageId = value.ImageId; - } - else - { - this._ImageId = default(string); - } - this.SendPropertyChanged("HJGL_PW_ProcedureImageManage"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_PW_WeldingProcedureJOT")] - public partial class HJGL_PW_WeldingProcedureJOT : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldingProcedureJotId; - - private string _ProcedureCode; - - private System.Nullable _ProcedureDate; - - private string _WeldedJoints; - - private string _GrooveForm; - - private string _MaterialCode; - - private string _ThicknessRange; - - private string _MaterialStandard; - - private string _MaterialType; - - private string _MaterialModel; - - private string _MaterialSpecification; - - private string _WeldingPosition; - - private string _HotTemperatures; - - private string _HoldingTime; - - private string _PreheatingTemperature; - - private string _HeatingMode; - - private string _GasComponent; - - private string _GasFlow; - - private string _PolarDiameter; - - private string _NozzleDiameter; - - private string _WeldLayer; - - private string _WeldMethod; - - private string _CardNum; - - private string _Diameter; - - private string _Polarity; - - private string _ElectricCurrent; - - private string _Voltage; - - private string _Speed; - - private string _LineCapacity; - - private string _TestingRT; - - private string _TestingPT; - - private string _TestingMT; - - private string _TestingUT; - - private string _TestingOther; - - private string _TechnicalMeasures; - - private string _Description; - - private string _ImageId; - - private string _WType; - - private string _Material; - - private string _Specification; - - private string _Welding; - - private string _WRange; - - private string _Remark; - - private string _MaterialGroup; - - private string _JointsForm; - - private string _TubeDiameter; - - private System.Nullable _SpecimenThickness; - - private string _WeldPositionCode; - - private string _WeldPreheating; - - private string _PWHT; - - private string _STE_ID; - - private string _WWI_Code; - - private EntityRef _HJGL_PW_ProcedureImageManage; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldingProcedureJotIdChanging(string value); - partial void OnWeldingProcedureJotIdChanged(); - partial void OnProcedureCodeChanging(string value); - partial void OnProcedureCodeChanged(); - partial void OnProcedureDateChanging(System.Nullable value); - partial void OnProcedureDateChanged(); - partial void OnWeldedJointsChanging(string value); - partial void OnWeldedJointsChanged(); - partial void OnGrooveFormChanging(string value); - partial void OnGrooveFormChanged(); - partial void OnMaterialCodeChanging(string value); - partial void OnMaterialCodeChanged(); - partial void OnThicknessRangeChanging(string value); - partial void OnThicknessRangeChanged(); - partial void OnMaterialStandardChanging(string value); - partial void OnMaterialStandardChanged(); - partial void OnMaterialTypeChanging(string value); - partial void OnMaterialTypeChanged(); - partial void OnMaterialModelChanging(string value); - partial void OnMaterialModelChanged(); - partial void OnMaterialSpecificationChanging(string value); - partial void OnMaterialSpecificationChanged(); - partial void OnWeldingPositionChanging(string value); - partial void OnWeldingPositionChanged(); - partial void OnHotTemperaturesChanging(string value); - partial void OnHotTemperaturesChanged(); - partial void OnHoldingTimeChanging(string value); - partial void OnHoldingTimeChanged(); - partial void OnPreheatingTemperatureChanging(string value); - partial void OnPreheatingTemperatureChanged(); - partial void OnHeatingModeChanging(string value); - partial void OnHeatingModeChanged(); - partial void OnGasComponentChanging(string value); - partial void OnGasComponentChanged(); - partial void OnGasFlowChanging(string value); - partial void OnGasFlowChanged(); - partial void OnPolarDiameterChanging(string value); - partial void OnPolarDiameterChanged(); - partial void OnNozzleDiameterChanging(string value); - partial void OnNozzleDiameterChanged(); - partial void OnWeldLayerChanging(string value); - partial void OnWeldLayerChanged(); - partial void OnWeldMethodChanging(string value); - partial void OnWeldMethodChanged(); - partial void OnCardNumChanging(string value); - partial void OnCardNumChanged(); - partial void OnDiameterChanging(string value); - partial void OnDiameterChanged(); - partial void OnPolarityChanging(string value); - partial void OnPolarityChanged(); - partial void OnElectricCurrentChanging(string value); - partial void OnElectricCurrentChanged(); - partial void OnVoltageChanging(string value); - partial void OnVoltageChanged(); - partial void OnSpeedChanging(string value); - partial void OnSpeedChanged(); - partial void OnLineCapacityChanging(string value); - partial void OnLineCapacityChanged(); - partial void OnTestingRTChanging(string value); - partial void OnTestingRTChanged(); - partial void OnTestingPTChanging(string value); - partial void OnTestingPTChanged(); - partial void OnTestingMTChanging(string value); - partial void OnTestingMTChanged(); - partial void OnTestingUTChanging(string value); - partial void OnTestingUTChanged(); - partial void OnTestingOtherChanging(string value); - partial void OnTestingOtherChanged(); - partial void OnTechnicalMeasuresChanging(string value); - partial void OnTechnicalMeasuresChanged(); - partial void OnDescriptionChanging(string value); - partial void OnDescriptionChanged(); - partial void OnImageIdChanging(string value); - partial void OnImageIdChanged(); - partial void OnWTypeChanging(string value); - partial void OnWTypeChanged(); - partial void OnMaterialChanging(string value); - partial void OnMaterialChanged(); - partial void OnSpecificationChanging(string value); - partial void OnSpecificationChanged(); - partial void OnWeldingChanging(string value); - partial void OnWeldingChanged(); - partial void OnWRangeChanging(string value); - partial void OnWRangeChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnMaterialGroupChanging(string value); - partial void OnMaterialGroupChanged(); - partial void OnJointsFormChanging(string value); - partial void OnJointsFormChanged(); - partial void OnTubeDiameterChanging(string value); - partial void OnTubeDiameterChanged(); - partial void OnSpecimenThicknessChanging(System.Nullable value); - partial void OnSpecimenThicknessChanged(); - partial void OnWeldPositionCodeChanging(string value); - partial void OnWeldPositionCodeChanged(); - partial void OnWeldPreheatingChanging(string value); - partial void OnWeldPreheatingChanged(); - partial void OnPWHTChanging(string value); - partial void OnPWHTChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnWWI_CodeChanging(string value); - partial void OnWWI_CodeChanged(); - #endregion - - public HJGL_PW_WeldingProcedureJOT() - { - this._HJGL_PW_ProcedureImageManage = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureJotId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldingProcedureJotId - { - get - { - return this._WeldingProcedureJotId; - } - set - { - if ((this._WeldingProcedureJotId != value)) - { - this.OnWeldingProcedureJotIdChanging(value); - this.SendPropertyChanging(); - this._WeldingProcedureJotId = value; - this.SendPropertyChanged("WeldingProcedureJotId"); - this.OnWeldingProcedureJotIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProcedureCode", DbType="NVarChar(50)")] - public string ProcedureCode - { - get - { - return this._ProcedureCode; - } - set - { - if ((this._ProcedureCode != value)) - { - this.OnProcedureCodeChanging(value); - this.SendPropertyChanging(); - this._ProcedureCode = value; - this.SendPropertyChanged("ProcedureCode"); - this.OnProcedureCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProcedureDate", DbType="DateTime")] - public System.Nullable ProcedureDate - { - get - { - return this._ProcedureDate; - } - set - { - if ((this._ProcedureDate != value)) - { - this.OnProcedureDateChanging(value); - this.SendPropertyChanging(); - this._ProcedureDate = value; - this.SendPropertyChanged("ProcedureDate"); - this.OnProcedureDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldedJoints", DbType="NVarChar(50)")] - public string WeldedJoints - { - get - { - return this._WeldedJoints; - } - set - { - if ((this._WeldedJoints != value)) - { - this.OnWeldedJointsChanging(value); - this.SendPropertyChanging(); - this._WeldedJoints = value; - this.SendPropertyChanged("WeldedJoints"); - this.OnWeldedJointsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GrooveForm", DbType="NVarChar(50)")] - public string GrooveForm - { - get - { - return this._GrooveForm; - } - set - { - if ((this._GrooveForm != value)) - { - this.OnGrooveFormChanging(value); - this.SendPropertyChanging(); - this._GrooveForm = value; - this.SendPropertyChanged("GrooveForm"); - this.OnGrooveFormChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCode", DbType="NVarChar(50)")] - public string MaterialCode - { - get - { - return this._MaterialCode; - } - set - { - if ((this._MaterialCode != value)) - { - this.OnMaterialCodeChanging(value); - this.SendPropertyChanging(); - this._MaterialCode = value; - this.SendPropertyChanged("MaterialCode"); - this.OnMaterialCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThicknessRange", DbType="NVarChar(20)")] - public string ThicknessRange - { - get - { - return this._ThicknessRange; - } - set - { - if ((this._ThicknessRange != value)) - { - this.OnThicknessRangeChanging(value); - this.SendPropertyChanging(); - this._ThicknessRange = value; - this.SendPropertyChanged("ThicknessRange"); - this.OnThicknessRangeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandard", DbType="NVarChar(50)")] - public string MaterialStandard - { - get - { - return this._MaterialStandard; - } - set - { - if ((this._MaterialStandard != value)) - { - this.OnMaterialStandardChanging(value); - this.SendPropertyChanging(); - this._MaterialStandard = value; - this.SendPropertyChanged("MaterialStandard"); - this.OnMaterialStandardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialType", DbType="NVarChar(50)")] - public string MaterialType - { - get - { - return this._MaterialType; - } - set - { - if ((this._MaterialType != value)) - { - this.OnMaterialTypeChanging(value); - this.SendPropertyChanging(); - this._MaterialType = value; - this.SendPropertyChanged("MaterialType"); - this.OnMaterialTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialModel", DbType="NVarChar(50)")] - public string MaterialModel - { - get - { - return this._MaterialModel; - } - set - { - if ((this._MaterialModel != value)) - { - this.OnMaterialModelChanging(value); - this.SendPropertyChanging(); - this._MaterialModel = value; - this.SendPropertyChanged("MaterialModel"); - this.OnMaterialModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialSpecification", DbType="NVarChar(50)")] - public string MaterialSpecification - { - get - { - return this._MaterialSpecification; - } - set - { - if ((this._MaterialSpecification != value)) - { - this.OnMaterialSpecificationChanging(value); - this.SendPropertyChanging(); - this._MaterialSpecification = value; - this.SendPropertyChanged("MaterialSpecification"); - this.OnMaterialSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingPosition", DbType="NVarChar(50)")] - public string WeldingPosition - { - get - { - return this._WeldingPosition; - } - set - { - if ((this._WeldingPosition != value)) - { - this.OnWeldingPositionChanging(value); - this.SendPropertyChanging(); - this._WeldingPosition = value; - this.SendPropertyChanged("WeldingPosition"); - this.OnWeldingPositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotTemperatures", DbType="NChar(10)")] - public string HotTemperatures - { - get - { - return this._HotTemperatures; - } - set - { - if ((this._HotTemperatures != value)) - { - this.OnHotTemperaturesChanging(value); - this.SendPropertyChanging(); - this._HotTemperatures = value; - this.SendPropertyChanged("HotTemperatures"); - this.OnHotTemperaturesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HoldingTime", DbType="NVarChar(10)")] - public string HoldingTime - { - get - { - return this._HoldingTime; - } - set - { - if ((this._HoldingTime != value)) - { - this.OnHoldingTimeChanging(value); - this.SendPropertyChanging(); - this._HoldingTime = value; - this.SendPropertyChanged("HoldingTime"); - this.OnHoldingTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreheatingTemperature", DbType="NChar(10)")] - public string PreheatingTemperature - { - get - { - return this._PreheatingTemperature; - } - set - { - if ((this._PreheatingTemperature != value)) - { - this.OnPreheatingTemperatureChanging(value); - this.SendPropertyChanging(); - this._PreheatingTemperature = value; - this.SendPropertyChanged("PreheatingTemperature"); - this.OnPreheatingTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeatingMode", DbType="NVarChar(50)")] - public string HeatingMode - { - get - { - return this._HeatingMode; - } - set - { - if ((this._HeatingMode != value)) - { - this.OnHeatingModeChanging(value); - this.SendPropertyChanging(); - this._HeatingMode = value; - this.SendPropertyChanged("HeatingMode"); - this.OnHeatingModeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GasComponent", DbType="NVarChar(50)")] - public string GasComponent - { - get - { - return this._GasComponent; - } - set - { - if ((this._GasComponent != value)) - { - this.OnGasComponentChanging(value); - this.SendPropertyChanging(); - this._GasComponent = value; - this.SendPropertyChanged("GasComponent"); - this.OnGasComponentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GasFlow", DbType="NVarChar(50)")] - public string GasFlow - { - get - { - return this._GasFlow; - } - set - { - if ((this._GasFlow != value)) - { - this.OnGasFlowChanging(value); - this.SendPropertyChanging(); - this._GasFlow = value; - this.SendPropertyChanged("GasFlow"); - this.OnGasFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PolarDiameter", DbType="NVarChar(50)")] - public string PolarDiameter - { - get - { - return this._PolarDiameter; - } - set - { - if ((this._PolarDiameter != value)) - { - this.OnPolarDiameterChanging(value); - this.SendPropertyChanging(); - this._PolarDiameter = value; - this.SendPropertyChanged("PolarDiameter"); - this.OnPolarDiameterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NozzleDiameter", DbType="NChar(10)")] - public string NozzleDiameter - { - get - { - return this._NozzleDiameter; - } - set - { - if ((this._NozzleDiameter != value)) - { - this.OnNozzleDiameterChanging(value); - this.SendPropertyChanging(); - this._NozzleDiameter = value; - this.SendPropertyChanged("NozzleDiameter"); - this.OnNozzleDiameterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldLayer", DbType="NVarChar(50)")] - public string WeldLayer - { - get - { - return this._WeldLayer; - } - set - { - if ((this._WeldLayer != value)) - { - this.OnWeldLayerChanging(value); - this.SendPropertyChanging(); - this._WeldLayer = value; - this.SendPropertyChanged("WeldLayer"); - this.OnWeldLayerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod", DbType="NVarChar(50)")] - public string WeldMethod - { - get - { - return this._WeldMethod; - } - set - { - if ((this._WeldMethod != value)) - { - this.OnWeldMethodChanging(value); - this.SendPropertyChanging(); - this._WeldMethod = value; - this.SendPropertyChanged("WeldMethod"); - this.OnWeldMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CardNum", DbType="NVarChar(50)")] - public string CardNum - { - get - { - return this._CardNum; - } - set - { - if ((this._CardNum != value)) - { - this.OnCardNumChanging(value); - this.SendPropertyChanging(); - this._CardNum = value; - this.SendPropertyChanged("CardNum"); - this.OnCardNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Diameter", DbType="NChar(10)")] - public string Diameter - { - get - { - return this._Diameter; - } - set - { - if ((this._Diameter != value)) - { - this.OnDiameterChanging(value); - this.SendPropertyChanging(); - this._Diameter = value; - this.SendPropertyChanged("Diameter"); - this.OnDiameterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Polarity", DbType="NVarChar(50)")] - public string Polarity - { - get - { - return this._Polarity; - } - set - { - if ((this._Polarity != value)) - { - this.OnPolarityChanging(value); - this.SendPropertyChanging(); - this._Polarity = value; - this.SendPropertyChanged("Polarity"); - this.OnPolarityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ElectricCurrent", DbType="NVarChar(50)")] - public string ElectricCurrent - { - get - { - return this._ElectricCurrent; - } - set - { - if ((this._ElectricCurrent != value)) - { - this.OnElectricCurrentChanging(value); - this.SendPropertyChanging(); - this._ElectricCurrent = value; - this.SendPropertyChanged("ElectricCurrent"); - this.OnElectricCurrentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage", DbType="NVarChar(50)")] - public string Voltage - { - get - { - return this._Voltage; - } - set - { - if ((this._Voltage != value)) - { - this.OnVoltageChanging(value); - this.SendPropertyChanging(); - this._Voltage = value; - this.SendPropertyChanged("Voltage"); - this.OnVoltageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed", DbType="NVarChar(50)")] - public string Speed - { - get - { - return this._Speed; - } - set - { - if ((this._Speed != value)) - { - this.OnSpeedChanging(value); - this.SendPropertyChanging(); - this._Speed = value; - this.SendPropertyChanged("Speed"); - this.OnSpeedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LineCapacity", DbType="NVarChar(50)")] - public string LineCapacity - { - get - { - return this._LineCapacity; - } - set - { - if ((this._LineCapacity != value)) - { - this.OnLineCapacityChanging(value); - this.SendPropertyChanging(); - this._LineCapacity = value; - this.SendPropertyChanged("LineCapacity"); - this.OnLineCapacityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingRT", DbType="NChar(10)")] - public string TestingRT - { - get - { - return this._TestingRT; - } - set - { - if ((this._TestingRT != value)) - { - this.OnTestingRTChanging(value); - this.SendPropertyChanging(); - this._TestingRT = value; - this.SendPropertyChanged("TestingRT"); - this.OnTestingRTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingPT", DbType="NChar(10)")] - public string TestingPT - { - get - { - return this._TestingPT; - } - set - { - if ((this._TestingPT != value)) - { - this.OnTestingPTChanging(value); - this.SendPropertyChanging(); - this._TestingPT = value; - this.SendPropertyChanged("TestingPT"); - this.OnTestingPTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingMT", DbType="NChar(10)")] - public string TestingMT - { - get - { - return this._TestingMT; - } - set - { - if ((this._TestingMT != value)) - { - this.OnTestingMTChanging(value); - this.SendPropertyChanging(); - this._TestingMT = value; - this.SendPropertyChanged("TestingMT"); - this.OnTestingMTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingUT", DbType="NChar(10)")] - public string TestingUT - { - get - { - return this._TestingUT; - } - set - { - if ((this._TestingUT != value)) - { - this.OnTestingUTChanging(value); - this.SendPropertyChanging(); - this._TestingUT = value; - this.SendPropertyChanged("TestingUT"); - this.OnTestingUTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingOther", DbType="NVarChar(50)")] - public string TestingOther - { - get - { - return this._TestingOther; - } - set - { - if ((this._TestingOther != value)) - { - this.OnTestingOtherChanging(value); - this.SendPropertyChanging(); - this._TestingOther = value; - this.SendPropertyChanged("TestingOther"); - this.OnTestingOtherChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TechnicalMeasures", DbType="NVarChar(100)")] - public string TechnicalMeasures - { - get - { - return this._TechnicalMeasures; - } - set - { - if ((this._TechnicalMeasures != value)) - { - this.OnTechnicalMeasuresChanging(value); - this.SendPropertyChanging(); - this._TechnicalMeasures = value; - this.SendPropertyChanged("TechnicalMeasures"); - this.OnTechnicalMeasuresChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="NVarChar(100)")] - public string Description - { - get - { - return this._Description; - } - set - { - if ((this._Description != value)) - { - this.OnDescriptionChanging(value); - this.SendPropertyChanging(); - this._Description = value; - this.SendPropertyChanged("Description"); - this.OnDescriptionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageId", DbType="NVarChar(50)")] - public string ImageId - { - get - { - return this._ImageId; - } - set - { - if ((this._ImageId != value)) - { - if (this._HJGL_PW_ProcedureImageManage.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnImageIdChanging(value); - this.SendPropertyChanging(); - this._ImageId = value; - this.SendPropertyChanged("ImageId"); - this.OnImageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WType", DbType="Char(1)")] - public string WType - { - get - { - return this._WType; - } - set - { - if ((this._WType != value)) - { - this.OnWTypeChanging(value); - this.SendPropertyChanging(); - this._WType = value; - this.SendPropertyChanged("WType"); - this.OnWTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Material", DbType="NVarChar(50)")] - public string Material - { - get - { - return this._Material; - } - set - { - if ((this._Material != value)) - { - this.OnMaterialChanging(value); - this.SendPropertyChanging(); - this._Material = value; - this.SendPropertyChanged("Material"); - this.OnMaterialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specification", DbType="NVarChar(50)")] - public string Specification - { - get - { - return this._Specification; - } - set - { - if ((this._Specification != value)) - { - this.OnSpecificationChanging(value); - this.SendPropertyChanging(); - this._Specification = value; - this.SendPropertyChanged("Specification"); - this.OnSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Welding", DbType="NVarChar(50)")] - public string Welding - { - get - { - return this._Welding; - } - set - { - if ((this._Welding != value)) - { - this.OnWeldingChanging(value); - this.SendPropertyChanging(); - this._Welding = value; - this.SendPropertyChanged("Welding"); - this.OnWeldingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WRange", DbType="NVarChar(50)")] - public string WRange - { - get - { - return this._WRange; - } - set - { - if ((this._WRange != value)) - { - this.OnWRangeChanging(value); - this.SendPropertyChanging(); - this._WRange = value; - this.SendPropertyChanged("WRange"); - this.OnWRangeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroup", DbType="NVarChar(50)")] - public string MaterialGroup - { - get - { - return this._MaterialGroup; - } - set - { - if ((this._MaterialGroup != value)) - { - this.OnMaterialGroupChanging(value); - this.SendPropertyChanging(); - this._MaterialGroup = value; - this.SendPropertyChanged("MaterialGroup"); - this.OnMaterialGroupChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointsForm", DbType="NVarChar(10)")] - public string JointsForm - { - get - { - return this._JointsForm; - } - set - { - if ((this._JointsForm != value)) - { - this.OnJointsFormChanging(value); - this.SendPropertyChanging(); - this._JointsForm = value; - this.SendPropertyChanged("JointsForm"); - this.OnJointsFormChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TubeDiameter", DbType="NVarChar(50)")] - public string TubeDiameter - { - get - { - return this._TubeDiameter; - } - set - { - if ((this._TubeDiameter != value)) - { - this.OnTubeDiameterChanging(value); - this.SendPropertyChanging(); - this._TubeDiameter = value; - this.SendPropertyChanged("TubeDiameter"); - this.OnTubeDiameterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecimenThickness", DbType="Decimal(18,4)")] - public System.Nullable SpecimenThickness - { - get - { - return this._SpecimenThickness; - } - set - { - if ((this._SpecimenThickness != value)) - { - this.OnSpecimenThicknessChanging(value); - this.SendPropertyChanging(); - this._SpecimenThickness = value; - this.SendPropertyChanged("SpecimenThickness"); - this.OnSpecimenThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldPositionCode", DbType="NVarChar(50)")] - public string WeldPositionCode - { - get - { - return this._WeldPositionCode; - } - set - { - if ((this._WeldPositionCode != value)) - { - this.OnWeldPositionCodeChanging(value); - this.SendPropertyChanging(); - this._WeldPositionCode = value; - this.SendPropertyChanged("WeldPositionCode"); - this.OnWeldPositionCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldPreheating", DbType="NVarChar(50)")] - public string WeldPreheating - { - get - { - return this._WeldPreheating; - } - set - { - if ((this._WeldPreheating != value)) - { - this.OnWeldPreheatingChanging(value); - this.SendPropertyChanging(); - this._WeldPreheating = value; - this.SendPropertyChanged("WeldPreheating"); - this.OnWeldPreheatingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PWHT", DbType="NVarChar(50)")] - public string PWHT - { - get - { - return this._PWHT; - } - set - { - if ((this._PWHT != value)) - { - this.OnPWHTChanging(value); - this.SendPropertyChanging(); - this._PWHT = value; - this.SendPropertyChanged("PWHT"); - this.OnPWHTChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="NVarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WWI_Code", DbType="NVarChar(50)")] - public string WWI_Code - { - get - { - return this._WWI_Code; - } - set - { - if ((this._WWI_Code != value)) - { - this.OnWWI_CodeChanging(value); - this.SendPropertyChanging(); - this._WWI_Code = value; - this.SendPropertyChanged("WWI_Code"); - this.OnWWI_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_WeldingProcedureJOT_HJGL_PW_ProcedureImageManage", Storage="_HJGL_PW_ProcedureImageManage", ThisKey="ImageId", OtherKey="ImageId", IsForeignKey=true)] - public HJGL_PW_ProcedureImageManage HJGL_PW_ProcedureImageManage - { - get - { - return this._HJGL_PW_ProcedureImageManage.Entity; - } - set - { - HJGL_PW_ProcedureImageManage previousValue = this._HJGL_PW_ProcedureImageManage.Entity; - if (((previousValue != value) - || (this._HJGL_PW_ProcedureImageManage.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_ProcedureImageManage.Entity = null; - previousValue.HJGL_PW_WeldingProcedureJOT.Remove(this); - } - this._HJGL_PW_ProcedureImageManage.Entity = value; - if ((value != null)) - { - value.HJGL_PW_WeldingProcedureJOT.Add(this); - this._ImageId = value.ImageId; - } - else - { - this._ImageId = default(string); - } - this.SendPropertyChanged("HJGL_PW_ProcedureImageManage"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Sys_DataInTemp")] - public partial class HJGL_Sys_DataInTemp : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _TempId; - - private string _ProjectId; - - private string _UserId; - - private System.Nullable _Time; - - private string _Type; - - private System.Nullable _RowNo; - - private string _Value1; - - private string _Value2; - - private string _Value3; - - private string _Value4; - - private string _Value5; - - private string _Value6; - - private string _Value7; - - private string _Value8; - - private string _Value9; - - private string _Value10; - - private string _Value11; - - private string _Value12; - - private string _Value13; - - private string _Value14; - - private string _Value15; - - private string _Value16; - - private string _Value17; - - private string _Value18; - - private string _Value19; - - private string _Value20; - - private string _Value21; - - private string _Value22; - - private string _Value23; - - private string _Value24; - - private string _Value25; - - private string _Value26; - - private string _Value27; - - private string _Value28; - - private string _Value29; - - private string _Value30; - - private string _Value31; - - private string _Value32; - - private string _Value33; - - private string _Value34; - - private string _Value35; - - private string _Value36; - - private string _Value37; - - private string _Value38; - - private string _Value39; - - private string _Value40; - - private string _Value41; - - private string _Value42; - - private string _Value43; - - private string _Value44; - - private string _Value45; - - private string _Value46; - - private string _Value47; - - private string _Value48; - - private string _Value49; - - private string _Value50; - - private string _ToopValue; - - private EntityRef _Base_Project; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnTempIdChanging(string value); - partial void OnTempIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnTimeChanging(System.Nullable value); - partial void OnTimeChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - partial void OnRowNoChanging(System.Nullable value); - partial void OnRowNoChanged(); - partial void OnValue1Changing(string value); - partial void OnValue1Changed(); - partial void OnValue2Changing(string value); - partial void OnValue2Changed(); - partial void OnValue3Changing(string value); - partial void OnValue3Changed(); - partial void OnValue4Changing(string value); - partial void OnValue4Changed(); - partial void OnValue5Changing(string value); - partial void OnValue5Changed(); - partial void OnValue6Changing(string value); - partial void OnValue6Changed(); - partial void OnValue7Changing(string value); - partial void OnValue7Changed(); - partial void OnValue8Changing(string value); - partial void OnValue8Changed(); - partial void OnValue9Changing(string value); - partial void OnValue9Changed(); - partial void OnValue10Changing(string value); - partial void OnValue10Changed(); - partial void OnValue11Changing(string value); - partial void OnValue11Changed(); - partial void OnValue12Changing(string value); - partial void OnValue12Changed(); - partial void OnValue13Changing(string value); - partial void OnValue13Changed(); - partial void OnValue14Changing(string value); - partial void OnValue14Changed(); - partial void OnValue15Changing(string value); - partial void OnValue15Changed(); - partial void OnValue16Changing(string value); - partial void OnValue16Changed(); - partial void OnValue17Changing(string value); - partial void OnValue17Changed(); - partial void OnValue18Changing(string value); - partial void OnValue18Changed(); - partial void OnValue19Changing(string value); - partial void OnValue19Changed(); - partial void OnValue20Changing(string value); - partial void OnValue20Changed(); - partial void OnValue21Changing(string value); - partial void OnValue21Changed(); - partial void OnValue22Changing(string value); - partial void OnValue22Changed(); - partial void OnValue23Changing(string value); - partial void OnValue23Changed(); - partial void OnValue24Changing(string value); - partial void OnValue24Changed(); - partial void OnValue25Changing(string value); - partial void OnValue25Changed(); - partial void OnValue26Changing(string value); - partial void OnValue26Changed(); - partial void OnValue27Changing(string value); - partial void OnValue27Changed(); - partial void OnValue28Changing(string value); - partial void OnValue28Changed(); - partial void OnValue29Changing(string value); - partial void OnValue29Changed(); - partial void OnValue30Changing(string value); - partial void OnValue30Changed(); - partial void OnValue31Changing(string value); - partial void OnValue31Changed(); - partial void OnValue32Changing(string value); - partial void OnValue32Changed(); - partial void OnValue33Changing(string value); - partial void OnValue33Changed(); - partial void OnValue34Changing(string value); - partial void OnValue34Changed(); - partial void OnValue35Changing(string value); - partial void OnValue35Changed(); - partial void OnValue36Changing(string value); - partial void OnValue36Changed(); - partial void OnValue37Changing(string value); - partial void OnValue37Changed(); - partial void OnValue38Changing(string value); - partial void OnValue38Changed(); - partial void OnValue39Changing(string value); - partial void OnValue39Changed(); - partial void OnValue40Changing(string value); - partial void OnValue40Changed(); - partial void OnValue41Changing(string value); - partial void OnValue41Changed(); - partial void OnValue42Changing(string value); - partial void OnValue42Changed(); - partial void OnValue43Changing(string value); - partial void OnValue43Changed(); - partial void OnValue44Changing(string value); - partial void OnValue44Changed(); - partial void OnValue45Changing(string value); - partial void OnValue45Changed(); - partial void OnValue46Changing(string value); - partial void OnValue46Changed(); - partial void OnValue47Changing(string value); - partial void OnValue47Changed(); - partial void OnValue48Changing(string value); - partial void OnValue48Changed(); - partial void OnValue49Changing(string value); - partial void OnValue49Changed(); - partial void OnValue50Changing(string value); - partial void OnValue50Changed(); - partial void OnToopValueChanging(string value); - partial void OnToopValueChanged(); - #endregion - - public HJGL_Sys_DataInTemp() - { - this._Base_Project = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TempId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string TempId - { - get - { - return this._TempId; - } - set - { - if ((this._TempId != value)) - { - this.OnTempIdChanging(value); - this.SendPropertyChanging(); - this._TempId = value; - this.SendPropertyChanged("TempId"); - this.OnTempIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time", DbType="DateTime")] - public System.Nullable Time - { - get - { - return this._Time; - } - set - { - if ((this._Time != value)) - { - this.OnTimeChanging(value); - this.SendPropertyChanging(); - this._Time = value; - this.SendPropertyChanged("Time"); - this.OnTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RowNo", DbType="Int")] - public System.Nullable RowNo - { - get - { - return this._RowNo; - } - set - { - if ((this._RowNo != value)) - { - this.OnRowNoChanging(value); - this.SendPropertyChanging(); - this._RowNo = value; - this.SendPropertyChanged("RowNo"); - this.OnRowNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value1", DbType="NVarChar(100)")] - public string Value1 - { - get - { - return this._Value1; - } - set - { - if ((this._Value1 != value)) - { - this.OnValue1Changing(value); - this.SendPropertyChanging(); - this._Value1 = value; - this.SendPropertyChanged("Value1"); - this.OnValue1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value2", DbType="NVarChar(100)")] - public string Value2 - { - get - { - return this._Value2; - } - set - { - if ((this._Value2 != value)) - { - this.OnValue2Changing(value); - this.SendPropertyChanging(); - this._Value2 = value; - this.SendPropertyChanged("Value2"); - this.OnValue2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value3", DbType="NVarChar(100)")] - public string Value3 - { - get - { - return this._Value3; - } - set - { - if ((this._Value3 != value)) - { - this.OnValue3Changing(value); - this.SendPropertyChanging(); - this._Value3 = value; - this.SendPropertyChanged("Value3"); - this.OnValue3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value4", DbType="NVarChar(100)")] - public string Value4 - { - get - { - return this._Value4; - } - set - { - if ((this._Value4 != value)) - { - this.OnValue4Changing(value); - this.SendPropertyChanging(); - this._Value4 = value; - this.SendPropertyChanged("Value4"); - this.OnValue4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value5", DbType="NVarChar(100)")] - public string Value5 - { - get - { - return this._Value5; - } - set - { - if ((this._Value5 != value)) - { - this.OnValue5Changing(value); - this.SendPropertyChanging(); - this._Value5 = value; - this.SendPropertyChanged("Value5"); - this.OnValue5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value6", DbType="NVarChar(100)")] - public string Value6 - { - get - { - return this._Value6; - } - set - { - if ((this._Value6 != value)) - { - this.OnValue6Changing(value); - this.SendPropertyChanging(); - this._Value6 = value; - this.SendPropertyChanged("Value6"); - this.OnValue6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value7", DbType="NVarChar(100)")] - public string Value7 - { - get - { - return this._Value7; - } - set - { - if ((this._Value7 != value)) - { - this.OnValue7Changing(value); - this.SendPropertyChanging(); - this._Value7 = value; - this.SendPropertyChanged("Value7"); - this.OnValue7Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value8", DbType="NVarChar(100)")] - public string Value8 - { - get - { - return this._Value8; - } - set - { - if ((this._Value8 != value)) - { - this.OnValue8Changing(value); - this.SendPropertyChanging(); - this._Value8 = value; - this.SendPropertyChanged("Value8"); - this.OnValue8Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value9", DbType="NVarChar(100)")] - public string Value9 - { - get - { - return this._Value9; - } - set - { - if ((this._Value9 != value)) - { - this.OnValue9Changing(value); - this.SendPropertyChanging(); - this._Value9 = value; - this.SendPropertyChanged("Value9"); - this.OnValue9Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value10", DbType="NVarChar(100)")] - public string Value10 - { - get - { - return this._Value10; - } - set - { - if ((this._Value10 != value)) - { - this.OnValue10Changing(value); - this.SendPropertyChanging(); - this._Value10 = value; - this.SendPropertyChanged("Value10"); - this.OnValue10Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value11", DbType="NVarChar(100)")] - public string Value11 - { - get - { - return this._Value11; - } - set - { - if ((this._Value11 != value)) - { - this.OnValue11Changing(value); - this.SendPropertyChanging(); - this._Value11 = value; - this.SendPropertyChanged("Value11"); - this.OnValue11Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value12", DbType="NVarChar(100)")] - public string Value12 - { - get - { - return this._Value12; - } - set - { - if ((this._Value12 != value)) - { - this.OnValue12Changing(value); - this.SendPropertyChanging(); - this._Value12 = value; - this.SendPropertyChanged("Value12"); - this.OnValue12Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value13", DbType="NVarChar(100)")] - public string Value13 - { - get - { - return this._Value13; - } - set - { - if ((this._Value13 != value)) - { - this.OnValue13Changing(value); - this.SendPropertyChanging(); - this._Value13 = value; - this.SendPropertyChanged("Value13"); - this.OnValue13Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value14", DbType="NVarChar(100)")] - public string Value14 - { - get - { - return this._Value14; - } - set - { - if ((this._Value14 != value)) - { - this.OnValue14Changing(value); - this.SendPropertyChanging(); - this._Value14 = value; - this.SendPropertyChanged("Value14"); - this.OnValue14Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value15", DbType="NVarChar(100)")] - public string Value15 - { - get - { - return this._Value15; - } - set - { - if ((this._Value15 != value)) - { - this.OnValue15Changing(value); - this.SendPropertyChanging(); - this._Value15 = value; - this.SendPropertyChanged("Value15"); - this.OnValue15Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value16", DbType="NVarChar(100)")] - public string Value16 - { - get - { - return this._Value16; - } - set - { - if ((this._Value16 != value)) - { - this.OnValue16Changing(value); - this.SendPropertyChanging(); - this._Value16 = value; - this.SendPropertyChanged("Value16"); - this.OnValue16Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value17", DbType="NVarChar(100)")] - public string Value17 - { - get - { - return this._Value17; - } - set - { - if ((this._Value17 != value)) - { - this.OnValue17Changing(value); - this.SendPropertyChanging(); - this._Value17 = value; - this.SendPropertyChanged("Value17"); - this.OnValue17Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value18", DbType="NVarChar(100)")] - public string Value18 - { - get - { - return this._Value18; - } - set - { - if ((this._Value18 != value)) - { - this.OnValue18Changing(value); - this.SendPropertyChanging(); - this._Value18 = value; - this.SendPropertyChanged("Value18"); - this.OnValue18Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value19", DbType="NVarChar(100)")] - public string Value19 - { - get - { - return this._Value19; - } - set - { - if ((this._Value19 != value)) - { - this.OnValue19Changing(value); - this.SendPropertyChanging(); - this._Value19 = value; - this.SendPropertyChanged("Value19"); - this.OnValue19Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value20", DbType="NVarChar(100)")] - public string Value20 - { - get - { - return this._Value20; - } - set - { - if ((this._Value20 != value)) - { - this.OnValue20Changing(value); - this.SendPropertyChanging(); - this._Value20 = value; - this.SendPropertyChanged("Value20"); - this.OnValue20Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value21", DbType="NVarChar(100)")] - public string Value21 - { - get - { - return this._Value21; - } - set - { - if ((this._Value21 != value)) - { - this.OnValue21Changing(value); - this.SendPropertyChanging(); - this._Value21 = value; - this.SendPropertyChanged("Value21"); - this.OnValue21Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value22", DbType="NVarChar(100)")] - public string Value22 - { - get - { - return this._Value22; - } - set - { - if ((this._Value22 != value)) - { - this.OnValue22Changing(value); - this.SendPropertyChanging(); - this._Value22 = value; - this.SendPropertyChanged("Value22"); - this.OnValue22Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value23", DbType="NVarChar(100)")] - public string Value23 - { - get - { - return this._Value23; - } - set - { - if ((this._Value23 != value)) - { - this.OnValue23Changing(value); - this.SendPropertyChanging(); - this._Value23 = value; - this.SendPropertyChanged("Value23"); - this.OnValue23Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value24", DbType="NVarChar(100)")] - public string Value24 - { - get - { - return this._Value24; - } - set - { - if ((this._Value24 != value)) - { - this.OnValue24Changing(value); - this.SendPropertyChanging(); - this._Value24 = value; - this.SendPropertyChanged("Value24"); - this.OnValue24Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value25", DbType="NVarChar(100)")] - public string Value25 - { - get - { - return this._Value25; - } - set - { - if ((this._Value25 != value)) - { - this.OnValue25Changing(value); - this.SendPropertyChanging(); - this._Value25 = value; - this.SendPropertyChanged("Value25"); - this.OnValue25Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value26", DbType="NVarChar(100)")] - public string Value26 - { - get - { - return this._Value26; - } - set - { - if ((this._Value26 != value)) - { - this.OnValue26Changing(value); - this.SendPropertyChanging(); - this._Value26 = value; - this.SendPropertyChanged("Value26"); - this.OnValue26Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value27", DbType="NVarChar(100)")] - public string Value27 - { - get - { - return this._Value27; - } - set - { - if ((this._Value27 != value)) - { - this.OnValue27Changing(value); - this.SendPropertyChanging(); - this._Value27 = value; - this.SendPropertyChanged("Value27"); - this.OnValue27Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value28", DbType="NVarChar(100)")] - public string Value28 - { - get - { - return this._Value28; - } - set - { - if ((this._Value28 != value)) - { - this.OnValue28Changing(value); - this.SendPropertyChanging(); - this._Value28 = value; - this.SendPropertyChanged("Value28"); - this.OnValue28Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value29", DbType="NVarChar(100)")] - public string Value29 - { - get - { - return this._Value29; - } - set - { - if ((this._Value29 != value)) - { - this.OnValue29Changing(value); - this.SendPropertyChanging(); - this._Value29 = value; - this.SendPropertyChanged("Value29"); - this.OnValue29Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value30", DbType="NVarChar(100)")] - public string Value30 - { - get - { - return this._Value30; - } - set - { - if ((this._Value30 != value)) - { - this.OnValue30Changing(value); - this.SendPropertyChanging(); - this._Value30 = value; - this.SendPropertyChanged("Value30"); - this.OnValue30Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value31", DbType="NVarChar(100)")] - public string Value31 - { - get - { - return this._Value31; - } - set - { - if ((this._Value31 != value)) - { - this.OnValue31Changing(value); - this.SendPropertyChanging(); - this._Value31 = value; - this.SendPropertyChanged("Value31"); - this.OnValue31Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value32", DbType="NVarChar(100)")] - public string Value32 - { - get - { - return this._Value32; - } - set - { - if ((this._Value32 != value)) - { - this.OnValue32Changing(value); - this.SendPropertyChanging(); - this._Value32 = value; - this.SendPropertyChanged("Value32"); - this.OnValue32Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value33", DbType="NVarChar(100)")] - public string Value33 - { - get - { - return this._Value33; - } - set - { - if ((this._Value33 != value)) - { - this.OnValue33Changing(value); - this.SendPropertyChanging(); - this._Value33 = value; - this.SendPropertyChanged("Value33"); - this.OnValue33Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value34", DbType="NVarChar(100)")] - public string Value34 - { - get - { - return this._Value34; - } - set - { - if ((this._Value34 != value)) - { - this.OnValue34Changing(value); - this.SendPropertyChanging(); - this._Value34 = value; - this.SendPropertyChanged("Value34"); - this.OnValue34Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value35", DbType="NVarChar(100)")] - public string Value35 - { - get - { - return this._Value35; - } - set - { - if ((this._Value35 != value)) - { - this.OnValue35Changing(value); - this.SendPropertyChanging(); - this._Value35 = value; - this.SendPropertyChanged("Value35"); - this.OnValue35Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value36", DbType="NVarChar(100)")] - public string Value36 - { - get - { - return this._Value36; - } - set - { - if ((this._Value36 != value)) - { - this.OnValue36Changing(value); - this.SendPropertyChanging(); - this._Value36 = value; - this.SendPropertyChanged("Value36"); - this.OnValue36Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value37", DbType="NVarChar(100)")] - public string Value37 - { - get - { - return this._Value37; - } - set - { - if ((this._Value37 != value)) - { - this.OnValue37Changing(value); - this.SendPropertyChanging(); - this._Value37 = value; - this.SendPropertyChanged("Value37"); - this.OnValue37Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value38", DbType="NVarChar(100)")] - public string Value38 - { - get - { - return this._Value38; - } - set - { - if ((this._Value38 != value)) - { - this.OnValue38Changing(value); - this.SendPropertyChanging(); - this._Value38 = value; - this.SendPropertyChanged("Value38"); - this.OnValue38Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value39", DbType="NVarChar(100)")] - public string Value39 - { - get - { - return this._Value39; - } - set - { - if ((this._Value39 != value)) - { - this.OnValue39Changing(value); - this.SendPropertyChanging(); - this._Value39 = value; - this.SendPropertyChanged("Value39"); - this.OnValue39Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value40", DbType="NVarChar(100)")] - public string Value40 - { - get - { - return this._Value40; - } - set - { - if ((this._Value40 != value)) - { - this.OnValue40Changing(value); - this.SendPropertyChanging(); - this._Value40 = value; - this.SendPropertyChanged("Value40"); - this.OnValue40Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value41", DbType="NVarChar(100)")] - public string Value41 - { - get - { - return this._Value41; - } - set - { - if ((this._Value41 != value)) - { - this.OnValue41Changing(value); - this.SendPropertyChanging(); - this._Value41 = value; - this.SendPropertyChanged("Value41"); - this.OnValue41Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value42", DbType="NVarChar(100)")] - public string Value42 - { - get - { - return this._Value42; - } - set - { - if ((this._Value42 != value)) - { - this.OnValue42Changing(value); - this.SendPropertyChanging(); - this._Value42 = value; - this.SendPropertyChanged("Value42"); - this.OnValue42Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value43", DbType="NVarChar(100)")] - public string Value43 - { - get - { - return this._Value43; - } - set - { - if ((this._Value43 != value)) - { - this.OnValue43Changing(value); - this.SendPropertyChanging(); - this._Value43 = value; - this.SendPropertyChanged("Value43"); - this.OnValue43Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value44", DbType="NVarChar(100)")] - public string Value44 - { - get - { - return this._Value44; - } - set - { - if ((this._Value44 != value)) - { - this.OnValue44Changing(value); - this.SendPropertyChanging(); - this._Value44 = value; - this.SendPropertyChanged("Value44"); - this.OnValue44Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value45", DbType="NVarChar(100)")] - public string Value45 - { - get - { - return this._Value45; - } - set - { - if ((this._Value45 != value)) - { - this.OnValue45Changing(value); - this.SendPropertyChanging(); - this._Value45 = value; - this.SendPropertyChanged("Value45"); - this.OnValue45Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value46", DbType="NVarChar(100)")] - public string Value46 - { - get - { - return this._Value46; - } - set - { - if ((this._Value46 != value)) - { - this.OnValue46Changing(value); - this.SendPropertyChanging(); - this._Value46 = value; - this.SendPropertyChanged("Value46"); - this.OnValue46Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value47", DbType="NVarChar(100)")] - public string Value47 - { - get - { - return this._Value47; - } - set - { - if ((this._Value47 != value)) - { - this.OnValue47Changing(value); - this.SendPropertyChanging(); - this._Value47 = value; - this.SendPropertyChanged("Value47"); - this.OnValue47Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value48", DbType="NVarChar(100)")] - public string Value48 - { - get - { - return this._Value48; - } - set - { - if ((this._Value48 != value)) - { - this.OnValue48Changing(value); - this.SendPropertyChanging(); - this._Value48 = value; - this.SendPropertyChanged("Value48"); - this.OnValue48Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value49", DbType="NVarChar(100)")] - public string Value49 - { - get - { - return this._Value49; - } - set - { - if ((this._Value49 != value)) - { - this.OnValue49Changing(value); - this.SendPropertyChanging(); - this._Value49 = value; - this.SendPropertyChanged("Value49"); - this.OnValue49Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Value50", DbType="NVarChar(100)")] - public string Value50 - { - get - { - return this._Value50; - } - set - { - if ((this._Value50 != value)) - { - this.OnValue50Changing(value); - this.SendPropertyChanging(); - this._Value50 = value; - this.SendPropertyChanged("Value50"); - this.OnValue50Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToopValue", DbType="NVarChar(4000)")] - public string ToopValue - { - get - { - return this._ToopValue; - } - set - { - if ((this._ToopValue != value)) - { - this.OnToopValueChanging(value); - this.SendPropertyChanging(); - this._ToopValue = value; - this.SendPropertyChanged("ToopValue"); - this.OnToopValueChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Sys_DataInTemp_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_Sys_DataInTemp.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_Sys_DataInTemp.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Sys_DataInTemp_Sys_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_Sys_DataInTemp.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_Sys_DataInTemp.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_Sys_UserShowColumns")] - public partial class HJGL_Sys_UserShowColumns : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ShowColumnId; - - private string _UserId; - - private string _Columns; - - private string _ShowType; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnShowColumnIdChanging(string value); - partial void OnShowColumnIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnColumnsChanging(string value); - partial void OnColumnsChanged(); - partial void OnShowTypeChanging(string value); - partial void OnShowTypeChanged(); - #endregion - - public HJGL_Sys_UserShowColumns() - { - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShowColumnId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ShowColumnId - { - get - { - return this._ShowColumnId; - } - set - { - if ((this._ShowColumnId != value)) - { - this.OnShowColumnIdChanging(value); - this.SendPropertyChanging(); - this._ShowColumnId = value; - this.SendPropertyChanged("ShowColumnId"); - this.OnShowColumnIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Columns", DbType="NVarChar(500)")] - public string Columns - { - get - { - return this._Columns; - } - set - { - if ((this._Columns != value)) - { - this.OnColumnsChanging(value); - this.SendPropertyChanging(); - this._Columns = value; - this.SendPropertyChanged("Columns"); - this.OnColumnsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShowType", DbType="Char(10)")] - public string ShowType - { - get - { - return this._ShowType; - } - set - { - if ((this._ShowType != value)) - { - this.OnShowTypeChanging(value); - this.SendPropertyChanging(); - this._ShowType = value; - this.SendPropertyChanged("ShowType"); - this.OnShowTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Sys_UserShowColumns_Sys_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_Sys_UserShowColumns.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_Sys_UserShowColumns.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_TP_TestPackage")] - public partial class HJGL_TP_TestPackage : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _PTP_ID; - - private string _PTP_TestPackageNo; - - private string _PTP_TestPackageName; - - private string _PTP_TestService; - - private string _PTP_TestAmbientTemp; - - private string _PTP_TestMediumTemp; - - private string _PTP_OperationMedium; - - private string _PTP_PurgingMedium; - - private string _PTP_CleaningMedium; - - private string _ProjectId; - - private string _InstallationId; - - private System.Nullable _PressureTest; - - private string _IsolationRemoval; - - private System.Nullable _OpenValve; - - private string _WaterSpecification; - - private string _InstallationSpecification; - - private System.Nullable _ComponentReinspection; - - private string _WorkRecord; - - private string _NDTConform; - - private string _HotConform; - - private string _InstallationCorrectness; - - private string _MarkClearly; - - private string _IsolationOpening; - - private string _ConstructionPlanAsk; - - private string _Cover; - - private string _MeetRequirements; - - private System.Nullable _StainlessTestWater; - - private EntityRef _Base_Project; - - private EntityRef _PTP_; - - private EntityRef _HJGL_TP_TestPackage_HJGL_TP_TestPackage; - - private EntityRef _Project_Installation; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnPTP_IDChanging(string value); - partial void OnPTP_IDChanged(); - partial void OnPTP_TestPackageNoChanging(string value); - partial void OnPTP_TestPackageNoChanged(); - partial void OnPTP_TestPackageNameChanging(string value); - partial void OnPTP_TestPackageNameChanged(); - partial void OnPTP_TestServiceChanging(string value); - partial void OnPTP_TestServiceChanged(); - partial void OnPTP_TestAmbientTempChanging(string value); - partial void OnPTP_TestAmbientTempChanged(); - partial void OnPTP_TestMediumTempChanging(string value); - partial void OnPTP_TestMediumTempChanged(); - partial void OnPTP_OperationMediumChanging(string value); - partial void OnPTP_OperationMediumChanged(); - partial void OnPTP_PurgingMediumChanging(string value); - partial void OnPTP_PurgingMediumChanged(); - partial void OnPTP_CleaningMediumChanging(string value); - partial void OnPTP_CleaningMediumChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnPressureTestChanging(System.Nullable value); - partial void OnPressureTestChanged(); - partial void OnIsolationRemovalChanging(string value); - partial void OnIsolationRemovalChanged(); - partial void OnOpenValveChanging(System.Nullable value); - partial void OnOpenValveChanged(); - partial void OnWaterSpecificationChanging(string value); - partial void OnWaterSpecificationChanged(); - partial void OnInstallationSpecificationChanging(string value); - partial void OnInstallationSpecificationChanged(); - partial void OnComponentReinspectionChanging(System.Nullable value); - partial void OnComponentReinspectionChanged(); - partial void OnWorkRecordChanging(string value); - partial void OnWorkRecordChanged(); - partial void OnNDTConformChanging(string value); - partial void OnNDTConformChanged(); - partial void OnHotConformChanging(string value); - partial void OnHotConformChanged(); - partial void OnInstallationCorrectnessChanging(string value); - partial void OnInstallationCorrectnessChanged(); - partial void OnMarkClearlyChanging(string value); - partial void OnMarkClearlyChanged(); - partial void OnIsolationOpeningChanging(string value); - partial void OnIsolationOpeningChanged(); - partial void OnConstructionPlanAskChanging(string value); - partial void OnConstructionPlanAskChanged(); - partial void OnCoverChanging(string value); - partial void OnCoverChanged(); - partial void OnMeetRequirementsChanging(string value); - partial void OnMeetRequirementsChanged(); - partial void OnStainlessTestWaterChanging(System.Nullable value); - partial void OnStainlessTestWaterChanged(); - #endregion - - public HJGL_TP_TestPackage() - { - this._Base_Project = default(EntityRef); - this._PTP_ = default(EntityRef); - this._HJGL_TP_TestPackage_HJGL_TP_TestPackage = default(EntityRef); - this._Project_Installation = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string PTP_ID - { - get - { - return this._PTP_ID; - } - set - { - if ((this._PTP_ID != value)) - { - if (this._PTP_.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnPTP_IDChanging(value); - this.SendPropertyChanging(); - this._PTP_ID = value; - this.SendPropertyChanged("PTP_ID"); - this.OnPTP_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_TestPackageNo", DbType="VarChar(50)")] - public string PTP_TestPackageNo - { - get - { - return this._PTP_TestPackageNo; - } - set - { - if ((this._PTP_TestPackageNo != value)) - { - this.OnPTP_TestPackageNoChanging(value); - this.SendPropertyChanging(); - this._PTP_TestPackageNo = value; - this.SendPropertyChanged("PTP_TestPackageNo"); - this.OnPTP_TestPackageNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_TestPackageName", DbType="VarChar(50)")] - public string PTP_TestPackageName - { - get - { - return this._PTP_TestPackageName; - } - set - { - if ((this._PTP_TestPackageName != value)) - { - this.OnPTP_TestPackageNameChanging(value); - this.SendPropertyChanging(); - this._PTP_TestPackageName = value; - this.SendPropertyChanged("PTP_TestPackageName"); - this.OnPTP_TestPackageNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_TestService", DbType="VarChar(10)")] - public string PTP_TestService - { - get - { - return this._PTP_TestService; - } - set - { - if ((this._PTP_TestService != value)) - { - this.OnPTP_TestServiceChanging(value); - this.SendPropertyChanging(); - this._PTP_TestService = value; - this.SendPropertyChanged("PTP_TestService"); - this.OnPTP_TestServiceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_TestAmbientTemp", DbType="VarChar(20)")] - public string PTP_TestAmbientTemp - { - get - { - return this._PTP_TestAmbientTemp; - } - set - { - if ((this._PTP_TestAmbientTemp != value)) - { - this.OnPTP_TestAmbientTempChanging(value); - this.SendPropertyChanging(); - this._PTP_TestAmbientTemp = value; - this.SendPropertyChanged("PTP_TestAmbientTemp"); - this.OnPTP_TestAmbientTempChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_TestMediumTemp", DbType="VarChar(20)")] - public string PTP_TestMediumTemp - { - get - { - return this._PTP_TestMediumTemp; - } - set - { - if ((this._PTP_TestMediumTemp != value)) - { - this.OnPTP_TestMediumTempChanging(value); - this.SendPropertyChanging(); - this._PTP_TestMediumTemp = value; - this.SendPropertyChanged("PTP_TestMediumTemp"); - this.OnPTP_TestMediumTempChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_OperationMedium", DbType="VarChar(20)")] - public string PTP_OperationMedium - { - get - { - return this._PTP_OperationMedium; - } - set - { - if ((this._PTP_OperationMedium != value)) - { - this.OnPTP_OperationMediumChanging(value); - this.SendPropertyChanging(); - this._PTP_OperationMedium = value; - this.SendPropertyChanged("PTP_OperationMedium"); - this.OnPTP_OperationMediumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_PurgingMedium", DbType="VarChar(20)")] - public string PTP_PurgingMedium - { - get - { - return this._PTP_PurgingMedium; - } - set - { - if ((this._PTP_PurgingMedium != value)) - { - this.OnPTP_PurgingMediumChanging(value); - this.SendPropertyChanging(); - this._PTP_PurgingMedium = value; - this.SendPropertyChanged("PTP_PurgingMedium"); - this.OnPTP_PurgingMediumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTP_CleaningMedium", DbType="VarChar(20)")] - public string PTP_CleaningMedium - { - get - { - return this._PTP_CleaningMedium; - } - set - { - if ((this._PTP_CleaningMedium != value)) - { - this.OnPTP_CleaningMediumChanging(value); - this.SendPropertyChanging(); - this._PTP_CleaningMedium = value; - this.SendPropertyChanged("PTP_CleaningMedium"); - this.OnPTP_CleaningMediumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - if (this._Project_Installation.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTest", DbType="Bit")] - public System.Nullable PressureTest - { - get - { - return this._PressureTest; - } - set - { - if ((this._PressureTest != value)) - { - this.OnPressureTestChanging(value); - this.SendPropertyChanging(); - this._PressureTest = value; - this.SendPropertyChanged("PressureTest"); - this.OnPressureTestChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsolationRemoval", DbType="NVarChar(50)")] - public string IsolationRemoval - { - get - { - return this._IsolationRemoval; - } - set - { - if ((this._IsolationRemoval != value)) - { - this.OnIsolationRemovalChanging(value); - this.SendPropertyChanging(); - this._IsolationRemoval = value; - this.SendPropertyChanged("IsolationRemoval"); - this.OnIsolationRemovalChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OpenValve", DbType="Bit")] - public System.Nullable OpenValve - { - get - { - return this._OpenValve; - } - set - { - if ((this._OpenValve != value)) - { - this.OnOpenValveChanging(value); - this.SendPropertyChanging(); - this._OpenValve = value; - this.SendPropertyChanged("OpenValve"); - this.OnOpenValveChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WaterSpecification", DbType="NVarChar(50)")] - public string WaterSpecification - { - get - { - return this._WaterSpecification; - } - set - { - if ((this._WaterSpecification != value)) - { - this.OnWaterSpecificationChanging(value); - this.SendPropertyChanging(); - this._WaterSpecification = value; - this.SendPropertyChanged("WaterSpecification"); - this.OnWaterSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationSpecification", DbType="NVarChar(50)")] - public string InstallationSpecification - { - get - { - return this._InstallationSpecification; - } - set - { - if ((this._InstallationSpecification != value)) - { - this.OnInstallationSpecificationChanging(value); - this.SendPropertyChanging(); - this._InstallationSpecification = value; - this.SendPropertyChanged("InstallationSpecification"); - this.OnInstallationSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComponentReinspection", DbType="Bit")] - public System.Nullable ComponentReinspection - { - get - { - return this._ComponentReinspection; - } - set - { - if ((this._ComponentReinspection != value)) - { - this.OnComponentReinspectionChanging(value); - this.SendPropertyChanging(); - this._ComponentReinspection = value; - this.SendPropertyChanged("ComponentReinspection"); - this.OnComponentReinspectionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkRecord", DbType="NVarChar(50)")] - public string WorkRecord - { - get - { - return this._WorkRecord; - } - set - { - if ((this._WorkRecord != value)) - { - this.OnWorkRecordChanging(value); - this.SendPropertyChanging(); - this._WorkRecord = value; - this.SendPropertyChanged("WorkRecord"); - this.OnWorkRecordChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTConform", DbType="NVarChar(50)")] - public string NDTConform - { - get - { - return this._NDTConform; - } - set - { - if ((this._NDTConform != value)) - { - this.OnNDTConformChanging(value); - this.SendPropertyChanging(); - this._NDTConform = value; - this.SendPropertyChanged("NDTConform"); - this.OnNDTConformChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotConform", DbType="NVarChar(50)")] - public string HotConform - { - get - { - return this._HotConform; - } - set - { - if ((this._HotConform != value)) - { - this.OnHotConformChanging(value); - this.SendPropertyChanging(); - this._HotConform = value; - this.SendPropertyChanged("HotConform"); - this.OnHotConformChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationCorrectness", DbType="NVarChar(50)")] - public string InstallationCorrectness - { - get - { - return this._InstallationCorrectness; - } - set - { - if ((this._InstallationCorrectness != value)) - { - this.OnInstallationCorrectnessChanging(value); - this.SendPropertyChanging(); - this._InstallationCorrectness = value; - this.SendPropertyChanged("InstallationCorrectness"); - this.OnInstallationCorrectnessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MarkClearly", DbType="NVarChar(50)")] - public string MarkClearly - { - get - { - return this._MarkClearly; - } - set - { - if ((this._MarkClearly != value)) - { - this.OnMarkClearlyChanging(value); - this.SendPropertyChanging(); - this._MarkClearly = value; - this.SendPropertyChanged("MarkClearly"); - this.OnMarkClearlyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsolationOpening", DbType="NVarChar(50)")] - public string IsolationOpening - { - get - { - return this._IsolationOpening; - } - set - { - if ((this._IsolationOpening != value)) - { - this.OnIsolationOpeningChanging(value); - this.SendPropertyChanging(); - this._IsolationOpening = value; - this.SendPropertyChanged("IsolationOpening"); - this.OnIsolationOpeningChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionPlanAsk", DbType="NVarChar(50)")] - public string ConstructionPlanAsk - { - get - { - return this._ConstructionPlanAsk; - } - set - { - if ((this._ConstructionPlanAsk != value)) - { - this.OnConstructionPlanAskChanging(value); - this.SendPropertyChanging(); - this._ConstructionPlanAsk = value; - this.SendPropertyChanged("ConstructionPlanAsk"); - this.OnConstructionPlanAskChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cover", DbType="NVarChar(50)")] - public string Cover - { - get - { - return this._Cover; - } - set - { - if ((this._Cover != value)) - { - this.OnCoverChanging(value); - this.SendPropertyChanging(); - this._Cover = value; - this.SendPropertyChanged("Cover"); - this.OnCoverChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MeetRequirements", DbType="NVarChar(50)")] - public string MeetRequirements - { - get - { - return this._MeetRequirements; - } - set - { - if ((this._MeetRequirements != value)) - { - this.OnMeetRequirementsChanging(value); - this.SendPropertyChanging(); - this._MeetRequirements = value; - this.SendPropertyChanged("MeetRequirements"); - this.OnMeetRequirementsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StainlessTestWater", DbType="Bit")] - public System.Nullable StainlessTestWater - { - get - { - return this._StainlessTestWater; - } - set - { - if ((this._StainlessTestWater != value)) - { - this.OnStainlessTestWaterChanging(value); - this.SendPropertyChanging(); - this._StainlessTestWater = value; - this.SendPropertyChanged("StainlessTestWater"); - this.OnStainlessTestWaterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_TP_TestPackage_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_TP_TestPackage.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_TP_TestPackage.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_TP_TestPackage_HJGL_TP_TestPackage", Storage="_PTP_", ThisKey="PTP_ID", OtherKey="PTP_ID", IsForeignKey=true)] - public HJGL_TP_TestPackage PTP_ - { - get - { - return this._PTP_.Entity; - } - set - { - HJGL_TP_TestPackage previousValue = this._PTP_.Entity; - if (((previousValue != value) - || (this._PTP_.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._PTP_.Entity = null; - previousValue.HJGL_TP_TestPackage_HJGL_TP_TestPackage = null; - } - this._PTP_.Entity = value; - if ((value != null)) - { - value.HJGL_TP_TestPackage_HJGL_TP_TestPackage = this; - this._PTP_ID = value.PTP_ID; - } - else - { - this._PTP_ID = default(string); - } - this.SendPropertyChanged("PTP_"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_TP_TestPackage_HJGL_TP_TestPackage", Storage="_HJGL_TP_TestPackage_HJGL_TP_TestPackage", ThisKey="PTP_ID", OtherKey="PTP_ID", IsUnique=true, IsForeignKey=false, DeleteRule="NO ACTION")] - public HJGL_TP_TestPackage HJGL_TP_TestPackage_HJGL_TP_TestPackage - { - get - { - return this._HJGL_TP_TestPackage_HJGL_TP_TestPackage.Entity; - } - set - { - HJGL_TP_TestPackage previousValue = this._HJGL_TP_TestPackage_HJGL_TP_TestPackage.Entity; - if (((previousValue != value) - || (this._HJGL_TP_TestPackage_HJGL_TP_TestPackage.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_TP_TestPackage_HJGL_TP_TestPackage.Entity = null; - previousValue.PTP_ = null; - } - this._HJGL_TP_TestPackage_HJGL_TP_TestPackage.Entity = value; - if ((value != null)) - { - value.PTP_ = this; - } - this.SendPropertyChanged("HJGL_TP_TestPackage_HJGL_TP_TestPackage"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_TP_TestPackage_Project_Installation", Storage="_Project_Installation", ThisKey="InstallationId", OtherKey="InstallationId", IsForeignKey=true)] - public Project_Installation Project_Installation - { - get - { - return this._Project_Installation.Entity; - } - set - { - Project_Installation previousValue = this._Project_Installation.Entity; - if (((previousValue != value) - || (this._Project_Installation.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Project_Installation.Entity = null; - previousValue.HJGL_TP_TestPackage.Remove(this); - } - this._Project_Installation.Entity = value; - if ((value != null)) - { - value.HJGL_TP_TestPackage.Add(this); - this._InstallationId = value.InstallationId; - } - else - { - this._InstallationId = default(string); - } - this.SendPropertyChanged("Project_Installation"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_UserDevice")] - public partial class HJGL_UserDevice : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _UserDeviceId; - - private string _ProjectId; - - private string _UserId; - - private string _MenuId; - - private string _TrustId; - - private System.Nullable _SelectTime; - - private System.Nullable _PushedDate; - - private string _PushContent; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnUserDeviceIdChanging(string value); - partial void OnUserDeviceIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnTrustIdChanging(string value); - partial void OnTrustIdChanged(); - partial void OnSelectTimeChanging(System.Nullable value); - partial void OnSelectTimeChanged(); - partial void OnPushedDateChanging(System.Nullable value); - partial void OnPushedDateChanged(); - partial void OnPushContentChanging(string value); - partial void OnPushContentChanged(); - #endregion - - public HJGL_UserDevice() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserDeviceId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string UserDeviceId - { - get - { - return this._UserDeviceId; - } - set - { - if ((this._UserDeviceId != value)) - { - this.OnUserDeviceIdChanging(value); - this.SendPropertyChanging(); - this._UserDeviceId = value; - this.SendPropertyChanged("UserDeviceId"); - this.OnUserDeviceIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustId", DbType="NVarChar(50)")] - public string TrustId - { - get - { - return this._TrustId; - } - set - { - if ((this._TrustId != value)) - { - this.OnTrustIdChanging(value); - this.SendPropertyChanging(); - this._TrustId = value; - this.SendPropertyChanged("TrustId"); - this.OnTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SelectTime", DbType="DateTime")] - public System.Nullable SelectTime - { - get - { - return this._SelectTime; - } - set - { - if ((this._SelectTime != value)) - { - this.OnSelectTimeChanging(value); - this.SendPropertyChanging(); - this._SelectTime = value; - this.SendPropertyChanged("SelectTime"); - this.OnSelectTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PushedDate", DbType="DateTime")] - public System.Nullable PushedDate - { - get - { - return this._PushedDate; - } - set - { - if ((this._PushedDate != value)) - { - this.OnPushedDateChanging(value); - this.SendPropertyChanging(); - this._PushedDate = value; - this.SendPropertyChanged("PushedDate"); - this.OnPushedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PushContent", DbType="NVarChar(500)")] - public string PushContent - { - get - { - return this._PushContent; - } - set - { - if ((this._PushContent != value)) - { - this.OnPushContentChanging(value); - this.SendPropertyChanging(); - this._PushContent = value; - this.SendPropertyChanged("PushContent"); - this.OnPushContentChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_V_JOINTVIEW")] - public partial class HJGL_V_JOINTVIEW - { - - private string _ProjectId; - - private string _WorkAreaId; - - private string _WorkAreaCode; - - private string _ISO_ISONO; - - private string _JOT_JointNo; - - private System.Nullable _JOT_Dia; - - private string _JOT_Sch; - - private System.Nullable _JOT_FactSch; - - private string _STE_NAME; - - private string _JOT_CellWelder; - - private string _JOT_FloorWelder; - - private string _WME_Name; - - private string _SER_NAME; - - private System.Nullable _JOT_WeldDate; - - private string _JOT_DailyReportNo; - - private string _CH_TRUSTCODE1; - - private string _IS_Proess; - - private System.Nullable _JOT_Size; - - private string _WMT_MatCode; - - private string _WMT_Matname; - - private string _HsCode; - - private string _Hsname; - - private string _JOT_JointDesc; - - public HJGL_V_JOINTVIEW() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(50)")] - public string WorkAreaId - { - get - { - return this._WorkAreaId; - } - set - { - if ((this._WorkAreaId != value)) - { - this._WorkAreaId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaCode", DbType="NVarChar(20)")] - public string WorkAreaCode - { - get - { - return this._WorkAreaCode; - } - set - { - if ((this._WorkAreaCode != value)) - { - this._WorkAreaCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ISONO", DbType="VarChar(50)")] - public string ISO_ISONO - { - get - { - return this._ISO_ISONO; - } - set - { - if ((this._ISO_ISONO != value)) - { - this._ISO_ISONO = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="VarChar(40)")] - public string JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this._JOT_Sch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_FactSch", DbType="Decimal(18,4)")] - public System.Nullable JOT_FactSch - { - get - { - return this._JOT_FactSch; - } - set - { - if ((this._JOT_FactSch != value)) - { - this._JOT_FactSch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_NAME", DbType="NVarChar(50)")] - public string STE_NAME - { - get - { - return this._STE_NAME; - } - set - { - if ((this._STE_NAME != value)) - { - this._STE_NAME = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_CellWelder", DbType="VarChar(20)")] - public string JOT_CellWelder - { - get - { - return this._JOT_CellWelder; - } - set - { - if ((this._JOT_CellWelder != value)) - { - this._JOT_CellWelder = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_FloorWelder", DbType="VarChar(20)")] - public string JOT_FloorWelder - { - get - { - return this._JOT_FloorWelder; - } - set - { - if ((this._JOT_FloorWelder != value)) - { - this._JOT_FloorWelder = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50)")] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this._WME_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_NAME", DbType="VarChar(80)")] - public string SER_NAME - { - get - { - return this._SER_NAME; - } - set - { - if ((this._SER_NAME != value)) - { - this._SER_NAME = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldDate", DbType="DateTime")] - public System.Nullable JOT_WeldDate - { - get - { - return this._JOT_WeldDate; - } - set - { - if ((this._JOT_WeldDate != value)) - { - this._JOT_WeldDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_DailyReportNo", DbType="VarChar(50)")] - public string JOT_DailyReportNo - { - get - { - return this._JOT_DailyReportNo; - } - set - { - if ((this._JOT_DailyReportNo != value)) - { - this._JOT_DailyReportNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TRUSTCODE1", DbType="VarChar(30)")] - public string CH_TRUSTCODE1 - { - get - { - return this._CH_TRUSTCODE1; - } - set - { - if ((this._CH_TRUSTCODE1 != value)) - { - this._CH_TRUSTCODE1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_Proess", DbType="Char(1)")] - public string IS_Proess - { - get - { - return this._IS_Proess; - } - set - { - if ((this._IS_Proess != value)) - { - this._IS_Proess = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Size", DbType="Decimal(19,2)")] - public System.Nullable JOT_Size - { - get - { - return this._JOT_Size; - } - set - { - if ((this._JOT_Size != value)) - { - this._JOT_Size = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatCode", DbType="VarChar(20)")] - public string WMT_MatCode - { - get - { - return this._WMT_MatCode; - } - set - { - if ((this._WMT_MatCode != value)) - { - this._WMT_MatCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_Matname", DbType="VarChar(50)")] - public string WMT_Matname - { - get - { - return this._WMT_Matname; - } - set - { - if ((this._WMT_Matname != value)) - { - this._WMT_Matname = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="hsCode", Storage="_HsCode", DbType="VarChar(20)")] - public string HsCode - { - get - { - return this._HsCode; - } - set - { - if ((this._HsCode != value)) - { - this._HsCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="hsname", Storage="_Hsname", DbType="VarChar(50)")] - public string Hsname - { - get - { - return this._Hsname; - } - set - { - if ((this._Hsname != value)) - { - this._Hsname = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_BatchDetail")] - public partial class HJGL_View_BatchDetail - { - - private string _BatchDetailId; - - private string _BatchId; - - private string _JOT_ID; - - private string _NDT; - - private string _PointType; - - private System.Nullable _PointDate; - - private string _JOT_JointNO; - - private string _JOT_JointAttribute; - - public HJGL_View_BatchDetail() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchDetailId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string BatchDetailId - { - get - { - return this._BatchDetailId; - } - set - { - if ((this._BatchDetailId != value)) - { - this._BatchDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT", DbType="NVarChar(300)")] - public string NDT - { - get - { - return this._NDT; - } - set - { - if ((this._NDT != value)) - { - this._NDT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointType", DbType="NChar(10)")] - public string PointType - { - get - { - return this._PointType; - } - set - { - if ((this._PointType != value)) - { - this._PointType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointDate", DbType="DateTime")] - public System.Nullable PointDate - { - get - { - return this._PointDate; - } - set - { - if ((this._PointDate != value)) - { - this._PointDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNO", DbType="VarChar(50)")] - public string JOT_JointNO - { - get - { - return this._JOT_JointNO; - } - set - { - if ((this._JOT_JointNO != value)) - { - this._JOT_JointNO = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointAttribute", DbType="VarChar(20)")] - public string JOT_JointAttribute - { - get - { - return this._JOT_JointAttribute; - } - set - { - if ((this._JOT_JointAttribute != value)) - { - this._JOT_JointAttribute = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_BatchTree")] - public partial class HJGL_View_BatchTree - { - - private string _BatchDetailId; - - private string _BatchId; - - private string _NDT; - - private string _ProjectId; - - private string _BatchCode; - - private System.Nullable _ReportFeedback; - - private string _Iso_IsoNo; - - private string _ISO_ID; - - public HJGL_View_BatchTree() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchDetailId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string BatchDetailId - { - get - { - return this._BatchDetailId; - } - set - { - if ((this._BatchDetailId != value)) - { - this._BatchDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT", DbType="NVarChar(300)")] - public string NDT - { - get - { - return this._NDT; - } - set - { - if ((this._NDT != value)) - { - this._NDT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportFeedback", DbType="DateTime")] - public System.Nullable ReportFeedback - { - get - { - return this._ReportFeedback; - } - set - { - if ((this._ReportFeedback != value)) - { - this._ReportFeedback = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Iso_IsoNo", DbType="VarChar(50)")] - public string Iso_IsoNo - { - get - { - return this._Iso_IsoNo; - } - set - { - if ((this._Iso_IsoNo != value)) - { - this._Iso_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CH_HardTestReport")] - public partial class HJGL_View_CH_HardTestReport - { - - private string _HardTestReportId; - - private string _ProjectId; - - private string _HardTestReportCode; - - private string _ISO_ID; - - private string _STE_ID; - - private string _HotHardCode; - - private string _TrustUnitId; - - private System.Nullable _TestDate; - - private string _InstrumentType; - - private string _EquipmentId; - - private string _TestStandard; - - private string _AuditMan; - - private string _TestMan; - - private string _ProjectName; - - private string _ContractUnit; - - private string _HotProessState; - - private string _SurfaceAppearance; - - private string _TestMethod; - - private string _MaterialStandard; - - private string _TestRate; - - private System.Nullable _TestCount; - - private string _ProjectCode; - - private string _ISO_IsoNo; - - private System.Nullable _IsPrintTrust; - - private System.Nullable _IsPrintReport; - - private string _STE_Code; - - private string _UnitName; - - private string _EquipmentName; - - public HJGL_View_CH_HardTestReport() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string HardTestReportId - { - get - { - return this._HardTestReportId; - } - set - { - if ((this._HardTestReportId != value)) - { - this._HardTestReportId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportCode", DbType="NVarChar(50)")] - public string HardTestReportCode - { - get - { - return this._HardTestReportCode; - } - set - { - if ((this._HardTestReportCode != value)) - { - this._HardTestReportCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this._STE_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotHardCode", DbType="NVarChar(50)")] - public string HotHardCode - { - get - { - return this._HotHardCode; - } - set - { - if ((this._HotHardCode != value)) - { - this._HotHardCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustUnitId", DbType="NVarChar(50)")] - public string TrustUnitId - { - get - { - return this._TrustUnitId; - } - set - { - if ((this._TrustUnitId != value)) - { - this._TrustUnitId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestDate", DbType="DateTime")] - public System.Nullable TestDate - { - get - { - return this._TestDate; - } - set - { - if ((this._TestDate != value)) - { - this._TestDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstrumentType", DbType="NVarChar(50)")] - public string InstrumentType - { - get - { - return this._InstrumentType; - } - set - { - if ((this._InstrumentType != value)) - { - this._InstrumentType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="NVarChar(50)")] - public string EquipmentId - { - get - { - return this._EquipmentId; - } - set - { - if ((this._EquipmentId != value)) - { - this._EquipmentId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestStandard", DbType="NVarChar(50)")] - public string TestStandard - { - get - { - return this._TestStandard; - } - set - { - if ((this._TestStandard != value)) - { - this._TestStandard = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")] - public string AuditMan - { - get - { - return this._AuditMan; - } - set - { - if ((this._AuditMan != value)) - { - this._AuditMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestMan", DbType="NVarChar(50)")] - public string TestMan - { - get - { - return this._TestMan; - } - set - { - if ((this._TestMan != value)) - { - this._TestMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this._ProjectName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractUnit", DbType="NVarChar(50)")] - public string ContractUnit - { - get - { - return this._ContractUnit; - } - set - { - if ((this._ContractUnit != value)) - { - this._ContractUnit = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessState", DbType="NVarChar(50)")] - public string HotProessState - { - get - { - return this._HotProessState; - } - set - { - if ((this._HotProessState != value)) - { - this._HotProessState = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SurfaceAppearance", DbType="NVarChar(50)")] - public string SurfaceAppearance - { - get - { - return this._SurfaceAppearance; - } - set - { - if ((this._SurfaceAppearance != value)) - { - this._SurfaceAppearance = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestMethod", DbType="NVarChar(50)")] - public string TestMethod - { - get - { - return this._TestMethod; - } - set - { - if ((this._TestMethod != value)) - { - this._TestMethod = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandard", DbType="NVarChar(50)")] - public string MaterialStandard - { - get - { - return this._MaterialStandard; - } - set - { - if ((this._MaterialStandard != value)) - { - this._MaterialStandard = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestRate", DbType="NVarChar(50)")] - public string TestRate - { - get - { - return this._TestRate; - } - set - { - if ((this._TestRate != value)) - { - this._TestRate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestCount", DbType="Int")] - public System.Nullable TestCount - { - get - { - return this._TestCount; - } - set - { - if ((this._TestCount != value)) - { - this._TestCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrintTrust", DbType="Bit")] - public System.Nullable IsPrintTrust - { - get - { - return this._IsPrintTrust; - } - set - { - if ((this._IsPrintTrust != value)) - { - this._IsPrintTrust = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrintReport", DbType="Bit")] - public System.Nullable IsPrintReport - { - get - { - return this._IsPrintReport; - } - set - { - if ((this._IsPrintReport != value)) - { - this._IsPrintReport = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(50)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentName", DbType="NVarChar(50)")] - public string EquipmentName - { - get - { - return this._EquipmentName; - } - set - { - if ((this._EquipmentName != value)) - { - this._EquipmentName = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CH_HardTestReportItem")] - public partial class HJGL_View_CH_HardTestReportItem - { - - private string _HardTestReportItemId; - - private string _HardTestReportId; - - private string _JOT_ID; - - private string _TestPart; - - private System.Nullable _HardNessValue1; - - private System.Nullable _HardNessValue2; - - private System.Nullable _HardNessValue3; - - private System.Nullable _IsShow; - - private string _ISO_ID; - - private string _ISO_IsoNo; - - private string _Sort1; - - private System.Nullable _Sort2; - - private string _Sort3; - - private System.Nullable _Sort4; - - private System.Nullable _Sort5; - - private string _HotProessTrustId; - - private System.Nullable _SortIndex; - - private string _JOT_JointNo; - - private string _Remark; - - private System.Nullable _Flag; - - private string _JOT_JointDesc; - - private string _JOT_JointNoStr; - - private string _ProjectId; - - private string _ProjectCode; - - private string _ProjectName; - - private string _FileType; - - private string _HotHardCode; - - private string _THardTestReportId; - - private string _HardTestReportCode; - - private string _STE_Code; - - public HJGL_View_CH_HardTestReportItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportItemId", DbType="NVarChar(50)")] - public string HardTestReportItemId - { - get - { - return this._HardTestReportItemId; - } - set - { - if ((this._HardTestReportItemId != value)) - { - this._HardTestReportItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportId", DbType="NVarChar(50)")] - public string HardTestReportId - { - get - { - return this._HardTestReportId; - } - set - { - if ((this._HardTestReportId != value)) - { - this._HardTestReportId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPart", DbType="NVarChar(50)")] - public string TestPart - { - get - { - return this._TestPart; - } - set - { - if ((this._TestPart != value)) - { - this._TestPart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue1", DbType="Int")] - public System.Nullable HardNessValue1 - { - get - { - return this._HardNessValue1; - } - set - { - if ((this._HardNessValue1 != value)) - { - this._HardNessValue1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue2", DbType="Int")] - public System.Nullable HardNessValue2 - { - get - { - return this._HardNessValue2; - } - set - { - if ((this._HardNessValue2 != value)) - { - this._HardNessValue2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue3", DbType="Int")] - public System.Nullable HardNessValue3 - { - get - { - return this._HardNessValue3; - } - set - { - if ((this._HardNessValue3 != value)) - { - this._HardNessValue3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsShow", DbType="Bit")] - public System.Nullable IsShow - { - get - { - return this._IsShow; - } - set - { - if ((this._IsShow != value)) - { - this._IsShow = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort1", DbType="VarChar(10)")] - public string Sort1 - { - get - { - return this._Sort1; - } - set - { - if ((this._Sort1 != value)) - { - this._Sort1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort2", DbType="Int")] - public System.Nullable Sort2 - { - get - { - return this._Sort2; - } - set - { - if ((this._Sort2 != value)) - { - this._Sort2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort3", DbType="VarChar(10)")] - public string Sort3 - { - get - { - return this._Sort3; - } - set - { - if ((this._Sort3 != value)) - { - this._Sort3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort4", DbType="Int")] - public System.Nullable Sort4 - { - get - { - return this._Sort4; - } - set - { - if ((this._Sort4 != value)) - { - this._Sort4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort5", DbType="Int")] - public System.Nullable Sort5 - { - get - { - return this._Sort5; - } - set - { - if ((this._Sort5 != value)) - { - this._Sort5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this._HotProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this._SortIndex = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="NVarChar(110) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Int")] - public System.Nullable Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this._Flag = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNoStr", DbType="NVarChar(212)")] - public string JOT_JointNoStr - { - get - { - return this._JOT_JointNoStr; - } - set - { - if ((this._JOT_JointNoStr != value)) - { - this._JOT_JointNoStr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this._ProjectName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileType", DbType="Char(1)")] - public string FileType - { - get - { - return this._FileType; - } - set - { - if ((this._FileType != value)) - { - this._FileType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotHardCode", DbType="NVarChar(50)")] - public string HotHardCode - { - get - { - return this._HotHardCode; - } - set - { - if ((this._HotHardCode != value)) - { - this._HotHardCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_THardTestReportId", DbType="NVarChar(50)")] - public string THardTestReportId - { - get - { - return this._THardTestReportId; - } - set - { - if ((this._THardTestReportId != value)) - { - this._THardTestReportId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportCode", DbType="NVarChar(50)")] - public string HardTestReportCode - { - get - { - return this._HardTestReportCode; - } - set - { - if ((this._HardTestReportCode != value)) - { - this._HardTestReportCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CH_HardTestReportItemSet")] - public partial class HJGL_View_CH_HardTestReportItemSet - { - - private string _HardTestReportItemId; - - private string _HardTestReportItemId2; - - private string _HardTestReportItemId3; - - private string _HardTestReportId; - - private string _JOT_ID; - - private string _TestPart; - - private System.Nullable _HardNessValue1; - - private System.Nullable _HardNessValue2; - - private System.Nullable _HardNessValue3; - - private System.Nullable _IsShow; - - private string _ISO_ID; - - private string _ISO_IsoNo; - - private string _HotProessTrustId; - - private System.Nullable _SortIndex; - - private string _JOT_JointNo; - - private string _Remark; - - private System.Nullable _Flag; - - private string _Sort1; - - private System.Nullable _Sort2; - - private string _Sort3; - - private System.Nullable _Sort4; - - private System.Nullable _Sort5; - - private string _JOT_JointDesc; - - private string _JOT_JointNoStr; - - private string _ProjectId; - - private string _ProjectCode; - - private string _ProjectName; - - private System.Nullable _HardTrustDate; - - private string _STE_Code; - - public HJGL_View_CH_HardTestReportItemSet() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportItemId", DbType="NVarChar(50)")] - public string HardTestReportItemId - { - get - { - return this._HardTestReportItemId; - } - set - { - if ((this._HardTestReportItemId != value)) - { - this._HardTestReportItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportItemId2", DbType="NVarChar(50)")] - public string HardTestReportItemId2 - { - get - { - return this._HardTestReportItemId2; - } - set - { - if ((this._HardTestReportItemId2 != value)) - { - this._HardTestReportItemId2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportItemId3", DbType="NVarChar(50)")] - public string HardTestReportItemId3 - { - get - { - return this._HardTestReportItemId3; - } - set - { - if ((this._HardTestReportItemId3 != value)) - { - this._HardTestReportItemId3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportId", DbType="NVarChar(50)")] - public string HardTestReportId - { - get - { - return this._HardTestReportId; - } - set - { - if ((this._HardTestReportId != value)) - { - this._HardTestReportId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPart", DbType="NVarChar(50)")] - public string TestPart - { - get - { - return this._TestPart; - } - set - { - if ((this._TestPart != value)) - { - this._TestPart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue1", DbType="Int")] - public System.Nullable HardNessValue1 - { - get - { - return this._HardNessValue1; - } - set - { - if ((this._HardNessValue1 != value)) - { - this._HardNessValue1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue2", DbType="Int")] - public System.Nullable HardNessValue2 - { - get - { - return this._HardNessValue2; - } - set - { - if ((this._HardNessValue2 != value)) - { - this._HardNessValue2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardNessValue3", DbType="Int")] - public System.Nullable HardNessValue3 - { - get - { - return this._HardNessValue3; - } - set - { - if ((this._HardNessValue3 != value)) - { - this._HardNessValue3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsShow", DbType="Bit")] - public System.Nullable IsShow - { - get - { - return this._IsShow; - } - set - { - if ((this._IsShow != value)) - { - this._IsShow = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this._HotProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this._SortIndex = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="NVarChar(110) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Int")] - public System.Nullable Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this._Flag = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort1", DbType="VarChar(10)")] - public string Sort1 - { - get - { - return this._Sort1; - } - set - { - if ((this._Sort1 != value)) - { - this._Sort1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort2", DbType="Int")] - public System.Nullable Sort2 - { - get - { - return this._Sort2; - } - set - { - if ((this._Sort2 != value)) - { - this._Sort2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort3", DbType="VarChar(10)")] - public string Sort3 - { - get - { - return this._Sort3; - } - set - { - if ((this._Sort3 != value)) - { - this._Sort3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort4", DbType="Int")] - public System.Nullable Sort4 - { - get - { - return this._Sort4; - } - set - { - if ((this._Sort4 != value)) - { - this._Sort4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort5", DbType="Int")] - public System.Nullable Sort5 - { - get - { - return this._Sort5; - } - set - { - if ((this._Sort5 != value)) - { - this._Sort5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNoStr", DbType="NVarChar(212)")] - public string JOT_JointNoStr - { - get - { - return this._JOT_JointNoStr; - } - set - { - if ((this._JOT_JointNoStr != value)) - { - this._JOT_JointNoStr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this._ProjectName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTrustDate", DbType="DateTime")] - public System.Nullable HardTrustDate - { - get - { - return this._HardTrustDate; - } - set - { - if ((this._HardTrustDate != value)) - { - this._HardTrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CH_HardTestResult")] - public partial class HJGL_View_CH_HardTestResult - { - - private string _ProjectId; - - private string _BSU_ID; - - private string _ISO_IsoNo; - - private string _ISO_ID; - - private string _JOT_ID; - - private string _Sort1; - - private System.Nullable _Sort2; - - private string _Sort3; - - private System.Nullable _Sort4; - - private System.Nullable _Sort5; - - private string _JOT_JointDesc; - - private string _JOT_JointNo; - - private string _HardTestReportId; - - private System.Nullable _ResultDate; - - private System.Nullable _IsOK; - - private System.Nullable _CannotCheck; - - private string _Remark; - - private System.Nullable _IsOK1; - - private System.Nullable _IsOK2; - - public HJGL_View_CH_HardTestResult() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BSU_ID", DbType="NVarChar(50)")] - public string BSU_ID - { - get - { - return this._BSU_ID; - } - set - { - if ((this._BSU_ID != value)) - { - this._BSU_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort1", DbType="VarChar(10)")] - public string Sort1 - { - get - { - return this._Sort1; - } - set - { - if ((this._Sort1 != value)) - { - this._Sort1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort2", DbType="Int")] - public System.Nullable Sort2 - { - get - { - return this._Sort2; - } - set - { - if ((this._Sort2 != value)) - { - this._Sort2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort3", DbType="VarChar(10)")] - public string Sort3 - { - get - { - return this._Sort3; - } - set - { - if ((this._Sort3 != value)) - { - this._Sort3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort4", DbType="Int")] - public System.Nullable Sort4 - { - get - { - return this._Sort4; - } - set - { - if ((this._Sort4 != value)) - { - this._Sort4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort5", DbType="Int")] - public System.Nullable Sort5 - { - get - { - return this._Sort5; - } - set - { - if ((this._Sort5 != value)) - { - this._Sort5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="NVarChar(110) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestReportId", DbType="NVarChar(50)")] - public string HardTestReportId - { - get - { - return this._HardTestReportId; - } - set - { - if ((this._HardTestReportId != value)) - { - this._HardTestReportId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResultDate", DbType="DateTime")] - public System.Nullable ResultDate - { - get - { - return this._ResultDate; - } - set - { - if ((this._ResultDate != value)) - { - this._ResultDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Bit")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this._IsOK = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CannotCheck", DbType="Bit")] - public System.Nullable CannotCheck - { - get - { - return this._CannotCheck; - } - set - { - if ((this._CannotCheck != value)) - { - this._CannotCheck = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK1", DbType="Int")] - public System.Nullable IsOK1 - { - get - { - return this._IsOK1; - } - set - { - if ((this._IsOK1 != value)) - { - this._IsOK1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK2", DbType="Int")] - public System.Nullable IsOK2 - { - get - { - return this._IsOK2; - } - set - { - if ((this._IsOK2 != value)) - { - this._IsOK2 = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CH_HotProessResult")] - public partial class HJGL_View_CH_HotProessResult - { - - private string _ProjectId; - - private string _HotProessTrustItemId; - - private string _ProjectCode; - - private string _BSU_ID; - - private string _ISO_IsoNo; - - private string _ISO_ID; - - private string _JOT_ID; - - private string _STE_Code; - - private System.Nullable _JOT_Dia; - - private string _JOT_Sch; - - private string _JOT_JointNo; - - private System.Nullable _TrustDate; - - private string _HotProessResultId; - - private string _HotProessTrustId; - - private string _ProessTypes; - - private System.Nullable _IsNeedHardTest; - - private string _Remark; - - private string _RecordChartNo; - - private string _HotProessItemRemark; - - private System.Nullable _IsOK; - - private System.Nullable _HardTestDate; - - public HJGL_View_CH_HotProessResult() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this._HotProessTrustItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BSU_ID", DbType="NVarChar(50)")] - public string BSU_ID - { - get - { - return this._BSU_ID; - } - set - { - if ((this._BSU_ID != value)) - { - this._BSU_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="VarChar(40)")] - public string JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this._JOT_Sch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="NVarChar(110)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustDate", DbType="DateTime")] - public System.Nullable TrustDate - { - get - { - return this._TrustDate; - } - set - { - if ((this._TrustDate != value)) - { - this._TrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessResultId", DbType="NVarChar(50)")] - public string HotProessResultId - { - get - { - return this._HotProessResultId; - } - set - { - if ((this._HotProessResultId != value)) - { - this._HotProessResultId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this._HotProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="NVarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this._ProessTypes = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNeedHardTest", DbType="Bit")] - public System.Nullable IsNeedHardTest - { - get - { - return this._IsNeedHardTest; - } - set - { - if ((this._IsNeedHardTest != value)) - { - this._IsNeedHardTest = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordChartNo", DbType="VarChar(20)")] - public string RecordChartNo - { - get - { - return this._RecordChartNo; - } - set - { - if ((this._RecordChartNo != value)) - { - this._RecordChartNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessItemRemark", DbType="NVarChar(500)")] - public string HotProessItemRemark - { - get - { - return this._HotProessItemRemark; - } - set - { - if ((this._HotProessItemRemark != value)) - { - this._HotProessItemRemark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Bit")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this._IsOK = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestDate", DbType="DateTime")] - public System.Nullable HardTestDate - { - get - { - return this._HardTestDate; - } - set - { - if ((this._HardTestDate != value)) - { - this._HardTestDate = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CH_HotProessTrustItem")] - public partial class HJGL_View_CH_HotProessTrustItem - { - - private string _HotProessTrustItemId; - - private string _HotProessTrustId; - - private string _JOT_ID; - - private System.Nullable _TrustDate; - - private string _NewJotId; - - private string _ISO_IsoNo; - - private string _ISO_ID; - - private string _JOT_JointNo; - - private string _DReportID; - - private System.Nullable _JOT_WeldDate; - - private string _Remark; - - private string _TrustItemID; - - private string _HardTestResultId; - - private string _HardRepairMark; - - private System.Nullable _IsComplete; - - private string _IsOKStr; - - private string _IsOKStr2; - - private string _ProessTypes; - - private string _JOT_JointDesc; - - private string _ProjectId; - - private string _WME_Code; - - private string _WED_Code; - - private string _STE_Code; - - private System.Nullable _IsOK; - - public HJGL_View_CH_HotProessTrustItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="NVarChar(50)")] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this._HotProessTrustItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this._HotProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustDate", DbType="DateTime")] - public System.Nullable TrustDate - { - get - { - return this._TrustDate; - } - set - { - if ((this._TrustDate != value)) - { - this._TrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NewJotId", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string NewJotId - { - get - { - return this._NewJotId; - } - set - { - if ((this._NewJotId != value)) - { - this._NewJotId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="NVarChar(110)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this._DReportID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldDate", DbType="DateTime")] - public System.Nullable JOT_WeldDate - { - get - { - return this._JOT_WeldDate; - } - set - { - if ((this._JOT_WeldDate != value)) - { - this._JOT_WeldDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustItemID", DbType="VarChar(50)")] - public string TrustItemID - { - get - { - return this._TrustItemID; - } - set - { - if ((this._TrustItemID != value)) - { - this._TrustItemID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestResultId", DbType="NVarChar(50)")] - public string HardTestResultId - { - get - { - return this._HardTestResultId; - } - set - { - if ((this._HardTestResultId != value)) - { - this._HardTestResultId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardRepairMark", DbType="NVarChar(10)")] - public string HardRepairMark - { - get - { - return this._HardRepairMark; - } - set - { - if ((this._HardRepairMark != value)) - { - this._HardRepairMark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsComplete", DbType="Bit")] - public System.Nullable IsComplete - { - get - { - return this._IsComplete; - } - set - { - if ((this._IsComplete != value)) - { - this._IsComplete = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOKStr", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string IsOKStr - { - get - { - return this._IsOKStr; - } - set - { - if ((this._IsOKStr != value)) - { - this._IsOKStr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOKStr2", DbType="VarChar(6) NOT NULL", CanBeNull=false)] - public string IsOKStr2 - { - get - { - return this._IsOKStr2; - } - set - { - if ((this._IsOKStr2 != value)) - { - this._IsOKStr2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="NVarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this._ProessTypes = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Code", DbType="VarChar(20)")] - public string WME_Code - { - get - { - return this._WME_Code; - } - set - { - if ((this._WME_Code != value)) - { - this._WME_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="VarChar(41)")] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Bit")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this._IsOK = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CH_RepairItemRecord")] - public partial class HJGL_View_CH_RepairItemRecord - { - - private string _RepairItemRecordId; - - private string _ProjectId; - - private string _ISO_ID; - - private string _JOT_ID; - - private string _FilmNum; - - private string _TrustItemID; - - private string _BatchId; - - private string _RepairMark; - - private string _DefectNature; - - private System.Nullable _IsWeld; - - private string _JOT_CellWelder; - - private string _JOT_FloorWelder; - - private System.Nullable _WeldDate; - - private string _ConstructionPerson; - - private System.Nullable _ConfirmDate; - - private System.Nullable _FeedbackDate; - - private string _NDT_ID; - - private System.Nullable _IsPrint; - - private string _PrintMan; - - private System.Nullable _PrintDate; - - private string _TrustRemark; - - private string _ProjectCode; - - private string _ISO_IsoNo; - - private string _JOT_JointNo; - - private string _IsWeldStr; - - private string _WME_Name; - - private string _STE_Code; - - private System.Nullable _JOT_Dia; - - private System.Nullable _JOT_PrepareTemp; - - private string _CellWelderCode; - - private string _FloorWelderCode; - - private string _BatchCode; - - private string _ExtendedNum; - - private string _CheckPlace; - - private string _Remark; - - private string _CheckPerson; - - private System.Nullable _RepairTrustDate; - - private string _CH_RepairNo; - - public HJGL_View_CH_RepairItemRecord() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairItemRecordId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string RepairItemRecordId - { - get - { - return this._RepairItemRecordId; - } - set - { - if ((this._RepairItemRecordId != value)) - { - this._RepairItemRecordId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmNum", DbType="NVarChar(50)")] - public string FilmNum - { - get - { - return this._FilmNum; - } - set - { - if ((this._FilmNum != value)) - { - this._FilmNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustItemID", DbType="VarChar(50)")] - public string TrustItemID - { - get - { - return this._TrustItemID; - } - set - { - if ((this._TrustItemID != value)) - { - this._TrustItemID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairMark", DbType="NVarChar(50)")] - public string RepairMark - { - get - { - return this._RepairMark; - } - set - { - if ((this._RepairMark != value)) - { - this._RepairMark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(50)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this._DefectNature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsWeld", DbType="Bit")] - public System.Nullable IsWeld - { - get - { - return this._IsWeld; - } - set - { - if ((this._IsWeld != value)) - { - this._IsWeld = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_CellWelder", DbType="NVarChar(50)")] - public string JOT_CellWelder - { - get - { - return this._JOT_CellWelder; - } - set - { - if ((this._JOT_CellWelder != value)) - { - this._JOT_CellWelder = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_FloorWelder", DbType="NVarChar(50)")] - public string JOT_FloorWelder - { - get - { - return this._JOT_FloorWelder; - } - set - { - if ((this._JOT_FloorWelder != value)) - { - this._JOT_FloorWelder = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldDate", DbType="DateTime")] - public System.Nullable WeldDate - { - get - { - return this._WeldDate; - } - set - { - if ((this._WeldDate != value)) - { - this._WeldDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionPerson", DbType="NVarChar(50)")] - public string ConstructionPerson - { - get - { - return this._ConstructionPerson; - } - set - { - if ((this._ConstructionPerson != value)) - { - this._ConstructionPerson = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConfirmDate", DbType="DateTime")] - public System.Nullable ConfirmDate - { - get - { - return this._ConfirmDate; - } - set - { - if ((this._ConfirmDate != value)) - { - this._ConfirmDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackDate", DbType="DateTime")] - public System.Nullable FeedbackDate - { - get - { - return this._FeedbackDate; - } - set - { - if ((this._FeedbackDate != value)) - { - this._FeedbackDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_ID", DbType="VarChar(50)")] - public string NDT_ID - { - get - { - return this._NDT_ID; - } - set - { - if ((this._NDT_ID != value)) - { - this._NDT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this._IsPrint = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintMan", DbType="NVarChar(50)")] - public string PrintMan - { - get - { - return this._PrintMan; - } - set - { - if ((this._PrintMan != value)) - { - this._PrintMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintDate", DbType="DateTime")] - public System.Nullable PrintDate - { - get - { - return this._PrintDate; - } - set - { - if ((this._PrintDate != value)) - { - this._PrintDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustRemark", DbType="NVarChar(50)")] - public string TrustRemark - { - get - { - return this._TrustRemark; - } - set - { - if ((this._TrustRemark != value)) - { - this._TrustRemark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsWeldStr", DbType="VarChar(5) NOT NULL", CanBeNull=false)] - public string IsWeldStr - { - get - { - return this._IsWeldStr; - } - set - { - if ((this._IsWeldStr != value)) - { - this._IsWeldStr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50)")] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this._WME_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(50)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Float")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_PrepareTemp", DbType="Decimal(18,4)")] - public System.Nullable JOT_PrepareTemp - { - get - { - return this._JOT_PrepareTemp; - } - set - { - if ((this._JOT_PrepareTemp != value)) - { - this._JOT_PrepareTemp = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CellWelderCode", DbType="VarChar(20)")] - public string CellWelderCode - { - get - { - return this._CellWelderCode; - } - set - { - if ((this._CellWelderCode != value)) - { - this._CellWelderCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FloorWelderCode", DbType="VarChar(20)")] - public string FloorWelderCode - { - get - { - return this._FloorWelderCode; - } - set - { - if ((this._FloorWelderCode != value)) - { - this._FloorWelderCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExtendedNum", DbType="Char(10)")] - public string ExtendedNum - { - get - { - return this._ExtendedNum; - } - set - { - if ((this._ExtendedNum != value)) - { - this._ExtendedNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckPlace", DbType="NVarChar(50)")] - public string CheckPlace - { - get - { - return this._CheckPlace; - } - set - { - if ((this._CheckPlace != value)) - { - this._CheckPlace = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckPerson", DbType="NVarChar(50)")] - public string CheckPerson - { - get - { - return this._CheckPerson; - } - set - { - if ((this._CheckPerson != value)) - { - this._CheckPerson = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairTrustDate", DbType="DateTime")] - public System.Nullable RepairTrustDate - { - get - { - return this._RepairTrustDate; - } - set - { - if ((this._RepairTrustDate != value)) - { - this._RepairTrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_RepairNo", DbType="VarChar(50)")] - public string CH_RepairNo - { - get - { - return this._CH_RepairNo; - } - set - { - if ((this._CH_RepairNo != value)) - { - this._CH_RepairNo = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CH_TrustItem")] - public partial class HJGL_View_CH_TrustItem - { - - private string _CH_TrustItemID; - - private string _CH_TrustID; - - private string _JOT_ID; - - private string _BAW_ID; - - private string _InstallationId; - - private string _InstallationName; - - private string _CH_TrustType; - - private System.Nullable _CH_TrustDate; - - private string _ISO_IsoNo; - - private string _JOT_JointNo; - - private string _CH_Remark; - - private System.Nullable _JOT_Dia; - - private string _JOT_Sch; - - private string _WLO_Code; - - private string _WME_Name; - - private string _ProjectId; - - private string _WME_ID; - - private string _JOT_JointStatus; - - public HJGL_View_CH_TrustItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustItemID", DbType="VarChar(50)")] - public string CH_TrustItemID - { - get - { - return this._CH_TrustItemID; - } - set - { - if ((this._CH_TrustItemID != value)) - { - this._CH_TrustItemID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustID", DbType="VarChar(50)")] - public string CH_TrustID - { - get - { - return this._CH_TrustID; - } - set - { - if ((this._CH_TrustID != value)) - { - this._CH_TrustID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BAW_ID", DbType="NVarChar(50)")] - public string BAW_ID - { - get - { - return this._BAW_ID; - } - set - { - if ((this._BAW_ID != value)) - { - this._BAW_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this._InstallationId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationName", DbType="NVarChar(50)")] - public string InstallationName - { - get - { - return this._InstallationName; - } - set - { - if ((this._InstallationName != value)) - { - this._InstallationName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustType", DbType="Char(2)")] - public string CH_TrustType - { - get - { - return this._CH_TrustType; - } - set - { - if ((this._CH_TrustType != value)) - { - this._CH_TrustType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustDate", DbType="DateTime")] - public System.Nullable CH_TrustDate - { - get - { - return this._CH_TrustDate; - } - set - { - if ((this._CH_TrustDate != value)) - { - this._CH_TrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_Remark", DbType="VarChar(100)")] - public string CH_Remark - { - get - { - return this._CH_Remark; - } - set - { - if ((this._CH_Remark != value)) - { - this._CH_Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,2)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="VarChar(40)")] - public string JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this._JOT_Sch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WLO_Code", DbType="VarChar(20)")] - public string WLO_Code - { - get - { - return this._WLO_Code; - } - set - { - if ((this._WLO_Code != value)) - { - this._WLO_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50)")] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this._WME_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - this._WME_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointStatus", DbType="VarChar(20)")] - public string JOT_JointStatus - { - get - { - return this._JOT_JointStatus; - } - set - { - if ((this._JOT_JointStatus != value)) - { - this._JOT_JointStatus = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CheckResult")] - public partial class HJGL_View_CheckResult - { - - private string _CH_TrustItemID; - - private string _ProjectId; - - private string _BatchId; - - private string _ISC_ID; - - private string _SER_ID; - - private string _STE_ID; - - private string _JOTY_Group; - - private string _States; - - private string _SysType; - - private string _JOT_ID; - - private System.Nullable _JOT_Dia; - - public HJGL_View_CheckResult() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustItemID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string CH_TrustItemID - { - get - { - return this._CH_TrustItemID; - } - set - { - if ((this._CH_TrustItemID != value)) - { - this._CH_TrustItemID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_ID", DbType="VarChar(50)")] - public string ISC_ID - { - get - { - return this._ISC_ID; - } - set - { - if ((this._ISC_ID != value)) - { - this._ISC_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_ID", DbType="VarChar(50)")] - public string SER_ID - { - get - { - return this._SER_ID; - } - set - { - if ((this._SER_ID != value)) - { - this._SER_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this._STE_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Group", DbType="NChar(1)")] - public string JOTY_Group - { - get - { - return this._JOTY_Group; - } - set - { - if ((this._JOTY_Group != value)) - { - this._JOTY_Group = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_States", DbType="NChar(1)")] - public string States - { - get - { - return this._States; - } - set - { - if ((this._States != value)) - { - this._States = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SysType", DbType="VarChar(50)")] - public string SysType - { - get - { - return this._SysType; - } - set - { - if ((this._SysType != value)) - { - this._SysType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CheckResultSummary")] - public partial class HJGL_View_CheckResultSummary - { - - private string _BatchDetailId; - - private string _ProjectId; - - private string _BatchCode; - - private string _ISO_IsoNo; - - private string _JOT_JointNo; - - private string _Sort1; - - private System.Nullable _Sort2; - - private string _Sort3; - - private System.Nullable _Sort4; - - private System.Nullable _Sort5; - - private string _ISO_ID; - - private string _JOT_JointDesc; - - private string _BatchId; - - private string _NDT; - - private string _WED_Code; - - private string _ISC_ID; - - private string _SER_ID; - - private string _STE_ID; - - private string _JOTY_Group; - - private System.Nullable _JOT_Dia; - - private string _RTReport; - - private string _RT; - - private string _UTReport; - - private string _UT; - - private string _MTReport; - - private string _MT; - - private string _PTReport; - - private string _PT; - - public HJGL_View_CheckResultSummary() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchDetailId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string BatchDetailId - { - get - { - return this._BatchDetailId; - } - set - { - if ((this._BatchDetailId != value)) - { - this._BatchDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort1", DbType="VarChar(10)")] - public string Sort1 - { - get - { - return this._Sort1; - } - set - { - if ((this._Sort1 != value)) - { - this._Sort1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort2", DbType="Int")] - public System.Nullable Sort2 - { - get - { - return this._Sort2; - } - set - { - if ((this._Sort2 != value)) - { - this._Sort2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort3", DbType="VarChar(10)")] - public string Sort3 - { - get - { - return this._Sort3; - } - set - { - if ((this._Sort3 != value)) - { - this._Sort3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort4", DbType="Int")] - public System.Nullable Sort4 - { - get - { - return this._Sort4; - } - set - { - if ((this._Sort4 != value)) - { - this._Sort4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort5", DbType="Int")] - public System.Nullable Sort5 - { - get - { - return this._Sort5; - } - set - { - if ((this._Sort5 != value)) - { - this._Sort5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT", DbType="NVarChar(300)")] - public string NDT - { - get - { - return this._NDT; - } - set - { - if ((this._NDT != value)) - { - this._NDT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="NVarChar(41) NOT NULL", CanBeNull=false)] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_ID", DbType="VarChar(50)")] - public string ISC_ID - { - get - { - return this._ISC_ID; - } - set - { - if ((this._ISC_ID != value)) - { - this._ISC_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_ID", DbType="VarChar(50)")] - public string SER_ID - { - get - { - return this._SER_ID; - } - set - { - if ((this._SER_ID != value)) - { - this._SER_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this._STE_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Group", DbType="NChar(1)")] - public string JOTY_Group - { - get - { - return this._JOTY_Group; - } - set - { - if ((this._JOTY_Group != value)) - { - this._JOTY_Group = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RTReport", DbType="NVarChar(50)")] - public string RTReport - { - get - { - return this._RTReport; - } - set - { - if ((this._RTReport != value)) - { - this._RTReport = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT", DbType="NChar(1)")] - public string RT - { - get - { - return this._RT; - } - set - { - if ((this._RT != value)) - { - this._RT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UTReport", DbType="NVarChar(50)")] - public string UTReport - { - get - { - return this._UTReport; - } - set - { - if ((this._UTReport != value)) - { - this._UTReport = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT", DbType="NChar(1)")] - public string UT - { - get - { - return this._UT; - } - set - { - if ((this._UT != value)) - { - this._UT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTReport", DbType="NVarChar(50)")] - public string MTReport - { - get - { - return this._MTReport; - } - set - { - if ((this._MTReport != value)) - { - this._MTReport = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT", DbType="NChar(1)")] - public string MT - { - get - { - return this._MT; - } - set - { - if ((this._MT != value)) - { - this._MT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTReport", DbType="NVarChar(50)")] - public string PTReport - { - get - { - return this._PTReport; - } - set - { - if ((this._PTReport != value)) - { - this._PTReport = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT", DbType="NChar(1)")] - public string PT - { - get - { - return this._PT; - } - set - { - if ((this._PT != value)) - { - this._PT = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_CheckResultSummary1")] - public partial class HJGL_View_CheckResultSummary1 - { - - private string _BatchDetailId; - - private string _ProjectId; - - private string _BatchCode; - - private string _ISO_IsoNo; - - private string _JOT_JointNo; - - private string _Sort1; - - private System.Nullable _Sort2; - - private string _Sort3; - - private System.Nullable _Sort4; - - private System.Nullable _Sort5; - - private string _ISO_ID; - - private string _JOT_JointDesc; - - private string _BatchId; - - private string _NDT; - - private string _WED_Code; - - private string _ISC_ID; - - private string _SER_ID; - - private string _STE_ID; - - private string _JOTY_Group; - - private System.Nullable _JOT_Dia; - - public HJGL_View_CheckResultSummary1() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchDetailId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string BatchDetailId - { - get - { - return this._BatchDetailId; - } - set - { - if ((this._BatchDetailId != value)) - { - this._BatchDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort1", DbType="VarChar(10)")] - public string Sort1 - { - get - { - return this._Sort1; - } - set - { - if ((this._Sort1 != value)) - { - this._Sort1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort2", DbType="Int")] - public System.Nullable Sort2 - { - get - { - return this._Sort2; - } - set - { - if ((this._Sort2 != value)) - { - this._Sort2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort3", DbType="VarChar(10)")] - public string Sort3 - { - get - { - return this._Sort3; - } - set - { - if ((this._Sort3 != value)) - { - this._Sort3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort4", DbType="Int")] - public System.Nullable Sort4 - { - get - { - return this._Sort4; - } - set - { - if ((this._Sort4 != value)) - { - this._Sort4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort5", DbType="Int")] - public System.Nullable Sort5 - { - get - { - return this._Sort5; - } - set - { - if ((this._Sort5 != value)) - { - this._Sort5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT", DbType="NVarChar(300)")] - public string NDT - { - get - { - return this._NDT; - } - set - { - if ((this._NDT != value)) - { - this._NDT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="NVarChar(41) NOT NULL", CanBeNull=false)] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_ID", DbType="VarChar(50)")] - public string ISC_ID - { - get - { - return this._ISC_ID; - } - set - { - if ((this._ISC_ID != value)) - { - this._ISC_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_ID", DbType="VarChar(50)")] - public string SER_ID - { - get - { - return this._SER_ID; - } - set - { - if ((this._SER_ID != value)) - { - this._SER_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this._STE_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Group", DbType="NChar(1)")] - public string JOTY_Group - { - get - { - return this._JOTY_Group; - } - set - { - if ((this._JOTY_Group != value)) - { - this._JOTY_Group = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_InspectionBatch")] - public partial class HJGL_View_InspectionBatch - { - - private string _BatchDetailId; - - private string _CH_TrustItemID; - - private string _ProjectId; - - private string _ProjectCode; - - private string _ProjectName; - - private string _NDTR_Name; - - private string _STE_Code; - - private string _ISO_Code; - - private string _ISO_IsoNo; - - private string _JOT_JointNo; - - private System.Nullable _JOT_Dia; - - private string _JOT_Sch; - - private string _WED_Code; - - private System.Nullable _JOT_WeldDate; - - private string _JOT_Location; - - private string _WME_Code; - - private string _WMT_MatName; - - private string _PointType; - - private string _NDT_Code; - - private string _CH_NDTMethod; - - private string _TrustState; - - private System.Nullable _ConfirmDate; - - private System.Nullable _CH_TrustDate; - - private System.Nullable _VICheckDate; - - private string _IsVI; - - private string _BatchCode; - - private System.Nullable _WeldL; - - private string _BatchId; - - private string _IsHotProessResult; - - private string _IsHardTestResult; - - private string _Checker; - - private string _ProessTypes; - - private string _IsHotProessTrustItem; - - private string _RecordChartNo; - - private string _IsHotHard; - - private string _HotHardCode; - - private string _RepairIsoNo; - - private string _RepairJointNo; - - private string _CHT_CheckCode; - - private string _PressureTestPackageNo; - - public HJGL_View_InspectionBatch() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchDetailId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string BatchDetailId - { - get - { - return this._BatchDetailId; - } - set - { - if ((this._BatchDetailId != value)) - { - this._BatchDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustItemID", DbType="VarChar(50)")] - public string CH_TrustItemID - { - get - { - return this._CH_TrustItemID; - } - set - { - if ((this._CH_TrustItemID != value)) - { - this._CH_TrustItemID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this._ProjectName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_Name", DbType="VarChar(50)")] - public string NDTR_Name - { - get - { - return this._NDTR_Name; - } - set - { - if ((this._NDTR_Name != value)) - { - this._NDTR_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Code", DbType="NVarChar(144)")] - public string ISO_Code - { - get - { - return this._ISO_Code; - } - set - { - if ((this._ISO_Code != value)) - { - this._ISO_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="VarChar(40)")] - public string JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this._JOT_Sch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="VarChar(41)")] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldDate", DbType="DateTime")] - public System.Nullable JOT_WeldDate - { - get - { - return this._JOT_WeldDate; - } - set - { - if ((this._JOT_WeldDate != value)) - { - this._JOT_WeldDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Location", DbType="NVarChar(50)")] - public string JOT_Location - { - get - { - return this._JOT_Location; - } - set - { - if ((this._JOT_Location != value)) - { - this._JOT_Location = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Code", DbType="VarChar(20)")] - public string WME_Code - { - get - { - return this._WME_Code; - } - set - { - if ((this._WME_Code != value)) - { - this._WME_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatName", DbType="VarChar(41) NOT NULL", CanBeNull=false)] - public string WMT_MatName - { - get - { - return this._WMT_MatName; - } - set - { - if ((this._WMT_MatName != value)) - { - this._WMT_MatName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointType", DbType="VarChar(1)")] - public string PointType - { - get - { - return this._PointType; - } - set - { - if ((this._PointType != value)) - { - this._PointType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT_Code", DbType="VarChar(20)")] - public string NDT_Code - { - get - { - return this._NDT_Code; - } - set - { - if ((this._NDT_Code != value)) - { - this._NDT_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_NDTMethod", DbType="VarChar(50)")] - public string CH_NDTMethod - { - get - { - return this._CH_NDTMethod; - } - set - { - if ((this._CH_NDTMethod != value)) - { - this._CH_NDTMethod = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustState", DbType="VarChar(8)")] - public string TrustState - { - get - { - return this._TrustState; - } - set - { - if ((this._TrustState != value)) - { - this._TrustState = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConfirmDate", DbType="DateTime")] - public System.Nullable ConfirmDate - { - get - { - return this._ConfirmDate; - } - set - { - if ((this._ConfirmDate != value)) - { - this._ConfirmDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustDate", DbType="DateTime")] - public System.Nullable CH_TrustDate - { - get - { - return this._CH_TrustDate; - } - set - { - if ((this._CH_TrustDate != value)) - { - this._CH_TrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VICheckDate", DbType="DateTime")] - public System.Nullable VICheckDate - { - get - { - return this._VICheckDate; - } - set - { - if ((this._VICheckDate != value)) - { - this._VICheckDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsVI", DbType="VarChar(2)")] - public string IsVI - { - get - { - return this._IsVI; - } - set - { - if ((this._IsVI != value)) - { - this._IsVI = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldL", DbType="Int")] - public System.Nullable WeldL - { - get - { - return this._WeldL; - } - set - { - if ((this._WeldL != value)) - { - this._WeldL = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotProessResult", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string IsHotProessResult - { - get - { - return this._IsHotProessResult; - } - set - { - if ((this._IsHotProessResult != value)) - { - this._IsHotProessResult = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHardTestResult", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string IsHardTestResult - { - get - { - return this._IsHardTestResult; - } - set - { - if ((this._IsHardTestResult != value)) - { - this._IsHardTestResult = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Checker", DbType="NVarChar(50)")] - public string Checker - { - get - { - return this._Checker; - } - set - { - if ((this._Checker != value)) - { - this._Checker = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="NVarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this._ProessTypes = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotProessTrustItem", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string IsHotProessTrustItem - { - get - { - return this._IsHotProessTrustItem; - } - set - { - if ((this._IsHotProessTrustItem != value)) - { - this._IsHotProessTrustItem = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordChartNo", DbType="VarChar(20)")] - public string RecordChartNo - { - get - { - return this._RecordChartNo; - } - set - { - if ((this._RecordChartNo != value)) - { - this._RecordChartNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotHard", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string IsHotHard - { - get - { - return this._IsHotHard; - } - set - { - if ((this._IsHotHard != value)) - { - this._IsHotHard = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotHardCode", DbType="NVarChar(50)")] - public string HotHardCode - { - get - { - return this._HotHardCode; - } - set - { - if ((this._HotHardCode != value)) - { - this._HotHardCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairIsoNo", DbType="VarChar(50)")] - public string RepairIsoNo - { - get - { - return this._RepairIsoNo; - } - set - { - if ((this._RepairIsoNo != value)) - { - this._RepairIsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairJointNo", DbType="VarChar(50)")] - public string RepairJointNo - { - get - { - return this._RepairJointNo; - } - set - { - if ((this._RepairJointNo != value)) - { - this._RepairJointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHT_CheckCode", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string CHT_CheckCode - { - get - { - return this._CHT_CheckCode; - } - set - { - if ((this._CHT_CheckCode != value)) - { - this._CHT_CheckCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestPackageNo", DbType="NVarChar(50)")] - public string PressureTestPackageNo - { - get - { - return this._PressureTestPackageNo; - } - set - { - if ((this._PressureTestPackageNo != value)) - { - this._PressureTestPackageNo = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_IsoInfo")] - public partial class HJGL_View_IsoInfo - { - - private string _ISO_ID; - - private string _BSU_ID; - - private string _ProjectId; - - private string _SER_ID; - - private string _SERName; - - private string _ISO_IsoNo; - - private System.Nullable _ISO_TotalDin; - - private string _ISO_Insulator; - - private string _STE_ID; - - private string _STECode; - - private string _ISO_Executive; - - private string _ISO_Specification; - - private string _ISO_Modifier; - - private System.Nullable _ISO_ModifyDate; - - private string _ISO_Creator; - - private System.Nullable _ISO_CreateDate; - - private System.Nullable _ISO_JointQty; - - private System.Nullable _ISO_DesignPress; - - private System.Nullable _ISO_DesignTemperature; - - private System.Nullable _ISO_TestPress; - - private System.Nullable _ISO_TestTemperature; - - private string _IDName; - - private string _ISO_Remark; - - private string _MaterialStandardId; - - private string _PressureTestPackageNo; - - private string _OperatingPressure; - - private string _OperatingTemperature; - - private string _PipeLineClass; - - private System.Nullable _PipeLineLength; - - private string _LeakageTest; - - private string _TestCategoryNum; - - private string _MaterialStandardCode; - - public HJGL_View_IsoInfo() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BSU_ID", DbType="NVarChar(50)")] - public string BSU_ID - { - get - { - return this._BSU_ID; - } - set - { - if ((this._BSU_ID != value)) - { - this._BSU_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_ID", DbType="VarChar(50)")] - public string SER_ID - { - get - { - return this._SER_ID; - } - set - { - if ((this._SER_ID != value)) - { - this._SER_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SERName", DbType="VarChar(80)")] - public string SERName - { - get - { - return this._SERName; - } - set - { - if ((this._SERName != value)) - { - this._SERName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TotalDin", DbType="Decimal(19,4)")] - public System.Nullable ISO_TotalDin - { - get - { - return this._ISO_TotalDin; - } - set - { - if ((this._ISO_TotalDin != value)) - { - this._ISO_TotalDin = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Insulator", DbType="VarChar(40)")] - public string ISO_Insulator - { - get - { - return this._ISO_Insulator; - } - set - { - if ((this._ISO_Insulator != value)) - { - this._ISO_Insulator = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this._STE_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STECode", DbType="NVarChar(50)")] - public string STECode - { - get - { - return this._STECode; - } - set - { - if ((this._STECode != value)) - { - this._STECode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Executive", DbType="NVarChar(50)")] - public string ISO_Executive - { - get - { - return this._ISO_Executive; - } - set - { - if ((this._ISO_Executive != value)) - { - this._ISO_Executive = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Specification", DbType="VarChar(43)")] - public string ISO_Specification - { - get - { - return this._ISO_Specification; - } - set - { - if ((this._ISO_Specification != value)) - { - this._ISO_Specification = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Modifier", DbType="VarChar(20)")] - public string ISO_Modifier - { - get - { - return this._ISO_Modifier; - } - set - { - if ((this._ISO_Modifier != value)) - { - this._ISO_Modifier = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ModifyDate", DbType="DateTime")] - public System.Nullable ISO_ModifyDate - { - get - { - return this._ISO_ModifyDate; - } - set - { - if ((this._ISO_ModifyDate != value)) - { - this._ISO_ModifyDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Creator", DbType="VarChar(20)")] - public string ISO_Creator - { - get - { - return this._ISO_Creator; - } - set - { - if ((this._ISO_Creator != value)) - { - this._ISO_Creator = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_CreateDate", DbType="DateTime")] - public System.Nullable ISO_CreateDate - { - get - { - return this._ISO_CreateDate; - } - set - { - if ((this._ISO_CreateDate != value)) - { - this._ISO_CreateDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_JointQty", DbType="Int")] - public System.Nullable ISO_JointQty - { - get - { - return this._ISO_JointQty; - } - set - { - if ((this._ISO_JointQty != value)) - { - this._ISO_JointQty = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_DesignPress", DbType="Decimal(18,4)")] - public System.Nullable ISO_DesignPress - { - get - { - return this._ISO_DesignPress; - } - set - { - if ((this._ISO_DesignPress != value)) - { - this._ISO_DesignPress = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_DesignTemperature", DbType="Decimal(18,4)")] - public System.Nullable ISO_DesignTemperature - { - get - { - return this._ISO_DesignTemperature; - } - set - { - if ((this._ISO_DesignTemperature != value)) - { - this._ISO_DesignTemperature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TestPress", DbType="Decimal(18,4)")] - public System.Nullable ISO_TestPress - { - get - { - return this._ISO_TestPress; - } - set - { - if ((this._ISO_TestPress != value)) - { - this._ISO_TestPress = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TestTemperature", DbType="Decimal(18,4)")] - public System.Nullable ISO_TestTemperature - { - get - { - return this._ISO_TestTemperature; - } - set - { - if ((this._ISO_TestTemperature != value)) - { - this._ISO_TestTemperature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IDName", DbType="VarChar(50)")] - public string IDName - { - get - { - return this._IDName; - } - set - { - if ((this._IDName != value)) - { - this._IDName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Remark", DbType="VarChar(100)")] - public string ISO_Remark - { - get - { - return this._ISO_Remark; - } - set - { - if ((this._ISO_Remark != value)) - { - this._ISO_Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandardId", DbType="NVarChar(50)")] - public string MaterialStandardId - { - get - { - return this._MaterialStandardId; - } - set - { - if ((this._MaterialStandardId != value)) - { - this._MaterialStandardId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestPackageNo", DbType="NVarChar(50)")] - public string PressureTestPackageNo - { - get - { - return this._PressureTestPackageNo; - } - set - { - if ((this._PressureTestPackageNo != value)) - { - this._PressureTestPackageNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingPressure", DbType="NVarChar(50)")] - public string OperatingPressure - { - get - { - return this._OperatingPressure; - } - set - { - if ((this._OperatingPressure != value)) - { - this._OperatingPressure = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingTemperature", DbType="NVarChar(50)")] - public string OperatingTemperature - { - get - { - return this._OperatingTemperature; - } - set - { - if ((this._OperatingTemperature != value)) - { - this._OperatingTemperature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeLineClass", DbType="NVarChar(50)")] - public string PipeLineClass - { - get - { - return this._PipeLineClass; - } - set - { - if ((this._PipeLineClass != value)) - { - this._PipeLineClass = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeLineLength", DbType="Decimal(18,4)")] - public System.Nullable PipeLineLength - { - get - { - return this._PipeLineLength; - } - set - { - if ((this._PipeLineLength != value)) - { - this._PipeLineLength = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageTest", DbType="NVarChar(50)")] - public string LeakageTest - { - get - { - return this._LeakageTest; - } - set - { - if ((this._LeakageTest != value)) - { - this._LeakageTest = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestCategoryNum", DbType="NVarChar(50)")] - public string TestCategoryNum - { - get - { - return this._TestCategoryNum; - } - set - { - if ((this._TestCategoryNum != value)) - { - this._TestCategoryNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialStandardCode", DbType="NVarChar(50)")] - public string MaterialStandardCode - { - get - { - return this._MaterialStandardCode; - } - set - { - if ((this._MaterialStandardCode != value)) - { - this._MaterialStandardCode = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_IsoinfoView")] - public partial class HJGL_View_IsoinfoView - { - - private string _ProjectId; - - private string _UnitName; - - private string _Iso_isono; - - private System.Nullable _ISO_TotalDin; - - private System.Nullable _Jot_count; - - private string _Ser_name; - - private string _Ste_name; - - private string _ISO_Specification; - - private System.Nullable _ISO_DesignPress; - - private System.Nullable _ISO_DesignTemperature; - - private System.Nullable _ISO_TestPress; - - private System.Nullable _ISO_TestTemperature; - - private string _WorkAreaCode; - - private string _WorkAreaId; - - private string _Is_proess; - - public HJGL_View_IsoinfoView() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="iso_isono", Storage="_Iso_isono", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string Iso_isono - { - get - { - return this._Iso_isono; - } - set - { - if ((this._Iso_isono != value)) - { - this._Iso_isono = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TotalDin", DbType="Decimal(19,2)")] - public System.Nullable ISO_TotalDin - { - get - { - return this._ISO_TotalDin; - } - set - { - if ((this._ISO_TotalDin != value)) - { - this._ISO_TotalDin = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jot_count", Storage="_Jot_count", DbType="Int")] - public System.Nullable Jot_count - { - get - { - return this._Jot_count; - } - set - { - if ((this._Jot_count != value)) - { - this._Jot_count = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="ser_name", Storage="_Ser_name", DbType="VarChar(80)")] - public string Ser_name - { - get - { - return this._Ser_name; - } - set - { - if ((this._Ser_name != value)) - { - this._Ser_name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="ste_name", Storage="_Ste_name", DbType="NVarChar(50)")] - public string Ste_name - { - get - { - return this._Ste_name; - } - set - { - if ((this._Ste_name != value)) - { - this._Ste_name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Specification", DbType="VarChar(43)")] - public string ISO_Specification - { - get - { - return this._ISO_Specification; - } - set - { - if ((this._ISO_Specification != value)) - { - this._ISO_Specification = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_DesignPress", DbType="Decimal(18,4)")] - public System.Nullable ISO_DesignPress - { - get - { - return this._ISO_DesignPress; - } - set - { - if ((this._ISO_DesignPress != value)) - { - this._ISO_DesignPress = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_DesignTemperature", DbType="Decimal(18,4)")] - public System.Nullable ISO_DesignTemperature - { - get - { - return this._ISO_DesignTemperature; - } - set - { - if ((this._ISO_DesignTemperature != value)) - { - this._ISO_DesignTemperature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TestPress", DbType="Decimal(18,4)")] - public System.Nullable ISO_TestPress - { - get - { - return this._ISO_TestPress; - } - set - { - if ((this._ISO_TestPress != value)) - { - this._ISO_TestPress = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TestTemperature", DbType="Decimal(18,4)")] - public System.Nullable ISO_TestTemperature - { - get - { - return this._ISO_TestTemperature; - } - set - { - if ((this._ISO_TestTemperature != value)) - { - this._ISO_TestTemperature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaCode", DbType="NVarChar(20)")] - public string WorkAreaCode - { - get - { - return this._WorkAreaCode; - } - set - { - if ((this._WorkAreaCode != value)) - { - this._WorkAreaCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(50)")] - public string WorkAreaId - { - get - { - return this._WorkAreaId; - } - set - { - if ((this._WorkAreaId != value)) - { - this._WorkAreaId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="is_proess", Storage="_Is_proess", DbType="Char(1)")] - public string Is_proess - { - get - { - return this._Is_proess; - } - set - { - if ((this._Is_proess != value)) - { - this._Is_proess = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_JointInfo")] - public partial class HJGL_View_JointInfo - { - - private string _JOT_ID; - - private string _ProjectId; - - private string _JOT_JointNo; - - private string _JOT_DailyReportNo; - - private System.Nullable _JOT_WeldDate; - - private string _ISO_ID; - - private string _ISO_IsoNo; - - private string _UnitCode; - - private string _UnitName; - - private string _STE_Name1; - - private string _STE_Name2; - - private string _WED_Code1; - - private string _WED_Name1; - - private string _WED_Code2; - - private string _WED_Name2; - - private string _WLO_Code; - - private string _WLO_Name; - - private System.Nullable _JOT_DoneDin; - - private string _IS_Compute; - - private string _Component1; - - private string _COM_Code1; - - private string _Component2; - - private string _COM_Code2; - - private string _WeldMat; - - private string _WeldSilk; - - private string _JointStatus; - - private System.Nullable _JOT_Dia; - - private System.Nullable _JOT_Size; - - private string _JOT_Sch; - - private System.Nullable _JOT_FactSch; - - private string _JOT_JointFlag; - - private string _JOT_TrustFlag; - - private string _ProessTypes; - - private string _JOT_JointDesc; - - private string _JOTY_ID; - - private string _JOTY_Name; - - private string _JOTY_Code; - - private string _WME_ID; - - private string _WME_Name; - - private string _WME_Code; - - private string _JST_Name; - - private string _JST_Code; - - private string _IS_Proess; - - private string _IS_ProessName; - - private System.Nullable _JOT_PrepareTemp; - - private System.Nullable _JOT_CellTemp; - - private System.Nullable _JOT_LastTemp; - - private string _JOT_JointAttribute; - - private string _JOT_Location; - - private string _BatchCode; - - private System.Nullable _PointDate; - - private System.Nullable _CH_TrustCode; - - private System.Nullable _CH_TrustDate; - - private string _JOT_Remark; - - private string _SER_Code; - - private System.Nullable _ISO_TestPress; - - private System.Nullable _ISO_DesignPress; - - private System.Nullable _ISO_DesignTemperature; - - private string _ISC_IsoCode; - - private System.Nullable _Is_hj; - - private System.Nullable _If_dk; - - private string _InstallationId; - - private string _NDTR_ID; - - private System.Nullable _IsSpecial; - - private System.Nullable _IsSpecialName; - - private string _InstallationName; - - private string _NDTR_Name; - - private string _Sort1; - - private System.Nullable _Sort2; - - private string _Sort3; - - private System.Nullable _Sort4; - - private System.Nullable _Sort5; - - public HJGL_View_JointInfo() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_DailyReportNo", DbType="VarChar(50)")] - public string JOT_DailyReportNo - { - get - { - return this._JOT_DailyReportNo; - } - set - { - if ((this._JOT_DailyReportNo != value)) - { - this._JOT_DailyReportNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldDate", DbType="DateTime")] - public System.Nullable JOT_WeldDate - { - get - { - return this._JOT_WeldDate; - } - set - { - if ((this._JOT_WeldDate != value)) - { - this._JOT_WeldDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitCode", DbType="NVarChar(20)")] - public string UnitCode - { - get - { - return this._UnitCode; - } - set - { - if ((this._UnitCode != value)) - { - this._UnitCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name1", DbType="NVarChar(50)")] - public string STE_Name1 - { - get - { - return this._STE_Name1; - } - set - { - if ((this._STE_Name1 != value)) - { - this._STE_Name1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name2", DbType="NVarChar(50)")] - public string STE_Name2 - { - get - { - return this._STE_Name2; - } - set - { - if ((this._STE_Name2 != value)) - { - this._STE_Name2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code1", DbType="VarChar(20)")] - public string WED_Code1 - { - get - { - return this._WED_Code1; - } - set - { - if ((this._WED_Code1 != value)) - { - this._WED_Code1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Name1", DbType="VarChar(40)")] - public string WED_Name1 - { - get - { - return this._WED_Name1; - } - set - { - if ((this._WED_Name1 != value)) - { - this._WED_Name1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code2", DbType="VarChar(20)")] - public string WED_Code2 - { - get - { - return this._WED_Code2; - } - set - { - if ((this._WED_Code2 != value)) - { - this._WED_Code2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Name2", DbType="VarChar(40)")] - public string WED_Name2 - { - get - { - return this._WED_Name2; - } - set - { - if ((this._WED_Name2 != value)) - { - this._WED_Name2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WLO_Code", DbType="VarChar(20)")] - public string WLO_Code - { - get - { - return this._WLO_Code; - } - set - { - if ((this._WLO_Code != value)) - { - this._WLO_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WLO_Name", DbType="VarChar(8) NOT NULL", CanBeNull=false)] - public string WLO_Name - { - get - { - return this._WLO_Name; - } - set - { - if ((this._WLO_Name != value)) - { - this._WLO_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_DoneDin", DbType="Decimal(18,4)")] - public System.Nullable JOT_DoneDin - { - get - { - return this._JOT_DoneDin; - } - set - { - if ((this._JOT_DoneDin != value)) - { - this._JOT_DoneDin = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_Compute", DbType="Char(1)")] - public string IS_Compute - { - get - { - return this._IS_Compute; - } - set - { - if ((this._IS_Compute != value)) - { - this._IS_Compute = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Component1", DbType="VarChar(50)")] - public string Component1 - { - get - { - return this._Component1; - } - set - { - if ((this._Component1 != value)) - { - this._Component1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_COM_Code1", DbType="VarChar(20)")] - public string COM_Code1 - { - get - { - return this._COM_Code1; - } - set - { - if ((this._COM_Code1 != value)) - { - this._COM_Code1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Component2", DbType="VarChar(50)")] - public string Component2 - { - get - { - return this._Component2; - } - set - { - if ((this._Component2 != value)) - { - this._Component2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_COM_Code2", DbType="VarChar(20)")] - public string COM_Code2 - { - get - { - return this._COM_Code2; - } - set - { - if ((this._COM_Code2 != value)) - { - this._COM_Code2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMat", DbType="VarChar(20)")] - public string WeldMat - { - get - { - return this._WeldMat; - } - set - { - if ((this._WeldMat != value)) - { - this._WeldMat = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSilk", DbType="VarChar(20)")] - public string WeldSilk - { - get - { - return this._WeldSilk; - } - set - { - if ((this._WeldSilk != value)) - { - this._WeldSilk = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointStatus", DbType="NChar(10)")] - public string JointStatus - { - get - { - return this._JointStatus; - } - set - { - if ((this._JointStatus != value)) - { - this._JointStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Size", DbType="Decimal(18,4)")] - public System.Nullable JOT_Size - { - get - { - return this._JOT_Size; - } - set - { - if ((this._JOT_Size != value)) - { - this._JOT_Size = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="VarChar(40)")] - public string JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this._JOT_Sch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_FactSch", DbType="Decimal(18,4)")] - public System.Nullable JOT_FactSch - { - get - { - return this._JOT_FactSch; - } - set - { - if ((this._JOT_FactSch != value)) - { - this._JOT_FactSch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointFlag", DbType="VarChar(80)")] - public string JOT_JointFlag - { - get - { - return this._JOT_JointFlag; - } - set - { - if ((this._JOT_JointFlag != value)) - { - this._JOT_JointFlag = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_TrustFlag", DbType="VarChar(40)")] - public string JOT_TrustFlag - { - get - { - return this._JOT_TrustFlag; - } - set - { - if ((this._JOT_TrustFlag != value)) - { - this._JOT_TrustFlag = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="NVarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this._ProessTypes = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_ID", DbType="VarChar(50)")] - public string JOTY_ID - { - get - { - return this._JOTY_ID; - } - set - { - if ((this._JOTY_ID != value)) - { - this._JOTY_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Name", DbType="VarChar(50)")] - public string JOTY_Name - { - get - { - return this._JOTY_Name; - } - set - { - if ((this._JOTY_Name != value)) - { - this._JOTY_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Code", DbType="VarChar(20)")] - public string JOTY_Code - { - get - { - return this._JOTY_Code; - } - set - { - if ((this._JOTY_Code != value)) - { - this._JOTY_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - this._WME_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50)")] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this._WME_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Code", DbType="VarChar(20)")] - public string WME_Code - { - get - { - return this._WME_Code; - } - set - { - if ((this._WME_Code != value)) - { - this._WME_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_Name", DbType="VarChar(50)")] - public string JST_Name - { - get - { - return this._JST_Name; - } - set - { - if ((this._JST_Name != value)) - { - this._JST_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_Code", DbType="VarChar(20)")] - public string JST_Code - { - get - { - return this._JST_Code; - } - set - { - if ((this._JST_Code != value)) - { - this._JST_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_Proess", DbType="Char(1)")] - public string IS_Proess - { - get - { - return this._IS_Proess; - } - set - { - if ((this._IS_Proess != value)) - { - this._IS_Proess = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_ProessName", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string IS_ProessName - { - get - { - return this._IS_ProessName; - } - set - { - if ((this._IS_ProessName != value)) - { - this._IS_ProessName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_PrepareTemp", DbType="Decimal(18,4)")] - public System.Nullable JOT_PrepareTemp - { - get - { - return this._JOT_PrepareTemp; - } - set - { - if ((this._JOT_PrepareTemp != value)) - { - this._JOT_PrepareTemp = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_CellTemp", DbType="Decimal(18,4)")] - public System.Nullable JOT_CellTemp - { - get - { - return this._JOT_CellTemp; - } - set - { - if ((this._JOT_CellTemp != value)) - { - this._JOT_CellTemp = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_LastTemp", DbType="Decimal(18,4)")] - public System.Nullable JOT_LastTemp - { - get - { - return this._JOT_LastTemp; - } - set - { - if ((this._JOT_LastTemp != value)) - { - this._JOT_LastTemp = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointAttribute", DbType="VarChar(20)")] - public string JOT_JointAttribute - { - get - { - return this._JOT_JointAttribute; - } - set - { - if ((this._JOT_JointAttribute != value)) - { - this._JOT_JointAttribute = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Location", DbType="NVarChar(50)")] - public string JOT_Location - { - get - { - return this._JOT_Location; - } - set - { - if ((this._JOT_Location != value)) - { - this._JOT_Location = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointDate", DbType="DateTime")] - public System.Nullable PointDate - { - get - { - return this._PointDate; - } - set - { - if ((this._PointDate != value)) - { - this._PointDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustCode", DbType="Int")] - public System.Nullable CH_TrustCode - { - get - { - return this._CH_TrustCode; - } - set - { - if ((this._CH_TrustCode != value)) - { - this._CH_TrustCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustDate", DbType="Int")] - public System.Nullable CH_TrustDate - { - get - { - return this._CH_TrustDate; - } - set - { - if ((this._CH_TrustDate != value)) - { - this._CH_TrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Remark", DbType="VarChar(100)")] - public string JOT_Remark - { - get - { - return this._JOT_Remark; - } - set - { - if ((this._JOT_Remark != value)) - { - this._JOT_Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SER_Code", DbType="VarChar(40)")] - public string SER_Code - { - get - { - return this._SER_Code; - } - set - { - if ((this._SER_Code != value)) - { - this._SER_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_TestPress", DbType="Decimal(18,4)")] - public System.Nullable ISO_TestPress - { - get - { - return this._ISO_TestPress; - } - set - { - if ((this._ISO_TestPress != value)) - { - this._ISO_TestPress = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_DesignPress", DbType="Decimal(18,4)")] - public System.Nullable ISO_DesignPress - { - get - { - return this._ISO_DesignPress; - } - set - { - if ((this._ISO_DesignPress != value)) - { - this._ISO_DesignPress = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_DesignTemperature", DbType="Decimal(18,4)")] - public System.Nullable ISO_DesignTemperature - { - get - { - return this._ISO_DesignTemperature; - } - set - { - if ((this._ISO_DesignTemperature != value)) - { - this._ISO_DesignTemperature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISC_IsoCode", DbType="VarChar(20)")] - public string ISC_IsoCode - { - get - { - return this._ISC_IsoCode; - } - set - { - if ((this._ISC_IsoCode != value)) - { - this._ISC_IsoCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="is_hj", Storage="_Is_hj", DbType="Bit")] - public System.Nullable Is_hj - { - get - { - return this._Is_hj; - } - set - { - if ((this._Is_hj != value)) - { - this._Is_hj = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="if_dk", Storage="_If_dk", DbType="Bit")] - public System.Nullable If_dk - { - get - { - return this._If_dk; - } - set - { - if ((this._If_dk != value)) - { - this._If_dk = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this._InstallationId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_ID", DbType="VarChar(50)")] - public string NDTR_ID - { - get - { - return this._NDTR_ID; - } - set - { - if ((this._NDTR_ID != value)) - { - this._NDTR_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSpecial", DbType="Bit")] - public System.Nullable IsSpecial - { - get - { - return this._IsSpecial; - } - set - { - if ((this._IsSpecial != value)) - { - this._IsSpecial = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSpecialName", DbType="Bit")] - public System.Nullable IsSpecialName - { - get - { - return this._IsSpecialName; - } - set - { - if ((this._IsSpecialName != value)) - { - this._IsSpecialName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationName", DbType="NVarChar(50)")] - public string InstallationName - { - get - { - return this._InstallationName; - } - set - { - if ((this._InstallationName != value)) - { - this._InstallationName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_Name", DbType="VarChar(50)")] - public string NDTR_Name - { - get - { - return this._NDTR_Name; - } - set - { - if ((this._NDTR_Name != value)) - { - this._NDTR_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort1", DbType="VarChar(10)")] - public string Sort1 - { - get - { - return this._Sort1; - } - set - { - if ((this._Sort1 != value)) - { - this._Sort1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort2", DbType="Int")] - public System.Nullable Sort2 - { - get - { - return this._Sort2; - } - set - { - if ((this._Sort2 != value)) - { - this._Sort2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort3", DbType="VarChar(10)")] - public string Sort3 - { - get - { - return this._Sort3; - } - set - { - if ((this._Sort3 != value)) - { - this._Sort3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort4", DbType="Int")] - public System.Nullable Sort4 - { - get - { - return this._Sort4; - } - set - { - if ((this._Sort4 != value)) - { - this._Sort4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort5", DbType="Int")] - public System.Nullable Sort5 - { - get - { - return this._Sort5; - } - set - { - if ((this._Sort5 != value)) - { - this._Sort5 = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_JointInfoAndIsoInfo")] - public partial class HJGL_View_JointInfoAndIsoInfo - { - - private string _ProjectId; - - private string _InstallationId; - - private string _InstallationCode; - - private string _UnitCode; - - private string _ISO_IsoNo; - - private string _JOT_JointNo; - - private string _JOT_ID; - - private string _ISO_ID; - - private string _BAW_ID; - - private string _DReportID; - - public HJGL_View_JointInfoAndIsoInfo() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this._InstallationId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationCode", DbType="NVarChar(50)")] - public string InstallationCode - { - get - { - return this._InstallationCode; - } - set - { - if ((this._InstallationCode != value)) - { - this._InstallationCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitCode", DbType="NVarChar(20)")] - public string UnitCode - { - get - { - return this._UnitCode; - } - set - { - if ((this._UnitCode != value)) - { - this._UnitCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BAW_ID", DbType="NVarChar(50)")] - public string BAW_ID - { - get - { - return this._BAW_ID; - } - set - { - if ((this._BAW_ID != value)) - { - this._BAW_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this._DReportID = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_MatchedProcedureMaterial")] - public partial class HJGL_View_MatchedProcedureMaterial - { - - private string _MatchedProcedureMaterialId; - - private string _ProjectId; - - private string _STE_ID1; - - private string _STE_Name1; - - private string _STE_ID2; - - private string _STE_Name2; - - private string _MaterialClass1; - - private string _MaterialClass2; - - private string _MaterialGroup1; - - private string _MaterialGroup2; - - private string _Specifications; - - private string _WeldingMethodId; - - private string _WME_Name; - - private System.Nullable _Thickness; - - private System.Nullable _Dia; - - private System.Nullable _IsHotTreatment; - - private string _IsHotTreatmentName; - - private string _WeldingProcedureId; - - private string _WeldingPosition; - - private string _WeldingProcedureCode; - - private string _EvaluationCriteria; - - private string _WeldingProcessCardId; - - private string _WeldingProcessCardCode; - - private string _State; - - private string _Remark; - - private string _PAttachUrl; - - public HJGL_View_MatchedProcedureMaterial() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MatchedProcedureMaterialId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string MatchedProcedureMaterialId - { - get - { - return this._MatchedProcedureMaterialId; - } - set - { - if ((this._MatchedProcedureMaterialId != value)) - { - this._MatchedProcedureMaterialId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID1", DbType="VarChar(50)")] - public string STE_ID1 - { - get - { - return this._STE_ID1; - } - set - { - if ((this._STE_ID1 != value)) - { - this._STE_ID1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name1", DbType="NVarChar(50)")] - public string STE_Name1 - { - get - { - return this._STE_Name1; - } - set - { - if ((this._STE_Name1 != value)) - { - this._STE_Name1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID2", DbType="VarChar(50)")] - public string STE_ID2 - { - get - { - return this._STE_ID2; - } - set - { - if ((this._STE_ID2 != value)) - { - this._STE_ID2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name2", DbType="NVarChar(50)")] - public string STE_Name2 - { - get - { - return this._STE_Name2; - } - set - { - if ((this._STE_Name2 != value)) - { - this._STE_Name2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClass1", DbType="NVarChar(50)")] - public string MaterialClass1 - { - get - { - return this._MaterialClass1; - } - set - { - if ((this._MaterialClass1 != value)) - { - this._MaterialClass1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClass2", DbType="NVarChar(50)")] - public string MaterialClass2 - { - get - { - return this._MaterialClass2; - } - set - { - if ((this._MaterialClass2 != value)) - { - this._MaterialClass2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroup1", DbType="NVarChar(50)")] - public string MaterialGroup1 - { - get - { - return this._MaterialGroup1; - } - set - { - if ((this._MaterialGroup1 != value)) - { - this._MaterialGroup1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroup2", DbType="NVarChar(50)")] - public string MaterialGroup2 - { - get - { - return this._MaterialGroup2; - } - set - { - if ((this._MaterialGroup2 != value)) - { - this._MaterialGroup2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(100)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this._Specifications = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingMethodId", DbType="VarChar(50)")] - public string WeldingMethodId - { - get - { - return this._WeldingMethodId; - } - set - { - if ((this._WeldingMethodId != value)) - { - this._WeldingMethodId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50)")] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this._WME_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Thickness", DbType="Decimal(18,4)")] - public System.Nullable Thickness - { - get - { - return this._Thickness; - } - set - { - if ((this._Thickness != value)) - { - this._Thickness = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia", DbType="Decimal(18,4)")] - public System.Nullable Dia - { - get - { - return this._Dia; - } - set - { - if ((this._Dia != value)) - { - this._Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotTreatment", DbType="Bit")] - public System.Nullable IsHotTreatment - { - get - { - return this._IsHotTreatment; - } - set - { - if ((this._IsHotTreatment != value)) - { - this._IsHotTreatment = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotTreatmentName", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string IsHotTreatmentName - { - get - { - return this._IsHotTreatmentName; - } - set - { - if ((this._IsHotTreatmentName != value)) - { - this._IsHotTreatmentName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureId", DbType="NVarChar(50)")] - public string WeldingProcedureId - { - get - { - return this._WeldingProcedureId; - } - set - { - if ((this._WeldingProcedureId != value)) - { - this._WeldingProcedureId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingPosition", DbType="NVarChar(50)")] - public string WeldingPosition - { - get - { - return this._WeldingPosition; - } - set - { - if ((this._WeldingPosition != value)) - { - this._WeldingPosition = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureCode", DbType="NVarChar(50)")] - public string WeldingProcedureCode - { - get - { - return this._WeldingProcedureCode; - } - set - { - if ((this._WeldingProcedureCode != value)) - { - this._WeldingProcedureCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EvaluationCriteria", DbType="NVarChar(50)")] - public string EvaluationCriteria - { - get - { - return this._EvaluationCriteria; - } - set - { - if ((this._EvaluationCriteria != value)) - { - this._EvaluationCriteria = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcessCardId", DbType="NVarChar(50)")] - public string WeldingProcessCardId - { - get - { - return this._WeldingProcessCardId; - } - set - { - if ((this._WeldingProcessCardId != value)) - { - this._WeldingProcessCardId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcessCardCode", DbType="NVarChar(200)")] - public string WeldingProcessCardCode - { - get - { - return this._WeldingProcessCardCode; - } - set - { - if ((this._WeldingProcessCardCode != value)) - { - this._WeldingProcessCardCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Char(1)")] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this._State = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAttachUrl", DbType="NVarChar(1000)")] - public string PAttachUrl - { - get - { - return this._PAttachUrl; - } - set - { - if ((this._PAttachUrl != value)) - { - this._PAttachUrl = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_MatchPipeMaterial")] - public partial class HJGL_View_MatchPipeMaterial - { - - private string _PipeMaterialId; - - private string _ProjectId; - - private string _MaterialId; - - private string _ISO_ID; - - private decimal _NeedCount; - - private decimal _UsedCount; - - private System.Nullable _NowNeedCount; - - private string _Code; - - private string _Name; - - private string _Standard; - - private string _UNIT; - - private string _SteelName; - - private string _ISO_IsoNo; - - private decimal _MatchCount; - - private System.Nullable _InCount; - - private System.Nullable _OutCount; - - private System.Nullable _StorageCount; - - private string _InstallationName; - - private string _InstallationCode; - - private string _WorkAreaCode; - - private string _WorkAreaName; - - private string _UnitCode; - - private string _UnitName; - - public HJGL_View_MatchPipeMaterial() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeMaterialId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string PipeMaterialId - { - get - { - return this._PipeMaterialId; - } - set - { - if ((this._PipeMaterialId != value)) - { - this._PipeMaterialId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialId", DbType="NVarChar(50)")] - public string MaterialId - { - get - { - return this._MaterialId; - } - set - { - if ((this._MaterialId != value)) - { - this._MaterialId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NeedCount", DbType="Decimal(19,2) NOT NULL")] - public decimal NeedCount - { - get - { - return this._NeedCount; - } - set - { - if ((this._NeedCount != value)) - { - this._NeedCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsedCount", DbType="Decimal(19,2) NOT NULL")] - public decimal UsedCount - { - get - { - return this._UsedCount; - } - set - { - if ((this._UsedCount != value)) - { - this._UsedCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NowNeedCount", DbType="Decimal(20,2)")] - public System.Nullable NowNeedCount - { - get - { - return this._NowNeedCount; - } - set - { - if ((this._NowNeedCount != value)) - { - this._NowNeedCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] - public string Code - { - get - { - return this._Code; - } - set - { - if ((this._Code != value)) - { - this._Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")] - public string Name - { - get - { - return this._Name; - } - set - { - if ((this._Name != value)) - { - this._Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Standard", DbType="NVarChar(20)")] - public string Standard - { - get - { - return this._Standard; - } - set - { - if ((this._Standard != value)) - { - this._Standard = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UNIT", DbType="NVarChar(10)")] - public string UNIT - { - get - { - return this._UNIT; - } - set - { - if ((this._UNIT != value)) - { - this._UNIT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SteelName", DbType="NVarChar(50)")] - public string SteelName - { - get - { - return this._SteelName; - } - set - { - if ((this._SteelName != value)) - { - this._SteelName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MatchCount", DbType="Decimal(2,2) NOT NULL")] - public decimal MatchCount - { - get - { - return this._MatchCount; - } - set - { - if ((this._MatchCount != value)) - { - this._MatchCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InCount", DbType="Decimal(19,2)")] - public System.Nullable InCount - { - get - { - return this._InCount; - } - set - { - if ((this._InCount != value)) - { - this._InCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutCount", DbType="Decimal(19,2)")] - public System.Nullable OutCount - { - get - { - return this._OutCount; - } - set - { - if ((this._OutCount != value)) - { - this._OutCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StorageCount", DbType="Decimal(20,2)")] - public System.Nullable StorageCount - { - get - { - return this._StorageCount; - } - set - { - if ((this._StorageCount != value)) - { - this._StorageCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationName", DbType="NVarChar(50)")] - public string InstallationName - { - get - { - return this._InstallationName; - } - set - { - if ((this._InstallationName != value)) - { - this._InstallationName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationCode", DbType="NVarChar(50)")] - public string InstallationCode - { - get - { - return this._InstallationCode; - } - set - { - if ((this._InstallationCode != value)) - { - this._InstallationCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaCode", DbType="NVarChar(20)")] - public string WorkAreaCode - { - get - { - return this._WorkAreaCode; - } - set - { - if ((this._WorkAreaCode != value)) - { - this._WorkAreaCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(50)")] - public string WorkAreaName - { - get - { - return this._WorkAreaName; - } - set - { - if ((this._WorkAreaName != value)) - { - this._WorkAreaName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitCode", DbType="NVarChar(20)")] - public string UnitCode - { - get - { - return this._UnitCode; - } - set - { - if ((this._UnitCode != value)) - { - this._UnitCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_NoRTQualityRating")] - public partial class HJGL_View_NoRTQualityRating - { - - private string _BatchId; - - private string _ISO_ID; - - private string _CH_NDTMethod; - - private string _NDT; - - private string _BatchCode; - - private string _UnitName; - - private string _ISO_IsoNo; - - private string _ProjectCode; - - private string _ProjectId; - - private int _IsShow; - - public HJGL_View_NoRTQualityRating() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_NDTMethod", DbType="VarChar(50)")] - public string CH_NDTMethod - { - get - { - return this._CH_NDTMethod; - } - set - { - if ((this._CH_NDTMethod != value)) - { - this._CH_NDTMethod = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDT", DbType="VarChar(20)")] - public string NDT - { - get - { - return this._NDT; - } - set - { - if ((this._NDT != value)) - { - this._NDT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsShow", DbType="Int NOT NULL")] - public int IsShow - { - get - { - return this._IsShow; - } - set - { - if ((this._IsShow != value)) - { - this._IsShow = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_RayCheckConfirm")] - public partial class HJGL_View_RayCheckConfirm - { - - private string _BatchDetailId; - - private string _ProjectCode; - - private string _ProjectName; - - private string _ProjectId; - - private string _JOT_ID; - - private string _NDTR_Name; - - private string _STE_Code; - - private string _JOT_JointDesc; - - private string _JOT_JointAttribute; - - private string _ISO_Code; - - private string _ISO_ID; - - private string _ISO_IsoNo; - - private string _JOT_JointNo; - - private System.Nullable _JOT_Dia; - - private string _JOT_Sch; - - private string _WED_Code; - - private string _JOT_Location; - - private string _WME_Code; - - private string _ToRepairId; - - private string _PointTypeStr; - - private string _PointType; - - private string _NDTCode; - - private System.Nullable _ConfirmDate; - - private System.Nullable _VICheckDate; - - private string _IsVI; - - private string _BatchCode; - - private string _BatchId; - - private string _CHT_CheckCode; - - public HJGL_View_RayCheckConfirm() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchDetailId", DbType="VarChar(150)")] - public string BatchDetailId - { - get - { - return this._BatchDetailId; - } - set - { - if ((this._BatchDetailId != value)) - { - this._BatchDetailId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this._ProjectName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_Name", DbType="VarChar(50)")] - public string NDTR_Name - { - get - { - return this._NDTR_Name; - } - set - { - if ((this._NDTR_Name != value)) - { - this._NDTR_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(50)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointAttribute", DbType="VarChar(20)")] - public string JOT_JointAttribute - { - get - { - return this._JOT_JointAttribute; - } - set - { - if ((this._JOT_JointAttribute != value)) - { - this._JOT_JointAttribute = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Code", DbType="NVarChar(144)")] - public string ISO_Code - { - get - { - return this._ISO_Code; - } - set - { - if ((this._ISO_Code != value)) - { - this._ISO_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="VarChar(40)")] - public string JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this._JOT_Sch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="VarChar(41)")] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Location", DbType="NVarChar(50)")] - public string JOT_Location - { - get - { - return this._JOT_Location; - } - set - { - if ((this._JOT_Location != value)) - { - this._JOT_Location = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Code", DbType="VarChar(20)")] - public string WME_Code - { - get - { - return this._WME_Code; - } - set - { - if ((this._WME_Code != value)) - { - this._WME_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToRepairId", DbType="VarChar(50)")] - public string ToRepairId - { - get - { - return this._ToRepairId; - } - set - { - if ((this._ToRepairId != value)) - { - this._ToRepairId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointTypeStr", DbType="NChar(10)")] - public string PointTypeStr - { - get - { - return this._PointTypeStr; - } - set - { - if ((this._PointTypeStr != value)) - { - this._PointTypeStr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointType", DbType="VarChar(1)")] - public string PointType - { - get - { - return this._PointType; - } - set - { - if ((this._PointType != value)) - { - this._PointType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTCode", DbType="NVarChar(200)")] - public string NDTCode - { - get - { - return this._NDTCode; - } - set - { - if ((this._NDTCode != value)) - { - this._NDTCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConfirmDate", DbType="DateTime")] - public System.Nullable ConfirmDate - { - get - { - return this._ConfirmDate; - } - set - { - if ((this._ConfirmDate != value)) - { - this._ConfirmDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VICheckDate", DbType="DateTime")] - public System.Nullable VICheckDate - { - get - { - return this._VICheckDate; - } - set - { - if ((this._VICheckDate != value)) - { - this._VICheckDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsVI", DbType="VarChar(2)")] - public string IsVI - { - get - { - return this._IsVI; - } - set - { - if ((this._IsVI != value)) - { - this._IsVI = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHT_CheckCode", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string CHT_CheckCode - { - get - { - return this._CHT_CheckCode; - } - set - { - if ((this._CHT_CheckCode != value)) - { - this._CHT_CheckCode = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_ReCheckRecordPrint")] - public partial class HJGL_View_ReCheckRecordPrint - { - - private string _CH_TrustID; - - private string _ProjectId; - - private System.Nullable _ReRecord_PrintDate; - - public HJGL_View_ReCheckRecordPrint() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_TrustID", DbType="VarChar(50)")] - public string CH_TrustID - { - get - { - return this._CH_TrustID; - } - set - { - if ((this._CH_TrustID != value)) - { - this._CH_TrustID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReRecord_PrintDate", DbType="DateTime")] - public System.Nullable ReRecord_PrintDate - { - get - { - return this._ReRecord_PrintDate; - } - set - { - if ((this._ReRecord_PrintDate != value)) - { - this._ReRecord_PrintDate = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_RTQualityRating")] - public partial class HJGL_View_RTQualityRating - { - - private string _ProjectId; - - private string _BatchId; - - private string _ISO_ID; - - private string _CH_NDTMethod; - - private string _BatchCode; - - private string _ISO_IsoNo; - - private string _ProjectCode; - - private string _UnitName; - - private int _IsShow; - - public HJGL_View_RTQualityRating() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchId", DbType="NVarChar(50)")] - public string BatchId - { - get - { - return this._BatchId; - } - set - { - if ((this._BatchId != value)) - { - this._BatchId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CH_NDTMethod", DbType="VarChar(50)")] - public string CH_NDTMethod - { - get - { - return this._CH_NDTMethod; - } - set - { - if ((this._CH_NDTMethod != value)) - { - this._CH_NDTMethod = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BatchCode", DbType="NVarChar(100)")] - public string BatchCode - { - get - { - return this._BatchCode; - } - set - { - if ((this._BatchCode != value)) - { - this._BatchCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsShow", DbType="Int NOT NULL")] - public int IsShow - { - get - { - return this._IsShow; - } - set - { - if ((this._IsShow != value)) - { - this._IsShow = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_TrustNumSummary")] - public partial class HJGL_View_TrustNumSummary - { - - private string _ProjectId; - - private string _InstallationId; - - private string _PipeCode; - - private string _IsoNo; - - private string _NDTR_Name; - - private int _Rt1Num; - - private int _Ut1Num; - - private int _Mt1Num; - - private int _Pt1Num; - - private System.Nullable _TotalNum1; - - private int _Mt2Num; - - private int _Pt2Num; - - private System.Nullable _TotalNum2; - - private int _Rt3Num; - - private int _Ut3Num; - - private int _Mt3Num; - - private int _Pt3Num; - - private System.Nullable _TotalNum3; - - public HJGL_View_TrustNumSummary() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this._InstallationId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeCode", DbType="NVarChar(144)")] - public string PipeCode - { - get - { - return this._PipeCode; - } - set - { - if ((this._PipeCode != value)) - { - this._PipeCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsoNo", DbType="NVarChar(2000)")] - public string IsoNo - { - get - { - return this._IsoNo; - } - set - { - if ((this._IsoNo != value)) - { - this._IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NDTR_Name", DbType="VarChar(50)")] - public string NDTR_Name - { - get - { - return this._NDTR_Name; - } - set - { - if ((this._NDTR_Name != value)) - { - this._NDTR_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rt1Num", DbType="Int NOT NULL")] - public int Rt1Num - { - get - { - return this._Rt1Num; - } - set - { - if ((this._Rt1Num != value)) - { - this._Rt1Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ut1Num", DbType="Int NOT NULL")] - public int Ut1Num - { - get - { - return this._Ut1Num; - } - set - { - if ((this._Ut1Num != value)) - { - this._Ut1Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mt1Num", DbType="Int NOT NULL")] - public int Mt1Num - { - get - { - return this._Mt1Num; - } - set - { - if ((this._Mt1Num != value)) - { - this._Mt1Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Pt1Num", DbType="Int NOT NULL")] - public int Pt1Num - { - get - { - return this._Pt1Num; - } - set - { - if ((this._Pt1Num != value)) - { - this._Pt1Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalNum1", DbType="Int")] - public System.Nullable TotalNum1 - { - get - { - return this._TotalNum1; - } - set - { - if ((this._TotalNum1 != value)) - { - this._TotalNum1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mt2Num", DbType="Int NOT NULL")] - public int Mt2Num - { - get - { - return this._Mt2Num; - } - set - { - if ((this._Mt2Num != value)) - { - this._Mt2Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Pt2Num", DbType="Int NOT NULL")] - public int Pt2Num - { - get - { - return this._Pt2Num; - } - set - { - if ((this._Pt2Num != value)) - { - this._Pt2Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalNum2", DbType="Int")] - public System.Nullable TotalNum2 - { - get - { - return this._TotalNum2; - } - set - { - if ((this._TotalNum2 != value)) - { - this._TotalNum2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Rt3Num", DbType="Int NOT NULL")] - public int Rt3Num - { - get - { - return this._Rt3Num; - } - set - { - if ((this._Rt3Num != value)) - { - this._Rt3Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ut3Num", DbType="Int NOT NULL")] - public int Ut3Num - { - get - { - return this._Ut3Num; - } - set - { - if ((this._Ut3Num != value)) - { - this._Ut3Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Mt3Num", DbType="Int NOT NULL")] - public int Mt3Num - { - get - { - return this._Mt3Num; - } - set - { - if ((this._Mt3Num != value)) - { - this._Mt3Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Pt3Num", DbType="Int NOT NULL")] - public int Pt3Num - { - get - { - return this._Pt3Num; - } - set - { - if ((this._Pt3Num != value)) - { - this._Pt3Num = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalNum3", DbType="Int")] - public System.Nullable TotalNum3 - { - get - { - return this._TotalNum3; - } - set - { - if ((this._TotalNum3 != value)) - { - this._TotalNum3 = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_WeldingProcedure")] - public partial class HJGL_View_WeldingProcedure - { - - private string _WeldingProcedureId; - - private string _WeldingProcedureCode; - - private System.Nullable _CompileDate; - - private string _STE_ID1; - - private string _STE_Name1; - - private string _STE_ID2; - - private string _STE_Name2; - - private string _STE_NameT; - - private string _MaterialClassId1; - - private string _MaterialClass1; - - private string _MaterialClassId2; - - private string _MaterialClass2; - - private string _MaterialClassT; - - private string _MaterialGroupId1; - - private string _MaterialGroup1; - - private string _MaterialGroupId2; - - private string _MaterialGroup2; - - private string _MaterialGroupT; - - private string _Specifications; - - private string _WeldingModel; - - private string _WeldingGrade; - - private string _WeldingSpecifications; - - private string _WeldingPosition; - - private string _WeldingMethodId; - - private string _WeldMethodName; - - private string _StandardCode; - - private string _StandardId; - - private string _Remark; - - private string _AttachUrl; - - private System.Nullable _MinImpactThickness; - - private System.Nullable _MaxImpactThickness; - - private System.Nullable _NoMinImpactThickness; - - private System.Nullable _NoMaxImpactThickness; - - private System.Nullable _MinImpactDia; - - private System.Nullable _MaxImpactDia; - - private System.Nullable _IsHotTreatment; - - private string _IsHotTreatmentName; - - public HJGL_View_WeldingProcedure() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string WeldingProcedureId - { - get - { - return this._WeldingProcedureId; - } - set - { - if ((this._WeldingProcedureId != value)) - { - this._WeldingProcedureId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureCode", DbType="NVarChar(50)")] - public string WeldingProcedureCode - { - get - { - return this._WeldingProcedureCode; - } - set - { - if ((this._WeldingProcedureCode != value)) - { - this._WeldingProcedureCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this._CompileDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID1", DbType="VarChar(50)")] - public string STE_ID1 - { - get - { - return this._STE_ID1; - } - set - { - if ((this._STE_ID1 != value)) - { - this._STE_ID1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name1", DbType="NVarChar(50)")] - public string STE_Name1 - { - get - { - return this._STE_Name1; - } - set - { - if ((this._STE_Name1 != value)) - { - this._STE_Name1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID2", DbType="VarChar(50)")] - public string STE_ID2 - { - get - { - return this._STE_ID2; - } - set - { - if ((this._STE_ID2 != value)) - { - this._STE_ID2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name2", DbType="NVarChar(50)")] - public string STE_Name2 - { - get - { - return this._STE_Name2; - } - set - { - if ((this._STE_Name2 != value)) - { - this._STE_Name2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_NameT", DbType="NVarChar(101)")] - public string STE_NameT - { - get - { - return this._STE_NameT; - } - set - { - if ((this._STE_NameT != value)) - { - this._STE_NameT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClassId1", DbType="NVarChar(50)")] - public string MaterialClassId1 - { - get - { - return this._MaterialClassId1; - } - set - { - if ((this._MaterialClassId1 != value)) - { - this._MaterialClassId1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClass1", DbType="NVarChar(50)")] - public string MaterialClass1 - { - get - { - return this._MaterialClass1; - } - set - { - if ((this._MaterialClass1 != value)) - { - this._MaterialClass1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClassId2", DbType="NVarChar(50)")] - public string MaterialClassId2 - { - get - { - return this._MaterialClassId2; - } - set - { - if ((this._MaterialClassId2 != value)) - { - this._MaterialClassId2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClass2", DbType="NVarChar(50)")] - public string MaterialClass2 - { - get - { - return this._MaterialClass2; - } - set - { - if ((this._MaterialClass2 != value)) - { - this._MaterialClass2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialClassT", DbType="NVarChar(101)")] - public string MaterialClassT - { - get - { - return this._MaterialClassT; - } - set - { - if ((this._MaterialClassT != value)) - { - this._MaterialClassT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroupId1", DbType="NVarChar(50)")] - public string MaterialGroupId1 - { - get - { - return this._MaterialGroupId1; - } - set - { - if ((this._MaterialGroupId1 != value)) - { - this._MaterialGroupId1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroup1", DbType="NVarChar(50)")] - public string MaterialGroup1 - { - get - { - return this._MaterialGroup1; - } - set - { - if ((this._MaterialGroup1 != value)) - { - this._MaterialGroup1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroupId2", DbType="NVarChar(50)")] - public string MaterialGroupId2 - { - get - { - return this._MaterialGroupId2; - } - set - { - if ((this._MaterialGroupId2 != value)) - { - this._MaterialGroupId2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroup2", DbType="NVarChar(50)")] - public string MaterialGroup2 - { - get - { - return this._MaterialGroup2; - } - set - { - if ((this._MaterialGroup2 != value)) - { - this._MaterialGroup2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGroupT", DbType="NVarChar(101)")] - public string MaterialGroupT - { - get - { - return this._MaterialGroupT; - } - set - { - if ((this._MaterialGroupT != value)) - { - this._MaterialGroupT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(100)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this._Specifications = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingModel", DbType="NVarChar(100)")] - public string WeldingModel - { - get - { - return this._WeldingModel; - } - set - { - if ((this._WeldingModel != value)) - { - this._WeldingModel = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingGrade", DbType="NVarChar(100)")] - public string WeldingGrade - { - get - { - return this._WeldingGrade; - } - set - { - if ((this._WeldingGrade != value)) - { - this._WeldingGrade = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingSpecifications", DbType="NVarChar(100)")] - public string WeldingSpecifications - { - get - { - return this._WeldingSpecifications; - } - set - { - if ((this._WeldingSpecifications != value)) - { - this._WeldingSpecifications = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingPosition", DbType="NVarChar(50)")] - public string WeldingPosition - { - get - { - return this._WeldingPosition; - } - set - { - if ((this._WeldingPosition != value)) - { - this._WeldingPosition = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingMethodId", DbType="VarChar(50)")] - public string WeldingMethodId - { - get - { - return this._WeldingMethodId; - } - set - { - if ((this._WeldingMethodId != value)) - { - this._WeldingMethodId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethodName", DbType="VarChar(50)")] - public string WeldMethodName - { - get - { - return this._WeldMethodName; - } - set - { - if ((this._WeldMethodName != value)) - { - this._WeldMethodName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardCode", DbType="NVarChar(50)")] - public string StandardCode - { - get - { - return this._StandardCode; - } - set - { - if ((this._StandardCode != value)) - { - this._StandardCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardId", DbType="NVarChar(50)")] - public string StandardId - { - get - { - return this._StandardId; - } - set - { - if ((this._StandardId != value)) - { - this._StandardId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(1000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this._AttachUrl = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MinImpactThickness", DbType="Decimal(18,4)")] - public System.Nullable MinImpactThickness - { - get - { - return this._MinImpactThickness; - } - set - { - if ((this._MinImpactThickness != value)) - { - this._MinImpactThickness = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxImpactThickness", DbType="Decimal(18,4)")] - public System.Nullable MaxImpactThickness - { - get - { - return this._MaxImpactThickness; - } - set - { - if ((this._MaxImpactThickness != value)) - { - this._MaxImpactThickness = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoMinImpactThickness", DbType="Decimal(18,4)")] - public System.Nullable NoMinImpactThickness - { - get - { - return this._NoMinImpactThickness; - } - set - { - if ((this._NoMinImpactThickness != value)) - { - this._NoMinImpactThickness = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoMaxImpactThickness", DbType="Decimal(18,4)")] - public System.Nullable NoMaxImpactThickness - { - get - { - return this._NoMaxImpactThickness; - } - set - { - if ((this._NoMaxImpactThickness != value)) - { - this._NoMaxImpactThickness = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MinImpactDia", DbType="Decimal(18,4)")] - public System.Nullable MinImpactDia - { - get - { - return this._MinImpactDia; - } - set - { - if ((this._MinImpactDia != value)) - { - this._MinImpactDia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxImpactDia", DbType="Decimal(18,4)")] - public System.Nullable MaxImpactDia - { - get - { - return this._MaxImpactDia; - } - set - { - if ((this._MaxImpactDia != value)) - { - this._MaxImpactDia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotTreatment", DbType="Bit")] - public System.Nullable IsHotTreatment - { - get - { - return this._IsHotTreatment; - } - set - { - if ((this._IsHotTreatment != value)) - { - this._IsHotTreatment = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotTreatmentName", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string IsHotTreatmentName - { - get - { - return this._IsHotTreatmentName; - } - set - { - if ((this._IsHotTreatmentName != value)) - { - this._IsHotTreatmentName = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_View_WeldRepairCard")] - public partial class HJGL_View_WeldRepairCard - { - - private string _WeldRepairCardId; - - private string _ProjectId; - - private string _ProjectName; - - private string _WeldRepairCardCode; - - private string _JOT_ID; - - private string _JOT_JointNo; - - private string _InstallationName; - - private string _UnitName; - - private string _WorkAreaCode; - - private string _ISO_IsoNo; - - private string _STE_Name; - - private string _JOT_JointDesc; - - private string _CHT_RepairLocation; - - private string _WED_Code; - - private string _RepairPart; - - private string _RepairLength; - - private string _WeldingProcedureCode; - - private string _RepairNum; - - private string _Grade1; - - private string _Specifications1; - - private string _BakingSpecifications1; - - private string _Time1; - - private string _Dosage1; - - private string _Grade2; - - private string _Specifications2; - - private string _BakingSpecifications2; - - private string _Time2; - - private string _Dosage2; - - private string _Grade3; - - private string _Specifications3; - - private string _BakingSpecifications3; - - private string _Time3; - - private string _Dosage3; - - private string _Grade4; - - private string _Specifications4; - - private string _BakingSpecifications4; - - private string _Time4; - - private string _Dosage4; - - private string _RepairStep1; - - private string _RepairStep2; - - private string _RepairStep3; - - private string _RepairStep4; - - private string _RepairStep5; - - private string _Layer1; - - private string _WeldMethod1; - - private string _PowerPolarity1; - - private string _WeldGrade1; - - private string _Dia1; - - private string _PreTemp1; - - private string _LayerTemp1; - - private string _Current1; - - private string _Voltage1; - - private string _Speed1; - - private string _AfterTemp1; - - private string _Layer2; - - private string _WeldMethod2; - - private string _PowerPolarity2; - - private string _WeldGrade2; - - private string _Dia2; - - private string _PreTemp2; - - private string _LayerTemp2; - - private string _Current2; - - private string _Voltage2; - - private string _Speed2; - - private string _AfterTemp2; - - private string _Layer3; - - private string _WeldMethod3; - - private string _PowerPolarity3; - - private string _WeldGrade3; - - private string _Dia3; - - private string _PreTemp3; - - private string _LayerTemp3; - - private string _Current3; - - private string _Voltage3; - - private string _Speed3; - - private string _AfterTemp3; - - private string _Layer4; - - private string _WeldMethod4; - - private string _PowerPolarity4; - - private string _WeldGrade4; - - private string _Dia4; - - private string _PreTemp4; - - private string _LayerTemp4; - - private string _Current4; - - private string _Voltage4; - - private string _Speed4; - - private string _AfterTemp4; - - private string _Layer5; - - private string _WeldMethod5; - - private string _PowerPolarity5; - - private string _WeldGrade5; - - private string _Dia5; - - private string _PreTemp5; - - private string _LayerTemp5; - - private string _Current5; - - private string _Voltage5; - - private string _Speed5; - - private string _AfterTemp5; - - private string _Layer6; - - private string _WeldMethod6; - - private string _PowerPolarity6; - - private string _WeldGrade6; - - private string _Dia6; - - private string _PreTemp6; - - private string _LayerTemp6; - - private string _Current6; - - private string _Voltage6; - - private string _Speed6; - - private string _AfterTemp6; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _ExamineMan; - - private System.Nullable _ExamineDate; - - public HJGL_View_WeldRepairCard() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldRepairCardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string WeldRepairCardId - { - get - { - return this._WeldRepairCardId; - } - set - { - if ((this._WeldRepairCardId != value)) - { - this._WeldRepairCardId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this._ProjectName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldRepairCardCode", DbType="NVarChar(50)")] - public string WeldRepairCardCode - { - get - { - return this._WeldRepairCardCode; - } - set - { - if ((this._WeldRepairCardCode != value)) - { - this._WeldRepairCardCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationName", DbType="NVarChar(50)")] - public string InstallationName - { - get - { - return this._InstallationName; - } - set - { - if ((this._InstallationName != value)) - { - this._InstallationName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaCode", DbType="NVarChar(20)")] - public string WorkAreaCode - { - get - { - return this._WorkAreaCode; - } - set - { - if ((this._WorkAreaCode != value)) - { - this._WorkAreaCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name", DbType="NVarChar(50)")] - public string STE_Name - { - get - { - return this._STE_Name; - } - set - { - if ((this._STE_Name != value)) - { - this._STE_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointDesc", DbType="VarChar(100)")] - public string JOT_JointDesc - { - get - { - return this._JOT_JointDesc; - } - set - { - if ((this._JOT_JointDesc != value)) - { - this._JOT_JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHT_RepairLocation", DbType="VarChar(20)")] - public string CHT_RepairLocation - { - get - { - return this._CHT_RepairLocation; - } - set - { - if ((this._CHT_RepairLocation != value)) - { - this._CHT_RepairLocation = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="VarChar(20)")] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairPart", DbType="NVarChar(50)")] - public string RepairPart - { - get - { - return this._RepairPart; - } - set - { - if ((this._RepairPart != value)) - { - this._RepairPart = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairLength", DbType="NVarChar(50)")] - public string RepairLength - { - get - { - return this._RepairLength; - } - set - { - if ((this._RepairLength != value)) - { - this._RepairLength = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureCode", DbType="NVarChar(50)")] - public string WeldingProcedureCode - { - get - { - return this._WeldingProcedureCode; - } - set - { - if ((this._WeldingProcedureCode != value)) - { - this._WeldingProcedureCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="NVarChar(50)")] - public string RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this._RepairNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grade1", DbType="NVarChar(50)")] - public string Grade1 - { - get - { - return this._Grade1; - } - set - { - if ((this._Grade1 != value)) - { - this._Grade1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications1", DbType="NVarChar(50)")] - public string Specifications1 - { - get - { - return this._Specifications1; - } - set - { - if ((this._Specifications1 != value)) - { - this._Specifications1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakingSpecifications1", DbType="NVarChar(50)")] - public string BakingSpecifications1 - { - get - { - return this._BakingSpecifications1; - } - set - { - if ((this._BakingSpecifications1 != value)) - { - this._BakingSpecifications1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time1", DbType="NVarChar(50)")] - public string Time1 - { - get - { - return this._Time1; - } - set - { - if ((this._Time1 != value)) - { - this._Time1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dosage1", DbType="NVarChar(50)")] - public string Dosage1 - { - get - { - return this._Dosage1; - } - set - { - if ((this._Dosage1 != value)) - { - this._Dosage1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grade2", DbType="NVarChar(50)")] - public string Grade2 - { - get - { - return this._Grade2; - } - set - { - if ((this._Grade2 != value)) - { - this._Grade2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications2", DbType="NVarChar(50)")] - public string Specifications2 - { - get - { - return this._Specifications2; - } - set - { - if ((this._Specifications2 != value)) - { - this._Specifications2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakingSpecifications2", DbType="NVarChar(50)")] - public string BakingSpecifications2 - { - get - { - return this._BakingSpecifications2; - } - set - { - if ((this._BakingSpecifications2 != value)) - { - this._BakingSpecifications2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time2", DbType="NVarChar(50)")] - public string Time2 - { - get - { - return this._Time2; - } - set - { - if ((this._Time2 != value)) - { - this._Time2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dosage2", DbType="NVarChar(50)")] - public string Dosage2 - { - get - { - return this._Dosage2; - } - set - { - if ((this._Dosage2 != value)) - { - this._Dosage2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grade3", DbType="NVarChar(50)")] - public string Grade3 - { - get - { - return this._Grade3; - } - set - { - if ((this._Grade3 != value)) - { - this._Grade3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications3", DbType="NVarChar(50)")] - public string Specifications3 - { - get - { - return this._Specifications3; - } - set - { - if ((this._Specifications3 != value)) - { - this._Specifications3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakingSpecifications3", DbType="NVarChar(50)")] - public string BakingSpecifications3 - { - get - { - return this._BakingSpecifications3; - } - set - { - if ((this._BakingSpecifications3 != value)) - { - this._BakingSpecifications3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time3", DbType="NVarChar(50)")] - public string Time3 - { - get - { - return this._Time3; - } - set - { - if ((this._Time3 != value)) - { - this._Time3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dosage3", DbType="NVarChar(50)")] - public string Dosage3 - { - get - { - return this._Dosage3; - } - set - { - if ((this._Dosage3 != value)) - { - this._Dosage3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grade4", DbType="NVarChar(50)")] - public string Grade4 - { - get - { - return this._Grade4; - } - set - { - if ((this._Grade4 != value)) - { - this._Grade4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications4", DbType="NVarChar(50)")] - public string Specifications4 - { - get - { - return this._Specifications4; - } - set - { - if ((this._Specifications4 != value)) - { - this._Specifications4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakingSpecifications4", DbType="NVarChar(50)")] - public string BakingSpecifications4 - { - get - { - return this._BakingSpecifications4; - } - set - { - if ((this._BakingSpecifications4 != value)) - { - this._BakingSpecifications4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time4", DbType="NVarChar(50)")] - public string Time4 - { - get - { - return this._Time4; - } - set - { - if ((this._Time4 != value)) - { - this._Time4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dosage4", DbType="NVarChar(50)")] - public string Dosage4 - { - get - { - return this._Dosage4; - } - set - { - if ((this._Dosage4 != value)) - { - this._Dosage4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep1", DbType="NVarChar(500)")] - public string RepairStep1 - { - get - { - return this._RepairStep1; - } - set - { - if ((this._RepairStep1 != value)) - { - this._RepairStep1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep2", DbType="NVarChar(500)")] - public string RepairStep2 - { - get - { - return this._RepairStep2; - } - set - { - if ((this._RepairStep2 != value)) - { - this._RepairStep2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep3", DbType="NVarChar(500)")] - public string RepairStep3 - { - get - { - return this._RepairStep3; - } - set - { - if ((this._RepairStep3 != value)) - { - this._RepairStep3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep4", DbType="NVarChar(500)")] - public string RepairStep4 - { - get - { - return this._RepairStep4; - } - set - { - if ((this._RepairStep4 != value)) - { - this._RepairStep4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep5", DbType="NVarChar(500)")] - public string RepairStep5 - { - get - { - return this._RepairStep5; - } - set - { - if ((this._RepairStep5 != value)) - { - this._RepairStep5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer1", DbType="NVarChar(50)")] - public string Layer1 - { - get - { - return this._Layer1; - } - set - { - if ((this._Layer1 != value)) - { - this._Layer1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod1", DbType="NVarChar(50)")] - public string WeldMethod1 - { - get - { - return this._WeldMethod1; - } - set - { - if ((this._WeldMethod1 != value)) - { - this._WeldMethod1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity1", DbType="NVarChar(50)")] - public string PowerPolarity1 - { - get - { - return this._PowerPolarity1; - } - set - { - if ((this._PowerPolarity1 != value)) - { - this._PowerPolarity1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade1", DbType="NVarChar(50)")] - public string WeldGrade1 - { - get - { - return this._WeldGrade1; - } - set - { - if ((this._WeldGrade1 != value)) - { - this._WeldGrade1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia1", DbType="NVarChar(50)")] - public string Dia1 - { - get - { - return this._Dia1; - } - set - { - if ((this._Dia1 != value)) - { - this._Dia1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp1", DbType="NVarChar(50)")] - public string PreTemp1 - { - get - { - return this._PreTemp1; - } - set - { - if ((this._PreTemp1 != value)) - { - this._PreTemp1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp1", DbType="NVarChar(50)")] - public string LayerTemp1 - { - get - { - return this._LayerTemp1; - } - set - { - if ((this._LayerTemp1 != value)) - { - this._LayerTemp1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current1", DbType="NVarChar(50)")] - public string Current1 - { - get - { - return this._Current1; - } - set - { - if ((this._Current1 != value)) - { - this._Current1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage1", DbType="NVarChar(50)")] - public string Voltage1 - { - get - { - return this._Voltage1; - } - set - { - if ((this._Voltage1 != value)) - { - this._Voltage1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed1", DbType="NVarChar(50)")] - public string Speed1 - { - get - { - return this._Speed1; - } - set - { - if ((this._Speed1 != value)) - { - this._Speed1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp1", DbType="NVarChar(50)")] - public string AfterTemp1 - { - get - { - return this._AfterTemp1; - } - set - { - if ((this._AfterTemp1 != value)) - { - this._AfterTemp1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer2", DbType="NVarChar(50)")] - public string Layer2 - { - get - { - return this._Layer2; - } - set - { - if ((this._Layer2 != value)) - { - this._Layer2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod2", DbType="NVarChar(50)")] - public string WeldMethod2 - { - get - { - return this._WeldMethod2; - } - set - { - if ((this._WeldMethod2 != value)) - { - this._WeldMethod2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity2", DbType="NVarChar(50)")] - public string PowerPolarity2 - { - get - { - return this._PowerPolarity2; - } - set - { - if ((this._PowerPolarity2 != value)) - { - this._PowerPolarity2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade2", DbType="NVarChar(50)")] - public string WeldGrade2 - { - get - { - return this._WeldGrade2; - } - set - { - if ((this._WeldGrade2 != value)) - { - this._WeldGrade2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia2", DbType="NVarChar(50)")] - public string Dia2 - { - get - { - return this._Dia2; - } - set - { - if ((this._Dia2 != value)) - { - this._Dia2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp2", DbType="NVarChar(50)")] - public string PreTemp2 - { - get - { - return this._PreTemp2; - } - set - { - if ((this._PreTemp2 != value)) - { - this._PreTemp2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp2", DbType="NVarChar(50)")] - public string LayerTemp2 - { - get - { - return this._LayerTemp2; - } - set - { - if ((this._LayerTemp2 != value)) - { - this._LayerTemp2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current2", DbType="NVarChar(50)")] - public string Current2 - { - get - { - return this._Current2; - } - set - { - if ((this._Current2 != value)) - { - this._Current2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage2", DbType="NVarChar(50)")] - public string Voltage2 - { - get - { - return this._Voltage2; - } - set - { - if ((this._Voltage2 != value)) - { - this._Voltage2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed2", DbType="NVarChar(50)")] - public string Speed2 - { - get - { - return this._Speed2; - } - set - { - if ((this._Speed2 != value)) - { - this._Speed2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp2", DbType="NVarChar(50)")] - public string AfterTemp2 - { - get - { - return this._AfterTemp2; - } - set - { - if ((this._AfterTemp2 != value)) - { - this._AfterTemp2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer3", DbType="NVarChar(50)")] - public string Layer3 - { - get - { - return this._Layer3; - } - set - { - if ((this._Layer3 != value)) - { - this._Layer3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod3", DbType="NVarChar(50)")] - public string WeldMethod3 - { - get - { - return this._WeldMethod3; - } - set - { - if ((this._WeldMethod3 != value)) - { - this._WeldMethod3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity3", DbType="NVarChar(50)")] - public string PowerPolarity3 - { - get - { - return this._PowerPolarity3; - } - set - { - if ((this._PowerPolarity3 != value)) - { - this._PowerPolarity3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade3", DbType="NVarChar(50)")] - public string WeldGrade3 - { - get - { - return this._WeldGrade3; - } - set - { - if ((this._WeldGrade3 != value)) - { - this._WeldGrade3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia3", DbType="NVarChar(50)")] - public string Dia3 - { - get - { - return this._Dia3; - } - set - { - if ((this._Dia3 != value)) - { - this._Dia3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp3", DbType="NVarChar(50)")] - public string PreTemp3 - { - get - { - return this._PreTemp3; - } - set - { - if ((this._PreTemp3 != value)) - { - this._PreTemp3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp3", DbType="NVarChar(50)")] - public string LayerTemp3 - { - get - { - return this._LayerTemp3; - } - set - { - if ((this._LayerTemp3 != value)) - { - this._LayerTemp3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current3", DbType="NVarChar(50)")] - public string Current3 - { - get - { - return this._Current3; - } - set - { - if ((this._Current3 != value)) - { - this._Current3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage3", DbType="NVarChar(50)")] - public string Voltage3 - { - get - { - return this._Voltage3; - } - set - { - if ((this._Voltage3 != value)) - { - this._Voltage3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed3", DbType="NVarChar(50)")] - public string Speed3 - { - get - { - return this._Speed3; - } - set - { - if ((this._Speed3 != value)) - { - this._Speed3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp3", DbType="NVarChar(50)")] - public string AfterTemp3 - { - get - { - return this._AfterTemp3; - } - set - { - if ((this._AfterTemp3 != value)) - { - this._AfterTemp3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer4", DbType="NVarChar(50)")] - public string Layer4 - { - get - { - return this._Layer4; - } - set - { - if ((this._Layer4 != value)) - { - this._Layer4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod4", DbType="NVarChar(50)")] - public string WeldMethod4 - { - get - { - return this._WeldMethod4; - } - set - { - if ((this._WeldMethod4 != value)) - { - this._WeldMethod4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity4", DbType="NVarChar(50)")] - public string PowerPolarity4 - { - get - { - return this._PowerPolarity4; - } - set - { - if ((this._PowerPolarity4 != value)) - { - this._PowerPolarity4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade4", DbType="NVarChar(50)")] - public string WeldGrade4 - { - get - { - return this._WeldGrade4; - } - set - { - if ((this._WeldGrade4 != value)) - { - this._WeldGrade4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia4", DbType="NVarChar(50)")] - public string Dia4 - { - get - { - return this._Dia4; - } - set - { - if ((this._Dia4 != value)) - { - this._Dia4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp4", DbType="NVarChar(50)")] - public string PreTemp4 - { - get - { - return this._PreTemp4; - } - set - { - if ((this._PreTemp4 != value)) - { - this._PreTemp4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp4", DbType="NVarChar(50)")] - public string LayerTemp4 - { - get - { - return this._LayerTemp4; - } - set - { - if ((this._LayerTemp4 != value)) - { - this._LayerTemp4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current4", DbType="NVarChar(50)")] - public string Current4 - { - get - { - return this._Current4; - } - set - { - if ((this._Current4 != value)) - { - this._Current4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage4", DbType="NVarChar(50)")] - public string Voltage4 - { - get - { - return this._Voltage4; - } - set - { - if ((this._Voltage4 != value)) - { - this._Voltage4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed4", DbType="NVarChar(50)")] - public string Speed4 - { - get - { - return this._Speed4; - } - set - { - if ((this._Speed4 != value)) - { - this._Speed4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp4", DbType="NVarChar(50)")] - public string AfterTemp4 - { - get - { - return this._AfterTemp4; - } - set - { - if ((this._AfterTemp4 != value)) - { - this._AfterTemp4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer5", DbType="NVarChar(50)")] - public string Layer5 - { - get - { - return this._Layer5; - } - set - { - if ((this._Layer5 != value)) - { - this._Layer5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod5", DbType="NVarChar(50)")] - public string WeldMethod5 - { - get - { - return this._WeldMethod5; - } - set - { - if ((this._WeldMethod5 != value)) - { - this._WeldMethod5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity5", DbType="NVarChar(50)")] - public string PowerPolarity5 - { - get - { - return this._PowerPolarity5; - } - set - { - if ((this._PowerPolarity5 != value)) - { - this._PowerPolarity5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade5", DbType="NVarChar(50)")] - public string WeldGrade5 - { - get - { - return this._WeldGrade5; - } - set - { - if ((this._WeldGrade5 != value)) - { - this._WeldGrade5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia5", DbType="NVarChar(50)")] - public string Dia5 - { - get - { - return this._Dia5; - } - set - { - if ((this._Dia5 != value)) - { - this._Dia5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp5", DbType="NVarChar(50)")] - public string PreTemp5 - { - get - { - return this._PreTemp5; - } - set - { - if ((this._PreTemp5 != value)) - { - this._PreTemp5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp5", DbType="NVarChar(50)")] - public string LayerTemp5 - { - get - { - return this._LayerTemp5; - } - set - { - if ((this._LayerTemp5 != value)) - { - this._LayerTemp5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current5", DbType="NVarChar(50)")] - public string Current5 - { - get - { - return this._Current5; - } - set - { - if ((this._Current5 != value)) - { - this._Current5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage5", DbType="NVarChar(50)")] - public string Voltage5 - { - get - { - return this._Voltage5; - } - set - { - if ((this._Voltage5 != value)) - { - this._Voltage5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed5", DbType="NVarChar(50)")] - public string Speed5 - { - get - { - return this._Speed5; - } - set - { - if ((this._Speed5 != value)) - { - this._Speed5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp5", DbType="NVarChar(50)")] - public string AfterTemp5 - { - get - { - return this._AfterTemp5; - } - set - { - if ((this._AfterTemp5 != value)) - { - this._AfterTemp5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer6", DbType="NVarChar(50)")] - public string Layer6 - { - get - { - return this._Layer6; - } - set - { - if ((this._Layer6 != value)) - { - this._Layer6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod6", DbType="NVarChar(50)")] - public string WeldMethod6 - { - get - { - return this._WeldMethod6; - } - set - { - if ((this._WeldMethod6 != value)) - { - this._WeldMethod6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity6", DbType="NVarChar(50)")] - public string PowerPolarity6 - { - get - { - return this._PowerPolarity6; - } - set - { - if ((this._PowerPolarity6 != value)) - { - this._PowerPolarity6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade6", DbType="NVarChar(50)")] - public string WeldGrade6 - { - get - { - return this._WeldGrade6; - } - set - { - if ((this._WeldGrade6 != value)) - { - this._WeldGrade6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia6", DbType="NVarChar(50)")] - public string Dia6 - { - get - { - return this._Dia6; - } - set - { - if ((this._Dia6 != value)) - { - this._Dia6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp6", DbType="NVarChar(50)")] - public string PreTemp6 - { - get - { - return this._PreTemp6; - } - set - { - if ((this._PreTemp6 != value)) - { - this._PreTemp6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp6", DbType="NVarChar(50)")] - public string LayerTemp6 - { - get - { - return this._LayerTemp6; - } - set - { - if ((this._LayerTemp6 != value)) - { - this._LayerTemp6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current6", DbType="NVarChar(50)")] - public string Current6 - { - get - { - return this._Current6; - } - set - { - if ((this._Current6 != value)) - { - this._Current6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage6", DbType="NVarChar(50)")] - public string Voltage6 - { - get - { - return this._Voltage6; - } - set - { - if ((this._Voltage6 != value)) - { - this._Voltage6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed6", DbType="NVarChar(50)")] - public string Speed6 - { - get - { - return this._Speed6; - } - set - { - if ((this._Speed6 != value)) - { - this._Speed6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp6", DbType="NVarChar(50)")] - public string AfterTemp6 - { - get - { - return this._AfterTemp6; - } - set - { - if ((this._AfterTemp6 != value)) - { - this._AfterTemp6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - this._CompileMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this._CompileDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExamineMan", DbType="NVarChar(50)")] - public string ExamineMan - { - get - { - return this._ExamineMan; - } - set - { - if ((this._ExamineMan != value)) - { - this._ExamineMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExamineDate", DbType="DateTime")] - public System.Nullable ExamineDate - { - get - { - return this._ExamineDate; - } - set - { - if ((this._ExamineDate != value)) - { - this._ExamineDate = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_WeldingManage_TestingParameters")] - public partial class HJGL_WeldingManage_TestingParameters : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _TestingParametersId; - - private string _WeldSpecification; - - private string _STE_ID; - - private string _TestingTime; - - private System.Nullable _IsHot; - - private string _ImageQualityModel; - - private string _WireDiameterCode; - - private string _TestingEquipment; - - private string _FilmModel; - - private string _IntensifyingWay; - - private string _TubeVoltage; - - private string _SourceActivity; - - private string _ExposureTime; - - private string _TransilluminationMode; - - private string _FocalLength; - - private System.Nullable _TransilluminationNum; - - private System.Nullable _EffectiveLength; - - private EntityRef _HJGL_BS_Steel; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnTestingParametersIdChanging(string value); - partial void OnTestingParametersIdChanged(); - partial void OnWeldSpecificationChanging(string value); - partial void OnWeldSpecificationChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnTestingTimeChanging(string value); - partial void OnTestingTimeChanged(); - partial void OnIsHotChanging(System.Nullable value); - partial void OnIsHotChanged(); - partial void OnImageQualityModelChanging(string value); - partial void OnImageQualityModelChanged(); - partial void OnWireDiameterCodeChanging(string value); - partial void OnWireDiameterCodeChanged(); - partial void OnTestingEquipmentChanging(string value); - partial void OnTestingEquipmentChanged(); - partial void OnFilmModelChanging(string value); - partial void OnFilmModelChanged(); - partial void OnIntensifyingWayChanging(string value); - partial void OnIntensifyingWayChanged(); - partial void OnTubeVoltageChanging(string value); - partial void OnTubeVoltageChanged(); - partial void OnSourceActivityChanging(string value); - partial void OnSourceActivityChanged(); - partial void OnExposureTimeChanging(string value); - partial void OnExposureTimeChanged(); - partial void OnTransilluminationModeChanging(string value); - partial void OnTransilluminationModeChanged(); - partial void OnFocalLengthChanging(string value); - partial void OnFocalLengthChanged(); - partial void OnTransilluminationNumChanging(System.Nullable value); - partial void OnTransilluminationNumChanged(); - partial void OnEffectiveLengthChanging(System.Nullable value); - partial void OnEffectiveLengthChanged(); - #endregion - - public HJGL_WeldingManage_TestingParameters() - { - this._HJGL_BS_Steel = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingParametersId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string TestingParametersId - { - get - { - return this._TestingParametersId; - } - set - { - if ((this._TestingParametersId != value)) - { - this.OnTestingParametersIdChanging(value); - this.SendPropertyChanging(); - this._TestingParametersId = value; - this.SendPropertyChanged("TestingParametersId"); - this.OnTestingParametersIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpecification", DbType="NVarChar(50)")] - public string WeldSpecification - { - get - { - return this._WeldSpecification; - } - set - { - if ((this._WeldSpecification != value)) - { - this.OnWeldSpecificationChanging(value); - this.SendPropertyChanging(); - this._WeldSpecification = value; - this.SendPropertyChanged("WeldSpecification"); - this.OnWeldSpecificationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingTime", DbType="NVarChar(50)")] - public string TestingTime - { - get - { - return this._TestingTime; - } - set - { - if ((this._TestingTime != value)) - { - this.OnTestingTimeChanging(value); - this.SendPropertyChanging(); - this._TestingTime = value; - this.SendPropertyChanged("TestingTime"); - this.OnTestingTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHot", DbType="Bit")] - public System.Nullable IsHot - { - get - { - return this._IsHot; - } - set - { - if ((this._IsHot != value)) - { - this.OnIsHotChanging(value); - this.SendPropertyChanging(); - this._IsHot = value; - this.SendPropertyChanged("IsHot"); - this.OnIsHotChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageQualityModel", DbType="NVarChar(50)")] - public string ImageQualityModel - { - get - { - return this._ImageQualityModel; - } - set - { - if ((this._ImageQualityModel != value)) - { - this.OnImageQualityModelChanging(value); - this.SendPropertyChanging(); - this._ImageQualityModel = value; - this.SendPropertyChanged("ImageQualityModel"); - this.OnImageQualityModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WireDiameterCode", DbType="NVarChar(50)")] - public string WireDiameterCode - { - get - { - return this._WireDiameterCode; - } - set - { - if ((this._WireDiameterCode != value)) - { - this.OnWireDiameterCodeChanging(value); - this.SendPropertyChanging(); - this._WireDiameterCode = value; - this.SendPropertyChanged("WireDiameterCode"); - this.OnWireDiameterCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingEquipment", DbType="Char(1)")] - public string TestingEquipment - { - get - { - return this._TestingEquipment; - } - set - { - if ((this._TestingEquipment != value)) - { - this.OnTestingEquipmentChanging(value); - this.SendPropertyChanging(); - this._TestingEquipment = value; - this.SendPropertyChanged("TestingEquipment"); - this.OnTestingEquipmentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmModel", DbType="NVarChar(50)")] - public string FilmModel - { - get - { - return this._FilmModel; - } - set - { - if ((this._FilmModel != value)) - { - this.OnFilmModelChanging(value); - this.SendPropertyChanging(); - this._FilmModel = value; - this.SendPropertyChanged("FilmModel"); - this.OnFilmModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IntensifyingWay", DbType="NVarChar(50)")] - public string IntensifyingWay - { - get - { - return this._IntensifyingWay; - } - set - { - if ((this._IntensifyingWay != value)) - { - this.OnIntensifyingWayChanging(value); - this.SendPropertyChanging(); - this._IntensifyingWay = value; - this.SendPropertyChanged("IntensifyingWay"); - this.OnIntensifyingWayChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TubeVoltage", DbType="NVarChar(50)")] - public string TubeVoltage - { - get - { - return this._TubeVoltage; - } - set - { - if ((this._TubeVoltage != value)) - { - this.OnTubeVoltageChanging(value); - this.SendPropertyChanging(); - this._TubeVoltage = value; - this.SendPropertyChanged("TubeVoltage"); - this.OnTubeVoltageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceActivity", DbType="NVarChar(50)")] - public string SourceActivity - { - get - { - return this._SourceActivity; - } - set - { - if ((this._SourceActivity != value)) - { - this.OnSourceActivityChanging(value); - this.SendPropertyChanging(); - this._SourceActivity = value; - this.SendPropertyChanged("SourceActivity"); - this.OnSourceActivityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExposureTime", DbType="NVarChar(50)")] - public string ExposureTime - { - get - { - return this._ExposureTime; - } - set - { - if ((this._ExposureTime != value)) - { - this.OnExposureTimeChanging(value); - this.SendPropertyChanging(); - this._ExposureTime = value; - this.SendPropertyChanged("ExposureTime"); - this.OnExposureTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransilluminationMode", DbType="NVarChar(50)")] - public string TransilluminationMode - { - get - { - return this._TransilluminationMode; - } - set - { - if ((this._TransilluminationMode != value)) - { - this.OnTransilluminationModeChanging(value); - this.SendPropertyChanging(); - this._TransilluminationMode = value; - this.SendPropertyChanged("TransilluminationMode"); - this.OnTransilluminationModeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FocalLength", DbType="NVarChar(50)")] - public string FocalLength - { - get - { - return this._FocalLength; - } - set - { - if ((this._FocalLength != value)) - { - this.OnFocalLengthChanging(value); - this.SendPropertyChanging(); - this._FocalLength = value; - this.SendPropertyChanged("FocalLength"); - this.OnFocalLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransilluminationNum", DbType="Int")] - public System.Nullable TransilluminationNum - { - get - { - return this._TransilluminationNum; - } - set - { - if ((this._TransilluminationNum != value)) - { - this.OnTransilluminationNumChanging(value); - this.SendPropertyChanging(); - this._TransilluminationNum = value; - this.SendPropertyChanged("TransilluminationNum"); - this.OnTransilluminationNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveLength", DbType="Decimal(18,4)")] - public System.Nullable EffectiveLength - { - get - { - return this._EffectiveLength; - } - set - { - if ((this._EffectiveLength != value)) - { - this.OnEffectiveLengthChanging(value); - this.SendPropertyChanging(); - this._EffectiveLength = value; - this.SendPropertyChanged("EffectiveLength"); - this.OnEffectiveLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingManage_TestingParameters_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel HJGL_BS_Steel - { - get - { - return this._HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Steel.Entity = null; - previousValue.HJGL_WeldingManage_TestingParameters.Remove(this); - } - this._HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingManage_TestingParameters.Add(this); - this._STE_ID = value.STE_ID; - } - else - { - this._STE_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Steel"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_WeldingProcedure_JointImage")] - public partial class HJGL_WeldingProcedure_JointImage : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _JointImageId; - - private string _JointImageName; - - private string _AttachUrl; - - private string _Remark; - - private EntitySet _HJGL_WeldingProcedure_JointImageItem; - - private EntitySet _HJGL_WeldingProcedure_WeldingProcessCard; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnJointImageIdChanging(string value); - partial void OnJointImageIdChanged(); - partial void OnJointImageNameChanging(string value); - partial void OnJointImageNameChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public HJGL_WeldingProcedure_JointImage() - { - this._HJGL_WeldingProcedure_JointImageItem = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_JointImageItem), new Action(this.detach_HJGL_WeldingProcedure_JointImageItem)); - this._HJGL_WeldingProcedure_WeldingProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldingProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldingProcessCard)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointImageId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string JointImageId - { - get - { - return this._JointImageId; - } - set - { - if ((this._JointImageId != value)) - { - this.OnJointImageIdChanging(value); - this.SendPropertyChanging(); - this._JointImageId = value; - this.SendPropertyChanged("JointImageId"); - this.OnJointImageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointImageName", DbType="NVarChar(200)")] - public string JointImageName - { - get - { - return this._JointImageName; - } - set - { - if ((this._JointImageName != value)) - { - this.OnJointImageNameChanging(value); - this.SendPropertyChanging(); - this._JointImageName = value; - this.SendPropertyChanged("JointImageName"); - this.OnJointImageNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(2000)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_JointImageItem_HJGL_WeldingProcedure_JointImage", Storage="_HJGL_WeldingProcedure_JointImageItem", ThisKey="JointImageId", OtherKey="JointImageId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_JointImageItem - { - get - { - return this._HJGL_WeldingProcedure_JointImageItem; - } - set - { - this._HJGL_WeldingProcedure_JointImageItem.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcessCard_HJGL_WeldingProcedure_JointImage", Storage="_HJGL_WeldingProcedure_WeldingProcessCard", ThisKey="JointImageId", OtherKey="JointImageId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldingProcessCard - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcessCard; - } - set - { - this._HJGL_WeldingProcedure_WeldingProcessCard.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_WeldingProcedure_JointImageItem(HJGL_WeldingProcedure_JointImageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_WeldingProcedure_JointImage = this; - } - - private void detach_HJGL_WeldingProcedure_JointImageItem(HJGL_WeldingProcedure_JointImageItem entity) - { - this.SendPropertyChanging(); - entity.HJGL_WeldingProcedure_JointImage = null; - } - - private void attach_HJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard entity) - { - this.SendPropertyChanging(); - entity.HJGL_WeldingProcedure_JointImage = this; - } - - private void detach_HJGL_WeldingProcedure_WeldingProcessCard(HJGL_WeldingProcedure_WeldingProcessCard entity) - { - this.SendPropertyChanging(); - entity.HJGL_WeldingProcedure_JointImage = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_WeldingProcedure_JointImageItem")] - public partial class HJGL_WeldingProcedure_JointImageItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _JointImageItemId; - - private string _JointImageId; - - private string _Code; - - private string _WME_ID; - - private string _WeldCurrent; - - private string _WeldVoltage; - - private string _WeldSpeed; - - private EntityRef _HJGL_BS_WeldMethod; - - private EntityRef _HJGL_WeldingProcedure_JointImage; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnJointImageItemIdChanging(string value); - partial void OnJointImageItemIdChanged(); - partial void OnJointImageIdChanging(string value); - partial void OnJointImageIdChanged(); - partial void OnCodeChanging(string value); - partial void OnCodeChanged(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - partial void OnWeldCurrentChanging(string value); - partial void OnWeldCurrentChanged(); - partial void OnWeldVoltageChanging(string value); - partial void OnWeldVoltageChanged(); - partial void OnWeldSpeedChanging(string value); - partial void OnWeldSpeedChanged(); - #endregion - - public HJGL_WeldingProcedure_JointImageItem() - { - this._HJGL_BS_WeldMethod = default(EntityRef); - this._HJGL_WeldingProcedure_JointImage = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointImageItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string JointImageItemId - { - get - { - return this._JointImageItemId; - } - set - { - if ((this._JointImageItemId != value)) - { - this.OnJointImageItemIdChanging(value); - this.SendPropertyChanging(); - this._JointImageItemId = value; - this.SendPropertyChanged("JointImageItemId"); - this.OnJointImageItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointImageId", DbType="NVarChar(50)")] - public string JointImageId - { - get - { - return this._JointImageId; - } - set - { - if ((this._JointImageId != value)) - { - if (this._HJGL_WeldingProcedure_JointImage.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJointImageIdChanging(value); - this.SendPropertyChanging(); - this._JointImageId = value; - this.SendPropertyChanged("JointImageId"); - this.OnJointImageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")] - public string Code - { - get - { - return this._Code; - } - set - { - if ((this._Code != value)) - { - this.OnCodeChanging(value); - this.SendPropertyChanging(); - this._Code = value; - this.SendPropertyChanged("Code"); - this.OnCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldCurrent", DbType="NVarChar(50)")] - public string WeldCurrent - { - get - { - return this._WeldCurrent; - } - set - { - if ((this._WeldCurrent != value)) - { - this.OnWeldCurrentChanging(value); - this.SendPropertyChanging(); - this._WeldCurrent = value; - this.SendPropertyChanged("WeldCurrent"); - this.OnWeldCurrentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldVoltage", DbType="NVarChar(50)")] - public string WeldVoltage - { - get - { - return this._WeldVoltage; - } - set - { - if ((this._WeldVoltage != value)) - { - this.OnWeldVoltageChanging(value); - this.SendPropertyChanging(); - this._WeldVoltage = value; - this.SendPropertyChanged("WeldVoltage"); - this.OnWeldVoltageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpeed", DbType="NVarChar(50)")] - public string WeldSpeed - { - get - { - return this._WeldSpeed; - } - set - { - if ((this._WeldSpeed != value)) - { - this.OnWeldSpeedChanging(value); - this.SendPropertyChanging(); - this._WeldSpeed = value; - this.SendPropertyChanged("WeldSpeed"); - this.OnWeldSpeedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_JointImageItem_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WME_ID", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_WeldingProcedure_JointImageItem.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_JointImageItem.Add(this); - this._WME_ID = value.WME_ID; - } - else - { - this._WME_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_JointImageItem_HJGL_WeldingProcedure_JointImage", Storage="_HJGL_WeldingProcedure_JointImage", ThisKey="JointImageId", OtherKey="JointImageId", IsForeignKey=true)] - public HJGL_WeldingProcedure_JointImage HJGL_WeldingProcedure_JointImage - { - get - { - return this._HJGL_WeldingProcedure_JointImage.Entity; - } - set - { - HJGL_WeldingProcedure_JointImage previousValue = this._HJGL_WeldingProcedure_JointImage.Entity; - if (((previousValue != value) - || (this._HJGL_WeldingProcedure_JointImage.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_WeldingProcedure_JointImage.Entity = null; - previousValue.HJGL_WeldingProcedure_JointImageItem.Remove(this); - } - this._HJGL_WeldingProcedure_JointImage.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_JointImageItem.Add(this); - this._JointImageId = value.JointImageId; - } - else - { - this._JointImageId = default(string); - } - this.SendPropertyChanged("HJGL_WeldingProcedure_JointImage"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_WeldingProcedure_MatchedProcedureMaterial")] - public partial class HJGL_WeldingProcedure_MatchedProcedureMaterial : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MatchedProcedureMaterialId; - - private string _ProjectId; - - private string _STE_ID1; - - private string _STE_ID2; - - private string _Specifications; - - private string _WeldingMethodId; - - private System.Nullable _Thickness; - - private System.Nullable _Dia; - - private System.Nullable _IsHotTreatment; - - private string _WeldingPosition; - - private string _WeldingProcedureId; - - private string _WeldingProcessCardId; - - private string _Remark; - - private string _Flag; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_BS_Steel; - - private EntityRef _STE_ID2HJGL_BS_Steel; - - private EntityRef _HJGL_BS_WeldMethod; - - private EntityRef _HJGL_WeldingProcedure_WeldingProcedure; - - private EntityRef _HJGL_WeldingProcedure_WeldingProcessCard; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMatchedProcedureMaterialIdChanging(string value); - partial void OnMatchedProcedureMaterialIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnSTE_ID1Changing(string value); - partial void OnSTE_ID1Changed(); - partial void OnSTE_ID2Changing(string value); - partial void OnSTE_ID2Changed(); - partial void OnSpecificationsChanging(string value); - partial void OnSpecificationsChanged(); - partial void OnWeldingMethodIdChanging(string value); - partial void OnWeldingMethodIdChanged(); - partial void OnThicknessChanging(System.Nullable value); - partial void OnThicknessChanged(); - partial void OnDiaChanging(System.Nullable value); - partial void OnDiaChanged(); - partial void OnIsHotTreatmentChanging(System.Nullable value); - partial void OnIsHotTreatmentChanged(); - partial void OnWeldingPositionChanging(string value); - partial void OnWeldingPositionChanged(); - partial void OnWeldingProcedureIdChanging(string value); - partial void OnWeldingProcedureIdChanged(); - partial void OnWeldingProcessCardIdChanging(string value); - partial void OnWeldingProcessCardIdChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnFlagChanging(string value); - partial void OnFlagChanged(); - #endregion - - public HJGL_WeldingProcedure_MatchedProcedureMaterial() - { - this._Base_Project = default(EntityRef); - this._HJGL_BS_Steel = default(EntityRef); - this._STE_ID2HJGL_BS_Steel = default(EntityRef); - this._HJGL_BS_WeldMethod = default(EntityRef); - this._HJGL_WeldingProcedure_WeldingProcedure = default(EntityRef); - this._HJGL_WeldingProcedure_WeldingProcessCard = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MatchedProcedureMaterialId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MatchedProcedureMaterialId - { - get - { - return this._MatchedProcedureMaterialId; - } - set - { - if ((this._MatchedProcedureMaterialId != value)) - { - this.OnMatchedProcedureMaterialIdChanging(value); - this.SendPropertyChanging(); - this._MatchedProcedureMaterialId = value; - this.SendPropertyChanged("MatchedProcedureMaterialId"); - this.OnMatchedProcedureMaterialIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID1", DbType="VarChar(50)")] - public string STE_ID1 - { - get - { - return this._STE_ID1; - } - set - { - if ((this._STE_ID1 != value)) - { - if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_ID1Changing(value); - this.SendPropertyChanging(); - this._STE_ID1 = value; - this.SendPropertyChanged("STE_ID1"); - this.OnSTE_ID1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID2", DbType="VarChar(50)")] - public string STE_ID2 - { - get - { - return this._STE_ID2; - } - set - { - if ((this._STE_ID2 != value)) - { - if (this._STE_ID2HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_ID2Changing(value); - this.SendPropertyChanging(); - this._STE_ID2 = value; - this.SendPropertyChanged("STE_ID2"); - this.OnSTE_ID2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(100)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this.OnSpecificationsChanging(value); - this.SendPropertyChanging(); - this._Specifications = value; - this.SendPropertyChanged("Specifications"); - this.OnSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingMethodId", DbType="VarChar(50)")] - public string WeldingMethodId - { - get - { - return this._WeldingMethodId; - } - set - { - if ((this._WeldingMethodId != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldingMethodIdChanging(value); - this.SendPropertyChanging(); - this._WeldingMethodId = value; - this.SendPropertyChanged("WeldingMethodId"); - this.OnWeldingMethodIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Thickness", DbType="Decimal(18,4)")] - public System.Nullable Thickness - { - get - { - return this._Thickness; - } - set - { - if ((this._Thickness != value)) - { - this.OnThicknessChanging(value); - this.SendPropertyChanging(); - this._Thickness = value; - this.SendPropertyChanged("Thickness"); - this.OnThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia", DbType="Decimal(18,4)")] - public System.Nullable Dia - { - get - { - return this._Dia; - } - set - { - if ((this._Dia != value)) - { - this.OnDiaChanging(value); - this.SendPropertyChanging(); - this._Dia = value; - this.SendPropertyChanged("Dia"); - this.OnDiaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotTreatment", DbType="Bit")] - public System.Nullable IsHotTreatment - { - get - { - return this._IsHotTreatment; - } - set - { - if ((this._IsHotTreatment != value)) - { - this.OnIsHotTreatmentChanging(value); - this.SendPropertyChanging(); - this._IsHotTreatment = value; - this.SendPropertyChanged("IsHotTreatment"); - this.OnIsHotTreatmentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingPosition", DbType="NVarChar(50)")] - public string WeldingPosition - { - get - { - return this._WeldingPosition; - } - set - { - if ((this._WeldingPosition != value)) - { - this.OnWeldingPositionChanging(value); - this.SendPropertyChanging(); - this._WeldingPosition = value; - this.SendPropertyChanged("WeldingPosition"); - this.OnWeldingPositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureId", DbType="NVarChar(50)")] - public string WeldingProcedureId - { - get - { - return this._WeldingProcedureId; - } - set - { - if ((this._WeldingProcedureId != value)) - { - if (this._HJGL_WeldingProcedure_WeldingProcedure.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldingProcedureIdChanging(value); - this.SendPropertyChanging(); - this._WeldingProcedureId = value; - this.SendPropertyChanged("WeldingProcedureId"); - this.OnWeldingProcedureIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcessCardId", DbType="NVarChar(50)")] - public string WeldingProcessCardId - { - get - { - return this._WeldingProcessCardId; - } - set - { - if ((this._WeldingProcessCardId != value)) - { - if (this._HJGL_WeldingProcedure_WeldingProcessCard.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldingProcessCardIdChanging(value); - this.SendPropertyChanging(); - this._WeldingProcessCardId = value; - this.SendPropertyChanged("WeldingProcessCardId"); - this.OnWeldingProcessCardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Char(1)")] - public string Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this.OnFlagChanging(value); - this.SendPropertyChanging(); - this._Flag = value; - this.SendPropertyChanged("Flag"); - this.OnFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_WeldingProcedure_MatchedProcedureMaterial.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_MatchedProcedureMaterial.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID1", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel HJGL_BS_Steel - { - get - { - return this._HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Steel.Entity = null; - previousValue.HJGL_WeldingProcedure_MatchedProcedureMaterial.Remove(this); - } - this._HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_MatchedProcedureMaterial.Add(this); - this._STE_ID1 = value.STE_ID; - } - else - { - this._STE_ID1 = default(string); - } - this.SendPropertyChanged("HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1", Storage="_STE_ID2HJGL_BS_Steel", ThisKey="STE_ID2", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel STE_ID2HJGL_BS_Steel - { - get - { - return this._STE_ID2HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._STE_ID2HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._STE_ID2HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._STE_ID2HJGL_BS_Steel.Entity = null; - previousValue.HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1.Remove(this); - } - this._STE_ID2HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_Steel1.Add(this); - this._STE_ID2 = value.STE_ID; - } - else - { - this._STE_ID2 = default(string); - } - this.SendPropertyChanged("STE_ID2HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WeldingMethodId", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_WeldingProcedure_MatchedProcedureMaterial.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_MatchedProcedureMaterial.Add(this); - this._WeldingMethodId = value.WME_ID; - } - else - { - this._WeldingMethodId = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_WeldingProcedure_WeldingPr" + - "ocedure", Storage="_HJGL_WeldingProcedure_WeldingProcedure", ThisKey="WeldingProcedureId", OtherKey="WeldingProcedureId", IsForeignKey=true)] - public HJGL_WeldingProcedure_WeldingProcedure HJGL_WeldingProcedure_WeldingProcedure - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcedure.Entity; - } - set - { - HJGL_WeldingProcedure_WeldingProcedure previousValue = this._HJGL_WeldingProcedure_WeldingProcedure.Entity; - if (((previousValue != value) - || (this._HJGL_WeldingProcedure_WeldingProcedure.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_WeldingProcedure_WeldingProcedure.Entity = null; - previousValue.HJGL_WeldingProcedure_MatchedProcedureMaterial.Remove(this); - } - this._HJGL_WeldingProcedure_WeldingProcedure.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_MatchedProcedureMaterial.Add(this); - this._WeldingProcedureId = value.WeldingProcedureId; - } - else - { - this._WeldingProcedureId = default(string); - } - this.SendPropertyChanged("HJGL_WeldingProcedure_WeldingProcedure"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_WeldingProcedure_WeldingPr" + - "ocessCard", Storage="_HJGL_WeldingProcedure_WeldingProcessCard", ThisKey="WeldingProcessCardId", OtherKey="WeldingProcessCardId", IsForeignKey=true)] - public HJGL_WeldingProcedure_WeldingProcessCard HJGL_WeldingProcedure_WeldingProcessCard - { - get - { - return this._HJGL_WeldingProcedure_WeldingProcessCard.Entity; - } - set - { - HJGL_WeldingProcedure_WeldingProcessCard previousValue = this._HJGL_WeldingProcedure_WeldingProcessCard.Entity; - if (((previousValue != value) - || (this._HJGL_WeldingProcedure_WeldingProcessCard.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_WeldingProcedure_WeldingProcessCard.Entity = null; - previousValue.HJGL_WeldingProcedure_MatchedProcedureMaterial.Remove(this); - } - this._HJGL_WeldingProcedure_WeldingProcessCard.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_MatchedProcedureMaterial.Add(this); - this._WeldingProcessCardId = value.WeldingProcessCardId; - } - else - { - this._WeldingProcessCardId = default(string); - } - this.SendPropertyChanged("HJGL_WeldingProcedure_WeldingProcessCard"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_WeldingProcedure_WeldHotProcessCard")] - public partial class HJGL_WeldingProcedure_WeldHotProcessCard : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldHpcId; - - private string _ProjectId; - - private string _HpcCode; - - private string _UnitId; - - private string _Shejiwj; - - private string _Guandaocz; - - private string _Guandaogg; - - private string _BzPerson; - - private string _HpcId; - - private string _Jietouxs; - - private string _Yijuhanpin; - - private string _Kzxtxh; - - private string _Jiareqixh; - - private string _Cewenyq; - - private string _Buchangdx; - - private string _Jiaredaigd; - - private string _Bwkuandu; - - private string _Bwcailao; - - private string _Bwdianshu; - - private string _Cewendianshc; - - private string _Hanhouchl; - - private string _Jiaresd; - - private string _Bwwendu; - - private string _Bwshijian; - - private string _Lenquesd; - - private string _Ewailq; - - private string _Lilunhanhou; - - private string _Qishuyq; - - private string _Qitashc; - - private string _Flag; - - private EntityRef _HJGL_Base_HotProcessCard; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldHpcIdChanging(string value); - partial void OnWeldHpcIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnHpcCodeChanging(string value); - partial void OnHpcCodeChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnShejiwjChanging(string value); - partial void OnShejiwjChanged(); - partial void OnGuandaoczChanging(string value); - partial void OnGuandaoczChanged(); - partial void OnGuandaoggChanging(string value); - partial void OnGuandaoggChanged(); - partial void OnBzPersonChanging(string value); - partial void OnBzPersonChanged(); - partial void OnHpcIdChanging(string value); - partial void OnHpcIdChanged(); - partial void OnJietouxsChanging(string value); - partial void OnJietouxsChanged(); - partial void OnYijuhanpinChanging(string value); - partial void OnYijuhanpinChanged(); - partial void OnKzxtxhChanging(string value); - partial void OnKzxtxhChanged(); - partial void OnJiareqixhChanging(string value); - partial void OnJiareqixhChanged(); - partial void OnCewenyqChanging(string value); - partial void OnCewenyqChanged(); - partial void OnBuchangdxChanging(string value); - partial void OnBuchangdxChanged(); - partial void OnJiaredaigdChanging(string value); - partial void OnJiaredaigdChanged(); - partial void OnBwkuanduChanging(string value); - partial void OnBwkuanduChanged(); - partial void OnBwcailaoChanging(string value); - partial void OnBwcailaoChanged(); - partial void OnBwdianshuChanging(string value); - partial void OnBwdianshuChanged(); - partial void OnCewendianshcChanging(string value); - partial void OnCewendianshcChanged(); - partial void OnHanhouchlChanging(string value); - partial void OnHanhouchlChanged(); - partial void OnJiaresdChanging(string value); - partial void OnJiaresdChanged(); - partial void OnBwwenduChanging(string value); - partial void OnBwwenduChanged(); - partial void OnBwshijianChanging(string value); - partial void OnBwshijianChanged(); - partial void OnLenquesdChanging(string value); - partial void OnLenquesdChanged(); - partial void OnEwailqChanging(string value); - partial void OnEwailqChanged(); - partial void OnLilunhanhouChanging(string value); - partial void OnLilunhanhouChanged(); - partial void OnQishuyqChanging(string value); - partial void OnQishuyqChanged(); - partial void OnQitashcChanging(string value); - partial void OnQitashcChanged(); - partial void OnFlagChanging(string value); - partial void OnFlagChanged(); - #endregion - - public HJGL_WeldingProcedure_WeldHotProcessCard() - { - this._HJGL_Base_HotProcessCard = default(EntityRef); - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldHpcId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldHpcId - { - get - { - return this._WeldHpcId; - } - set - { - if ((this._WeldHpcId != value)) - { - this.OnWeldHpcIdChanging(value); - this.SendPropertyChanging(); - this._WeldHpcId = value; - this.SendPropertyChanged("WeldHpcId"); - this.OnWeldHpcIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HpcCode", DbType="NVarChar(50)")] - public string HpcCode - { - get - { - return this._HpcCode; - } - set - { - if ((this._HpcCode != value)) - { - this.OnHpcCodeChanging(value); - this.SendPropertyChanging(); - this._HpcCode = value; - this.SendPropertyChanged("HpcCode"); - this.OnHpcCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="shejiwj", Storage="_Shejiwj", DbType="VarChar(100)")] - public string Shejiwj - { - get - { - return this._Shejiwj; - } - set - { - if ((this._Shejiwj != value)) - { - this.OnShejiwjChanging(value); - this.SendPropertyChanging(); - this._Shejiwj = value; - this.SendPropertyChanged("Shejiwj"); - this.OnShejiwjChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="guandaocz", Storage="_Guandaocz", DbType="VarChar(50)")] - public string Guandaocz - { - get - { - return this._Guandaocz; - } - set - { - if ((this._Guandaocz != value)) - { - this.OnGuandaoczChanging(value); - this.SendPropertyChanging(); - this._Guandaocz = value; - this.SendPropertyChanged("Guandaocz"); - this.OnGuandaoczChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="guandaogg", Storage="_Guandaogg", DbType="VarChar(100)")] - public string Guandaogg - { - get - { - return this._Guandaogg; - } - set - { - if ((this._Guandaogg != value)) - { - this.OnGuandaoggChanging(value); - this.SendPropertyChanging(); - this._Guandaogg = value; - this.SendPropertyChanged("Guandaogg"); - this.OnGuandaoggChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bzPerson", Storage="_BzPerson", DbType="NVarChar(50)")] - public string BzPerson - { - get - { - return this._BzPerson; - } - set - { - if ((this._BzPerson != value)) - { - this.OnBzPersonChanging(value); - this.SendPropertyChanging(); - this._BzPerson = value; - this.SendPropertyChanged("BzPerson"); - this.OnBzPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HpcId", DbType="VarChar(50)")] - public string HpcId - { - get - { - return this._HpcId; - } - set - { - if ((this._HpcId != value)) - { - if (this._HJGL_Base_HotProcessCard.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnHpcIdChanging(value); - this.SendPropertyChanging(); - this._HpcId = value; - this.SendPropertyChanged("HpcId"); - this.OnHpcIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jietouxs", Storage="_Jietouxs", DbType="VarChar(100)")] - public string Jietouxs - { - get - { - return this._Jietouxs; - } - set - { - if ((this._Jietouxs != value)) - { - this.OnJietouxsChanging(value); - this.SendPropertyChanging(); - this._Jietouxs = value; - this.SendPropertyChanged("Jietouxs"); - this.OnJietouxsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="yijuhanpin", Storage="_Yijuhanpin", DbType="VarChar(100)")] - public string Yijuhanpin - { - get - { - return this._Yijuhanpin; - } - set - { - if ((this._Yijuhanpin != value)) - { - this.OnYijuhanpinChanging(value); - this.SendPropertyChanging(); - this._Yijuhanpin = value; - this.SendPropertyChanged("Yijuhanpin"); - this.OnYijuhanpinChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="kzxtxh", Storage="_Kzxtxh", DbType="VarChar(50)")] - public string Kzxtxh - { - get - { - return this._Kzxtxh; - } - set - { - if ((this._Kzxtxh != value)) - { - this.OnKzxtxhChanging(value); - this.SendPropertyChanging(); - this._Kzxtxh = value; - this.SendPropertyChanged("Kzxtxh"); - this.OnKzxtxhChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jiareqixh", Storage="_Jiareqixh", DbType="VarChar(100)")] - public string Jiareqixh - { - get - { - return this._Jiareqixh; - } - set - { - if ((this._Jiareqixh != value)) - { - this.OnJiareqixhChanging(value); - this.SendPropertyChanging(); - this._Jiareqixh = value; - this.SendPropertyChanged("Jiareqixh"); - this.OnJiareqixhChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="cewenyq", Storage="_Cewenyq", DbType="VarChar(100)")] - public string Cewenyq - { - get - { - return this._Cewenyq; - } - set - { - if ((this._Cewenyq != value)) - { - this.OnCewenyqChanging(value); - this.SendPropertyChanging(); - this._Cewenyq = value; - this.SendPropertyChanged("Cewenyq"); - this.OnCewenyqChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="buchangdx", Storage="_Buchangdx", DbType="VarChar(100)")] - public string Buchangdx - { - get - { - return this._Buchangdx; - } - set - { - if ((this._Buchangdx != value)) - { - this.OnBuchangdxChanging(value); - this.SendPropertyChanging(); - this._Buchangdx = value; - this.SendPropertyChanged("Buchangdx"); - this.OnBuchangdxChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jiaredaigd", Storage="_Jiaredaigd", DbType="VarChar(100)")] - public string Jiaredaigd - { - get - { - return this._Jiaredaigd; - } - set - { - if ((this._Jiaredaigd != value)) - { - this.OnJiaredaigdChanging(value); - this.SendPropertyChanging(); - this._Jiaredaigd = value; - this.SendPropertyChanged("Jiaredaigd"); - this.OnJiaredaigdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwkuandu", Storage="_Bwkuandu", DbType="VarChar(100)")] - public string Bwkuandu - { - get - { - return this._Bwkuandu; - } - set - { - if ((this._Bwkuandu != value)) - { - this.OnBwkuanduChanging(value); - this.SendPropertyChanging(); - this._Bwkuandu = value; - this.SendPropertyChanged("Bwkuandu"); - this.OnBwkuanduChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwcailao", Storage="_Bwcailao", DbType="VarChar(100)")] - public string Bwcailao - { - get - { - return this._Bwcailao; - } - set - { - if ((this._Bwcailao != value)) - { - this.OnBwcailaoChanging(value); - this.SendPropertyChanging(); - this._Bwcailao = value; - this.SendPropertyChanged("Bwcailao"); - this.OnBwcailaoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwdianshu", Storage="_Bwdianshu", DbType="VarChar(100)")] - public string Bwdianshu - { - get - { - return this._Bwdianshu; - } - set - { - if ((this._Bwdianshu != value)) - { - this.OnBwdianshuChanging(value); - this.SendPropertyChanging(); - this._Bwdianshu = value; - this.SendPropertyChanged("Bwdianshu"); - this.OnBwdianshuChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="cewendianshc", Storage="_Cewendianshc", DbType="VarChar(2000)")] - public string Cewendianshc - { - get - { - return this._Cewendianshc; - } - set - { - if ((this._Cewendianshc != value)) - { - this.OnCewendianshcChanging(value); - this.SendPropertyChanging(); - this._Cewendianshc = value; - this.SendPropertyChanged("Cewendianshc"); - this.OnCewendianshcChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="hanhouchl", Storage="_Hanhouchl", DbType="VarChar(50)")] - public string Hanhouchl - { - get - { - return this._Hanhouchl; - } - set - { - if ((this._Hanhouchl != value)) - { - this.OnHanhouchlChanging(value); - this.SendPropertyChanging(); - this._Hanhouchl = value; - this.SendPropertyChanged("Hanhouchl"); - this.OnHanhouchlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="jiaresd", Storage="_Jiaresd", DbType="VarChar(100)")] - public string Jiaresd - { - get - { - return this._Jiaresd; - } - set - { - if ((this._Jiaresd != value)) - { - this.OnJiaresdChanging(value); - this.SendPropertyChanging(); - this._Jiaresd = value; - this.SendPropertyChanged("Jiaresd"); - this.OnJiaresdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwwendu", Storage="_Bwwendu", DbType="VarChar(100)")] - public string Bwwendu - { - get - { - return this._Bwwendu; - } - set - { - if ((this._Bwwendu != value)) - { - this.OnBwwenduChanging(value); - this.SendPropertyChanging(); - this._Bwwendu = value; - this.SendPropertyChanged("Bwwendu"); - this.OnBwwenduChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="bwshijian", Storage="_Bwshijian", DbType="VarChar(100)")] - public string Bwshijian - { - get - { - return this._Bwshijian; - } - set - { - if ((this._Bwshijian != value)) - { - this.OnBwshijianChanging(value); - this.SendPropertyChanging(); - this._Bwshijian = value; - this.SendPropertyChanged("Bwshijian"); - this.OnBwshijianChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="lenquesd", Storage="_Lenquesd", DbType="VarChar(100)")] - public string Lenquesd - { - get - { - return this._Lenquesd; - } - set - { - if ((this._Lenquesd != value)) - { - this.OnLenquesdChanging(value); - this.SendPropertyChanging(); - this._Lenquesd = value; - this.SendPropertyChanged("Lenquesd"); - this.OnLenquesdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="ewailq", Storage="_Ewailq", DbType="VarChar(100)")] - public string Ewailq - { - get - { - return this._Ewailq; - } - set - { - if ((this._Ewailq != value)) - { - this.OnEwailqChanging(value); - this.SendPropertyChanging(); - this._Ewailq = value; - this.SendPropertyChanged("Ewailq"); - this.OnEwailqChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="lilunhanhou", Storage="_Lilunhanhou", DbType="VarChar(2000)")] - public string Lilunhanhou - { - get - { - return this._Lilunhanhou; - } - set - { - if ((this._Lilunhanhou != value)) - { - this.OnLilunhanhouChanging(value); - this.SendPropertyChanging(); - this._Lilunhanhou = value; - this.SendPropertyChanged("Lilunhanhou"); - this.OnLilunhanhouChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="qishuyq", Storage="_Qishuyq", DbType="VarChar(100)")] - public string Qishuyq - { - get - { - return this._Qishuyq; - } - set - { - if ((this._Qishuyq != value)) - { - this.OnQishuyqChanging(value); - this.SendPropertyChanging(); - this._Qishuyq = value; - this.SendPropertyChanged("Qishuyq"); - this.OnQishuyqChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="qitashc", Storage="_Qitashc", DbType="VarChar(100)")] - public string Qitashc - { - get - { - return this._Qitashc; - } - set - { - if ((this._Qitashc != value)) - { - this.OnQitashcChanging(value); - this.SendPropertyChanging(); - this._Qitashc = value; - this.SendPropertyChanged("Qitashc"); - this.OnQitashcChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Char(1)")] - public string Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this.OnFlagChanging(value); - this.SendPropertyChanging(); - this._Flag = value; - this.SendPropertyChanged("Flag"); - this.OnFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldHotProcessCard_HJGL_Base_HotProcessCard", Storage="_HJGL_Base_HotProcessCard", ThisKey="HpcId", OtherKey="HpcId", IsForeignKey=true)] - public HJGL_Base_HotProcessCard HJGL_Base_HotProcessCard - { - get - { - return this._HJGL_Base_HotProcessCard.Entity; - } - set - { - HJGL_Base_HotProcessCard previousValue = this._HJGL_Base_HotProcessCard.Entity; - if (((previousValue != value) - || (this._HJGL_Base_HotProcessCard.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_Base_HotProcessCard.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldHotProcessCard.Remove(this); - } - this._HJGL_Base_HotProcessCard.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldHotProcessCard.Add(this); - this._HpcId = value.HpcId; - } - else - { - this._HpcId = default(string); - } - this.SendPropertyChanged("HJGL_Base_HotProcessCard"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HotProcessCardList_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldHotProcessCard.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldHotProcessCard.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HotProcessCardList_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldHotProcessCard.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldHotProcessCard.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HotProcessCardList_Sys_User", Storage="_Sys_User", ThisKey="BzPerson", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldHotProcessCard.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldHotProcessCard.Add(this); - this._BzPerson = value.UserId; - } - else - { - this._BzPerson = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_WeldingProcedure_WeldingProcedure")] - public partial class HJGL_WeldingProcedure_WeldingProcedure : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldingProcedureId; - - private string _WeldingProcedureCode; - - private System.Nullable _CompileDate; - - private string _STE_ID1; - - private string _STE_ID2; - - private string _Specifications; - - private string _WeldingModel; - - private string _WeldingGrade; - - private string _WeldingSpecifications; - - private string _WeldingPosition; - - private string _WeldingMethodId; - - private System.Nullable _MinImpactDia; - - private System.Nullable _MaxImpactDia; - - private System.Nullable _MinImpactThickness; - - private System.Nullable _MaxImpactThickness; - - private System.Nullable _NoMinImpactThickness; - - private System.Nullable _NoMaxImpactThickness; - - private System.Nullable _IsHotTreatment; - - private string _StandardId; - - private string _Remark; - - private string _JointType; - - private string _Motorization; - - private string _ProtectiveGas; - - private string _Stretching; - - private string _Bend; - - private string _ToAttack; - - private string _Others; - - private EntitySet _HJGL_WeldingProcedure_MatchedProcedureMaterial; - - private EntityRef _HJGL_BS_Standard; - - private EntityRef _HJGL_BS_Steel; - - private EntityRef _STE_ID2HJGL_BS_Steel; - - private EntityRef _HJGL_BS_WeldMethod; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldingProcedureIdChanging(string value); - partial void OnWeldingProcedureIdChanged(); - partial void OnWeldingProcedureCodeChanging(string value); - partial void OnWeldingProcedureCodeChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnSTE_ID1Changing(string value); - partial void OnSTE_ID1Changed(); - partial void OnSTE_ID2Changing(string value); - partial void OnSTE_ID2Changed(); - partial void OnSpecificationsChanging(string value); - partial void OnSpecificationsChanged(); - partial void OnWeldingModelChanging(string value); - partial void OnWeldingModelChanged(); - partial void OnWeldingGradeChanging(string value); - partial void OnWeldingGradeChanged(); - partial void OnWeldingSpecificationsChanging(string value); - partial void OnWeldingSpecificationsChanged(); - partial void OnWeldingPositionChanging(string value); - partial void OnWeldingPositionChanged(); - partial void OnWeldingMethodIdChanging(string value); - partial void OnWeldingMethodIdChanged(); - partial void OnMinImpactDiaChanging(System.Nullable value); - partial void OnMinImpactDiaChanged(); - partial void OnMaxImpactDiaChanging(System.Nullable value); - partial void OnMaxImpactDiaChanged(); - partial void OnMinImpactThicknessChanging(System.Nullable value); - partial void OnMinImpactThicknessChanged(); - partial void OnMaxImpactThicknessChanging(System.Nullable value); - partial void OnMaxImpactThicknessChanged(); - partial void OnNoMinImpactThicknessChanging(System.Nullable value); - partial void OnNoMinImpactThicknessChanged(); - partial void OnNoMaxImpactThicknessChanging(System.Nullable value); - partial void OnNoMaxImpactThicknessChanged(); - partial void OnIsHotTreatmentChanging(System.Nullable value); - partial void OnIsHotTreatmentChanged(); - partial void OnStandardIdChanging(string value); - partial void OnStandardIdChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnJointTypeChanging(string value); - partial void OnJointTypeChanged(); - partial void OnMotorizationChanging(string value); - partial void OnMotorizationChanged(); - partial void OnProtectiveGasChanging(string value); - partial void OnProtectiveGasChanged(); - partial void OnStretchingChanging(string value); - partial void OnStretchingChanged(); - partial void OnBendChanging(string value); - partial void OnBendChanged(); - partial void OnToAttackChanging(string value); - partial void OnToAttackChanged(); - partial void OnOthersChanging(string value); - partial void OnOthersChanged(); - #endregion - - public HJGL_WeldingProcedure_WeldingProcedure() - { - this._HJGL_WeldingProcedure_MatchedProcedureMaterial = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_MatchedProcedureMaterial), new Action(this.detach_HJGL_WeldingProcedure_MatchedProcedureMaterial)); - this._HJGL_BS_Standard = default(EntityRef); - this._HJGL_BS_Steel = default(EntityRef); - this._STE_ID2HJGL_BS_Steel = default(EntityRef); - this._HJGL_BS_WeldMethod = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldingProcedureId - { - get - { - return this._WeldingProcedureId; - } - set - { - if ((this._WeldingProcedureId != value)) - { - this.OnWeldingProcedureIdChanging(value); - this.SendPropertyChanging(); - this._WeldingProcedureId = value; - this.SendPropertyChanged("WeldingProcedureId"); - this.OnWeldingProcedureIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureCode", DbType="NVarChar(50)")] - public string WeldingProcedureCode - { - get - { - return this._WeldingProcedureCode; - } - set - { - if ((this._WeldingProcedureCode != value)) - { - this.OnWeldingProcedureCodeChanging(value); - this.SendPropertyChanging(); - this._WeldingProcedureCode = value; - this.SendPropertyChanged("WeldingProcedureCode"); - this.OnWeldingProcedureCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID1", DbType="VarChar(50)")] - public string STE_ID1 - { - get - { - return this._STE_ID1; - } - set - { - if ((this._STE_ID1 != value)) - { - if (this._HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_ID1Changing(value); - this.SendPropertyChanging(); - this._STE_ID1 = value; - this.SendPropertyChanged("STE_ID1"); - this.OnSTE_ID1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID2", DbType="VarChar(50)")] - public string STE_ID2 - { - get - { - return this._STE_ID2; - } - set - { - if ((this._STE_ID2 != value)) - { - if (this._STE_ID2HJGL_BS_Steel.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnSTE_ID2Changing(value); - this.SendPropertyChanging(); - this._STE_ID2 = value; - this.SendPropertyChanged("STE_ID2"); - this.OnSTE_ID2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(100)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this.OnSpecificationsChanging(value); - this.SendPropertyChanging(); - this._Specifications = value; - this.SendPropertyChanged("Specifications"); - this.OnSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingModel", DbType="NVarChar(100)")] - public string WeldingModel - { - get - { - return this._WeldingModel; - } - set - { - if ((this._WeldingModel != value)) - { - this.OnWeldingModelChanging(value); - this.SendPropertyChanging(); - this._WeldingModel = value; - this.SendPropertyChanged("WeldingModel"); - this.OnWeldingModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingGrade", DbType="NVarChar(100)")] - public string WeldingGrade - { - get - { - return this._WeldingGrade; - } - set - { - if ((this._WeldingGrade != value)) - { - this.OnWeldingGradeChanging(value); - this.SendPropertyChanging(); - this._WeldingGrade = value; - this.SendPropertyChanged("WeldingGrade"); - this.OnWeldingGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingSpecifications", DbType="NVarChar(100)")] - public string WeldingSpecifications - { - get - { - return this._WeldingSpecifications; - } - set - { - if ((this._WeldingSpecifications != value)) - { - this.OnWeldingSpecificationsChanging(value); - this.SendPropertyChanging(); - this._WeldingSpecifications = value; - this.SendPropertyChanged("WeldingSpecifications"); - this.OnWeldingSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingPosition", DbType="NVarChar(50)")] - public string WeldingPosition - { - get - { - return this._WeldingPosition; - } - set - { - if ((this._WeldingPosition != value)) - { - this.OnWeldingPositionChanging(value); - this.SendPropertyChanging(); - this._WeldingPosition = value; - this.SendPropertyChanged("WeldingPosition"); - this.OnWeldingPositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingMethodId", DbType="VarChar(50)")] - public string WeldingMethodId - { - get - { - return this._WeldingMethodId; - } - set - { - if ((this._WeldingMethodId != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldingMethodIdChanging(value); - this.SendPropertyChanging(); - this._WeldingMethodId = value; - this.SendPropertyChanged("WeldingMethodId"); - this.OnWeldingMethodIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MinImpactDia", DbType="Decimal(18,4)")] - public System.Nullable MinImpactDia - { - get - { - return this._MinImpactDia; - } - set - { - if ((this._MinImpactDia != value)) - { - this.OnMinImpactDiaChanging(value); - this.SendPropertyChanging(); - this._MinImpactDia = value; - this.SendPropertyChanged("MinImpactDia"); - this.OnMinImpactDiaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxImpactDia", DbType="Decimal(18,4)")] - public System.Nullable MaxImpactDia - { - get - { - return this._MaxImpactDia; - } - set - { - if ((this._MaxImpactDia != value)) - { - this.OnMaxImpactDiaChanging(value); - this.SendPropertyChanging(); - this._MaxImpactDia = value; - this.SendPropertyChanged("MaxImpactDia"); - this.OnMaxImpactDiaChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MinImpactThickness", DbType="Decimal(18,4)")] - public System.Nullable MinImpactThickness - { - get - { - return this._MinImpactThickness; - } - set - { - if ((this._MinImpactThickness != value)) - { - this.OnMinImpactThicknessChanging(value); - this.SendPropertyChanging(); - this._MinImpactThickness = value; - this.SendPropertyChanged("MinImpactThickness"); - this.OnMinImpactThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxImpactThickness", DbType="Decimal(18,4)")] - public System.Nullable MaxImpactThickness - { - get - { - return this._MaxImpactThickness; - } - set - { - if ((this._MaxImpactThickness != value)) - { - this.OnMaxImpactThicknessChanging(value); - this.SendPropertyChanging(); - this._MaxImpactThickness = value; - this.SendPropertyChanged("MaxImpactThickness"); - this.OnMaxImpactThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoMinImpactThickness", DbType="Decimal(18,4)")] - public System.Nullable NoMinImpactThickness - { - get - { - return this._NoMinImpactThickness; - } - set - { - if ((this._NoMinImpactThickness != value)) - { - this.OnNoMinImpactThicknessChanging(value); - this.SendPropertyChanging(); - this._NoMinImpactThickness = value; - this.SendPropertyChanged("NoMinImpactThickness"); - this.OnNoMinImpactThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoMaxImpactThickness", DbType="Decimal(18,4)")] - public System.Nullable NoMaxImpactThickness - { - get - { - return this._NoMaxImpactThickness; - } - set - { - if ((this._NoMaxImpactThickness != value)) - { - this.OnNoMaxImpactThicknessChanging(value); - this.SendPropertyChanging(); - this._NoMaxImpactThickness = value; - this.SendPropertyChanged("NoMaxImpactThickness"); - this.OnNoMaxImpactThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotTreatment", DbType="Bit")] - public System.Nullable IsHotTreatment - { - get - { - return this._IsHotTreatment; - } - set - { - if ((this._IsHotTreatment != value)) - { - this.OnIsHotTreatmentChanging(value); - this.SendPropertyChanging(); - this._IsHotTreatment = value; - this.SendPropertyChanged("IsHotTreatment"); - this.OnIsHotTreatmentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardId", DbType="NVarChar(50)")] - public string StandardId - { - get - { - return this._StandardId; - } - set - { - if ((this._StandardId != value)) - { - if (this._HJGL_BS_Standard.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnStandardIdChanging(value); - this.SendPropertyChanging(); - this._StandardId = value; - this.SendPropertyChanged("StandardId"); - this.OnStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointType", DbType="NVarChar(50)")] - public string JointType - { - get - { - return this._JointType; - } - set - { - if ((this._JointType != value)) - { - this.OnJointTypeChanging(value); - this.SendPropertyChanging(); - this._JointType = value; - this.SendPropertyChanged("JointType"); - this.OnJointTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Motorization", DbType="NVarChar(50)")] - public string Motorization - { - get - { - return this._Motorization; - } - set - { - if ((this._Motorization != value)) - { - this.OnMotorizationChanging(value); - this.SendPropertyChanging(); - this._Motorization = value; - this.SendPropertyChanged("Motorization"); - this.OnMotorizationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProtectiveGas", DbType="NVarChar(50)")] - public string ProtectiveGas - { - get - { - return this._ProtectiveGas; - } - set - { - if ((this._ProtectiveGas != value)) - { - this.OnProtectiveGasChanging(value); - this.SendPropertyChanging(); - this._ProtectiveGas = value; - this.SendPropertyChanged("ProtectiveGas"); - this.OnProtectiveGasChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Stretching", DbType="NVarChar(50)")] - public string Stretching - { - get - { - return this._Stretching; - } - set - { - if ((this._Stretching != value)) - { - this.OnStretchingChanging(value); - this.SendPropertyChanging(); - this._Stretching = value; - this.SendPropertyChanged("Stretching"); - this.OnStretchingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Bend", DbType="NVarChar(50)")] - public string Bend - { - get - { - return this._Bend; - } - set - { - if ((this._Bend != value)) - { - this.OnBendChanging(value); - this.SendPropertyChanging(); - this._Bend = value; - this.SendPropertyChanged("Bend"); - this.OnBendChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToAttack", DbType="NVarChar(50)")] - public string ToAttack - { - get - { - return this._ToAttack; - } - set - { - if ((this._ToAttack != value)) - { - this.OnToAttackChanging(value); - this.SendPropertyChanging(); - this._ToAttack = value; - this.SendPropertyChanged("ToAttack"); - this.OnToAttackChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Others", DbType="NVarChar(50)")] - public string Others - { - get - { - return this._Others; - } - set - { - if ((this._Others != value)) - { - this.OnOthersChanging(value); - this.SendPropertyChanging(); - this._Others = value; - this.SendPropertyChanged("Others"); - this.OnOthersChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_WeldingProcedure_WeldingPr" + - "ocedure", Storage="_HJGL_WeldingProcedure_MatchedProcedureMaterial", ThisKey="WeldingProcedureId", OtherKey="WeldingProcedureId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_MatchedProcedureMaterial - { - get - { - return this._HJGL_WeldingProcedure_MatchedProcedureMaterial; - } - set - { - this._HJGL_WeldingProcedure_MatchedProcedureMaterial.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Standard", Storage="_HJGL_BS_Standard", ThisKey="StandardId", OtherKey="StandardId", IsForeignKey=true)] - public HJGL_BS_Standard HJGL_BS_Standard - { - get - { - return this._HJGL_BS_Standard.Entity; - } - set - { - HJGL_BS_Standard previousValue = this._HJGL_BS_Standard.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Standard.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Standard.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldingProcedure.Remove(this); - } - this._HJGL_BS_Standard.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldingProcedure.Add(this); - this._StandardId = value.StandardId; - } - else - { - this._StandardId = default(string); - } - this.SendPropertyChanged("HJGL_BS_Standard"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel", Storage="_HJGL_BS_Steel", ThisKey="STE_ID1", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel HJGL_BS_Steel - { - get - { - return this._HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Steel.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldingProcedure.Remove(this); - } - this._HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldingProcedure.Add(this); - this._STE_ID1 = value.STE_ID; - } - else - { - this._STE_ID1 = default(string); - } - this.SendPropertyChanged("HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1", Storage="_STE_ID2HJGL_BS_Steel", ThisKey="STE_ID2", OtherKey="STE_ID", IsForeignKey=true)] - public HJGL_BS_Steel STE_ID2HJGL_BS_Steel - { - get - { - return this._STE_ID2HJGL_BS_Steel.Entity; - } - set - { - HJGL_BS_Steel previousValue = this._STE_ID2HJGL_BS_Steel.Entity; - if (((previousValue != value) - || (this._STE_ID2HJGL_BS_Steel.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._STE_ID2HJGL_BS_Steel.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1.Remove(this); - } - this._STE_ID2HJGL_BS_Steel.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_Steel1.Add(this); - this._STE_ID2 = value.STE_ID; - } - else - { - this._STE_ID2 = default(string); - } - this.SendPropertyChanged("STE_ID2HJGL_BS_Steel"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcedure_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WeldingMethodId", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldingProcedure.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldingProcedure.Add(this); - this._WeldingMethodId = value.WME_ID; - } - else - { - this._WeldingMethodId = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_WeldingProcedure_WeldingProcedure = this; - } - - private void detach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_WeldingProcedure_WeldingProcedure = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_WeldingProcedure_WeldingProcessCard")] - public partial class HJGL_WeldingProcedure_WeldingProcessCard : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldingProcessCardId; - - private string _ProjectId; - - private string _JointImageId; - - private string _Major; - - private string _WeldingProcessCardCode; - - private string _WME_ID; - - private string _WeldingPosition; - - private string _BaseGrade; - - private string _BaseSpecifications; - - private string _BaseWeldThickness; - - private string _MaterialGrade1; - - private string _MaterialSpecifications1; - - private string _MaterialBakingSpecifications1; - - private string _MaterialGrade2; - - private string _MaterialSpecifications2; - - private string _MaterialBakingSpecifications2; - - private string _JointForm; - - private string _GrooveAngle; - - private string _GrooveProcessing; - - private string _BluntEdge; - - private string _GroupPairGap; - - private string _SurfaceCleaning; - - private string _HeatingTemperature; - - private string _HeatingRate; - - private string _HoldTime; - - private string _CoolRate; - - private string _PreheatTemperature; - - private string _InterlayerTemperature; - - private string _CurrentType; - - private string _Polarity1; - - private string _Polarity2; - - private string _TungstenType; - - private string _TungstenSpecifications; - - private string _GasPositiveType; - - private string _GasPositiveFlow; - - private string _GasBackType; - - private string _GasBackFlow; - - private string _Layer1; - - private string _WeldMethod1; - - private string _WeldGrade1; - - private string _WeldSpecifications1; - - private string _WeldCurrent1; - - private string _WeldVoltage1; - - private string _WeldSpeed1; - - private string _Remark1; - - private string _Layer2; - - private string _WeldMethod2; - - private string _WeldGrade2; - - private string _WeldSpecifications2; - - private string _WeldCurrent2; - - private string _WeldVoltage2; - - private string _WeldSpeed2; - - private string _Remark2; - - private string _Layer3; - - private string _WeldMethod3; - - private string _WeldGrade3; - - private string _WeldSpecifications3; - - private string _WeldCurrent3; - - private string _WeldVoltage3; - - private string _WeldSpeed3; - - private string _Remark3; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _ExamineMan; - - private System.Nullable _ExamineDate; - - private string _ApprovalMan; - - private System.Nullable _ApprovalDate; - - private string _State; - - private string _Layer4; - - private string _WeldMethod4; - - private string _WeldGrade4; - - private string _WeldSpecifications4; - - private string _WeldCurrent4; - - private string _WeldVoltage4; - - private string _WeldSpeed4; - - private string _Remark4; - - private string _Layer5; - - private string _WeldMethod5; - - private string _WeldGrade5; - - private string _WeldSpecifications5; - - private string _WeldCurrent5; - - private string _WeldVoltage5; - - private string _WeldSpeed5; - - private string _Remark5; - - private string _Layer6; - - private string _WeldMethod6; - - private string _WeldGrade6; - - private string _WeldSpecifications6; - - private string _WeldCurrent6; - - private string _WeldVoltage6; - - private string _WeldSpeed6; - - private string _Remark6; - - private string _WeldingProcedureCode; - - private EntitySet _HJGL_WeldingProcedure_MatchedProcedureMaterial; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_BS_WeldMethod; - - private EntityRef _HJGL_WeldingProcedure_JointImage; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldingProcessCardIdChanging(string value); - partial void OnWeldingProcessCardIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnJointImageIdChanging(string value); - partial void OnJointImageIdChanged(); - partial void OnMajorChanging(string value); - partial void OnMajorChanged(); - partial void OnWeldingProcessCardCodeChanging(string value); - partial void OnWeldingProcessCardCodeChanged(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - partial void OnWeldingPositionChanging(string value); - partial void OnWeldingPositionChanged(); - partial void OnBaseGradeChanging(string value); - partial void OnBaseGradeChanged(); - partial void OnBaseSpecificationsChanging(string value); - partial void OnBaseSpecificationsChanged(); - partial void OnBaseWeldThicknessChanging(string value); - partial void OnBaseWeldThicknessChanged(); - partial void OnMaterialGrade1Changing(string value); - partial void OnMaterialGrade1Changed(); - partial void OnMaterialSpecifications1Changing(string value); - partial void OnMaterialSpecifications1Changed(); - partial void OnMaterialBakingSpecifications1Changing(string value); - partial void OnMaterialBakingSpecifications1Changed(); - partial void OnMaterialGrade2Changing(string value); - partial void OnMaterialGrade2Changed(); - partial void OnMaterialSpecifications2Changing(string value); - partial void OnMaterialSpecifications2Changed(); - partial void OnMaterialBakingSpecifications2Changing(string value); - partial void OnMaterialBakingSpecifications2Changed(); - partial void OnJointFormChanging(string value); - partial void OnJointFormChanged(); - partial void OnGrooveAngleChanging(string value); - partial void OnGrooveAngleChanged(); - partial void OnGrooveProcessingChanging(string value); - partial void OnGrooveProcessingChanged(); - partial void OnBluntEdgeChanging(string value); - partial void OnBluntEdgeChanged(); - partial void OnGroupPairGapChanging(string value); - partial void OnGroupPairGapChanged(); - partial void OnSurfaceCleaningChanging(string value); - partial void OnSurfaceCleaningChanged(); - partial void OnHeatingTemperatureChanging(string value); - partial void OnHeatingTemperatureChanged(); - partial void OnHeatingRateChanging(string value); - partial void OnHeatingRateChanged(); - partial void OnHoldTimeChanging(string value); - partial void OnHoldTimeChanged(); - partial void OnCoolRateChanging(string value); - partial void OnCoolRateChanged(); - partial void OnPreheatTemperatureChanging(string value); - partial void OnPreheatTemperatureChanged(); - partial void OnInterlayerTemperatureChanging(string value); - partial void OnInterlayerTemperatureChanged(); - partial void OnCurrentTypeChanging(string value); - partial void OnCurrentTypeChanged(); - partial void OnPolarity1Changing(string value); - partial void OnPolarity1Changed(); - partial void OnPolarity2Changing(string value); - partial void OnPolarity2Changed(); - partial void OnTungstenTypeChanging(string value); - partial void OnTungstenTypeChanged(); - partial void OnTungstenSpecificationsChanging(string value); - partial void OnTungstenSpecificationsChanged(); - partial void OnGasPositiveTypeChanging(string value); - partial void OnGasPositiveTypeChanged(); - partial void OnGasPositiveFlowChanging(string value); - partial void OnGasPositiveFlowChanged(); - partial void OnGasBackTypeChanging(string value); - partial void OnGasBackTypeChanged(); - partial void OnGasBackFlowChanging(string value); - partial void OnGasBackFlowChanged(); - partial void OnLayer1Changing(string value); - partial void OnLayer1Changed(); - partial void OnWeldMethod1Changing(string value); - partial void OnWeldMethod1Changed(); - partial void OnWeldGrade1Changing(string value); - partial void OnWeldGrade1Changed(); - partial void OnWeldSpecifications1Changing(string value); - partial void OnWeldSpecifications1Changed(); - partial void OnWeldCurrent1Changing(string value); - partial void OnWeldCurrent1Changed(); - partial void OnWeldVoltage1Changing(string value); - partial void OnWeldVoltage1Changed(); - partial void OnWeldSpeed1Changing(string value); - partial void OnWeldSpeed1Changed(); - partial void OnRemark1Changing(string value); - partial void OnRemark1Changed(); - partial void OnLayer2Changing(string value); - partial void OnLayer2Changed(); - partial void OnWeldMethod2Changing(string value); - partial void OnWeldMethod2Changed(); - partial void OnWeldGrade2Changing(string value); - partial void OnWeldGrade2Changed(); - partial void OnWeldSpecifications2Changing(string value); - partial void OnWeldSpecifications2Changed(); - partial void OnWeldCurrent2Changing(string value); - partial void OnWeldCurrent2Changed(); - partial void OnWeldVoltage2Changing(string value); - partial void OnWeldVoltage2Changed(); - partial void OnWeldSpeed2Changing(string value); - partial void OnWeldSpeed2Changed(); - partial void OnRemark2Changing(string value); - partial void OnRemark2Changed(); - partial void OnLayer3Changing(string value); - partial void OnLayer3Changed(); - partial void OnWeldMethod3Changing(string value); - partial void OnWeldMethod3Changed(); - partial void OnWeldGrade3Changing(string value); - partial void OnWeldGrade3Changed(); - partial void OnWeldSpecifications3Changing(string value); - partial void OnWeldSpecifications3Changed(); - partial void OnWeldCurrent3Changing(string value); - partial void OnWeldCurrent3Changed(); - partial void OnWeldVoltage3Changing(string value); - partial void OnWeldVoltage3Changed(); - partial void OnWeldSpeed3Changing(string value); - partial void OnWeldSpeed3Changed(); - partial void OnRemark3Changing(string value); - partial void OnRemark3Changed(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnExamineManChanging(string value); - partial void OnExamineManChanged(); - partial void OnExamineDateChanging(System.Nullable value); - partial void OnExamineDateChanged(); - partial void OnApprovalManChanging(string value); - partial void OnApprovalManChanged(); - partial void OnApprovalDateChanging(System.Nullable value); - partial void OnApprovalDateChanged(); - partial void OnStateChanging(string value); - partial void OnStateChanged(); - partial void OnLayer4Changing(string value); - partial void OnLayer4Changed(); - partial void OnWeldMethod4Changing(string value); - partial void OnWeldMethod4Changed(); - partial void OnWeldGrade4Changing(string value); - partial void OnWeldGrade4Changed(); - partial void OnWeldSpecifications4Changing(string value); - partial void OnWeldSpecifications4Changed(); - partial void OnWeldCurrent4Changing(string value); - partial void OnWeldCurrent4Changed(); - partial void OnWeldVoltage4Changing(string value); - partial void OnWeldVoltage4Changed(); - partial void OnWeldSpeed4Changing(string value); - partial void OnWeldSpeed4Changed(); - partial void OnRemark4Changing(string value); - partial void OnRemark4Changed(); - partial void OnLayer5Changing(string value); - partial void OnLayer5Changed(); - partial void OnWeldMethod5Changing(string value); - partial void OnWeldMethod5Changed(); - partial void OnWeldGrade5Changing(string value); - partial void OnWeldGrade5Changed(); - partial void OnWeldSpecifications5Changing(string value); - partial void OnWeldSpecifications5Changed(); - partial void OnWeldCurrent5Changing(string value); - partial void OnWeldCurrent5Changed(); - partial void OnWeldVoltage5Changing(string value); - partial void OnWeldVoltage5Changed(); - partial void OnWeldSpeed5Changing(string value); - partial void OnWeldSpeed5Changed(); - partial void OnRemark5Changing(string value); - partial void OnRemark5Changed(); - partial void OnLayer6Changing(string value); - partial void OnLayer6Changed(); - partial void OnWeldMethod6Changing(string value); - partial void OnWeldMethod6Changed(); - partial void OnWeldGrade6Changing(string value); - partial void OnWeldGrade6Changed(); - partial void OnWeldSpecifications6Changing(string value); - partial void OnWeldSpecifications6Changed(); - partial void OnWeldCurrent6Changing(string value); - partial void OnWeldCurrent6Changed(); - partial void OnWeldVoltage6Changing(string value); - partial void OnWeldVoltage6Changed(); - partial void OnWeldSpeed6Changing(string value); - partial void OnWeldSpeed6Changed(); - partial void OnRemark6Changing(string value); - partial void OnRemark6Changed(); - partial void OnWeldingProcedureCodeChanging(string value); - partial void OnWeldingProcedureCodeChanged(); - #endregion - - public HJGL_WeldingProcedure_WeldingProcessCard() - { - this._HJGL_WeldingProcedure_MatchedProcedureMaterial = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_MatchedProcedureMaterial), new Action(this.detach_HJGL_WeldingProcedure_MatchedProcedureMaterial)); - this._Base_Project = default(EntityRef); - this._HJGL_BS_WeldMethod = default(EntityRef); - this._HJGL_WeldingProcedure_JointImage = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcessCardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldingProcessCardId - { - get - { - return this._WeldingProcessCardId; - } - set - { - if ((this._WeldingProcessCardId != value)) - { - this.OnWeldingProcessCardIdChanging(value); - this.SendPropertyChanging(); - this._WeldingProcessCardId = value; - this.SendPropertyChanged("WeldingProcessCardId"); - this.OnWeldingProcessCardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointImageId", DbType="NVarChar(50)")] - public string JointImageId - { - get - { - return this._JointImageId; - } - set - { - if ((this._JointImageId != value)) - { - if (this._HJGL_WeldingProcedure_JointImage.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJointImageIdChanging(value); - this.SendPropertyChanging(); - this._JointImageId = value; - this.SendPropertyChanged("JointImageId"); - this.OnJointImageIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Major", DbType="NVarChar(50)")] - public string Major - { - get - { - return this._Major; - } - set - { - if ((this._Major != value)) - { - this.OnMajorChanging(value); - this.SendPropertyChanging(); - this._Major = value; - this.SendPropertyChanged("Major"); - this.OnMajorChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcessCardCode", DbType="NVarChar(200)")] - public string WeldingProcessCardCode - { - get - { - return this._WeldingProcessCardCode; - } - set - { - if ((this._WeldingProcessCardCode != value)) - { - this.OnWeldingProcessCardCodeChanging(value); - this.SendPropertyChanging(); - this._WeldingProcessCardCode = value; - this.SendPropertyChanged("WeldingProcessCardCode"); - this.OnWeldingProcessCardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="VarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - if (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingPosition", DbType="NVarChar(50)")] - public string WeldingPosition - { - get - { - return this._WeldingPosition; - } - set - { - if ((this._WeldingPosition != value)) - { - this.OnWeldingPositionChanging(value); - this.SendPropertyChanging(); - this._WeldingPosition = value; - this.SendPropertyChanged("WeldingPosition"); - this.OnWeldingPositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BaseGrade", DbType="NVarChar(50)")] - public string BaseGrade - { - get - { - return this._BaseGrade; - } - set - { - if ((this._BaseGrade != value)) - { - this.OnBaseGradeChanging(value); - this.SendPropertyChanging(); - this._BaseGrade = value; - this.SendPropertyChanged("BaseGrade"); - this.OnBaseGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BaseSpecifications", DbType="NVarChar(50)")] - public string BaseSpecifications - { - get - { - return this._BaseSpecifications; - } - set - { - if ((this._BaseSpecifications != value)) - { - this.OnBaseSpecificationsChanging(value); - this.SendPropertyChanging(); - this._BaseSpecifications = value; - this.SendPropertyChanged("BaseSpecifications"); - this.OnBaseSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BaseWeldThickness", DbType="NVarChar(50)")] - public string BaseWeldThickness - { - get - { - return this._BaseWeldThickness; - } - set - { - if ((this._BaseWeldThickness != value)) - { - this.OnBaseWeldThicknessChanging(value); - this.SendPropertyChanging(); - this._BaseWeldThickness = value; - this.SendPropertyChanged("BaseWeldThickness"); - this.OnBaseWeldThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGrade1", DbType="NVarChar(50)")] - public string MaterialGrade1 - { - get - { - return this._MaterialGrade1; - } - set - { - if ((this._MaterialGrade1 != value)) - { - this.OnMaterialGrade1Changing(value); - this.SendPropertyChanging(); - this._MaterialGrade1 = value; - this.SendPropertyChanged("MaterialGrade1"); - this.OnMaterialGrade1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialSpecifications1", DbType="NVarChar(50)")] - public string MaterialSpecifications1 - { - get - { - return this._MaterialSpecifications1; - } - set - { - if ((this._MaterialSpecifications1 != value)) - { - this.OnMaterialSpecifications1Changing(value); - this.SendPropertyChanging(); - this._MaterialSpecifications1 = value; - this.SendPropertyChanged("MaterialSpecifications1"); - this.OnMaterialSpecifications1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialBakingSpecifications1", DbType="NVarChar(50)")] - public string MaterialBakingSpecifications1 - { - get - { - return this._MaterialBakingSpecifications1; - } - set - { - if ((this._MaterialBakingSpecifications1 != value)) - { - this.OnMaterialBakingSpecifications1Changing(value); - this.SendPropertyChanging(); - this._MaterialBakingSpecifications1 = value; - this.SendPropertyChanged("MaterialBakingSpecifications1"); - this.OnMaterialBakingSpecifications1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialGrade2", DbType="NVarChar(50)")] - public string MaterialGrade2 - { - get - { - return this._MaterialGrade2; - } - set - { - if ((this._MaterialGrade2 != value)) - { - this.OnMaterialGrade2Changing(value); - this.SendPropertyChanging(); - this._MaterialGrade2 = value; - this.SendPropertyChanged("MaterialGrade2"); - this.OnMaterialGrade2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialSpecifications2", DbType="NVarChar(50)")] - public string MaterialSpecifications2 - { - get - { - return this._MaterialSpecifications2; - } - set - { - if ((this._MaterialSpecifications2 != value)) - { - this.OnMaterialSpecifications2Changing(value); - this.SendPropertyChanging(); - this._MaterialSpecifications2 = value; - this.SendPropertyChanged("MaterialSpecifications2"); - this.OnMaterialSpecifications2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialBakingSpecifications2", DbType="NVarChar(50)")] - public string MaterialBakingSpecifications2 - { - get - { - return this._MaterialBakingSpecifications2; - } - set - { - if ((this._MaterialBakingSpecifications2 != value)) - { - this.OnMaterialBakingSpecifications2Changing(value); - this.SendPropertyChanging(); - this._MaterialBakingSpecifications2 = value; - this.SendPropertyChanged("MaterialBakingSpecifications2"); - this.OnMaterialBakingSpecifications2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointForm", DbType="NVarChar(50)")] - public string JointForm - { - get - { - return this._JointForm; - } - set - { - if ((this._JointForm != value)) - { - this.OnJointFormChanging(value); - this.SendPropertyChanging(); - this._JointForm = value; - this.SendPropertyChanged("JointForm"); - this.OnJointFormChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GrooveAngle", DbType="NVarChar(50)")] - public string GrooveAngle - { - get - { - return this._GrooveAngle; - } - set - { - if ((this._GrooveAngle != value)) - { - this.OnGrooveAngleChanging(value); - this.SendPropertyChanging(); - this._GrooveAngle = value; - this.SendPropertyChanged("GrooveAngle"); - this.OnGrooveAngleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GrooveProcessing", DbType="NVarChar(50)")] - public string GrooveProcessing - { - get - { - return this._GrooveProcessing; - } - set - { - if ((this._GrooveProcessing != value)) - { - this.OnGrooveProcessingChanging(value); - this.SendPropertyChanging(); - this._GrooveProcessing = value; - this.SendPropertyChanged("GrooveProcessing"); - this.OnGrooveProcessingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BluntEdge", DbType="NVarChar(50)")] - public string BluntEdge - { - get - { - return this._BluntEdge; - } - set - { - if ((this._BluntEdge != value)) - { - this.OnBluntEdgeChanging(value); - this.SendPropertyChanging(); - this._BluntEdge = value; - this.SendPropertyChanged("BluntEdge"); - this.OnBluntEdgeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupPairGap", DbType="NVarChar(20)")] - public string GroupPairGap - { - get - { - return this._GroupPairGap; - } - set - { - if ((this._GroupPairGap != value)) - { - this.OnGroupPairGapChanging(value); - this.SendPropertyChanging(); - this._GroupPairGap = value; - this.SendPropertyChanged("GroupPairGap"); - this.OnGroupPairGapChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SurfaceCleaning", DbType="NVarChar(20)")] - public string SurfaceCleaning - { - get - { - return this._SurfaceCleaning; - } - set - { - if ((this._SurfaceCleaning != value)) - { - this.OnSurfaceCleaningChanging(value); - this.SendPropertyChanging(); - this._SurfaceCleaning = value; - this.SendPropertyChanged("SurfaceCleaning"); - this.OnSurfaceCleaningChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeatingTemperature", DbType="NVarChar(20)")] - public string HeatingTemperature - { - get - { - return this._HeatingTemperature; - } - set - { - if ((this._HeatingTemperature != value)) - { - this.OnHeatingTemperatureChanging(value); - this.SendPropertyChanging(); - this._HeatingTemperature = value; - this.SendPropertyChanged("HeatingTemperature"); - this.OnHeatingTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeatingRate", DbType="NVarChar(20)")] - public string HeatingRate - { - get - { - return this._HeatingRate; - } - set - { - if ((this._HeatingRate != value)) - { - this.OnHeatingRateChanging(value); - this.SendPropertyChanging(); - this._HeatingRate = value; - this.SendPropertyChanged("HeatingRate"); - this.OnHeatingRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HoldTime", DbType="NVarChar(20)")] - public string HoldTime - { - get - { - return this._HoldTime; - } - set - { - if ((this._HoldTime != value)) - { - this.OnHoldTimeChanging(value); - this.SendPropertyChanging(); - this._HoldTime = value; - this.SendPropertyChanged("HoldTime"); - this.OnHoldTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CoolRate", DbType="NVarChar(20)")] - public string CoolRate - { - get - { - return this._CoolRate; - } - set - { - if ((this._CoolRate != value)) - { - this.OnCoolRateChanging(value); - this.SendPropertyChanging(); - this._CoolRate = value; - this.SendPropertyChanged("CoolRate"); - this.OnCoolRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreheatTemperature", DbType="NVarChar(20)")] - public string PreheatTemperature - { - get - { - return this._PreheatTemperature; - } - set - { - if ((this._PreheatTemperature != value)) - { - this.OnPreheatTemperatureChanging(value); - this.SendPropertyChanging(); - this._PreheatTemperature = value; - this.SendPropertyChanged("PreheatTemperature"); - this.OnPreheatTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterlayerTemperature", DbType="NVarChar(20)")] - public string InterlayerTemperature - { - get - { - return this._InterlayerTemperature; - } - set - { - if ((this._InterlayerTemperature != value)) - { - this.OnInterlayerTemperatureChanging(value); - this.SendPropertyChanging(); - this._InterlayerTemperature = value; - this.SendPropertyChanged("InterlayerTemperature"); - this.OnInterlayerTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CurrentType", DbType="NVarChar(20)")] - public string CurrentType - { - get - { - return this._CurrentType; - } - set - { - if ((this._CurrentType != value)) - { - this.OnCurrentTypeChanging(value); - this.SendPropertyChanging(); - this._CurrentType = value; - this.SendPropertyChanged("CurrentType"); - this.OnCurrentTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Polarity1", DbType="NVarChar(20)")] - public string Polarity1 - { - get - { - return this._Polarity1; - } - set - { - if ((this._Polarity1 != value)) - { - this.OnPolarity1Changing(value); - this.SendPropertyChanging(); - this._Polarity1 = value; - this.SendPropertyChanged("Polarity1"); - this.OnPolarity1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Polarity2", DbType="NVarChar(20)")] - public string Polarity2 - { - get - { - return this._Polarity2; - } - set - { - if ((this._Polarity2 != value)) - { - this.OnPolarity2Changing(value); - this.SendPropertyChanging(); - this._Polarity2 = value; - this.SendPropertyChanged("Polarity2"); - this.OnPolarity2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TungstenType", DbType="NVarChar(20)")] - public string TungstenType - { - get - { - return this._TungstenType; - } - set - { - if ((this._TungstenType != value)) - { - this.OnTungstenTypeChanging(value); - this.SendPropertyChanging(); - this._TungstenType = value; - this.SendPropertyChanged("TungstenType"); - this.OnTungstenTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TungstenSpecifications", DbType="NVarChar(20)")] - public string TungstenSpecifications - { - get - { - return this._TungstenSpecifications; - } - set - { - if ((this._TungstenSpecifications != value)) - { - this.OnTungstenSpecificationsChanging(value); - this.SendPropertyChanging(); - this._TungstenSpecifications = value; - this.SendPropertyChanged("TungstenSpecifications"); - this.OnTungstenSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GasPositiveType", DbType="NVarChar(20)")] - public string GasPositiveType - { - get - { - return this._GasPositiveType; - } - set - { - if ((this._GasPositiveType != value)) - { - this.OnGasPositiveTypeChanging(value); - this.SendPropertyChanging(); - this._GasPositiveType = value; - this.SendPropertyChanged("GasPositiveType"); - this.OnGasPositiveTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GasPositiveFlow", DbType="NVarChar(20)")] - public string GasPositiveFlow - { - get - { - return this._GasPositiveFlow; - } - set - { - if ((this._GasPositiveFlow != value)) - { - this.OnGasPositiveFlowChanging(value); - this.SendPropertyChanging(); - this._GasPositiveFlow = value; - this.SendPropertyChanged("GasPositiveFlow"); - this.OnGasPositiveFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GasBackType", DbType="NVarChar(20)")] - public string GasBackType - { - get - { - return this._GasBackType; - } - set - { - if ((this._GasBackType != value)) - { - this.OnGasBackTypeChanging(value); - this.SendPropertyChanging(); - this._GasBackType = value; - this.SendPropertyChanged("GasBackType"); - this.OnGasBackTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GasBackFlow", DbType="NVarChar(20)")] - public string GasBackFlow - { - get - { - return this._GasBackFlow; - } - set - { - if ((this._GasBackFlow != value)) - { - this.OnGasBackFlowChanging(value); - this.SendPropertyChanging(); - this._GasBackFlow = value; - this.SendPropertyChanged("GasBackFlow"); - this.OnGasBackFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer1", DbType="NVarChar(20)")] - public string Layer1 - { - get - { - return this._Layer1; - } - set - { - if ((this._Layer1 != value)) - { - this.OnLayer1Changing(value); - this.SendPropertyChanging(); - this._Layer1 = value; - this.SendPropertyChanged("Layer1"); - this.OnLayer1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod1", DbType="VarChar(50)")] - public string WeldMethod1 - { - get - { - return this._WeldMethod1; - } - set - { - if ((this._WeldMethod1 != value)) - { - this.OnWeldMethod1Changing(value); - this.SendPropertyChanging(); - this._WeldMethod1 = value; - this.SendPropertyChanged("WeldMethod1"); - this.OnWeldMethod1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade1", DbType="NVarChar(20)")] - public string WeldGrade1 - { - get - { - return this._WeldGrade1; - } - set - { - if ((this._WeldGrade1 != value)) - { - this.OnWeldGrade1Changing(value); - this.SendPropertyChanging(); - this._WeldGrade1 = value; - this.SendPropertyChanged("WeldGrade1"); - this.OnWeldGrade1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpecifications1", DbType="NVarChar(20)")] - public string WeldSpecifications1 - { - get - { - return this._WeldSpecifications1; - } - set - { - if ((this._WeldSpecifications1 != value)) - { - this.OnWeldSpecifications1Changing(value); - this.SendPropertyChanging(); - this._WeldSpecifications1 = value; - this.SendPropertyChanged("WeldSpecifications1"); - this.OnWeldSpecifications1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldCurrent1", DbType="NVarChar(20)")] - public string WeldCurrent1 - { - get - { - return this._WeldCurrent1; - } - set - { - if ((this._WeldCurrent1 != value)) - { - this.OnWeldCurrent1Changing(value); - this.SendPropertyChanging(); - this._WeldCurrent1 = value; - this.SendPropertyChanged("WeldCurrent1"); - this.OnWeldCurrent1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldVoltage1", DbType="NVarChar(20)")] - public string WeldVoltage1 - { - get - { - return this._WeldVoltage1; - } - set - { - if ((this._WeldVoltage1 != value)) - { - this.OnWeldVoltage1Changing(value); - this.SendPropertyChanging(); - this._WeldVoltage1 = value; - this.SendPropertyChanged("WeldVoltage1"); - this.OnWeldVoltage1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpeed1", DbType="NVarChar(20)")] - public string WeldSpeed1 - { - get - { - return this._WeldSpeed1; - } - set - { - if ((this._WeldSpeed1 != value)) - { - this.OnWeldSpeed1Changing(value); - this.SendPropertyChanging(); - this._WeldSpeed1 = value; - this.SendPropertyChanged("WeldSpeed1"); - this.OnWeldSpeed1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark1", DbType="NVarChar(200)")] - public string Remark1 - { - get - { - return this._Remark1; - } - set - { - if ((this._Remark1 != value)) - { - this.OnRemark1Changing(value); - this.SendPropertyChanging(); - this._Remark1 = value; - this.SendPropertyChanged("Remark1"); - this.OnRemark1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer2", DbType="NVarChar(20)")] - public string Layer2 - { - get - { - return this._Layer2; - } - set - { - if ((this._Layer2 != value)) - { - this.OnLayer2Changing(value); - this.SendPropertyChanging(); - this._Layer2 = value; - this.SendPropertyChanged("Layer2"); - this.OnLayer2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod2", DbType="VarChar(50)")] - public string WeldMethod2 - { - get - { - return this._WeldMethod2; - } - set - { - if ((this._WeldMethod2 != value)) - { - this.OnWeldMethod2Changing(value); - this.SendPropertyChanging(); - this._WeldMethod2 = value; - this.SendPropertyChanged("WeldMethod2"); - this.OnWeldMethod2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade2", DbType="NVarChar(20)")] - public string WeldGrade2 - { - get - { - return this._WeldGrade2; - } - set - { - if ((this._WeldGrade2 != value)) - { - this.OnWeldGrade2Changing(value); - this.SendPropertyChanging(); - this._WeldGrade2 = value; - this.SendPropertyChanged("WeldGrade2"); - this.OnWeldGrade2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpecifications2", DbType="NVarChar(20)")] - public string WeldSpecifications2 - { - get - { - return this._WeldSpecifications2; - } - set - { - if ((this._WeldSpecifications2 != value)) - { - this.OnWeldSpecifications2Changing(value); - this.SendPropertyChanging(); - this._WeldSpecifications2 = value; - this.SendPropertyChanged("WeldSpecifications2"); - this.OnWeldSpecifications2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldCurrent2", DbType="NVarChar(20)")] - public string WeldCurrent2 - { - get - { - return this._WeldCurrent2; - } - set - { - if ((this._WeldCurrent2 != value)) - { - this.OnWeldCurrent2Changing(value); - this.SendPropertyChanging(); - this._WeldCurrent2 = value; - this.SendPropertyChanged("WeldCurrent2"); - this.OnWeldCurrent2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldVoltage2", DbType="NVarChar(20)")] - public string WeldVoltage2 - { - get - { - return this._WeldVoltage2; - } - set - { - if ((this._WeldVoltage2 != value)) - { - this.OnWeldVoltage2Changing(value); - this.SendPropertyChanging(); - this._WeldVoltage2 = value; - this.SendPropertyChanged("WeldVoltage2"); - this.OnWeldVoltage2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpeed2", DbType="NVarChar(20)")] - public string WeldSpeed2 - { - get - { - return this._WeldSpeed2; - } - set - { - if ((this._WeldSpeed2 != value)) - { - this.OnWeldSpeed2Changing(value); - this.SendPropertyChanging(); - this._WeldSpeed2 = value; - this.SendPropertyChanged("WeldSpeed2"); - this.OnWeldSpeed2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark2", DbType="NVarChar(200)")] - public string Remark2 - { - get - { - return this._Remark2; - } - set - { - if ((this._Remark2 != value)) - { - this.OnRemark2Changing(value); - this.SendPropertyChanging(); - this._Remark2 = value; - this.SendPropertyChanged("Remark2"); - this.OnRemark2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer3", DbType="NVarChar(20)")] - public string Layer3 - { - get - { - return this._Layer3; - } - set - { - if ((this._Layer3 != value)) - { - this.OnLayer3Changing(value); - this.SendPropertyChanging(); - this._Layer3 = value; - this.SendPropertyChanged("Layer3"); - this.OnLayer3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod3", DbType="VarChar(50)")] - public string WeldMethod3 - { - get - { - return this._WeldMethod3; - } - set - { - if ((this._WeldMethod3 != value)) - { - this.OnWeldMethod3Changing(value); - this.SendPropertyChanging(); - this._WeldMethod3 = value; - this.SendPropertyChanged("WeldMethod3"); - this.OnWeldMethod3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade3", DbType="NVarChar(20)")] - public string WeldGrade3 - { - get - { - return this._WeldGrade3; - } - set - { - if ((this._WeldGrade3 != value)) - { - this.OnWeldGrade3Changing(value); - this.SendPropertyChanging(); - this._WeldGrade3 = value; - this.SendPropertyChanged("WeldGrade3"); - this.OnWeldGrade3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpecifications3", DbType="NVarChar(20)")] - public string WeldSpecifications3 - { - get - { - return this._WeldSpecifications3; - } - set - { - if ((this._WeldSpecifications3 != value)) - { - this.OnWeldSpecifications3Changing(value); - this.SendPropertyChanging(); - this._WeldSpecifications3 = value; - this.SendPropertyChanged("WeldSpecifications3"); - this.OnWeldSpecifications3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldCurrent3", DbType="NVarChar(20)")] - public string WeldCurrent3 - { - get - { - return this._WeldCurrent3; - } - set - { - if ((this._WeldCurrent3 != value)) - { - this.OnWeldCurrent3Changing(value); - this.SendPropertyChanging(); - this._WeldCurrent3 = value; - this.SendPropertyChanged("WeldCurrent3"); - this.OnWeldCurrent3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldVoltage3", DbType="NVarChar(20)")] - public string WeldVoltage3 - { - get - { - return this._WeldVoltage3; - } - set - { - if ((this._WeldVoltage3 != value)) - { - this.OnWeldVoltage3Changing(value); - this.SendPropertyChanging(); - this._WeldVoltage3 = value; - this.SendPropertyChanged("WeldVoltage3"); - this.OnWeldVoltage3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpeed3", DbType="NVarChar(20)")] - public string WeldSpeed3 - { - get - { - return this._WeldSpeed3; - } - set - { - if ((this._WeldSpeed3 != value)) - { - this.OnWeldSpeed3Changing(value); - this.SendPropertyChanging(); - this._WeldSpeed3 = value; - this.SendPropertyChanged("WeldSpeed3"); - this.OnWeldSpeed3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark3", DbType="NVarChar(200)")] - public string Remark3 - { - get - { - return this._Remark3; - } - set - { - if ((this._Remark3 != value)) - { - this.OnRemark3Changing(value); - this.SendPropertyChanging(); - this._Remark3 = value; - this.SendPropertyChanged("Remark3"); - this.OnRemark3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExamineMan", DbType="NVarChar(50)")] - public string ExamineMan - { - get - { - return this._ExamineMan; - } - set - { - if ((this._ExamineMan != value)) - { - this.OnExamineManChanging(value); - this.SendPropertyChanging(); - this._ExamineMan = value; - this.SendPropertyChanged("ExamineMan"); - this.OnExamineManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExamineDate", DbType="DateTime")] - public System.Nullable ExamineDate - { - get - { - return this._ExamineDate; - } - set - { - if ((this._ExamineDate != value)) - { - this.OnExamineDateChanging(value); - this.SendPropertyChanging(); - this._ExamineDate = value; - this.SendPropertyChanged("ExamineDate"); - this.OnExamineDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprovalMan", DbType="NVarChar(50)")] - public string ApprovalMan - { - get - { - return this._ApprovalMan; - } - set - { - if ((this._ApprovalMan != value)) - { - this.OnApprovalManChanging(value); - this.SendPropertyChanging(); - this._ApprovalMan = value; - this.SendPropertyChanged("ApprovalMan"); - this.OnApprovalManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApprovalDate", DbType="DateTime")] - public System.Nullable ApprovalDate - { - get - { - return this._ApprovalDate; - } - set - { - if ((this._ApprovalDate != value)) - { - this.OnApprovalDateChanging(value); - this.SendPropertyChanging(); - this._ApprovalDate = value; - this.SendPropertyChanged("ApprovalDate"); - this.OnApprovalDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Char(1)")] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this.OnStateChanging(value); - this.SendPropertyChanging(); - this._State = value; - this.SendPropertyChanged("State"); - this.OnStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer4", DbType="NVarChar(20)")] - public string Layer4 - { - get - { - return this._Layer4; - } - set - { - if ((this._Layer4 != value)) - { - this.OnLayer4Changing(value); - this.SendPropertyChanging(); - this._Layer4 = value; - this.SendPropertyChanged("Layer4"); - this.OnLayer4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod4", DbType="NVarChar(50)")] - public string WeldMethod4 - { - get - { - return this._WeldMethod4; - } - set - { - if ((this._WeldMethod4 != value)) - { - this.OnWeldMethod4Changing(value); - this.SendPropertyChanging(); - this._WeldMethod4 = value; - this.SendPropertyChanged("WeldMethod4"); - this.OnWeldMethod4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade4", DbType="NVarChar(20)")] - public string WeldGrade4 - { - get - { - return this._WeldGrade4; - } - set - { - if ((this._WeldGrade4 != value)) - { - this.OnWeldGrade4Changing(value); - this.SendPropertyChanging(); - this._WeldGrade4 = value; - this.SendPropertyChanged("WeldGrade4"); - this.OnWeldGrade4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpecifications4", DbType="NVarChar(20)")] - public string WeldSpecifications4 - { - get - { - return this._WeldSpecifications4; - } - set - { - if ((this._WeldSpecifications4 != value)) - { - this.OnWeldSpecifications4Changing(value); - this.SendPropertyChanging(); - this._WeldSpecifications4 = value; - this.SendPropertyChanged("WeldSpecifications4"); - this.OnWeldSpecifications4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldCurrent4", DbType="NVarChar(20)")] - public string WeldCurrent4 - { - get - { - return this._WeldCurrent4; - } - set - { - if ((this._WeldCurrent4 != value)) - { - this.OnWeldCurrent4Changing(value); - this.SendPropertyChanging(); - this._WeldCurrent4 = value; - this.SendPropertyChanged("WeldCurrent4"); - this.OnWeldCurrent4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldVoltage4", DbType="NVarChar(20)")] - public string WeldVoltage4 - { - get - { - return this._WeldVoltage4; - } - set - { - if ((this._WeldVoltage4 != value)) - { - this.OnWeldVoltage4Changing(value); - this.SendPropertyChanging(); - this._WeldVoltage4 = value; - this.SendPropertyChanged("WeldVoltage4"); - this.OnWeldVoltage4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpeed4", DbType="NVarChar(20)")] - public string WeldSpeed4 - { - get - { - return this._WeldSpeed4; - } - set - { - if ((this._WeldSpeed4 != value)) - { - this.OnWeldSpeed4Changing(value); - this.SendPropertyChanging(); - this._WeldSpeed4 = value; - this.SendPropertyChanged("WeldSpeed4"); - this.OnWeldSpeed4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark4", DbType="NVarChar(200)")] - public string Remark4 - { - get - { - return this._Remark4; - } - set - { - if ((this._Remark4 != value)) - { - this.OnRemark4Changing(value); - this.SendPropertyChanging(); - this._Remark4 = value; - this.SendPropertyChanged("Remark4"); - this.OnRemark4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer5", DbType="NVarChar(20)")] - public string Layer5 - { - get - { - return this._Layer5; - } - set - { - if ((this._Layer5 != value)) - { - this.OnLayer5Changing(value); - this.SendPropertyChanging(); - this._Layer5 = value; - this.SendPropertyChanged("Layer5"); - this.OnLayer5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod5", DbType="NVarChar(50)")] - public string WeldMethod5 - { - get - { - return this._WeldMethod5; - } - set - { - if ((this._WeldMethod5 != value)) - { - this.OnWeldMethod5Changing(value); - this.SendPropertyChanging(); - this._WeldMethod5 = value; - this.SendPropertyChanged("WeldMethod5"); - this.OnWeldMethod5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade5", DbType="NVarChar(20)")] - public string WeldGrade5 - { - get - { - return this._WeldGrade5; - } - set - { - if ((this._WeldGrade5 != value)) - { - this.OnWeldGrade5Changing(value); - this.SendPropertyChanging(); - this._WeldGrade5 = value; - this.SendPropertyChanged("WeldGrade5"); - this.OnWeldGrade5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpecifications5", DbType="NVarChar(20)")] - public string WeldSpecifications5 - { - get - { - return this._WeldSpecifications5; - } - set - { - if ((this._WeldSpecifications5 != value)) - { - this.OnWeldSpecifications5Changing(value); - this.SendPropertyChanging(); - this._WeldSpecifications5 = value; - this.SendPropertyChanged("WeldSpecifications5"); - this.OnWeldSpecifications5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldCurrent5", DbType="NVarChar(20)")] - public string WeldCurrent5 - { - get - { - return this._WeldCurrent5; - } - set - { - if ((this._WeldCurrent5 != value)) - { - this.OnWeldCurrent5Changing(value); - this.SendPropertyChanging(); - this._WeldCurrent5 = value; - this.SendPropertyChanged("WeldCurrent5"); - this.OnWeldCurrent5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldVoltage5", DbType="NVarChar(20)")] - public string WeldVoltage5 - { - get - { - return this._WeldVoltage5; - } - set - { - if ((this._WeldVoltage5 != value)) - { - this.OnWeldVoltage5Changing(value); - this.SendPropertyChanging(); - this._WeldVoltage5 = value; - this.SendPropertyChanged("WeldVoltage5"); - this.OnWeldVoltage5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpeed5", DbType="NVarChar(20)")] - public string WeldSpeed5 - { - get - { - return this._WeldSpeed5; - } - set - { - if ((this._WeldSpeed5 != value)) - { - this.OnWeldSpeed5Changing(value); - this.SendPropertyChanging(); - this._WeldSpeed5 = value; - this.SendPropertyChanged("WeldSpeed5"); - this.OnWeldSpeed5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark5", DbType="NVarChar(200)")] - public string Remark5 - { - get - { - return this._Remark5; - } - set - { - if ((this._Remark5 != value)) - { - this.OnRemark5Changing(value); - this.SendPropertyChanging(); - this._Remark5 = value; - this.SendPropertyChanged("Remark5"); - this.OnRemark5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer6", DbType="NVarChar(20)")] - public string Layer6 - { - get - { - return this._Layer6; - } - set - { - if ((this._Layer6 != value)) - { - this.OnLayer6Changing(value); - this.SendPropertyChanging(); - this._Layer6 = value; - this.SendPropertyChanged("Layer6"); - this.OnLayer6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod6", DbType="NVarChar(50)")] - public string WeldMethod6 - { - get - { - return this._WeldMethod6; - } - set - { - if ((this._WeldMethod6 != value)) - { - this.OnWeldMethod6Changing(value); - this.SendPropertyChanging(); - this._WeldMethod6 = value; - this.SendPropertyChanged("WeldMethod6"); - this.OnWeldMethod6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade6", DbType="NVarChar(20)")] - public string WeldGrade6 - { - get - { - return this._WeldGrade6; - } - set - { - if ((this._WeldGrade6 != value)) - { - this.OnWeldGrade6Changing(value); - this.SendPropertyChanging(); - this._WeldGrade6 = value; - this.SendPropertyChanged("WeldGrade6"); - this.OnWeldGrade6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpecifications6", DbType="NVarChar(20)")] - public string WeldSpecifications6 - { - get - { - return this._WeldSpecifications6; - } - set - { - if ((this._WeldSpecifications6 != value)) - { - this.OnWeldSpecifications6Changing(value); - this.SendPropertyChanging(); - this._WeldSpecifications6 = value; - this.SendPropertyChanged("WeldSpecifications6"); - this.OnWeldSpecifications6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldCurrent6", DbType="NVarChar(20)")] - public string WeldCurrent6 - { - get - { - return this._WeldCurrent6; - } - set - { - if ((this._WeldCurrent6 != value)) - { - this.OnWeldCurrent6Changing(value); - this.SendPropertyChanging(); - this._WeldCurrent6 = value; - this.SendPropertyChanged("WeldCurrent6"); - this.OnWeldCurrent6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldVoltage6", DbType="NVarChar(20)")] - public string WeldVoltage6 - { - get - { - return this._WeldVoltage6; - } - set - { - if ((this._WeldVoltage6 != value)) - { - this.OnWeldVoltage6Changing(value); - this.SendPropertyChanging(); - this._WeldVoltage6 = value; - this.SendPropertyChanged("WeldVoltage6"); - this.OnWeldVoltage6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpeed6", DbType="NVarChar(20)")] - public string WeldSpeed6 - { - get - { - return this._WeldSpeed6; - } - set - { - if ((this._WeldSpeed6 != value)) - { - this.OnWeldSpeed6Changing(value); - this.SendPropertyChanging(); - this._WeldSpeed6 = value; - this.SendPropertyChanged("WeldSpeed6"); - this.OnWeldSpeed6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark6", DbType="NVarChar(200)")] - public string Remark6 - { - get - { - return this._Remark6; - } - set - { - if ((this._Remark6 != value)) - { - this.OnRemark6Changing(value); - this.SendPropertyChanging(); - this._Remark6 = value; - this.SendPropertyChanged("Remark6"); - this.OnRemark6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureCode", DbType="NVarChar(50)")] - public string WeldingProcedureCode - { - get - { - return this._WeldingProcedureCode; - } - set - { - if ((this._WeldingProcedureCode != value)) - { - this.OnWeldingProcedureCodeChanging(value); - this.SendPropertyChanging(); - this._WeldingProcedureCode = value; - this.SendPropertyChanged("WeldingProcedureCode"); - this.OnWeldingProcedureCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_MatchedProcedureMaterial_HJGL_WeldingProcedure_WeldingPr" + - "ocessCard", Storage="_HJGL_WeldingProcedure_MatchedProcedureMaterial", ThisKey="WeldingProcessCardId", OtherKey="WeldingProcessCardId", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_MatchedProcedureMaterial - { - get - { - return this._HJGL_WeldingProcedure_MatchedProcedureMaterial; - } - set - { - this._HJGL_WeldingProcedure_MatchedProcedureMaterial.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcessCard_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldingProcessCard.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldingProcessCard.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcessCard_HJGL_BS_WeldMethod", Storage="_HJGL_BS_WeldMethod", ThisKey="WME_ID", OtherKey="WME_ID", IsForeignKey=true)] - public HJGL_BS_WeldMethod HJGL_BS_WeldMethod - { - get - { - return this._HJGL_BS_WeldMethod.Entity; - } - set - { - HJGL_BS_WeldMethod previousValue = this._HJGL_BS_WeldMethod.Entity; - if (((previousValue != value) - || (this._HJGL_BS_WeldMethod.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_WeldMethod.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldingProcessCard.Remove(this); - } - this._HJGL_BS_WeldMethod.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldingProcessCard.Add(this); - this._WME_ID = value.WME_ID; - } - else - { - this._WME_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_WeldMethod"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldingProcessCard_HJGL_WeldingProcedure_JointImage", Storage="_HJGL_WeldingProcedure_JointImage", ThisKey="JointImageId", OtherKey="JointImageId", IsForeignKey=true)] - public HJGL_WeldingProcedure_JointImage HJGL_WeldingProcedure_JointImage - { - get - { - return this._HJGL_WeldingProcedure_JointImage.Entity; - } - set - { - HJGL_WeldingProcedure_JointImage previousValue = this._HJGL_WeldingProcedure_JointImage.Entity; - if (((previousValue != value) - || (this._HJGL_WeldingProcedure_JointImage.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_WeldingProcedure_JointImage.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldingProcessCard.Remove(this); - } - this._HJGL_WeldingProcedure_JointImage.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldingProcessCard.Add(this); - this._JointImageId = value.JointImageId; - } - else - { - this._JointImageId = default(string); - } - this.SendPropertyChanged("HJGL_WeldingProcedure_JointImage"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_WeldingProcedure_WeldingProcessCard = this; - } - - private void detach_HJGL_WeldingProcedure_MatchedProcedureMaterial(HJGL_WeldingProcedure_MatchedProcedureMaterial entity) - { - this.SendPropertyChanging(); - entity.HJGL_WeldingProcedure_WeldingProcessCard = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HJGL_WeldingProcedure_WeldRepairCard")] - public partial class HJGL_WeldingProcedure_WeldRepairCard : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldRepairCardId; - - private string _ProjectId; - - private string _WeldRepairCardCode; - - private string _JOT_ID; - - private string _CHT_RepairLocation; - - private string _RepairPart; - - private string _RepairLength; - - private string _WeldingProcedureCode; - - private string _RepairNum; - - private string _Grade1; - - private string _Specifications1; - - private string _BakingSpecifications1; - - private string _Time1; - - private string _Dosage1; - - private string _Grade2; - - private string _Specifications2; - - private string _BakingSpecifications2; - - private string _Time2; - - private string _Dosage2; - - private string _Grade3; - - private string _Specifications3; - - private string _BakingSpecifications3; - - private string _Time3; - - private string _Dosage3; - - private string _Grade4; - - private string _Specifications4; - - private string _BakingSpecifications4; - - private string _Time4; - - private string _Dosage4; - - private string _RepairStep1; - - private string _RepairStep2; - - private string _RepairStep3; - - private string _RepairStep4; - - private string _RepairStep5; - - private string _Layer1; - - private string _WeldMethod1; - - private string _PowerPolarity1; - - private string _WeldGrade1; - - private string _Dia1; - - private string _PreTemp1; - - private string _LayerTemp1; - - private string _Current1; - - private string _Voltage1; - - private string _Speed1; - - private string _AfterTemp1; - - private string _Layer2; - - private string _WeldMethod2; - - private string _PowerPolarity2; - - private string _WeldGrade2; - - private string _Dia2; - - private string _PreTemp2; - - private string _LayerTemp2; - - private string _Current2; - - private string _Voltage2; - - private string _Speed2; - - private string _AfterTemp2; - - private string _Layer3; - - private string _WeldMethod3; - - private string _PowerPolarity3; - - private string _WeldGrade3; - - private string _Dia3; - - private string _PreTemp3; - - private string _LayerTemp3; - - private string _Current3; - - private string _Voltage3; - - private string _Speed3; - - private string _AfterTemp3; - - private string _Layer4; - - private string _WeldMethod4; - - private string _PowerPolarity4; - - private string _WeldGrade4; - - private string _Dia4; - - private string _PreTemp4; - - private string _LayerTemp4; - - private string _Current4; - - private string _Voltage4; - - private string _Speed4; - - private string _AfterTemp4; - - private string _Layer5; - - private string _WeldMethod5; - - private string _PowerPolarity5; - - private string _WeldGrade5; - - private string _Dia5; - - private string _PreTemp5; - - private string _LayerTemp5; - - private string _Current5; - - private string _Voltage5; - - private string _Speed5; - - private string _AfterTemp5; - - private string _Layer6; - - private string _WeldMethod6; - - private string _PowerPolarity6; - - private string _WeldGrade6; - - private string _Dia6; - - private string _PreTemp6; - - private string _LayerTemp6; - - private string _Current6; - - private string _Voltage6; - - private string _Speed6; - - private string _AfterTemp6; - - private string _CompileMan; - - private System.Nullable _CompileDate; - - private string _ExamineMan; - - private System.Nullable _ExamineDate; - - private string _Flag; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_PW_JointInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldRepairCardIdChanging(string value); - partial void OnWeldRepairCardIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnWeldRepairCardCodeChanging(string value); - partial void OnWeldRepairCardCodeChanged(); - partial void OnJOT_IDChanging(string value); - partial void OnJOT_IDChanged(); - partial void OnCHT_RepairLocationChanging(string value); - partial void OnCHT_RepairLocationChanged(); - partial void OnRepairPartChanging(string value); - partial void OnRepairPartChanged(); - partial void OnRepairLengthChanging(string value); - partial void OnRepairLengthChanged(); - partial void OnWeldingProcedureCodeChanging(string value); - partial void OnWeldingProcedureCodeChanged(); - partial void OnRepairNumChanging(string value); - partial void OnRepairNumChanged(); - partial void OnGrade1Changing(string value); - partial void OnGrade1Changed(); - partial void OnSpecifications1Changing(string value); - partial void OnSpecifications1Changed(); - partial void OnBakingSpecifications1Changing(string value); - partial void OnBakingSpecifications1Changed(); - partial void OnTime1Changing(string value); - partial void OnTime1Changed(); - partial void OnDosage1Changing(string value); - partial void OnDosage1Changed(); - partial void OnGrade2Changing(string value); - partial void OnGrade2Changed(); - partial void OnSpecifications2Changing(string value); - partial void OnSpecifications2Changed(); - partial void OnBakingSpecifications2Changing(string value); - partial void OnBakingSpecifications2Changed(); - partial void OnTime2Changing(string value); - partial void OnTime2Changed(); - partial void OnDosage2Changing(string value); - partial void OnDosage2Changed(); - partial void OnGrade3Changing(string value); - partial void OnGrade3Changed(); - partial void OnSpecifications3Changing(string value); - partial void OnSpecifications3Changed(); - partial void OnBakingSpecifications3Changing(string value); - partial void OnBakingSpecifications3Changed(); - partial void OnTime3Changing(string value); - partial void OnTime3Changed(); - partial void OnDosage3Changing(string value); - partial void OnDosage3Changed(); - partial void OnGrade4Changing(string value); - partial void OnGrade4Changed(); - partial void OnSpecifications4Changing(string value); - partial void OnSpecifications4Changed(); - partial void OnBakingSpecifications4Changing(string value); - partial void OnBakingSpecifications4Changed(); - partial void OnTime4Changing(string value); - partial void OnTime4Changed(); - partial void OnDosage4Changing(string value); - partial void OnDosage4Changed(); - partial void OnRepairStep1Changing(string value); - partial void OnRepairStep1Changed(); - partial void OnRepairStep2Changing(string value); - partial void OnRepairStep2Changed(); - partial void OnRepairStep3Changing(string value); - partial void OnRepairStep3Changed(); - partial void OnRepairStep4Changing(string value); - partial void OnRepairStep4Changed(); - partial void OnRepairStep5Changing(string value); - partial void OnRepairStep5Changed(); - partial void OnLayer1Changing(string value); - partial void OnLayer1Changed(); - partial void OnWeldMethod1Changing(string value); - partial void OnWeldMethod1Changed(); - partial void OnPowerPolarity1Changing(string value); - partial void OnPowerPolarity1Changed(); - partial void OnWeldGrade1Changing(string value); - partial void OnWeldGrade1Changed(); - partial void OnDia1Changing(string value); - partial void OnDia1Changed(); - partial void OnPreTemp1Changing(string value); - partial void OnPreTemp1Changed(); - partial void OnLayerTemp1Changing(string value); - partial void OnLayerTemp1Changed(); - partial void OnCurrent1Changing(string value); - partial void OnCurrent1Changed(); - partial void OnVoltage1Changing(string value); - partial void OnVoltage1Changed(); - partial void OnSpeed1Changing(string value); - partial void OnSpeed1Changed(); - partial void OnAfterTemp1Changing(string value); - partial void OnAfterTemp1Changed(); - partial void OnLayer2Changing(string value); - partial void OnLayer2Changed(); - partial void OnWeldMethod2Changing(string value); - partial void OnWeldMethod2Changed(); - partial void OnPowerPolarity2Changing(string value); - partial void OnPowerPolarity2Changed(); - partial void OnWeldGrade2Changing(string value); - partial void OnWeldGrade2Changed(); - partial void OnDia2Changing(string value); - partial void OnDia2Changed(); - partial void OnPreTemp2Changing(string value); - partial void OnPreTemp2Changed(); - partial void OnLayerTemp2Changing(string value); - partial void OnLayerTemp2Changed(); - partial void OnCurrent2Changing(string value); - partial void OnCurrent2Changed(); - partial void OnVoltage2Changing(string value); - partial void OnVoltage2Changed(); - partial void OnSpeed2Changing(string value); - partial void OnSpeed2Changed(); - partial void OnAfterTemp2Changing(string value); - partial void OnAfterTemp2Changed(); - partial void OnLayer3Changing(string value); - partial void OnLayer3Changed(); - partial void OnWeldMethod3Changing(string value); - partial void OnWeldMethod3Changed(); - partial void OnPowerPolarity3Changing(string value); - partial void OnPowerPolarity3Changed(); - partial void OnWeldGrade3Changing(string value); - partial void OnWeldGrade3Changed(); - partial void OnDia3Changing(string value); - partial void OnDia3Changed(); - partial void OnPreTemp3Changing(string value); - partial void OnPreTemp3Changed(); - partial void OnLayerTemp3Changing(string value); - partial void OnLayerTemp3Changed(); - partial void OnCurrent3Changing(string value); - partial void OnCurrent3Changed(); - partial void OnVoltage3Changing(string value); - partial void OnVoltage3Changed(); - partial void OnSpeed3Changing(string value); - partial void OnSpeed3Changed(); - partial void OnAfterTemp3Changing(string value); - partial void OnAfterTemp3Changed(); - partial void OnLayer4Changing(string value); - partial void OnLayer4Changed(); - partial void OnWeldMethod4Changing(string value); - partial void OnWeldMethod4Changed(); - partial void OnPowerPolarity4Changing(string value); - partial void OnPowerPolarity4Changed(); - partial void OnWeldGrade4Changing(string value); - partial void OnWeldGrade4Changed(); - partial void OnDia4Changing(string value); - partial void OnDia4Changed(); - partial void OnPreTemp4Changing(string value); - partial void OnPreTemp4Changed(); - partial void OnLayerTemp4Changing(string value); - partial void OnLayerTemp4Changed(); - partial void OnCurrent4Changing(string value); - partial void OnCurrent4Changed(); - partial void OnVoltage4Changing(string value); - partial void OnVoltage4Changed(); - partial void OnSpeed4Changing(string value); - partial void OnSpeed4Changed(); - partial void OnAfterTemp4Changing(string value); - partial void OnAfterTemp4Changed(); - partial void OnLayer5Changing(string value); - partial void OnLayer5Changed(); - partial void OnWeldMethod5Changing(string value); - partial void OnWeldMethod5Changed(); - partial void OnPowerPolarity5Changing(string value); - partial void OnPowerPolarity5Changed(); - partial void OnWeldGrade5Changing(string value); - partial void OnWeldGrade5Changed(); - partial void OnDia5Changing(string value); - partial void OnDia5Changed(); - partial void OnPreTemp5Changing(string value); - partial void OnPreTemp5Changed(); - partial void OnLayerTemp5Changing(string value); - partial void OnLayerTemp5Changed(); - partial void OnCurrent5Changing(string value); - partial void OnCurrent5Changed(); - partial void OnVoltage5Changing(string value); - partial void OnVoltage5Changed(); - partial void OnSpeed5Changing(string value); - partial void OnSpeed5Changed(); - partial void OnAfterTemp5Changing(string value); - partial void OnAfterTemp5Changed(); - partial void OnLayer6Changing(string value); - partial void OnLayer6Changed(); - partial void OnWeldMethod6Changing(string value); - partial void OnWeldMethod6Changed(); - partial void OnPowerPolarity6Changing(string value); - partial void OnPowerPolarity6Changed(); - partial void OnWeldGrade6Changing(string value); - partial void OnWeldGrade6Changed(); - partial void OnDia6Changing(string value); - partial void OnDia6Changed(); - partial void OnPreTemp6Changing(string value); - partial void OnPreTemp6Changed(); - partial void OnLayerTemp6Changing(string value); - partial void OnLayerTemp6Changed(); - partial void OnCurrent6Changing(string value); - partial void OnCurrent6Changed(); - partial void OnVoltage6Changing(string value); - partial void OnVoltage6Changed(); - partial void OnSpeed6Changing(string value); - partial void OnSpeed6Changed(); - partial void OnAfterTemp6Changing(string value); - partial void OnAfterTemp6Changed(); - partial void OnCompileManChanging(string value); - partial void OnCompileManChanged(); - partial void OnCompileDateChanging(System.Nullable value); - partial void OnCompileDateChanged(); - partial void OnExamineManChanging(string value); - partial void OnExamineManChanged(); - partial void OnExamineDateChanging(System.Nullable value); - partial void OnExamineDateChanged(); - partial void OnFlagChanging(string value); - partial void OnFlagChanged(); - #endregion - - public HJGL_WeldingProcedure_WeldRepairCard() - { - this._Base_Project = default(EntityRef); - this._HJGL_PW_JointInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldRepairCardId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldRepairCardId - { - get - { - return this._WeldRepairCardId; - } - set - { - if ((this._WeldRepairCardId != value)) - { - this.OnWeldRepairCardIdChanging(value); - this.SendPropertyChanging(); - this._WeldRepairCardId = value; - this.SendPropertyChanged("WeldRepairCardId"); - this.OnWeldRepairCardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldRepairCardCode", DbType="NVarChar(50)")] - public string WeldRepairCardCode - { - get - { - return this._WeldRepairCardCode; - } - set - { - if ((this._WeldRepairCardCode != value)) - { - this.OnWeldRepairCardCodeChanging(value); - this.SendPropertyChanging(); - this._WeldRepairCardCode = value; - this.SendPropertyChanged("WeldRepairCardCode"); - this.OnWeldRepairCardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50)")] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - if (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnJOT_IDChanging(value); - this.SendPropertyChanging(); - this._JOT_ID = value; - this.SendPropertyChanged("JOT_ID"); - this.OnJOT_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CHT_RepairLocation", DbType="VarChar(20)")] - public string CHT_RepairLocation - { - get - { - return this._CHT_RepairLocation; - } - set - { - if ((this._CHT_RepairLocation != value)) - { - this.OnCHT_RepairLocationChanging(value); - this.SendPropertyChanging(); - this._CHT_RepairLocation = value; - this.SendPropertyChanged("CHT_RepairLocation"); - this.OnCHT_RepairLocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairPart", DbType="NVarChar(50)")] - public string RepairPart - { - get - { - return this._RepairPart; - } - set - { - if ((this._RepairPart != value)) - { - this.OnRepairPartChanging(value); - this.SendPropertyChanging(); - this._RepairPart = value; - this.SendPropertyChanged("RepairPart"); - this.OnRepairPartChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairLength", DbType="NVarChar(50)")] - public string RepairLength - { - get - { - return this._RepairLength; - } - set - { - if ((this._RepairLength != value)) - { - this.OnRepairLengthChanging(value); - this.SendPropertyChanging(); - this._RepairLength = value; - this.SendPropertyChanged("RepairLength"); - this.OnRepairLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingProcedureCode", DbType="NVarChar(50)")] - public string WeldingProcedureCode - { - get - { - return this._WeldingProcedureCode; - } - set - { - if ((this._WeldingProcedureCode != value)) - { - this.OnWeldingProcedureCodeChanging(value); - this.SendPropertyChanging(); - this._WeldingProcedureCode = value; - this.SendPropertyChanged("WeldingProcedureCode"); - this.OnWeldingProcedureCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="NVarChar(50)")] - public string RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this.OnRepairNumChanging(value); - this.SendPropertyChanging(); - this._RepairNum = value; - this.SendPropertyChanged("RepairNum"); - this.OnRepairNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grade1", DbType="NVarChar(50)")] - public string Grade1 - { - get - { - return this._Grade1; - } - set - { - if ((this._Grade1 != value)) - { - this.OnGrade1Changing(value); - this.SendPropertyChanging(); - this._Grade1 = value; - this.SendPropertyChanged("Grade1"); - this.OnGrade1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications1", DbType="NVarChar(50)")] - public string Specifications1 - { - get - { - return this._Specifications1; - } - set - { - if ((this._Specifications1 != value)) - { - this.OnSpecifications1Changing(value); - this.SendPropertyChanging(); - this._Specifications1 = value; - this.SendPropertyChanged("Specifications1"); - this.OnSpecifications1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakingSpecifications1", DbType="NVarChar(50)")] - public string BakingSpecifications1 - { - get - { - return this._BakingSpecifications1; - } - set - { - if ((this._BakingSpecifications1 != value)) - { - this.OnBakingSpecifications1Changing(value); - this.SendPropertyChanging(); - this._BakingSpecifications1 = value; - this.SendPropertyChanged("BakingSpecifications1"); - this.OnBakingSpecifications1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time1", DbType="NVarChar(50)")] - public string Time1 - { - get - { - return this._Time1; - } - set - { - if ((this._Time1 != value)) - { - this.OnTime1Changing(value); - this.SendPropertyChanging(); - this._Time1 = value; - this.SendPropertyChanged("Time1"); - this.OnTime1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dosage1", DbType="NVarChar(50)")] - public string Dosage1 - { - get - { - return this._Dosage1; - } - set - { - if ((this._Dosage1 != value)) - { - this.OnDosage1Changing(value); - this.SendPropertyChanging(); - this._Dosage1 = value; - this.SendPropertyChanged("Dosage1"); - this.OnDosage1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grade2", DbType="NVarChar(50)")] - public string Grade2 - { - get - { - return this._Grade2; - } - set - { - if ((this._Grade2 != value)) - { - this.OnGrade2Changing(value); - this.SendPropertyChanging(); - this._Grade2 = value; - this.SendPropertyChanged("Grade2"); - this.OnGrade2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications2", DbType="NVarChar(50)")] - public string Specifications2 - { - get - { - return this._Specifications2; - } - set - { - if ((this._Specifications2 != value)) - { - this.OnSpecifications2Changing(value); - this.SendPropertyChanging(); - this._Specifications2 = value; - this.SendPropertyChanged("Specifications2"); - this.OnSpecifications2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakingSpecifications2", DbType="NVarChar(50)")] - public string BakingSpecifications2 - { - get - { - return this._BakingSpecifications2; - } - set - { - if ((this._BakingSpecifications2 != value)) - { - this.OnBakingSpecifications2Changing(value); - this.SendPropertyChanging(); - this._BakingSpecifications2 = value; - this.SendPropertyChanged("BakingSpecifications2"); - this.OnBakingSpecifications2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time2", DbType="NVarChar(50)")] - public string Time2 - { - get - { - return this._Time2; - } - set - { - if ((this._Time2 != value)) - { - this.OnTime2Changing(value); - this.SendPropertyChanging(); - this._Time2 = value; - this.SendPropertyChanged("Time2"); - this.OnTime2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dosage2", DbType="NVarChar(50)")] - public string Dosage2 - { - get - { - return this._Dosage2; - } - set - { - if ((this._Dosage2 != value)) - { - this.OnDosage2Changing(value); - this.SendPropertyChanging(); - this._Dosage2 = value; - this.SendPropertyChanged("Dosage2"); - this.OnDosage2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grade3", DbType="NVarChar(50)")] - public string Grade3 - { - get - { - return this._Grade3; - } - set - { - if ((this._Grade3 != value)) - { - this.OnGrade3Changing(value); - this.SendPropertyChanging(); - this._Grade3 = value; - this.SendPropertyChanged("Grade3"); - this.OnGrade3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications3", DbType="NVarChar(50)")] - public string Specifications3 - { - get - { - return this._Specifications3; - } - set - { - if ((this._Specifications3 != value)) - { - this.OnSpecifications3Changing(value); - this.SendPropertyChanging(); - this._Specifications3 = value; - this.SendPropertyChanged("Specifications3"); - this.OnSpecifications3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakingSpecifications3", DbType="NVarChar(50)")] - public string BakingSpecifications3 - { - get - { - return this._BakingSpecifications3; - } - set - { - if ((this._BakingSpecifications3 != value)) - { - this.OnBakingSpecifications3Changing(value); - this.SendPropertyChanging(); - this._BakingSpecifications3 = value; - this.SendPropertyChanged("BakingSpecifications3"); - this.OnBakingSpecifications3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time3", DbType="NVarChar(50)")] - public string Time3 - { - get - { - return this._Time3; - } - set - { - if ((this._Time3 != value)) - { - this.OnTime3Changing(value); - this.SendPropertyChanging(); - this._Time3 = value; - this.SendPropertyChanged("Time3"); - this.OnTime3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dosage3", DbType="NVarChar(50)")] - public string Dosage3 - { - get - { - return this._Dosage3; - } - set - { - if ((this._Dosage3 != value)) - { - this.OnDosage3Changing(value); - this.SendPropertyChanging(); - this._Dosage3 = value; - this.SendPropertyChanged("Dosage3"); - this.OnDosage3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Grade4", DbType="NVarChar(50)")] - public string Grade4 - { - get - { - return this._Grade4; - } - set - { - if ((this._Grade4 != value)) - { - this.OnGrade4Changing(value); - this.SendPropertyChanging(); - this._Grade4 = value; - this.SendPropertyChanged("Grade4"); - this.OnGrade4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications4", DbType="NVarChar(50)")] - public string Specifications4 - { - get - { - return this._Specifications4; - } - set - { - if ((this._Specifications4 != value)) - { - this.OnSpecifications4Changing(value); - this.SendPropertyChanging(); - this._Specifications4 = value; - this.SendPropertyChanged("Specifications4"); - this.OnSpecifications4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BakingSpecifications4", DbType="NVarChar(50)")] - public string BakingSpecifications4 - { - get - { - return this._BakingSpecifications4; - } - set - { - if ((this._BakingSpecifications4 != value)) - { - this.OnBakingSpecifications4Changing(value); - this.SendPropertyChanging(); - this._BakingSpecifications4 = value; - this.SendPropertyChanged("BakingSpecifications4"); - this.OnBakingSpecifications4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Time4", DbType="NVarChar(50)")] - public string Time4 - { - get - { - return this._Time4; - } - set - { - if ((this._Time4 != value)) - { - this.OnTime4Changing(value); - this.SendPropertyChanging(); - this._Time4 = value; - this.SendPropertyChanged("Time4"); - this.OnTime4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dosage4", DbType="NVarChar(50)")] - public string Dosage4 - { - get - { - return this._Dosage4; - } - set - { - if ((this._Dosage4 != value)) - { - this.OnDosage4Changing(value); - this.SendPropertyChanging(); - this._Dosage4 = value; - this.SendPropertyChanged("Dosage4"); - this.OnDosage4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep1", DbType="NVarChar(500)")] - public string RepairStep1 - { - get - { - return this._RepairStep1; - } - set - { - if ((this._RepairStep1 != value)) - { - this.OnRepairStep1Changing(value); - this.SendPropertyChanging(); - this._RepairStep1 = value; - this.SendPropertyChanged("RepairStep1"); - this.OnRepairStep1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep2", DbType="NVarChar(500)")] - public string RepairStep2 - { - get - { - return this._RepairStep2; - } - set - { - if ((this._RepairStep2 != value)) - { - this.OnRepairStep2Changing(value); - this.SendPropertyChanging(); - this._RepairStep2 = value; - this.SendPropertyChanged("RepairStep2"); - this.OnRepairStep2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep3", DbType="NVarChar(500)")] - public string RepairStep3 - { - get - { - return this._RepairStep3; - } - set - { - if ((this._RepairStep3 != value)) - { - this.OnRepairStep3Changing(value); - this.SendPropertyChanging(); - this._RepairStep3 = value; - this.SendPropertyChanged("RepairStep3"); - this.OnRepairStep3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep4", DbType="NVarChar(500)")] - public string RepairStep4 - { - get - { - return this._RepairStep4; - } - set - { - if ((this._RepairStep4 != value)) - { - this.OnRepairStep4Changing(value); - this.SendPropertyChanging(); - this._RepairStep4 = value; - this.SendPropertyChanged("RepairStep4"); - this.OnRepairStep4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairStep5", DbType="NVarChar(500)")] - public string RepairStep5 - { - get - { - return this._RepairStep5; - } - set - { - if ((this._RepairStep5 != value)) - { - this.OnRepairStep5Changing(value); - this.SendPropertyChanging(); - this._RepairStep5 = value; - this.SendPropertyChanged("RepairStep5"); - this.OnRepairStep5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer1", DbType="NVarChar(50)")] - public string Layer1 - { - get - { - return this._Layer1; - } - set - { - if ((this._Layer1 != value)) - { - this.OnLayer1Changing(value); - this.SendPropertyChanging(); - this._Layer1 = value; - this.SendPropertyChanged("Layer1"); - this.OnLayer1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod1", DbType="NVarChar(50)")] - public string WeldMethod1 - { - get - { - return this._WeldMethod1; - } - set - { - if ((this._WeldMethod1 != value)) - { - this.OnWeldMethod1Changing(value); - this.SendPropertyChanging(); - this._WeldMethod1 = value; - this.SendPropertyChanged("WeldMethod1"); - this.OnWeldMethod1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity1", DbType="NVarChar(50)")] - public string PowerPolarity1 - { - get - { - return this._PowerPolarity1; - } - set - { - if ((this._PowerPolarity1 != value)) - { - this.OnPowerPolarity1Changing(value); - this.SendPropertyChanging(); - this._PowerPolarity1 = value; - this.SendPropertyChanged("PowerPolarity1"); - this.OnPowerPolarity1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade1", DbType="NVarChar(50)")] - public string WeldGrade1 - { - get - { - return this._WeldGrade1; - } - set - { - if ((this._WeldGrade1 != value)) - { - this.OnWeldGrade1Changing(value); - this.SendPropertyChanging(); - this._WeldGrade1 = value; - this.SendPropertyChanged("WeldGrade1"); - this.OnWeldGrade1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia1", DbType="NVarChar(50)")] - public string Dia1 - { - get - { - return this._Dia1; - } - set - { - if ((this._Dia1 != value)) - { - this.OnDia1Changing(value); - this.SendPropertyChanging(); - this._Dia1 = value; - this.SendPropertyChanged("Dia1"); - this.OnDia1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp1", DbType="NVarChar(50)")] - public string PreTemp1 - { - get - { - return this._PreTemp1; - } - set - { - if ((this._PreTemp1 != value)) - { - this.OnPreTemp1Changing(value); - this.SendPropertyChanging(); - this._PreTemp1 = value; - this.SendPropertyChanged("PreTemp1"); - this.OnPreTemp1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp1", DbType="NVarChar(50)")] - public string LayerTemp1 - { - get - { - return this._LayerTemp1; - } - set - { - if ((this._LayerTemp1 != value)) - { - this.OnLayerTemp1Changing(value); - this.SendPropertyChanging(); - this._LayerTemp1 = value; - this.SendPropertyChanged("LayerTemp1"); - this.OnLayerTemp1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current1", DbType="NVarChar(50)")] - public string Current1 - { - get - { - return this._Current1; - } - set - { - if ((this._Current1 != value)) - { - this.OnCurrent1Changing(value); - this.SendPropertyChanging(); - this._Current1 = value; - this.SendPropertyChanged("Current1"); - this.OnCurrent1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage1", DbType="NVarChar(50)")] - public string Voltage1 - { - get - { - return this._Voltage1; - } - set - { - if ((this._Voltage1 != value)) - { - this.OnVoltage1Changing(value); - this.SendPropertyChanging(); - this._Voltage1 = value; - this.SendPropertyChanged("Voltage1"); - this.OnVoltage1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed1", DbType="NVarChar(50)")] - public string Speed1 - { - get - { - return this._Speed1; - } - set - { - if ((this._Speed1 != value)) - { - this.OnSpeed1Changing(value); - this.SendPropertyChanging(); - this._Speed1 = value; - this.SendPropertyChanged("Speed1"); - this.OnSpeed1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp1", DbType="NVarChar(50)")] - public string AfterTemp1 - { - get - { - return this._AfterTemp1; - } - set - { - if ((this._AfterTemp1 != value)) - { - this.OnAfterTemp1Changing(value); - this.SendPropertyChanging(); - this._AfterTemp1 = value; - this.SendPropertyChanged("AfterTemp1"); - this.OnAfterTemp1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer2", DbType="NVarChar(50)")] - public string Layer2 - { - get - { - return this._Layer2; - } - set - { - if ((this._Layer2 != value)) - { - this.OnLayer2Changing(value); - this.SendPropertyChanging(); - this._Layer2 = value; - this.SendPropertyChanged("Layer2"); - this.OnLayer2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod2", DbType="NVarChar(50)")] - public string WeldMethod2 - { - get - { - return this._WeldMethod2; - } - set - { - if ((this._WeldMethod2 != value)) - { - this.OnWeldMethod2Changing(value); - this.SendPropertyChanging(); - this._WeldMethod2 = value; - this.SendPropertyChanged("WeldMethod2"); - this.OnWeldMethod2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity2", DbType="NVarChar(50)")] - public string PowerPolarity2 - { - get - { - return this._PowerPolarity2; - } - set - { - if ((this._PowerPolarity2 != value)) - { - this.OnPowerPolarity2Changing(value); - this.SendPropertyChanging(); - this._PowerPolarity2 = value; - this.SendPropertyChanged("PowerPolarity2"); - this.OnPowerPolarity2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade2", DbType="NVarChar(50)")] - public string WeldGrade2 - { - get - { - return this._WeldGrade2; - } - set - { - if ((this._WeldGrade2 != value)) - { - this.OnWeldGrade2Changing(value); - this.SendPropertyChanging(); - this._WeldGrade2 = value; - this.SendPropertyChanged("WeldGrade2"); - this.OnWeldGrade2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia2", DbType="NVarChar(50)")] - public string Dia2 - { - get - { - return this._Dia2; - } - set - { - if ((this._Dia2 != value)) - { - this.OnDia2Changing(value); - this.SendPropertyChanging(); - this._Dia2 = value; - this.SendPropertyChanged("Dia2"); - this.OnDia2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp2", DbType="NVarChar(50)")] - public string PreTemp2 - { - get - { - return this._PreTemp2; - } - set - { - if ((this._PreTemp2 != value)) - { - this.OnPreTemp2Changing(value); - this.SendPropertyChanging(); - this._PreTemp2 = value; - this.SendPropertyChanged("PreTemp2"); - this.OnPreTemp2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp2", DbType="NVarChar(50)")] - public string LayerTemp2 - { - get - { - return this._LayerTemp2; - } - set - { - if ((this._LayerTemp2 != value)) - { - this.OnLayerTemp2Changing(value); - this.SendPropertyChanging(); - this._LayerTemp2 = value; - this.SendPropertyChanged("LayerTemp2"); - this.OnLayerTemp2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current2", DbType="NVarChar(50)")] - public string Current2 - { - get - { - return this._Current2; - } - set - { - if ((this._Current2 != value)) - { - this.OnCurrent2Changing(value); - this.SendPropertyChanging(); - this._Current2 = value; - this.SendPropertyChanged("Current2"); - this.OnCurrent2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage2", DbType="NVarChar(50)")] - public string Voltage2 - { - get - { - return this._Voltage2; - } - set - { - if ((this._Voltage2 != value)) - { - this.OnVoltage2Changing(value); - this.SendPropertyChanging(); - this._Voltage2 = value; - this.SendPropertyChanged("Voltage2"); - this.OnVoltage2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed2", DbType="NVarChar(50)")] - public string Speed2 - { - get - { - return this._Speed2; - } - set - { - if ((this._Speed2 != value)) - { - this.OnSpeed2Changing(value); - this.SendPropertyChanging(); - this._Speed2 = value; - this.SendPropertyChanged("Speed2"); - this.OnSpeed2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp2", DbType="NVarChar(50)")] - public string AfterTemp2 - { - get - { - return this._AfterTemp2; - } - set - { - if ((this._AfterTemp2 != value)) - { - this.OnAfterTemp2Changing(value); - this.SendPropertyChanging(); - this._AfterTemp2 = value; - this.SendPropertyChanged("AfterTemp2"); - this.OnAfterTemp2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer3", DbType="NVarChar(50)")] - public string Layer3 - { - get - { - return this._Layer3; - } - set - { - if ((this._Layer3 != value)) - { - this.OnLayer3Changing(value); - this.SendPropertyChanging(); - this._Layer3 = value; - this.SendPropertyChanged("Layer3"); - this.OnLayer3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod3", DbType="NVarChar(50)")] - public string WeldMethod3 - { - get - { - return this._WeldMethod3; - } - set - { - if ((this._WeldMethod3 != value)) - { - this.OnWeldMethod3Changing(value); - this.SendPropertyChanging(); - this._WeldMethod3 = value; - this.SendPropertyChanged("WeldMethod3"); - this.OnWeldMethod3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity3", DbType="NVarChar(50)")] - public string PowerPolarity3 - { - get - { - return this._PowerPolarity3; - } - set - { - if ((this._PowerPolarity3 != value)) - { - this.OnPowerPolarity3Changing(value); - this.SendPropertyChanging(); - this._PowerPolarity3 = value; - this.SendPropertyChanged("PowerPolarity3"); - this.OnPowerPolarity3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade3", DbType="NVarChar(50)")] - public string WeldGrade3 - { - get - { - return this._WeldGrade3; - } - set - { - if ((this._WeldGrade3 != value)) - { - this.OnWeldGrade3Changing(value); - this.SendPropertyChanging(); - this._WeldGrade3 = value; - this.SendPropertyChanged("WeldGrade3"); - this.OnWeldGrade3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia3", DbType="NVarChar(50)")] - public string Dia3 - { - get - { - return this._Dia3; - } - set - { - if ((this._Dia3 != value)) - { - this.OnDia3Changing(value); - this.SendPropertyChanging(); - this._Dia3 = value; - this.SendPropertyChanged("Dia3"); - this.OnDia3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp3", DbType="NVarChar(50)")] - public string PreTemp3 - { - get - { - return this._PreTemp3; - } - set - { - if ((this._PreTemp3 != value)) - { - this.OnPreTemp3Changing(value); - this.SendPropertyChanging(); - this._PreTemp3 = value; - this.SendPropertyChanged("PreTemp3"); - this.OnPreTemp3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp3", DbType="NVarChar(50)")] - public string LayerTemp3 - { - get - { - return this._LayerTemp3; - } - set - { - if ((this._LayerTemp3 != value)) - { - this.OnLayerTemp3Changing(value); - this.SendPropertyChanging(); - this._LayerTemp3 = value; - this.SendPropertyChanged("LayerTemp3"); - this.OnLayerTemp3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current3", DbType="NVarChar(50)")] - public string Current3 - { - get - { - return this._Current3; - } - set - { - if ((this._Current3 != value)) - { - this.OnCurrent3Changing(value); - this.SendPropertyChanging(); - this._Current3 = value; - this.SendPropertyChanged("Current3"); - this.OnCurrent3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage3", DbType="NVarChar(50)")] - public string Voltage3 - { - get - { - return this._Voltage3; - } - set - { - if ((this._Voltage3 != value)) - { - this.OnVoltage3Changing(value); - this.SendPropertyChanging(); - this._Voltage3 = value; - this.SendPropertyChanged("Voltage3"); - this.OnVoltage3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed3", DbType="NVarChar(50)")] - public string Speed3 - { - get - { - return this._Speed3; - } - set - { - if ((this._Speed3 != value)) - { - this.OnSpeed3Changing(value); - this.SendPropertyChanging(); - this._Speed3 = value; - this.SendPropertyChanged("Speed3"); - this.OnSpeed3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp3", DbType="NVarChar(50)")] - public string AfterTemp3 - { - get - { - return this._AfterTemp3; - } - set - { - if ((this._AfterTemp3 != value)) - { - this.OnAfterTemp3Changing(value); - this.SendPropertyChanging(); - this._AfterTemp3 = value; - this.SendPropertyChanged("AfterTemp3"); - this.OnAfterTemp3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer4", DbType="NVarChar(50)")] - public string Layer4 - { - get - { - return this._Layer4; - } - set - { - if ((this._Layer4 != value)) - { - this.OnLayer4Changing(value); - this.SendPropertyChanging(); - this._Layer4 = value; - this.SendPropertyChanged("Layer4"); - this.OnLayer4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod4", DbType="NVarChar(50)")] - public string WeldMethod4 - { - get - { - return this._WeldMethod4; - } - set - { - if ((this._WeldMethod4 != value)) - { - this.OnWeldMethod4Changing(value); - this.SendPropertyChanging(); - this._WeldMethod4 = value; - this.SendPropertyChanged("WeldMethod4"); - this.OnWeldMethod4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity4", DbType="NVarChar(50)")] - public string PowerPolarity4 - { - get - { - return this._PowerPolarity4; - } - set - { - if ((this._PowerPolarity4 != value)) - { - this.OnPowerPolarity4Changing(value); - this.SendPropertyChanging(); - this._PowerPolarity4 = value; - this.SendPropertyChanged("PowerPolarity4"); - this.OnPowerPolarity4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade4", DbType="NVarChar(50)")] - public string WeldGrade4 - { - get - { - return this._WeldGrade4; - } - set - { - if ((this._WeldGrade4 != value)) - { - this.OnWeldGrade4Changing(value); - this.SendPropertyChanging(); - this._WeldGrade4 = value; - this.SendPropertyChanged("WeldGrade4"); - this.OnWeldGrade4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia4", DbType="NVarChar(50)")] - public string Dia4 - { - get - { - return this._Dia4; - } - set - { - if ((this._Dia4 != value)) - { - this.OnDia4Changing(value); - this.SendPropertyChanging(); - this._Dia4 = value; - this.SendPropertyChanged("Dia4"); - this.OnDia4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp4", DbType="NVarChar(50)")] - public string PreTemp4 - { - get - { - return this._PreTemp4; - } - set - { - if ((this._PreTemp4 != value)) - { - this.OnPreTemp4Changing(value); - this.SendPropertyChanging(); - this._PreTemp4 = value; - this.SendPropertyChanged("PreTemp4"); - this.OnPreTemp4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp4", DbType="NVarChar(50)")] - public string LayerTemp4 - { - get - { - return this._LayerTemp4; - } - set - { - if ((this._LayerTemp4 != value)) - { - this.OnLayerTemp4Changing(value); - this.SendPropertyChanging(); - this._LayerTemp4 = value; - this.SendPropertyChanged("LayerTemp4"); - this.OnLayerTemp4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current4", DbType="NVarChar(50)")] - public string Current4 - { - get - { - return this._Current4; - } - set - { - if ((this._Current4 != value)) - { - this.OnCurrent4Changing(value); - this.SendPropertyChanging(); - this._Current4 = value; - this.SendPropertyChanged("Current4"); - this.OnCurrent4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage4", DbType="NVarChar(50)")] - public string Voltage4 - { - get - { - return this._Voltage4; - } - set - { - if ((this._Voltage4 != value)) - { - this.OnVoltage4Changing(value); - this.SendPropertyChanging(); - this._Voltage4 = value; - this.SendPropertyChanged("Voltage4"); - this.OnVoltage4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed4", DbType="NVarChar(50)")] - public string Speed4 - { - get - { - return this._Speed4; - } - set - { - if ((this._Speed4 != value)) - { - this.OnSpeed4Changing(value); - this.SendPropertyChanging(); - this._Speed4 = value; - this.SendPropertyChanged("Speed4"); - this.OnSpeed4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp4", DbType="NVarChar(50)")] - public string AfterTemp4 - { - get - { - return this._AfterTemp4; - } - set - { - if ((this._AfterTemp4 != value)) - { - this.OnAfterTemp4Changing(value); - this.SendPropertyChanging(); - this._AfterTemp4 = value; - this.SendPropertyChanged("AfterTemp4"); - this.OnAfterTemp4Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer5", DbType="NVarChar(50)")] - public string Layer5 - { - get - { - return this._Layer5; - } - set - { - if ((this._Layer5 != value)) - { - this.OnLayer5Changing(value); - this.SendPropertyChanging(); - this._Layer5 = value; - this.SendPropertyChanged("Layer5"); - this.OnLayer5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod5", DbType="NVarChar(50)")] - public string WeldMethod5 - { - get - { - return this._WeldMethod5; - } - set - { - if ((this._WeldMethod5 != value)) - { - this.OnWeldMethod5Changing(value); - this.SendPropertyChanging(); - this._WeldMethod5 = value; - this.SendPropertyChanged("WeldMethod5"); - this.OnWeldMethod5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity5", DbType="NVarChar(50)")] - public string PowerPolarity5 - { - get - { - return this._PowerPolarity5; - } - set - { - if ((this._PowerPolarity5 != value)) - { - this.OnPowerPolarity5Changing(value); - this.SendPropertyChanging(); - this._PowerPolarity5 = value; - this.SendPropertyChanged("PowerPolarity5"); - this.OnPowerPolarity5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade5", DbType="NVarChar(50)")] - public string WeldGrade5 - { - get - { - return this._WeldGrade5; - } - set - { - if ((this._WeldGrade5 != value)) - { - this.OnWeldGrade5Changing(value); - this.SendPropertyChanging(); - this._WeldGrade5 = value; - this.SendPropertyChanged("WeldGrade5"); - this.OnWeldGrade5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia5", DbType="NVarChar(50)")] - public string Dia5 - { - get - { - return this._Dia5; - } - set - { - if ((this._Dia5 != value)) - { - this.OnDia5Changing(value); - this.SendPropertyChanging(); - this._Dia5 = value; - this.SendPropertyChanged("Dia5"); - this.OnDia5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp5", DbType="NVarChar(50)")] - public string PreTemp5 - { - get - { - return this._PreTemp5; - } - set - { - if ((this._PreTemp5 != value)) - { - this.OnPreTemp5Changing(value); - this.SendPropertyChanging(); - this._PreTemp5 = value; - this.SendPropertyChanged("PreTemp5"); - this.OnPreTemp5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp5", DbType="NVarChar(50)")] - public string LayerTemp5 - { - get - { - return this._LayerTemp5; - } - set - { - if ((this._LayerTemp5 != value)) - { - this.OnLayerTemp5Changing(value); - this.SendPropertyChanging(); - this._LayerTemp5 = value; - this.SendPropertyChanged("LayerTemp5"); - this.OnLayerTemp5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current5", DbType="NVarChar(50)")] - public string Current5 - { - get - { - return this._Current5; - } - set - { - if ((this._Current5 != value)) - { - this.OnCurrent5Changing(value); - this.SendPropertyChanging(); - this._Current5 = value; - this.SendPropertyChanged("Current5"); - this.OnCurrent5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage5", DbType="NVarChar(50)")] - public string Voltage5 - { - get - { - return this._Voltage5; - } - set - { - if ((this._Voltage5 != value)) - { - this.OnVoltage5Changing(value); - this.SendPropertyChanging(); - this._Voltage5 = value; - this.SendPropertyChanged("Voltage5"); - this.OnVoltage5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed5", DbType="NVarChar(50)")] - public string Speed5 - { - get - { - return this._Speed5; - } - set - { - if ((this._Speed5 != value)) - { - this.OnSpeed5Changing(value); - this.SendPropertyChanging(); - this._Speed5 = value; - this.SendPropertyChanged("Speed5"); - this.OnSpeed5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp5", DbType="NVarChar(50)")] - public string AfterTemp5 - { - get - { - return this._AfterTemp5; - } - set - { - if ((this._AfterTemp5 != value)) - { - this.OnAfterTemp5Changing(value); - this.SendPropertyChanging(); - this._AfterTemp5 = value; - this.SendPropertyChanged("AfterTemp5"); - this.OnAfterTemp5Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Layer6", DbType="NVarChar(50)")] - public string Layer6 - { - get - { - return this._Layer6; - } - set - { - if ((this._Layer6 != value)) - { - this.OnLayer6Changing(value); - this.SendPropertyChanging(); - this._Layer6 = value; - this.SendPropertyChanged("Layer6"); - this.OnLayer6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMethod6", DbType="NVarChar(50)")] - public string WeldMethod6 - { - get - { - return this._WeldMethod6; - } - set - { - if ((this._WeldMethod6 != value)) - { - this.OnWeldMethod6Changing(value); - this.SendPropertyChanging(); - this._WeldMethod6 = value; - this.SendPropertyChanged("WeldMethod6"); - this.OnWeldMethod6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PowerPolarity6", DbType="NVarChar(50)")] - public string PowerPolarity6 - { - get - { - return this._PowerPolarity6; - } - set - { - if ((this._PowerPolarity6 != value)) - { - this.OnPowerPolarity6Changing(value); - this.SendPropertyChanging(); - this._PowerPolarity6 = value; - this.SendPropertyChanged("PowerPolarity6"); - this.OnPowerPolarity6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldGrade6", DbType="NVarChar(50)")] - public string WeldGrade6 - { - get - { - return this._WeldGrade6; - } - set - { - if ((this._WeldGrade6 != value)) - { - this.OnWeldGrade6Changing(value); - this.SendPropertyChanging(); - this._WeldGrade6 = value; - this.SendPropertyChanged("WeldGrade6"); - this.OnWeldGrade6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dia6", DbType="NVarChar(50)")] - public string Dia6 - { - get - { - return this._Dia6; - } - set - { - if ((this._Dia6 != value)) - { - this.OnDia6Changing(value); - this.SendPropertyChanging(); - this._Dia6 = value; - this.SendPropertyChanged("Dia6"); - this.OnDia6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PreTemp6", DbType="NVarChar(50)")] - public string PreTemp6 - { - get - { - return this._PreTemp6; - } - set - { - if ((this._PreTemp6 != value)) - { - this.OnPreTemp6Changing(value); - this.SendPropertyChanging(); - this._PreTemp6 = value; - this.SendPropertyChanged("PreTemp6"); - this.OnPreTemp6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LayerTemp6", DbType="NVarChar(50)")] - public string LayerTemp6 - { - get - { - return this._LayerTemp6; - } - set - { - if ((this._LayerTemp6 != value)) - { - this.OnLayerTemp6Changing(value); - this.SendPropertyChanging(); - this._LayerTemp6 = value; - this.SendPropertyChanged("LayerTemp6"); - this.OnLayerTemp6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Current6", DbType="NVarChar(50)")] - public string Current6 - { - get - { - return this._Current6; - } - set - { - if ((this._Current6 != value)) - { - this.OnCurrent6Changing(value); - this.SendPropertyChanging(); - this._Current6 = value; - this.SendPropertyChanged("Current6"); - this.OnCurrent6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Voltage6", DbType="NVarChar(50)")] - public string Voltage6 - { - get - { - return this._Voltage6; - } - set - { - if ((this._Voltage6 != value)) - { - this.OnVoltage6Changing(value); - this.SendPropertyChanging(); - this._Voltage6 = value; - this.SendPropertyChanged("Voltage6"); - this.OnVoltage6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Speed6", DbType="NVarChar(50)")] - public string Speed6 - { - get - { - return this._Speed6; - } - set - { - if ((this._Speed6 != value)) - { - this.OnSpeed6Changing(value); - this.SendPropertyChanging(); - this._Speed6 = value; - this.SendPropertyChanged("Speed6"); - this.OnSpeed6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AfterTemp6", DbType="NVarChar(50)")] - public string AfterTemp6 - { - get - { - return this._AfterTemp6; - } - set - { - if ((this._AfterTemp6 != value)) - { - this.OnAfterTemp6Changing(value); - this.SendPropertyChanging(); - this._AfterTemp6 = value; - this.SendPropertyChanged("AfterTemp6"); - this.OnAfterTemp6Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] - public string CompileMan - { - get - { - return this._CompileMan; - } - set - { - if ((this._CompileMan != value)) - { - this.OnCompileManChanging(value); - this.SendPropertyChanging(); - this._CompileMan = value; - this.SendPropertyChanged("CompileMan"); - this.OnCompileManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this.OnCompileDateChanging(value); - this.SendPropertyChanging(); - this._CompileDate = value; - this.SendPropertyChanged("CompileDate"); - this.OnCompileDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExamineMan", DbType="NVarChar(50)")] - public string ExamineMan - { - get - { - return this._ExamineMan; - } - set - { - if ((this._ExamineMan != value)) - { - this.OnExamineManChanging(value); - this.SendPropertyChanging(); - this._ExamineMan = value; - this.SendPropertyChanged("ExamineMan"); - this.OnExamineManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExamineDate", DbType="DateTime")] - public System.Nullable ExamineDate - { - get - { - return this._ExamineDate; - } - set - { - if ((this._ExamineDate != value)) - { - this.OnExamineDateChanging(value); - this.SendPropertyChanging(); - this._ExamineDate = value; - this.SendPropertyChanged("ExamineDate"); - this.OnExamineDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Char(1)")] - public string Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this.OnFlagChanging(value); - this.SendPropertyChanging(); - this._Flag = value; - this.SendPropertyChanged("Flag"); - this.OnFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldRepairCard_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldRepairCard.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldRepairCard.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_WeldingProcedure_WeldRepairCard_HJGL_PW_JointInfo", Storage="_HJGL_PW_JointInfo", ThisKey="JOT_ID", OtherKey="JOT_ID", IsForeignKey=true)] - public HJGL_PW_JointInfo HJGL_PW_JointInfo - { - get - { - return this._HJGL_PW_JointInfo.Entity; - } - set - { - HJGL_PW_JointInfo previousValue = this._HJGL_PW_JointInfo.Entity; - if (((previousValue != value) - || (this._HJGL_PW_JointInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_PW_JointInfo.Entity = null; - previousValue.HJGL_WeldingProcedure_WeldRepairCard.Remove(this); - } - this._HJGL_PW_JointInfo.Entity = value; - if ((value != null)) - { - value.HJGL_WeldingProcedure_WeldRepairCard.Add(this); - this._JOT_ID = value.JOT_ID; - } - else - { - this._JOT_ID = default(string); - } - this.SendPropertyChanged("HJGL_PW_JointInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.OAM_UesrQualified")] - public partial class OAM_UesrQualified : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private long _MIDWelder_ID; - - private string _MIDWelder_Code; - - private string _MIDWelder_Name; - - private string _MIDWelder_QualifiedProjectCode; - - private System.Nullable _MIDWelder_LimitDate; - - private string _MIDWelder_OAID; - - private System.Nullable _IsSync; - - private string _MIDWelder_jjsy; - - private System.Nullable _MIDWelder_sfxgjgbl; - - private System.Nullable _MIDWelder_jjsybl; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMIDWelder_IDChanging(long value); - partial void OnMIDWelder_IDChanged(); - partial void OnMIDWelder_CodeChanging(string value); - partial void OnMIDWelder_CodeChanged(); - partial void OnMIDWelder_NameChanging(string value); - partial void OnMIDWelder_NameChanged(); - partial void OnMIDWelder_QualifiedProjectCodeChanging(string value); - partial void OnMIDWelder_QualifiedProjectCodeChanged(); - partial void OnMIDWelder_LimitDateChanging(System.Nullable value); - partial void OnMIDWelder_LimitDateChanged(); - partial void OnMIDWelder_OAIDChanging(string value); - partial void OnMIDWelder_OAIDChanged(); - partial void OnIsSyncChanging(System.Nullable value); - partial void OnIsSyncChanged(); - partial void OnMIDWelder_jjsyChanging(string value); - partial void OnMIDWelder_jjsyChanged(); - partial void OnMIDWelder_sfxgjgblChanging(System.Nullable value); - partial void OnMIDWelder_sfxgjgblChanged(); - partial void OnMIDWelder_jjsyblChanging(System.Nullable value); - partial void OnMIDWelder_jjsyblChanged(); - #endregion - - public OAM_UesrQualified() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_ID", AutoSync=AutoSync.OnInsert, DbType="BigInt NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] - public long MIDWelder_ID - { - get - { - return this._MIDWelder_ID; - } - set - { - if ((this._MIDWelder_ID != value)) - { - this.OnMIDWelder_IDChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_ID = value; - this.SendPropertyChanged("MIDWelder_ID"); - this.OnMIDWelder_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_Code", DbType="VarChar(20)")] - public string MIDWelder_Code - { - get - { - return this._MIDWelder_Code; - } - set - { - if ((this._MIDWelder_Code != value)) - { - this.OnMIDWelder_CodeChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_Code = value; - this.SendPropertyChanged("MIDWelder_Code"); - this.OnMIDWelder_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_Name", DbType="VarChar(40)")] - public string MIDWelder_Name - { - get - { - return this._MIDWelder_Name; - } - set - { - if ((this._MIDWelder_Name != value)) - { - this.OnMIDWelder_NameChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_Name = value; - this.SendPropertyChanged("MIDWelder_Name"); - this.OnMIDWelder_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_QualifiedProjectCode", DbType="NVarChar(100)")] - public string MIDWelder_QualifiedProjectCode - { - get - { - return this._MIDWelder_QualifiedProjectCode; - } - set - { - if ((this._MIDWelder_QualifiedProjectCode != value)) - { - this.OnMIDWelder_QualifiedProjectCodeChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_QualifiedProjectCode = value; - this.SendPropertyChanged("MIDWelder_QualifiedProjectCode"); - this.OnMIDWelder_QualifiedProjectCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_LimitDate", DbType="DateTime")] - public System.Nullable MIDWelder_LimitDate - { - get - { - return this._MIDWelder_LimitDate; - } - set - { - if ((this._MIDWelder_LimitDate != value)) - { - this.OnMIDWelder_LimitDateChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_LimitDate = value; - this.SendPropertyChanged("MIDWelder_LimitDate"); - this.OnMIDWelder_LimitDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_OAID", DbType="NVarChar(100)")] - public string MIDWelder_OAID - { - get - { - return this._MIDWelder_OAID; - } - set - { - if ((this._MIDWelder_OAID != value)) - { - this.OnMIDWelder_OAIDChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_OAID = value; - this.SendPropertyChanged("MIDWelder_OAID"); - this.OnMIDWelder_OAIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSync", DbType="Bit")] - public System.Nullable IsSync - { - get - { - return this._IsSync; - } - set - { - if ((this._IsSync != value)) - { - this.OnIsSyncChanging(value); - this.SendPropertyChanging(); - this._IsSync = value; - this.SendPropertyChanged("IsSync"); - this.OnIsSyncChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_jjsy", DbType="NVarChar(100)")] - public string MIDWelder_jjsy - { - get - { - return this._MIDWelder_jjsy; - } - set - { - if ((this._MIDWelder_jjsy != value)) - { - this.OnMIDWelder_jjsyChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_jjsy = value; - this.SendPropertyChanged("MIDWelder_jjsy"); - this.OnMIDWelder_jjsyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_sfxgjgbl", DbType="Bit")] - public System.Nullable MIDWelder_sfxgjgbl - { - get - { - return this._MIDWelder_sfxgjgbl; - } - set - { - if ((this._MIDWelder_sfxgjgbl != value)) - { - this.OnMIDWelder_sfxgjgblChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_sfxgjgbl = value; - this.SendPropertyChanged("MIDWelder_sfxgjgbl"); - this.OnMIDWelder_sfxgjgblChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MIDWelder_jjsybl", DbType="Bit")] - public System.Nullable MIDWelder_jjsybl - { - get - { - return this._MIDWelder_jjsybl; - } - set - { - if ((this._MIDWelder_jjsybl != value)) - { - this.OnMIDWelder_jjsyblChanging(value); - this.SendPropertyChanging(); - this._MIDWelder_jjsybl = value; - this.SendPropertyChanged("MIDWelder_jjsybl"); - this.OnMIDWelder_jjsyblChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.OAM_Unit")] - public partial class OAM_Unit : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private int _OAM_ID; - - private string _OAM_OAunit; - - private string _OAM_UnitID; - - private string _OAM_Userunit; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnOAM_IDChanging(int value); - partial void OnOAM_IDChanged(); - partial void OnOAM_OAunitChanging(string value); - partial void OnOAM_OAunitChanged(); - partial void OnOAM_UnitIDChanging(string value); - partial void OnOAM_UnitIDChanged(); - partial void OnOAM_UserunitChanging(string value); - partial void OnOAM_UserunitChanged(); - #endregion - - public OAM_Unit() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OAM_ID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] - public int OAM_ID - { - get - { - return this._OAM_ID; - } - set - { - if ((this._OAM_ID != value)) - { - this.OnOAM_IDChanging(value); - this.SendPropertyChanging(); - this._OAM_ID = value; - this.SendPropertyChanged("OAM_ID"); - this.OnOAM_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OAM_OAunit", DbType="NVarChar(50)")] - public string OAM_OAunit - { - get - { - return this._OAM_OAunit; - } - set - { - if ((this._OAM_OAunit != value)) - { - this.OnOAM_OAunitChanging(value); - this.SendPropertyChanging(); - this._OAM_OAunit = value; - this.SendPropertyChanged("OAM_OAunit"); - this.OnOAM_OAunitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OAM_UnitID", DbType="NVarChar(50)")] - public string OAM_UnitID - { - get - { - return this._OAM_UnitID; - } - set - { - if ((this._OAM_UnitID != value)) - { - this.OnOAM_UnitIDChanging(value); - this.SendPropertyChanging(); - this._OAM_UnitID = value; - this.SendPropertyChanged("OAM_UnitID"); - this.OnOAM_UnitIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OAM_Userunit", DbType="NVarChar(50)")] - public string OAM_Userunit - { - get - { - return this._OAM_Userunit; - } - set - { - if ((this._OAM_Userunit != value)) - { - this.OnOAM_UserunitChanging(value); - this.SendPropertyChanging(); - this._OAM_Userunit = value; - this.SendPropertyChanged("OAM_Userunit"); - this.OnOAM_UserunitChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.OAM_User")] - public partial class OAM_User : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private long _MID_WorkID; - - private string _MID_Unit; - - private string _MID_Code; - - private string _MID_Name; - - private string _MID_Sex; - - private string _MID_WordCode; - - private string _MID_IdentityCard; - - private System.Nullable _MID_IfOnGuard; - - private string _MID_Remark; - - private System.Nullable _IsSync; - - private System.Nullable _MID_WeldingWire; - - private System.Nullable _MID_HanTiao; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMID_WorkIDChanging(long value); - partial void OnMID_WorkIDChanged(); - partial void OnMID_UnitChanging(string value); - partial void OnMID_UnitChanged(); - partial void OnMID_CodeChanging(string value); - partial void OnMID_CodeChanged(); - partial void OnMID_NameChanging(string value); - partial void OnMID_NameChanged(); - partial void OnMID_SexChanging(string value); - partial void OnMID_SexChanged(); - partial void OnMID_WordCodeChanging(string value); - partial void OnMID_WordCodeChanged(); - partial void OnMID_IdentityCardChanging(string value); - partial void OnMID_IdentityCardChanged(); - partial void OnMID_IfOnGuardChanging(System.Nullable value); - partial void OnMID_IfOnGuardChanged(); - partial void OnMID_RemarkChanging(string value); - partial void OnMID_RemarkChanged(); - partial void OnIsSyncChanging(System.Nullable value); - partial void OnIsSyncChanged(); - partial void OnMID_WeldingWireChanging(System.Nullable value); - partial void OnMID_WeldingWireChanged(); - partial void OnMID_HanTiaoChanging(System.Nullable value); - partial void OnMID_HanTiaoChanged(); - #endregion - - public OAM_User() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_WorkID", AutoSync=AutoSync.Always, DbType="BigInt NOT NULL IDENTITY", IsDbGenerated=true)] - public long MID_WorkID - { - get - { - return this._MID_WorkID; - } - set - { - if ((this._MID_WorkID != value)) - { - this.OnMID_WorkIDChanging(value); - this.SendPropertyChanging(); - this._MID_WorkID = value; - this.SendPropertyChanged("MID_WorkID"); - this.OnMID_WorkIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_Unit", DbType="NVarChar(50)")] - public string MID_Unit - { - get - { - return this._MID_Unit; - } - set - { - if ((this._MID_Unit != value)) - { - this.OnMID_UnitChanging(value); - this.SendPropertyChanging(); - this._MID_Unit = value; - this.SendPropertyChanged("MID_Unit"); - this.OnMID_UnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_Code", DbType="VarChar(20)")] - public string MID_Code - { - get - { - return this._MID_Code; - } - set - { - if ((this._MID_Code != value)) - { - this.OnMID_CodeChanging(value); - this.SendPropertyChanging(); - this._MID_Code = value; - this.SendPropertyChanged("MID_Code"); - this.OnMID_CodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_Name", DbType="VarChar(40)")] - public string MID_Name - { - get - { - return this._MID_Name; - } - set - { - if ((this._MID_Name != value)) - { - this.OnMID_NameChanging(value); - this.SendPropertyChanging(); - this._MID_Name = value; - this.SendPropertyChanged("MID_Name"); - this.OnMID_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_Sex", DbType="Char(1)")] - public string MID_Sex - { - get - { - return this._MID_Sex; - } - set - { - if ((this._MID_Sex != value)) - { - this.OnMID_SexChanging(value); - this.SendPropertyChanging(); - this._MID_Sex = value; - this.SendPropertyChanged("MID_Sex"); - this.OnMID_SexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_WordCode", DbType="VarChar(20)")] - public string MID_WordCode - { - get - { - return this._MID_WordCode; - } - set - { - if ((this._MID_WordCode != value)) - { - this.OnMID_WordCodeChanging(value); - this.SendPropertyChanging(); - this._MID_WordCode = value; - this.SendPropertyChanged("MID_WordCode"); - this.OnMID_WordCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_IdentityCard", DbType="NVarChar(18) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MID_IdentityCard - { - get - { - return this._MID_IdentityCard; - } - set - { - if ((this._MID_IdentityCard != value)) - { - this.OnMID_IdentityCardChanging(value); - this.SendPropertyChanging(); - this._MID_IdentityCard = value; - this.SendPropertyChanged("MID_IdentityCard"); - this.OnMID_IdentityCardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_IfOnGuard", DbType="Bit")] - public System.Nullable MID_IfOnGuard - { - get - { - return this._MID_IfOnGuard; - } - set - { - if ((this._MID_IfOnGuard != value)) - { - this.OnMID_IfOnGuardChanging(value); - this.SendPropertyChanging(); - this._MID_IfOnGuard = value; - this.SendPropertyChanged("MID_IfOnGuard"); - this.OnMID_IfOnGuardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_Remark", DbType="NVarChar(500)")] - public string MID_Remark - { - get - { - return this._MID_Remark; - } - set - { - if ((this._MID_Remark != value)) - { - this.OnMID_RemarkChanging(value); - this.SendPropertyChanging(); - this._MID_Remark = value; - this.SendPropertyChanged("MID_Remark"); - this.OnMID_RemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSync", DbType="Bit")] - public System.Nullable IsSync - { - get - { - return this._IsSync; - } - set - { - if ((this._IsSync != value)) - { - this.OnIsSyncChanging(value); - this.SendPropertyChanging(); - this._IsSync = value; - this.SendPropertyChanged("IsSync"); - this.OnIsSyncChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_WeldingWire", DbType="Decimal(6,0)")] - public System.Nullable MID_WeldingWire - { - get - { - return this._MID_WeldingWire; - } - set - { - if ((this._MID_WeldingWire != value)) - { - this.OnMID_WeldingWireChanging(value); - this.SendPropertyChanging(); - this._MID_WeldingWire = value; - this.SendPropertyChanged("MID_WeldingWire"); - this.OnMID_WeldingWireChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MID_HanTiao", DbType="Decimal(6,0)")] - public System.Nullable MID_HanTiao - { - get - { - return this._MID_HanTiao; - } - set - { - if ((this._MID_HanTiao != value)) - { - this.OnMID_HanTiaoChanging(value); - this.SendPropertyChanging(); - this._MID_HanTiao = value; - this.SendPropertyChanged("MID_HanTiao"); - this.OnMID_HanTiaoChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_Installation")] - public partial class Project_Installation : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _InstallationId; - - private string _ProjectId; - - private string _InstallationCode; - - private string _InstallationName; - - private System.Nullable _ACycle; - - private System.Nullable _BCycle; - - private System.Nullable _CCycle; - - private System.Nullable _StartDate; - - private System.Nullable _EndDate; - - private System.Nullable _Weights; - - private System.Nullable _WeightsMoney; - - private System.Nullable _IsUsed; - - private string _Def; - - private System.Nullable _SortIndex; - - private EntitySet _HJGL_BO_Batch; - - private EntitySet _HJGL_BO_WeldReportMain; - - private EntitySet _HJGL_CH_Trust; - - private EntitySet _HJGL_HotProess; - - private EntitySet _HJGL_TP_TestPackage; - - private EntityRef _Base_Project; - - private EntitySet _Project_WorkArea; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnInstallationCodeChanging(string value); - partial void OnInstallationCodeChanged(); - partial void OnInstallationNameChanging(string value); - partial void OnInstallationNameChanged(); - partial void OnACycleChanging(System.Nullable value); - partial void OnACycleChanged(); - partial void OnBCycleChanging(System.Nullable value); - partial void OnBCycleChanged(); - partial void OnCCycleChanging(System.Nullable value); - partial void OnCCycleChanged(); - partial void OnStartDateChanging(System.Nullable value); - partial void OnStartDateChanged(); - partial void OnEndDateChanging(System.Nullable value); - partial void OnEndDateChanged(); - partial void OnWeightsChanging(System.Nullable value); - partial void OnWeightsChanged(); - partial void OnWeightsMoneyChanging(System.Nullable value); - partial void OnWeightsMoneyChanged(); - partial void OnIsUsedChanging(System.Nullable value); - partial void OnIsUsedChanged(); - partial void OnDefChanging(string value); - partial void OnDefChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - #endregion - - public Project_Installation() - { - this._HJGL_BO_Batch = new EntitySet(new Action(this.attach_HJGL_BO_Batch), new Action(this.detach_HJGL_BO_Batch)); - this._HJGL_BO_WeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_WeldReportMain), new Action(this.detach_HJGL_BO_WeldReportMain)); - this._HJGL_CH_Trust = new EntitySet(new Action(this.attach_HJGL_CH_Trust), new Action(this.detach_HJGL_CH_Trust)); - this._HJGL_HotProess = new EntitySet(new Action(this.attach_HJGL_HotProess), new Action(this.detach_HJGL_HotProess)); - this._HJGL_TP_TestPackage = new EntitySet(new Action(this.attach_HJGL_TP_TestPackage), new Action(this.detach_HJGL_TP_TestPackage)); - this._Base_Project = default(EntityRef); - this._Project_WorkArea = new EntitySet(new Action(this.attach_Project_WorkArea), new Action(this.detach_Project_WorkArea)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationCode", DbType="NVarChar(50)")] - public string InstallationCode - { - get - { - return this._InstallationCode; - } - set - { - if ((this._InstallationCode != value)) - { - this.OnInstallationCodeChanging(value); - this.SendPropertyChanging(); - this._InstallationCode = value; - this.SendPropertyChanged("InstallationCode"); - this.OnInstallationCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationName", DbType="NVarChar(50)")] - public string InstallationName - { - get - { - return this._InstallationName; - } - set - { - if ((this._InstallationName != value)) - { - this.OnInstallationNameChanging(value); - this.SendPropertyChanging(); - this._InstallationName = value; - this.SendPropertyChanged("InstallationName"); - this.OnInstallationNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ACycle", DbType="Int")] - public System.Nullable ACycle - { - get - { - return this._ACycle; - } - set - { - if ((this._ACycle != value)) - { - this.OnACycleChanging(value); - this.SendPropertyChanging(); - this._ACycle = value; - this.SendPropertyChanged("ACycle"); - this.OnACycleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BCycle", DbType="Int")] - public System.Nullable BCycle - { - get - { - return this._BCycle; - } - set - { - if ((this._BCycle != value)) - { - this.OnBCycleChanging(value); - this.SendPropertyChanging(); - this._BCycle = value; - this.SendPropertyChanged("BCycle"); - this.OnBCycleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CCycle", DbType="Int")] - public System.Nullable CCycle - { - get - { - return this._CCycle; - } - set - { - if ((this._CCycle != value)) - { - this.OnCCycleChanging(value); - this.SendPropertyChanging(); - this._CCycle = value; - this.SendPropertyChanged("CCycle"); - this.OnCCycleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="DateTime")] - public System.Nullable StartDate - { - get - { - return this._StartDate; - } - set - { - if ((this._StartDate != value)) - { - this.OnStartDateChanging(value); - this.SendPropertyChanging(); - this._StartDate = value; - this.SendPropertyChanged("StartDate"); - this.OnStartDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="DateTime")] - public System.Nullable EndDate - { - get - { - return this._EndDate; - } - set - { - if ((this._EndDate != value)) - { - this.OnEndDateChanging(value); - this.SendPropertyChanging(); - this._EndDate = value; - this.SendPropertyChanged("EndDate"); - this.OnEndDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Weights", DbType="Decimal(9,2)")] - public System.Nullable Weights - { - get - { - return this._Weights; - } - set - { - if ((this._Weights != value)) - { - this.OnWeightsChanging(value); - this.SendPropertyChanging(); - this._Weights = value; - this.SendPropertyChanged("Weights"); - this.OnWeightsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeightsMoney", DbType="Money")] - public System.Nullable WeightsMoney - { - get - { - return this._WeightsMoney; - } - set - { - if ((this._WeightsMoney != value)) - { - this.OnWeightsMoneyChanging(value); - this.SendPropertyChanging(); - this._WeightsMoney = value; - this.SendPropertyChanged("WeightsMoney"); - this.OnWeightsMoneyChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUsed", DbType="Bit")] - public System.Nullable IsUsed - { - get - { - return this._IsUsed; - } - set - { - if ((this._IsUsed != value)) - { - this.OnIsUsedChanging(value); - this.SendPropertyChanging(); - this._IsUsed = value; - this.SendPropertyChanged("IsUsed"); - this.OnIsUsedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Def", DbType="NVarChar(300)")] - public string Def - { - get - { - return this._Def; - } - set - { - if ((this._Def != value)) - { - this.OnDefChanging(value); - this.SendPropertyChanging(); - this._Def = value; - this.SendPropertyChanged("Def"); - this.OnDefChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_Batch_Project_Installation", Storage="_HJGL_BO_Batch", ThisKey="InstallationId", OtherKey="InstallationId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_Batch - { - get - { - return this._HJGL_BO_Batch; - } - set - { - this._HJGL_BO_Batch.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_WeldReportMain_Project_Installation", Storage="_HJGL_BO_WeldReportMain", ThisKey="InstallationId", OtherKey="InstallationId", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_WeldReportMain - { - get - { - return this._HJGL_BO_WeldReportMain; - } - set - { - this._HJGL_BO_WeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_Trust_Project_Installation", Storage="_HJGL_CH_Trust", ThisKey="InstallationId", OtherKey="InstallationId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_Trust - { - get - { - return this._HJGL_CH_Trust; - } - set - { - this._HJGL_CH_Trust.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_HotProess_Project_Installation", Storage="_HJGL_HotProess", ThisKey="InstallationId", OtherKey="InstallationId", DeleteRule="NO ACTION")] - public EntitySet HJGL_HotProess - { - get - { - return this._HJGL_HotProess; - } - set - { - this._HJGL_HotProess.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_TP_TestPackage_Project_Installation", Storage="_HJGL_TP_TestPackage", ThisKey="InstallationId", OtherKey="InstallationId", DeleteRule="NO ACTION")] - public EntitySet HJGL_TP_TestPackage - { - get - { - return this._HJGL_TP_TestPackage; - } - set - { - this._HJGL_TP_TestPackage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Installation_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_Installation.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_Installation.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_WorkArea_Project_Installation", Storage="_Project_WorkArea", ThisKey="InstallationId", OtherKey="InstallationId", DeleteRule="NO ACTION")] - public EntitySet Project_WorkArea - { - get - { - return this._Project_WorkArea; - } - set - { - this._Project_WorkArea.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = this; - } - - private void detach_HJGL_BO_Batch(HJGL_BO_Batch entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = null; - } - - private void attach_HJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = this; - } - - private void detach_HJGL_BO_WeldReportMain(HJGL_BO_WeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = null; - } - - private void attach_HJGL_CH_Trust(HJGL_CH_Trust entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = this; - } - - private void detach_HJGL_CH_Trust(HJGL_CH_Trust entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = null; - } - - private void attach_HJGL_HotProess(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = this; - } - - private void detach_HJGL_HotProess(HJGL_HotProess entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = null; - } - - private void attach_HJGL_TP_TestPackage(HJGL_TP_TestPackage entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = this; - } - - private void detach_HJGL_TP_TestPackage(HJGL_TP_TestPackage entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = null; - } - - private void attach_Project_WorkArea(Project_WorkArea entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = this; - } - - private void detach_Project_WorkArea(Project_WorkArea entity) - { - this.SendPropertyChanging(); - entity.Project_Installation = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_RoleButtonPower")] - public partial class Project_RoleButtonPower : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ButtonPowerID; - - private string _ProjectId; - - private string _RoleId; - - private string _MenuId; - - private string _ButtonToMenuId; - - private EntityRef _Base_Project; - - private EntityRef _Sys_Menu; - - private EntityRef _Sys_Role; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnButtonPowerIDChanging(string value); - partial void OnButtonPowerIDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnButtonToMenuIdChanging(string value); - partial void OnButtonToMenuIdChanged(); - #endregion - - public Project_RoleButtonPower() - { - this._Base_Project = default(EntityRef); - this._Sys_Menu = default(EntityRef); - this._Sys_Role = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonPowerID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ButtonPowerID - { - get - { - return this._ButtonPowerID; - } - set - { - if ((this._ButtonPowerID != value)) - { - this.OnButtonPowerIDChanging(value); - this.SendPropertyChanging(); - this._ButtonPowerID = value; - this.SendPropertyChanged("ButtonPowerID"); - this.OnButtonPowerIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonToMenuId", DbType="NVarChar(50)")] - public string ButtonToMenuId - { - get - { - return this._ButtonToMenuId; - } - set - { - if ((this._ButtonToMenuId != value)) - { - this.OnButtonToMenuIdChanging(value); - this.SendPropertyChanging(); - this._ButtonToMenuId = value; - this.SendPropertyChanged("ButtonToMenuId"); - this.OnButtonToMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RoleButtonPower_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_RoleButtonPower.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_RoleButtonPower.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RoleButtonPower_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Project_RoleButtonPower.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Project_RoleButtonPower.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RoleButtonPower_Sys_Role", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Project_RoleButtonPower.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Project_RoleButtonPower.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_RolePower")] - public partial class Project_RolePower : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RolePowerId; - - private string _RoleId; - - private string _MenuId; - - private string _ProjectId; - - private EntityRef _Base_Project; - - private EntityRef _Sys_Role; - - private EntityRef _Sys_Menu; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRolePowerIdChanging(string value); - partial void OnRolePowerIdChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - #endregion - - public Project_RolePower() - { - this._Base_Project = default(EntityRef); - this._Sys_Role = default(EntityRef); - this._Sys_Menu = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RolePowerId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RolePowerId - { - get - { - return this._RolePowerId; - } - set - { - if ((this._RolePowerId != value)) - { - this.OnRolePowerIdChanging(value); - this.SendPropertyChanging(); - this._RolePowerId = value; - this.SendPropertyChanged("RolePowerId"); - this.OnRolePowerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RolePower_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_RolePower.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_RolePower.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RolePower_Project_RolePower", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Project_RolePower.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Project_RolePower.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RolePower_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Project_RolePower.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Project_RolePower.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_Sys_Set")] - public partial class Project_Sys_Set : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _SetId; - - private string _ProjectId; - - private string _SetName; - - private System.Nullable _IsAuto; - - private string _SetValue; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnSetIdChanging(string value); - partial void OnSetIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnSetNameChanging(string value); - partial void OnSetNameChanged(); - partial void OnIsAutoChanging(System.Nullable value); - partial void OnIsAutoChanged(); - partial void OnSetValueChanging(string value); - partial void OnSetValueChanged(); - #endregion - - public Project_Sys_Set() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SetId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string SetId - { - get - { - return this._SetId; - } - set - { - if ((this._SetId != value)) - { - this.OnSetIdChanging(value); - this.SendPropertyChanging(); - this._SetId = value; - this.SendPropertyChanged("SetId"); - this.OnSetIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SetName", DbType="NVarChar(50)")] - public string SetName - { - get - { - return this._SetName; - } - set - { - if ((this._SetName != value)) - { - this.OnSetNameChanging(value); - this.SendPropertyChanging(); - this._SetName = value; - this.SendPropertyChanged("SetName"); - this.OnSetNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAuto", DbType="Bit")] - public System.Nullable IsAuto - { - get - { - return this._IsAuto; - } - set - { - if ((this._IsAuto != value)) - { - this.OnIsAutoChanging(value); - this.SendPropertyChanging(); - this._IsAuto = value; - this.SendPropertyChanged("IsAuto"); - this.OnIsAutoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SetValue", DbType="NVarChar(50)")] - public string SetValue - { - get - { - return this._SetValue; - } - set - { - if ((this._SetValue != value)) - { - this.OnSetValueChanging(value); - this.SendPropertyChanging(); - this._SetValue = value; - this.SendPropertyChanged("SetValue"); - this.OnSetValueChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_Unit")] - public partial class Project_Unit : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ProjectUnitId; - - private string _UnitId; - - private string _ProjectId; - - private string _UnitType; - - private string _WorkAreaId; - - private System.Nullable _InTime; - - private System.Nullable _OutTime; - - private string _ProjectRange; - - private string _Phone; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnProjectUnitIdChanging(string value); - partial void OnProjectUnitIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUnitTypeChanging(string value); - partial void OnUnitTypeChanged(); - partial void OnWorkAreaIdChanging(string value); - partial void OnWorkAreaIdChanged(); - partial void OnInTimeChanging(System.Nullable value); - partial void OnInTimeChanged(); - partial void OnOutTimeChanging(System.Nullable value); - partial void OnOutTimeChanged(); - partial void OnProjectRangeChanging(string value); - partial void OnProjectRangeChanged(); - partial void OnPhoneChanging(string value); - partial void OnPhoneChanged(); - #endregion - - public Project_Unit() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectUnitId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ProjectUnitId - { - get - { - return this._ProjectUnitId; - } - set - { - if ((this._ProjectUnitId != value)) - { - this.OnProjectUnitIdChanging(value); - this.SendPropertyChanging(); - this._ProjectUnitId = value; - this.SendPropertyChanged("ProjectUnitId"); - this.OnProjectUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitType", DbType="NVarChar(20)")] - public string UnitType - { - get - { - return this._UnitType; - } - set - { - if ((this._UnitType != value)) - { - this.OnUnitTypeChanging(value); - this.SendPropertyChanging(); - this._UnitType = value; - this.SendPropertyChanged("UnitType"); - this.OnUnitTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(50)")] - public string WorkAreaId - { - get - { - return this._WorkAreaId; - } - set - { - if ((this._WorkAreaId != value)) - { - this.OnWorkAreaIdChanging(value); - this.SendPropertyChanging(); - this._WorkAreaId = value; - this.SendPropertyChanged("WorkAreaId"); - this.OnWorkAreaIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InTime", DbType="DateTime")] - public System.Nullable InTime - { - get - { - return this._InTime; - } - set - { - if ((this._InTime != value)) - { - this.OnInTimeChanging(value); - this.SendPropertyChanging(); - this._InTime = value; - this.SendPropertyChanged("InTime"); - this.OnInTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutTime", DbType="DateTime")] - public System.Nullable OutTime - { - get - { - return this._OutTime; - } - set - { - if ((this._OutTime != value)) - { - this.OnOutTimeChanging(value); - this.SendPropertyChanging(); - this._OutTime = value; - this.SendPropertyChanged("OutTime"); - this.OnOutTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectRange", DbType="NVarChar(500)")] - public string ProjectRange - { - get - { - return this._ProjectRange; - } - set - { - if ((this._ProjectRange != value)) - { - this.OnProjectRangeChanging(value); - this.SendPropertyChanging(); - this._ProjectRange = value; - this.SendPropertyChanged("ProjectRange"); - this.OnProjectRangeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phone", DbType="NVarChar(15)")] - public string Phone - { - get - { - return this._Phone; - } - set - { - if ((this._Phone != value)) - { - this.OnPhoneChanging(value); - this.SendPropertyChanging(); - this._Phone = value; - this.SendPropertyChanged("Phone"); - this.OnPhoneChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Unit_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_Unit.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_Unit.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Unit_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.Project_Unit.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.Project_Unit.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_User")] - public partial class Project_User : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ProjectUserId; - - private string _UserId; - - private string _ProjectId; - - private string _RoleId; - - private System.Nullable _IsPost; - - private System.Nullable _IsHeadMan; - - private EntityRef _Base_Project; - - private EntityRef _Sys_Role; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnProjectUserIdChanging(string value); - partial void OnProjectUserIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnIsPostChanging(System.Nullable value); - partial void OnIsPostChanged(); - partial void OnIsHeadManChanging(System.Nullable value); - partial void OnIsHeadManChanged(); - #endregion - - public Project_User() - { - this._Base_Project = default(EntityRef); - this._Sys_Role = default(EntityRef); - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectUserId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ProjectUserId - { - get - { - return this._ProjectUserId; - } - set - { - if ((this._ProjectUserId != value)) - { - this.OnProjectUserIdChanging(value); - this.SendPropertyChanging(); - this._ProjectUserId = value; - this.SendPropertyChanged("ProjectUserId"); - this.OnProjectUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPost", DbType="Bit")] - public System.Nullable IsPost - { - get - { - return this._IsPost; - } - set - { - if ((this._IsPost != value)) - { - this.OnIsPostChanging(value); - this.SendPropertyChanging(); - this._IsPost = value; - this.SendPropertyChanged("IsPost"); - this.OnIsPostChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHeadMan", DbType="Bit")] - public System.Nullable IsHeadMan - { - get - { - return this._IsHeadMan; - } - set - { - if ((this._IsHeadMan != value)) - { - this.OnIsHeadManChanging(value); - this.SendPropertyChanging(); - this._IsHeadMan = value; - this.SendPropertyChanged("IsHeadMan"); - this.OnIsHeadManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_User.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_User.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Sys_Role", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Project_User.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Project_User.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Sys_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Project_User.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Project_User.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_UserButtonPower")] - public partial class Project_UserButtonPower : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ButtonPowerID; - - private string _ProjectId; - - private string _UserId; - - private string _MenuId; - - private string _ButtonToMenuId; - - private EntityRef _Base_Project; - - private EntityRef _Sys_User; - - private EntityRef _Sys_Menu; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnButtonPowerIDChanging(string value); - partial void OnButtonPowerIDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnButtonToMenuIdChanging(string value); - partial void OnButtonToMenuIdChanged(); - #endregion - - public Project_UserButtonPower() - { - this._Base_Project = default(EntityRef); - this._Sys_User = default(EntityRef); - this._Sys_Menu = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonPowerID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ButtonPowerID - { - get - { - return this._ButtonPowerID; - } - set - { - if ((this._ButtonPowerID != value)) - { - this.OnButtonPowerIDChanging(value); - this.SendPropertyChanging(); - this._ButtonPowerID = value; - this.SendPropertyChanged("ButtonPowerID"); - this.OnButtonPowerIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonToMenuId", DbType="NVarChar(50)")] - public string ButtonToMenuId - { - get - { - return this._ButtonToMenuId; - } - set - { - if ((this._ButtonToMenuId != value)) - { - this.OnButtonToMenuIdChanging(value); - this.SendPropertyChanging(); - this._ButtonToMenuId = value; - this.SendPropertyChanged("ButtonToMenuId"); - this.OnButtonToMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserButtonPower_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_UserButtonPower.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_UserButtonPower.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserButtonPower_Project_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Project_UserButtonPower.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Project_UserButtonPower.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserButtonPower_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Project_UserButtonPower.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Project_UserButtonPower.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_UserPower")] - public partial class Project_UserPower : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _UserPowerId; - - private string _ProjectId; - - private string _UserId; - - private string _MenuId; - - private EntityRef _Base_Project; - - private EntityRef _Sys_User; - - private EntityRef _Sys_Menu; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnUserPowerIdChanging(string value); - partial void OnUserPowerIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - #endregion - - public Project_UserPower() - { - this._Base_Project = default(EntityRef); - this._Sys_User = default(EntityRef); - this._Sys_Menu = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserPowerId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string UserPowerId - { - get - { - return this._UserPowerId; - } - set - { - if ((this._UserPowerId != value)) - { - this.OnUserPowerIdChanging(value); - this.SendPropertyChanging(); - this._UserPowerId = value; - this.SendPropertyChanged("UserPowerId"); - this.OnUserPowerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserPower_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_UserPower.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_UserPower.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserPower_Project_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Project_UserPower.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Project_UserPower.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserPower_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Project_UserPower.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Project_UserPower.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_Welder")] - public partial class Project_Welder : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ProjectWelderId; - - private string _WED_ID; - - private string _ProjectId; - - private System.Nullable _IsSelected; - - private string _SelectedMan; - - private System.Nullable _IsApprove; - - private string _ApproveMan; - - private EntityRef _Base_Project; - - private EntityRef _HJGL_BS_Welder; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnProjectWelderIdChanging(string value); - partial void OnProjectWelderIdChanged(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnIsSelectedChanging(System.Nullable value); - partial void OnIsSelectedChanged(); - partial void OnSelectedManChanging(string value); - partial void OnSelectedManChanged(); - partial void OnIsApproveChanging(System.Nullable value); - partial void OnIsApproveChanged(); - partial void OnApproveManChanging(string value); - partial void OnApproveManChanged(); - #endregion - - public Project_Welder() - { - this._Base_Project = default(EntityRef); - this._HJGL_BS_Welder = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectWelderId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ProjectWelderId - { - get - { - return this._ProjectWelderId; - } - set - { - if ((this._ProjectWelderId != value)) - { - this.OnProjectWelderIdChanging(value); - this.SendPropertyChanging(); - this._ProjectWelderId = value; - this.SendPropertyChanged("ProjectWelderId"); - this.OnProjectWelderIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50)")] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected", DbType="Bit")] - public System.Nullable IsSelected - { - get - { - return this._IsSelected; - } - set - { - if ((this._IsSelected != value)) - { - this.OnIsSelectedChanging(value); - this.SendPropertyChanging(); - this._IsSelected = value; - this.SendPropertyChanged("IsSelected"); - this.OnIsSelectedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SelectedMan", DbType="NVarChar(50)")] - public string SelectedMan - { - get - { - return this._SelectedMan; - } - set - { - if ((this._SelectedMan != value)) - { - this.OnSelectedManChanging(value); - this.SendPropertyChanging(); - this._SelectedMan = value; - this.SendPropertyChanged("SelectedMan"); - this.OnSelectedManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsApprove", DbType="Bit")] - public System.Nullable IsApprove - { - get - { - return this._IsApprove; - } - set - { - if ((this._IsApprove != value)) - { - this.OnIsApproveChanging(value); - this.SendPropertyChanging(); - this._IsApprove = value; - this.SendPropertyChanged("IsApprove"); - this.OnIsApproveChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")] - public string ApproveMan - { - get - { - return this._ApproveMan; - } - set - { - if ((this._ApproveMan != value)) - { - this.OnApproveManChanging(value); - this.SendPropertyChanging(); - this._ApproveMan = value; - this.SendPropertyChanged("ApproveMan"); - this.OnApproveManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Welder_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_Welder.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_Welder.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_Welder_Project_Welder", Storage="_HJGL_BS_Welder", ThisKey="WED_ID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.Project_Welder.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.Project_Welder.Add(this); - this._WED_ID = value.WED_ID; - } - else - { - this._WED_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project_WorkArea")] - public partial class Project_WorkArea : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WorkAreaId; - - private string _WorkAreaCode; - - private string _WorkAreaName; - - private string _ProjectId; - - private string _UnitId; - - private string _InstallationId; - - private string _Def; - - private string _SupervisorUnitId; - - private EntitySet _HJGL_PW_IsoInfo; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _Project_Installation; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWorkAreaIdChanging(string value); - partial void OnWorkAreaIdChanged(); - partial void OnWorkAreaCodeChanging(string value); - partial void OnWorkAreaCodeChanged(); - partial void OnWorkAreaNameChanging(string value); - partial void OnWorkAreaNameChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnDefChanging(string value); - partial void OnDefChanged(); - partial void OnSupervisorUnitIdChanging(string value); - partial void OnSupervisorUnitIdChanged(); - #endregion - - public Project_WorkArea() - { - this._HJGL_PW_IsoInfo = new EntitySet(new Action(this.attach_HJGL_PW_IsoInfo), new Action(this.detach_HJGL_PW_IsoInfo)); - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Project_Installation = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WorkAreaId - { - get - { - return this._WorkAreaId; - } - set - { - if ((this._WorkAreaId != value)) - { - this.OnWorkAreaIdChanging(value); - this.SendPropertyChanging(); - this._WorkAreaId = value; - this.SendPropertyChanged("WorkAreaId"); - this.OnWorkAreaIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaCode", DbType="NVarChar(20) NOT NULL", CanBeNull=false)] - public string WorkAreaCode - { - get - { - return this._WorkAreaCode; - } - set - { - if ((this._WorkAreaCode != value)) - { - this.OnWorkAreaCodeChanging(value); - this.SendPropertyChanging(); - this._WorkAreaCode = value; - this.SendPropertyChanged("WorkAreaCode"); - this.OnWorkAreaCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkAreaName", DbType="NVarChar(50)")] - public string WorkAreaName - { - get - { - return this._WorkAreaName; - } - set - { - if ((this._WorkAreaName != value)) - { - this.OnWorkAreaNameChanging(value); - this.SendPropertyChanging(); - this._WorkAreaName = value; - this.SendPropertyChanged("WorkAreaName"); - this.OnWorkAreaNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - if (this._Project_Installation.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Def", DbType="NVarChar(400)")] - public string Def - { - get - { - return this._Def; - } - set - { - if ((this._Def != value)) - { - this.OnDefChanging(value); - this.SendPropertyChanging(); - this._Def = value; - this.SendPropertyChanged("Def"); - this.OnDefChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisorUnitId", DbType="NVarChar(50)")] - public string SupervisorUnitId - { - get - { - return this._SupervisorUnitId; - } - set - { - if ((this._SupervisorUnitId != value)) - { - this.OnSupervisorUnitIdChanging(value); - this.SendPropertyChanging(); - this._SupervisorUnitId = value; - this.SendPropertyChanged("SupervisorUnitId"); - this.OnSupervisorUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_PW_IsoInfo_Project_WorkArea", Storage="_HJGL_PW_IsoInfo", ThisKey="WorkAreaId", OtherKey="BAW_ID", DeleteRule="NO ACTION")] - public EntitySet HJGL_PW_IsoInfo - { - get - { - return this._HJGL_PW_IsoInfo; - } - set - { - this._HJGL_PW_IsoInfo.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_WorkArea_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Project_WorkArea.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Project_WorkArea.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_WorkArea_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.Project_WorkArea.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.Project_WorkArea.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_WorkArea_Project_Installation", Storage="_Project_Installation", ThisKey="InstallationId", OtherKey="InstallationId", IsForeignKey=true)] - public Project_Installation Project_Installation - { - get - { - return this._Project_Installation.Entity; - } - set - { - Project_Installation previousValue = this._Project_Installation.Entity; - if (((previousValue != value) - || (this._Project_Installation.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Project_Installation.Entity = null; - previousValue.Project_WorkArea.Remove(this); - } - this._Project_Installation.Entity = value; - if ((value != null)) - { - value.Project_WorkArea.Add(this); - this._InstallationId = value.InstallationId; - } - else - { - this._InstallationId = default(string); - } - this.SendPropertyChanged("Project_Installation"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.Project_WorkArea = this; - } - - private void detach_HJGL_PW_IsoInfo(HJGL_PW_IsoInfo entity) - { - this.SendPropertyChanging(); - entity.Project_WorkArea = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_BO_QualityRating")] - public partial class PV_BO_QualityRating : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _QualityRatingId; - - private string _FirstMethodId; - - private string _MethodId; - - private System.Nullable _Remake; - - private string _WeldingId; - - private string _FilmNum; - - private string _RepairTag; - - private System.Nullable _Cack; - - private System.Nullable _NotFusion; - - private System.Nullable _NotPenetration; - - private System.Nullable _StripDefects; - - private System.Nullable _CircularDefects; - - private System.Nullable _DeepHoleDefects; - - private System.Nullable _RootsConcave; - - private System.Nullable _RootsBiteEdge; - - private System.Nullable _PseudoDefects; - - private string _DefectLength; - - private string _DefectResult; - - private string _SignMan; - - private System.Nullable _SignDate; - - private string _Remark; - - private string _RemakeResult; - - private System.Nullable _DetectLength; - - private string _PeakAmplitude; - - private string _DefectLocation; - - private System.Nullable _DepthDefect; - - private System.Nullable _IndicatingLength; - - private System.Nullable _DefectHeight; - - private System.Nullable _DefectsHighSide; - - private System.Nullable _DefectSize; - - private string _DefectNature; - - private string _IsPass; - - private string _DefectRation; - - private System.Nullable _RMaterial; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnQualityRatingIdChanging(string value); - partial void OnQualityRatingIdChanged(); - partial void OnFirstMethodIdChanging(string value); - partial void OnFirstMethodIdChanged(); - partial void OnMethodIdChanging(string value); - partial void OnMethodIdChanged(); - partial void OnRemakeChanging(System.Nullable value); - partial void OnRemakeChanged(); - partial void OnWeldingIdChanging(string value); - partial void OnWeldingIdChanged(); - partial void OnFilmNumChanging(string value); - partial void OnFilmNumChanged(); - partial void OnRepairTagChanging(string value); - partial void OnRepairTagChanged(); - partial void OnCackChanging(System.Nullable value); - partial void OnCackChanged(); - partial void OnNotFusionChanging(System.Nullable value); - partial void OnNotFusionChanged(); - partial void OnNotPenetrationChanging(System.Nullable value); - partial void OnNotPenetrationChanged(); - partial void OnStripDefectsChanging(System.Nullable value); - partial void OnStripDefectsChanged(); - partial void OnCircularDefectsChanging(System.Nullable value); - partial void OnCircularDefectsChanged(); - partial void OnDeepHoleDefectsChanging(System.Nullable value); - partial void OnDeepHoleDefectsChanged(); - partial void OnRootsConcaveChanging(System.Nullable value); - partial void OnRootsConcaveChanged(); - partial void OnRootsBiteEdgeChanging(System.Nullable value); - partial void OnRootsBiteEdgeChanged(); - partial void OnPseudoDefectsChanging(System.Nullable value); - partial void OnPseudoDefectsChanged(); - partial void OnDefectLengthChanging(string value); - partial void OnDefectLengthChanged(); - partial void OnDefectResultChanging(string value); - partial void OnDefectResultChanged(); - partial void OnSignManChanging(string value); - partial void OnSignManChanged(); - partial void OnSignDateChanging(System.Nullable value); - partial void OnSignDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnRemakeResultChanging(string value); - partial void OnRemakeResultChanged(); - partial void OnDetectLengthChanging(System.Nullable value); - partial void OnDetectLengthChanged(); - partial void OnPeakAmplitudeChanging(string value); - partial void OnPeakAmplitudeChanged(); - partial void OnDefectLocationChanging(string value); - partial void OnDefectLocationChanged(); - partial void OnDepthDefectChanging(System.Nullable value); - partial void OnDepthDefectChanged(); - partial void OnIndicatingLengthChanging(System.Nullable value); - partial void OnIndicatingLengthChanged(); - partial void OnDefectHeightChanging(System.Nullable value); - partial void OnDefectHeightChanged(); - partial void OnDefectsHighSideChanging(System.Nullable value); - partial void OnDefectsHighSideChanged(); - partial void OnDefectSizeChanging(System.Nullable value); - partial void OnDefectSizeChanged(); - partial void OnDefectNatureChanging(string value); - partial void OnDefectNatureChanged(); - partial void OnIsPassChanging(string value); - partial void OnIsPassChanged(); - partial void OnDefectRationChanging(string value); - partial void OnDefectRationChanged(); - partial void OnRMaterialChanging(System.Nullable value); - partial void OnRMaterialChanged(); - #endregion - - public PV_BO_QualityRating() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualityRatingId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string QualityRatingId - { - get - { - return this._QualityRatingId; - } - set - { - if ((this._QualityRatingId != value)) - { - this.OnQualityRatingIdChanging(value); - this.SendPropertyChanging(); - this._QualityRatingId = value; - this.SendPropertyChanged("QualityRatingId"); - this.OnQualityRatingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FirstMethodId", DbType="VarChar(50)")] - public string FirstMethodId - { - get - { - return this._FirstMethodId; - } - set - { - if ((this._FirstMethodId != value)) - { - this.OnFirstMethodIdChanging(value); - this.SendPropertyChanging(); - this._FirstMethodId = value; - this.SendPropertyChanged("FirstMethodId"); - this.OnFirstMethodIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MethodId", DbType="VarChar(50)")] - public string MethodId - { - get - { - return this._MethodId; - } - set - { - if ((this._MethodId != value)) - { - this.OnMethodIdChanging(value); - this.SendPropertyChanging(); - this._MethodId = value; - this.SendPropertyChanged("MethodId"); - this.OnMethodIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remake", DbType="Bit")] - public System.Nullable Remake - { - get - { - return this._Remake; - } - set - { - if ((this._Remake != value)) - { - this.OnRemakeChanging(value); - this.SendPropertyChanging(); - this._Remake = value; - this.SendPropertyChanged("Remake"); - this.OnRemakeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50)")] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this.OnWeldingIdChanging(value); - this.SendPropertyChanging(); - this._WeldingId = value; - this.SendPropertyChanged("WeldingId"); - this.OnWeldingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmNum", DbType="NVarChar(50)")] - public string FilmNum - { - get - { - return this._FilmNum; - } - set - { - if ((this._FilmNum != value)) - { - this.OnFilmNumChanging(value); - this.SendPropertyChanging(); - this._FilmNum = value; - this.SendPropertyChanged("FilmNum"); - this.OnFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairTag", DbType="NVarChar(50)")] - public string RepairTag - { - get - { - return this._RepairTag; - } - set - { - if ((this._RepairTag != value)) - { - this.OnRepairTagChanging(value); - this.SendPropertyChanging(); - this._RepairTag = value; - this.SendPropertyChanged("RepairTag"); - this.OnRepairTagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Cack", DbType="Bit")] - public System.Nullable Cack - { - get - { - return this._Cack; - } - set - { - if ((this._Cack != value)) - { - this.OnCackChanging(value); - this.SendPropertyChanging(); - this._Cack = value; - this.SendPropertyChanged("Cack"); - this.OnCackChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NotFusion", DbType="Bit")] - public System.Nullable NotFusion - { - get - { - return this._NotFusion; - } - set - { - if ((this._NotFusion != value)) - { - this.OnNotFusionChanging(value); - this.SendPropertyChanging(); - this._NotFusion = value; - this.SendPropertyChanged("NotFusion"); - this.OnNotFusionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NotPenetration", DbType="Bit")] - public System.Nullable NotPenetration - { - get - { - return this._NotPenetration; - } - set - { - if ((this._NotPenetration != value)) - { - this.OnNotPenetrationChanging(value); - this.SendPropertyChanging(); - this._NotPenetration = value; - this.SendPropertyChanged("NotPenetration"); - this.OnNotPenetrationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StripDefects", DbType="Bit")] - public System.Nullable StripDefects - { - get - { - return this._StripDefects; - } - set - { - if ((this._StripDefects != value)) - { - this.OnStripDefectsChanging(value); - this.SendPropertyChanging(); - this._StripDefects = value; - this.SendPropertyChanged("StripDefects"); - this.OnStripDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CircularDefects", DbType="Bit")] - public System.Nullable CircularDefects - { - get - { - return this._CircularDefects; - } - set - { - if ((this._CircularDefects != value)) - { - this.OnCircularDefectsChanging(value); - this.SendPropertyChanging(); - this._CircularDefects = value; - this.SendPropertyChanged("CircularDefects"); - this.OnCircularDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeepHoleDefects", DbType="Bit")] - public System.Nullable DeepHoleDefects - { - get - { - return this._DeepHoleDefects; - } - set - { - if ((this._DeepHoleDefects != value)) - { - this.OnDeepHoleDefectsChanging(value); - this.SendPropertyChanging(); - this._DeepHoleDefects = value; - this.SendPropertyChanged("DeepHoleDefects"); - this.OnDeepHoleDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RootsConcave", DbType="Bit")] - public System.Nullable RootsConcave - { - get - { - return this._RootsConcave; - } - set - { - if ((this._RootsConcave != value)) - { - this.OnRootsConcaveChanging(value); - this.SendPropertyChanging(); - this._RootsConcave = value; - this.SendPropertyChanged("RootsConcave"); - this.OnRootsConcaveChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RootsBiteEdge", DbType="Bit")] - public System.Nullable RootsBiteEdge - { - get - { - return this._RootsBiteEdge; - } - set - { - if ((this._RootsBiteEdge != value)) - { - this.OnRootsBiteEdgeChanging(value); - this.SendPropertyChanging(); - this._RootsBiteEdge = value; - this.SendPropertyChanged("RootsBiteEdge"); - this.OnRootsBiteEdgeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PseudoDefects", DbType="Bit")] - public System.Nullable PseudoDefects - { - get - { - return this._PseudoDefects; - } - set - { - if ((this._PseudoDefects != value)) - { - this.OnPseudoDefectsChanging(value); - this.SendPropertyChanging(); - this._PseudoDefects = value; - this.SendPropertyChanged("PseudoDefects"); - this.OnPseudoDefectsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectLength", DbType="NVarChar(50)")] - public string DefectLength - { - get - { - return this._DefectLength; - } - set - { - if ((this._DefectLength != value)) - { - this.OnDefectLengthChanging(value); - this.SendPropertyChanging(); - this._DefectLength = value; - this.SendPropertyChanged("DefectLength"); - this.OnDefectLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectResult", DbType="Char(10)")] - public string DefectResult - { - get - { - return this._DefectResult; - } - set - { - if ((this._DefectResult != value)) - { - this.OnDefectResultChanging(value); - this.SendPropertyChanging(); - this._DefectResult = value; - this.SendPropertyChanged("DefectResult"); - this.OnDefectResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignMan", DbType="NVarChar(50)")] - public string SignMan - { - get - { - return this._SignMan; - } - set - { - if ((this._SignMan != value)) - { - this.OnSignManChanging(value); - this.SendPropertyChanging(); - this._SignMan = value; - this.SendPropertyChanged("SignMan"); - this.OnSignManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignDate", DbType="DateTime")] - public System.Nullable SignDate - { - get - { - return this._SignDate; - } - set - { - if ((this._SignDate != value)) - { - this.OnSignDateChanging(value); - this.SendPropertyChanging(); - this._SignDate = value; - this.SendPropertyChanged("SignDate"); - this.OnSignDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemakeResult", DbType="NVarChar(100)")] - public string RemakeResult - { - get - { - return this._RemakeResult; - } - set - { - if ((this._RemakeResult != value)) - { - this.OnRemakeResultChanging(value); - this.SendPropertyChanging(); - this._RemakeResult = value; - this.SendPropertyChanged("RemakeResult"); - this.OnRemakeResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectLength", DbType="Decimal(18,2)")] - public System.Nullable DetectLength - { - get - { - return this._DetectLength; - } - set - { - if ((this._DetectLength != value)) - { - this.OnDetectLengthChanging(value); - this.SendPropertyChanging(); - this._DetectLength = value; - this.SendPropertyChanged("DetectLength"); - this.OnDetectLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PeakAmplitude", DbType="NVarChar(50)")] - public string PeakAmplitude - { - get - { - return this._PeakAmplitude; - } - set - { - if ((this._PeakAmplitude != value)) - { - this.OnPeakAmplitudeChanging(value); - this.SendPropertyChanging(); - this._PeakAmplitude = value; - this.SendPropertyChanged("PeakAmplitude"); - this.OnPeakAmplitudeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectLocation", DbType="NVarChar(50)")] - public string DefectLocation - { - get - { - return this._DefectLocation; - } - set - { - if ((this._DefectLocation != value)) - { - this.OnDefectLocationChanging(value); - this.SendPropertyChanging(); - this._DefectLocation = value; - this.SendPropertyChanged("DefectLocation"); - this.OnDefectLocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepthDefect", DbType="Decimal(18,2)")] - public System.Nullable DepthDefect - { - get - { - return this._DepthDefect; - } - set - { - if ((this._DepthDefect != value)) - { - this.OnDepthDefectChanging(value); - this.SendPropertyChanging(); - this._DepthDefect = value; - this.SendPropertyChanged("DepthDefect"); - this.OnDepthDefectChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IndicatingLength", DbType="Decimal(18,2)")] - public System.Nullable IndicatingLength - { - get - { - return this._IndicatingLength; - } - set - { - if ((this._IndicatingLength != value)) - { - this.OnIndicatingLengthChanging(value); - this.SendPropertyChanging(); - this._IndicatingLength = value; - this.SendPropertyChanged("IndicatingLength"); - this.OnIndicatingLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectHeight", DbType="Decimal(18,2)")] - public System.Nullable DefectHeight - { - get - { - return this._DefectHeight; - } - set - { - if ((this._DefectHeight != value)) - { - this.OnDefectHeightChanging(value); - this.SendPropertyChanging(); - this._DefectHeight = value; - this.SendPropertyChanged("DefectHeight"); - this.OnDefectHeightChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectsHighSide", DbType="Decimal(18,2)")] - public System.Nullable DefectsHighSide - { - get - { - return this._DefectsHighSide; - } - set - { - if ((this._DefectsHighSide != value)) - { - this.OnDefectsHighSideChanging(value); - this.SendPropertyChanging(); - this._DefectsHighSide = value; - this.SendPropertyChanged("DefectsHighSide"); - this.OnDefectsHighSideChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectSize", DbType="Decimal(18,2)")] - public System.Nullable DefectSize - { - get - { - return this._DefectSize; - } - set - { - if ((this._DefectSize != value)) - { - this.OnDefectSizeChanging(value); - this.SendPropertyChanging(); - this._DefectSize = value; - this.SendPropertyChanged("DefectSize"); - this.OnDefectSizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(50)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this.OnDefectNatureChanging(value); - this.SendPropertyChanging(); - this._DefectNature = value; - this.SendPropertyChanged("DefectNature"); - this.OnDefectNatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPass", DbType="NVarChar(10)")] - public string IsPass - { - get - { - return this._IsPass; - } - set - { - if ((this._IsPass != value)) - { - this.OnIsPassChanging(value); - this.SendPropertyChanging(); - this._IsPass = value; - this.SendPropertyChanged("IsPass"); - this.OnIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectRation", DbType="NVarChar(50)")] - public string DefectRation - { - get - { - return this._DefectRation; - } - set - { - if ((this._DefectRation != value)) - { - this.OnDefectRationChanging(value); - this.SendPropertyChanging(); - this._DefectRation = value; - this.SendPropertyChanged("DefectRation"); - this.OnDefectRationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RMaterial", DbType="Bit")] - public System.Nullable RMaterial - { - get - { - return this._RMaterial; - } - set - { - if ((this._RMaterial != value)) - { - this.OnRMaterialChanging(value); - this.SendPropertyChanging(); - this._RMaterial = value; - this.SendPropertyChanged("RMaterial"); - this.OnRMaterialChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_BO_RemakeReason")] - public partial class PV_BO_RemakeReason : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RemakeId; - - private string _QualityRatingId; - - private string _CheckMan; - - private System.Nullable _TypeNum_Error; - - private System.Nullable _TypeNum_Defect; - - private System.Nullable _TypeNum_Position; - - private System.Nullable _TypeNum_Displacement; - - private System.Nullable _ImageQualityMeter_Error; - - private System.Nullable _ImageQualityMeter_Defect; - - private System.Nullable _RayField_Tilt; - - private System.Nullable _RayField_Whitehead; - - private System.Nullable _RayField_FocalLengthSmall; - - private System.Nullable _Blackness_TooHigh; - - private System.Nullable _Blackness_TooLow; - - private System.Nullable _EllipticalOpening_TooMuch; - - private System.Nullable _EllipticalOpening_TooSmall; - - private System.Nullable _NegativeOffset; - - private System.Nullable _Ghosting; - - private System.Nullable _LocationIsNot; - - private System.Nullable _PseudoDefects_Obstacles; - - private System.Nullable _PseudoDefects_Mark; - - private System.Nullable _BackScattering; - - private System.Nullable _FilmSensitizingScreen; - - private System.Nullable _WashPiece; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRemakeIdChanging(string value); - partial void OnRemakeIdChanged(); - partial void OnQualityRatingIdChanging(string value); - partial void OnQualityRatingIdChanged(); - partial void OnCheckManChanging(string value); - partial void OnCheckManChanged(); - partial void OnTypeNum_ErrorChanging(System.Nullable value); - partial void OnTypeNum_ErrorChanged(); - partial void OnTypeNum_DefectChanging(System.Nullable value); - partial void OnTypeNum_DefectChanged(); - partial void OnTypeNum_PositionChanging(System.Nullable value); - partial void OnTypeNum_PositionChanged(); - partial void OnTypeNum_DisplacementChanging(System.Nullable value); - partial void OnTypeNum_DisplacementChanged(); - partial void OnImageQualityMeter_ErrorChanging(System.Nullable value); - partial void OnImageQualityMeter_ErrorChanged(); - partial void OnImageQualityMeter_DefectChanging(System.Nullable value); - partial void OnImageQualityMeter_DefectChanged(); - partial void OnRayField_TiltChanging(System.Nullable value); - partial void OnRayField_TiltChanged(); - partial void OnRayField_WhiteheadChanging(System.Nullable value); - partial void OnRayField_WhiteheadChanged(); - partial void OnRayField_FocalLengthSmallChanging(System.Nullable value); - partial void OnRayField_FocalLengthSmallChanged(); - partial void OnBlackness_TooHighChanging(System.Nullable value); - partial void OnBlackness_TooHighChanged(); - partial void OnBlackness_TooLowChanging(System.Nullable value); - partial void OnBlackness_TooLowChanged(); - partial void OnEllipticalOpening_TooMuchChanging(System.Nullable value); - partial void OnEllipticalOpening_TooMuchChanged(); - partial void OnEllipticalOpening_TooSmallChanging(System.Nullable value); - partial void OnEllipticalOpening_TooSmallChanged(); - partial void OnNegativeOffsetChanging(System.Nullable value); - partial void OnNegativeOffsetChanged(); - partial void OnGhostingChanging(System.Nullable value); - partial void OnGhostingChanged(); - partial void OnLocationIsNotChanging(System.Nullable value); - partial void OnLocationIsNotChanged(); - partial void OnPseudoDefects_ObstaclesChanging(System.Nullable value); - partial void OnPseudoDefects_ObstaclesChanged(); - partial void OnPseudoDefects_MarkChanging(System.Nullable value); - partial void OnPseudoDefects_MarkChanged(); - partial void OnBackScatteringChanging(System.Nullable value); - partial void OnBackScatteringChanged(); - partial void OnFilmSensitizingScreenChanging(System.Nullable value); - partial void OnFilmSensitizingScreenChanged(); - partial void OnWashPieceChanging(System.Nullable value); - partial void OnWashPieceChanged(); - #endregion - - public PV_BO_RemakeReason() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemakeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RemakeId - { - get - { - return this._RemakeId; - } - set - { - if ((this._RemakeId != value)) - { - this.OnRemakeIdChanging(value); - this.SendPropertyChanging(); - this._RemakeId = value; - this.SendPropertyChanged("RemakeId"); - this.OnRemakeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualityRatingId", DbType="NVarChar(50)")] - public string QualityRatingId - { - get - { - return this._QualityRatingId; - } - set - { - if ((this._QualityRatingId != value)) - { - this.OnQualityRatingIdChanging(value); - this.SendPropertyChanging(); - this._QualityRatingId = value; - this.SendPropertyChanged("QualityRatingId"); - this.OnQualityRatingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckMan", DbType="NVarChar(50)")] - public string CheckMan - { - get - { - return this._CheckMan; - } - set - { - if ((this._CheckMan != value)) - { - this.OnCheckManChanging(value); - this.SendPropertyChanging(); - this._CheckMan = value; - this.SendPropertyChanged("CheckMan"); - this.OnCheckManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeNum_Error", DbType="Bit")] - public System.Nullable TypeNum_Error - { - get - { - return this._TypeNum_Error; - } - set - { - if ((this._TypeNum_Error != value)) - { - this.OnTypeNum_ErrorChanging(value); - this.SendPropertyChanging(); - this._TypeNum_Error = value; - this.SendPropertyChanged("TypeNum_Error"); - this.OnTypeNum_ErrorChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeNum_Defect", DbType="Bit")] - public System.Nullable TypeNum_Defect - { - get - { - return this._TypeNum_Defect; - } - set - { - if ((this._TypeNum_Defect != value)) - { - this.OnTypeNum_DefectChanging(value); - this.SendPropertyChanging(); - this._TypeNum_Defect = value; - this.SendPropertyChanged("TypeNum_Defect"); - this.OnTypeNum_DefectChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeNum_Position", DbType="Bit")] - public System.Nullable TypeNum_Position - { - get - { - return this._TypeNum_Position; - } - set - { - if ((this._TypeNum_Position != value)) - { - this.OnTypeNum_PositionChanging(value); - this.SendPropertyChanging(); - this._TypeNum_Position = value; - this.SendPropertyChanged("TypeNum_Position"); - this.OnTypeNum_PositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TypeNum_Displacement", DbType="Bit")] - public System.Nullable TypeNum_Displacement - { - get - { - return this._TypeNum_Displacement; - } - set - { - if ((this._TypeNum_Displacement != value)) - { - this.OnTypeNum_DisplacementChanging(value); - this.SendPropertyChanging(); - this._TypeNum_Displacement = value; - this.SendPropertyChanged("TypeNum_Displacement"); - this.OnTypeNum_DisplacementChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageQualityMeter_Error", DbType="Bit")] - public System.Nullable ImageQualityMeter_Error - { - get - { - return this._ImageQualityMeter_Error; - } - set - { - if ((this._ImageQualityMeter_Error != value)) - { - this.OnImageQualityMeter_ErrorChanging(value); - this.SendPropertyChanging(); - this._ImageQualityMeter_Error = value; - this.SendPropertyChanged("ImageQualityMeter_Error"); - this.OnImageQualityMeter_ErrorChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageQualityMeter_Defect", DbType="Bit")] - public System.Nullable ImageQualityMeter_Defect - { - get - { - return this._ImageQualityMeter_Defect; - } - set - { - if ((this._ImageQualityMeter_Defect != value)) - { - this.OnImageQualityMeter_DefectChanging(value); - this.SendPropertyChanging(); - this._ImageQualityMeter_Defect = value; - this.SendPropertyChanged("ImageQualityMeter_Defect"); - this.OnImageQualityMeter_DefectChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RayField_Tilt", DbType="Bit")] - public System.Nullable RayField_Tilt - { - get - { - return this._RayField_Tilt; - } - set - { - if ((this._RayField_Tilt != value)) - { - this.OnRayField_TiltChanging(value); - this.SendPropertyChanging(); - this._RayField_Tilt = value; - this.SendPropertyChanged("RayField_Tilt"); - this.OnRayField_TiltChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RayField_Whitehead", DbType="Bit")] - public System.Nullable RayField_Whitehead - { - get - { - return this._RayField_Whitehead; - } - set - { - if ((this._RayField_Whitehead != value)) - { - this.OnRayField_WhiteheadChanging(value); - this.SendPropertyChanging(); - this._RayField_Whitehead = value; - this.SendPropertyChanged("RayField_Whitehead"); - this.OnRayField_WhiteheadChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RayField_FocalLengthSmall", DbType="Bit")] - public System.Nullable RayField_FocalLengthSmall - { - get - { - return this._RayField_FocalLengthSmall; - } - set - { - if ((this._RayField_FocalLengthSmall != value)) - { - this.OnRayField_FocalLengthSmallChanging(value); - this.SendPropertyChanging(); - this._RayField_FocalLengthSmall = value; - this.SendPropertyChanged("RayField_FocalLengthSmall"); - this.OnRayField_FocalLengthSmallChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Blackness_TooHigh", DbType="Bit")] - public System.Nullable Blackness_TooHigh - { - get - { - return this._Blackness_TooHigh; - } - set - { - if ((this._Blackness_TooHigh != value)) - { - this.OnBlackness_TooHighChanging(value); - this.SendPropertyChanging(); - this._Blackness_TooHigh = value; - this.SendPropertyChanged("Blackness_TooHigh"); - this.OnBlackness_TooHighChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Blackness_TooLow", DbType="Bit")] - public System.Nullable Blackness_TooLow - { - get - { - return this._Blackness_TooLow; - } - set - { - if ((this._Blackness_TooLow != value)) - { - this.OnBlackness_TooLowChanging(value); - this.SendPropertyChanging(); - this._Blackness_TooLow = value; - this.SendPropertyChanged("Blackness_TooLow"); - this.OnBlackness_TooLowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EllipticalOpening_TooMuch", DbType="Bit")] - public System.Nullable EllipticalOpening_TooMuch - { - get - { - return this._EllipticalOpening_TooMuch; - } - set - { - if ((this._EllipticalOpening_TooMuch != value)) - { - this.OnEllipticalOpening_TooMuchChanging(value); - this.SendPropertyChanging(); - this._EllipticalOpening_TooMuch = value; - this.SendPropertyChanged("EllipticalOpening_TooMuch"); - this.OnEllipticalOpening_TooMuchChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EllipticalOpening_TooSmall", DbType="Bit")] - public System.Nullable EllipticalOpening_TooSmall - { - get - { - return this._EllipticalOpening_TooSmall; - } - set - { - if ((this._EllipticalOpening_TooSmall != value)) - { - this.OnEllipticalOpening_TooSmallChanging(value); - this.SendPropertyChanging(); - this._EllipticalOpening_TooSmall = value; - this.SendPropertyChanged("EllipticalOpening_TooSmall"); - this.OnEllipticalOpening_TooSmallChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NegativeOffset", DbType="Bit")] - public System.Nullable NegativeOffset - { - get - { - return this._NegativeOffset; - } - set - { - if ((this._NegativeOffset != value)) - { - this.OnNegativeOffsetChanging(value); - this.SendPropertyChanging(); - this._NegativeOffset = value; - this.SendPropertyChanged("NegativeOffset"); - this.OnNegativeOffsetChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ghosting", DbType="Bit")] - public System.Nullable Ghosting - { - get - { - return this._Ghosting; - } - set - { - if ((this._Ghosting != value)) - { - this.OnGhostingChanging(value); - this.SendPropertyChanging(); - this._Ghosting = value; - this.SendPropertyChanged("Ghosting"); - this.OnGhostingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LocationIsNot", DbType="Bit")] - public System.Nullable LocationIsNot - { - get - { - return this._LocationIsNot; - } - set - { - if ((this._LocationIsNot != value)) - { - this.OnLocationIsNotChanging(value); - this.SendPropertyChanging(); - this._LocationIsNot = value; - this.SendPropertyChanged("LocationIsNot"); - this.OnLocationIsNotChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PseudoDefects_Obstacles", DbType="Bit")] - public System.Nullable PseudoDefects_Obstacles - { - get - { - return this._PseudoDefects_Obstacles; - } - set - { - if ((this._PseudoDefects_Obstacles != value)) - { - this.OnPseudoDefects_ObstaclesChanging(value); - this.SendPropertyChanging(); - this._PseudoDefects_Obstacles = value; - this.SendPropertyChanged("PseudoDefects_Obstacles"); - this.OnPseudoDefects_ObstaclesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PseudoDefects_Mark", DbType="Bit")] - public System.Nullable PseudoDefects_Mark - { - get - { - return this._PseudoDefects_Mark; - } - set - { - if ((this._PseudoDefects_Mark != value)) - { - this.OnPseudoDefects_MarkChanging(value); - this.SendPropertyChanging(); - this._PseudoDefects_Mark = value; - this.SendPropertyChanged("PseudoDefects_Mark"); - this.OnPseudoDefects_MarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BackScattering", DbType="Bit")] - public System.Nullable BackScattering - { - get - { - return this._BackScattering; - } - set - { - if ((this._BackScattering != value)) - { - this.OnBackScatteringChanging(value); - this.SendPropertyChanging(); - this._BackScattering = value; - this.SendPropertyChanged("BackScattering"); - this.OnBackScatteringChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmSensitizingScreen", DbType="Bit")] - public System.Nullable FilmSensitizingScreen - { - get - { - return this._FilmSensitizingScreen; - } - set - { - if ((this._FilmSensitizingScreen != value)) - { - this.OnFilmSensitizingScreenChanging(value); - this.SendPropertyChanging(); - this._FilmSensitizingScreen = value; - this.SendPropertyChanged("FilmSensitizingScreen"); - this.OnFilmSensitizingScreenChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WashPiece", DbType="Bit")] - public System.Nullable WashPiece - { - get - { - return this._WashPiece; - } - set - { - if ((this._WashPiece != value)) - { - this.OnWashPieceChanging(value); - this.SendPropertyChanging(); - this._WashPiece = value; - this.SendPropertyChanged("WashPiece"); - this.OnWashPieceChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_BO_WeldReportMain")] - public partial class PV_BO_WeldReportMain : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _DReportID; - - private string _ProjectId; - - private System.DateTime _ReportDate; - - private string _UnitId; - - private string _WeldDailyReportNo; - - private string _Tabler; - - private System.Nullable _TableDate; - - private string _Remark; - - private System.Nullable _ReportType; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnDReportIDChanging(string value); - partial void OnDReportIDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnReportDateChanging(System.DateTime value); - partial void OnReportDateChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnWeldDailyReportNoChanging(string value); - partial void OnWeldDailyReportNoChanged(); - partial void OnTablerChanging(string value); - partial void OnTablerChanged(); - partial void OnTableDateChanging(System.Nullable value); - partial void OnTableDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnReportTypeChanging(System.Nullable value); - partial void OnReportTypeChanged(); - #endregion - - public PV_BO_WeldReportMain() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this.OnDReportIDChanging(value); - this.SendPropertyChanging(); - this._DReportID = value; - this.SendPropertyChanged("DReportID"); - this.OnDReportIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportDate", DbType="DateTime NOT NULL")] - public System.DateTime ReportDate - { - get - { - return this._ReportDate; - } - set - { - if ((this._ReportDate != value)) - { - this.OnReportDateChanging(value); - this.SendPropertyChanging(); - this._ReportDate = value; - this.SendPropertyChanged("ReportDate"); - this.OnReportDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="VarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldDailyReportNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string WeldDailyReportNo - { - get - { - return this._WeldDailyReportNo; - } - set - { - if ((this._WeldDailyReportNo != value)) - { - this.OnWeldDailyReportNoChanging(value); - this.SendPropertyChanging(); - this._WeldDailyReportNo = value; - this.SendPropertyChanged("WeldDailyReportNo"); - this.OnWeldDailyReportNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tabler", DbType="VarChar(50)")] - public string Tabler - { - get - { - return this._Tabler; - } - set - { - if ((this._Tabler != value)) - { - this.OnTablerChanging(value); - this.SendPropertyChanging(); - this._Tabler = value; - this.SendPropertyChanged("Tabler"); - this.OnTablerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TableDate", DbType="DateTime")] - public System.Nullable TableDate - { - get - { - return this._TableDate; - } - set - { - if ((this._TableDate != value)) - { - this.OnTableDateChanging(value); - this.SendPropertyChanging(); - this._TableDate = value; - this.SendPropertyChanged("TableDate"); - this.OnTableDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportType", DbType="Int")] - public System.Nullable ReportType - { - get - { - return this._ReportType; - } - set - { - if ((this._ReportType != value)) - { - this.OnReportTypeChanging(value); - this.SendPropertyChanging(); - this._ReportType = value; - this.SendPropertyChanged("ReportType"); - this.OnReportTypeChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_CH_AgainHotInfo")] - public partial class PV_CH_AgainHotInfo : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _AgainId; - - private string _ProjectId; - - private string _WeldingId; - - private string _HotId; - - private System.Nullable _TrustType; - - private System.Nullable _RepairNum; - - private System.Nullable _IsHotProessTrust; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAgainIdChanging(string value); - partial void OnAgainIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnWeldingIdChanging(string value); - partial void OnWeldingIdChanged(); - partial void OnHotIdChanging(string value); - partial void OnHotIdChanged(); - partial void OnTrustTypeChanging(System.Nullable value); - partial void OnTrustTypeChanged(); - partial void OnRepairNumChanging(System.Nullable value); - partial void OnRepairNumChanged(); - partial void OnIsHotProessTrustChanging(System.Nullable value); - partial void OnIsHotProessTrustChanged(); - #endregion - - public PV_CH_AgainHotInfo() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AgainId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string AgainId - { - get - { - return this._AgainId; - } - set - { - if ((this._AgainId != value)) - { - this.OnAgainIdChanging(value); - this.SendPropertyChanging(); - this._AgainId = value; - this.SendPropertyChanged("AgainId"); - this.OnAgainIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50)")] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this.OnWeldingIdChanging(value); - this.SendPropertyChanging(); - this._WeldingId = value; - this.SendPropertyChanged("WeldingId"); - this.OnWeldingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="VarChar(50)")] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this.OnHotIdChanging(value); - this.SendPropertyChanging(); - this._HotId = value; - this.SendPropertyChanged("HotId"); - this.OnHotIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Int")] - public System.Nullable TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this.OnTrustTypeChanging(value); - this.SendPropertyChanging(); - this._TrustType = value; - this.SendPropertyChanged("TrustType"); - this.OnTrustTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="Int")] - public System.Nullable RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this.OnRepairNumChanging(value); - this.SendPropertyChanging(); - this._RepairNum = value; - this.SendPropertyChanged("RepairNum"); - this.OnRepairNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotProessTrust", DbType="Bit")] - public System.Nullable IsHotProessTrust - { - get - { - return this._IsHotProessTrust; - } - set - { - if ((this._IsHotProessTrust != value)) - { - this.OnIsHotProessTrustChanging(value); - this.SendPropertyChanging(); - this._IsHotProessTrust = value; - this.SendPropertyChanged("IsHotProessTrust"); - this.OnIsHotProessTrustChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_CH_HardProessResult")] - public partial class PV_CH_HardProessResult : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HardProessResultId; - - private string _HardProessTrustId; - - private string _HardProessItemId; - - private string _HotProessTrustId; - - private string _HotProessTrustItemId; - - private string _ProjectId; - - private string _HotId; - - private System.Nullable _IsOK; - - private string _Remark; - - private System.Nullable _ResultDate; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHardProessResultIdChanging(string value); - partial void OnHardProessResultIdChanged(); - partial void OnHardProessTrustIdChanging(string value); - partial void OnHardProessTrustIdChanged(); - partial void OnHardProessItemIdChanging(string value); - partial void OnHardProessItemIdChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnHotProessTrustItemIdChanging(string value); - partial void OnHotProessTrustItemIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnHotIdChanging(string value); - partial void OnHotIdChanged(); - partial void OnIsOKChanging(System.Nullable value); - partial void OnIsOKChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnResultDateChanging(System.Nullable value); - partial void OnResultDateChanged(); - #endregion - - public PV_CH_HardProessResult() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessResultId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HardProessResultId - { - get - { - return this._HardProessResultId; - } - set - { - if ((this._HardProessResultId != value)) - { - this.OnHardProessResultIdChanging(value); - this.SendPropertyChanging(); - this._HardProessResultId = value; - this.SendPropertyChanged("HardProessResultId"); - this.OnHardProessResultIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessTrustId", DbType="VarChar(50)")] - public string HardProessTrustId - { - get - { - return this._HardProessTrustId; - } - set - { - if ((this._HardProessTrustId != value)) - { - this.OnHardProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HardProessTrustId = value; - this.SendPropertyChanged("HardProessTrustId"); - this.OnHardProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessItemId", DbType="VarChar(50)")] - public string HardProessItemId - { - get - { - return this._HardProessItemId; - } - set - { - if ((this._HardProessItemId != value)) - { - this.OnHardProessItemIdChanging(value); - this.SendPropertyChanging(); - this._HardProessItemId = value; - this.SendPropertyChanged("HardProessItemId"); - this.OnHardProessItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="VarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="VarChar(50)")] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this.OnHotProessTrustItemIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustItemId = value; - this.SendPropertyChanged("HotProessTrustItemId"); - this.OnHotProessTrustItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="VarChar(50)")] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this.OnHotIdChanging(value); - this.SendPropertyChanging(); - this._HotId = value; - this.SendPropertyChanged("HotId"); - this.OnHotIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Int")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this.OnIsOKChanging(value); - this.SendPropertyChanging(); - this._IsOK = value; - this.SendPropertyChanged("IsOK"); - this.OnIsOKChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResultDate", DbType="DateTime")] - public System.Nullable ResultDate - { - get - { - return this._ResultDate; - } - set - { - if ((this._ResultDate != value)) - { - this.OnResultDateChanging(value); - this.SendPropertyChanging(); - this._ResultDate = value; - this.SendPropertyChanged("ResultDate"); - this.OnResultDateChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_CH_HardProessTrust")] - public partial class PV_CH_HardProessTrust : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HardProessTrustId; - - private string _ProjectId; - - private string _HardProessTrustCode; - - private string _ProjectName; - - private string _ConstructionNo; - - private string _TrustUnitId; - - private string _TrstManId; - - private System.Nullable _CreateDate; - - private System.Nullable _IsPrint; - - private string _TrustType; - - private string _CreateId; - - private System.Nullable _CreateTime; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHardProessTrustIdChanging(string value); - partial void OnHardProessTrustIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnHardProessTrustCodeChanging(string value); - partial void OnHardProessTrustCodeChanged(); - partial void OnProjectNameChanging(string value); - partial void OnProjectNameChanged(); - partial void OnConstructionNoChanging(string value); - partial void OnConstructionNoChanged(); - partial void OnTrustUnitIdChanging(string value); - partial void OnTrustUnitIdChanged(); - partial void OnTrstManIdChanging(string value); - partial void OnTrstManIdChanged(); - partial void OnCreateDateChanging(System.Nullable value); - partial void OnCreateDateChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnTrustTypeChanging(string value); - partial void OnTrustTypeChanged(); - partial void OnCreateIdChanging(string value); - partial void OnCreateIdChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - #endregion - - public PV_CH_HardProessTrust() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessTrustId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HardProessTrustId - { - get - { - return this._HardProessTrustId; - } - set - { - if ((this._HardProessTrustId != value)) - { - this.OnHardProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HardProessTrustId = value; - this.SendPropertyChanged("HardProessTrustId"); - this.OnHardProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessTrustCode", DbType="NVarChar(50)")] - public string HardProessTrustCode - { - get - { - return this._HardProessTrustCode; - } - set - { - if ((this._HardProessTrustCode != value)) - { - this.OnHardProessTrustCodeChanging(value); - this.SendPropertyChanging(); - this._HardProessTrustCode = value; - this.SendPropertyChanged("HardProessTrustCode"); - this.OnHardProessTrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this.OnProjectNameChanging(value); - this.SendPropertyChanging(); - this._ProjectName = value; - this.SendPropertyChanged("ProjectName"); - this.OnProjectNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionNo", DbType="NVarChar(50)")] - public string ConstructionNo - { - get - { - return this._ConstructionNo; - } - set - { - if ((this._ConstructionNo != value)) - { - this.OnConstructionNoChanging(value); - this.SendPropertyChanging(); - this._ConstructionNo = value; - this.SendPropertyChanged("ConstructionNo"); - this.OnConstructionNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustUnitId", DbType="NVarChar(50)")] - public string TrustUnitId - { - get - { - return this._TrustUnitId; - } - set - { - if ((this._TrustUnitId != value)) - { - this.OnTrustUnitIdChanging(value); - this.SendPropertyChanging(); - this._TrustUnitId = value; - this.SendPropertyChanged("TrustUnitId"); - this.OnTrustUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrstManId", DbType="NVarChar(50)")] - public string TrstManId - { - get - { - return this._TrstManId; - } - set - { - if ((this._TrstManId != value)) - { - this.OnTrstManIdChanging(value); - this.SendPropertyChanging(); - this._TrstManId = value; - this.SendPropertyChanged("TrstManId"); - this.OnTrstManIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")] - public System.Nullable CreateDate - { - get - { - return this._CreateDate; - } - set - { - if ((this._CreateDate != value)) - { - this.OnCreateDateChanging(value); - this.SendPropertyChanging(); - this._CreateDate = value; - this.SendPropertyChanged("CreateDate"); - this.OnCreateDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Char(1)")] - public string TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this.OnTrustTypeChanging(value); - this.SendPropertyChanging(); - this._TrustType = value; - this.SendPropertyChanged("TrustType"); - this.OnTrustTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateId", DbType="VarChar(50)")] - public string CreateId - { - get - { - return this._CreateId; - } - set - { - if ((this._CreateId != value)) - { - this.OnCreateIdChanging(value); - this.SendPropertyChanging(); - this._CreateId = value; - this.SendPropertyChanged("CreateId"); - this.OnCreateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_CH_HotProessResult")] - public partial class PV_CH_HotProessResult : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HotProessResultId; - - private string _HotProessTrustId; - - private string _HotProessTrustItemId; - - private string _ProjectId; - - private string _HotId; - - private string _HotProessCurveNo; - - private System.Nullable _IsNeedHardTest; - - private System.Nullable _CompleteDate; - - private System.Nullable _IsOK; - - private string _ProessTypes; - - private System.Nullable _ResultDate; - - private string _Remark; - - private string _HardProessTrustId; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHotProessResultIdChanging(string value); - partial void OnHotProessResultIdChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnHotProessTrustItemIdChanging(string value); - partial void OnHotProessTrustItemIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnHotIdChanging(string value); - partial void OnHotIdChanged(); - partial void OnHotProessCurveNoChanging(string value); - partial void OnHotProessCurveNoChanged(); - partial void OnIsNeedHardTestChanging(System.Nullable value); - partial void OnIsNeedHardTestChanged(); - partial void OnCompleteDateChanging(System.Nullable value); - partial void OnCompleteDateChanged(); - partial void OnIsOKChanging(System.Nullable value); - partial void OnIsOKChanged(); - partial void OnProessTypesChanging(string value); - partial void OnProessTypesChanged(); - partial void OnResultDateChanging(System.Nullable value); - partial void OnResultDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnHardProessTrustIdChanging(string value); - partial void OnHardProessTrustIdChanged(); - #endregion - - public PV_CH_HotProessResult() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessResultId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HotProessResultId - { - get - { - return this._HotProessResultId; - } - set - { - if ((this._HotProessResultId != value)) - { - this.OnHotProessResultIdChanging(value); - this.SendPropertyChanging(); - this._HotProessResultId = value; - this.SendPropertyChanged("HotProessResultId"); - this.OnHotProessResultIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="VarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="VarChar(50)")] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this.OnHotProessTrustItemIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustItemId = value; - this.SendPropertyChanged("HotProessTrustItemId"); - this.OnHotProessTrustItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="VarChar(50)")] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this.OnHotIdChanging(value); - this.SendPropertyChanging(); - this._HotId = value; - this.SendPropertyChanged("HotId"); - this.OnHotIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessCurveNo", DbType="VarChar(50)")] - public string HotProessCurveNo - { - get - { - return this._HotProessCurveNo; - } - set - { - if ((this._HotProessCurveNo != value)) - { - this.OnHotProessCurveNoChanging(value); - this.SendPropertyChanging(); - this._HotProessCurveNo = value; - this.SendPropertyChanged("HotProessCurveNo"); - this.OnHotProessCurveNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNeedHardTest", DbType="Bit")] - public System.Nullable IsNeedHardTest - { - get - { - return this._IsNeedHardTest; - } - set - { - if ((this._IsNeedHardTest != value)) - { - this.OnIsNeedHardTestChanging(value); - this.SendPropertyChanging(); - this._IsNeedHardTest = value; - this.SendPropertyChanged("IsNeedHardTest"); - this.OnIsNeedHardTestChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompleteDate", DbType="DateTime")] - public System.Nullable CompleteDate - { - get - { - return this._CompleteDate; - } - set - { - if ((this._CompleteDate != value)) - { - this.OnCompleteDateChanging(value); - this.SendPropertyChanging(); - this._CompleteDate = value; - this.SendPropertyChanged("CompleteDate"); - this.OnCompleteDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Bit")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this.OnIsOKChanging(value); - this.SendPropertyChanging(); - this._IsOK = value; - this.SendPropertyChanged("IsOK"); - this.OnIsOKChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="VarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this.OnProessTypesChanging(value); - this.SendPropertyChanging(); - this._ProessTypes = value; - this.SendPropertyChanged("ProessTypes"); - this.OnProessTypesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResultDate", DbType="DateTime")] - public System.Nullable ResultDate - { - get - { - return this._ResultDate; - } - set - { - if ((this._ResultDate != value)) - { - this.OnResultDateChanging(value); - this.SendPropertyChanging(); - this._ResultDate = value; - this.SendPropertyChanged("ResultDate"); - this.OnResultDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessTrustId", DbType="VarChar(50)")] - public string HardProessTrustId - { - get - { - return this._HardProessTrustId; - } - set - { - if ((this._HardProessTrustId != value)) - { - this.OnHardProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HardProessTrustId = value; - this.SendPropertyChanged("HardProessTrustId"); - this.OnHardProessTrustIdChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_CH_HotProessTrust")] - public partial class PV_CH_HotProessTrust : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HotProessTrustId; - - private string _ProjectId; - - private string _HotProessTrustCode; - - private string _ProjectName; - - private string _ConstructionNo; - - private string _TrustUnitId; - - private string _TrstManId; - - private System.Nullable _CreateDate; - - private System.Nullable _IsPrint; - - private string _CreateId; - - private System.Nullable _CreateTime; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnHotProessTrustCodeChanging(string value); - partial void OnHotProessTrustCodeChanged(); - partial void OnProjectNameChanging(string value); - partial void OnProjectNameChanged(); - partial void OnConstructionNoChanging(string value); - partial void OnConstructionNoChanged(); - partial void OnTrustUnitIdChanging(string value); - partial void OnTrustUnitIdChanged(); - partial void OnTrstManIdChanging(string value); - partial void OnTrstManIdChanged(); - partial void OnCreateDateChanging(System.Nullable value); - partial void OnCreateDateChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnCreateIdChanging(string value); - partial void OnCreateIdChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - #endregion - - public PV_CH_HotProessTrust() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustCode", DbType="NVarChar(50)")] - public string HotProessTrustCode - { - get - { - return this._HotProessTrustCode; - } - set - { - if ((this._HotProessTrustCode != value)) - { - this.OnHotProessTrustCodeChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustCode = value; - this.SendPropertyChanged("HotProessTrustCode"); - this.OnHotProessTrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this.OnProjectNameChanging(value); - this.SendPropertyChanging(); - this._ProjectName = value; - this.SendPropertyChanged("ProjectName"); - this.OnProjectNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionNo", DbType="NVarChar(50)")] - public string ConstructionNo - { - get - { - return this._ConstructionNo; - } - set - { - if ((this._ConstructionNo != value)) - { - this.OnConstructionNoChanging(value); - this.SendPropertyChanging(); - this._ConstructionNo = value; - this.SendPropertyChanged("ConstructionNo"); - this.OnConstructionNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustUnitId", DbType="NVarChar(50)")] - public string TrustUnitId - { - get - { - return this._TrustUnitId; - } - set - { - if ((this._TrustUnitId != value)) - { - this.OnTrustUnitIdChanging(value); - this.SendPropertyChanging(); - this._TrustUnitId = value; - this.SendPropertyChanged("TrustUnitId"); - this.OnTrustUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrstManId", DbType="NVarChar(50)")] - public string TrstManId - { - get - { - return this._TrstManId; - } - set - { - if ((this._TrstManId != value)) - { - this.OnTrstManIdChanging(value); - this.SendPropertyChanging(); - this._TrstManId = value; - this.SendPropertyChanged("TrstManId"); - this.OnTrstManIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")] - public System.Nullable CreateDate - { - get - { - return this._CreateDate; - } - set - { - if ((this._CreateDate != value)) - { - this.OnCreateDateChanging(value); - this.SendPropertyChanging(); - this._CreateDate = value; - this.SendPropertyChanged("CreateDate"); - this.OnCreateDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateId", DbType="VarChar(50)")] - public string CreateId - { - get - { - return this._CreateId; - } - set - { - if ((this._CreateId != value)) - { - this.OnCreateIdChanging(value); - this.SendPropertyChanging(); - this._CreateId = value; - this.SendPropertyChanged("CreateId"); - this.OnCreateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_CH_HotProessTrustItem")] - public partial class PV_CH_HotProessTrustItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HotProessTrustItemId; - - private string _HotProessTrustId; - - private string _HotId; - - private string _ProessTypes; - - private System.Nullable _TrustDate; - - private string _Remark; - - private System.Nullable _TrustType; - - private string _TrustItemID; - - private string _HardTestResultId; - - private string _HardRepairMark; - - private string _ProjectId; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHotProessTrustItemIdChanging(string value); - partial void OnHotProessTrustItemIdChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnHotIdChanging(string value); - partial void OnHotIdChanged(); - partial void OnProessTypesChanging(string value); - partial void OnProessTypesChanged(); - partial void OnTrustDateChanging(System.Nullable value); - partial void OnTrustDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnTrustTypeChanging(System.Nullable value); - partial void OnTrustTypeChanged(); - partial void OnTrustItemIDChanging(string value); - partial void OnTrustItemIDChanged(); - partial void OnHardTestResultIdChanging(string value); - partial void OnHardTestResultIdChanged(); - partial void OnHardRepairMarkChanging(string value); - partial void OnHardRepairMarkChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - #endregion - - public PV_CH_HotProessTrustItem() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this.OnHotProessTrustItemIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustItemId = value; - this.SendPropertyChanged("HotProessTrustItemId"); - this.OnHotProessTrustItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="VarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="VarChar(50)")] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this.OnHotIdChanging(value); - this.SendPropertyChanging(); - this._HotId = value; - this.SendPropertyChanged("HotId"); - this.OnHotIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="VarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this.OnProessTypesChanging(value); - this.SendPropertyChanging(); - this._ProessTypes = value; - this.SendPropertyChanged("ProessTypes"); - this.OnProessTypesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustDate", DbType="DateTime")] - public System.Nullable TrustDate - { - get - { - return this._TrustDate; - } - set - { - if ((this._TrustDate != value)) - { - this.OnTrustDateChanging(value); - this.SendPropertyChanging(); - this._TrustDate = value; - this.SendPropertyChanged("TrustDate"); - this.OnTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Int")] - public System.Nullable TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this.OnTrustTypeChanging(value); - this.SendPropertyChanging(); - this._TrustType = value; - this.SendPropertyChanged("TrustType"); - this.OnTrustTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustItemID", DbType="VarChar(50)")] - public string TrustItemID - { - get - { - return this._TrustItemID; - } - set - { - if ((this._TrustItemID != value)) - { - this.OnTrustItemIDChanging(value); - this.SendPropertyChanging(); - this._TrustItemID = value; - this.SendPropertyChanged("TrustItemID"); - this.OnTrustItemIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestResultId", DbType="VarChar(50)")] - public string HardTestResultId - { - get - { - return this._HardTestResultId; - } - set - { - if ((this._HardTestResultId != value)) - { - this.OnHardTestResultIdChanging(value); - this.SendPropertyChanging(); - this._HardTestResultId = value; - this.SendPropertyChanged("HardTestResultId"); - this.OnHardTestResultIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardRepairMark", DbType="VarChar(10)")] - public string HardRepairMark - { - get - { - return this._HardRepairMark; - } - set - { - if ((this._HardRepairMark != value)) - { - this.OnHardRepairMarkChanging(value); - this.SendPropertyChanging(); - this._HardRepairMark = value; - this.SendPropertyChanged("HardRepairMark"); - this.OnHardRepairMarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_CH_RepairItemRecord")] - public partial class PV_CH_RepairItemRecord : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RepairItemRecordId; - - private string _OldRepairItemRecordId; - - private string _FirstRepairItemRecordId; - - private System.Nullable _RepairNum; - - private string _ProjectId; - - private string _WeldingId; - - private string _QualityRatingId; - - private string _DReportID; - - private string _FilmNum; - - private string _MethodId; - - private string _EntrustId; - - private string _EntrustCode; - - private string _RepairMark; - - private string _DefectNature; - - private string _DefectResult; - - private System.Nullable _IsWeld; - - private string _WmeId; - - private string _BackingWelderId; - - private string _CoverWelderId; - - private System.Nullable _Confirmation; - - private System.Nullable _WeldDate; - - private string _ConstructionPerson; - - private System.Nullable _ConfirmDate; - - private System.Nullable _FeedbackDate; - - private string _NdtId; - - private string _SignMan; - - private System.Nullable _SignDate; - - private string _ReceiveMan; - - private System.Nullable _ReceiveDate; - - private System.Nullable _IsPrint; - - private string _PrintMan; - - private System.Nullable _PrintDate; - - private string _TrustRemark; - - private string _SerialNumber; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRepairItemRecordIdChanging(string value); - partial void OnRepairItemRecordIdChanged(); - partial void OnOldRepairItemRecordIdChanging(string value); - partial void OnOldRepairItemRecordIdChanged(); - partial void OnFirstRepairItemRecordIdChanging(string value); - partial void OnFirstRepairItemRecordIdChanged(); - partial void OnRepairNumChanging(System.Nullable value); - partial void OnRepairNumChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnWeldingIdChanging(string value); - partial void OnWeldingIdChanged(); - partial void OnQualityRatingIdChanging(string value); - partial void OnQualityRatingIdChanged(); - partial void OnDReportIDChanging(string value); - partial void OnDReportIDChanged(); - partial void OnFilmNumChanging(string value); - partial void OnFilmNumChanged(); - partial void OnMethodIdChanging(string value); - partial void OnMethodIdChanged(); - partial void OnEntrustIdChanging(string value); - partial void OnEntrustIdChanged(); - partial void OnEntrustCodeChanging(string value); - partial void OnEntrustCodeChanged(); - partial void OnRepairMarkChanging(string value); - partial void OnRepairMarkChanged(); - partial void OnDefectNatureChanging(string value); - partial void OnDefectNatureChanged(); - partial void OnDefectResultChanging(string value); - partial void OnDefectResultChanged(); - partial void OnIsWeldChanging(System.Nullable value); - partial void OnIsWeldChanged(); - partial void OnWmeIdChanging(string value); - partial void OnWmeIdChanged(); - partial void OnBackingWelderIdChanging(string value); - partial void OnBackingWelderIdChanged(); - partial void OnCoverWelderIdChanging(string value); - partial void OnCoverWelderIdChanged(); - partial void OnConfirmationChanging(System.Nullable value); - partial void OnConfirmationChanged(); - partial void OnWeldDateChanging(System.Nullable value); - partial void OnWeldDateChanged(); - partial void OnConstructionPersonChanging(string value); - partial void OnConstructionPersonChanged(); - partial void OnConfirmDateChanging(System.Nullable value); - partial void OnConfirmDateChanged(); - partial void OnFeedbackDateChanging(System.Nullable value); - partial void OnFeedbackDateChanged(); - partial void OnNdtIdChanging(string value); - partial void OnNdtIdChanged(); - partial void OnSignManChanging(string value); - partial void OnSignManChanged(); - partial void OnSignDateChanging(System.Nullable value); - partial void OnSignDateChanged(); - partial void OnReceiveManChanging(string value); - partial void OnReceiveManChanged(); - partial void OnReceiveDateChanging(System.Nullable value); - partial void OnReceiveDateChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnPrintManChanging(string value); - partial void OnPrintManChanged(); - partial void OnPrintDateChanging(System.Nullable value); - partial void OnPrintDateChanged(); - partial void OnTrustRemarkChanging(string value); - partial void OnTrustRemarkChanged(); - partial void OnSerialNumberChanging(string value); - partial void OnSerialNumberChanged(); - #endregion - - public PV_CH_RepairItemRecord() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairItemRecordId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RepairItemRecordId - { - get - { - return this._RepairItemRecordId; - } - set - { - if ((this._RepairItemRecordId != value)) - { - this.OnRepairItemRecordIdChanging(value); - this.SendPropertyChanging(); - this._RepairItemRecordId = value; - this.SendPropertyChanged("RepairItemRecordId"); - this.OnRepairItemRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OldRepairItemRecordId", DbType="VarChar(50)")] - public string OldRepairItemRecordId - { - get - { - return this._OldRepairItemRecordId; - } - set - { - if ((this._OldRepairItemRecordId != value)) - { - this.OnOldRepairItemRecordIdChanging(value); - this.SendPropertyChanging(); - this._OldRepairItemRecordId = value; - this.SendPropertyChanged("OldRepairItemRecordId"); - this.OnOldRepairItemRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FirstRepairItemRecordId", DbType="VarChar(50)")] - public string FirstRepairItemRecordId - { - get - { - return this._FirstRepairItemRecordId; - } - set - { - if ((this._FirstRepairItemRecordId != value)) - { - this.OnFirstRepairItemRecordIdChanging(value); - this.SendPropertyChanging(); - this._FirstRepairItemRecordId = value; - this.SendPropertyChanged("FirstRepairItemRecordId"); - this.OnFirstRepairItemRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="Int")] - public System.Nullable RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this.OnRepairNumChanging(value); - this.SendPropertyChanging(); - this._RepairNum = value; - this.SendPropertyChanged("RepairNum"); - this.OnRepairNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50)")] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this.OnWeldingIdChanging(value); - this.SendPropertyChanging(); - this._WeldingId = value; - this.SendPropertyChanged("WeldingId"); - this.OnWeldingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualityRatingId", DbType="NVarChar(50)")] - public string QualityRatingId - { - get - { - return this._QualityRatingId; - } - set - { - if ((this._QualityRatingId != value)) - { - this.OnQualityRatingIdChanging(value); - this.SendPropertyChanging(); - this._QualityRatingId = value; - this.SendPropertyChanged("QualityRatingId"); - this.OnQualityRatingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this.OnDReportIDChanging(value); - this.SendPropertyChanging(); - this._DReportID = value; - this.SendPropertyChanged("DReportID"); - this.OnDReportIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmNum", DbType="NVarChar(50)")] - public string FilmNum - { - get - { - return this._FilmNum; - } - set - { - if ((this._FilmNum != value)) - { - this.OnFilmNumChanging(value); - this.SendPropertyChanging(); - this._FilmNum = value; - this.SendPropertyChanged("FilmNum"); - this.OnFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MethodId", DbType="VarChar(50)")] - public string MethodId - { - get - { - return this._MethodId; - } - set - { - if ((this._MethodId != value)) - { - this.OnMethodIdChanging(value); - this.SendPropertyChanging(); - this._MethodId = value; - this.SendPropertyChanged("MethodId"); - this.OnMethodIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustId", DbType="NVarChar(50)")] - public string EntrustId - { - get - { - return this._EntrustId; - } - set - { - if ((this._EntrustId != value)) - { - this.OnEntrustIdChanging(value); - this.SendPropertyChanging(); - this._EntrustId = value; - this.SendPropertyChanged("EntrustId"); - this.OnEntrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustCode", DbType="NVarChar(50)")] - public string EntrustCode - { - get - { - return this._EntrustCode; - } - set - { - if ((this._EntrustCode != value)) - { - this.OnEntrustCodeChanging(value); - this.SendPropertyChanging(); - this._EntrustCode = value; - this.SendPropertyChanged("EntrustCode"); - this.OnEntrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairMark", DbType="NVarChar(50)")] - public string RepairMark - { - get - { - return this._RepairMark; - } - set - { - if ((this._RepairMark != value)) - { - this.OnRepairMarkChanging(value); - this.SendPropertyChanging(); - this._RepairMark = value; - this.SendPropertyChanged("RepairMark"); - this.OnRepairMarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(50)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this.OnDefectNatureChanging(value); - this.SendPropertyChanging(); - this._DefectNature = value; - this.SendPropertyChanged("DefectNature"); - this.OnDefectNatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectResult", DbType="Char(10)")] - public string DefectResult - { - get - { - return this._DefectResult; - } - set - { - if ((this._DefectResult != value)) - { - this.OnDefectResultChanging(value); - this.SendPropertyChanging(); - this._DefectResult = value; - this.SendPropertyChanged("DefectResult"); - this.OnDefectResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsWeld", DbType="Bit")] - public System.Nullable IsWeld - { - get - { - return this._IsWeld; - } - set - { - if ((this._IsWeld != value)) - { - this.OnIsWeldChanging(value); - this.SendPropertyChanging(); - this._IsWeld = value; - this.SendPropertyChanged("IsWeld"); - this.OnIsWeldChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WmeId", DbType="VarChar(50)")] - public string WmeId - { - get - { - return this._WmeId; - } - set - { - if ((this._WmeId != value)) - { - this.OnWmeIdChanging(value); - this.SendPropertyChanging(); - this._WmeId = value; - this.SendPropertyChanged("WmeId"); - this.OnWmeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BackingWelderId", DbType="VarChar(1000)")] - public string BackingWelderId - { - get - { - return this._BackingWelderId; - } - set - { - if ((this._BackingWelderId != value)) - { - this.OnBackingWelderIdChanging(value); - this.SendPropertyChanging(); - this._BackingWelderId = value; - this.SendPropertyChanged("BackingWelderId"); - this.OnBackingWelderIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CoverWelderId", DbType="VarChar(1000)")] - public string CoverWelderId - { - get - { - return this._CoverWelderId; - } - set - { - if ((this._CoverWelderId != value)) - { - this.OnCoverWelderIdChanging(value); - this.SendPropertyChanging(); - this._CoverWelderId = value; - this.SendPropertyChanged("CoverWelderId"); - this.OnCoverWelderIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Confirmation", DbType="Int")] - public System.Nullable Confirmation - { - get - { - return this._Confirmation; - } - set - { - if ((this._Confirmation != value)) - { - this.OnConfirmationChanging(value); - this.SendPropertyChanging(); - this._Confirmation = value; - this.SendPropertyChanged("Confirmation"); - this.OnConfirmationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldDate", DbType="DateTime")] - public System.Nullable WeldDate - { - get - { - return this._WeldDate; - } - set - { - if ((this._WeldDate != value)) - { - this.OnWeldDateChanging(value); - this.SendPropertyChanging(); - this._WeldDate = value; - this.SendPropertyChanged("WeldDate"); - this.OnWeldDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionPerson", DbType="NVarChar(50)")] - public string ConstructionPerson - { - get - { - return this._ConstructionPerson; - } - set - { - if ((this._ConstructionPerson != value)) - { - this.OnConstructionPersonChanging(value); - this.SendPropertyChanging(); - this._ConstructionPerson = value; - this.SendPropertyChanged("ConstructionPerson"); - this.OnConstructionPersonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConfirmDate", DbType="DateTime")] - public System.Nullable ConfirmDate - { - get - { - return this._ConfirmDate; - } - set - { - if ((this._ConfirmDate != value)) - { - this.OnConfirmDateChanging(value); - this.SendPropertyChanging(); - this._ConfirmDate = value; - this.SendPropertyChanged("ConfirmDate"); - this.OnConfirmDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackDate", DbType="DateTime")] - public System.Nullable FeedbackDate - { - get - { - return this._FeedbackDate; - } - set - { - if ((this._FeedbackDate != value)) - { - this.OnFeedbackDateChanging(value); - this.SendPropertyChanging(); - this._FeedbackDate = value; - this.SendPropertyChanged("FeedbackDate"); - this.OnFeedbackDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NdtId", DbType="VarChar(50)")] - public string NdtId - { - get - { - return this._NdtId; - } - set - { - if ((this._NdtId != value)) - { - this.OnNdtIdChanging(value); - this.SendPropertyChanging(); - this._NdtId = value; - this.SendPropertyChanged("NdtId"); - this.OnNdtIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignMan", DbType="NVarChar(50)")] - public string SignMan - { - get - { - return this._SignMan; - } - set - { - if ((this._SignMan != value)) - { - this.OnSignManChanging(value); - this.SendPropertyChanging(); - this._SignMan = value; - this.SendPropertyChanged("SignMan"); - this.OnSignManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignDate", DbType="DateTime")] - public System.Nullable SignDate - { - get - { - return this._SignDate; - } - set - { - if ((this._SignDate != value)) - { - this.OnSignDateChanging(value); - this.SendPropertyChanging(); - this._SignDate = value; - this.SendPropertyChanged("SignDate"); - this.OnSignDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveMan", DbType="NVarChar(50)")] - public string ReceiveMan - { - get - { - return this._ReceiveMan; - } - set - { - if ((this._ReceiveMan != value)) - { - this.OnReceiveManChanging(value); - this.SendPropertyChanging(); - this._ReceiveMan = value; - this.SendPropertyChanged("ReceiveMan"); - this.OnReceiveManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveDate", DbType="DateTime")] - public System.Nullable ReceiveDate - { - get - { - return this._ReceiveDate; - } - set - { - if ((this._ReceiveDate != value)) - { - this.OnReceiveDateChanging(value); - this.SendPropertyChanging(); - this._ReceiveDate = value; - this.SendPropertyChanged("ReceiveDate"); - this.OnReceiveDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintMan", DbType="NVarChar(50)")] - public string PrintMan - { - get - { - return this._PrintMan; - } - set - { - if ((this._PrintMan != value)) - { - this.OnPrintManChanging(value); - this.SendPropertyChanging(); - this._PrintMan = value; - this.SendPropertyChanged("PrintMan"); - this.OnPrintManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintDate", DbType="DateTime")] - public System.Nullable PrintDate - { - get - { - return this._PrintDate; - } - set - { - if ((this._PrintDate != value)) - { - this.OnPrintDateChanging(value); - this.SendPropertyChanging(); - this._PrintDate = value; - this.SendPropertyChanged("PrintDate"); - this.OnPrintDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustRemark", DbType="NVarChar(50)")] - public string TrustRemark - { - get - { - return this._TrustRemark; - } - set - { - if ((this._TrustRemark != value)) - { - this.OnTrustRemarkChanging(value); - this.SendPropertyChanging(); - this._TrustRemark = value; - this.SendPropertyChanged("TrustRemark"); - this.OnTrustRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SerialNumber", DbType="VarChar(100)")] - public string SerialNumber - { - get - { - return this._SerialNumber; - } - set - { - if ((this._SerialNumber != value)) - { - this.OnSerialNumberChanging(value); - this.SendPropertyChanging(); - this._SerialNumber = value; - this.SendPropertyChanged("SerialNumber"); - this.OnSerialNumberChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_CH_TestingReportPrint")] - public partial class PV_CH_TestingReportPrint : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _TestingReportPrintId; - - private string _Specifications; - - private string _WeldingId; - - private string _RepairItemRecordId; - - private string _NdtId; - - private string _EntrustId; - - private string _ReportCode; - - private string _ContractUnitId; - - private string _RT_TechnicalGrade; - - private string _RT_FocalSize; - - private string _RT_TubeCurrent; - - private string _RT_SourceType; - - private string _RT_FilmDensity; - - private string _RT_DeveloperTemperature; - - private string _RT_DeveloperTime; - - private string _PT_SurfaceState; - - private string _PT_PenetrantGrade; - - private string _PT_CleaningGrade; - - private string _PT_ImagingGrade; - - private string _PT_OsmoticTemperature; - - private string _PT_ImposingMethod; - - private string _PT_ObservationMethod; - - private string _PT_SensitivityTestBlock; - - private string _PT_PermeationTime; - - private string _PT_ImagingTime; - - private string _MT_SurfaceState; - - private string _MT_SensitivityTestBlock; - - private string _MT_CurrentType; - - private string _MT_LiftingPower; - - private string _MT_MagnetizationTime; - - private string _MT_MagneticPowderType; - - private string _MT_Concentration; - - private string _MT_ImposingMethod; - - private string _UT_TechnicalGrade; - - private string _UT_DetectionSurface; - - private string _UT_SurfaceState; - - private string _UT_StandardTestBlock; - - private string _UT_ProbeType; - - private string _UT_SurfaceCompensation; - - private string _UT_ScanningRate; - - private string _UT_DetectionSensitivity; - - private string _UT_CouplingAgent; - - private string _Type; - - private string _Printer; - - private System.Nullable _PrintTime; - - private string _ProjectId; - - private string _TestingTime; - - private string _TransilluminationMode; - - private string _FilmModel; - - private string _IntensifyingWay; - - private string _TubeVoltage; - - private string _SourceActivity; - - private string _ImageQualityModel; - - private string _WireDiameterCode; - - private string _FocalLength; - - private string _ExposureTime; - - private string _EffectiveLength; - - private string _EquipmentCode; - - private string _EquipmentName; - - private string _JotyName; - - private string _MT_TestMethod; - - private string _HotProessState; - - private string _TestBlock; - - private string _PoleSpacing; - - private string _UT_StandardTestBlock2; - - private string _STE_ID; - - private string _STE_ID2; - - private string _WME_ID; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnTestingReportPrintIdChanging(string value); - partial void OnTestingReportPrintIdChanged(); - partial void OnSpecificationsChanging(string value); - partial void OnSpecificationsChanged(); - partial void OnWeldingIdChanging(string value); - partial void OnWeldingIdChanged(); - partial void OnRepairItemRecordIdChanging(string value); - partial void OnRepairItemRecordIdChanged(); - partial void OnNdtIdChanging(string value); - partial void OnNdtIdChanged(); - partial void OnEntrustIdChanging(string value); - partial void OnEntrustIdChanged(); - partial void OnReportCodeChanging(string value); - partial void OnReportCodeChanged(); - partial void OnContractUnitIdChanging(string value); - partial void OnContractUnitIdChanged(); - partial void OnRT_TechnicalGradeChanging(string value); - partial void OnRT_TechnicalGradeChanged(); - partial void OnRT_FocalSizeChanging(string value); - partial void OnRT_FocalSizeChanged(); - partial void OnRT_TubeCurrentChanging(string value); - partial void OnRT_TubeCurrentChanged(); - partial void OnRT_SourceTypeChanging(string value); - partial void OnRT_SourceTypeChanged(); - partial void OnRT_FilmDensityChanging(string value); - partial void OnRT_FilmDensityChanged(); - partial void OnRT_DeveloperTemperatureChanging(string value); - partial void OnRT_DeveloperTemperatureChanged(); - partial void OnRT_DeveloperTimeChanging(string value); - partial void OnRT_DeveloperTimeChanged(); - partial void OnPT_SurfaceStateChanging(string value); - partial void OnPT_SurfaceStateChanged(); - partial void OnPT_PenetrantGradeChanging(string value); - partial void OnPT_PenetrantGradeChanged(); - partial void OnPT_CleaningGradeChanging(string value); - partial void OnPT_CleaningGradeChanged(); - partial void OnPT_ImagingGradeChanging(string value); - partial void OnPT_ImagingGradeChanged(); - partial void OnPT_OsmoticTemperatureChanging(string value); - partial void OnPT_OsmoticTemperatureChanged(); - partial void OnPT_ImposingMethodChanging(string value); - partial void OnPT_ImposingMethodChanged(); - partial void OnPT_ObservationMethodChanging(string value); - partial void OnPT_ObservationMethodChanged(); - partial void OnPT_SensitivityTestBlockChanging(string value); - partial void OnPT_SensitivityTestBlockChanged(); - partial void OnPT_PermeationTimeChanging(string value); - partial void OnPT_PermeationTimeChanged(); - partial void OnPT_ImagingTimeChanging(string value); - partial void OnPT_ImagingTimeChanged(); - partial void OnMT_SurfaceStateChanging(string value); - partial void OnMT_SurfaceStateChanged(); - partial void OnMT_SensitivityTestBlockChanging(string value); - partial void OnMT_SensitivityTestBlockChanged(); - partial void OnMT_CurrentTypeChanging(string value); - partial void OnMT_CurrentTypeChanged(); - partial void OnMT_LiftingPowerChanging(string value); - partial void OnMT_LiftingPowerChanged(); - partial void OnMT_MagnetizationTimeChanging(string value); - partial void OnMT_MagnetizationTimeChanged(); - partial void OnMT_MagneticPowderTypeChanging(string value); - partial void OnMT_MagneticPowderTypeChanged(); - partial void OnMT_ConcentrationChanging(string value); - partial void OnMT_ConcentrationChanged(); - partial void OnMT_ImposingMethodChanging(string value); - partial void OnMT_ImposingMethodChanged(); - partial void OnUT_TechnicalGradeChanging(string value); - partial void OnUT_TechnicalGradeChanged(); - partial void OnUT_DetectionSurfaceChanging(string value); - partial void OnUT_DetectionSurfaceChanged(); - partial void OnUT_SurfaceStateChanging(string value); - partial void OnUT_SurfaceStateChanged(); - partial void OnUT_StandardTestBlockChanging(string value); - partial void OnUT_StandardTestBlockChanged(); - partial void OnUT_ProbeTypeChanging(string value); - partial void OnUT_ProbeTypeChanged(); - partial void OnUT_SurfaceCompensationChanging(string value); - partial void OnUT_SurfaceCompensationChanged(); - partial void OnUT_ScanningRateChanging(string value); - partial void OnUT_ScanningRateChanged(); - partial void OnUT_DetectionSensitivityChanging(string value); - partial void OnUT_DetectionSensitivityChanged(); - partial void OnUT_CouplingAgentChanging(string value); - partial void OnUT_CouplingAgentChanged(); - partial void OnTypeChanging(string value); - partial void OnTypeChanged(); - partial void OnPrinterChanging(string value); - partial void OnPrinterChanged(); - partial void OnPrintTimeChanging(System.Nullable value); - partial void OnPrintTimeChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnTestingTimeChanging(string value); - partial void OnTestingTimeChanged(); - partial void OnTransilluminationModeChanging(string value); - partial void OnTransilluminationModeChanged(); - partial void OnFilmModelChanging(string value); - partial void OnFilmModelChanged(); - partial void OnIntensifyingWayChanging(string value); - partial void OnIntensifyingWayChanged(); - partial void OnTubeVoltageChanging(string value); - partial void OnTubeVoltageChanged(); - partial void OnSourceActivityChanging(string value); - partial void OnSourceActivityChanged(); - partial void OnImageQualityModelChanging(string value); - partial void OnImageQualityModelChanged(); - partial void OnWireDiameterCodeChanging(string value); - partial void OnWireDiameterCodeChanged(); - partial void OnFocalLengthChanging(string value); - partial void OnFocalLengthChanged(); - partial void OnExposureTimeChanging(string value); - partial void OnExposureTimeChanged(); - partial void OnEffectiveLengthChanging(string value); - partial void OnEffectiveLengthChanged(); - partial void OnEquipmentCodeChanging(string value); - partial void OnEquipmentCodeChanged(); - partial void OnEquipmentNameChanging(string value); - partial void OnEquipmentNameChanged(); - partial void OnJotyNameChanging(string value); - partial void OnJotyNameChanged(); - partial void OnMT_TestMethodChanging(string value); - partial void OnMT_TestMethodChanged(); - partial void OnHotProessStateChanging(string value); - partial void OnHotProessStateChanged(); - partial void OnTestBlockChanging(string value); - partial void OnTestBlockChanged(); - partial void OnPoleSpacingChanging(string value); - partial void OnPoleSpacingChanged(); - partial void OnUT_StandardTestBlock2Changing(string value); - partial void OnUT_StandardTestBlock2Changed(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnSTE_ID2Changing(string value); - partial void OnSTE_ID2Changed(); - partial void OnWME_IDChanging(string value); - partial void OnWME_IDChanged(); - #endregion - - public PV_CH_TestingReportPrint() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingReportPrintId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string TestingReportPrintId - { - get - { - return this._TestingReportPrintId; - } - set - { - if ((this._TestingReportPrintId != value)) - { - this.OnTestingReportPrintIdChanging(value); - this.SendPropertyChanging(); - this._TestingReportPrintId = value; - this.SendPropertyChanged("TestingReportPrintId"); - this.OnTestingReportPrintIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(50)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this.OnSpecificationsChanging(value); - this.SendPropertyChanging(); - this._Specifications = value; - this.SendPropertyChanged("Specifications"); - this.OnSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50)")] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this.OnWeldingIdChanging(value); - this.SendPropertyChanging(); - this._WeldingId = value; - this.SendPropertyChanged("WeldingId"); - this.OnWeldingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairItemRecordId", DbType="VarChar(50)")] - public string RepairItemRecordId - { - get - { - return this._RepairItemRecordId; - } - set - { - if ((this._RepairItemRecordId != value)) - { - this.OnRepairItemRecordIdChanging(value); - this.SendPropertyChanging(); - this._RepairItemRecordId = value; - this.SendPropertyChanged("RepairItemRecordId"); - this.OnRepairItemRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NdtId", DbType="VarChar(50)")] - public string NdtId - { - get - { - return this._NdtId; - } - set - { - if ((this._NdtId != value)) - { - this.OnNdtIdChanging(value); - this.SendPropertyChanging(); - this._NdtId = value; - this.SendPropertyChanged("NdtId"); - this.OnNdtIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustId", DbType="NVarChar(50)")] - public string EntrustId - { - get - { - return this._EntrustId; - } - set - { - if ((this._EntrustId != value)) - { - this.OnEntrustIdChanging(value); - this.SendPropertyChanging(); - this._EntrustId = value; - this.SendPropertyChanged("EntrustId"); - this.OnEntrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportCode", DbType="NVarChar(50)")] - public string ReportCode - { - get - { - return this._ReportCode; - } - set - { - if ((this._ReportCode != value)) - { - this.OnReportCodeChanging(value); - this.SendPropertyChanging(); - this._ReportCode = value; - this.SendPropertyChanged("ReportCode"); - this.OnReportCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractUnitId", DbType="NVarChar(50)")] - public string ContractUnitId - { - get - { - return this._ContractUnitId; - } - set - { - if ((this._ContractUnitId != value)) - { - this.OnContractUnitIdChanging(value); - this.SendPropertyChanging(); - this._ContractUnitId = value; - this.SendPropertyChanged("ContractUnitId"); - this.OnContractUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TechnicalGrade", DbType="NVarChar(50)")] - public string RT_TechnicalGrade - { - get - { - return this._RT_TechnicalGrade; - } - set - { - if ((this._RT_TechnicalGrade != value)) - { - this.OnRT_TechnicalGradeChanging(value); - this.SendPropertyChanging(); - this._RT_TechnicalGrade = value; - this.SendPropertyChanged("RT_TechnicalGrade"); - this.OnRT_TechnicalGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FocalSize", DbType="NVarChar(50)")] - public string RT_FocalSize - { - get - { - return this._RT_FocalSize; - } - set - { - if ((this._RT_FocalSize != value)) - { - this.OnRT_FocalSizeChanging(value); - this.SendPropertyChanging(); - this._RT_FocalSize = value; - this.SendPropertyChanged("RT_FocalSize"); - this.OnRT_FocalSizeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TubeCurrent", DbType="NVarChar(50)")] - public string RT_TubeCurrent - { - get - { - return this._RT_TubeCurrent; - } - set - { - if ((this._RT_TubeCurrent != value)) - { - this.OnRT_TubeCurrentChanging(value); - this.SendPropertyChanging(); - this._RT_TubeCurrent = value; - this.SendPropertyChanged("RT_TubeCurrent"); - this.OnRT_TubeCurrentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_SourceType", DbType="NVarChar(50)")] - public string RT_SourceType - { - get - { - return this._RT_SourceType; - } - set - { - if ((this._RT_SourceType != value)) - { - this.OnRT_SourceTypeChanging(value); - this.SendPropertyChanging(); - this._RT_SourceType = value; - this.SendPropertyChanged("RT_SourceType"); - this.OnRT_SourceTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FilmDensity", DbType="NVarChar(50)")] - public string RT_FilmDensity - { - get - { - return this._RT_FilmDensity; - } - set - { - if ((this._RT_FilmDensity != value)) - { - this.OnRT_FilmDensityChanging(value); - this.SendPropertyChanging(); - this._RT_FilmDensity = value; - this.SendPropertyChanged("RT_FilmDensity"); - this.OnRT_FilmDensityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_DeveloperTemperature", DbType="NVarChar(50)")] - public string RT_DeveloperTemperature - { - get - { - return this._RT_DeveloperTemperature; - } - set - { - if ((this._RT_DeveloperTemperature != value)) - { - this.OnRT_DeveloperTemperatureChanging(value); - this.SendPropertyChanging(); - this._RT_DeveloperTemperature = value; - this.SendPropertyChanged("RT_DeveloperTemperature"); - this.OnRT_DeveloperTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_DeveloperTime", DbType="NVarChar(50)")] - public string RT_DeveloperTime - { - get - { - return this._RT_DeveloperTime; - } - set - { - if ((this._RT_DeveloperTime != value)) - { - this.OnRT_DeveloperTimeChanging(value); - this.SendPropertyChanging(); - this._RT_DeveloperTime = value; - this.SendPropertyChanged("RT_DeveloperTime"); - this.OnRT_DeveloperTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_SurfaceState", DbType="NVarChar(50)")] - public string PT_SurfaceState - { - get - { - return this._PT_SurfaceState; - } - set - { - if ((this._PT_SurfaceState != value)) - { - this.OnPT_SurfaceStateChanging(value); - this.SendPropertyChanging(); - this._PT_SurfaceState = value; - this.SendPropertyChanged("PT_SurfaceState"); - this.OnPT_SurfaceStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_PenetrantGrade", DbType="NVarChar(50)")] - public string PT_PenetrantGrade - { - get - { - return this._PT_PenetrantGrade; - } - set - { - if ((this._PT_PenetrantGrade != value)) - { - this.OnPT_PenetrantGradeChanging(value); - this.SendPropertyChanging(); - this._PT_PenetrantGrade = value; - this.SendPropertyChanged("PT_PenetrantGrade"); - this.OnPT_PenetrantGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_CleaningGrade", DbType="NVarChar(50)")] - public string PT_CleaningGrade - { - get - { - return this._PT_CleaningGrade; - } - set - { - if ((this._PT_CleaningGrade != value)) - { - this.OnPT_CleaningGradeChanging(value); - this.SendPropertyChanging(); - this._PT_CleaningGrade = value; - this.SendPropertyChanged("PT_CleaningGrade"); - this.OnPT_CleaningGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ImagingGrade", DbType="NVarChar(50)")] - public string PT_ImagingGrade - { - get - { - return this._PT_ImagingGrade; - } - set - { - if ((this._PT_ImagingGrade != value)) - { - this.OnPT_ImagingGradeChanging(value); - this.SendPropertyChanging(); - this._PT_ImagingGrade = value; - this.SendPropertyChanged("PT_ImagingGrade"); - this.OnPT_ImagingGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_OsmoticTemperature", DbType="NVarChar(50)")] - public string PT_OsmoticTemperature - { - get - { - return this._PT_OsmoticTemperature; - } - set - { - if ((this._PT_OsmoticTemperature != value)) - { - this.OnPT_OsmoticTemperatureChanging(value); - this.SendPropertyChanging(); - this._PT_OsmoticTemperature = value; - this.SendPropertyChanged("PT_OsmoticTemperature"); - this.OnPT_OsmoticTemperatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ImposingMethod", DbType="NVarChar(50)")] - public string PT_ImposingMethod - { - get - { - return this._PT_ImposingMethod; - } - set - { - if ((this._PT_ImposingMethod != value)) - { - this.OnPT_ImposingMethodChanging(value); - this.SendPropertyChanging(); - this._PT_ImposingMethod = value; - this.SendPropertyChanged("PT_ImposingMethod"); - this.OnPT_ImposingMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ObservationMethod", DbType="NVarChar(50)")] - public string PT_ObservationMethod - { - get - { - return this._PT_ObservationMethod; - } - set - { - if ((this._PT_ObservationMethod != value)) - { - this.OnPT_ObservationMethodChanging(value); - this.SendPropertyChanging(); - this._PT_ObservationMethod = value; - this.SendPropertyChanged("PT_ObservationMethod"); - this.OnPT_ObservationMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_SensitivityTestBlock", DbType="NVarChar(50)")] - public string PT_SensitivityTestBlock - { - get - { - return this._PT_SensitivityTestBlock; - } - set - { - if ((this._PT_SensitivityTestBlock != value)) - { - this.OnPT_SensitivityTestBlockChanging(value); - this.SendPropertyChanging(); - this._PT_SensitivityTestBlock = value; - this.SendPropertyChanged("PT_SensitivityTestBlock"); - this.OnPT_SensitivityTestBlockChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_PermeationTime", DbType="NVarChar(50)")] - public string PT_PermeationTime - { - get - { - return this._PT_PermeationTime; - } - set - { - if ((this._PT_PermeationTime != value)) - { - this.OnPT_PermeationTimeChanging(value); - this.SendPropertyChanging(); - this._PT_PermeationTime = value; - this.SendPropertyChanged("PT_PermeationTime"); - this.OnPT_PermeationTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ImagingTime", DbType="NVarChar(50)")] - public string PT_ImagingTime - { - get - { - return this._PT_ImagingTime; - } - set - { - if ((this._PT_ImagingTime != value)) - { - this.OnPT_ImagingTimeChanging(value); - this.SendPropertyChanging(); - this._PT_ImagingTime = value; - this.SendPropertyChanged("PT_ImagingTime"); - this.OnPT_ImagingTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_SurfaceState", DbType="NVarChar(50)")] - public string MT_SurfaceState - { - get - { - return this._MT_SurfaceState; - } - set - { - if ((this._MT_SurfaceState != value)) - { - this.OnMT_SurfaceStateChanging(value); - this.SendPropertyChanging(); - this._MT_SurfaceState = value; - this.SendPropertyChanged("MT_SurfaceState"); - this.OnMT_SurfaceStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_SensitivityTestBlock", DbType="NVarChar(50)")] - public string MT_SensitivityTestBlock - { - get - { - return this._MT_SensitivityTestBlock; - } - set - { - if ((this._MT_SensitivityTestBlock != value)) - { - this.OnMT_SensitivityTestBlockChanging(value); - this.SendPropertyChanging(); - this._MT_SensitivityTestBlock = value; - this.SendPropertyChanged("MT_SensitivityTestBlock"); - this.OnMT_SensitivityTestBlockChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_CurrentType", DbType="NVarChar(50)")] - public string MT_CurrentType - { - get - { - return this._MT_CurrentType; - } - set - { - if ((this._MT_CurrentType != value)) - { - this.OnMT_CurrentTypeChanging(value); - this.SendPropertyChanging(); - this._MT_CurrentType = value; - this.SendPropertyChanged("MT_CurrentType"); - this.OnMT_CurrentTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_LiftingPower", DbType="NVarChar(50)")] - public string MT_LiftingPower - { - get - { - return this._MT_LiftingPower; - } - set - { - if ((this._MT_LiftingPower != value)) - { - this.OnMT_LiftingPowerChanging(value); - this.SendPropertyChanging(); - this._MT_LiftingPower = value; - this.SendPropertyChanged("MT_LiftingPower"); - this.OnMT_LiftingPowerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_MagnetizationTime", DbType="NVarChar(50)")] - public string MT_MagnetizationTime - { - get - { - return this._MT_MagnetizationTime; - } - set - { - if ((this._MT_MagnetizationTime != value)) - { - this.OnMT_MagnetizationTimeChanging(value); - this.SendPropertyChanging(); - this._MT_MagnetizationTime = value; - this.SendPropertyChanged("MT_MagnetizationTime"); - this.OnMT_MagnetizationTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_MagneticPowderType", DbType="NVarChar(50)")] - public string MT_MagneticPowderType - { - get - { - return this._MT_MagneticPowderType; - } - set - { - if ((this._MT_MagneticPowderType != value)) - { - this.OnMT_MagneticPowderTypeChanging(value); - this.SendPropertyChanging(); - this._MT_MagneticPowderType = value; - this.SendPropertyChanged("MT_MagneticPowderType"); - this.OnMT_MagneticPowderTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_Concentration", DbType="NVarChar(50)")] - public string MT_Concentration - { - get - { - return this._MT_Concentration; - } - set - { - if ((this._MT_Concentration != value)) - { - this.OnMT_ConcentrationChanging(value); - this.SendPropertyChanging(); - this._MT_Concentration = value; - this.SendPropertyChanged("MT_Concentration"); - this.OnMT_ConcentrationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_ImposingMethod", DbType="NVarChar(50)")] - public string MT_ImposingMethod - { - get - { - return this._MT_ImposingMethod; - } - set - { - if ((this._MT_ImposingMethod != value)) - { - this.OnMT_ImposingMethodChanging(value); - this.SendPropertyChanging(); - this._MT_ImposingMethod = value; - this.SendPropertyChanged("MT_ImposingMethod"); - this.OnMT_ImposingMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_TechnicalGrade", DbType="NVarChar(50)")] - public string UT_TechnicalGrade - { - get - { - return this._UT_TechnicalGrade; - } - set - { - if ((this._UT_TechnicalGrade != value)) - { - this.OnUT_TechnicalGradeChanging(value); - this.SendPropertyChanging(); - this._UT_TechnicalGrade = value; - this.SendPropertyChanged("UT_TechnicalGrade"); - this.OnUT_TechnicalGradeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_DetectionSurface", DbType="NVarChar(50)")] - public string UT_DetectionSurface - { - get - { - return this._UT_DetectionSurface; - } - set - { - if ((this._UT_DetectionSurface != value)) - { - this.OnUT_DetectionSurfaceChanging(value); - this.SendPropertyChanging(); - this._UT_DetectionSurface = value; - this.SendPropertyChanged("UT_DetectionSurface"); - this.OnUT_DetectionSurfaceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_SurfaceState", DbType="NVarChar(50)")] - public string UT_SurfaceState - { - get - { - return this._UT_SurfaceState; - } - set - { - if ((this._UT_SurfaceState != value)) - { - this.OnUT_SurfaceStateChanging(value); - this.SendPropertyChanging(); - this._UT_SurfaceState = value; - this.SendPropertyChanged("UT_SurfaceState"); - this.OnUT_SurfaceStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_StandardTestBlock", DbType="NVarChar(50)")] - public string UT_StandardTestBlock - { - get - { - return this._UT_StandardTestBlock; - } - set - { - if ((this._UT_StandardTestBlock != value)) - { - this.OnUT_StandardTestBlockChanging(value); - this.SendPropertyChanging(); - this._UT_StandardTestBlock = value; - this.SendPropertyChanged("UT_StandardTestBlock"); - this.OnUT_StandardTestBlockChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_ProbeType", DbType="NVarChar(50)")] - public string UT_ProbeType - { - get - { - return this._UT_ProbeType; - } - set - { - if ((this._UT_ProbeType != value)) - { - this.OnUT_ProbeTypeChanging(value); - this.SendPropertyChanging(); - this._UT_ProbeType = value; - this.SendPropertyChanged("UT_ProbeType"); - this.OnUT_ProbeTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_SurfaceCompensation", DbType="NVarChar(50)")] - public string UT_SurfaceCompensation - { - get - { - return this._UT_SurfaceCompensation; - } - set - { - if ((this._UT_SurfaceCompensation != value)) - { - this.OnUT_SurfaceCompensationChanging(value); - this.SendPropertyChanging(); - this._UT_SurfaceCompensation = value; - this.SendPropertyChanged("UT_SurfaceCompensation"); - this.OnUT_SurfaceCompensationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_ScanningRate", DbType="NVarChar(50)")] - public string UT_ScanningRate - { - get - { - return this._UT_ScanningRate; - } - set - { - if ((this._UT_ScanningRate != value)) - { - this.OnUT_ScanningRateChanging(value); - this.SendPropertyChanging(); - this._UT_ScanningRate = value; - this.SendPropertyChanged("UT_ScanningRate"); - this.OnUT_ScanningRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_DetectionSensitivity", DbType="NVarChar(50)")] - public string UT_DetectionSensitivity - { - get - { - return this._UT_DetectionSensitivity; - } - set - { - if ((this._UT_DetectionSensitivity != value)) - { - this.OnUT_DetectionSensitivityChanging(value); - this.SendPropertyChanging(); - this._UT_DetectionSensitivity = value; - this.SendPropertyChanged("UT_DetectionSensitivity"); - this.OnUT_DetectionSensitivityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_CouplingAgent", DbType="NVarChar(50)")] - public string UT_CouplingAgent - { - get - { - return this._UT_CouplingAgent; - } - set - { - if ((this._UT_CouplingAgent != value)) - { - this.OnUT_CouplingAgentChanging(value); - this.SendPropertyChanging(); - this._UT_CouplingAgent = value; - this.SendPropertyChanged("UT_CouplingAgent"); - this.OnUT_CouplingAgentChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="NChar(10)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this.OnTypeChanging(value); - this.SendPropertyChanging(); - this._Type = value; - this.SendPropertyChanged("Type"); - this.OnTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Printer", DbType="NVarChar(50)")] - public string Printer - { - get - { - return this._Printer; - } - set - { - if ((this._Printer != value)) - { - this.OnPrinterChanging(value); - this.SendPropertyChanging(); - this._Printer = value; - this.SendPropertyChanged("Printer"); - this.OnPrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintTime", DbType="DateTime")] - public System.Nullable PrintTime - { - get - { - return this._PrintTime; - } - set - { - if ((this._PrintTime != value)) - { - this.OnPrintTimeChanging(value); - this.SendPropertyChanging(); - this._PrintTime = value; - this.SendPropertyChanged("PrintTime"); - this.OnPrintTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingTime", DbType="NVarChar(50)")] - public string TestingTime - { - get - { - return this._TestingTime; - } - set - { - if ((this._TestingTime != value)) - { - this.OnTestingTimeChanging(value); - this.SendPropertyChanging(); - this._TestingTime = value; - this.SendPropertyChanged("TestingTime"); - this.OnTestingTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransilluminationMode", DbType="NVarChar(50)")] - public string TransilluminationMode - { - get - { - return this._TransilluminationMode; - } - set - { - if ((this._TransilluminationMode != value)) - { - this.OnTransilluminationModeChanging(value); - this.SendPropertyChanging(); - this._TransilluminationMode = value; - this.SendPropertyChanged("TransilluminationMode"); - this.OnTransilluminationModeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmModel", DbType="NVarChar(50)")] - public string FilmModel - { - get - { - return this._FilmModel; - } - set - { - if ((this._FilmModel != value)) - { - this.OnFilmModelChanging(value); - this.SendPropertyChanging(); - this._FilmModel = value; - this.SendPropertyChanged("FilmModel"); - this.OnFilmModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IntensifyingWay", DbType="NVarChar(50)")] - public string IntensifyingWay - { - get - { - return this._IntensifyingWay; - } - set - { - if ((this._IntensifyingWay != value)) - { - this.OnIntensifyingWayChanging(value); - this.SendPropertyChanging(); - this._IntensifyingWay = value; - this.SendPropertyChanged("IntensifyingWay"); - this.OnIntensifyingWayChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TubeVoltage", DbType="NVarChar(50)")] - public string TubeVoltage - { - get - { - return this._TubeVoltage; - } - set - { - if ((this._TubeVoltage != value)) - { - this.OnTubeVoltageChanging(value); - this.SendPropertyChanging(); - this._TubeVoltage = value; - this.SendPropertyChanged("TubeVoltage"); - this.OnTubeVoltageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SourceActivity", DbType="NVarChar(50)")] - public string SourceActivity - { - get - { - return this._SourceActivity; - } - set - { - if ((this._SourceActivity != value)) - { - this.OnSourceActivityChanging(value); - this.SendPropertyChanging(); - this._SourceActivity = value; - this.SendPropertyChanged("SourceActivity"); - this.OnSourceActivityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImageQualityModel", DbType="NVarChar(50)")] - public string ImageQualityModel - { - get - { - return this._ImageQualityModel; - } - set - { - if ((this._ImageQualityModel != value)) - { - this.OnImageQualityModelChanging(value); - this.SendPropertyChanging(); - this._ImageQualityModel = value; - this.SendPropertyChanged("ImageQualityModel"); - this.OnImageQualityModelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WireDiameterCode", DbType="NVarChar(50)")] - public string WireDiameterCode - { - get - { - return this._WireDiameterCode; - } - set - { - if ((this._WireDiameterCode != value)) - { - this.OnWireDiameterCodeChanging(value); - this.SendPropertyChanging(); - this._WireDiameterCode = value; - this.SendPropertyChanged("WireDiameterCode"); - this.OnWireDiameterCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FocalLength", DbType="NVarChar(50)")] - public string FocalLength - { - get - { - return this._FocalLength; - } - set - { - if ((this._FocalLength != value)) - { - this.OnFocalLengthChanging(value); - this.SendPropertyChanging(); - this._FocalLength = value; - this.SendPropertyChanged("FocalLength"); - this.OnFocalLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExposureTime", DbType="NVarChar(50)")] - public string ExposureTime - { - get - { - return this._ExposureTime; - } - set - { - if ((this._ExposureTime != value)) - { - this.OnExposureTimeChanging(value); - this.SendPropertyChanging(); - this._ExposureTime = value; - this.SendPropertyChanged("ExposureTime"); - this.OnExposureTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveLength", DbType="NVarChar(50)")] - public string EffectiveLength - { - get - { - return this._EffectiveLength; - } - set - { - if ((this._EffectiveLength != value)) - { - this.OnEffectiveLengthChanging(value); - this.SendPropertyChanging(); - this._EffectiveLength = value; - this.SendPropertyChanged("EffectiveLength"); - this.OnEffectiveLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentCode", DbType="NVarChar(50)")] - public string EquipmentCode - { - get - { - return this._EquipmentCode; - } - set - { - if ((this._EquipmentCode != value)) - { - this.OnEquipmentCodeChanging(value); - this.SendPropertyChanging(); - this._EquipmentCode = value; - this.SendPropertyChanged("EquipmentCode"); - this.OnEquipmentCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentName", DbType="NVarChar(50)")] - public string EquipmentName - { - get - { - return this._EquipmentName; - } - set - { - if ((this._EquipmentName != value)) - { - this.OnEquipmentNameChanging(value); - this.SendPropertyChanging(); - this._EquipmentName = value; - this.SendPropertyChanged("EquipmentName"); - this.OnEquipmentNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JotyName", DbType="NVarChar(50)")] - public string JotyName - { - get - { - return this._JotyName; - } - set - { - if ((this._JotyName != value)) - { - this.OnJotyNameChanging(value); - this.SendPropertyChanging(); - this._JotyName = value; - this.SendPropertyChanged("JotyName"); - this.OnJotyNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_TestMethod", DbType="NVarChar(50)")] - public string MT_TestMethod - { - get - { - return this._MT_TestMethod; - } - set - { - if ((this._MT_TestMethod != value)) - { - this.OnMT_TestMethodChanging(value); - this.SendPropertyChanging(); - this._MT_TestMethod = value; - this.SendPropertyChanged("MT_TestMethod"); - this.OnMT_TestMethodChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessState", DbType="NVarChar(50)")] - public string HotProessState - { - get - { - return this._HotProessState; - } - set - { - if ((this._HotProessState != value)) - { - this.OnHotProessStateChanging(value); - this.SendPropertyChanging(); - this._HotProessState = value; - this.SendPropertyChanged("HotProessState"); - this.OnHotProessStateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestBlock", DbType="NVarChar(50)")] - public string TestBlock - { - get - { - return this._TestBlock; - } - set - { - if ((this._TestBlock != value)) - { - this.OnTestBlockChanging(value); - this.SendPropertyChanging(); - this._TestBlock = value; - this.SendPropertyChanged("TestBlock"); - this.OnTestBlockChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PoleSpacing", DbType="NVarChar(50)")] - public string PoleSpacing - { - get - { - return this._PoleSpacing; - } - set - { - if ((this._PoleSpacing != value)) - { - this.OnPoleSpacingChanging(value); - this.SendPropertyChanging(); - this._PoleSpacing = value; - this.SendPropertyChanged("PoleSpacing"); - this.OnPoleSpacingChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_StandardTestBlock2", DbType="NVarChar(50)")] - public string UT_StandardTestBlock2 - { - get - { - return this._UT_StandardTestBlock2; - } - set - { - if ((this._UT_StandardTestBlock2 != value)) - { - this.OnUT_StandardTestBlock2Changing(value); - this.SendPropertyChanging(); - this._UT_StandardTestBlock2 = value; - this.SendPropertyChanged("UT_StandardTestBlock2"); - this.OnUT_StandardTestBlock2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="NVarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID2", DbType="NVarChar(50)")] - public string STE_ID2 - { - get - { - return this._STE_ID2; - } - set - { - if ((this._STE_ID2 != value)) - { - this.OnSTE_ID2Changing(value); - this.SendPropertyChanging(); - this._STE_ID2 = value; - this.SendPropertyChanged("STE_ID2"); - this.OnSTE_ID2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="NVarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - this.OnWME_IDChanging(value); - this.SendPropertyChanging(); - this._WME_ID = value; - this.SendPropertyChanged("WME_ID"); - this.OnWME_IDChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_DetectionTime")] - public partial class PV_DetectionTime : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _Id; - - private string _DetectionTime; - - private string _ProjectSoft; - - private string _Remark; - - private string _CreateId; - - private System.Nullable _CreateTime; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnIdChanging(string value); - partial void OnIdChanged(); - partial void OnDetectionTimeChanging(string value); - partial void OnDetectionTimeChanged(); - partial void OnProjectSoftChanging(string value); - partial void OnProjectSoftChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnCreateIdChanging(string value); - partial void OnCreateIdChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - #endregion - - public PV_DetectionTime() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string Id - { - get - { - return this._Id; - } - set - { - if ((this._Id != value)) - { - this.OnIdChanging(value); - this.SendPropertyChanging(); - this._Id = value; - this.SendPropertyChanged("Id"); - this.OnIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionTime", DbType="VarChar(50)")] - public string DetectionTime - { - get - { - return this._DetectionTime; - } - set - { - if ((this._DetectionTime != value)) - { - this.OnDetectionTimeChanging(value); - this.SendPropertyChanging(); - this._DetectionTime = value; - this.SendPropertyChanged("DetectionTime"); - this.OnDetectionTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectSoft", DbType="VarChar(20)")] - public string ProjectSoft - { - get - { - return this._ProjectSoft; - } - set - { - if ((this._ProjectSoft != value)) - { - this.OnProjectSoftChanging(value); - this.SendPropertyChanging(); - this._ProjectSoft = value; - this.SendPropertyChanged("ProjectSoft"); - this.OnProjectSoftChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(200)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateId", DbType="VarChar(50)")] - public string CreateId - { - get - { - return this._CreateId; - } - set - { - if ((this._CreateId != value)) - { - this.OnCreateIdChanging(value); - this.SendPropertyChanging(); - this._CreateId = value; - this.SendPropertyChanged("CreateId"); - this.OnCreateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_EntrustRecord")] - public partial class PV_EntrustRecord : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _Id; - - private string _ProjectId; - - private System.Nullable _EntrustData; - - private string _NdtId; - - private string _WmeId; - - private string _GrooveType; - - private string _TestStandardId; - - private System.Nullable _EntrustNo; - - private string _EntrustCode; - - private System.Nullable _EntrustType; - - private System.Nullable _IsPrint; - - private string _PrinterId; - - private System.Nullable _PrintTime; - - private string _CreateId; - - private System.Nullable _CreateTime; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnIdChanging(string value); - partial void OnIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnEntrustDataChanging(System.Nullable value); - partial void OnEntrustDataChanged(); - partial void OnNdtIdChanging(string value); - partial void OnNdtIdChanged(); - partial void OnWmeIdChanging(string value); - partial void OnWmeIdChanged(); - partial void OnGrooveTypeChanging(string value); - partial void OnGrooveTypeChanged(); - partial void OnTestStandardIdChanging(string value); - partial void OnTestStandardIdChanged(); - partial void OnEntrustNoChanging(System.Nullable value); - partial void OnEntrustNoChanged(); - partial void OnEntrustCodeChanging(string value); - partial void OnEntrustCodeChanged(); - partial void OnEntrustTypeChanging(System.Nullable value); - partial void OnEntrustTypeChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnPrinterIdChanging(string value); - partial void OnPrinterIdChanged(); - partial void OnPrintTimeChanging(System.Nullable value); - partial void OnPrintTimeChanged(); - partial void OnCreateIdChanging(string value); - partial void OnCreateIdChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - #endregion - - public PV_EntrustRecord() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string Id - { - get - { - return this._Id; - } - set - { - if ((this._Id != value)) - { - this.OnIdChanging(value); - this.SendPropertyChanging(); - this._Id = value; - this.SendPropertyChanged("Id"); - this.OnIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustData", DbType="DateTime")] - public System.Nullable EntrustData - { - get - { - return this._EntrustData; - } - set - { - if ((this._EntrustData != value)) - { - this.OnEntrustDataChanging(value); - this.SendPropertyChanging(); - this._EntrustData = value; - this.SendPropertyChanged("EntrustData"); - this.OnEntrustDataChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NdtId", DbType="VarChar(50)")] - public string NdtId - { - get - { - return this._NdtId; - } - set - { - if ((this._NdtId != value)) - { - this.OnNdtIdChanging(value); - this.SendPropertyChanging(); - this._NdtId = value; - this.SendPropertyChanged("NdtId"); - this.OnNdtIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WmeId", DbType="VarChar(50)")] - public string WmeId - { - get - { - return this._WmeId; - } - set - { - if ((this._WmeId != value)) - { - this.OnWmeIdChanging(value); - this.SendPropertyChanging(); - this._WmeId = value; - this.SendPropertyChanged("WmeId"); - this.OnWmeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GrooveType", DbType="VarChar(50)")] - public string GrooveType - { - get - { - return this._GrooveType; - } - set - { - if ((this._GrooveType != value)) - { - this.OnGrooveTypeChanging(value); - this.SendPropertyChanging(); - this._GrooveType = value; - this.SendPropertyChanged("GrooveType"); - this.OnGrooveTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestStandardId", DbType="VarChar(50)")] - public string TestStandardId - { - get - { - return this._TestStandardId; - } - set - { - if ((this._TestStandardId != value)) - { - this.OnTestStandardIdChanging(value); - this.SendPropertyChanging(); - this._TestStandardId = value; - this.SendPropertyChanged("TestStandardId"); - this.OnTestStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustNo", DbType="Int")] - public System.Nullable EntrustNo - { - get - { - return this._EntrustNo; - } - set - { - if ((this._EntrustNo != value)) - { - this.OnEntrustNoChanging(value); - this.SendPropertyChanging(); - this._EntrustNo = value; - this.SendPropertyChanged("EntrustNo"); - this.OnEntrustNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustCode", DbType="VarChar(50)")] - public string EntrustCode - { - get - { - return this._EntrustCode; - } - set - { - if ((this._EntrustCode != value)) - { - this.OnEntrustCodeChanging(value); - this.SendPropertyChanging(); - this._EntrustCode = value; - this.SendPropertyChanged("EntrustCode"); - this.OnEntrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustType", DbType="Int")] - public System.Nullable EntrustType - { - get - { - return this._EntrustType; - } - set - { - if ((this._EntrustType != value)) - { - this.OnEntrustTypeChanging(value); - this.SendPropertyChanging(); - this._EntrustType = value; - this.SendPropertyChanged("EntrustType"); - this.OnEntrustTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Int")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrinterId", DbType="VarChar(50)")] - public string PrinterId - { - get - { - return this._PrinterId; - } - set - { - if ((this._PrinterId != value)) - { - this.OnPrinterIdChanging(value); - this.SendPropertyChanging(); - this._PrinterId = value; - this.SendPropertyChanged("PrinterId"); - this.OnPrinterIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintTime", DbType="DateTime")] - public System.Nullable PrintTime - { - get - { - return this._PrintTime; - } - set - { - if ((this._PrintTime != value)) - { - this.OnPrintTimeChanging(value); - this.SendPropertyChanging(); - this._PrintTime = value; - this.SendPropertyChanged("PrintTime"); - this.OnPrintTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateId", DbType="VarChar(50)")] - public string CreateId - { - get - { - return this._CreateId; - } - set - { - if ((this._CreateId != value)) - { - this.OnCreateIdChanging(value); - this.SendPropertyChanging(); - this._CreateId = value; - this.SendPropertyChanged("CreateId"); - this.OnCreateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_HardProessItem")] - public partial class PV_HardProessItem : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _HardProessItemId; - - private string _HardProessTrustId; - - private string _HotProessTrustItemId; - - private string _HotProessTrustId; - - private string _HardProessResultId; - - private string _ProjectId; - - private string _HotId; - - private string _WeldingCode; - - private System.Nullable _TrustDate; - - private string _Remark; - - private System.Nullable _IsPrint; - - private System.Nullable _PrintDate; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnHardProessItemIdChanging(string value); - partial void OnHardProessItemIdChanged(); - partial void OnHardProessTrustIdChanging(string value); - partial void OnHardProessTrustIdChanged(); - partial void OnHotProessTrustItemIdChanging(string value); - partial void OnHotProessTrustItemIdChanged(); - partial void OnHotProessTrustIdChanging(string value); - partial void OnHotProessTrustIdChanged(); - partial void OnHardProessResultIdChanging(string value); - partial void OnHardProessResultIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnHotIdChanging(string value); - partial void OnHotIdChanged(); - partial void OnWeldingCodeChanging(string value); - partial void OnWeldingCodeChanged(); - partial void OnTrustDateChanging(System.Nullable value); - partial void OnTrustDateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnIsPrintChanging(System.Nullable value); - partial void OnIsPrintChanged(); - partial void OnPrintDateChanging(System.Nullable value); - partial void OnPrintDateChanged(); - #endregion - - public PV_HardProessItem() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessItemId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string HardProessItemId - { - get - { - return this._HardProessItemId; - } - set - { - if ((this._HardProessItemId != value)) - { - this.OnHardProessItemIdChanging(value); - this.SendPropertyChanging(); - this._HardProessItemId = value; - this.SendPropertyChanged("HardProessItemId"); - this.OnHardProessItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessTrustId", DbType="VarChar(50)")] - public string HardProessTrustId - { - get - { - return this._HardProessTrustId; - } - set - { - if ((this._HardProessTrustId != value)) - { - this.OnHardProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HardProessTrustId = value; - this.SendPropertyChanged("HardProessTrustId"); - this.OnHardProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="VarChar(50)")] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this.OnHotProessTrustItemIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustItemId = value; - this.SendPropertyChanged("HotProessTrustItemId"); - this.OnHotProessTrustItemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="VarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this.OnHotProessTrustIdChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustId = value; - this.SendPropertyChanged("HotProessTrustId"); - this.OnHotProessTrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessResultId", DbType="VarChar(50)")] - public string HardProessResultId - { - get - { - return this._HardProessResultId; - } - set - { - if ((this._HardProessResultId != value)) - { - this.OnHardProessResultIdChanging(value); - this.SendPropertyChanging(); - this._HardProessResultId = value; - this.SendPropertyChanged("HardProessResultId"); - this.OnHardProessResultIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="VarChar(50)")] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this.OnHotIdChanging(value); - this.SendPropertyChanging(); - this._HotId = value; - this.SendPropertyChanged("HotId"); - this.OnHotIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this.OnWeldingCodeChanging(value); - this.SendPropertyChanging(); - this._WeldingCode = value; - this.SendPropertyChanged("WeldingCode"); - this.OnWeldingCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustDate", DbType="DateTime")] - public System.Nullable TrustDate - { - get - { - return this._TrustDate; - } - set - { - if ((this._TrustDate != value)) - { - this.OnTrustDateChanging(value); - this.SendPropertyChanging(); - this._TrustDate = value; - this.SendPropertyChanged("TrustDate"); - this.OnTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this.OnIsPrintChanging(value); - this.SendPropertyChanging(); - this._IsPrint = value; - this.SendPropertyChanged("IsPrint"); - this.OnIsPrintChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintDate", DbType="DateTime")] - public System.Nullable PrintDate - { - get - { - return this._PrintDate; - } - set - { - if ((this._PrintDate != value)) - { - this.OnPrintDateChanging(value); - this.SendPropertyChanging(); - this._PrintDate = value; - this.SendPropertyChanged("PrintDate"); - this.OnPrintDateChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_ManagementMethod")] - public partial class PV_ManagementMethod : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MethodId; - - private string _NdtId; - - private string _NdtCode; - - private string _WeldingId; - - private System.Nullable _EntrustStatus; - - private string _EntrustId; - - private string _EntrustCode; - - private string _EntrustPeople; - - private string _FilmingLocation; - - private string _Remarks; - - private System.Nullable _EntrustData; - - private System.Nullable _DetectionStatus; - - private string _DetectionTimeId; - - private System.Nullable _UnableCheck; - - private string _UnableCheckReason; - - private string _FeedbackPeople; - - private System.Nullable _FeedbackData; - - private string _EquipmentId; - - private string _ShootMan; - - private System.Nullable _ShootDate; - - private System.Nullable _ReportNoticeDate; - - private string _CreateId; - - private System.Nullable _CreateTime; - - private string _Printer; - - private System.Nullable _PrinterDate; - - private int _SortField; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMethodIdChanging(string value); - partial void OnMethodIdChanged(); - partial void OnNdtIdChanging(string value); - partial void OnNdtIdChanged(); - partial void OnNdtCodeChanging(string value); - partial void OnNdtCodeChanged(); - partial void OnWeldingIdChanging(string value); - partial void OnWeldingIdChanged(); - partial void OnEntrustStatusChanging(System.Nullable value); - partial void OnEntrustStatusChanged(); - partial void OnEntrustIdChanging(string value); - partial void OnEntrustIdChanged(); - partial void OnEntrustCodeChanging(string value); - partial void OnEntrustCodeChanged(); - partial void OnEntrustPeopleChanging(string value); - partial void OnEntrustPeopleChanged(); - partial void OnFilmingLocationChanging(string value); - partial void OnFilmingLocationChanged(); - partial void OnRemarksChanging(string value); - partial void OnRemarksChanged(); - partial void OnEntrustDataChanging(System.Nullable value); - partial void OnEntrustDataChanged(); - partial void OnDetectionStatusChanging(System.Nullable value); - partial void OnDetectionStatusChanged(); - partial void OnDetectionTimeIdChanging(string value); - partial void OnDetectionTimeIdChanged(); - partial void OnUnableCheckChanging(System.Nullable value); - partial void OnUnableCheckChanged(); - partial void OnUnableCheckReasonChanging(string value); - partial void OnUnableCheckReasonChanged(); - partial void OnFeedbackPeopleChanging(string value); - partial void OnFeedbackPeopleChanged(); - partial void OnFeedbackDataChanging(System.Nullable value); - partial void OnFeedbackDataChanged(); - partial void OnEquipmentIdChanging(string value); - partial void OnEquipmentIdChanged(); - partial void OnShootManChanging(string value); - partial void OnShootManChanged(); - partial void OnShootDateChanging(System.Nullable value); - partial void OnShootDateChanged(); - partial void OnReportNoticeDateChanging(System.Nullable value); - partial void OnReportNoticeDateChanged(); - partial void OnCreateIdChanging(string value); - partial void OnCreateIdChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - partial void OnPrinterChanging(string value); - partial void OnPrinterChanged(); - partial void OnPrinterDateChanging(System.Nullable value); - partial void OnPrinterDateChanged(); - partial void OnSortFieldChanging(int value); - partial void OnSortFieldChanged(); - #endregion - - public PV_ManagementMethod() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MethodId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MethodId - { - get - { - return this._MethodId; - } - set - { - if ((this._MethodId != value)) - { - this.OnMethodIdChanging(value); - this.SendPropertyChanging(); - this._MethodId = value; - this.SendPropertyChanged("MethodId"); - this.OnMethodIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NdtId", DbType="VarChar(50)")] - public string NdtId - { - get - { - return this._NdtId; - } - set - { - if ((this._NdtId != value)) - { - this.OnNdtIdChanging(value); - this.SendPropertyChanging(); - this._NdtId = value; - this.SendPropertyChanged("NdtId"); - this.OnNdtIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NdtCode", DbType="VarChar(50)")] - public string NdtCode - { - get - { - return this._NdtCode; - } - set - { - if ((this._NdtCode != value)) - { - this.OnNdtCodeChanging(value); - this.SendPropertyChanging(); - this._NdtCode = value; - this.SendPropertyChanged("NdtCode"); - this.OnNdtCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50)")] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this.OnWeldingIdChanging(value); - this.SendPropertyChanging(); - this._WeldingId = value; - this.SendPropertyChanged("WeldingId"); - this.OnWeldingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustStatus", DbType="Int")] - public System.Nullable EntrustStatus - { - get - { - return this._EntrustStatus; - } - set - { - if ((this._EntrustStatus != value)) - { - this.OnEntrustStatusChanging(value); - this.SendPropertyChanging(); - this._EntrustStatus = value; - this.SendPropertyChanged("EntrustStatus"); - this.OnEntrustStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustId", DbType="VarChar(50)")] - public string EntrustId - { - get - { - return this._EntrustId; - } - set - { - if ((this._EntrustId != value)) - { - this.OnEntrustIdChanging(value); - this.SendPropertyChanging(); - this._EntrustId = value; - this.SendPropertyChanged("EntrustId"); - this.OnEntrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustCode", DbType="VarChar(100)")] - public string EntrustCode - { - get - { - return this._EntrustCode; - } - set - { - if ((this._EntrustCode != value)) - { - this.OnEntrustCodeChanging(value); - this.SendPropertyChanging(); - this._EntrustCode = value; - this.SendPropertyChanged("EntrustCode"); - this.OnEntrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustPeople", DbType="VarChar(50)")] - public string EntrustPeople - { - get - { - return this._EntrustPeople; - } - set - { - if ((this._EntrustPeople != value)) - { - this.OnEntrustPeopleChanging(value); - this.SendPropertyChanging(); - this._EntrustPeople = value; - this.SendPropertyChanged("EntrustPeople"); - this.OnEntrustPeopleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmingLocation", DbType="VarChar(50)")] - public string FilmingLocation - { - get - { - return this._FilmingLocation; - } - set - { - if ((this._FilmingLocation != value)) - { - this.OnFilmingLocationChanging(value); - this.SendPropertyChanging(); - this._FilmingLocation = value; - this.SendPropertyChanged("FilmingLocation"); - this.OnFilmingLocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="VarChar(200)")] - public string Remarks - { - get - { - return this._Remarks; - } - set - { - if ((this._Remarks != value)) - { - this.OnRemarksChanging(value); - this.SendPropertyChanging(); - this._Remarks = value; - this.SendPropertyChanged("Remarks"); - this.OnRemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustData", DbType="DateTime")] - public System.Nullable EntrustData - { - get - { - return this._EntrustData; - } - set - { - if ((this._EntrustData != value)) - { - this.OnEntrustDataChanging(value); - this.SendPropertyChanging(); - this._EntrustData = value; - this.SendPropertyChanged("EntrustData"); - this.OnEntrustDataChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionStatus", DbType="Int")] - public System.Nullable DetectionStatus - { - get - { - return this._DetectionStatus; - } - set - { - if ((this._DetectionStatus != value)) - { - this.OnDetectionStatusChanging(value); - this.SendPropertyChanging(); - this._DetectionStatus = value; - this.SendPropertyChanged("DetectionStatus"); - this.OnDetectionStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionTimeId", DbType="VarChar(50)")] - public string DetectionTimeId - { - get - { - return this._DetectionTimeId; - } - set - { - if ((this._DetectionTimeId != value)) - { - this.OnDetectionTimeIdChanging(value); - this.SendPropertyChanging(); - this._DetectionTimeId = value; - this.SendPropertyChanged("DetectionTimeId"); - this.OnDetectionTimeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnableCheck", DbType="Bit")] - public System.Nullable UnableCheck - { - get - { - return this._UnableCheck; - } - set - { - if ((this._UnableCheck != value)) - { - this.OnUnableCheckChanging(value); - this.SendPropertyChanging(); - this._UnableCheck = value; - this.SendPropertyChanged("UnableCheck"); - this.OnUnableCheckChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnableCheckReason", DbType="NVarChar(100)")] - public string UnableCheckReason - { - get - { - return this._UnableCheckReason; - } - set - { - if ((this._UnableCheckReason != value)) - { - this.OnUnableCheckReasonChanging(value); - this.SendPropertyChanging(); - this._UnableCheckReason = value; - this.SendPropertyChanged("UnableCheckReason"); - this.OnUnableCheckReasonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackPeople", DbType="VarChar(50)")] - public string FeedbackPeople - { - get - { - return this._FeedbackPeople; - } - set - { - if ((this._FeedbackPeople != value)) - { - this.OnFeedbackPeopleChanging(value); - this.SendPropertyChanging(); - this._FeedbackPeople = value; - this.SendPropertyChanged("FeedbackPeople"); - this.OnFeedbackPeopleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackData", DbType="DateTime")] - public System.Nullable FeedbackData - { - get - { - return this._FeedbackData; - } - set - { - if ((this._FeedbackData != value)) - { - this.OnFeedbackDataChanging(value); - this.SendPropertyChanging(); - this._FeedbackData = value; - this.SendPropertyChanged("FeedbackData"); - this.OnFeedbackDataChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="VarChar(50)")] - public string EquipmentId - { - get - { - return this._EquipmentId; - } - set - { - if ((this._EquipmentId != value)) - { - this.OnEquipmentIdChanging(value); - this.SendPropertyChanging(); - this._EquipmentId = value; - this.SendPropertyChanged("EquipmentId"); - this.OnEquipmentIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShootMan", DbType="VarChar(50)")] - public string ShootMan - { - get - { - return this._ShootMan; - } - set - { - if ((this._ShootMan != value)) - { - this.OnShootManChanging(value); - this.SendPropertyChanging(); - this._ShootMan = value; - this.SendPropertyChanged("ShootMan"); - this.OnShootManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShootDate", DbType="DateTime")] - public System.Nullable ShootDate - { - get - { - return this._ShootDate; - } - set - { - if ((this._ShootDate != value)) - { - this.OnShootDateChanging(value); - this.SendPropertyChanging(); - this._ShootDate = value; - this.SendPropertyChanged("ShootDate"); - this.OnShootDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportNoticeDate", DbType="DateTime")] - public System.Nullable ReportNoticeDate - { - get - { - return this._ReportNoticeDate; - } - set - { - if ((this._ReportNoticeDate != value)) - { - this.OnReportNoticeDateChanging(value); - this.SendPropertyChanging(); - this._ReportNoticeDate = value; - this.SendPropertyChanged("ReportNoticeDate"); - this.OnReportNoticeDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateId", DbType="VarChar(50)")] - public string CreateId - { - get - { - return this._CreateId; - } - set - { - if ((this._CreateId != value)) - { - this.OnCreateIdChanging(value); - this.SendPropertyChanging(); - this._CreateId = value; - this.SendPropertyChanged("CreateId"); - this.OnCreateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Printer", DbType="VarChar(50)")] - public string Printer - { - get - { - return this._Printer; - } - set - { - if ((this._Printer != value)) - { - this.OnPrinterChanging(value); - this.SendPropertyChanging(); - this._Printer = value; - this.SendPropertyChanged("Printer"); - this.OnPrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrinterDate", DbType="DateTime")] - public System.Nullable PrinterDate - { - get - { - return this._PrinterDate; - } - set - { - if ((this._PrinterDate != value)) - { - this.OnPrinterDateChanging(value); - this.SendPropertyChanging(); - this._PrinterDate = value; - this.SendPropertyChanged("PrinterDate"); - this.OnPrinterDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortField", DbType="Int NOT NULL")] - public int SortField - { - get - { - return this._SortField; - } - set - { - if ((this._SortField != value)) - { - this.OnSortFieldChanging(value); - this.SendPropertyChanging(); - this._SortField = value; - this.SendPropertyChanged("SortField"); - this.OnSortFieldChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_ReworkManagementMethod")] - public partial class PV_ReworkManagementMethod : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ReworkId; - - private string _NdtId; - - private string _RepairItemRecordId; - - private string _NdtCode; - - private string _WeldingId; - - private System.Nullable _EntrustStatus; - - private string _EntrustId; - - private string _EntrustCode; - - private string _EntrustPeople; - - private string _FilmingLocation; - - private string _Remarks; - - private System.Nullable _EntrustData; - - private System.Nullable _DetectionStatus; - - private string _DetectionTimeId; - - private System.Nullable _UnableCheck; - - private string _UnableCheckReason; - - private string _DefectNature; - - private string _FeedbackPeople; - - private System.Nullable _FeedbackData; - - private string _EquipmentId; - - private string _ShootMan; - - private System.Nullable _ShootDate; - - private System.Nullable _ReportNoticeDate; - - private string _Printer; - - private System.Nullable _PrinterDate; - - private string _CreateId; - - private System.Nullable _CreateTime; - - private int _SortField; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnReworkIdChanging(string value); - partial void OnReworkIdChanged(); - partial void OnNdtIdChanging(string value); - partial void OnNdtIdChanged(); - partial void OnRepairItemRecordIdChanging(string value); - partial void OnRepairItemRecordIdChanged(); - partial void OnNdtCodeChanging(string value); - partial void OnNdtCodeChanged(); - partial void OnWeldingIdChanging(string value); - partial void OnWeldingIdChanged(); - partial void OnEntrustStatusChanging(System.Nullable value); - partial void OnEntrustStatusChanged(); - partial void OnEntrustIdChanging(string value); - partial void OnEntrustIdChanged(); - partial void OnEntrustCodeChanging(string value); - partial void OnEntrustCodeChanged(); - partial void OnEntrustPeopleChanging(string value); - partial void OnEntrustPeopleChanged(); - partial void OnFilmingLocationChanging(string value); - partial void OnFilmingLocationChanged(); - partial void OnRemarksChanging(string value); - partial void OnRemarksChanged(); - partial void OnEntrustDataChanging(System.Nullable value); - partial void OnEntrustDataChanged(); - partial void OnDetectionStatusChanging(System.Nullable value); - partial void OnDetectionStatusChanged(); - partial void OnDetectionTimeIdChanging(string value); - partial void OnDetectionTimeIdChanged(); - partial void OnUnableCheckChanging(System.Nullable value); - partial void OnUnableCheckChanged(); - partial void OnUnableCheckReasonChanging(string value); - partial void OnUnableCheckReasonChanged(); - partial void OnDefectNatureChanging(string value); - partial void OnDefectNatureChanged(); - partial void OnFeedbackPeopleChanging(string value); - partial void OnFeedbackPeopleChanged(); - partial void OnFeedbackDataChanging(System.Nullable value); - partial void OnFeedbackDataChanged(); - partial void OnEquipmentIdChanging(string value); - partial void OnEquipmentIdChanged(); - partial void OnShootManChanging(string value); - partial void OnShootManChanged(); - partial void OnShootDateChanging(System.Nullable value); - partial void OnShootDateChanged(); - partial void OnReportNoticeDateChanging(System.Nullable value); - partial void OnReportNoticeDateChanged(); - partial void OnPrinterChanging(string value); - partial void OnPrinterChanged(); - partial void OnPrinterDateChanging(System.Nullable value); - partial void OnPrinterDateChanged(); - partial void OnCreateIdChanging(string value); - partial void OnCreateIdChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - partial void OnSortFieldChanging(int value); - partial void OnSortFieldChanged(); - #endregion - - public PV_ReworkManagementMethod() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReworkId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ReworkId - { - get - { - return this._ReworkId; - } - set - { - if ((this._ReworkId != value)) - { - this.OnReworkIdChanging(value); - this.SendPropertyChanging(); - this._ReworkId = value; - this.SendPropertyChanged("ReworkId"); - this.OnReworkIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NdtId", DbType="VarChar(50)")] - public string NdtId - { - get - { - return this._NdtId; - } - set - { - if ((this._NdtId != value)) - { - this.OnNdtIdChanging(value); - this.SendPropertyChanging(); - this._NdtId = value; - this.SendPropertyChanged("NdtId"); - this.OnNdtIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairItemRecordId", DbType="VarChar(50)")] - public string RepairItemRecordId - { - get - { - return this._RepairItemRecordId; - } - set - { - if ((this._RepairItemRecordId != value)) - { - this.OnRepairItemRecordIdChanging(value); - this.SendPropertyChanging(); - this._RepairItemRecordId = value; - this.SendPropertyChanged("RepairItemRecordId"); - this.OnRepairItemRecordIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NdtCode", DbType="VarChar(50)")] - public string NdtCode - { - get - { - return this._NdtCode; - } - set - { - if ((this._NdtCode != value)) - { - this.OnNdtCodeChanging(value); - this.SendPropertyChanging(); - this._NdtCode = value; - this.SendPropertyChanged("NdtCode"); - this.OnNdtCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50)")] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this.OnWeldingIdChanging(value); - this.SendPropertyChanging(); - this._WeldingId = value; - this.SendPropertyChanged("WeldingId"); - this.OnWeldingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustStatus", DbType="Int")] - public System.Nullable EntrustStatus - { - get - { - return this._EntrustStatus; - } - set - { - if ((this._EntrustStatus != value)) - { - this.OnEntrustStatusChanging(value); - this.SendPropertyChanging(); - this._EntrustStatus = value; - this.SendPropertyChanged("EntrustStatus"); - this.OnEntrustStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustId", DbType="VarChar(50)")] - public string EntrustId - { - get - { - return this._EntrustId; - } - set - { - if ((this._EntrustId != value)) - { - this.OnEntrustIdChanging(value); - this.SendPropertyChanging(); - this._EntrustId = value; - this.SendPropertyChanged("EntrustId"); - this.OnEntrustIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustCode", DbType="VarChar(100)")] - public string EntrustCode - { - get - { - return this._EntrustCode; - } - set - { - if ((this._EntrustCode != value)) - { - this.OnEntrustCodeChanging(value); - this.SendPropertyChanging(); - this._EntrustCode = value; - this.SendPropertyChanged("EntrustCode"); - this.OnEntrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustPeople", DbType="VarChar(50)")] - public string EntrustPeople - { - get - { - return this._EntrustPeople; - } - set - { - if ((this._EntrustPeople != value)) - { - this.OnEntrustPeopleChanging(value); - this.SendPropertyChanging(); - this._EntrustPeople = value; - this.SendPropertyChanged("EntrustPeople"); - this.OnEntrustPeopleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmingLocation", DbType="VarChar(50)")] - public string FilmingLocation - { - get - { - return this._FilmingLocation; - } - set - { - if ((this._FilmingLocation != value)) - { - this.OnFilmingLocationChanging(value); - this.SendPropertyChanging(); - this._FilmingLocation = value; - this.SendPropertyChanged("FilmingLocation"); - this.OnFilmingLocationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remarks", DbType="VarChar(200)")] - public string Remarks - { - get - { - return this._Remarks; - } - set - { - if ((this._Remarks != value)) - { - this.OnRemarksChanging(value); - this.SendPropertyChanging(); - this._Remarks = value; - this.SendPropertyChanged("Remarks"); - this.OnRemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustData", DbType="DateTime")] - public System.Nullable EntrustData - { - get - { - return this._EntrustData; - } - set - { - if ((this._EntrustData != value)) - { - this.OnEntrustDataChanging(value); - this.SendPropertyChanging(); - this._EntrustData = value; - this.SendPropertyChanged("EntrustData"); - this.OnEntrustDataChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionStatus", DbType="Int")] - public System.Nullable DetectionStatus - { - get - { - return this._DetectionStatus; - } - set - { - if ((this._DetectionStatus != value)) - { - this.OnDetectionStatusChanging(value); - this.SendPropertyChanging(); - this._DetectionStatus = value; - this.SendPropertyChanged("DetectionStatus"); - this.OnDetectionStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DetectionTimeId", DbType="VarChar(50)")] - public string DetectionTimeId - { - get - { - return this._DetectionTimeId; - } - set - { - if ((this._DetectionTimeId != value)) - { - this.OnDetectionTimeIdChanging(value); - this.SendPropertyChanging(); - this._DetectionTimeId = value; - this.SendPropertyChanged("DetectionTimeId"); - this.OnDetectionTimeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnableCheck", DbType="Bit")] - public System.Nullable UnableCheck - { - get - { - return this._UnableCheck; - } - set - { - if ((this._UnableCheck != value)) - { - this.OnUnableCheckChanging(value); - this.SendPropertyChanging(); - this._UnableCheck = value; - this.SendPropertyChanged("UnableCheck"); - this.OnUnableCheckChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnableCheckReason", DbType="NVarChar(100)")] - public string UnableCheckReason - { - get - { - return this._UnableCheckReason; - } - set - { - if ((this._UnableCheckReason != value)) - { - this.OnUnableCheckReasonChanging(value); - this.SendPropertyChanging(); - this._UnableCheckReason = value; - this.SendPropertyChanged("UnableCheckReason"); - this.OnUnableCheckReasonChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DefectNature", DbType="NVarChar(1000)")] - public string DefectNature - { - get - { - return this._DefectNature; - } - set - { - if ((this._DefectNature != value)) - { - this.OnDefectNatureChanging(value); - this.SendPropertyChanging(); - this._DefectNature = value; - this.SendPropertyChanged("DefectNature"); - this.OnDefectNatureChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackPeople", DbType="VarChar(50)")] - public string FeedbackPeople - { - get - { - return this._FeedbackPeople; - } - set - { - if ((this._FeedbackPeople != value)) - { - this.OnFeedbackPeopleChanging(value); - this.SendPropertyChanging(); - this._FeedbackPeople = value; - this.SendPropertyChanged("FeedbackPeople"); - this.OnFeedbackPeopleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FeedbackData", DbType="DateTime")] - public System.Nullable FeedbackData - { - get - { - return this._FeedbackData; - } - set - { - if ((this._FeedbackData != value)) - { - this.OnFeedbackDataChanging(value); - this.SendPropertyChanging(); - this._FeedbackData = value; - this.SendPropertyChanged("FeedbackData"); - this.OnFeedbackDataChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentId", DbType="VarChar(50)")] - public string EquipmentId - { - get - { - return this._EquipmentId; - } - set - { - if ((this._EquipmentId != value)) - { - this.OnEquipmentIdChanging(value); - this.SendPropertyChanging(); - this._EquipmentId = value; - this.SendPropertyChanged("EquipmentId"); - this.OnEquipmentIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShootMan", DbType="VarChar(50)")] - public string ShootMan - { - get - { - return this._ShootMan; - } - set - { - if ((this._ShootMan != value)) - { - this.OnShootManChanging(value); - this.SendPropertyChanging(); - this._ShootMan = value; - this.SendPropertyChanged("ShootMan"); - this.OnShootManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShootDate", DbType="DateTime")] - public System.Nullable ShootDate - { - get - { - return this._ShootDate; - } - set - { - if ((this._ShootDate != value)) - { - this.OnShootDateChanging(value); - this.SendPropertyChanging(); - this._ShootDate = value; - this.SendPropertyChanged("ShootDate"); - this.OnShootDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportNoticeDate", DbType="DateTime")] - public System.Nullable ReportNoticeDate - { - get - { - return this._ReportNoticeDate; - } - set - { - if ((this._ReportNoticeDate != value)) - { - this.OnReportNoticeDateChanging(value); - this.SendPropertyChanging(); - this._ReportNoticeDate = value; - this.SendPropertyChanged("ReportNoticeDate"); - this.OnReportNoticeDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Printer", DbType="VarChar(50)")] - public string Printer - { - get - { - return this._Printer; - } - set - { - if ((this._Printer != value)) - { - this.OnPrinterChanging(value); - this.SendPropertyChanging(); - this._Printer = value; - this.SendPropertyChanged("Printer"); - this.OnPrinterChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrinterDate", DbType="DateTime")] - public System.Nullable PrinterDate - { - get - { - return this._PrinterDate; - } - set - { - if ((this._PrinterDate != value)) - { - this.OnPrinterDateChanging(value); - this.SendPropertyChanging(); - this._PrinterDate = value; - this.SendPropertyChanged("PrinterDate"); - this.OnPrinterDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateId", DbType="VarChar(50)")] - public string CreateId - { - get - { - return this._CreateId; - } - set - { - if ((this._CreateId != value)) - { - this.OnCreateIdChanging(value); - this.SendPropertyChanging(); - this._CreateId = value; - this.SendPropertyChanged("CreateId"); - this.OnCreateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortField", DbType="Int NOT NULL")] - public int SortField - { - get - { - return this._SortField; - } - set - { - if ((this._SortField != value)) - { - this.OnSortFieldChanging(value); - this.SendPropertyChanging(); - this._SortField = value; - this.SendPropertyChanged("SortField"); - this.OnSortFieldChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_TestMethod")] - public partial class PV_TestMethod : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _Ndt_Id; - - private string _Ndt_NdtCode; - - private string _Ndt_NdtName; - - private string _Ndt_NdtrId; - - private System.Nullable _Ndt_NdtrRate; - - private string _Ndt_Level; - - private string _Ndt_TestStandardId; - - private string _Ndt_TestStandardCode; - - private string _Ndt_Remarks; - - private string _Ndt_ProjectSoft; - - private string _Ndt_Create; - - private System.Nullable _Ndt_CreateTime; - - private int _Ndt_Sort; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnNdt_IdChanging(string value); - partial void OnNdt_IdChanged(); - partial void OnNdt_NdtCodeChanging(string value); - partial void OnNdt_NdtCodeChanged(); - partial void OnNdt_NdtNameChanging(string value); - partial void OnNdt_NdtNameChanged(); - partial void OnNdt_NdtrIdChanging(string value); - partial void OnNdt_NdtrIdChanged(); - partial void OnNdt_NdtrRateChanging(System.Nullable value); - partial void OnNdt_NdtrRateChanged(); - partial void OnNdt_LevelChanging(string value); - partial void OnNdt_LevelChanged(); - partial void OnNdt_TestStandardIdChanging(string value); - partial void OnNdt_TestStandardIdChanged(); - partial void OnNdt_TestStandardCodeChanging(string value); - partial void OnNdt_TestStandardCodeChanged(); - partial void OnNdt_RemarksChanging(string value); - partial void OnNdt_RemarksChanged(); - partial void OnNdt_ProjectSoftChanging(string value); - partial void OnNdt_ProjectSoftChanged(); - partial void OnNdt_CreateChanging(string value); - partial void OnNdt_CreateChanged(); - partial void OnNdt_CreateTimeChanging(System.Nullable value); - partial void OnNdt_CreateTimeChanged(); - partial void OnNdt_SortChanging(int value); - partial void OnNdt_SortChanged(); - #endregion - - public PV_TestMethod() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_Id", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string Ndt_Id - { - get - { - return this._Ndt_Id; - } - set - { - if ((this._Ndt_Id != value)) - { - this.OnNdt_IdChanging(value); - this.SendPropertyChanging(); - this._Ndt_Id = value; - this.SendPropertyChanged("Ndt_Id"); - this.OnNdt_IdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_NdtCode", DbType="VarChar(50)")] - public string Ndt_NdtCode - { - get - { - return this._Ndt_NdtCode; - } - set - { - if ((this._Ndt_NdtCode != value)) - { - this.OnNdt_NdtCodeChanging(value); - this.SendPropertyChanging(); - this._Ndt_NdtCode = value; - this.SendPropertyChanged("Ndt_NdtCode"); - this.OnNdt_NdtCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_NdtName", DbType="VarChar(50)")] - public string Ndt_NdtName - { - get - { - return this._Ndt_NdtName; - } - set - { - if ((this._Ndt_NdtName != value)) - { - this.OnNdt_NdtNameChanging(value); - this.SendPropertyChanging(); - this._Ndt_NdtName = value; - this.SendPropertyChanged("Ndt_NdtName"); - this.OnNdt_NdtNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_NdtrId", DbType="VarChar(50)")] - public string Ndt_NdtrId - { - get - { - return this._Ndt_NdtrId; - } - set - { - if ((this._Ndt_NdtrId != value)) - { - this.OnNdt_NdtrIdChanging(value); - this.SendPropertyChanging(); - this._Ndt_NdtrId = value; - this.SendPropertyChanged("Ndt_NdtrId"); - this.OnNdt_NdtrIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_NdtrRate", DbType="Int")] - public System.Nullable Ndt_NdtrRate - { - get - { - return this._Ndt_NdtrRate; - } - set - { - if ((this._Ndt_NdtrRate != value)) - { - this.OnNdt_NdtrRateChanging(value); - this.SendPropertyChanging(); - this._Ndt_NdtrRate = value; - this.SendPropertyChanged("Ndt_NdtrRate"); - this.OnNdt_NdtrRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_Level", DbType="VarChar(5)")] - public string Ndt_Level - { - get - { - return this._Ndt_Level; - } - set - { - if ((this._Ndt_Level != value)) - { - this.OnNdt_LevelChanging(value); - this.SendPropertyChanging(); - this._Ndt_Level = value; - this.SendPropertyChanged("Ndt_Level"); - this.OnNdt_LevelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_TestStandardId", DbType="VarChar(50)")] - public string Ndt_TestStandardId - { - get - { - return this._Ndt_TestStandardId; - } - set - { - if ((this._Ndt_TestStandardId != value)) - { - this.OnNdt_TestStandardIdChanging(value); - this.SendPropertyChanging(); - this._Ndt_TestStandardId = value; - this.SendPropertyChanged("Ndt_TestStandardId"); - this.OnNdt_TestStandardIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_TestStandardCode", DbType="VarChar(50)")] - public string Ndt_TestStandardCode - { - get - { - return this._Ndt_TestStandardCode; - } - set - { - if ((this._Ndt_TestStandardCode != value)) - { - this.OnNdt_TestStandardCodeChanging(value); - this.SendPropertyChanging(); - this._Ndt_TestStandardCode = value; - this.SendPropertyChanged("Ndt_TestStandardCode"); - this.OnNdt_TestStandardCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_Remarks", DbType="VarChar(200)")] - public string Ndt_Remarks - { - get - { - return this._Ndt_Remarks; - } - set - { - if ((this._Ndt_Remarks != value)) - { - this.OnNdt_RemarksChanging(value); - this.SendPropertyChanging(); - this._Ndt_Remarks = value; - this.SendPropertyChanged("Ndt_Remarks"); - this.OnNdt_RemarksChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_ProjectSoft", DbType="VarChar(5)")] - public string Ndt_ProjectSoft - { - get - { - return this._Ndt_ProjectSoft; - } - set - { - if ((this._Ndt_ProjectSoft != value)) - { - this.OnNdt_ProjectSoftChanging(value); - this.SendPropertyChanging(); - this._Ndt_ProjectSoft = value; - this.SendPropertyChanged("Ndt_ProjectSoft"); - this.OnNdt_ProjectSoftChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_Create", DbType="VarChar(50)")] - public string Ndt_Create - { - get - { - return this._Ndt_Create; - } - set - { - if ((this._Ndt_Create != value)) - { - this.OnNdt_CreateChanging(value); - this.SendPropertyChanging(); - this._Ndt_Create = value; - this.SendPropertyChanged("Ndt_Create"); - this.OnNdt_CreateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_CreateTime", DbType="DateTime")] - public System.Nullable Ndt_CreateTime - { - get - { - return this._Ndt_CreateTime; - } - set - { - if ((this._Ndt_CreateTime != value)) - { - this.OnNdt_CreateTimeChanging(value); - this.SendPropertyChanging(); - this._Ndt_CreateTime = value; - this.SendPropertyChanged("Ndt_CreateTime"); - this.OnNdt_CreateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_Sort", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)] - public int Ndt_Sort - { - get - { - return this._Ndt_Sort; - } - set - { - if ((this._Ndt_Sort != value)) - { - this.OnNdt_SortChanging(value); - this.SendPropertyChanging(); - this._Ndt_Sort = value; - this.SendPropertyChanged("Ndt_Sort"); - this.OnNdt_SortChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_View_CH_HardProessTrustItem")] - public partial class PV_View_CH_HardProessTrustItem - { - - private string _HardProessItemId; - - private string _HardProessTrustId; - - private string _HotProessTrustId; - - private string _ProessTypes; - - private string _HotProessTrustItemId; - - private string _ProjectId; - - private string _HotId; - - private string _WeldingCode; - - private string _JointDesc; - - private string _RepairFalg; - - private System.Nullable _RepairNum; - - private string _AgainId; - - private System.Nullable _TrustType; - - private string _STE_Code; - - private string _Remark; - - private System.Nullable _IsPrint; - - private System.Nullable _PrintDate; - - private System.Nullable _TrustDate; - - private System.Nullable _HotTrustDate; - - private System.Nullable _IsNeedHardTest; - - private System.Nullable _CompleteDate; - - private string _HardQuaStandard; - - public PV_View_CH_HardProessTrustItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessItemId", DbType="VarChar(50)")] - public string HardProessItemId - { - get - { - return this._HardProessItemId; - } - set - { - if ((this._HardProessItemId != value)) - { - this._HardProessItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessTrustId", DbType="VarChar(50)")] - public string HardProessTrustId - { - get - { - return this._HardProessTrustId; - } - set - { - if ((this._HardProessTrustId != value)) - { - this._HardProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="VarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this._HotProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="VarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this._ProessTypes = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this._HotProessTrustItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="NVarChar(50)")] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this._HotId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this._WeldingCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointDesc", DbType="VarChar(50)")] - public string JointDesc - { - get - { - return this._JointDesc; - } - set - { - if ((this._JointDesc != value)) - { - this._JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairFalg", DbType="VarChar(6)")] - public string RepairFalg - { - get - { - return this._RepairFalg; - } - set - { - if ((this._RepairFalg != value)) - { - this._RepairFalg = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="Int")] - public System.Nullable RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this._RepairNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AgainId", DbType="NVarChar(50)")] - public string AgainId - { - get - { - return this._AgainId; - } - set - { - if ((this._AgainId != value)) - { - this._AgainId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Int")] - public System.Nullable TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this._TrustType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this._IsPrint = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintDate", DbType="DateTime")] - public System.Nullable PrintDate - { - get - { - return this._PrintDate; - } - set - { - if ((this._PrintDate != value)) - { - this._PrintDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustDate", DbType="DateTime")] - public System.Nullable TrustDate - { - get - { - return this._TrustDate; - } - set - { - if ((this._TrustDate != value)) - { - this._TrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotTrustDate", DbType="DateTime")] - public System.Nullable HotTrustDate - { - get - { - return this._HotTrustDate; - } - set - { - if ((this._HotTrustDate != value)) - { - this._HotTrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNeedHardTest", DbType="Bit")] - public System.Nullable IsNeedHardTest - { - get - { - return this._IsNeedHardTest; - } - set - { - if ((this._IsNeedHardTest != value)) - { - this._IsNeedHardTest = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompleteDate", DbType="DateTime")] - public System.Nullable CompleteDate - { - get - { - return this._CompleteDate; - } - set - { - if ((this._CompleteDate != value)) - { - this._CompleteDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardQuaStandard", DbType="NVarChar(50)")] - public string HardQuaStandard - { - get - { - return this._HardQuaStandard; - } - set - { - if ((this._HardQuaStandard != value)) - { - this._HardQuaStandard = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_View_CH_HardResultItem")] - public partial class PV_View_CH_HardResultItem - { - - private string _HardProessResultId; - - private string _HardProessItemId; - - private string _HotProessTrustId; - - private string _HotProessTrustItemId; - - private string _ProjectId; - - private string _HotId; - - private string _WeldingCode; - - private string _JointDesc; - - private string _RepairFalg; - - private System.Nullable _RepairNum; - - private string _AgainId; - - private System.Nullable _TrustType; - - private string _STE_Code; - - private System.Nullable _IsOK; - - private int _IsOK1; - - private int _IsOK2; - - private int _IsOK3; - - private System.Nullable _ResultDate; - - private string _Remark; - - public PV_View_CH_HardResultItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessResultId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string HardProessResultId - { - get - { - return this._HardProessResultId; - } - set - { - if ((this._HardProessResultId != value)) - { - this._HardProessResultId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessItemId", DbType="VarChar(50)")] - public string HardProessItemId - { - get - { - return this._HardProessItemId; - } - set - { - if ((this._HardProessItemId != value)) - { - this._HardProessItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="VarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this._HotProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="VarChar(50)")] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this._HotProessTrustItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="VarChar(50)")] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this._HotId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this._WeldingCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointDesc", DbType="VarChar(50)")] - public string JointDesc - { - get - { - return this._JointDesc; - } - set - { - if ((this._JointDesc != value)) - { - this._JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairFalg", DbType="VarChar(6)")] - public string RepairFalg - { - get - { - return this._RepairFalg; - } - set - { - if ((this._RepairFalg != value)) - { - this._RepairFalg = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="Int")] - public System.Nullable RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this._RepairNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AgainId", DbType="NVarChar(50)")] - public string AgainId - { - get - { - return this._AgainId; - } - set - { - if ((this._AgainId != value)) - { - this._AgainId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Int")] - public System.Nullable TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this._TrustType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Int")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this._IsOK = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK1", DbType="Int NOT NULL")] - public int IsOK1 - { - get - { - return this._IsOK1; - } - set - { - if ((this._IsOK1 != value)) - { - this._IsOK1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK2", DbType="Int NOT NULL")] - public int IsOK2 - { - get - { - return this._IsOK2; - } - set - { - if ((this._IsOK2 != value)) - { - this._IsOK2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK3", DbType="Int NOT NULL")] - public int IsOK3 - { - get - { - return this._IsOK3; - } - set - { - if ((this._IsOK3 != value)) - { - this._IsOK3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResultDate", DbType="DateTime")] - public System.Nullable ResultDate - { - get - { - return this._ResultDate; - } - set - { - if ((this._ResultDate != value)) - { - this._ResultDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_View_CH_HotProessTrustItem")] - public partial class PV_View_CH_HotProessTrustItem - { - - private string _HotProessTrustItemId; - - private string _HotProessTrustId; - - private string _HotId; - - private string _WeldingId; - - private System.Nullable _RepairNum; - - private string _RepairFalg; - - private string _AgainId; - - private System.Nullable _TrustType; - - private System.Nullable _TrustDate; - - private string _WeldingCode; - - private string _JOT_JointNo; - - private string _HeatTreatmentType; - - private string _DReportID; - - private System.Nullable _ReportDate; - - private string _Remark; - - private string _TrustItemID; - - private string _HardTestResultId; - - private string _HardRepairMark; - - private string _HardProessTrustId; - - private string _HotProessResultId; - - private System.Nullable _IsOK; - - private System.Nullable _IsNeedHardTest; - - private System.Nullable _CompleteDate; - - private string _ProessTypes; - - private string _JointDesc; - - private string _ProjectId; - - private string _WME_Code; - - private string _WED_Code; - - private string _STE_Code; - - public PV_View_CH_HotProessTrustItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustItemId", DbType="VarChar(50)")] - public string HotProessTrustItemId - { - get - { - return this._HotProessTrustItemId; - } - set - { - if ((this._HotProessTrustItemId != value)) - { - this._HotProessTrustItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="VarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this._HotProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this._HotId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this._WeldingId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="Int")] - public System.Nullable RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this._RepairNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairFalg", DbType="VarChar(6)")] - public string RepairFalg - { - get - { - return this._RepairFalg; - } - set - { - if ((this._RepairFalg != value)) - { - this._RepairFalg = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AgainId", DbType="NVarChar(50)")] - public string AgainId - { - get - { - return this._AgainId; - } - set - { - if ((this._AgainId != value)) - { - this._AgainId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Int")] - public System.Nullable TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this._TrustType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustDate", DbType="DateTime")] - public System.Nullable TrustDate - { - get - { - return this._TrustDate; - } - set - { - if ((this._TrustDate != value)) - { - this._TrustDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this._WeldingCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeatTreatmentType", DbType="VarChar(100)")] - public string HeatTreatmentType - { - get - { - return this._HeatTreatmentType; - } - set - { - if ((this._HeatTreatmentType != value)) - { - this._HeatTreatmentType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this._DReportID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportDate", DbType="DateTime")] - public System.Nullable ReportDate - { - get - { - return this._ReportDate; - } - set - { - if ((this._ReportDate != value)) - { - this._ReportDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustItemID", DbType="VarChar(50)")] - public string TrustItemID - { - get - { - return this._TrustItemID; - } - set - { - if ((this._TrustItemID != value)) - { - this._TrustItemID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardTestResultId", DbType="VarChar(50)")] - public string HardTestResultId - { - get - { - return this._HardTestResultId; - } - set - { - if ((this._HardTestResultId != value)) - { - this._HardTestResultId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardRepairMark", DbType="VarChar(10)")] - public string HardRepairMark - { - get - { - return this._HardRepairMark; - } - set - { - if ((this._HardRepairMark != value)) - { - this._HardRepairMark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessTrustId", DbType="VarChar(50)")] - public string HardProessTrustId - { - get - { - return this._HardProessTrustId; - } - set - { - if ((this._HardProessTrustId != value)) - { - this._HardProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessResultId", DbType="VarChar(50)")] - public string HotProessResultId - { - get - { - return this._HotProessResultId; - } - set - { - if ((this._HotProessResultId != value)) - { - this._HotProessResultId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOK", DbType="Bit")] - public System.Nullable IsOK - { - get - { - return this._IsOK; - } - set - { - if ((this._IsOK != value)) - { - this._IsOK = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNeedHardTest", DbType="Bit")] - public System.Nullable IsNeedHardTest - { - get - { - return this._IsNeedHardTest; - } - set - { - if ((this._IsNeedHardTest != value)) - { - this._IsNeedHardTest = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompleteDate", DbType="DateTime")] - public System.Nullable CompleteDate - { - get - { - return this._CompleteDate; - } - set - { - if ((this._CompleteDate != value)) - { - this._CompleteDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="VarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this._ProessTypes = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointDesc", DbType="VarChar(50)")] - public string JointDesc - { - get - { - return this._JointDesc; - } - set - { - if ((this._JointDesc != value)) - { - this._JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Code", DbType="VarChar(20)")] - public string WME_Code - { - get - { - return this._WME_Code; - } - set - { - if ((this._WME_Code != value)) - { - this._WME_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_View_CH_HotResultItem")] - public partial class PV_View_CH_HotResultItem - { - - private string _HotProessResultId; - - private string _HardProessResultId; - - private string _HotProessTrustId; - - private string _ProessTypes; - - private string _ProjectId; - - private string _HotId; - - private string _WeldingCode; - - private string _JointDesc; - - private string _RepairFalg; - - private System.Nullable _RepairNum; - - private string _AgainId; - - private System.Nullable _TrustType; - - private string _STE_Code; - - private System.Nullable _HardIsOk; - - private System.Nullable _HardResultDate; - - private System.Nullable _HotIsOK; - - private System.Nullable _HotResultDate; - - public PV_View_CH_HotResultItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessResultId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string HotProessResultId - { - get - { - return this._HotProessResultId; - } - set - { - if ((this._HotProessResultId != value)) - { - this._HotProessResultId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessResultId", DbType="NVarChar(50)")] - public string HardProessResultId - { - get - { - return this._HardProessResultId; - } - set - { - if ((this._HardProessResultId != value)) - { - this._HardProessResultId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustId", DbType="VarChar(50)")] - public string HotProessTrustId - { - get - { - return this._HotProessTrustId; - } - set - { - if ((this._HotProessTrustId != value)) - { - this._HotProessTrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProessTypes", DbType="VarChar(50)")] - public string ProessTypes - { - get - { - return this._ProessTypes; - } - set - { - if ((this._ProessTypes != value)) - { - this._ProessTypes = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="VarChar(50)")] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this._HotId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this._WeldingCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointDesc", DbType="VarChar(50)")] - public string JointDesc - { - get - { - return this._JointDesc; - } - set - { - if ((this._JointDesc != value)) - { - this._JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairFalg", DbType="VarChar(6)")] - public string RepairFalg - { - get - { - return this._RepairFalg; - } - set - { - if ((this._RepairFalg != value)) - { - this._RepairFalg = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="Int")] - public System.Nullable RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this._RepairNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AgainId", DbType="NVarChar(50)")] - public string AgainId - { - get - { - return this._AgainId; - } - set - { - if ((this._AgainId != value)) - { - this._AgainId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Int")] - public System.Nullable TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this._TrustType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardIsOk", DbType="Int")] - public System.Nullable HardIsOk - { - get - { - return this._HardIsOk; - } - set - { - if ((this._HardIsOk != value)) - { - this._HardIsOk = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardResultDate", DbType="DateTime")] - public System.Nullable HardResultDate - { - get - { - return this._HardResultDate; - } - set - { - if ((this._HardResultDate != value)) - { - this._HardResultDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotIsOK", DbType="Bit")] - public System.Nullable HotIsOK - { - get - { - return this._HotIsOK; - } - set - { - if ((this._HotIsOK != value)) - { - this._HotIsOK = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotResultDate", DbType="DateTime")] - public System.Nullable HotResultDate - { - get - { - return this._HotResultDate; - } - set - { - if ((this._HotResultDate != value)) - { - this._HotResultDate = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_View_HotWeldInformation")] - public partial class PV_View_HotWeldInformation - { - - private string _HotId; - - private string _WeldingId; - - private string _JOT_JointNo; - - private string _RepairFalg; - - private System.Nullable _RepairNum; - - private string _AgainId; - - private System.Nullable _TrustType; - - private System.Nullable _IsHotProessTrust; - - private string _ProjectId; - - private string _WeldingCode; - - private string _DReportID; - - private string _TextureMaterial1; - - private string _TextureMaterial2; - - private string _WeldLength; - - private System.Nullable _WeldUnit; - - private string _GrooveType; - - private string _Thickness; - - private string _HeatTreatmentType; - - private string _UnitId; - - private string _JointDesc; - - private string _Negative; - - private string _RepairMark; - - private string _WmeId; - - private string _BackingWelderId; - - private string _CoverWelderId; - - private System.Nullable _Confirmation; - - private System.Nullable _QualifiedStatus; - - private System.Nullable _QualifiedDate; - - private string _QualifiedClerkId; - - private string _WED_Code; - - private string _STE_Code; - - private string _HardQuaStandard; - - public PV_View_HotWeldInformation() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string HotId - { - get - { - return this._HotId; - } - set - { - if ((this._HotId != value)) - { - this._HotId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this._WeldingId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50)")] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairFalg", DbType="VarChar(6)")] - public string RepairFalg - { - get - { - return this._RepairFalg; - } - set - { - if ((this._RepairFalg != value)) - { - this._RepairFalg = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairNum", DbType="Int")] - public System.Nullable RepairNum - { - get - { - return this._RepairNum; - } - set - { - if ((this._RepairNum != value)) - { - this._RepairNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AgainId", DbType="NVarChar(50)")] - public string AgainId - { - get - { - return this._AgainId; - } - set - { - if ((this._AgainId != value)) - { - this._AgainId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustType", DbType="Int")] - public System.Nullable TrustType - { - get - { - return this._TrustType; - } - set - { - if ((this._TrustType != value)) - { - this._TrustType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHotProessTrust", DbType="Int")] - public System.Nullable IsHotProessTrust - { - get - { - return this._IsHotProessTrust; - } - set - { - if ((this._IsHotProessTrust != value)) - { - this._IsHotProessTrust = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this._WeldingCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this._DReportID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TextureMaterial1", DbType="VarChar(50)")] - public string TextureMaterial1 - { - get - { - return this._TextureMaterial1; - } - set - { - if ((this._TextureMaterial1 != value)) - { - this._TextureMaterial1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TextureMaterial2", DbType="VarChar(50)")] - public string TextureMaterial2 - { - get - { - return this._TextureMaterial2; - } - set - { - if ((this._TextureMaterial2 != value)) - { - this._TextureMaterial2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldLength", DbType="VarChar(50)")] - public string WeldLength - { - get - { - return this._WeldLength; - } - set - { - if ((this._WeldLength != value)) - { - this._WeldLength = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldUnit", DbType="Int")] - public System.Nullable WeldUnit - { - get - { - return this._WeldUnit; - } - set - { - if ((this._WeldUnit != value)) - { - this._WeldUnit = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GrooveType", DbType="VarChar(50)")] - public string GrooveType - { - get - { - return this._GrooveType; - } - set - { - if ((this._GrooveType != value)) - { - this._GrooveType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Thickness", DbType="VarChar(20)")] - public string Thickness - { - get - { - return this._Thickness; - } - set - { - if ((this._Thickness != value)) - { - this._Thickness = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeatTreatmentType", DbType="VarChar(100)")] - public string HeatTreatmentType - { - get - { - return this._HeatTreatmentType; - } - set - { - if ((this._HeatTreatmentType != value)) - { - this._HeatTreatmentType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="VarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this._UnitId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointDesc", DbType="VarChar(50)")] - public string JointDesc - { - get - { - return this._JointDesc; - } - set - { - if ((this._JointDesc != value)) - { - this._JointDesc = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Negative", DbType="VarChar(50)")] - public string Negative - { - get - { - return this._Negative; - } - set - { - if ((this._Negative != value)) - { - this._Negative = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairMark", DbType="VarChar(20)")] - public string RepairMark - { - get - { - return this._RepairMark; - } - set - { - if ((this._RepairMark != value)) - { - this._RepairMark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WmeId", DbType="VarChar(50)")] - public string WmeId - { - get - { - return this._WmeId; - } - set - { - if ((this._WmeId != value)) - { - this._WmeId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BackingWelderId", DbType="VarChar(1000)")] - public string BackingWelderId - { - get - { - return this._BackingWelderId; - } - set - { - if ((this._BackingWelderId != value)) - { - this._BackingWelderId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CoverWelderId", DbType="VarChar(1000)")] - public string CoverWelderId - { - get - { - return this._CoverWelderId; - } - set - { - if ((this._CoverWelderId != value)) - { - this._CoverWelderId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Confirmation", DbType="Int")] - public System.Nullable Confirmation - { - get - { - return this._Confirmation; - } - set - { - if ((this._Confirmation != value)) - { - this._Confirmation = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedStatus", DbType="Int")] - public System.Nullable QualifiedStatus - { - get - { - return this._QualifiedStatus; - } - set - { - if ((this._QualifiedStatus != value)) - { - this._QualifiedStatus = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedDate", DbType="DateTime")] - public System.Nullable QualifiedDate - { - get - { - return this._QualifiedDate; - } - set - { - if ((this._QualifiedDate != value)) - { - this._QualifiedDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedClerkId", DbType="VarChar(50)")] - public string QualifiedClerkId - { - get - { - return this._QualifiedClerkId; - } - set - { - if ((this._QualifiedClerkId != value)) - { - this._QualifiedClerkId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardQuaStandard", DbType="NVarChar(50)")] - public string HardQuaStandard - { - get - { - return this._HardQuaStandard; - } - set - { - if ((this._HardQuaStandard != value)) - { - this._HardQuaStandard = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_View_PV_WeldWelder")] - public partial class PV_View_PV_WeldWelder - { - - private System.Nullable _Id; - - private string _Welder; - - private string _WeldingId; - - private string _ProjectId; - - private string _TextureMaterial1; - - private string _TextureMaterial2; - - private string _DReportID; - - private System.Nullable _RT_FilmNum; - - private string _RT1_RepairFilm; - - private string _RT2_RepairFilm; - - private System.Nullable _RT2_RepairFilmNum; - - private string _RT3_RepairFilm; - - private System.Nullable _RT3_RepairFilmNum; - - public PV_View_PV_WeldWelder() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="UniqueIdentifier")] - public System.Nullable Id - { - get - { - return this._Id; - } - set - { - if ((this._Id != value)) - { - this._Id = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Welder", DbType="VarChar(1000)")] - public string Welder - { - get - { - return this._Welder; - } - set - { - if ((this._Welder != value)) - { - this._Welder = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this._WeldingId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TextureMaterial1", DbType="VarChar(50)")] - public string TextureMaterial1 - { - get - { - return this._TextureMaterial1; - } - set - { - if ((this._TextureMaterial1 != value)) - { - this._TextureMaterial1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TextureMaterial2", DbType="VarChar(50)")] - public string TextureMaterial2 - { - get - { - return this._TextureMaterial2; - } - set - { - if ((this._TextureMaterial2 != value)) - { - this._TextureMaterial2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this._DReportID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FilmNum", DbType="Int")] - public System.Nullable RT_FilmNum - { - get - { - return this._RT_FilmNum; - } - set - { - if ((this._RT_FilmNum != value)) - { - this._RT_FilmNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT1_RepairFilm", DbType="VarChar(1000)")] - public string RT1_RepairFilm - { - get - { - return this._RT1_RepairFilm; - } - set - { - if ((this._RT1_RepairFilm != value)) - { - this._RT1_RepairFilm = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT2_RepairFilm", DbType="VarChar(1000)")] - public string RT2_RepairFilm - { - get - { - return this._RT2_RepairFilm; - } - set - { - if ((this._RT2_RepairFilm != value)) - { - this._RT2_RepairFilm = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT2_RepairFilmNum", DbType="Int")] - public System.Nullable RT2_RepairFilmNum - { - get - { - return this._RT2_RepairFilmNum; - } - set - { - if ((this._RT2_RepairFilmNum != value)) - { - this._RT2_RepairFilmNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT3_RepairFilm", DbType="VarChar(1000)")] - public string RT3_RepairFilm - { - get - { - return this._RT3_RepairFilm; - } - set - { - if ((this._RT3_RepairFilm != value)) - { - this._RT3_RepairFilm = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT3_RepairFilmNum", DbType="Int")] - public System.Nullable RT3_RepairFilmNum - { - get - { - return this._RT3_RepairFilmNum; - } - set - { - if ((this._RT3_RepairFilmNum != value)) - { - this._RT3_RepairFilmNum = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_WeldAppearanceRecord")] - public partial class PV_WeldAppearanceRecord : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _AppearanceId; - - private string _ProjectId; - - private string _WeldingId; - - private string _WeldingCode; - - private System.Nullable _MaxStaggerEdge; - - private System.Nullable _MaxAngularity; - - private System.Nullable _MaxUndercutDepth; - - private System.Nullable _MaxUndercutLength; - - private System.Nullable _MaxContinuousLength; - - private System.Nullable _WeldLegHeigth; - - private string _InspectConclusion; - - private System.Nullable _InspectTime; - - private string _CreateId; - - private System.Nullable _CreateTime; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnAppearanceIdChanging(string value); - partial void OnAppearanceIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnWeldingIdChanging(string value); - partial void OnWeldingIdChanged(); - partial void OnWeldingCodeChanging(string value); - partial void OnWeldingCodeChanged(); - partial void OnMaxStaggerEdgeChanging(System.Nullable value); - partial void OnMaxStaggerEdgeChanged(); - partial void OnMaxAngularityChanging(System.Nullable value); - partial void OnMaxAngularityChanged(); - partial void OnMaxUndercutDepthChanging(System.Nullable value); - partial void OnMaxUndercutDepthChanged(); - partial void OnMaxUndercutLengthChanging(System.Nullable value); - partial void OnMaxUndercutLengthChanged(); - partial void OnMaxContinuousLengthChanging(System.Nullable value); - partial void OnMaxContinuousLengthChanged(); - partial void OnWeldLegHeigthChanging(System.Nullable value); - partial void OnWeldLegHeigthChanged(); - partial void OnInspectConclusionChanging(string value); - partial void OnInspectConclusionChanged(); - partial void OnInspectTimeChanging(System.Nullable value); - partial void OnInspectTimeChanged(); - partial void OnCreateIdChanging(string value); - partial void OnCreateIdChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - #endregion - - public PV_WeldAppearanceRecord() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AppearanceId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string AppearanceId - { - get - { - return this._AppearanceId; - } - set - { - if ((this._AppearanceId != value)) - { - this.OnAppearanceIdChanging(value); - this.SendPropertyChanging(); - this._AppearanceId = value; - this.SendPropertyChanged("AppearanceId"); - this.OnAppearanceIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50)")] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this.OnWeldingIdChanging(value); - this.SendPropertyChanging(); - this._WeldingId = value; - this.SendPropertyChanged("WeldingId"); - this.OnWeldingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this.OnWeldingCodeChanging(value); - this.SendPropertyChanging(); - this._WeldingCode = value; - this.SendPropertyChanged("WeldingCode"); - this.OnWeldingCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxStaggerEdge", DbType="Decimal(18,2)")] - public System.Nullable MaxStaggerEdge - { - get - { - return this._MaxStaggerEdge; - } - set - { - if ((this._MaxStaggerEdge != value)) - { - this.OnMaxStaggerEdgeChanging(value); - this.SendPropertyChanging(); - this._MaxStaggerEdge = value; - this.SendPropertyChanged("MaxStaggerEdge"); - this.OnMaxStaggerEdgeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxAngularity", DbType="Decimal(18,2)")] - public System.Nullable MaxAngularity - { - get - { - return this._MaxAngularity; - } - set - { - if ((this._MaxAngularity != value)) - { - this.OnMaxAngularityChanging(value); - this.SendPropertyChanging(); - this._MaxAngularity = value; - this.SendPropertyChanged("MaxAngularity"); - this.OnMaxAngularityChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxUndercutDepth", DbType="Decimal(18,2)")] - public System.Nullable MaxUndercutDepth - { - get - { - return this._MaxUndercutDepth; - } - set - { - if ((this._MaxUndercutDepth != value)) - { - this.OnMaxUndercutDepthChanging(value); - this.SendPropertyChanging(); - this._MaxUndercutDepth = value; - this.SendPropertyChanged("MaxUndercutDepth"); - this.OnMaxUndercutDepthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxUndercutLength", DbType="Decimal(18,2)")] - public System.Nullable MaxUndercutLength - { - get - { - return this._MaxUndercutLength; - } - set - { - if ((this._MaxUndercutLength != value)) - { - this.OnMaxUndercutLengthChanging(value); - this.SendPropertyChanging(); - this._MaxUndercutLength = value; - this.SendPropertyChanged("MaxUndercutLength"); - this.OnMaxUndercutLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxContinuousLength", DbType="Decimal(18,2)")] - public System.Nullable MaxContinuousLength - { - get - { - return this._MaxContinuousLength; - } - set - { - if ((this._MaxContinuousLength != value)) - { - this.OnMaxContinuousLengthChanging(value); - this.SendPropertyChanging(); - this._MaxContinuousLength = value; - this.SendPropertyChanged("MaxContinuousLength"); - this.OnMaxContinuousLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldLegHeigth", DbType="Decimal(18,2)")] - public System.Nullable WeldLegHeigth - { - get - { - return this._WeldLegHeigth; - } - set - { - if ((this._WeldLegHeigth != value)) - { - this.OnWeldLegHeigthChanging(value); - this.SendPropertyChanging(); - this._WeldLegHeigth = value; - this.SendPropertyChanged("WeldLegHeigth"); - this.OnWeldLegHeigthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectConclusion", DbType="VarChar(50)")] - public string InspectConclusion - { - get - { - return this._InspectConclusion; - } - set - { - if ((this._InspectConclusion != value)) - { - this.OnInspectConclusionChanging(value); - this.SendPropertyChanging(); - this._InspectConclusion = value; - this.SendPropertyChanged("InspectConclusion"); - this.OnInspectConclusionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")] - public System.Nullable InspectTime - { - get - { - return this._InspectTime; - } - set - { - if ((this._InspectTime != value)) - { - this.OnInspectTimeChanging(value); - this.SendPropertyChanging(); - this._InspectTime = value; - this.SendPropertyChanged("InspectTime"); - this.OnInspectTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateId", DbType="VarChar(50)")] - public string CreateId - { - get - { - return this._CreateId; - } - set - { - if ((this._CreateId != value)) - { - this.OnCreateIdChanging(value); - this.SendPropertyChanging(); - this._CreateId = value; - this.SendPropertyChanged("CreateId"); - this.OnCreateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PV_WeldInformation")] - public partial class PV_WeldInformation : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldingId; - - private string _ProjectId; - - private string _WeldingCode; - - private string _DReportID; - - private string _TextureMaterial1; - - private string _TextureMaterial2; - - private string _WeldLength; - - private System.Nullable _WeldUnit; - - private string _GrooveType; - - private string _Thickness; - - private string _HeatTreatmentType; - - private string _UnitId; - - private string _JointDesc; - - private string _Negative; - - private string _RepairMark; - - private string _WmeId; - - private string _BackingWelderId; - - private string _CoverWelderId; - - private System.Nullable _Confirmation; - - private System.Nullable _QualifiedStatus; - - private System.Nullable _QualifiedDate; - - private string _QualifiedClerkId; - - private string _RT_TrustCode; - - private System.Nullable _RT_TrustDate; - - private string _RT_States; - - private System.Nullable _RTFeedbackDate; - - private System.Nullable _RT_FilmNum; - - private System.Nullable _RT1_RepairFilmNum; - - private System.Nullable _RT2_RepairFilmNum; - - private System.Nullable _RT3_RepairFilmNum; - - private string _RT1_RepairFilm; - - private string _RT2_RepairFilm; - - private string _RT3_RepairFilm; - - private string _PT_TrustCode; - - private System.Nullable _PT_TrustDate; - - private string _PT_States; - - private string _MT_TrustCode; - - private System.Nullable _MT_TrustDate; - - private string _MT_States; - - private string _UT_TrustCode; - - private System.Nullable _UT_TrustDate; - - private string _UT_States; - - private string _PAUT_TrustCode; - - private System.Nullable _PAUT_TrustDate; - - private string _PAUT_States; - - private string _TOFD_TrustCode; - - private System.Nullable _TOFD_TrustDate; - - private string _TOFD_States; - - private System.Nullable _HotProessTrustDate; - - private System.Nullable _HotProessResultOK; - - private System.Nullable _HotResultDate; - - private System.Nullable _HardProessTrustDate; - - private System.Nullable _HardProessResultOK; - - private System.Nullable _HardResultDate; - - private System.Nullable _PTIsRepair1; - - private System.Nullable _PTIsRepair2; - - private System.Nullable _PTIsRepair3; - - private System.Nullable _MTIsRepair1; - - private System.Nullable _MTIsRepair2; - - private System.Nullable _MTIsRepair3; - - private System.Nullable _UTIsRepair1; - - private System.Nullable _UTIsRepair2; - - private System.Nullable _UTIsRepair3; - - private System.Nullable _TOFDIsRepair1; - - private System.Nullable _TOFDIsRepair2; - - private System.Nullable _TOFDIsRepair3; - - private System.Nullable _PAUTIsRepair1; - - private System.Nullable _PAUTIsRepair2; - - private System.Nullable _PAUTIsRepair3; - - private string _HotReportId; - - private System.Nullable _IsProess; - - private System.Nullable _IsRepairHot; - - private System.Nullable _R_Material; - - private string _CreateId; - - private System.Nullable _CreateTime; - - private int _SortField; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldingIdChanging(string value); - partial void OnWeldingIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnWeldingCodeChanging(string value); - partial void OnWeldingCodeChanged(); - partial void OnDReportIDChanging(string value); - partial void OnDReportIDChanged(); - partial void OnTextureMaterial1Changing(string value); - partial void OnTextureMaterial1Changed(); - partial void OnTextureMaterial2Changing(string value); - partial void OnTextureMaterial2Changed(); - partial void OnWeldLengthChanging(string value); - partial void OnWeldLengthChanged(); - partial void OnWeldUnitChanging(System.Nullable value); - partial void OnWeldUnitChanged(); - partial void OnGrooveTypeChanging(string value); - partial void OnGrooveTypeChanged(); - partial void OnThicknessChanging(string value); - partial void OnThicknessChanged(); - partial void OnHeatTreatmentTypeChanging(string value); - partial void OnHeatTreatmentTypeChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnJointDescChanging(string value); - partial void OnJointDescChanged(); - partial void OnNegativeChanging(string value); - partial void OnNegativeChanged(); - partial void OnRepairMarkChanging(string value); - partial void OnRepairMarkChanged(); - partial void OnWmeIdChanging(string value); - partial void OnWmeIdChanged(); - partial void OnBackingWelderIdChanging(string value); - partial void OnBackingWelderIdChanged(); - partial void OnCoverWelderIdChanging(string value); - partial void OnCoverWelderIdChanged(); - partial void OnConfirmationChanging(System.Nullable value); - partial void OnConfirmationChanged(); - partial void OnQualifiedStatusChanging(System.Nullable value); - partial void OnQualifiedStatusChanged(); - partial void OnQualifiedDateChanging(System.Nullable value); - partial void OnQualifiedDateChanged(); - partial void OnQualifiedClerkIdChanging(string value); - partial void OnQualifiedClerkIdChanged(); - partial void OnRT_TrustCodeChanging(string value); - partial void OnRT_TrustCodeChanged(); - partial void OnRT_TrustDateChanging(System.Nullable value); - partial void OnRT_TrustDateChanged(); - partial void OnRT_StatesChanging(string value); - partial void OnRT_StatesChanged(); - partial void OnRTFeedbackDateChanging(System.Nullable value); - partial void OnRTFeedbackDateChanged(); - partial void OnRT_FilmNumChanging(System.Nullable value); - partial void OnRT_FilmNumChanged(); - partial void OnRT1_RepairFilmNumChanging(System.Nullable value); - partial void OnRT1_RepairFilmNumChanged(); - partial void OnRT2_RepairFilmNumChanging(System.Nullable value); - partial void OnRT2_RepairFilmNumChanged(); - partial void OnRT3_RepairFilmNumChanging(System.Nullable value); - partial void OnRT3_RepairFilmNumChanged(); - partial void OnRT1_RepairFilmChanging(string value); - partial void OnRT1_RepairFilmChanged(); - partial void OnRT2_RepairFilmChanging(string value); - partial void OnRT2_RepairFilmChanged(); - partial void OnRT3_RepairFilmChanging(string value); - partial void OnRT3_RepairFilmChanged(); - partial void OnPT_TrustCodeChanging(string value); - partial void OnPT_TrustCodeChanged(); - partial void OnPT_TrustDateChanging(System.Nullable value); - partial void OnPT_TrustDateChanged(); - partial void OnPT_StatesChanging(string value); - partial void OnPT_StatesChanged(); - partial void OnMT_TrustCodeChanging(string value); - partial void OnMT_TrustCodeChanged(); - partial void OnMT_TrustDateChanging(System.Nullable value); - partial void OnMT_TrustDateChanged(); - partial void OnMT_StatesChanging(string value); - partial void OnMT_StatesChanged(); - partial void OnUT_TrustCodeChanging(string value); - partial void OnUT_TrustCodeChanged(); - partial void OnUT_TrustDateChanging(System.Nullable value); - partial void OnUT_TrustDateChanged(); - partial void OnUT_StatesChanging(string value); - partial void OnUT_StatesChanged(); - partial void OnPAUT_TrustCodeChanging(string value); - partial void OnPAUT_TrustCodeChanged(); - partial void OnPAUT_TrustDateChanging(System.Nullable value); - partial void OnPAUT_TrustDateChanged(); - partial void OnPAUT_StatesChanging(string value); - partial void OnPAUT_StatesChanged(); - partial void OnTOFD_TrustCodeChanging(string value); - partial void OnTOFD_TrustCodeChanged(); - partial void OnTOFD_TrustDateChanging(System.Nullable value); - partial void OnTOFD_TrustDateChanged(); - partial void OnTOFD_StatesChanging(string value); - partial void OnTOFD_StatesChanged(); - partial void OnHotProessTrustDateChanging(System.Nullable value); - partial void OnHotProessTrustDateChanged(); - partial void OnHotProessResultOKChanging(System.Nullable value); - partial void OnHotProessResultOKChanged(); - partial void OnHotResultDateChanging(System.Nullable value); - partial void OnHotResultDateChanged(); - partial void OnHardProessTrustDateChanging(System.Nullable value); - partial void OnHardProessTrustDateChanged(); - partial void OnHardProessResultOKChanging(System.Nullable value); - partial void OnHardProessResultOKChanged(); - partial void OnHardResultDateChanging(System.Nullable value); - partial void OnHardResultDateChanged(); - partial void OnPTIsRepair1Changing(System.Nullable value); - partial void OnPTIsRepair1Changed(); - partial void OnPTIsRepair2Changing(System.Nullable value); - partial void OnPTIsRepair2Changed(); - partial void OnPTIsRepair3Changing(System.Nullable value); - partial void OnPTIsRepair3Changed(); - partial void OnMTIsRepair1Changing(System.Nullable value); - partial void OnMTIsRepair1Changed(); - partial void OnMTIsRepair2Changing(System.Nullable value); - partial void OnMTIsRepair2Changed(); - partial void OnMTIsRepair3Changing(System.Nullable value); - partial void OnMTIsRepair3Changed(); - partial void OnUTIsRepair1Changing(System.Nullable value); - partial void OnUTIsRepair1Changed(); - partial void OnUTIsRepair2Changing(System.Nullable value); - partial void OnUTIsRepair2Changed(); - partial void OnUTIsRepair3Changing(System.Nullable value); - partial void OnUTIsRepair3Changed(); - partial void OnTOFDIsRepair1Changing(System.Nullable value); - partial void OnTOFDIsRepair1Changed(); - partial void OnTOFDIsRepair2Changing(System.Nullable value); - partial void OnTOFDIsRepair2Changed(); - partial void OnTOFDIsRepair3Changing(System.Nullable value); - partial void OnTOFDIsRepair3Changed(); - partial void OnPAUTIsRepair1Changing(System.Nullable value); - partial void OnPAUTIsRepair1Changed(); - partial void OnPAUTIsRepair2Changing(System.Nullable value); - partial void OnPAUTIsRepair2Changed(); - partial void OnPAUTIsRepair3Changing(System.Nullable value); - partial void OnPAUTIsRepair3Changed(); - partial void OnHotReportIdChanging(string value); - partial void OnHotReportIdChanged(); - partial void OnIsProessChanging(System.Nullable value); - partial void OnIsProessChanged(); - partial void OnIsRepairHotChanging(System.Nullable value); - partial void OnIsRepairHotChanged(); - partial void OnR_MaterialChanging(System.Nullable value); - partial void OnR_MaterialChanged(); - partial void OnCreateIdChanging(string value); - partial void OnCreateIdChanged(); - partial void OnCreateTimeChanging(System.Nullable value); - partial void OnCreateTimeChanged(); - partial void OnSortFieldChanging(int value); - partial void OnSortFieldChanged(); - #endregion - - public PV_WeldInformation() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this.OnWeldingIdChanging(value); - this.SendPropertyChanging(); - this._WeldingId = value; - this.SendPropertyChanged("WeldingId"); - this.OnWeldingIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this.OnWeldingCodeChanging(value); - this.SendPropertyChanging(); - this._WeldingCode = value; - this.SendPropertyChanged("WeldingCode"); - this.OnWeldingCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this.OnDReportIDChanging(value); - this.SendPropertyChanging(); - this._DReportID = value; - this.SendPropertyChanged("DReportID"); - this.OnDReportIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TextureMaterial1", DbType="VarChar(50)")] - public string TextureMaterial1 - { - get - { - return this._TextureMaterial1; - } - set - { - if ((this._TextureMaterial1 != value)) - { - this.OnTextureMaterial1Changing(value); - this.SendPropertyChanging(); - this._TextureMaterial1 = value; - this.SendPropertyChanged("TextureMaterial1"); - this.OnTextureMaterial1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TextureMaterial2", DbType="VarChar(50)")] - public string TextureMaterial2 - { - get - { - return this._TextureMaterial2; - } - set - { - if ((this._TextureMaterial2 != value)) - { - this.OnTextureMaterial2Changing(value); - this.SendPropertyChanging(); - this._TextureMaterial2 = value; - this.SendPropertyChanged("TextureMaterial2"); - this.OnTextureMaterial2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldLength", DbType="VarChar(50)")] - public string WeldLength - { - get - { - return this._WeldLength; - } - set - { - if ((this._WeldLength != value)) - { - this.OnWeldLengthChanging(value); - this.SendPropertyChanging(); - this._WeldLength = value; - this.SendPropertyChanged("WeldLength"); - this.OnWeldLengthChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldUnit", DbType="Int")] - public System.Nullable WeldUnit - { - get - { - return this._WeldUnit; - } - set - { - if ((this._WeldUnit != value)) - { - this.OnWeldUnitChanging(value); - this.SendPropertyChanging(); - this._WeldUnit = value; - this.SendPropertyChanged("WeldUnit"); - this.OnWeldUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GrooveType", DbType="VarChar(50)")] - public string GrooveType - { - get - { - return this._GrooveType; - } - set - { - if ((this._GrooveType != value)) - { - this.OnGrooveTypeChanging(value); - this.SendPropertyChanging(); - this._GrooveType = value; - this.SendPropertyChanged("GrooveType"); - this.OnGrooveTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Thickness", DbType="VarChar(20)")] - public string Thickness - { - get - { - return this._Thickness; - } - set - { - if ((this._Thickness != value)) - { - this.OnThicknessChanging(value); - this.SendPropertyChanging(); - this._Thickness = value; - this.SendPropertyChanged("Thickness"); - this.OnThicknessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeatTreatmentType", DbType="VarChar(100)")] - public string HeatTreatmentType - { - get - { - return this._HeatTreatmentType; - } - set - { - if ((this._HeatTreatmentType != value)) - { - this.OnHeatTreatmentTypeChanging(value); - this.SendPropertyChanging(); - this._HeatTreatmentType = value; - this.SendPropertyChanged("HeatTreatmentType"); - this.OnHeatTreatmentTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="VarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JointDesc", DbType="VarChar(50)")] - public string JointDesc - { - get - { - return this._JointDesc; - } - set - { - if ((this._JointDesc != value)) - { - this.OnJointDescChanging(value); - this.SendPropertyChanging(); - this._JointDesc = value; - this.SendPropertyChanged("JointDesc"); - this.OnJointDescChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Negative", DbType="VarChar(50)")] - public string Negative - { - get - { - return this._Negative; - } - set - { - if ((this._Negative != value)) - { - this.OnNegativeChanging(value); - this.SendPropertyChanging(); - this._Negative = value; - this.SendPropertyChanged("Negative"); - this.OnNegativeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RepairMark", DbType="VarChar(20)")] - public string RepairMark - { - get - { - return this._RepairMark; - } - set - { - if ((this._RepairMark != value)) - { - this.OnRepairMarkChanging(value); - this.SendPropertyChanging(); - this._RepairMark = value; - this.SendPropertyChanged("RepairMark"); - this.OnRepairMarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WmeId", DbType="VarChar(50)")] - public string WmeId - { - get - { - return this._WmeId; - } - set - { - if ((this._WmeId != value)) - { - this.OnWmeIdChanging(value); - this.SendPropertyChanging(); - this._WmeId = value; - this.SendPropertyChanged("WmeId"); - this.OnWmeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BackingWelderId", DbType="VarChar(1000)")] - public string BackingWelderId - { - get - { - return this._BackingWelderId; - } - set - { - if ((this._BackingWelderId != value)) - { - this.OnBackingWelderIdChanging(value); - this.SendPropertyChanging(); - this._BackingWelderId = value; - this.SendPropertyChanged("BackingWelderId"); - this.OnBackingWelderIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CoverWelderId", DbType="VarChar(1000)")] - public string CoverWelderId - { - get - { - return this._CoverWelderId; - } - set - { - if ((this._CoverWelderId != value)) - { - this.OnCoverWelderIdChanging(value); - this.SendPropertyChanging(); - this._CoverWelderId = value; - this.SendPropertyChanged("CoverWelderId"); - this.OnCoverWelderIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Confirmation", DbType="Int")] - public System.Nullable Confirmation - { - get - { - return this._Confirmation; - } - set - { - if ((this._Confirmation != value)) - { - this.OnConfirmationChanging(value); - this.SendPropertyChanging(); - this._Confirmation = value; - this.SendPropertyChanged("Confirmation"); - this.OnConfirmationChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedStatus", DbType="Int")] - public System.Nullable QualifiedStatus - { - get - { - return this._QualifiedStatus; - } - set - { - if ((this._QualifiedStatus != value)) - { - this.OnQualifiedStatusChanging(value); - this.SendPropertyChanging(); - this._QualifiedStatus = value; - this.SendPropertyChanged("QualifiedStatus"); - this.OnQualifiedStatusChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedDate", DbType="DateTime")] - public System.Nullable QualifiedDate - { - get - { - return this._QualifiedDate; - } - set - { - if ((this._QualifiedDate != value)) - { - this.OnQualifiedDateChanging(value); - this.SendPropertyChanging(); - this._QualifiedDate = value; - this.SendPropertyChanged("QualifiedDate"); - this.OnQualifiedDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedClerkId", DbType="VarChar(50)")] - public string QualifiedClerkId - { - get - { - return this._QualifiedClerkId; - } - set - { - if ((this._QualifiedClerkId != value)) - { - this.OnQualifiedClerkIdChanging(value); - this.SendPropertyChanging(); - this._QualifiedClerkId = value; - this.SendPropertyChanged("QualifiedClerkId"); - this.OnQualifiedClerkIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TrustCode", DbType="VarChar(30)")] - public string RT_TrustCode - { - get - { - return this._RT_TrustCode; - } - set - { - if ((this._RT_TrustCode != value)) - { - this.OnRT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._RT_TrustCode = value; - this.SendPropertyChanged("RT_TrustCode"); - this.OnRT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TrustDate", DbType="DateTime")] - public System.Nullable RT_TrustDate - { - get - { - return this._RT_TrustDate; - } - set - { - if ((this._RT_TrustDate != value)) - { - this.OnRT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._RT_TrustDate = value; - this.SendPropertyChanged("RT_TrustDate"); - this.OnRT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_States", DbType="NVarChar(20)")] - public string RT_States - { - get - { - return this._RT_States; - } - set - { - if ((this._RT_States != value)) - { - this.OnRT_StatesChanging(value); - this.SendPropertyChanging(); - this._RT_States = value; - this.SendPropertyChanged("RT_States"); - this.OnRT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RTFeedbackDate", DbType="DateTime")] - public System.Nullable RTFeedbackDate - { - get - { - return this._RTFeedbackDate; - } - set - { - if ((this._RTFeedbackDate != value)) - { - this.OnRTFeedbackDateChanging(value); - this.SendPropertyChanging(); - this._RTFeedbackDate = value; - this.SendPropertyChanged("RTFeedbackDate"); - this.OnRTFeedbackDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FilmNum", DbType="Int")] - public System.Nullable RT_FilmNum - { - get - { - return this._RT_FilmNum; - } - set - { - if ((this._RT_FilmNum != value)) - { - this.OnRT_FilmNumChanging(value); - this.SendPropertyChanging(); - this._RT_FilmNum = value; - this.SendPropertyChanged("RT_FilmNum"); - this.OnRT_FilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT1_RepairFilmNum", DbType="Int")] - public System.Nullable RT1_RepairFilmNum - { - get - { - return this._RT1_RepairFilmNum; - } - set - { - if ((this._RT1_RepairFilmNum != value)) - { - this.OnRT1_RepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._RT1_RepairFilmNum = value; - this.SendPropertyChanged("RT1_RepairFilmNum"); - this.OnRT1_RepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT2_RepairFilmNum", DbType="Int")] - public System.Nullable RT2_RepairFilmNum - { - get - { - return this._RT2_RepairFilmNum; - } - set - { - if ((this._RT2_RepairFilmNum != value)) - { - this.OnRT2_RepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._RT2_RepairFilmNum = value; - this.SendPropertyChanged("RT2_RepairFilmNum"); - this.OnRT2_RepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT3_RepairFilmNum", DbType="Int")] - public System.Nullable RT3_RepairFilmNum - { - get - { - return this._RT3_RepairFilmNum; - } - set - { - if ((this._RT3_RepairFilmNum != value)) - { - this.OnRT3_RepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._RT3_RepairFilmNum = value; - this.SendPropertyChanged("RT3_RepairFilmNum"); - this.OnRT3_RepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT1_RepairFilm", DbType="VarChar(1000)")] - public string RT1_RepairFilm - { - get - { - return this._RT1_RepairFilm; - } - set - { - if ((this._RT1_RepairFilm != value)) - { - this.OnRT1_RepairFilmChanging(value); - this.SendPropertyChanging(); - this._RT1_RepairFilm = value; - this.SendPropertyChanged("RT1_RepairFilm"); - this.OnRT1_RepairFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT2_RepairFilm", DbType="VarChar(1000)")] - public string RT2_RepairFilm - { - get - { - return this._RT2_RepairFilm; - } - set - { - if ((this._RT2_RepairFilm != value)) - { - this.OnRT2_RepairFilmChanging(value); - this.SendPropertyChanging(); - this._RT2_RepairFilm = value; - this.SendPropertyChanged("RT2_RepairFilm"); - this.OnRT2_RepairFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT3_RepairFilm", DbType="VarChar(1000)")] - public string RT3_RepairFilm - { - get - { - return this._RT3_RepairFilm; - } - set - { - if ((this._RT3_RepairFilm != value)) - { - this.OnRT3_RepairFilmChanging(value); - this.SendPropertyChanging(); - this._RT3_RepairFilm = value; - this.SendPropertyChanged("RT3_RepairFilm"); - this.OnRT3_RepairFilmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_TrustCode", DbType="VarChar(30)")] - public string PT_TrustCode - { - get - { - return this._PT_TrustCode; - } - set - { - if ((this._PT_TrustCode != value)) - { - this.OnPT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._PT_TrustCode = value; - this.SendPropertyChanged("PT_TrustCode"); - this.OnPT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_TrustDate", DbType="DateTime")] - public System.Nullable PT_TrustDate - { - get - { - return this._PT_TrustDate; - } - set - { - if ((this._PT_TrustDate != value)) - { - this.OnPT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._PT_TrustDate = value; - this.SendPropertyChanged("PT_TrustDate"); - this.OnPT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_States", DbType="NVarChar(20)")] - public string PT_States - { - get - { - return this._PT_States; - } - set - { - if ((this._PT_States != value)) - { - this.OnPT_StatesChanging(value); - this.SendPropertyChanging(); - this._PT_States = value; - this.SendPropertyChanged("PT_States"); - this.OnPT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_TrustCode", DbType="VarChar(30)")] - public string MT_TrustCode - { - get - { - return this._MT_TrustCode; - } - set - { - if ((this._MT_TrustCode != value)) - { - this.OnMT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._MT_TrustCode = value; - this.SendPropertyChanged("MT_TrustCode"); - this.OnMT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_TrustDate", DbType="DateTime")] - public System.Nullable MT_TrustDate - { - get - { - return this._MT_TrustDate; - } - set - { - if ((this._MT_TrustDate != value)) - { - this.OnMT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._MT_TrustDate = value; - this.SendPropertyChanged("MT_TrustDate"); - this.OnMT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_States", DbType="NVarChar(20)")] - public string MT_States - { - get - { - return this._MT_States; - } - set - { - if ((this._MT_States != value)) - { - this.OnMT_StatesChanging(value); - this.SendPropertyChanging(); - this._MT_States = value; - this.SendPropertyChanged("MT_States"); - this.OnMT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_TrustCode", DbType="VarChar(30)")] - public string UT_TrustCode - { - get - { - return this._UT_TrustCode; - } - set - { - if ((this._UT_TrustCode != value)) - { - this.OnUT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._UT_TrustCode = value; - this.SendPropertyChanged("UT_TrustCode"); - this.OnUT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_TrustDate", DbType="DateTime")] - public System.Nullable UT_TrustDate - { - get - { - return this._UT_TrustDate; - } - set - { - if ((this._UT_TrustDate != value)) - { - this.OnUT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._UT_TrustDate = value; - this.SendPropertyChanged("UT_TrustDate"); - this.OnUT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_States", DbType="NVarChar(20)")] - public string UT_States - { - get - { - return this._UT_States; - } - set - { - if ((this._UT_States != value)) - { - this.OnUT_StatesChanging(value); - this.SendPropertyChanging(); - this._UT_States = value; - this.SendPropertyChanged("UT_States"); - this.OnUT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUT_TrustCode", DbType="VarChar(30)")] - public string PAUT_TrustCode - { - get - { - return this._PAUT_TrustCode; - } - set - { - if ((this._PAUT_TrustCode != value)) - { - this.OnPAUT_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._PAUT_TrustCode = value; - this.SendPropertyChanged("PAUT_TrustCode"); - this.OnPAUT_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUT_TrustDate", DbType="DateTime")] - public System.Nullable PAUT_TrustDate - { - get - { - return this._PAUT_TrustDate; - } - set - { - if ((this._PAUT_TrustDate != value)) - { - this.OnPAUT_TrustDateChanging(value); - this.SendPropertyChanging(); - this._PAUT_TrustDate = value; - this.SendPropertyChanged("PAUT_TrustDate"); - this.OnPAUT_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUT_States", DbType="NVarChar(20)")] - public string PAUT_States - { - get - { - return this._PAUT_States; - } - set - { - if ((this._PAUT_States != value)) - { - this.OnPAUT_StatesChanging(value); - this.SendPropertyChanging(); - this._PAUT_States = value; - this.SendPropertyChanged("PAUT_States"); - this.OnPAUT_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TOFD_TrustCode", DbType="VarChar(30)")] - public string TOFD_TrustCode - { - get - { - return this._TOFD_TrustCode; - } - set - { - if ((this._TOFD_TrustCode != value)) - { - this.OnTOFD_TrustCodeChanging(value); - this.SendPropertyChanging(); - this._TOFD_TrustCode = value; - this.SendPropertyChanged("TOFD_TrustCode"); - this.OnTOFD_TrustCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TOFD_TrustDate", DbType="DateTime")] - public System.Nullable TOFD_TrustDate - { - get - { - return this._TOFD_TrustDate; - } - set - { - if ((this._TOFD_TrustDate != value)) - { - this.OnTOFD_TrustDateChanging(value); - this.SendPropertyChanging(); - this._TOFD_TrustDate = value; - this.SendPropertyChanged("TOFD_TrustDate"); - this.OnTOFD_TrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TOFD_States", DbType="NVarChar(20)")] - public string TOFD_States - { - get - { - return this._TOFD_States; - } - set - { - if ((this._TOFD_States != value)) - { - this.OnTOFD_StatesChanging(value); - this.SendPropertyChanging(); - this._TOFD_States = value; - this.SendPropertyChanged("TOFD_States"); - this.OnTOFD_StatesChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessTrustDate", DbType="DateTime")] - public System.Nullable HotProessTrustDate - { - get - { - return this._HotProessTrustDate; - } - set - { - if ((this._HotProessTrustDate != value)) - { - this.OnHotProessTrustDateChanging(value); - this.SendPropertyChanging(); - this._HotProessTrustDate = value; - this.SendPropertyChanged("HotProessTrustDate"); - this.OnHotProessTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessResultOK", DbType="Bit")] - public System.Nullable HotProessResultOK - { - get - { - return this._HotProessResultOK; - } - set - { - if ((this._HotProessResultOK != value)) - { - this.OnHotProessResultOKChanging(value); - this.SendPropertyChanging(); - this._HotProessResultOK = value; - this.SendPropertyChanged("HotProessResultOK"); - this.OnHotProessResultOKChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotResultDate", DbType="DateTime")] - public System.Nullable HotResultDate - { - get - { - return this._HotResultDate; - } - set - { - if ((this._HotResultDate != value)) - { - this.OnHotResultDateChanging(value); - this.SendPropertyChanging(); - this._HotResultDate = value; - this.SendPropertyChanged("HotResultDate"); - this.OnHotResultDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessTrustDate", DbType="DateTime")] - public System.Nullable HardProessTrustDate - { - get - { - return this._HardProessTrustDate; - } - set - { - if ((this._HardProessTrustDate != value)) - { - this.OnHardProessTrustDateChanging(value); - this.SendPropertyChanging(); - this._HardProessTrustDate = value; - this.SendPropertyChanged("HardProessTrustDate"); - this.OnHardProessTrustDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardProessResultOK", DbType="Bit")] - public System.Nullable HardProessResultOK - { - get - { - return this._HardProessResultOK; - } - set - { - if ((this._HardProessResultOK != value)) - { - this.OnHardProessResultOKChanging(value); - this.SendPropertyChanging(); - this._HardProessResultOK = value; - this.SendPropertyChanged("HardProessResultOK"); - this.OnHardProessResultOKChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardResultDate", DbType="DateTime")] - public System.Nullable HardResultDate - { - get - { - return this._HardResultDate; - } - set - { - if ((this._HardResultDate != value)) - { - this.OnHardResultDateChanging(value); - this.SendPropertyChanging(); - this._HardResultDate = value; - this.SendPropertyChanged("HardResultDate"); - this.OnHardResultDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTIsRepair1", DbType="Bit")] - public System.Nullable PTIsRepair1 - { - get - { - return this._PTIsRepair1; - } - set - { - if ((this._PTIsRepair1 != value)) - { - this.OnPTIsRepair1Changing(value); - this.SendPropertyChanging(); - this._PTIsRepair1 = value; - this.SendPropertyChanged("PTIsRepair1"); - this.OnPTIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTIsRepair2", DbType="Bit")] - public System.Nullable PTIsRepair2 - { - get - { - return this._PTIsRepair2; - } - set - { - if ((this._PTIsRepair2 != value)) - { - this.OnPTIsRepair2Changing(value); - this.SendPropertyChanging(); - this._PTIsRepair2 = value; - this.SendPropertyChanged("PTIsRepair2"); - this.OnPTIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PTIsRepair3", DbType="Bit")] - public System.Nullable PTIsRepair3 - { - get - { - return this._PTIsRepair3; - } - set - { - if ((this._PTIsRepair3 != value)) - { - this.OnPTIsRepair3Changing(value); - this.SendPropertyChanging(); - this._PTIsRepair3 = value; - this.SendPropertyChanged("PTIsRepair3"); - this.OnPTIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIsRepair1", DbType="Bit")] - public System.Nullable MTIsRepair1 - { - get - { - return this._MTIsRepair1; - } - set - { - if ((this._MTIsRepair1 != value)) - { - this.OnMTIsRepair1Changing(value); - this.SendPropertyChanging(); - this._MTIsRepair1 = value; - this.SendPropertyChanged("MTIsRepair1"); - this.OnMTIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIsRepair2", DbType="Bit")] - public System.Nullable MTIsRepair2 - { - get - { - return this._MTIsRepair2; - } - set - { - if ((this._MTIsRepair2 != value)) - { - this.OnMTIsRepair2Changing(value); - this.SendPropertyChanging(); - this._MTIsRepair2 = value; - this.SendPropertyChanged("MTIsRepair2"); - this.OnMTIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MTIsRepair3", DbType="Bit")] - public System.Nullable MTIsRepair3 - { - get - { - return this._MTIsRepair3; - } - set - { - if ((this._MTIsRepair3 != value)) - { - this.OnMTIsRepair3Changing(value); - this.SendPropertyChanging(); - this._MTIsRepair3 = value; - this.SendPropertyChanged("MTIsRepair3"); - this.OnMTIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UTIsRepair1", DbType="Bit")] - public System.Nullable UTIsRepair1 - { - get - { - return this._UTIsRepair1; - } - set - { - if ((this._UTIsRepair1 != value)) - { - this.OnUTIsRepair1Changing(value); - this.SendPropertyChanging(); - this._UTIsRepair1 = value; - this.SendPropertyChanged("UTIsRepair1"); - this.OnUTIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UTIsRepair2", DbType="Bit")] - public System.Nullable UTIsRepair2 - { - get - { - return this._UTIsRepair2; - } - set - { - if ((this._UTIsRepair2 != value)) - { - this.OnUTIsRepair2Changing(value); - this.SendPropertyChanging(); - this._UTIsRepair2 = value; - this.SendPropertyChanged("UTIsRepair2"); - this.OnUTIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UTIsRepair3", DbType="Bit")] - public System.Nullable UTIsRepair3 - { - get - { - return this._UTIsRepair3; - } - set - { - if ((this._UTIsRepair3 != value)) - { - this.OnUTIsRepair3Changing(value); - this.SendPropertyChanging(); - this._UTIsRepair3 = value; - this.SendPropertyChanged("UTIsRepair3"); - this.OnUTIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TOFDIsRepair1", DbType="Bit")] - public System.Nullable TOFDIsRepair1 - { - get - { - return this._TOFDIsRepair1; - } - set - { - if ((this._TOFDIsRepair1 != value)) - { - this.OnTOFDIsRepair1Changing(value); - this.SendPropertyChanging(); - this._TOFDIsRepair1 = value; - this.SendPropertyChanged("TOFDIsRepair1"); - this.OnTOFDIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TOFDIsRepair2", DbType="Bit")] - public System.Nullable TOFDIsRepair2 - { - get - { - return this._TOFDIsRepair2; - } - set - { - if ((this._TOFDIsRepair2 != value)) - { - this.OnTOFDIsRepair2Changing(value); - this.SendPropertyChanging(); - this._TOFDIsRepair2 = value; - this.SendPropertyChanged("TOFDIsRepair2"); - this.OnTOFDIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TOFDIsRepair3", DbType="Bit")] - public System.Nullable TOFDIsRepair3 - { - get - { - return this._TOFDIsRepair3; - } - set - { - if ((this._TOFDIsRepair3 != value)) - { - this.OnTOFDIsRepair3Changing(value); - this.SendPropertyChanging(); - this._TOFDIsRepair3 = value; - this.SendPropertyChanged("TOFDIsRepair3"); - this.OnTOFDIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUTIsRepair1", DbType="Bit")] - public System.Nullable PAUTIsRepair1 - { - get - { - return this._PAUTIsRepair1; - } - set - { - if ((this._PAUTIsRepair1 != value)) - { - this.OnPAUTIsRepair1Changing(value); - this.SendPropertyChanging(); - this._PAUTIsRepair1 = value; - this.SendPropertyChanged("PAUTIsRepair1"); - this.OnPAUTIsRepair1Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUTIsRepair2", DbType="Bit")] - public System.Nullable PAUTIsRepair2 - { - get - { - return this._PAUTIsRepair2; - } - set - { - if ((this._PAUTIsRepair2 != value)) - { - this.OnPAUTIsRepair2Changing(value); - this.SendPropertyChanging(); - this._PAUTIsRepair2 = value; - this.SendPropertyChanged("PAUTIsRepair2"); - this.OnPAUTIsRepair2Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PAUTIsRepair3", DbType="Bit")] - public System.Nullable PAUTIsRepair3 - { - get - { - return this._PAUTIsRepair3; - } - set - { - if ((this._PAUTIsRepair3 != value)) - { - this.OnPAUTIsRepair3Changing(value); - this.SendPropertyChanging(); - this._PAUTIsRepair3 = value; - this.SendPropertyChanged("PAUTIsRepair3"); - this.OnPAUTIsRepair3Changed(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotReportId", DbType="VarChar(50)")] - public string HotReportId - { - get - { - return this._HotReportId; - } - set - { - if ((this._HotReportId != value)) - { - this.OnHotReportIdChanging(value); - this.SendPropertyChanging(); - this._HotReportId = value; - this.SendPropertyChanged("HotReportId"); - this.OnHotReportIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsProess", DbType="Bit")] - public System.Nullable IsProess - { - get - { - return this._IsProess; - } - set - { - if ((this._IsProess != value)) - { - this.OnIsProessChanging(value); - this.SendPropertyChanging(); - this._IsProess = value; - this.SendPropertyChanged("IsProess"); - this.OnIsProessChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsRepairHot", DbType="Bit")] - public System.Nullable IsRepairHot - { - get - { - return this._IsRepairHot; - } - set - { - if ((this._IsRepairHot != value)) - { - this.OnIsRepairHotChanging(value); - this.SendPropertyChanging(); - this._IsRepairHot = value; - this.SendPropertyChanged("IsRepairHot"); - this.OnIsRepairHotChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_R_Material", DbType="Int")] - public System.Nullable R_Material - { - get - { - return this._R_Material; - } - set - { - if ((this._R_Material != value)) - { - this.OnR_MaterialChanging(value); - this.SendPropertyChanging(); - this._R_Material = value; - this.SendPropertyChanged("R_Material"); - this.OnR_MaterialChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateId", DbType="VarChar(50)")] - public string CreateId - { - get - { - return this._CreateId; - } - set - { - if ((this._CreateId != value)) - { - this.OnCreateIdChanging(value); - this.SendPropertyChanging(); - this._CreateId = value; - this.SendPropertyChanged("CreateId"); - this.OnCreateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] - public System.Nullable CreateTime - { - get - { - return this._CreateTime; - } - set - { - if ((this._CreateTime != value)) - { - this.OnCreateTimeChanging(value); - this.SendPropertyChanging(); - this._CreateTime = value; - this.SendPropertyChanged("CreateTime"); - this.OnCreateTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortField", AutoSync=AutoSync.Always, DbType="Int NOT NULL IDENTITY", IsDbGenerated=true)] - public int SortField - { - get - { - return this._SortField; - } - set - { - if ((this._SortField != value)) - { - this.OnSortFieldChanging(value); - this.SendPropertyChanging(); - this._SortField = value; - this.SendPropertyChanged("SortField"); - this.OnSortFieldChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sp_WelderOKRate")] - public partial class Sp_WelderOKRate : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RateId; - - private string _WED_ID; - - private string _ProjectId; - - private string _UnitId; - - private string _Years; - - private string _Months; - - private System.Nullable _TotalFilmNum; - - private System.Nullable _OneToatalFilmNum; - - private System.Nullable _OneToatalJointNum; - - private System.Nullable _OnePassFilmNum; - - private System.Nullable _OnePassJointNum; - - private System.Nullable _OneRepairFilmNum; - - private System.Nullable _TwoRepairFilmNum; - - private System.Nullable _ThreeRepairFilmNum; - - private System.Nullable _CRepairFilmNum; - - private System.Nullable _NoRepairFilmNum; - - private System.Nullable _KPassFilmNum; - - private System.Nullable _RMaterialFilmNum; - - private System.Nullable _OKRate; - - private System.Nullable _OKJointRate; - - private string _Remark; - - private EntityRef _Base_Project; - - private EntityRef _Base_Unit; - - private EntityRef _HJGL_BS_Welder; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRateIdChanging(string value); - partial void OnRateIdChanged(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnYearsChanging(string value); - partial void OnYearsChanged(); - partial void OnMonthsChanging(string value); - partial void OnMonthsChanged(); - partial void OnTotalFilmNumChanging(System.Nullable value); - partial void OnTotalFilmNumChanged(); - partial void OnOneToatalFilmNumChanging(System.Nullable value); - partial void OnOneToatalFilmNumChanged(); - partial void OnOneToatalJointNumChanging(System.Nullable value); - partial void OnOneToatalJointNumChanged(); - partial void OnOnePassFilmNumChanging(System.Nullable value); - partial void OnOnePassFilmNumChanged(); - partial void OnOnePassJointNumChanging(System.Nullable value); - partial void OnOnePassJointNumChanged(); - partial void OnOneRepairFilmNumChanging(System.Nullable value); - partial void OnOneRepairFilmNumChanged(); - partial void OnTwoRepairFilmNumChanging(System.Nullable value); - partial void OnTwoRepairFilmNumChanged(); - partial void OnThreeRepairFilmNumChanging(System.Nullable value); - partial void OnThreeRepairFilmNumChanged(); - partial void OnCRepairFilmNumChanging(System.Nullable value); - partial void OnCRepairFilmNumChanged(); - partial void OnNoRepairFilmNumChanging(System.Nullable value); - partial void OnNoRepairFilmNumChanged(); - partial void OnKPassFilmNumChanging(System.Nullable value); - partial void OnKPassFilmNumChanged(); - partial void OnRMaterialFilmNumChanging(System.Nullable value); - partial void OnRMaterialFilmNumChanged(); - partial void OnOKRateChanging(System.Nullable value); - partial void OnOKRateChanged(); - partial void OnOKJointRateChanging(System.Nullable value); - partial void OnOKJointRateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Sp_WelderOKRate() - { - this._Base_Project = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._HJGL_BS_Welder = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RateId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RateId - { - get - { - return this._RateId; - } - set - { - if ((this._RateId != value)) - { - this.OnRateIdChanging(value); - this.SendPropertyChanging(); - this._RateId = value; - this.SendPropertyChanged("RateId"); - this.OnRateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50)")] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Years", DbType="NVarChar(4)")] - public string Years - { - get - { - return this._Years; - } - set - { - if ((this._Years != value)) - { - this.OnYearsChanging(value); - this.SendPropertyChanging(); - this._Years = value; - this.SendPropertyChanged("Years"); - this.OnYearsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Months", DbType="NVarChar(2)")] - public string Months - { - get - { - return this._Months; - } - set - { - if ((this._Months != value)) - { - this.OnMonthsChanging(value); - this.SendPropertyChanging(); - this._Months = value; - this.SendPropertyChanged("Months"); - this.OnMonthsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalFilmNum", DbType="Int")] - public System.Nullable TotalFilmNum - { - get - { - return this._TotalFilmNum; - } - set - { - if ((this._TotalFilmNum != value)) - { - this.OnTotalFilmNumChanging(value); - this.SendPropertyChanging(); - this._TotalFilmNum = value; - this.SendPropertyChanged("TotalFilmNum"); - this.OnTotalFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OneToatalFilmNum", DbType="Int")] - public System.Nullable OneToatalFilmNum - { - get - { - return this._OneToatalFilmNum; - } - set - { - if ((this._OneToatalFilmNum != value)) - { - this.OnOneToatalFilmNumChanging(value); - this.SendPropertyChanging(); - this._OneToatalFilmNum = value; - this.SendPropertyChanged("OneToatalFilmNum"); - this.OnOneToatalFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OneToatalJointNum", DbType="Int")] - public System.Nullable OneToatalJointNum - { - get - { - return this._OneToatalJointNum; - } - set - { - if ((this._OneToatalJointNum != value)) - { - this.OnOneToatalJointNumChanging(value); - this.SendPropertyChanging(); - this._OneToatalJointNum = value; - this.SendPropertyChanged("OneToatalJointNum"); - this.OnOneToatalJointNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OnePassFilmNum", DbType="Int")] - public System.Nullable OnePassFilmNum - { - get - { - return this._OnePassFilmNum; - } - set - { - if ((this._OnePassFilmNum != value)) - { - this.OnOnePassFilmNumChanging(value); - this.SendPropertyChanging(); - this._OnePassFilmNum = value; - this.SendPropertyChanged("OnePassFilmNum"); - this.OnOnePassFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OnePassJointNum", DbType="Int")] - public System.Nullable OnePassJointNum - { - get - { - return this._OnePassJointNum; - } - set - { - if ((this._OnePassJointNum != value)) - { - this.OnOnePassJointNumChanging(value); - this.SendPropertyChanging(); - this._OnePassJointNum = value; - this.SendPropertyChanged("OnePassJointNum"); - this.OnOnePassJointNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OneRepairFilmNum", DbType="Int")] - public System.Nullable OneRepairFilmNum - { - get - { - return this._OneRepairFilmNum; - } - set - { - if ((this._OneRepairFilmNum != value)) - { - this.OnOneRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._OneRepairFilmNum = value; - this.SendPropertyChanged("OneRepairFilmNum"); - this.OnOneRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TwoRepairFilmNum", DbType="Int")] - public System.Nullable TwoRepairFilmNum - { - get - { - return this._TwoRepairFilmNum; - } - set - { - if ((this._TwoRepairFilmNum != value)) - { - this.OnTwoRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._TwoRepairFilmNum = value; - this.SendPropertyChanged("TwoRepairFilmNum"); - this.OnTwoRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThreeRepairFilmNum", DbType="Int")] - public System.Nullable ThreeRepairFilmNum - { - get - { - return this._ThreeRepairFilmNum; - } - set - { - if ((this._ThreeRepairFilmNum != value)) - { - this.OnThreeRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._ThreeRepairFilmNum = value; - this.SendPropertyChanged("ThreeRepairFilmNum"); - this.OnThreeRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CRepairFilmNum", DbType="Int")] - public System.Nullable CRepairFilmNum - { - get - { - return this._CRepairFilmNum; - } - set - { - if ((this._CRepairFilmNum != value)) - { - this.OnCRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._CRepairFilmNum = value; - this.SendPropertyChanged("CRepairFilmNum"); - this.OnCRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoRepairFilmNum", DbType="Int")] - public System.Nullable NoRepairFilmNum - { - get - { - return this._NoRepairFilmNum; - } - set - { - if ((this._NoRepairFilmNum != value)) - { - this.OnNoRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._NoRepairFilmNum = value; - this.SendPropertyChanged("NoRepairFilmNum"); - this.OnNoRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KPassFilmNum", DbType="Int")] - public System.Nullable KPassFilmNum - { - get - { - return this._KPassFilmNum; - } - set - { - if ((this._KPassFilmNum != value)) - { - this.OnKPassFilmNumChanging(value); - this.SendPropertyChanging(); - this._KPassFilmNum = value; - this.SendPropertyChanged("KPassFilmNum"); - this.OnKPassFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RMaterialFilmNum", DbType="Int")] - public System.Nullable RMaterialFilmNum - { - get - { - return this._RMaterialFilmNum; - } - set - { - if ((this._RMaterialFilmNum != value)) - { - this.OnRMaterialFilmNumChanging(value); - this.SendPropertyChanging(); - this._RMaterialFilmNum = value; - this.SendPropertyChanged("RMaterialFilmNum"); - this.OnRMaterialFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OKRate", DbType="Decimal(6,2)")] - public System.Nullable OKRate - { - get - { - return this._OKRate; - } - set - { - if ((this._OKRate != value)) - { - this.OnOKRateChanging(value); - this.SendPropertyChanging(); - this._OKRate = value; - this.SendPropertyChanged("OKRate"); - this.OnOKRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OKJointRate", DbType="Decimal(6,2)")] - public System.Nullable OKJointRate - { - get - { - return this._OKJointRate; - } - set - { - if ((this._OKJointRate != value)) - { - this.OnOKJointRateChanging(value); - this.SendPropertyChanging(); - this._OKJointRate = value; - this.SendPropertyChanged("OKJointRate"); - this.OnOKJointRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRate_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Sp_WelderOKRate.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Sp_WelderOKRate.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRate_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.Sp_WelderOKRate.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.Sp_WelderOKRate.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRate_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="WED_ID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.Sp_WelderOKRate.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.Sp_WelderOKRate.Add(this); - this._WED_ID = value.WED_ID; - } - else - { - this._WED_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sp_WelderOKRateStatistics")] - public partial class Sp_WelderOKRateStatistics : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RateId; - - private string _WED_ID; - - private string _UnitId; - - private string _Years; - - private string _Months; - - private System.Nullable _TotalFilmNum; - - private System.Nullable _OneToatalFilmNum; - - private System.Nullable _OnePassFilmNum; - - private System.Nullable _OneRepairFilmNum; - - private System.Nullable _TwoRepairFilmNum; - - private System.Nullable _ThreeRepairFilmNum; - - private System.Nullable _CRepairFilmNum; - - private System.Nullable _NoRepairFilmNum; - - private System.Nullable _KPassFilmNum; - - private System.Nullable _RMaterialFilmNum; - - private System.Nullable _OKRate; - - private string _Remark; - - private EntityRef _Base_Unit; - - private EntityRef _HJGL_BS_Welder; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRateIdChanging(string value); - partial void OnRateIdChanged(); - partial void OnWED_IDChanging(string value); - partial void OnWED_IDChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnYearsChanging(string value); - partial void OnYearsChanged(); - partial void OnMonthsChanging(string value); - partial void OnMonthsChanged(); - partial void OnTotalFilmNumChanging(System.Nullable value); - partial void OnTotalFilmNumChanged(); - partial void OnOneToatalFilmNumChanging(System.Nullable value); - partial void OnOneToatalFilmNumChanged(); - partial void OnOnePassFilmNumChanging(System.Nullable value); - partial void OnOnePassFilmNumChanged(); - partial void OnOneRepairFilmNumChanging(System.Nullable value); - partial void OnOneRepairFilmNumChanged(); - partial void OnTwoRepairFilmNumChanging(System.Nullable value); - partial void OnTwoRepairFilmNumChanged(); - partial void OnThreeRepairFilmNumChanging(System.Nullable value); - partial void OnThreeRepairFilmNumChanged(); - partial void OnCRepairFilmNumChanging(System.Nullable value); - partial void OnCRepairFilmNumChanged(); - partial void OnNoRepairFilmNumChanging(System.Nullable value); - partial void OnNoRepairFilmNumChanged(); - partial void OnKPassFilmNumChanging(System.Nullable value); - partial void OnKPassFilmNumChanged(); - partial void OnRMaterialFilmNumChanging(System.Nullable value); - partial void OnRMaterialFilmNumChanged(); - partial void OnOKRateChanging(System.Nullable value); - partial void OnOKRateChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Sp_WelderOKRateStatistics() - { - this._Base_Unit = default(EntityRef); - this._HJGL_BS_Welder = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RateId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RateId - { - get - { - return this._RateId; - } - set - { - if ((this._RateId != value)) - { - this.OnRateIdChanging(value); - this.SendPropertyChanging(); - this._RateId = value; - this.SendPropertyChanged("RateId"); - this.OnRateIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_ID", DbType="NVarChar(50)")] - public string WED_ID - { - get - { - return this._WED_ID; - } - set - { - if ((this._WED_ID != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWED_IDChanging(value); - this.SendPropertyChanging(); - this._WED_ID = value; - this.SendPropertyChanged("WED_ID"); - this.OnWED_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Years", DbType="NVarChar(4)")] - public string Years - { - get - { - return this._Years; - } - set - { - if ((this._Years != value)) - { - this.OnYearsChanging(value); - this.SendPropertyChanging(); - this._Years = value; - this.SendPropertyChanged("Years"); - this.OnYearsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Months", DbType="NVarChar(2)")] - public string Months - { - get - { - return this._Months; - } - set - { - if ((this._Months != value)) - { - this.OnMonthsChanging(value); - this.SendPropertyChanging(); - this._Months = value; - this.SendPropertyChanged("Months"); - this.OnMonthsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalFilmNum", DbType="Int")] - public System.Nullable TotalFilmNum - { - get - { - return this._TotalFilmNum; - } - set - { - if ((this._TotalFilmNum != value)) - { - this.OnTotalFilmNumChanging(value); - this.SendPropertyChanging(); - this._TotalFilmNum = value; - this.SendPropertyChanged("TotalFilmNum"); - this.OnTotalFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OneToatalFilmNum", DbType="Int")] - public System.Nullable OneToatalFilmNum - { - get - { - return this._OneToatalFilmNum; - } - set - { - if ((this._OneToatalFilmNum != value)) - { - this.OnOneToatalFilmNumChanging(value); - this.SendPropertyChanging(); - this._OneToatalFilmNum = value; - this.SendPropertyChanged("OneToatalFilmNum"); - this.OnOneToatalFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OnePassFilmNum", DbType="Int")] - public System.Nullable OnePassFilmNum - { - get - { - return this._OnePassFilmNum; - } - set - { - if ((this._OnePassFilmNum != value)) - { - this.OnOnePassFilmNumChanging(value); - this.SendPropertyChanging(); - this._OnePassFilmNum = value; - this.SendPropertyChanged("OnePassFilmNum"); - this.OnOnePassFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OneRepairFilmNum", DbType="Int")] - public System.Nullable OneRepairFilmNum - { - get - { - return this._OneRepairFilmNum; - } - set - { - if ((this._OneRepairFilmNum != value)) - { - this.OnOneRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._OneRepairFilmNum = value; - this.SendPropertyChanged("OneRepairFilmNum"); - this.OnOneRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TwoRepairFilmNum", DbType="Int")] - public System.Nullable TwoRepairFilmNum - { - get - { - return this._TwoRepairFilmNum; - } - set - { - if ((this._TwoRepairFilmNum != value)) - { - this.OnTwoRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._TwoRepairFilmNum = value; - this.SendPropertyChanged("TwoRepairFilmNum"); - this.OnTwoRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ThreeRepairFilmNum", DbType="Int")] - public System.Nullable ThreeRepairFilmNum - { - get - { - return this._ThreeRepairFilmNum; - } - set - { - if ((this._ThreeRepairFilmNum != value)) - { - this.OnThreeRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._ThreeRepairFilmNum = value; - this.SendPropertyChanged("ThreeRepairFilmNum"); - this.OnThreeRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CRepairFilmNum", DbType="Int")] - public System.Nullable CRepairFilmNum - { - get - { - return this._CRepairFilmNum; - } - set - { - if ((this._CRepairFilmNum != value)) - { - this.OnCRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._CRepairFilmNum = value; - this.SendPropertyChanged("CRepairFilmNum"); - this.OnCRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoRepairFilmNum", DbType="Int")] - public System.Nullable NoRepairFilmNum - { - get - { - return this._NoRepairFilmNum; - } - set - { - if ((this._NoRepairFilmNum != value)) - { - this.OnNoRepairFilmNumChanging(value); - this.SendPropertyChanging(); - this._NoRepairFilmNum = value; - this.SendPropertyChanged("NoRepairFilmNum"); - this.OnNoRepairFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KPassFilmNum", DbType="Int")] - public System.Nullable KPassFilmNum - { - get - { - return this._KPassFilmNum; - } - set - { - if ((this._KPassFilmNum != value)) - { - this.OnKPassFilmNumChanging(value); - this.SendPropertyChanging(); - this._KPassFilmNum = value; - this.SendPropertyChanged("KPassFilmNum"); - this.OnKPassFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RMaterialFilmNum", DbType="Int")] - public System.Nullable RMaterialFilmNum - { - get - { - return this._RMaterialFilmNum; - } - set - { - if ((this._RMaterialFilmNum != value)) - { - this.OnRMaterialFilmNumChanging(value); - this.SendPropertyChanging(); - this._RMaterialFilmNum = value; - this.SendPropertyChanged("RMaterialFilmNum"); - this.OnRMaterialFilmNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OKRate", DbType="Decimal(6,2)")] - public System.Nullable OKRate - { - get - { - return this._OKRate; - } - set - { - if ((this._OKRate != value)) - { - this.OnOKRateChanging(value); - this.SendPropertyChanging(); - this._OKRate = value; - this.SendPropertyChanged("OKRate"); - this.OnOKRateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRateStatistics_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.Sp_WelderOKRateStatistics.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.Sp_WelderOKRateStatistics.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sp_WelderOKRateStatisticsItem_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="WED_ID", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.Sp_WelderOKRateStatistics.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.Sp_WelderOKRateStatistics.Add(this); - this._WED_ID = value.WED_ID; - } - else - { - this._WED_ID = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_ButtonPower")] - public partial class Sys_ButtonPower : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ButtonPowerID; - - private string _RoleId; - - private string _MenuId; - - private string _ButtonToMenuId; - - private EntityRef _Sys_Menu; - - private EntityRef _Sys_Role; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnButtonPowerIDChanging(string value); - partial void OnButtonPowerIDChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnButtonToMenuIdChanging(string value); - partial void OnButtonToMenuIdChanged(); - #endregion - - public Sys_ButtonPower() - { - this._Sys_Menu = default(EntityRef); - this._Sys_Role = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonPowerID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ButtonPowerID - { - get - { - return this._ButtonPowerID; - } - set - { - if ((this._ButtonPowerID != value)) - { - this.OnButtonPowerIDChanging(value); - this.SendPropertyChanging(); - this._ButtonPowerID = value; - this.SendPropertyChanged("ButtonPowerID"); - this.OnButtonPowerIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ButtonToMenuId", DbType="NVarChar(50)")] - public string ButtonToMenuId - { - get - { - return this._ButtonToMenuId; - } - set - { - if ((this._ButtonToMenuId != value)) - { - this.OnButtonToMenuIdChanging(value); - this.SendPropertyChanging(); - this._ButtonToMenuId = value; - this.SendPropertyChanged("ButtonToMenuId"); - this.OnButtonToMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_ButtonPower_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Sys_ButtonPower.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Sys_ButtonPower.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_ButtonPower_Sys_Role", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Sys_ButtonPower.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Sys_ButtonPower.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Const")] - public partial class Sys_Const : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ID; - - private string _ConstValue; - - private string _ConstText; - - private System.Nullable _SortIndex; - - private string _GroupId; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnIDChanging(string value); - partial void OnIDChanged(); - partial void OnConstValueChanging(string value); - partial void OnConstValueChanged(); - partial void OnConstTextChanging(string value); - partial void OnConstTextChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - partial void OnGroupIdChanging(string value); - partial void OnGroupIdChanged(); - #endregion - - public Sys_Const() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ID", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ID - { - get - { - return this._ID; - } - set - { - if ((this._ID != value)) - { - this.OnIDChanging(value); - this.SendPropertyChanging(); - this._ID = value; - this.SendPropertyChanged("ID"); - this.OnIDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstValue", DbType="NVarChar(50)")] - public string ConstValue - { - get - { - return this._ConstValue; - } - set - { - if ((this._ConstValue != value)) - { - this.OnConstValueChanging(value); - this.SendPropertyChanging(); - this._ConstValue = value; - this.SendPropertyChanged("ConstValue"); - this.OnConstValueChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstText", DbType="NVarChar(100)")] - public string ConstText - { - get - { - return this._ConstText; - } - set - { - if ((this._ConstText != value)) - { - this.OnConstTextChanging(value); - this.SendPropertyChanging(); - this._ConstText = value; - this.SendPropertyChanged("ConstText"); - this.OnConstTextChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GroupId", DbType="NVarChar(50)")] - public string GroupId - { - get - { - return this._GroupId; - } - set - { - if ((this._GroupId != value)) - { - this.OnGroupIdChanging(value); - this.SendPropertyChanging(); - this._GroupId = value; - this.SendPropertyChanged("GroupId"); - this.OnGroupIdChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_ErrLogInfo")] - public partial class Sys_ErrLogInfo : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ErrLogId; - - private string _ErrType; - - private string _ErrMessage; - - private string _ErrStackTrace; - - private System.Nullable _ErrTime; - - private string _ErrUrl; - - private string _ErrIP; - - private string _UserName; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnErrLogIdChanging(string value); - partial void OnErrLogIdChanged(); - partial void OnErrTypeChanging(string value); - partial void OnErrTypeChanged(); - partial void OnErrMessageChanging(string value); - partial void OnErrMessageChanged(); - partial void OnErrStackTraceChanging(string value); - partial void OnErrStackTraceChanged(); - partial void OnErrTimeChanging(System.Nullable value); - partial void OnErrTimeChanged(); - partial void OnErrUrlChanging(string value); - partial void OnErrUrlChanged(); - partial void OnErrIPChanging(string value); - partial void OnErrIPChanged(); - partial void OnUserNameChanging(string value); - partial void OnUserNameChanged(); - #endregion - - public Sys_ErrLogInfo() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrLogId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ErrLogId - { - get - { - return this._ErrLogId; - } - set - { - if ((this._ErrLogId != value)) - { - this.OnErrLogIdChanging(value); - this.SendPropertyChanging(); - this._ErrLogId = value; - this.SendPropertyChanged("ErrLogId"); - this.OnErrLogIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrType", DbType="NVarChar(500)")] - public string ErrType - { - get - { - return this._ErrType; - } - set - { - if ((this._ErrType != value)) - { - this.OnErrTypeChanging(value); - this.SendPropertyChanging(); - this._ErrType = value; - this.SendPropertyChanged("ErrType"); - this.OnErrTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrMessage", DbType="NVarChar(2000)")] - public string ErrMessage - { - get - { - return this._ErrMessage; - } - set - { - if ((this._ErrMessage != value)) - { - this.OnErrMessageChanging(value); - this.SendPropertyChanging(); - this._ErrMessage = value; - this.SendPropertyChanged("ErrMessage"); - this.OnErrMessageChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrStackTrace", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string ErrStackTrace - { - get - { - return this._ErrStackTrace; - } - set - { - if ((this._ErrStackTrace != value)) - { - this.OnErrStackTraceChanging(value); - this.SendPropertyChanging(); - this._ErrStackTrace = value; - this.SendPropertyChanged("ErrStackTrace"); - this.OnErrStackTraceChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrTime", DbType="DateTime")] - public System.Nullable ErrTime - { - get - { - return this._ErrTime; - } - set - { - if ((this._ErrTime != value)) - { - this.OnErrTimeChanging(value); - this.SendPropertyChanging(); - this._ErrTime = value; - this.SendPropertyChanged("ErrTime"); - this.OnErrTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrUrl", DbType="NVarChar(800)")] - public string ErrUrl - { - get - { - return this._ErrUrl; - } - set - { - if ((this._ErrUrl != value)) - { - this.OnErrUrlChanging(value); - this.SendPropertyChanging(); - this._ErrUrl = value; - this.SendPropertyChanged("ErrUrl"); - this.OnErrUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ErrIP", DbType="NVarChar(50)")] - public string ErrIP - { - get - { - return this._ErrIP; - } - set - { - if ((this._ErrIP != value)) - { - this.OnErrIPChanging(value); - this.SendPropertyChanging(); - this._ErrIP = value; - this.SendPropertyChanged("ErrIP"); - this.OnErrIPChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(50)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this.OnUserNameChanging(value); - this.SendPropertyChanging(); - this._UserName = value; - this.SendPropertyChanged("UserName"); - this.OnUserNameChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Log")] - public partial class Sys_Log : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _LogId; - - private string _UserId; - - private string _ProjectId; - - private System.Nullable _OperationTime; - - private string _Ip; - - private string _HostName; - - private string _OperationLog; - - private string _SystemId; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnLogIdChanging(string value); - partial void OnLogIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnOperationTimeChanging(System.Nullable value); - partial void OnOperationTimeChanged(); - partial void OnIpChanging(string value); - partial void OnIpChanged(); - partial void OnHostNameChanging(string value); - partial void OnHostNameChanged(); - partial void OnOperationLogChanging(string value); - partial void OnOperationLogChanged(); - partial void OnSystemIdChanging(string value); - partial void OnSystemIdChanged(); - #endregion - - public Sys_Log() - { - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string LogId - { - get - { - return this._LogId; - } - set - { - if ((this._LogId != value)) - { - this.OnLogIdChanging(value); - this.SendPropertyChanging(); - this._LogId = value; - this.SendPropertyChanged("LogId"); - this.OnLogIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperationTime", DbType="DateTime")] - public System.Nullable OperationTime - { - get - { - return this._OperationTime; - } - set - { - if ((this._OperationTime != value)) - { - this.OnOperationTimeChanging(value); - this.SendPropertyChanging(); - this._OperationTime = value; - this.SendPropertyChanged("OperationTime"); - this.OnOperationTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ip", DbType="NVarChar(20)")] - public string Ip - { - get - { - return this._Ip; - } - set - { - if ((this._Ip != value)) - { - this.OnIpChanging(value); - this.SendPropertyChanging(); - this._Ip = value; - this.SendPropertyChanged("Ip"); - this.OnIpChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HostName", DbType="NVarChar(100)")] - public string HostName - { - get - { - return this._HostName; - } - set - { - if ((this._HostName != value)) - { - this.OnHostNameChanging(value); - this.SendPropertyChanging(); - this._HostName = value; - this.SendPropertyChanged("HostName"); - this.OnHostNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperationLog", DbType="NVarChar(50)")] - public string OperationLog - { - get - { - return this._OperationLog; - } - set - { - if ((this._OperationLog != value)) - { - this.OnOperationLogChanging(value); - this.SendPropertyChanging(); - this._OperationLog = value; - this.SendPropertyChanged("OperationLog"); - this.OnOperationLogChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="NVarChar(50)")] - public string SystemId - { - get - { - return this._SystemId; - } - set - { - if ((this._SystemId != value)) - { - this.OnSystemIdChanging(value); - this.SendPropertyChanging(); - this._SystemId = value; - this.SendPropertyChanged("SystemId"); - this.OnSystemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_Log_Sys_User_UserId", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Sys_Log.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Sys_Log.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Menu")] - public partial class Sys_Menu : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _MenuId; - - private string _MenuName; - - private string _Url; - - private System.Nullable _SortIndex; - - private string _SuperMenu; - - private string _MenuModule; - - private System.Nullable _IsAudiFlow; - - private EntitySet _ButtonToMenu; - - private EntitySet _Project_RoleButtonPower; - - private EntitySet _Project_RolePower; - - private EntitySet _Project_UserButtonPower; - - private EntitySet _Project_UserPower; - - private EntitySet _Sys_ButtonPower; - - private EntitySet _Sys_RolePower; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - partial void OnMenuNameChanging(string value); - partial void OnMenuNameChanged(); - partial void OnUrlChanging(string value); - partial void OnUrlChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - partial void OnSuperMenuChanging(string value); - partial void OnSuperMenuChanged(); - partial void OnMenuModuleChanging(string value); - partial void OnMenuModuleChanged(); - partial void OnIsAudiFlowChanging(System.Nullable value); - partial void OnIsAudiFlowChanged(); - #endregion - - public Sys_Menu() - { - this._ButtonToMenu = new EntitySet(new Action(this.attach_ButtonToMenu), new Action(this.detach_ButtonToMenu)); - this._Project_RoleButtonPower = new EntitySet(new Action(this.attach_Project_RoleButtonPower), new Action(this.detach_Project_RoleButtonPower)); - this._Project_RolePower = new EntitySet(new Action(this.attach_Project_RolePower), new Action(this.detach_Project_RolePower)); - this._Project_UserButtonPower = new EntitySet(new Action(this.attach_Project_UserButtonPower), new Action(this.detach_Project_UserButtonPower)); - this._Project_UserPower = new EntitySet(new Action(this.attach_Project_UserPower), new Action(this.detach_Project_UserPower)); - this._Sys_ButtonPower = new EntitySet(new Action(this.attach_Sys_ButtonPower), new Action(this.detach_Sys_ButtonPower)); - this._Sys_RolePower = new EntitySet(new Action(this.attach_Sys_RolePower), new Action(this.detach_Sys_RolePower)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuName", DbType="NVarChar(50)")] - public string MenuName - { - get - { - return this._MenuName; - } - set - { - if ((this._MenuName != value)) - { - this.OnMenuNameChanging(value); - this.SendPropertyChanging(); - this._MenuName = value; - this.SendPropertyChanged("MenuName"); - this.OnMenuNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Url", DbType="NVarChar(60)")] - public string Url - { - get - { - return this._Url; - } - set - { - if ((this._Url != value)) - { - this.OnUrlChanging(value); - this.SendPropertyChanging(); - this._Url = value; - this.SendPropertyChanged("Url"); - this.OnUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="SmallInt")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SuperMenu", DbType="NVarChar(50)")] - public string SuperMenu - { - get - { - return this._SuperMenu; - } - set - { - if ((this._SuperMenu != value)) - { - this.OnSuperMenuChanging(value); - this.SendPropertyChanging(); - this._SuperMenu = value; - this.SendPropertyChanged("SuperMenu"); - this.OnSuperMenuChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuModule", DbType="Char(2)")] - public string MenuModule - { - get - { - return this._MenuModule; - } - set - { - if ((this._MenuModule != value)) - { - this.OnMenuModuleChanging(value); - this.SendPropertyChanging(); - this._MenuModule = value; - this.SendPropertyChanged("MenuModule"); - this.OnMenuModuleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAudiFlow", DbType="Bit")] - public System.Nullable IsAudiFlow - { - get - { - return this._IsAudiFlow; - } - set - { - if ((this._IsAudiFlow != value)) - { - this.OnIsAudiFlowChanging(value); - this.SendPropertyChanging(); - this._IsAudiFlow = value; - this.SendPropertyChanged("IsAudiFlow"); - this.OnIsAudiFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ButtonToMenu_Sys_Menu", Storage="_ButtonToMenu", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet ButtonToMenu - { - get - { - return this._ButtonToMenu; - } - set - { - this._ButtonToMenu.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RoleButtonPower_Sys_Menu", Storage="_Project_RoleButtonPower", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Project_RoleButtonPower - { - get - { - return this._Project_RoleButtonPower; - } - set - { - this._Project_RoleButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RolePower_Sys_Menu", Storage="_Project_RolePower", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Project_RolePower - { - get - { - return this._Project_RolePower; - } - set - { - this._Project_RolePower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserButtonPower_Sys_Menu", Storage="_Project_UserButtonPower", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Project_UserButtonPower - { - get - { - return this._Project_UserButtonPower; - } - set - { - this._Project_UserButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserPower_Sys_Menu", Storage="_Project_UserPower", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Project_UserPower - { - get - { - return this._Project_UserPower; - } - set - { - this._Project_UserPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_ButtonPower_Sys_Menu", Storage="_Sys_ButtonPower", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Sys_ButtonPower - { - get - { - return this._Sys_ButtonPower; - } - set - { - this._Sys_ButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_RolePower_Sys_Menu", Storage="_Sys_RolePower", ThisKey="MenuId", OtherKey="MenuId", DeleteRule="NO ACTION")] - public EntitySet Sys_RolePower - { - get - { - return this._Sys_RolePower; - } - set - { - this._Sys_RolePower.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_ButtonToMenu(ButtonToMenu entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_ButtonToMenu(ButtonToMenu entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - - private void attach_Project_RoleButtonPower(Project_RoleButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Project_RoleButtonPower(Project_RoleButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - - private void attach_Project_RolePower(Project_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Project_RolePower(Project_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - - private void attach_Project_UserButtonPower(Project_UserButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Project_UserButtonPower(Project_UserButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - - private void attach_Project_UserPower(Project_UserPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Project_UserPower(Project_UserPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - - private void attach_Sys_ButtonPower(Sys_ButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Sys_ButtonPower(Sys_ButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - - private void attach_Sys_RolePower(Sys_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = this; - } - - private void detach_Sys_RolePower(Sys_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Menu = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Query")] - public partial class Sys_Query : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _QueryId; - - private string _QueryName; - - private string _InputParams; - - private string _OutputParams; - - private System.Nullable _QueryType; - - private System.Nullable _QueryFlag; - - private System.Nullable _Sort; - - private string _QuerySql; - - private string _AppQueryDesc; - - private bool _IsDelete; - - private string _Remark; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnQueryIdChanging(string value); - partial void OnQueryIdChanged(); - partial void OnQueryNameChanging(string value); - partial void OnQueryNameChanged(); - partial void OnInputParamsChanging(string value); - partial void OnInputParamsChanged(); - partial void OnOutputParamsChanging(string value); - partial void OnOutputParamsChanged(); - partial void OnQueryTypeChanging(System.Nullable value); - partial void OnQueryTypeChanged(); - partial void OnQueryFlagChanging(System.Nullable value); - partial void OnQueryFlagChanged(); - partial void OnSortChanging(System.Nullable value); - partial void OnSortChanged(); - partial void OnQuerySqlChanging(string value); - partial void OnQuerySqlChanged(); - partial void OnAppQueryDescChanging(string value); - partial void OnAppQueryDescChanged(); - partial void OnIsDeleteChanging(bool value); - partial void OnIsDeleteChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Sys_Query() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QueryId", DbType="NVarChar(60) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string QueryId - { - get - { - return this._QueryId; - } - set - { - if ((this._QueryId != value)) - { - this.OnQueryIdChanging(value); - this.SendPropertyChanging(); - this._QueryId = value; - this.SendPropertyChanged("QueryId"); - this.OnQueryIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QueryName", DbType="NVarChar(80)")] - public string QueryName - { - get - { - return this._QueryName; - } - set - { - if ((this._QueryName != value)) - { - this.OnQueryNameChanging(value); - this.SendPropertyChanging(); - this._QueryName = value; - this.SendPropertyChanged("QueryName"); - this.OnQueryNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InputParams", DbType="NVarChar(4000)")] - public string InputParams - { - get - { - return this._InputParams; - } - set - { - if ((this._InputParams != value)) - { - this.OnInputParamsChanging(value); - this.SendPropertyChanging(); - this._InputParams = value; - this.SendPropertyChanged("InputParams"); - this.OnInputParamsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutputParams", DbType="NVarChar(4000)")] - public string OutputParams - { - get - { - return this._OutputParams; - } - set - { - if ((this._OutputParams != value)) - { - this.OnOutputParamsChanging(value); - this.SendPropertyChanging(); - this._OutputParams = value; - this.SendPropertyChanged("OutputParams"); - this.OnOutputParamsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QueryType", DbType="SmallInt")] - public System.Nullable QueryType - { - get - { - return this._QueryType; - } - set - { - if ((this._QueryType != value)) - { - this.OnQueryTypeChanging(value); - this.SendPropertyChanging(); - this._QueryType = value; - this.SendPropertyChanged("QueryType"); - this.OnQueryTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QueryFlag", DbType="SmallInt")] - public System.Nullable QueryFlag - { - get - { - return this._QueryFlag; - } - set - { - if ((this._QueryFlag != value)) - { - this.OnQueryFlagChanging(value); - this.SendPropertyChanging(); - this._QueryFlag = value; - this.SendPropertyChanged("QueryFlag"); - this.OnQueryFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Sort", DbType="SmallInt")] - public System.Nullable Sort - { - get - { - return this._Sort; - } - set - { - if ((this._Sort != value)) - { - this.OnSortChanging(value); - this.SendPropertyChanging(); - this._Sort = value; - this.SendPropertyChanged("Sort"); - this.OnSortChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuerySql", DbType="NVarChar(4000)")] - public string QuerySql - { - get - { - return this._QuerySql; - } - set - { - if ((this._QuerySql != value)) - { - this.OnQuerySqlChanging(value); - this.SendPropertyChanging(); - this._QuerySql = value; - this.SendPropertyChanged("QuerySql"); - this.OnQuerySqlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AppQueryDesc", DbType="NVarChar(500)")] - public string AppQueryDesc - { - get - { - return this._AppQueryDesc; - } - set - { - if ((this._AppQueryDesc != value)) - { - this.OnAppQueryDescChanging(value); - this.SendPropertyChanging(); - this._AppQueryDesc = value; - this.SendPropertyChanged("AppQueryDesc"); - this.OnAppQueryDescChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsDelete", DbType="Bit NOT NULL")] - public bool IsDelete - { - get - { - return this._IsDelete; - } - set - { - if ((this._IsDelete != value)) - { - this.OnIsDeleteChanging(value); - this.SendPropertyChanging(); - this._IsDelete = value; - this.SendPropertyChanged("IsDelete"); - this.OnIsDeleteChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_Role")] - public partial class Sys_Role : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RoleId; - - private string _RoleName; - - private string _Def; - - private string _RoleType; - - private System.Nullable _SortIndex; - - private System.Nullable _IsAuditFlow; - - private System.Nullable _IsHeadRole; - - private System.Nullable _IsAPPLeaderRole; - - private EntitySet _Project_RoleButtonPower; - - private EntitySet _Project_RolePower; - - private EntitySet _Project_User; - - private EntitySet _Sys_ButtonPower; - - private EntitySet _Sys_RolePower; - - private EntitySet _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnRoleNameChanging(string value); - partial void OnRoleNameChanged(); - partial void OnDefChanging(string value); - partial void OnDefChanged(); - partial void OnRoleTypeChanging(string value); - partial void OnRoleTypeChanged(); - partial void OnSortIndexChanging(System.Nullable value); - partial void OnSortIndexChanged(); - partial void OnIsAuditFlowChanging(System.Nullable value); - partial void OnIsAuditFlowChanged(); - partial void OnIsHeadRoleChanging(System.Nullable value); - partial void OnIsHeadRoleChanged(); - partial void OnIsAPPLeaderRoleChanging(System.Nullable value); - partial void OnIsAPPLeaderRoleChanged(); - #endregion - - public Sys_Role() - { - this._Project_RoleButtonPower = new EntitySet(new Action(this.attach_Project_RoleButtonPower), new Action(this.detach_Project_RoleButtonPower)); - this._Project_RolePower = new EntitySet(new Action(this.attach_Project_RolePower), new Action(this.detach_Project_RolePower)); - this._Project_User = new EntitySet(new Action(this.attach_Project_User), new Action(this.detach_Project_User)); - this._Sys_ButtonPower = new EntitySet(new Action(this.attach_Sys_ButtonPower), new Action(this.detach_Sys_ButtonPower)); - this._Sys_RolePower = new EntitySet(new Action(this.attach_Sys_RolePower), new Action(this.detach_Sys_RolePower)); - this._Sys_User = new EntitySet(new Action(this.attach_Sys_User), new Action(this.detach_Sys_User)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string RoleName - { - get - { - return this._RoleName; - } - set - { - if ((this._RoleName != value)) - { - this.OnRoleNameChanging(value); - this.SendPropertyChanging(); - this._RoleName = value; - this.SendPropertyChanged("RoleName"); - this.OnRoleNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Def", DbType="NVarChar(100)")] - public string Def - { - get - { - return this._Def; - } - set - { - if ((this._Def != value)) - { - this.OnDefChanging(value); - this.SendPropertyChanging(); - this._Def = value; - this.SendPropertyChanged("Def"); - this.OnDefChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleType", DbType="Char(1)")] - public string RoleType - { - get - { - return this._RoleType; - } - set - { - if ((this._RoleType != value)) - { - this.OnRoleTypeChanging(value); - this.SendPropertyChanging(); - this._RoleType = value; - this.SendPropertyChanged("RoleType"); - this.OnRoleTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SortIndex", DbType="Int")] - public System.Nullable SortIndex - { - get - { - return this._SortIndex; - } - set - { - if ((this._SortIndex != value)) - { - this.OnSortIndexChanging(value); - this.SendPropertyChanging(); - this._SortIndex = value; - this.SendPropertyChanged("SortIndex"); - this.OnSortIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAuditFlow", DbType="Bit")] - public System.Nullable IsAuditFlow - { - get - { - return this._IsAuditFlow; - } - set - { - if ((this._IsAuditFlow != value)) - { - this.OnIsAuditFlowChanging(value); - this.SendPropertyChanging(); - this._IsAuditFlow = value; - this.SendPropertyChanged("IsAuditFlow"); - this.OnIsAuditFlowChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHeadRole", DbType="Bit")] - public System.Nullable IsHeadRole - { - get - { - return this._IsHeadRole; - } - set - { - if ((this._IsHeadRole != value)) - { - this.OnIsHeadRoleChanging(value); - this.SendPropertyChanging(); - this._IsHeadRole = value; - this.SendPropertyChanged("IsHeadRole"); - this.OnIsHeadRoleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAPPLeaderRole", DbType="Bit")] - public System.Nullable IsAPPLeaderRole - { - get - { - return this._IsAPPLeaderRole; - } - set - { - if ((this._IsAPPLeaderRole != value)) - { - this.OnIsAPPLeaderRoleChanging(value); - this.SendPropertyChanging(); - this._IsAPPLeaderRole = value; - this.SendPropertyChanged("IsAPPLeaderRole"); - this.OnIsAPPLeaderRoleChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RoleButtonPower_Sys_Role", Storage="_Project_RoleButtonPower", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Project_RoleButtonPower - { - get - { - return this._Project_RoleButtonPower; - } - set - { - this._Project_RoleButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_RolePower_Project_RolePower", Storage="_Project_RolePower", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Project_RolePower - { - get - { - return this._Project_RolePower; - } - set - { - this._Project_RolePower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Sys_Role", Storage="_Project_User", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Project_User - { - get - { - return this._Project_User; - } - set - { - this._Project_User.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_ButtonPower_Sys_Role", Storage="_Sys_ButtonPower", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Sys_ButtonPower - { - get - { - return this._Sys_ButtonPower; - } - set - { - this._Sys_ButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_RolePower_Sys_RolePower", Storage="_Sys_RolePower", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Sys_RolePower - { - get - { - return this._Sys_RolePower; - } - set - { - this._Sys_RolePower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Sys_Role", Storage="_Sys_User", ThisKey="RoleId", OtherKey="RoleId", DeleteRule="NO ACTION")] - public EntitySet Sys_User - { - get - { - return this._Sys_User; - } - set - { - this._Sys_User.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Project_RoleButtonPower(Project_RoleButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Project_RoleButtonPower(Project_RoleButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - - private void attach_Project_RolePower(Project_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Project_RolePower(Project_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - - private void attach_Project_User(Project_User entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Project_User(Project_User entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - - private void attach_Sys_ButtonPower(Sys_ButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Sys_ButtonPower(Sys_ButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - - private void attach_Sys_RolePower(Sys_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Sys_RolePower(Sys_RolePower entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - - private void attach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = this; - } - - private void detach_Sys_User(Sys_User entity) - { - this.SendPropertyChanging(); - entity.Sys_Role = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_RolePower")] - public partial class Sys_RolePower : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RolePowerId; - - private string _RoleId; - - private string _MenuId; - - private EntityRef _Sys_Menu; - - private EntityRef _Sys_Role; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRolePowerIdChanging(string value); - partial void OnRolePowerIdChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnMenuIdChanging(string value); - partial void OnMenuIdChanged(); - #endregion - - public Sys_RolePower() - { - this._Sys_Menu = default(EntityRef); - this._Sys_Role = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RolePowerId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RolePowerId - { - get - { - return this._RolePowerId; - } - set - { - if ((this._RolePowerId != value)) - { - this.OnRolePowerIdChanging(value); - this.SendPropertyChanging(); - this._RolePowerId = value; - this.SendPropertyChanged("RolePowerId"); - this.OnRolePowerIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - if (this._Sys_Menu.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnMenuIdChanging(value); - this.SendPropertyChanging(); - this._MenuId = value; - this.SendPropertyChanged("MenuId"); - this.OnMenuIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_RolePower_Sys_Menu", Storage="_Sys_Menu", ThisKey="MenuId", OtherKey="MenuId", IsForeignKey=true)] - public Sys_Menu Sys_Menu - { - get - { - return this._Sys_Menu.Entity; - } - set - { - Sys_Menu previousValue = this._Sys_Menu.Entity; - if (((previousValue != value) - || (this._Sys_Menu.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Menu.Entity = null; - previousValue.Sys_RolePower.Remove(this); - } - this._Sys_Menu.Entity = value; - if ((value != null)) - { - value.Sys_RolePower.Add(this); - this._MenuId = value.MenuId; - } - else - { - this._MenuId = default(string); - } - this.SendPropertyChanged("Sys_Menu"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_RolePower_Sys_RolePower", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Sys_RolePower.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Sys_RolePower.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_System")] - public partial class Sys_System : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _SystemId; - - private string _SystemName; - - private string _SystemType; - - private System.Nullable _SorIndex; - - private System.Nullable _IsEnable; - - private System.Nullable _IsMoreProject; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnSystemIdChanging(string value); - partial void OnSystemIdChanged(); - partial void OnSystemNameChanging(string value); - partial void OnSystemNameChanged(); - partial void OnSystemTypeChanging(string value); - partial void OnSystemTypeChanged(); - partial void OnSorIndexChanging(System.Nullable value); - partial void OnSorIndexChanged(); - partial void OnIsEnableChanging(System.Nullable value); - partial void OnIsEnableChanged(); - partial void OnIsMoreProjectChanging(System.Nullable value); - partial void OnIsMoreProjectChanged(); - #endregion - - public Sys_System() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string SystemId - { - get - { - return this._SystemId; - } - set - { - if ((this._SystemId != value)) - { - this.OnSystemIdChanging(value); - this.SendPropertyChanging(); - this._SystemId = value; - this.SendPropertyChanged("SystemId"); - this.OnSystemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(120)")] - public string SystemName - { - get - { - return this._SystemName; - } - set - { - if ((this._SystemName != value)) - { - this.OnSystemNameChanging(value); - this.SendPropertyChanging(); - this._SystemName = value; - this.SendPropertyChanged("SystemName"); - this.OnSystemNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemType", DbType="Char(1)")] - public string SystemType - { - get - { - return this._SystemType; - } - set - { - if ((this._SystemType != value)) - { - this.OnSystemTypeChanging(value); - this.SendPropertyChanging(); - this._SystemType = value; - this.SendPropertyChanged("SystemType"); - this.OnSystemTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SorIndex", DbType="Int")] - public System.Nullable SorIndex - { - get - { - return this._SorIndex; - } - set - { - if ((this._SorIndex != value)) - { - this.OnSorIndexChanging(value); - this.SendPropertyChanging(); - this._SorIndex = value; - this.SendPropertyChanged("SorIndex"); - this.OnSorIndexChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsEnable", DbType="Bit")] - public System.Nullable IsEnable - { - get - { - return this._IsEnable; - } - set - { - if ((this._IsEnable != value)) - { - this.OnIsEnableChanging(value); - this.SendPropertyChanging(); - this._IsEnable = value; - this.SendPropertyChanged("IsEnable"); - this.OnIsEnableChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsMoreProject", DbType="Bit")] - public System.Nullable IsMoreProject - { - get - { - return this._IsMoreProject; - } - set - { - if ((this._IsMoreProject != value)) - { - this.OnIsMoreProjectChanging(value); - this.SendPropertyChanging(); - this._IsMoreProject = value; - this.SendPropertyChanged("IsMoreProject"); - this.OnIsMoreProjectChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_User")] - public partial class Sys_User : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _UserId; - - private string _Account; - - private string _UserCode; - - private string _Password; - - private string _UserName; - - private string _RoleId; - - private System.Nullable _IsPost; - - private string _UnitId; - - private string _DepartId; - - private System.Nullable _IsHeadMan; - - private string _EmailPassword; - - private string _Email; - - private string _LoginProjectId; - - private string _LoginSystemId; - - private string _AllowLoginSystem; - - private string _Phone; - - private string _DeviceId; - - private string _SignatureUrl; - - private EntitySet _Base_Project; - - private EntitySet _Common_NoticeSign; - - private EntitySet _HJGL_BO_PreWeldReportMain; - - private EntitySet _User; - - private EntitySet _HJGL_CH_HotProessTrust; - - private EntitySet _HJGL_ElectrodeBake; - - private EntitySet _HJGL_ElectrodeRecovery; - - private EntitySet _HJGL_ElectrodeRecovery_Sys_User1; - - private EntitySet _HJGL_EMaterialRegist; - - private EntitySet _HJGL_EWeldRHRecord; - - private EntitySet _HJGL_Match_InStorage; - - private EntitySet _HJGL_Match_OutStorage; - - private EntitySet _HJGL_Sys_DataInTemp; - - private EntitySet _HJGL_Sys_UserShowColumns; - - private EntitySet _HJGL_WeldingProcedure_WeldHotProcessCard; - - private EntitySet _Project_User; - - private EntitySet _Project_UserButtonPower; - - private EntitySet _Project_UserPower; - - private EntitySet _Sys_Log; - - private EntityRef _Base_Depart; - - private EntityRef _Base_Unit; - - private EntityRef _Sys_Role; - - private EntitySet _Sys_UserShowColumns; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnAccountChanging(string value); - partial void OnAccountChanged(); - partial void OnUserCodeChanging(string value); - partial void OnUserCodeChanged(); - partial void OnPasswordChanging(string value); - partial void OnPasswordChanged(); - partial void OnUserNameChanging(string value); - partial void OnUserNameChanged(); - partial void OnRoleIdChanging(string value); - partial void OnRoleIdChanged(); - partial void OnIsPostChanging(System.Nullable value); - partial void OnIsPostChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnDepartIdChanging(string value); - partial void OnDepartIdChanged(); - partial void OnIsHeadManChanging(System.Nullable value); - partial void OnIsHeadManChanged(); - partial void OnEmailPasswordChanging(string value); - partial void OnEmailPasswordChanged(); - partial void OnEmailChanging(string value); - partial void OnEmailChanged(); - partial void OnLoginProjectIdChanging(string value); - partial void OnLoginProjectIdChanged(); - partial void OnLoginSystemIdChanging(string value); - partial void OnLoginSystemIdChanged(); - partial void OnAllowLoginSystemChanging(string value); - partial void OnAllowLoginSystemChanged(); - partial void OnPhoneChanging(string value); - partial void OnPhoneChanged(); - partial void OnDeviceIdChanging(string value); - partial void OnDeviceIdChanged(); - partial void OnSignatureUrlChanging(string value); - partial void OnSignatureUrlChanged(); - #endregion - - public Sys_User() - { - this._Base_Project = new EntitySet(new Action(this.attach_Base_Project), new Action(this.detach_Base_Project)); - this._Common_NoticeSign = new EntitySet(new Action(this.attach_Common_NoticeSign), new Action(this.detach_Common_NoticeSign)); - this._HJGL_BO_PreWeldReportMain = new EntitySet(new Action(this.attach_HJGL_BO_PreWeldReportMain), new Action(this.detach_HJGL_BO_PreWeldReportMain)); - this._User = new EntitySet(new Action(this.attach_User), new Action(this.detach_User)); - this._HJGL_CH_HotProessTrust = new EntitySet(new Action(this.attach_HJGL_CH_HotProessTrust), new Action(this.detach_HJGL_CH_HotProessTrust)); - this._HJGL_ElectrodeBake = new EntitySet(new Action(this.attach_HJGL_ElectrodeBake), new Action(this.detach_HJGL_ElectrodeBake)); - this._HJGL_ElectrodeRecovery = new EntitySet(new Action(this.attach_HJGL_ElectrodeRecovery), new Action(this.detach_HJGL_ElectrodeRecovery)); - this._HJGL_ElectrodeRecovery_Sys_User1 = new EntitySet(new Action(this.attach_HJGL_ElectrodeRecovery_Sys_User1), new Action(this.detach_HJGL_ElectrodeRecovery_Sys_User1)); - this._HJGL_EMaterialRegist = new EntitySet(new Action(this.attach_HJGL_EMaterialRegist), new Action(this.detach_HJGL_EMaterialRegist)); - this._HJGL_EWeldRHRecord = new EntitySet(new Action(this.attach_HJGL_EWeldRHRecord), new Action(this.detach_HJGL_EWeldRHRecord)); - this._HJGL_Match_InStorage = new EntitySet(new Action(this.attach_HJGL_Match_InStorage), new Action(this.detach_HJGL_Match_InStorage)); - this._HJGL_Match_OutStorage = new EntitySet(new Action(this.attach_HJGL_Match_OutStorage), new Action(this.detach_HJGL_Match_OutStorage)); - this._HJGL_Sys_DataInTemp = new EntitySet(new Action(this.attach_HJGL_Sys_DataInTemp), new Action(this.detach_HJGL_Sys_DataInTemp)); - this._HJGL_Sys_UserShowColumns = new EntitySet(new Action(this.attach_HJGL_Sys_UserShowColumns), new Action(this.detach_HJGL_Sys_UserShowColumns)); - this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet(new Action(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard)); - this._Project_User = new EntitySet(new Action(this.attach_Project_User), new Action(this.detach_Project_User)); - this._Project_UserButtonPower = new EntitySet(new Action(this.attach_Project_UserButtonPower), new Action(this.detach_Project_UserButtonPower)); - this._Project_UserPower = new EntitySet(new Action(this.attach_Project_UserPower), new Action(this.detach_Project_UserPower)); - this._Sys_Log = new EntitySet(new Action(this.attach_Sys_Log), new Action(this.detach_Sys_Log)); - this._Base_Depart = default(EntityRef); - this._Base_Unit = default(EntityRef); - this._Sys_Role = default(EntityRef); - this._Sys_UserShowColumns = new EntitySet(new Action(this.attach_Sys_UserShowColumns), new Action(this.detach_Sys_UserShowColumns)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this.OnAccountChanging(value); - this.SendPropertyChanging(); - this._Account = value; - this.SendPropertyChanged("Account"); - this.OnAccountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserCode", DbType="NVarChar(50)")] - public string UserCode - { - get - { - return this._UserCode; - } - set - { - if ((this._UserCode != value)) - { - this.OnUserCodeChanging(value); - this.SendPropertyChanging(); - this._UserCode = value; - this.SendPropertyChanged("UserCode"); - this.OnUserCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Password", DbType="NVarChar(50)")] - public string Password - { - get - { - return this._Password; - } - set - { - if ((this._Password != value)) - { - this.OnPasswordChanging(value); - this.SendPropertyChanging(); - this._Password = value; - this.SendPropertyChanged("Password"); - this.OnPasswordChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(20)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this.OnUserNameChanging(value); - this.SendPropertyChanging(); - this._UserName = value; - this.SendPropertyChanged("UserName"); - this.OnUserNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - if (this._Sys_Role.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnRoleIdChanging(value); - this.SendPropertyChanging(); - this._RoleId = value; - this.SendPropertyChanged("RoleId"); - this.OnRoleIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPost", DbType="Bit")] - public System.Nullable IsPost - { - get - { - return this._IsPost; - } - set - { - if ((this._IsPost != value)) - { - this.OnIsPostChanging(value); - this.SendPropertyChanging(); - this._IsPost = value; - this.SendPropertyChanged("IsPost"); - this.OnIsPostChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - if (this._Base_Depart.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnDepartIdChanging(value); - this.SendPropertyChanging(); - this._DepartId = value; - this.SendPropertyChanged("DepartId"); - this.OnDepartIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHeadMan", DbType="Bit")] - public System.Nullable IsHeadMan - { - get - { - return this._IsHeadMan; - } - set - { - if ((this._IsHeadMan != value)) - { - this.OnIsHeadManChanging(value); - this.SendPropertyChanging(); - this._IsHeadMan = value; - this.SendPropertyChanged("IsHeadMan"); - this.OnIsHeadManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EmailPassword", DbType="NVarChar(50)")] - public string EmailPassword - { - get - { - return this._EmailPassword; - } - set - { - if ((this._EmailPassword != value)) - { - this.OnEmailPasswordChanging(value); - this.SendPropertyChanging(); - this._EmailPassword = value; - this.SendPropertyChanged("EmailPassword"); - this.OnEmailPasswordChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="NVarChar(50)")] - public string Email - { - get - { - return this._Email; - } - set - { - if ((this._Email != value)) - { - this.OnEmailChanging(value); - this.SendPropertyChanging(); - this._Email = value; - this.SendPropertyChanged("Email"); - this.OnEmailChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoginProjectId", DbType="NVarChar(50)")] - public string LoginProjectId - { - get - { - return this._LoginProjectId; - } - set - { - if ((this._LoginProjectId != value)) - { - this.OnLoginProjectIdChanging(value); - this.SendPropertyChanging(); - this._LoginProjectId = value; - this.SendPropertyChanged("LoginProjectId"); - this.OnLoginProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LoginSystemId", DbType="NVarChar(50)")] - public string LoginSystemId - { - get - { - return this._LoginSystemId; - } - set - { - if ((this._LoginSystemId != value)) - { - this.OnLoginSystemIdChanging(value); - this.SendPropertyChanging(); - this._LoginSystemId = value; - this.SendPropertyChanged("LoginSystemId"); - this.OnLoginSystemIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AllowLoginSystem", DbType="NVarChar(50)")] - public string AllowLoginSystem - { - get - { - return this._AllowLoginSystem; - } - set - { - if ((this._AllowLoginSystem != value)) - { - this.OnAllowLoginSystemChanging(value); - this.SendPropertyChanging(); - this._AllowLoginSystem = value; - this.SendPropertyChanged("AllowLoginSystem"); - this.OnAllowLoginSystemChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phone", DbType="NVarChar(50)")] - public string Phone - { - get - { - return this._Phone; - } - set - { - if ((this._Phone != value)) - { - this.OnPhoneChanging(value); - this.SendPropertyChanging(); - this._Phone = value; - this.SendPropertyChanged("Phone"); - this.OnPhoneChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="deviceId", Storage="_DeviceId", DbType="NVarChar(50)")] - public string DeviceId - { - get - { - return this._DeviceId; - } - set - { - if ((this._DeviceId != value)) - { - this.OnDeviceIdChanging(value); - this.SendPropertyChanging(); - this._DeviceId = value; - this.SendPropertyChanged("DeviceId"); - this.OnDeviceIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")] - public string SignatureUrl - { - get - { - return this._SignatureUrl; - } - set - { - if ((this._SignatureUrl != value)) - { - this.OnSignatureUrlChanging(value); - this.SendPropertyChanging(); - this._SignatureUrl = value; - this.SendPropertyChanged("SignatureUrl"); - this.OnSignatureUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_Project_Sys_User", Storage="_Base_Project", ThisKey="UserId", OtherKey="CreateManId", DeleteRule="NO ACTION")] - public EntitySet Base_Project - { - get - { - return this._Base_Project; - } - set - { - this._Base_Project.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Common_NoticeSign_Sys_User", Storage="_Common_NoticeSign", ThisKey="UserId", OtherKey="SignMan", DeleteRule="NO ACTION")] - public EntitySet Common_NoticeSign - { - get - { - return this._Common_NoticeSign; - } - set - { - this._Common_NoticeSign.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_Sys_User", Storage="_HJGL_BO_PreWeldReportMain", ThisKey="UserId", OtherKey="WelderHardMan", DeleteRule="NO ACTION")] - public EntitySet HJGL_BO_PreWeldReportMain - { - get - { - return this._HJGL_BO_PreWeldReportMain; - } - set - { - this._HJGL_BO_PreWeldReportMain.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_PreWeldReportMain_Sys_User1", Storage="_User", ThisKey="UserId", OtherKey="AuditMan", DeleteRule="NO ACTION")] - public EntitySet User - { - get - { - return this._User; - } - set - { - this._User.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_CH_HotProessTrust_Sys_User", Storage="_HJGL_CH_HotProessTrust", ThisKey="UserId", OtherKey="TrstManId", DeleteRule="NO ACTION")] - public EntitySet HJGL_CH_HotProessTrust - { - get - { - return this._HJGL_CH_HotProessTrust; - } - set - { - this._HJGL_CH_HotProessTrust.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeBake_Sys_User", Storage="_HJGL_ElectrodeBake", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeBake - { - get - { - return this._HJGL_ElectrodeBake; - } - set - { - this._HJGL_ElectrodeBake.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecovery_Sys_User", Storage="_HJGL_ElectrodeRecovery", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeRecovery - { - get - { - return this._HJGL_ElectrodeRecovery; - } - set - { - this._HJGL_ElectrodeRecovery.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_ElectrodeRecovery_Sys_User1", Storage="_HJGL_ElectrodeRecovery_Sys_User1", ThisKey="UserId", OtherKey="AuditMan", DeleteRule="NO ACTION")] - public EntitySet HJGL_ElectrodeRecovery_Sys_User1 - { - get - { - return this._HJGL_ElectrodeRecovery_Sys_User1; - } - set - { - this._HJGL_ElectrodeRecovery_Sys_User1.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EMaterialRegist_Sys_User", Storage="_HJGL_EMaterialRegist", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] - public EntitySet HJGL_EMaterialRegist - { - get - { - return this._HJGL_EMaterialRegist; - } - set - { - this._HJGL_EMaterialRegist.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_EWeldRHRecord_Sys_User", Storage="_HJGL_EWeldRHRecord", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] - public EntitySet HJGL_EWeldRHRecord - { - get - { - return this._HJGL_EWeldRHRecord; - } - set - { - this._HJGL_EWeldRHRecord.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_InStorage_Sys_User", Storage="_HJGL_Match_InStorage", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_InStorage - { - get - { - return this._HJGL_Match_InStorage; - } - set - { - this._HJGL_Match_InStorage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Match_OutStorage_Sys_User", Storage="_HJGL_Match_OutStorage", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] - public EntitySet HJGL_Match_OutStorage - { - get - { - return this._HJGL_Match_OutStorage; - } - set - { - this._HJGL_Match_OutStorage.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Sys_DataInTemp_Sys_User", Storage="_HJGL_Sys_DataInTemp", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Sys_DataInTemp - { - get - { - return this._HJGL_Sys_DataInTemp; - } - set - { - this._HJGL_Sys_DataInTemp.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_Sys_UserShowColumns_Sys_User", Storage="_HJGL_Sys_UserShowColumns", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet HJGL_Sys_UserShowColumns - { - get - { - return this._HJGL_Sys_UserShowColumns; - } - set - { - this._HJGL_Sys_UserShowColumns.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HotProcessCardList_Sys_User", Storage="_HJGL_WeldingProcedure_WeldHotProcessCard", ThisKey="UserId", OtherKey="BzPerson", DeleteRule="NO ACTION")] - public EntitySet HJGL_WeldingProcedure_WeldHotProcessCard - { - get - { - return this._HJGL_WeldingProcedure_WeldHotProcessCard; - } - set - { - this._HJGL_WeldingProcedure_WeldHotProcessCard.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_User_Sys_User", Storage="_Project_User", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet Project_User - { - get - { - return this._Project_User; - } - set - { - this._Project_User.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserButtonPower_Project_User", Storage="_Project_UserButtonPower", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet Project_UserButtonPower - { - get - { - return this._Project_UserButtonPower; - } - set - { - this._Project_UserButtonPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Project_UserPower_Project_User", Storage="_Project_UserPower", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet Project_UserPower - { - get - { - return this._Project_UserPower; - } - set - { - this._Project_UserPower.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_Log_Sys_User_UserId", Storage="_Sys_Log", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet Sys_Log - { - get - { - return this._Sys_Log; - } - set - { - this._Sys_Log.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Base_Depart", Storage="_Base_Depart", ThisKey="DepartId", OtherKey="DepartId", IsForeignKey=true)] - public Base_Depart Base_Depart - { - get - { - return this._Base_Depart.Entity; - } - set - { - Base_Depart previousValue = this._Base_Depart.Entity; - if (((previousValue != value) - || (this._Base_Depart.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Depart.Entity = null; - previousValue.Sys_User.Remove(this); - } - this._Base_Depart.Entity = value; - if ((value != null)) - { - value.Sys_User.Add(this); - this._DepartId = value.DepartId; - } - else - { - this._DepartId = default(string); - } - this.SendPropertyChanged("Base_Depart"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.Sys_User.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.Sys_User.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Sys_Role", Storage="_Sys_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)] - public Sys_Role Sys_Role - { - get - { - return this._Sys_Role.Entity; - } - set - { - Sys_Role previousValue = this._Sys_Role.Entity; - if (((previousValue != value) - || (this._Sys_Role.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_Role.Entity = null; - previousValue.Sys_User.Remove(this); - } - this._Sys_Role.Entity = value; - if ((value != null)) - { - value.Sys_User.Add(this); - this._RoleId = value.RoleId; - } - else - { - this._RoleId = default(string); - } - this.SendPropertyChanged("Sys_Role"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_UserShowColumns_Sys_User", Storage="_Sys_UserShowColumns", ThisKey="UserId", OtherKey="UserId", DeleteRule="NO ACTION")] - public EntitySet Sys_UserShowColumns - { - get - { - return this._Sys_UserShowColumns; - } - set - { - this._Sys_UserShowColumns.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Base_Project(Base_Project entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Base_Project(Base_Project entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Common_NoticeSign(Common_NoticeSign entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Common_NoticeSign(Common_NoticeSign entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_BO_PreWeldReportMain(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_User(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.AuditManSys_User = this; - } - - private void detach_User(HJGL_BO_PreWeldReportMain entity) - { - this.SendPropertyChanging(); - entity.AuditManSys_User = null; - } - - private void attach_HJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_CH_HotProessTrust(HJGL_CH_HotProessTrust entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_ElectrodeBake(HJGL_ElectrodeBake entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_ElectrodeBake(HJGL_ElectrodeBake entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_ElectrodeRecovery(HJGL_ElectrodeRecovery entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_ElectrodeRecovery_Sys_User1(HJGL_ElectrodeRecovery entity) - { - this.SendPropertyChanging(); - entity.AuditManSys_User = this; - } - - private void detach_HJGL_ElectrodeRecovery_Sys_User1(HJGL_ElectrodeRecovery entity) - { - this.SendPropertyChanging(); - entity.AuditManSys_User = null; - } - - private void attach_HJGL_EMaterialRegist(HJGL_EMaterialRegist entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_EMaterialRegist(HJGL_EMaterialRegist entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_EWeldRHRecord(HJGL_EWeldRHRecord entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_EWeldRHRecord(HJGL_EWeldRHRecord entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_Match_InStorage(HJGL_Match_InStorage entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_Match_InStorage(HJGL_Match_InStorage entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_Match_OutStorage(HJGL_Match_OutStorage entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_Match_OutStorage(HJGL_Match_OutStorage entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_Sys_DataInTemp(HJGL_Sys_DataInTemp entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_Sys_DataInTemp(HJGL_Sys_DataInTemp entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_Sys_UserShowColumns(HJGL_Sys_UserShowColumns entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_Sys_UserShowColumns(HJGL_Sys_UserShowColumns entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_HJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_HJGL_WeldingProcedure_WeldHotProcessCard(HJGL_WeldingProcedure_WeldHotProcessCard entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Project_User(Project_User entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Project_User(Project_User entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Project_UserButtonPower(Project_UserButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Project_UserButtonPower(Project_UserButtonPower entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Project_UserPower(Project_UserPower entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Project_UserPower(Project_UserPower entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Sys_Log(Sys_Log entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Sys_Log(Sys_Log entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - - private void attach_Sys_UserShowColumns(Sys_UserShowColumns entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Sys_UserShowColumns(Sys_UserShowColumns entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_UserShowColumns")] - public partial class Sys_UserShowColumns : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ShowColumnId; - - private string _UserId; - - private string _Columns; - - private string _ShowType; - - private EntityRef _Sys_User; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnShowColumnIdChanging(string value); - partial void OnShowColumnIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnColumnsChanging(string value); - partial void OnColumnsChanged(); - partial void OnShowTypeChanging(string value); - partial void OnShowTypeChanged(); - #endregion - - public Sys_UserShowColumns() - { - this._Sys_User = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShowColumnId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ShowColumnId - { - get - { - return this._ShowColumnId; - } - set - { - if ((this._ShowColumnId != value)) - { - this.OnShowColumnIdChanging(value); - this.SendPropertyChanging(); - this._ShowColumnId = value; - this.SendPropertyChanged("ShowColumnId"); - this.OnShowColumnIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Columns", DbType="NVarChar(500)")] - public string Columns - { - get - { - return this._Columns; - } - set - { - if ((this._Columns != value)) - { - this.OnColumnsChanging(value); - this.SendPropertyChanging(); - this._Columns = value; - this.SendPropertyChanged("Columns"); - this.OnColumnsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShowType", DbType="Char(10)")] - public string ShowType - { - get - { - return this._ShowType; - } - set - { - if ((this._ShowType != value)) - { - this.OnShowTypeChanging(value); - this.SendPropertyChanging(); - this._ShowType = value; - this.SendPropertyChanged("ShowType"); - this.OnShowTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_UserShowColumns_Sys_User", Storage="_Sys_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Sys_UserShowColumns.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Sys_UserShowColumns.Add(this); - this._UserId = value.UserId; - } - else - { - this._UserId = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_CheckResultsSummaryTree")] - public partial class View_CheckResultsSummaryTree - { - - private string _ProjectId; - - private string _PipeId; - - private string _PipeCode; - - public View_CheckResultsSummaryTree() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeId", DbType="VarChar(152)")] - public string PipeId - { - get - { - return this._PipeId; - } - set - { - if ((this._PipeId != value)) - { - this._PipeId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipeCode", DbType="NVarChar(144)")] - public string PipeCode - { - get - { - return this._PipeCode; - } - set - { - if ((this._PipeCode != value)) - { - this._PipeCode = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_AuditFlowApprove")] - public partial class View_Common_AuditFlowApprove - { - - private string _AuditFlowApproveId; - - private string _ToKey; - - private string _MenuId; - - private string _HandleUser; - - private System.Nullable _HandleDate; - - private string _MyOpinions; - - private System.Nullable _IsAgree; - - private System.Nullable _HandleStep; - - private string _UserName; - - private string _IsAgreeStr; - - private string _HandleStepStr; - - public View_Common_AuditFlowApprove() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditFlowApproveId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string AuditFlowApproveId - { - get - { - return this._AuditFlowApproveId; - } - set - { - if ((this._AuditFlowApproveId != value)) - { - this._AuditFlowApproveId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ToKey", DbType="NVarChar(50)")] - public string ToKey - { - get - { - return this._ToKey; - } - set - { - if ((this._ToKey != value)) - { - this._ToKey = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MenuId", DbType="NVarChar(50)")] - public string MenuId - { - get - { - return this._MenuId; - } - set - { - if ((this._MenuId != value)) - { - this._MenuId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="NVarChar(50)")] - public string HandleUser - { - get - { - return this._HandleUser; - } - set - { - if ((this._HandleUser != value)) - { - this._HandleUser = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleDate", DbType="DateTime")] - public System.Nullable HandleDate - { - get - { - return this._HandleDate; - } - set - { - if ((this._HandleDate != value)) - { - this._HandleDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MyOpinions", DbType="NVarChar(500)")] - public string MyOpinions - { - get - { - return this._MyOpinions; - } - set - { - if ((this._MyOpinions != value)) - { - this._MyOpinions = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgree", DbType="Bit")] - public System.Nullable IsAgree - { - get - { - return this._IsAgree; - } - set - { - if ((this._IsAgree != value)) - { - this._IsAgree = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleStep", DbType="Int")] - public System.Nullable HandleStep - { - get - { - return this._HandleStep; - } - set - { - if ((this._HandleStep != value)) - { - this._HandleStep = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(20)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this._UserName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgreeStr", DbType="VarChar(6) NOT NULL", CanBeNull=false)] - public string IsAgreeStr - { - get - { - return this._IsAgreeStr; - } - set - { - if ((this._IsAgreeStr != value)) - { - this._IsAgreeStr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleStepStr", DbType="NVarChar(20)")] - public string HandleStepStr - { - get - { - return this._HandleStepStr; - } - set - { - if ((this._HandleStepStr != value)) - { - this._HandleStepStr = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_ConstructionStandardIdentify")] - public partial class View_Common_ConstructionStandardIdentify - { - - private string _ConstructionStandardIdentifyCode; - - private string _VersionNumber; - - private string _ProjectId; - - private string _IdentifyPerson; - - private System.Nullable _IdentifyDate; - - private string _Remark; - - private string _Type; - - private string _IdentifyPersonName; - - private string _ApproveManName; - - private string _State; - - public View_Common_ConstructionStandardIdentify() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardIdentifyCode", DbType="NVarChar(30) NOT NULL", CanBeNull=false)] - public string ConstructionStandardIdentifyCode - { - get - { - return this._ConstructionStandardIdentifyCode; - } - set - { - if ((this._ConstructionStandardIdentifyCode != value)) - { - this._ConstructionStandardIdentifyCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VersionNumber", DbType="NVarChar(10)")] - public string VersionNumber - { - get - { - return this._VersionNumber; - } - set - { - if ((this._VersionNumber != value)) - { - this._VersionNumber = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyPerson", DbType="NVarChar(50)")] - public string IdentifyPerson - { - get - { - return this._IdentifyPerson; - } - set - { - if ((this._IdentifyPerson != value)) - { - this._IdentifyPerson = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyDate", DbType="DateTime")] - public System.Nullable IdentifyDate - { - get - { - return this._IdentifyDate; - } - set - { - if ((this._IdentifyDate != value)) - { - this._IdentifyDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(150)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this._Type = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyPersonName", DbType="NVarChar(20)")] - public string IdentifyPersonName - { - get - { - return this._IdentifyPersonName; - } - set - { - if ((this._IdentifyPersonName != value)) - { - this._IdentifyPersonName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveManName", DbType="NVarChar(20)")] - public string ApproveManName - { - get - { - return this._ApproveManName; - } - set - { - if ((this._ApproveManName != value)) - { - this._ApproveManName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="NVarChar(20)")] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this._State = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_ConstructionStandardSelectedItem")] - public partial class View_Common_ConstructionStandardSelectedItem - { - - private string _ConstructionStandardSelectedItemId; - - private string _ConstructionStandardIdentifyCode; - - private string _StandardId; - - private System.Nullable _StandardCode; - - private string _StandardGrade; - - private string _StandardNo; - - private string _StandardName; - - private string _AttachUrl; - - private System.Nullable _IsSelected1; - - private System.Nullable _IsSelected2; - - private System.Nullable _IsSelected3; - - private System.Nullable _IsSelected4; - - private System.Nullable _IsSelected5; - - private System.Nullable _IsSelected6; - - private System.Nullable _IsSelected7; - - private System.Nullable _IsSelected8; - - private System.Nullable _IsSelected9; - - private System.Nullable _IsSelected10; - - private System.Nullable _IsSelected11; - - private System.Nullable _IsSelected12; - - private System.Nullable _IsSelected13; - - private System.Nullable _IsSelected14; - - private System.Nullable _IsSelected15; - - private System.Nullable _IsSelected16; - - private System.Nullable _IsSelected17; - - private System.Nullable _IsSelected18; - - private System.Nullable _IsSelected19; - - private System.Nullable _IsSelected20; - - private System.Nullable _IsSelected21; - - private System.Nullable _IsSelected22; - - private System.Nullable _IsSelected23; - - private System.Nullable _IsSelected90; - - public View_Common_ConstructionStandardSelectedItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardSelectedItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ConstructionStandardSelectedItemId - { - get - { - return this._ConstructionStandardSelectedItemId; - } - set - { - if ((this._ConstructionStandardSelectedItemId != value)) - { - this._ConstructionStandardSelectedItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionStandardIdentifyCode", DbType="NVarChar(30)")] - public string ConstructionStandardIdentifyCode - { - get - { - return this._ConstructionStandardIdentifyCode; - } - set - { - if ((this._ConstructionStandardIdentifyCode != value)) - { - this._ConstructionStandardIdentifyCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardId", DbType="NVarChar(50)")] - public string StandardId - { - get - { - return this._StandardId; - } - set - { - if ((this._StandardId != value)) - { - this._StandardId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardCode", DbType="Int")] - public System.Nullable StandardCode - { - get - { - return this._StandardCode; - } - set - { - if ((this._StandardCode != value)) - { - this._StandardCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardGrade", DbType="NChar(12)")] - public string StandardGrade - { - get - { - return this._StandardGrade; - } - set - { - if ((this._StandardGrade != value)) - { - this._StandardGrade = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardNo", DbType="NVarChar(25)")] - public string StandardNo - { - get - { - return this._StandardNo; - } - set - { - if ((this._StandardNo != value)) - { - this._StandardNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StandardName", DbType="NVarChar(200)")] - public string StandardName - { - get - { - return this._StandardName; - } - set - { - if ((this._StandardName != value)) - { - this._StandardName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(200)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this._AttachUrl = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected1", DbType="Bit")] - public System.Nullable IsSelected1 - { - get - { - return this._IsSelected1; - } - set - { - if ((this._IsSelected1 != value)) - { - this._IsSelected1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected2", DbType="Bit")] - public System.Nullable IsSelected2 - { - get - { - return this._IsSelected2; - } - set - { - if ((this._IsSelected2 != value)) - { - this._IsSelected2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected3", DbType="Bit")] - public System.Nullable IsSelected3 - { - get - { - return this._IsSelected3; - } - set - { - if ((this._IsSelected3 != value)) - { - this._IsSelected3 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected4", DbType="Bit")] - public System.Nullable IsSelected4 - { - get - { - return this._IsSelected4; - } - set - { - if ((this._IsSelected4 != value)) - { - this._IsSelected4 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected5", DbType="Bit")] - public System.Nullable IsSelected5 - { - get - { - return this._IsSelected5; - } - set - { - if ((this._IsSelected5 != value)) - { - this._IsSelected5 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected6", DbType="Bit")] - public System.Nullable IsSelected6 - { - get - { - return this._IsSelected6; - } - set - { - if ((this._IsSelected6 != value)) - { - this._IsSelected6 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected7", DbType="Bit")] - public System.Nullable IsSelected7 - { - get - { - return this._IsSelected7; - } - set - { - if ((this._IsSelected7 != value)) - { - this._IsSelected7 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected8", DbType="Bit")] - public System.Nullable IsSelected8 - { - get - { - return this._IsSelected8; - } - set - { - if ((this._IsSelected8 != value)) - { - this._IsSelected8 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected9", DbType="Bit")] - public System.Nullable IsSelected9 - { - get - { - return this._IsSelected9; - } - set - { - if ((this._IsSelected9 != value)) - { - this._IsSelected9 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected10", DbType="Bit")] - public System.Nullable IsSelected10 - { - get - { - return this._IsSelected10; - } - set - { - if ((this._IsSelected10 != value)) - { - this._IsSelected10 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected11", DbType="Bit")] - public System.Nullable IsSelected11 - { - get - { - return this._IsSelected11; - } - set - { - if ((this._IsSelected11 != value)) - { - this._IsSelected11 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected12", DbType="Bit")] - public System.Nullable IsSelected12 - { - get - { - return this._IsSelected12; - } - set - { - if ((this._IsSelected12 != value)) - { - this._IsSelected12 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected13", DbType="Bit")] - public System.Nullable IsSelected13 - { - get - { - return this._IsSelected13; - } - set - { - if ((this._IsSelected13 != value)) - { - this._IsSelected13 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected14", DbType="Bit")] - public System.Nullable IsSelected14 - { - get - { - return this._IsSelected14; - } - set - { - if ((this._IsSelected14 != value)) - { - this._IsSelected14 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected15", DbType="Bit")] - public System.Nullable IsSelected15 - { - get - { - return this._IsSelected15; - } - set - { - if ((this._IsSelected15 != value)) - { - this._IsSelected15 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected16", DbType="Bit")] - public System.Nullable IsSelected16 - { - get - { - return this._IsSelected16; - } - set - { - if ((this._IsSelected16 != value)) - { - this._IsSelected16 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected17", DbType="Bit")] - public System.Nullable IsSelected17 - { - get - { - return this._IsSelected17; - } - set - { - if ((this._IsSelected17 != value)) - { - this._IsSelected17 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected18", DbType="Bit")] - public System.Nullable IsSelected18 - { - get - { - return this._IsSelected18; - } - set - { - if ((this._IsSelected18 != value)) - { - this._IsSelected18 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected19", DbType="Bit")] - public System.Nullable IsSelected19 - { - get - { - return this._IsSelected19; - } - set - { - if ((this._IsSelected19 != value)) - { - this._IsSelected19 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected20", DbType="Bit")] - public System.Nullable IsSelected20 - { - get - { - return this._IsSelected20; - } - set - { - if ((this._IsSelected20 != value)) - { - this._IsSelected20 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected21", DbType="Bit")] - public System.Nullable IsSelected21 - { - get - { - return this._IsSelected21; - } - set - { - if ((this._IsSelected21 != value)) - { - this._IsSelected21 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected22", DbType="Bit")] - public System.Nullable IsSelected22 - { - get - { - return this._IsSelected22; - } - set - { - if ((this._IsSelected22 != value)) - { - this._IsSelected22 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected23", DbType="Bit")] - public System.Nullable IsSelected23 - { - get - { - return this._IsSelected23; - } - set - { - if ((this._IsSelected23 != value)) - { - this._IsSelected23 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSelected90", DbType="Bit")] - public System.Nullable IsSelected90 - { - get - { - return this._IsSelected90; - } - set - { - if ((this._IsSelected90 != value)) - { - this._IsSelected90 = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_LawRegulationIdentify")] - public partial class View_Common_LawRegulationIdentify - { - - private string _LawRegulationIdentifyCode; - - private string _VersionNumber; - - private string _ProjectId; - - private string _IdentifyPerson; - - private System.Nullable _IdentifyDate; - - private string _ManagerContent; - - private string _IdentifyConclude; - - private string _Type; - - private string _IdentifyPersonName; - - private string _ApproveManName; - - private string _State; - - public View_Common_LawRegulationIdentify() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationIdentifyCode", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string LawRegulationIdentifyCode - { - get - { - return this._LawRegulationIdentifyCode; - } - set - { - if ((this._LawRegulationIdentifyCode != value)) - { - this._LawRegulationIdentifyCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VersionNumber", DbType="NVarChar(10)")] - public string VersionNumber - { - get - { - return this._VersionNumber; - } - set - { - if ((this._VersionNumber != value)) - { - this._VersionNumber = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyPerson", DbType="NVarChar(50)")] - public string IdentifyPerson - { - get - { - return this._IdentifyPerson; - } - set - { - if ((this._IdentifyPerson != value)) - { - this._IdentifyPerson = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyDate", DbType="DateTime")] - public System.Nullable IdentifyDate - { - get - { - return this._IdentifyDate; - } - set - { - if ((this._IdentifyDate != value)) - { - this._IdentifyDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ManagerContent", DbType="NText", UpdateCheck=UpdateCheck.Never)] - public string ManagerContent - { - get - { - return this._ManagerContent; - } - set - { - if ((this._ManagerContent != value)) - { - this._ManagerContent = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyConclude", DbType="NText", UpdateCheck=UpdateCheck.Never)] - public string IdentifyConclude - { - get - { - return this._IdentifyConclude; - } - set - { - if ((this._IdentifyConclude != value)) - { - this._IdentifyConclude = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] - public string Type - { - get - { - return this._Type; - } - set - { - if ((this._Type != value)) - { - this._Type = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentifyPersonName", DbType="NVarChar(20)")] - public string IdentifyPersonName - { - get - { - return this._IdentifyPersonName; - } - set - { - if ((this._IdentifyPersonName != value)) - { - this._IdentifyPersonName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveManName", DbType="NVarChar(20)")] - public string ApproveManName - { - get - { - return this._ApproveManName; - } - set - { - if ((this._ApproveManName != value)) - { - this._ApproveManName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="NVarChar(20)")] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this._State = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_LawRegulationSelectedItem")] - public partial class View_Common_LawRegulationSelectedItem - { - - private string _LawRegulationSelectedItemId; - - private string _LawRegulationIdentifyCode; - - private string _LawRegulationId; - - private System.Nullable _LawRegulationCode; - - private string _LawRegulationGrade; - - private string _FitPerfomance; - - private string _LawRegulationName; - - private System.Nullable _ApproveDate; - - private System.Nullable _AffectiveDate; - - private string _AttentionItem; - - private string _LawRegulationGradeName; - - public View_Common_LawRegulationSelectedItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationSelectedItemId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string LawRegulationSelectedItemId - { - get - { - return this._LawRegulationSelectedItemId; - } - set - { - if ((this._LawRegulationSelectedItemId != value)) - { - this._LawRegulationSelectedItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationIdentifyCode", DbType="NVarChar(50)")] - public string LawRegulationIdentifyCode - { - get - { - return this._LawRegulationIdentifyCode; - } - set - { - if ((this._LawRegulationIdentifyCode != value)) - { - this._LawRegulationIdentifyCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationId", DbType="NVarChar(50)")] - public string LawRegulationId - { - get - { - return this._LawRegulationId; - } - set - { - if ((this._LawRegulationId != value)) - { - this._LawRegulationId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationCode", DbType="Int")] - public System.Nullable LawRegulationCode - { - get - { - return this._LawRegulationCode; - } - set - { - if ((this._LawRegulationCode != value)) - { - this._LawRegulationCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationGrade", DbType="Char(1)")] - public string LawRegulationGrade - { - get - { - return this._LawRegulationGrade; - } - set - { - if ((this._LawRegulationGrade != value)) - { - this._LawRegulationGrade = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FitPerfomance", DbType="NVarChar(100)")] - public string FitPerfomance - { - get - { - return this._FitPerfomance; - } - set - { - if ((this._FitPerfomance != value)) - { - this._FitPerfomance = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationName", DbType="NVarChar(80)")] - public string LawRegulationName - { - get - { - return this._LawRegulationName; - } - set - { - if ((this._LawRegulationName != value)) - { - this._LawRegulationName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveDate", DbType="DateTime")] - public System.Nullable ApproveDate - { - get - { - return this._ApproveDate; - } - set - { - if ((this._ApproveDate != value)) - { - this._ApproveDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AffectiveDate", DbType="DateTime")] - public System.Nullable AffectiveDate - { - get - { - return this._AffectiveDate; - } - set - { - if ((this._AffectiveDate != value)) - { - this._AffectiveDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentionItem", DbType="NText", UpdateCheck=UpdateCheck.Never)] - public string AttentionItem - { - get - { - return this._AttentionItem; - } - set - { - if ((this._AttentionItem != value)) - { - this._AttentionItem = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LawRegulationGradeName", DbType="VarChar(13) NOT NULL", CanBeNull=false)] - public string LawRegulationGradeName - { - get - { - return this._LawRegulationGradeName; - } - set - { - if ((this._LawRegulationGradeName != value)) - { - this._LawRegulationGradeName = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_Notice")] - public partial class View_Common_Notice - { - - private string _NoticeId; - - private string _NoticeCode; - - private string _ProjectId; - - private string _NoticeTitle; - - private string _MainContent; - - private string _ClearUpMan; - - private System.Nullable _CompileDate; - - private string _AttachUrl; - - private string _SystemId; - - private System.Nullable _IsRelease; - - private string _AccessSystemId; - - private string _AccessProjectId; - - private string _ProjectName; - - private string _ClearUpManName; - - private string _SignManName; - - private string _SystemName; - - private string _IsReleaseStr; - - private string _State; - - public View_Common_Notice() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string NoticeId - { - get - { - return this._NoticeId; - } - set - { - if ((this._NoticeId != value)) - { - this._NoticeId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeCode", DbType="NVarChar(30) NOT NULL", CanBeNull=false)] - public string NoticeCode - { - get - { - return this._NoticeCode; - } - set - { - if ((this._NoticeCode != value)) - { - this._NoticeCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeTitle", DbType="NVarChar(50)")] - public string NoticeTitle - { - get - { - return this._NoticeTitle; - } - set - { - if ((this._NoticeTitle != value)) - { - this._NoticeTitle = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainContent", DbType="NVarChar(800)")] - public string MainContent - { - get - { - return this._MainContent; - } - set - { - if ((this._MainContent != value)) - { - this._MainContent = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClearUpMan", DbType="NVarChar(50)")] - public string ClearUpMan - { - get - { - return this._ClearUpMan; - } - set - { - if ((this._ClearUpMan != value)) - { - this._ClearUpMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] - public System.Nullable CompileDate - { - get - { - return this._CompileDate; - } - set - { - if ((this._CompileDate != value)) - { - this._CompileDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(150)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this._AttachUrl = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="NVarChar(50)")] - public string SystemId - { - get - { - return this._SystemId; - } - set - { - if ((this._SystemId != value)) - { - this._SystemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsRelease", DbType="Bit")] - public System.Nullable IsRelease - { - get - { - return this._IsRelease; - } - set - { - if ((this._IsRelease != value)) - { - this._IsRelease = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccessSystemId", DbType="NVarChar(800)")] - public string AccessSystemId - { - get - { - return this._AccessSystemId; - } - set - { - if ((this._AccessSystemId != value)) - { - this._AccessSystemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AccessProjectId", DbType="NVarChar(800)")] - public string AccessProjectId - { - get - { - return this._AccessProjectId; - } - set - { - if ((this._AccessProjectId != value)) - { - this._AccessProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this._ProjectName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClearUpManName", DbType="NVarChar(20)")] - public string ClearUpManName - { - get - { - return this._ClearUpManName; - } - set - { - if ((this._ClearUpManName != value)) - { - this._ClearUpManName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignManName", DbType="NVarChar(20)")] - public string SignManName - { - get - { - return this._SignManName; - } - set - { - if ((this._SignManName != value)) - { - this._SignManName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemName", DbType="NVarChar(120)")] - public string SystemName - { - get - { - return this._SystemName; - } - set - { - if ((this._SystemName != value)) - { - this._SystemName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsReleaseStr", DbType="VarChar(6) NOT NULL", CanBeNull=false)] - public string IsReleaseStr - { - get - { - return this._IsReleaseStr; - } - set - { - if ((this._IsReleaseStr != value)) - { - this._IsReleaseStr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="VarChar(10) NOT NULL", CanBeNull=false)] - public string State - { - get - { - return this._State; - } - set - { - if ((this._State != value)) - { - this._State = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_NoticeSign")] - public partial class View_Common_NoticeSign - { - - private string _NoticeSignId; - - private string _NoticeId; - - private string _SignMan; - - private System.Nullable _SinaDate; - - private string _SignIdea; - - private System.Nullable _IsAgree; - - private string _SignStep; - - private string _SignManName; - - private string _IsAgreeStr; - - private string _SignStepStr; - - public View_Common_NoticeSign() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeSignId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string NoticeSignId - { - get - { - return this._NoticeSignId; - } - set - { - if ((this._NoticeSignId != value)) - { - this._NoticeSignId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NoticeId", DbType="NVarChar(50)")] - public string NoticeId - { - get - { - return this._NoticeId; - } - set - { - if ((this._NoticeId != value)) - { - this._NoticeId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignMan", DbType="NVarChar(50)")] - public string SignMan - { - get - { - return this._SignMan; - } - set - { - if ((this._SignMan != value)) - { - this._SignMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SinaDate", DbType="DateTime")] - public System.Nullable SinaDate - { - get - { - return this._SinaDate; - } - set - { - if ((this._SinaDate != value)) - { - this._SinaDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignIdea", DbType="NVarChar(100)")] - public string SignIdea - { - get - { - return this._SignIdea; - } - set - { - if ((this._SignIdea != value)) - { - this._SignIdea = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgree", DbType="Bit")] - public System.Nullable IsAgree - { - get - { - return this._IsAgree; - } - set - { - if ((this._IsAgree != value)) - { - this._IsAgree = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignStep", DbType="NChar(1)")] - public string SignStep - { - get - { - return this._SignStep; - } - set - { - if ((this._SignStep != value)) - { - this._SignStep = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignManName", DbType="NVarChar(20)")] - public string SignManName - { - get - { - return this._SignManName; - } - set - { - if ((this._SignManName != value)) - { - this._SignManName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgreeStr", DbType="VarChar(6) NOT NULL", CanBeNull=false)] - public string IsAgreeStr - { - get - { - return this._IsAgreeStr; - } - set - { - if ((this._IsAgreeStr != value)) - { - this._IsAgreeStr = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignStepStr", DbType="VarChar(10) NOT NULL", CanBeNull=false)] - public string SignStepStr - { - get - { - return this._SignStepStr; - } - set - { - if ((this._SignStepStr != value)) - { - this._SignStepStr = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_Project_UnitList")] - public partial class View_Common_Project_UnitList - { - - private string _ProjectUnitId; - - private string _UnitId; - - private string _ProjectId; - - private string _UnitName; - - private string _UnitType; - - private string _UnitCode; - - private string _ProjectRange; - - private string _Address; - - private System.Nullable _InTime; - - private System.Nullable _OutTime; - - private string _Phone; - - public View_Common_Project_UnitList() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectUnitId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectUnitId - { - get - { - return this._ProjectUnitId; - } - set - { - if ((this._ProjectUnitId != value)) - { - this._ProjectUnitId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this._UnitId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitType", DbType="NVarChar(20)")] - public string UnitType - { - get - { - return this._UnitType; - } - set - { - if ((this._UnitType != value)) - { - this._UnitType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitCode", DbType="NVarChar(20)")] - public string UnitCode - { - get - { - return this._UnitCode; - } - set - { - if ((this._UnitCode != value)) - { - this._UnitCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectRange", DbType="NVarChar(500)")] - public string ProjectRange - { - get - { - return this._ProjectRange; - } - set - { - if ((this._ProjectRange != value)) - { - this._ProjectRange = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Address", DbType="NVarChar(50)")] - public string Address - { - get - { - return this._Address; - } - set - { - if ((this._Address != value)) - { - this._Address = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InTime", DbType="DateTime")] - public System.Nullable InTime - { - get - { - return this._InTime; - } - set - { - if ((this._InTime != value)) - { - this._InTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OutTime", DbType="DateTime")] - public System.Nullable OutTime - { - get - { - return this._OutTime; - } - set - { - if ((this._OutTime != value)) - { - this._OutTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phone", DbType="NVarChar(15)")] - public string Phone - { - get - { - return this._Phone; - } - set - { - if ((this._Phone != value)) - { - this._Phone = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_Project_UserList")] - public partial class View_Common_Project_UserList - { - - private string _ProjectUserId; - - private string _UserId; - - private string _ProjectId; - - private string _RoleId; - - private string _Account; - - private string _UserName; - - private string _UserCode; - - private string _UnitType; - - private string _UnitName; - - private string _RoleName; - - public View_Common_Project_UserList() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectUserId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectUserId - { - get - { - return this._ProjectUserId; - } - set - { - if ((this._ProjectUserId != value)) - { - this._ProjectUserId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this._UserId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - this._RoleId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this._Account = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(20)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this._UserName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserCode", DbType="NVarChar(50)")] - public string UserCode - { - get - { - return this._UserCode; - } - set - { - if ((this._UserCode != value)) - { - this._UserCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitType", DbType="NVarChar(20)")] - public string UnitType - { - get - { - return this._UnitType; - } - set - { - if ((this._UnitType != value)) - { - this._UnitType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(50)")] - public string RoleName - { - get - { - return this._RoleName; - } - set - { - if ((this._RoleName != value)) - { - this._RoleName = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Common_UserList")] - public partial class View_Common_UserList - { - - private string _UserId; - - private string _Account; - - private string _UserCode; - - private string _DepUserCode; - - private string _Password; - - private string _UserName; - - private System.Nullable _IsPost; - - private string _Email; - - private string _RoleId; - - private string _RoleName; - - private string _UnitId; - - private string _UnitName; - - private string _UnitCode; - - private string _DepartId; - - private string _Phone; - - private string _DepartName; - - public View_Common_UserList() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this._UserId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Account", DbType="NVarChar(50)")] - public string Account - { - get - { - return this._Account; - } - set - { - if ((this._Account != value)) - { - this._Account = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserCode", DbType="NVarChar(50)")] - public string UserCode - { - get - { - return this._UserCode; - } - set - { - if ((this._UserCode != value)) - { - this._UserCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepUserCode", DbType="NVarChar(60)")] - public string DepUserCode - { - get - { - return this._DepUserCode; - } - set - { - if ((this._DepUserCode != value)) - { - this._DepUserCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Password", DbType="NVarChar(50)")] - public string Password - { - get - { - return this._Password; - } - set - { - if ((this._Password != value)) - { - this._Password = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserName", DbType="NVarChar(20)")] - public string UserName - { - get - { - return this._UserName; - } - set - { - if ((this._UserName != value)) - { - this._UserName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPost", DbType="Bit")] - public System.Nullable IsPost - { - get - { - return this._IsPost; - } - set - { - if ((this._IsPost != value)) - { - this._IsPost = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Email", DbType="NVarChar(50)")] - public string Email - { - get - { - return this._Email; - } - set - { - if ((this._Email != value)) - { - this._Email = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", DbType="NVarChar(50)")] - public string RoleId - { - get - { - return this._RoleId; - } - set - { - if ((this._RoleId != value)) - { - this._RoleId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleName", DbType="NVarChar(50)")] - public string RoleName - { - get - { - return this._RoleName; - } - set - { - if ((this._RoleName != value)) - { - this._RoleName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - this._UnitId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitCode", DbType="NVarChar(20)")] - public string UnitCode - { - get - { - return this._UnitCode; - } - set - { - if ((this._UnitCode != value)) - { - this._UnitCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] - public string DepartId - { - get - { - return this._DepartId; - } - set - { - if ((this._DepartId != value)) - { - this._DepartId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Phone", DbType="NVarChar(50)")] - public string Phone - { - get - { - return this._Phone; - } - set - { - if ((this._Phone != value)) - { - this._Phone = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartName", DbType="NVarChar(20)")] - public string DepartName - { - get - { - return this._DepartName; - } - set - { - if ((this._DepartName != value)) - { - this._DepartName = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Ext_WeldingSyn")] - public partial class View_Ext_WeldingSyn - { - - private string _ProjectCode; - - private string _InstallationCode; - - private string _InstallationName; - - private string _ISO_ISONO; - - private string _JOT_JointNo; - - private string _JOTY_Name; - - private string _STE_Name1; - - private string _STE_Name2; - - private string _JST_Name; - - private string _JOT_JointAttribute; - - private string _WME_Name; - - private System.Nullable _JOT_Dia; - - private string _JOT_Sch; - - private string _IS_Proess; - - private System.Nullable _WeldingDate; - - private string _CellWelder; - - private string _FloorWelder; - - private string _CheckType; - - private string _CheckStates; - - private string _CheckResult; - - public View_Ext_WeldingSyn() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationCode", DbType="NVarChar(50)")] - public string InstallationCode - { - get - { - return this._InstallationCode; - } - set - { - if ((this._InstallationCode != value)) - { - this._InstallationCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationName", DbType="NVarChar(50)")] - public string InstallationName - { - get - { - return this._InstallationName; - } - set - { - if ((this._InstallationName != value)) - { - this._InstallationName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ISONO", DbType="VarChar(50)")] - public string ISO_ISONO - { - get - { - return this._ISO_ISONO; - } - set - { - if ((this._ISO_ISONO != value)) - { - this._ISO_ISONO = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOTY_Name", DbType="VarChar(50)")] - public string JOTY_Name - { - get - { - return this._JOTY_Name; - } - set - { - if ((this._JOTY_Name != value)) - { - this._JOTY_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name1", DbType="NVarChar(50)")] - public string STE_Name1 - { - get - { - return this._STE_Name1; - } - set - { - if ((this._STE_Name1 != value)) - { - this._STE_Name1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name2", DbType="NVarChar(50)")] - public string STE_Name2 - { - get - { - return this._STE_Name2; - } - set - { - if ((this._STE_Name2 != value)) - { - this._STE_Name2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_Name", DbType="VarChar(50)")] - public string JST_Name - { - get - { - return this._JST_Name; - } - set - { - if ((this._JST_Name != value)) - { - this._JST_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointAttribute", DbType="VarChar(20)")] - public string JOT_JointAttribute - { - get - { - return this._JOT_JointAttribute; - } - set - { - if ((this._JOT_JointAttribute != value)) - { - this._JOT_JointAttribute = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50)")] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this._WME_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Dia", DbType="Decimal(18,4)")] - public System.Nullable JOT_Dia - { - get - { - return this._JOT_Dia; - } - set - { - if ((this._JOT_Dia != value)) - { - this._JOT_Dia = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Sch", DbType="VarChar(40)")] - public string JOT_Sch - { - get - { - return this._JOT_Sch; - } - set - { - if ((this._JOT_Sch != value)) - { - this._JOT_Sch = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_Proess", DbType="Char(1)")] - public string IS_Proess - { - get - { - return this._IS_Proess; - } - set - { - if ((this._IS_Proess != value)) - { - this._IS_Proess = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingDate", DbType="DateTime")] - public System.Nullable WeldingDate - { - get - { - return this._WeldingDate; - } - set - { - if ((this._WeldingDate != value)) - { - this._WeldingDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CellWelder", DbType="VarChar(20)")] - public string CellWelder - { - get - { - return this._CellWelder; - } - set - { - if ((this._CellWelder != value)) - { - this._CellWelder = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FloorWelder", DbType="VarChar(20)")] - public string FloorWelder - { - get - { - return this._FloorWelder; - } - set - { - if ((this._FloorWelder != value)) - { - this._FloorWelder = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckType", DbType="VarChar(4)")] - public string CheckType - { - get - { - return this._CheckType; - } - set - { - if ((this._CheckType != value)) - { - this._CheckType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckStates", DbType="NVarChar(20)")] - public string CheckStates - { - get - { - return this._CheckStates; - } - set - { - if ((this._CheckStates != value)) - { - this._CheckStates = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CheckResult", DbType="VarChar(1) NOT NULL", CanBeNull=false)] - public string CheckResult - { - get - { - return this._CheckResult; - } - set - { - if ((this._CheckResult != value)) - { - this._CheckResult = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_HotProessItem")] - public partial class View_HotProessItem - { - - private string _ProjectId; - - private string _BSU_ID; - - private string _InstallationId; - - private string _ISO_IsoNo; - - private string _ISO_ID; - - private string _JOT_ID; - - private string _JOT_JointNo; - - private string _STE_Name; - - private string _STE_SteelType; - - private string _ISO_Specification; - - private System.Nullable _PointCount; - - private string _RequiredT; - - private string _ActualT; - - private string _RequestTime; - - private string _ActualTime; - - private string _RecordChartNo; - - private string _HardnessReportNo; - - private System.Nullable _IsPrint; - - private System.Nullable _PrintDate; - - private string _HotProessId; - - private string _HotProessItemId; - - private string _DReportID; - - private System.Nullable _JOT_WeldDate; - - private string _JOT_DailyReportNo; - - private string _IS_Proess; - - public View_HotProessItem() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BSU_ID", DbType="NVarChar(50)")] - public string BSU_ID - { - get - { - return this._BSU_ID; - } - set - { - if ((this._BSU_ID != value)) - { - this._BSU_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this._InstallationId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_IsoNo", DbType="VarChar(50)")] - public string ISO_IsoNo - { - get - { - return this._ISO_IsoNo; - } - set - { - if ((this._ISO_IsoNo != value)) - { - this._ISO_IsoNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_ID", DbType="VarChar(50)")] - public string ISO_ID - { - get - { - return this._ISO_ID; - } - set - { - if ((this._ISO_ID != value)) - { - this._ISO_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_JointNo", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_JointNo - { - get - { - return this._JOT_JointNo; - } - set - { - if ((this._JOT_JointNo != value)) - { - this._JOT_JointNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name", DbType="NVarChar(50)")] - public string STE_Name - { - get - { - return this._STE_Name; - } - set - { - if ((this._STE_Name != value)) - { - this._STE_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_SteelType", DbType="NVarChar(20)")] - public string STE_SteelType - { - get - { - return this._STE_SteelType; - } - set - { - if ((this._STE_SteelType != value)) - { - this._STE_SteelType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ISO_Specification", DbType="VarChar(43)")] - public string ISO_Specification - { - get - { - return this._ISO_Specification; - } - set - { - if ((this._ISO_Specification != value)) - { - this._ISO_Specification = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointCount", DbType="Int")] - public System.Nullable PointCount - { - get - { - return this._PointCount; - } - set - { - if ((this._PointCount != value)) - { - this._PointCount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RequiredT", DbType="VarChar(20)")] - public string RequiredT - { - get - { - return this._RequiredT; - } - set - { - if ((this._RequiredT != value)) - { - this._RequiredT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualT", DbType="VarChar(20)")] - public string ActualT - { - get - { - return this._ActualT; - } - set - { - if ((this._ActualT != value)) - { - this._ActualT = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RequestTime", DbType="VarChar(20)")] - public string RequestTime - { - get - { - return this._RequestTime; - } - set - { - if ((this._RequestTime != value)) - { - this._RequestTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActualTime", DbType="VarChar(20)")] - public string ActualTime - { - get - { - return this._ActualTime; - } - set - { - if ((this._ActualTime != value)) - { - this._ActualTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordChartNo", DbType="VarChar(20)")] - public string RecordChartNo - { - get - { - return this._RecordChartNo; - } - set - { - if ((this._RecordChartNo != value)) - { - this._RecordChartNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HardnessReportNo", DbType="VarChar(20)")] - public string HardnessReportNo - { - get - { - return this._HardnessReportNo; - } - set - { - if ((this._HardnessReportNo != value)) - { - this._HardnessReportNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsPrint", DbType="Bit")] - public System.Nullable IsPrint - { - get - { - return this._IsPrint; - } - set - { - if ((this._IsPrint != value)) - { - this._IsPrint = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PrintDate", DbType="DateTime")] - public System.Nullable PrintDate - { - get - { - return this._PrintDate; - } - set - { - if ((this._PrintDate != value)) - { - this._PrintDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessId", DbType="VarChar(50)")] - public string HotProessId - { - get - { - return this._HotProessId; - } - set - { - if ((this._HotProessId != value)) - { - this._HotProessId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessItemId", DbType="VarChar(50)")] - public string HotProessItemId - { - get - { - return this._HotProessItemId; - } - set - { - if ((this._HotProessItemId != value)) - { - this._HotProessItemId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this._DReportID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldDate", DbType="DateTime")] - public System.Nullable JOT_WeldDate - { - get - { - return this._JOT_WeldDate; - } - set - { - if ((this._JOT_WeldDate != value)) - { - this._JOT_WeldDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_DailyReportNo", DbType="VarChar(50)")] - public string JOT_DailyReportNo - { - get - { - return this._JOT_DailyReportNo; - } - set - { - if ((this._JOT_DailyReportNo != value)) - { - this._JOT_DailyReportNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_Proess", DbType="Char(1)")] - public string IS_Proess - { - get - { - return this._IS_Proess; - } - set - { - if ((this._IS_Proess != value)) - { - this._IS_Proess = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_JointWelder")] - public partial class View_JointWelder - { - - private string _JOT_ID; - - private System.Nullable _JOT_Size; - - private string _ProjectId; - - private string _InstallationId; - - private string _BSU_ID; - - private string _Welder; - - private string _STE_ID; - - private string _DReportID; - - private string _PointType; - - private System.Nullable _RT_FilmNum; - - private string _RT1_RepairFilm; - - private string _RT2_RepairFilm; - - private System.Nullable _RT2_RepairFilmNum; - - private string _RT3_RepairFilm; - - private System.Nullable _RT3_RepairFilmNum; - - public View_JointWelder() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_ID", DbType="VarChar(50) NOT NULL", CanBeNull=false)] - public string JOT_ID - { - get - { - return this._JOT_ID; - } - set - { - if ((this._JOT_ID != value)) - { - this._JOT_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_Size", DbType="Decimal(18,4)")] - public System.Nullable JOT_Size - { - get - { - return this._JOT_Size; - } - set - { - if ((this._JOT_Size != value)) - { - this._JOT_Size = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="NVarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this._InstallationId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BSU_ID", DbType="NVarChar(50)")] - public string BSU_ID - { - get - { - return this._BSU_ID; - } - set - { - if ((this._BSU_ID != value)) - { - this._BSU_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Welder", DbType="NVarChar(50)")] - public string Welder - { - get - { - return this._Welder; - } - set - { - if ((this._Welder != value)) - { - this._Welder = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this._STE_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DReportID", DbType="VarChar(50)")] - public string DReportID - { - get - { - return this._DReportID; - } - set - { - if ((this._DReportID != value)) - { - this._DReportID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PointType", DbType="NVarChar(10)")] - public string PointType - { - get - { - return this._PointType; - } - set - { - if ((this._PointType != value)) - { - this._PointType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FilmNum", DbType="Int")] - public System.Nullable RT_FilmNum - { - get - { - return this._RT_FilmNum; - } - set - { - if ((this._RT_FilmNum != value)) - { - this._RT_FilmNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT1_RepairFilm", DbType="NVarChar(80)")] - public string RT1_RepairFilm - { - get - { - return this._RT1_RepairFilm; - } - set - { - if ((this._RT1_RepairFilm != value)) - { - this._RT1_RepairFilm = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT2_RepairFilm", DbType="NVarChar(80)")] - public string RT2_RepairFilm - { - get - { - return this._RT2_RepairFilm; - } - set - { - if ((this._RT2_RepairFilm != value)) - { - this._RT2_RepairFilm = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT2_RepairFilmNum", DbType="Int")] - public System.Nullable RT2_RepairFilmNum - { - get - { - return this._RT2_RepairFilmNum; - } - set - { - if ((this._RT2_RepairFilmNum != value)) - { - this._RT2_RepairFilmNum = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT3_RepairFilm", DbType="NVarChar(80)")] - public string RT3_RepairFilm - { - get - { - return this._RT3_RepairFilm; - } - set - { - if ((this._RT3_RepairFilm != value)) - { - this._RT3_RepairFilm = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT3_RepairFilmNum", DbType="Int")] - public System.Nullable RT3_RepairFilmNum - { - get - { - return this._RT3_RepairFilmNum; - } - set - { - if ((this._RT3_RepairFilmNum != value)) - { - this._RT3_RepairFilmNum = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_MaterialCompare")] - public partial class View_MaterialCompare - { - - private string _MaterialCompareId; - - private string _Remark; - - private string _STE_Name; - - private string _WME_Name; - - private string _WMT1; - - private string _WMT2; - - public View_MaterialCompare() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialCompareId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string MaterialCompareId - { - get - { - return this._MaterialCompareId; - } - set - { - if ((this._MaterialCompareId != value)) - { - this._MaterialCompareId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(300)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this._Remark = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name", DbType="NVarChar(50)")] - public string STE_Name - { - get - { - return this._STE_Name; - } - set - { - if ((this._STE_Name != value)) - { - this._STE_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50)")] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this._WME_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT1", DbType="VarChar(50)")] - public string WMT1 - { - get - { - return this._WMT1; - } - set - { - if ((this._WMT1 != value)) - { - this._WMT1 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT2", DbType="VarChar(50)")] - public string WMT2 - { - get - { - return this._WMT2; - } - set - { - if ((this._WMT2 != value)) - { - this._WMT2 = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_TestingReportPrint")] - public partial class View_TestingReportPrint - { - - private string _TestingReportPrintId; - - private string _WeldingId; - - private string _NdtId; - - private string _EntrustId; - - private string _STE_ID; - - private string _STE_ID2; - - private string _WME_ID; - - private string _ProjectName; - - private string _InstallationName; - - private string _EntrustUnit; - - private string _UnitName; - - private string _ReportCode; - - private string _WeldingCode; - - private string _Ndt_TestStandardCode; - - private string _Ndt_Level; - - private string _STE_Code; - - private string _WME_Name; - - private string _RT_TechnicalGrade; - - private string _UT_TechnicalGrade; - - private string _Ndt_NdtName; - - private string _TestingTime; - - private string _RT_DeveloperTemperature; - - private string _RT_DeveloperTime; - - private string _RT_FilmDensity; - - private string _Specifications; - - private string _TransilluminationMode; - - private string _WireDiameterCode; - - private string _FocalLength; - - private string _EffectiveLength; - - private string _TubeVoltage; - - private string _RT_TubeCurrent; - - private string _ExposureTime; - - private string _UT_EquipmentCode; - - private string _EquipmentCode; - - private string _FocalSize; - - private string _IntensifyingWay; - - private string _FilmModel; - - private string _JST_Name; - - private string _UT_CouplingAgent; - - private string _UT_DetectionSensitivity; - - private string _UT_ProbeType; - - private string _UT_StandardTestBlock; - - private string _UT_StandardTestBlock2; - - private string _UT_DetectionSurface; - - private string _UT_SurfaceState; - - private string _UT_SurfaceCompensation; - - private string _UT_ScanningRate; - - private string _HotProessState; - - private string _MT_SurfaceState; - - private string _MT_CurrentType; - - private string _MT_TestMethod; - - private string _PoleSpacing; - - private string _MT_LiftingPower; - - private string _MT_MagnetizationTime; - - private string _MT_MagneticPowderType; - - private string _MT_Concentration; - - private string _MT_ImposingMethod; - - private string _MT_SensitivityTestBlock; - - private string _PT_SensitivityTestBlock; - - private string _PT_OsmoticTemperature; - - private string _PT_ObservationMethod; - - private string _PT_ImposingMethod; - - private string _TestBlock; - - private string _PT_PermeationTime; - - private string _PT_ImagingTime; - - private string _PT_PenetrantGrade; - - public View_TestingReportPrint() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingReportPrintId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string TestingReportPrintId - { - get - { - return this._TestingReportPrintId; - } - set - { - if ((this._TestingReportPrintId != value)) - { - this._TestingReportPrintId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingId", DbType="VarChar(50)")] - public string WeldingId - { - get - { - return this._WeldingId; - } - set - { - if ((this._WeldingId != value)) - { - this._WeldingId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NdtId", DbType="VarChar(50)")] - public string NdtId - { - get - { - return this._NdtId; - } - set - { - if ((this._NdtId != value)) - { - this._NdtId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustId", DbType="NVarChar(50)")] - public string EntrustId - { - get - { - return this._EntrustId; - } - set - { - if ((this._EntrustId != value)) - { - this._EntrustId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="NVarChar(50)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this._STE_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID2", DbType="NVarChar(50)")] - public string STE_ID2 - { - get - { - return this._STE_ID2; - } - set - { - if ((this._STE_ID2 != value)) - { - this._STE_ID2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_ID", DbType="NVarChar(50)")] - public string WME_ID - { - get - { - return this._WME_ID; - } - set - { - if ((this._WME_ID != value)) - { - this._WME_ID = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="NVarChar(100)")] - public string ProjectName - { - get - { - return this._ProjectName; - } - set - { - if ((this._ProjectName != value)) - { - this._ProjectName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationName", DbType="VarChar(4) NOT NULL", CanBeNull=false)] - public string InstallationName - { - get - { - return this._InstallationName; - } - set - { - if ((this._InstallationName != value)) - { - this._InstallationName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EntrustUnit", DbType="NVarChar(50)")] - public string EntrustUnit - { - get - { - return this._EntrustUnit; - } - set - { - if ((this._EntrustUnit != value)) - { - this._EntrustUnit = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportCode", DbType="NVarChar(50)")] - public string ReportCode - { - get - { - return this._ReportCode; - } - set - { - if ((this._ReportCode != value)) - { - this._ReportCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingCode", DbType="VarChar(50)")] - public string WeldingCode - { - get - { - return this._WeldingCode; - } - set - { - if ((this._WeldingCode != value)) - { - this._WeldingCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_TestStandardCode", DbType="VarChar(50)")] - public string Ndt_TestStandardCode - { - get - { - return this._Ndt_TestStandardCode; - } - set - { - if ((this._Ndt_TestStandardCode != value)) - { - this._Ndt_TestStandardCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_Level", DbType="VarChar(5)")] - public string Ndt_Level - { - get - { - return this._Ndt_Level; - } - set - { - if ((this._Ndt_Level != value)) - { - this._Ndt_Level = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="NVarChar(101)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WME_Name", DbType="VarChar(50)")] - public string WME_Name - { - get - { - return this._WME_Name; - } - set - { - if ((this._WME_Name != value)) - { - this._WME_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TechnicalGrade", DbType="NVarChar(50)")] - public string RT_TechnicalGrade - { - get - { - return this._RT_TechnicalGrade; - } - set - { - if ((this._RT_TechnicalGrade != value)) - { - this._RT_TechnicalGrade = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_TechnicalGrade", DbType="NVarChar(50)")] - public string UT_TechnicalGrade - { - get - { - return this._UT_TechnicalGrade; - } - set - { - if ((this._UT_TechnicalGrade != value)) - { - this._UT_TechnicalGrade = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Ndt_NdtName", DbType="VarChar(11) NOT NULL", CanBeNull=false)] - public string Ndt_NdtName - { - get - { - return this._Ndt_NdtName; - } - set - { - if ((this._Ndt_NdtName != value)) - { - this._Ndt_NdtName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingTime", DbType="NVarChar(50)")] - public string TestingTime - { - get - { - return this._TestingTime; - } - set - { - if ((this._TestingTime != value)) - { - this._TestingTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_DeveloperTemperature", DbType="NVarChar(50)")] - public string RT_DeveloperTemperature - { - get - { - return this._RT_DeveloperTemperature; - } - set - { - if ((this._RT_DeveloperTemperature != value)) - { - this._RT_DeveloperTemperature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_DeveloperTime", DbType="NVarChar(50)")] - public string RT_DeveloperTime - { - get - { - return this._RT_DeveloperTime; - } - set - { - if ((this._RT_DeveloperTime != value)) - { - this._RT_DeveloperTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_FilmDensity", DbType="NVarChar(50)")] - public string RT_FilmDensity - { - get - { - return this._RT_FilmDensity; - } - set - { - if ((this._RT_FilmDensity != value)) - { - this._RT_FilmDensity = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(50)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this._Specifications = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TransilluminationMode", DbType="NVarChar(50)")] - public string TransilluminationMode - { - get - { - return this._TransilluminationMode; - } - set - { - if ((this._TransilluminationMode != value)) - { - this._TransilluminationMode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WireDiameterCode", DbType="NVarChar(50)")] - public string WireDiameterCode - { - get - { - return this._WireDiameterCode; - } - set - { - if ((this._WireDiameterCode != value)) - { - this._WireDiameterCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FocalLength", DbType="NVarChar(50)")] - public string FocalLength - { - get - { - return this._FocalLength; - } - set - { - if ((this._FocalLength != value)) - { - this._FocalLength = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EffectiveLength", DbType="NVarChar(50)")] - public string EffectiveLength - { - get - { - return this._EffectiveLength; - } - set - { - if ((this._EffectiveLength != value)) - { - this._EffectiveLength = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TubeVoltage", DbType="NVarChar(50)")] - public string TubeVoltage - { - get - { - return this._TubeVoltage; - } - set - { - if ((this._TubeVoltage != value)) - { - this._TubeVoltage = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RT_TubeCurrent", DbType="NVarChar(50)")] - public string RT_TubeCurrent - { - get - { - return this._RT_TubeCurrent; - } - set - { - if ((this._RT_TubeCurrent != value)) - { - this._RT_TubeCurrent = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ExposureTime", DbType="NVarChar(50)")] - public string ExposureTime - { - get - { - return this._ExposureTime; - } - set - { - if ((this._ExposureTime != value)) - { - this._ExposureTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_EquipmentCode", DbType="NVarChar(50)")] - public string UT_EquipmentCode - { - get - { - return this._UT_EquipmentCode; - } - set - { - if ((this._UT_EquipmentCode != value)) - { - this._UT_EquipmentCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentCode", DbType="NVarChar(50)")] - public string EquipmentCode - { - get - { - return this._EquipmentCode; - } - set - { - if ((this._EquipmentCode != value)) - { - this._EquipmentCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FocalSize", DbType="NVarChar(50)")] - public string FocalSize - { - get - { - return this._FocalSize; - } - set - { - if ((this._FocalSize != value)) - { - this._FocalSize = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IntensifyingWay", DbType="NVarChar(50)")] - public string IntensifyingWay - { - get - { - return this._IntensifyingWay; - } - set - { - if ((this._IntensifyingWay != value)) - { - this._IntensifyingWay = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FilmModel", DbType="NVarChar(50)")] - public string FilmModel - { - get - { - return this._FilmModel; - } - set - { - if ((this._FilmModel != value)) - { - this._FilmModel = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JST_Name", DbType="VarChar(50)")] - public string JST_Name - { - get - { - return this._JST_Name; - } - set - { - if ((this._JST_Name != value)) - { - this._JST_Name = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_CouplingAgent", DbType="NVarChar(50)")] - public string UT_CouplingAgent - { - get - { - return this._UT_CouplingAgent; - } - set - { - if ((this._UT_CouplingAgent != value)) - { - this._UT_CouplingAgent = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_DetectionSensitivity", DbType="NVarChar(50)")] - public string UT_DetectionSensitivity - { - get - { - return this._UT_DetectionSensitivity; - } - set - { - if ((this._UT_DetectionSensitivity != value)) - { - this._UT_DetectionSensitivity = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_ProbeType", DbType="NVarChar(50)")] - public string UT_ProbeType - { - get - { - return this._UT_ProbeType; - } - set - { - if ((this._UT_ProbeType != value)) - { - this._UT_ProbeType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_StandardTestBlock", DbType="NVarChar(50)")] - public string UT_StandardTestBlock - { - get - { - return this._UT_StandardTestBlock; - } - set - { - if ((this._UT_StandardTestBlock != value)) - { - this._UT_StandardTestBlock = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_StandardTestBlock2", DbType="NVarChar(50)")] - public string UT_StandardTestBlock2 - { - get - { - return this._UT_StandardTestBlock2; - } - set - { - if ((this._UT_StandardTestBlock2 != value)) - { - this._UT_StandardTestBlock2 = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_DetectionSurface", DbType="NVarChar(50)")] - public string UT_DetectionSurface - { - get - { - return this._UT_DetectionSurface; - } - set - { - if ((this._UT_DetectionSurface != value)) - { - this._UT_DetectionSurface = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_SurfaceState", DbType="NVarChar(50)")] - public string UT_SurfaceState - { - get - { - return this._UT_SurfaceState; - } - set - { - if ((this._UT_SurfaceState != value)) - { - this._UT_SurfaceState = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_SurfaceCompensation", DbType="NVarChar(50)")] - public string UT_SurfaceCompensation - { - get - { - return this._UT_SurfaceCompensation; - } - set - { - if ((this._UT_SurfaceCompensation != value)) - { - this._UT_SurfaceCompensation = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UT_ScanningRate", DbType="NVarChar(50)")] - public string UT_ScanningRate - { - get - { - return this._UT_ScanningRate; - } - set - { - if ((this._UT_ScanningRate != value)) - { - this._UT_ScanningRate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HotProessState", DbType="NVarChar(50)")] - public string HotProessState - { - get - { - return this._HotProessState; - } - set - { - if ((this._HotProessState != value)) - { - this._HotProessState = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_SurfaceState", DbType="NVarChar(50)")] - public string MT_SurfaceState - { - get - { - return this._MT_SurfaceState; - } - set - { - if ((this._MT_SurfaceState != value)) - { - this._MT_SurfaceState = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_CurrentType", DbType="NVarChar(50)")] - public string MT_CurrentType - { - get - { - return this._MT_CurrentType; - } - set - { - if ((this._MT_CurrentType != value)) - { - this._MT_CurrentType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_TestMethod", DbType="NVarChar(50)")] - public string MT_TestMethod - { - get - { - return this._MT_TestMethod; - } - set - { - if ((this._MT_TestMethod != value)) - { - this._MT_TestMethod = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PoleSpacing", DbType="NVarChar(50)")] - public string PoleSpacing - { - get - { - return this._PoleSpacing; - } - set - { - if ((this._PoleSpacing != value)) - { - this._PoleSpacing = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_LiftingPower", DbType="NVarChar(50)")] - public string MT_LiftingPower - { - get - { - return this._MT_LiftingPower; - } - set - { - if ((this._MT_LiftingPower != value)) - { - this._MT_LiftingPower = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_MagnetizationTime", DbType="NVarChar(50)")] - public string MT_MagnetizationTime - { - get - { - return this._MT_MagnetizationTime; - } - set - { - if ((this._MT_MagnetizationTime != value)) - { - this._MT_MagnetizationTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_MagneticPowderType", DbType="NVarChar(50)")] - public string MT_MagneticPowderType - { - get - { - return this._MT_MagneticPowderType; - } - set - { - if ((this._MT_MagneticPowderType != value)) - { - this._MT_MagneticPowderType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_Concentration", DbType="NVarChar(50)")] - public string MT_Concentration - { - get - { - return this._MT_Concentration; - } - set - { - if ((this._MT_Concentration != value)) - { - this._MT_Concentration = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_ImposingMethod", DbType="NVarChar(50)")] - public string MT_ImposingMethod - { - get - { - return this._MT_ImposingMethod; - } - set - { - if ((this._MT_ImposingMethod != value)) - { - this._MT_ImposingMethod = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MT_SensitivityTestBlock", DbType="NVarChar(50)")] - public string MT_SensitivityTestBlock - { - get - { - return this._MT_SensitivityTestBlock; - } - set - { - if ((this._MT_SensitivityTestBlock != value)) - { - this._MT_SensitivityTestBlock = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_SensitivityTestBlock", DbType="NVarChar(50)")] - public string PT_SensitivityTestBlock - { - get - { - return this._PT_SensitivityTestBlock; - } - set - { - if ((this._PT_SensitivityTestBlock != value)) - { - this._PT_SensitivityTestBlock = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_OsmoticTemperature", DbType="NVarChar(50)")] - public string PT_OsmoticTemperature - { - get - { - return this._PT_OsmoticTemperature; - } - set - { - if ((this._PT_OsmoticTemperature != value)) - { - this._PT_OsmoticTemperature = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ObservationMethod", DbType="NVarChar(50)")] - public string PT_ObservationMethod - { - get - { - return this._PT_ObservationMethod; - } - set - { - if ((this._PT_ObservationMethod != value)) - { - this._PT_ObservationMethod = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ImposingMethod", DbType="NVarChar(50)")] - public string PT_ImposingMethod - { - get - { - return this._PT_ImposingMethod; - } - set - { - if ((this._PT_ImposingMethod != value)) - { - this._PT_ImposingMethod = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestBlock", DbType="NVarChar(50)")] - public string TestBlock - { - get - { - return this._TestBlock; - } - set - { - if ((this._TestBlock != value)) - { - this._TestBlock = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_PermeationTime", DbType="NVarChar(50)")] - public string PT_PermeationTime - { - get - { - return this._PT_PermeationTime; - } - set - { - if ((this._PT_PermeationTime != value)) - { - this._PT_PermeationTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_ImagingTime", DbType="NVarChar(50)")] - public string PT_ImagingTime - { - get - { - return this._PT_ImagingTime; - } - set - { - if ((this._PT_ImagingTime != value)) - { - this._PT_ImagingTime = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PT_PenetrantGrade", DbType="NVarChar(50)")] - public string PT_PenetrantGrade - { - get - { - return this._PT_PenetrantGrade; - } - set - { - if ((this._PT_PenetrantGrade != value)) - { - this._PT_PenetrantGrade = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_UsePosition")] - public partial class View_UsePosition - { - - private string _ProjectId; - - private string _UsePosition; - - public View_UsePosition() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsePosition", DbType="NVarChar(50)")] - public string UsePosition - { - get - { - return this._UsePosition; - } - set - { - if ((this._UsePosition != value)) - { - this._UsePosition = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_ProjectPlan")] - public partial class Weld_ProjectPlan : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _ProjectPlanId; - - private string _ProjectId; - - private string _WeldId; - - private System.Nullable _PlanAmount; - - private string _WeldRequire; - - private string _Remark; - - private EntityRef _Base_Project; - - private EntityRef _Weld_WeldInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnProjectPlanIdChanging(string value); - partial void OnProjectPlanIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnWeldIdChanging(string value); - partial void OnWeldIdChanged(); - partial void OnPlanAmountChanging(System.Nullable value); - partial void OnPlanAmountChanged(); - partial void OnWeldRequireChanging(string value); - partial void OnWeldRequireChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Weld_ProjectPlan() - { - this._Base_Project = default(EntityRef); - this._Weld_WeldInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string ProjectPlanId - { - get - { - return this._ProjectPlanId; - } - set - { - if ((this._ProjectPlanId != value)) - { - this.OnProjectPlanIdChanging(value); - this.SendPropertyChanging(); - this._ProjectPlanId = value; - this.SendPropertyChanged("ProjectPlanId"); - this.OnProjectPlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldId", DbType="NVarChar(50)")] - public string WeldId - { - get - { - return this._WeldId; - } - set - { - if ((this._WeldId != value)) - { - if (this._Weld_WeldInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldIdChanging(value); - this.SendPropertyChanging(); - this._WeldId = value; - this.SendPropertyChanged("WeldId"); - this.OnWeldIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanAmount", DbType="Decimal(9,3)")] - public System.Nullable PlanAmount - { - get - { - return this._PlanAmount; - } - set - { - if ((this._PlanAmount != value)) - { - this.OnPlanAmountChanging(value); - this.SendPropertyChanging(); - this._PlanAmount = value; - this.SendPropertyChanged("PlanAmount"); - this.OnPlanAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldRequire", DbType="NVarChar(50)")] - public string WeldRequire - { - get - { - return this._WeldRequire; - } - set - { - if ((this._WeldRequire != value)) - { - this.OnWeldRequireChanging(value); - this.SendPropertyChanging(); - this._WeldRequire = value; - this.SendPropertyChanged("WeldRequire"); - this.OnWeldRequireChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_ProjectPlan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Weld_ProjectPlan.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Weld_ProjectPlan.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_ProjectPlan_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)] - public Weld_WeldInfo Weld_WeldInfo - { - get - { - return this._Weld_WeldInfo.Entity; - } - set - { - Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity; - if (((previousValue != value) - || (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_WeldInfo.Entity = null; - previousValue.Weld_ProjectPlan.Remove(this); - } - this._Weld_WeldInfo.Entity = value; - if ((value != null)) - { - value.Weld_ProjectPlan.Add(this); - this._WeldId = value.WeldId; - } - else - { - this._WeldId = default(string); - } - this.SendPropertyChanged("Weld_WeldInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_RecycleMat")] - public partial class Weld_RecycleMat : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RecycleMatId; - - private string _ProjectId; - - private string _UsePosition; - - private string _WeldId; - - private string _UsingMatId; - - private string _UsingPlanId; - - private System.Nullable _RecycleAmount; - - private System.Nullable _UsingAmount; - - private string _RecycleMan; - - private System.Nullable _RecycleDate; - - private string _StockMan; - - private string _Warrantybook; - - private string _Number; - - private System.Nullable _IsWelderConfirm; - - private System.Nullable _IsStoreManConfirm; - - private System.Nullable _ReturnMat; - - private System.Nullable _ReturnMatTop; - - private EntityRef _Base_Project; - - private EntityRef _Weld_Storeman; - - private EntityRef _Weld_UsingMat; - - private EntityRef _Weld_UsingPlan; - - private EntityRef _Weld_WeldInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRecycleMatIdChanging(string value); - partial void OnRecycleMatIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUsePositionChanging(string value); - partial void OnUsePositionChanged(); - partial void OnWeldIdChanging(string value); - partial void OnWeldIdChanged(); - partial void OnUsingMatIdChanging(string value); - partial void OnUsingMatIdChanged(); - partial void OnUsingPlanIdChanging(string value); - partial void OnUsingPlanIdChanged(); - partial void OnRecycleAmountChanging(System.Nullable value); - partial void OnRecycleAmountChanged(); - partial void OnUsingAmountChanging(System.Nullable value); - partial void OnUsingAmountChanged(); - partial void OnRecycleManChanging(string value); - partial void OnRecycleManChanged(); - partial void OnRecycleDateChanging(System.Nullable value); - partial void OnRecycleDateChanged(); - partial void OnStockManChanging(string value); - partial void OnStockManChanged(); - partial void OnWarrantybookChanging(string value); - partial void OnWarrantybookChanged(); - partial void OnNumberChanging(string value); - partial void OnNumberChanged(); - partial void OnIsWelderConfirmChanging(System.Nullable value); - partial void OnIsWelderConfirmChanged(); - partial void OnIsStoreManConfirmChanging(System.Nullable value); - partial void OnIsStoreManConfirmChanged(); - partial void OnReturnMatChanging(System.Nullable value); - partial void OnReturnMatChanged(); - partial void OnReturnMatTopChanging(System.Nullable value); - partial void OnReturnMatTopChanged(); - #endregion - - public Weld_RecycleMat() - { - this._Base_Project = default(EntityRef); - this._Weld_Storeman = default(EntityRef); - this._Weld_UsingMat = default(EntityRef); - this._Weld_UsingPlan = default(EntityRef); - this._Weld_WeldInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleMatId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RecycleMatId - { - get - { - return this._RecycleMatId; - } - set - { - if ((this._RecycleMatId != value)) - { - this.OnRecycleMatIdChanging(value); - this.SendPropertyChanging(); - this._RecycleMatId = value; - this.SendPropertyChanged("RecycleMatId"); - this.OnRecycleMatIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsePosition", DbType="NVarChar(50)")] - public string UsePosition - { - get - { - return this._UsePosition; - } - set - { - if ((this._UsePosition != value)) - { - this.OnUsePositionChanging(value); - this.SendPropertyChanging(); - this._UsePosition = value; - this.SendPropertyChanged("UsePosition"); - this.OnUsePositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldId", DbType="NVarChar(50)")] - public string WeldId - { - get - { - return this._WeldId; - } - set - { - if ((this._WeldId != value)) - { - if (this._Weld_WeldInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldIdChanging(value); - this.SendPropertyChanging(); - this._WeldId = value; - this.SendPropertyChanged("WeldId"); - this.OnWeldIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingMatId", DbType="NVarChar(50)")] - public string UsingMatId - { - get - { - return this._UsingMatId; - } - set - { - if ((this._UsingMatId != value)) - { - if (this._Weld_UsingMat.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUsingMatIdChanging(value); - this.SendPropertyChanging(); - this._UsingMatId = value; - this.SendPropertyChanged("UsingMatId"); - this.OnUsingMatIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingPlanId", DbType="NVarChar(50)")] - public string UsingPlanId - { - get - { - return this._UsingPlanId; - } - set - { - if ((this._UsingPlanId != value)) - { - if (this._Weld_UsingPlan.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUsingPlanIdChanging(value); - this.SendPropertyChanging(); - this._UsingPlanId = value; - this.SendPropertyChanged("UsingPlanId"); - this.OnUsingPlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleAmount", DbType="Decimal(9,3)")] - public System.Nullable RecycleAmount - { - get - { - return this._RecycleAmount; - } - set - { - if ((this._RecycleAmount != value)) - { - this.OnRecycleAmountChanging(value); - this.SendPropertyChanging(); - this._RecycleAmount = value; - this.SendPropertyChanged("RecycleAmount"); - this.OnRecycleAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingAmount", DbType="Decimal(9,3)")] - public System.Nullable UsingAmount - { - get - { - return this._UsingAmount; - } - set - { - if ((this._UsingAmount != value)) - { - this.OnUsingAmountChanging(value); - this.SendPropertyChanging(); - this._UsingAmount = value; - this.SendPropertyChanged("UsingAmount"); - this.OnUsingAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleMan", DbType="NVarChar(50)")] - public string RecycleMan - { - get - { - return this._RecycleMan; - } - set - { - if ((this._RecycleMan != value)) - { - this.OnRecycleManChanging(value); - this.SendPropertyChanging(); - this._RecycleMan = value; - this.SendPropertyChanged("RecycleMan"); - this.OnRecycleManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleDate", DbType="DateTime")] - public System.Nullable RecycleDate - { - get - { - return this._RecycleDate; - } - set - { - if ((this._RecycleDate != value)) - { - this.OnRecycleDateChanging(value); - this.SendPropertyChanging(); - this._RecycleDate = value; - this.SendPropertyChanged("RecycleDate"); - this.OnRecycleDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockMan", DbType="NVarChar(50)")] - public string StockMan - { - get - { - return this._StockMan; - } - set - { - if ((this._StockMan != value)) - { - if (this._Weld_Storeman.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnStockManChanging(value); - this.SendPropertyChanging(); - this._StockMan = value; - this.SendPropertyChanged("StockMan"); - this.OnStockManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Warrantybook", DbType="NVarChar(50)")] - public string Warrantybook - { - get - { - return this._Warrantybook; - } - set - { - if ((this._Warrantybook != value)) - { - this.OnWarrantybookChanging(value); - this.SendPropertyChanging(); - this._Warrantybook = value; - this.SendPropertyChanged("Warrantybook"); - this.OnWarrantybookChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Number", DbType="NVarChar(50)")] - public string Number - { - get - { - return this._Number; - } - set - { - if ((this._Number != value)) - { - this.OnNumberChanging(value); - this.SendPropertyChanging(); - this._Number = value; - this.SendPropertyChanged("Number"); - this.OnNumberChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsWelderConfirm", DbType="Bit")] - public System.Nullable IsWelderConfirm - { - get - { - return this._IsWelderConfirm; - } - set - { - if ((this._IsWelderConfirm != value)) - { - this.OnIsWelderConfirmChanging(value); - this.SendPropertyChanging(); - this._IsWelderConfirm = value; - this.SendPropertyChanged("IsWelderConfirm"); - this.OnIsWelderConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsStoreManConfirm", DbType="Bit")] - public System.Nullable IsStoreManConfirm - { - get - { - return this._IsStoreManConfirm; - } - set - { - if ((this._IsStoreManConfirm != value)) - { - this.OnIsStoreManConfirmChanging(value); - this.SendPropertyChanging(); - this._IsStoreManConfirm = value; - this.SendPropertyChanged("IsStoreManConfirm"); - this.OnIsStoreManConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReturnMat", DbType="Decimal(9,3)")] - public System.Nullable ReturnMat - { - get - { - return this._ReturnMat; - } - set - { - if ((this._ReturnMat != value)) - { - this.OnReturnMatChanging(value); - this.SendPropertyChanging(); - this._ReturnMat = value; - this.SendPropertyChanged("ReturnMat"); - this.OnReturnMatChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReturnMatTop", DbType="Int")] - public System.Nullable ReturnMatTop - { - get - { - return this._ReturnMatTop; - } - set - { - if ((this._ReturnMatTop != value)) - { - this.OnReturnMatTopChanging(value); - this.SendPropertyChanging(); - this._ReturnMatTop = value; - this.SendPropertyChanged("ReturnMatTop"); - this.OnReturnMatTopChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_RecycleMat", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Weld_RecycleMat.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMat.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_Storeman", Storage="_Weld_Storeman", ThisKey="StockMan", OtherKey="StoremanId", IsForeignKey=true)] - public Weld_Storeman Weld_Storeman - { - get - { - return this._Weld_Storeman.Entity; - } - set - { - Weld_Storeman previousValue = this._Weld_Storeman.Entity; - if (((previousValue != value) - || (this._Weld_Storeman.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_Storeman.Entity = null; - previousValue.Weld_RecycleMat.Remove(this); - } - this._Weld_Storeman.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMat.Add(this); - this._StockMan = value.StoremanId; - } - else - { - this._StockMan = default(string); - } - this.SendPropertyChanged("Weld_Storeman"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_UsingMat", Storage="_Weld_UsingMat", ThisKey="UsingMatId", OtherKey="UsingMatId", IsForeignKey=true)] - public Weld_UsingMat Weld_UsingMat - { - get - { - return this._Weld_UsingMat.Entity; - } - set - { - Weld_UsingMat previousValue = this._Weld_UsingMat.Entity; - if (((previousValue != value) - || (this._Weld_UsingMat.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_UsingMat.Entity = null; - previousValue.Weld_RecycleMat.Remove(this); - } - this._Weld_UsingMat.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMat.Add(this); - this._UsingMatId = value.UsingMatId; - } - else - { - this._UsingMatId = default(string); - } - this.SendPropertyChanged("Weld_UsingMat"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_UsingPlan", Storage="_Weld_UsingPlan", ThisKey="UsingPlanId", OtherKey="UsingPlanId", IsForeignKey=true)] - public Weld_UsingPlan Weld_UsingPlan - { - get - { - return this._Weld_UsingPlan.Entity; - } - set - { - Weld_UsingPlan previousValue = this._Weld_UsingPlan.Entity; - if (((previousValue != value) - || (this._Weld_UsingPlan.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_UsingPlan.Entity = null; - previousValue.Weld_RecycleMat.Remove(this); - } - this._Weld_UsingPlan.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMat.Add(this); - this._UsingPlanId = value.UsingPlanId; - } - else - { - this._UsingPlanId = default(string); - } - this.SendPropertyChanged("Weld_UsingPlan"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)] - public Weld_WeldInfo Weld_WeldInfo - { - get - { - return this._Weld_WeldInfo.Entity; - } - set - { - Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity; - if (((previousValue != value) - || (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_WeldInfo.Entity = null; - previousValue.Weld_RecycleMat.Remove(this); - } - this._Weld_WeldInfo.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMat.Add(this); - this._WeldId = value.WeldId; - } - else - { - this._WeldId = default(string); - } - this.SendPropertyChanged("Weld_WeldInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_RecycleMatTop")] - public partial class Weld_RecycleMatTop : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _RecycleMatTopId; - - private string _ProjectId; - - private string _UsePosition; - - private string _WeldId; - - private string _UsingPlanId; - - private System.Nullable _RecycleAmount; - - private string _RecycleMan; - - private System.Nullable _RecycleDate; - - private string _StockMan; - - private System.Nullable _Moneys; - - private System.Nullable _IsWelderConfirm; - - private System.Nullable _IsStoreManConfirm; - - private string _UsingMatId; - - private EntityRef _Base_Project; - - private EntityRef _Weld_Storeman; - - private EntityRef _Weld_UsingMat; - - private EntityRef _Weld_UsingPlan; - - private EntityRef _Weld_WeldInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnRecycleMatTopIdChanging(string value); - partial void OnRecycleMatTopIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUsePositionChanging(string value); - partial void OnUsePositionChanged(); - partial void OnWeldIdChanging(string value); - partial void OnWeldIdChanged(); - partial void OnUsingPlanIdChanging(string value); - partial void OnUsingPlanIdChanged(); - partial void OnRecycleAmountChanging(System.Nullable value); - partial void OnRecycleAmountChanged(); - partial void OnRecycleManChanging(string value); - partial void OnRecycleManChanged(); - partial void OnRecycleDateChanging(System.Nullable value); - partial void OnRecycleDateChanged(); - partial void OnStockManChanging(string value); - partial void OnStockManChanged(); - partial void OnMoneysChanging(System.Nullable value); - partial void OnMoneysChanged(); - partial void OnIsWelderConfirmChanging(System.Nullable value); - partial void OnIsWelderConfirmChanged(); - partial void OnIsStoreManConfirmChanging(System.Nullable value); - partial void OnIsStoreManConfirmChanged(); - partial void OnUsingMatIdChanging(string value); - partial void OnUsingMatIdChanged(); - #endregion - - public Weld_RecycleMatTop() - { - this._Base_Project = default(EntityRef); - this._Weld_Storeman = default(EntityRef); - this._Weld_UsingMat = default(EntityRef); - this._Weld_UsingPlan = default(EntityRef); - this._Weld_WeldInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleMatTopId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string RecycleMatTopId - { - get - { - return this._RecycleMatTopId; - } - set - { - if ((this._RecycleMatTopId != value)) - { - this.OnRecycleMatTopIdChanging(value); - this.SendPropertyChanging(); - this._RecycleMatTopId = value; - this.SendPropertyChanged("RecycleMatTopId"); - this.OnRecycleMatTopIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsePosition", DbType="NVarChar(50)")] - public string UsePosition - { - get - { - return this._UsePosition; - } - set - { - if ((this._UsePosition != value)) - { - this.OnUsePositionChanging(value); - this.SendPropertyChanging(); - this._UsePosition = value; - this.SendPropertyChanged("UsePosition"); - this.OnUsePositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldId", DbType="NVarChar(50)")] - public string WeldId - { - get - { - return this._WeldId; - } - set - { - if ((this._WeldId != value)) - { - if (this._Weld_WeldInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldIdChanging(value); - this.SendPropertyChanging(); - this._WeldId = value; - this.SendPropertyChanged("WeldId"); - this.OnWeldIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingPlanId", DbType="NVarChar(50)")] - public string UsingPlanId - { - get - { - return this._UsingPlanId; - } - set - { - if ((this._UsingPlanId != value)) - { - if (this._Weld_UsingPlan.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUsingPlanIdChanging(value); - this.SendPropertyChanging(); - this._UsingPlanId = value; - this.SendPropertyChanged("UsingPlanId"); - this.OnUsingPlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleAmount", DbType="Int")] - public System.Nullable RecycleAmount - { - get - { - return this._RecycleAmount; - } - set - { - if ((this._RecycleAmount != value)) - { - this.OnRecycleAmountChanging(value); - this.SendPropertyChanging(); - this._RecycleAmount = value; - this.SendPropertyChanged("RecycleAmount"); - this.OnRecycleAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleMan", DbType="NVarChar(50)")] - public string RecycleMan - { - get - { - return this._RecycleMan; - } - set - { - if ((this._RecycleMan != value)) - { - this.OnRecycleManChanging(value); - this.SendPropertyChanging(); - this._RecycleMan = value; - this.SendPropertyChanged("RecycleMan"); - this.OnRecycleManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleDate", DbType="DateTime")] - public System.Nullable RecycleDate - { - get - { - return this._RecycleDate; - } - set - { - if ((this._RecycleDate != value)) - { - this.OnRecycleDateChanging(value); - this.SendPropertyChanging(); - this._RecycleDate = value; - this.SendPropertyChanged("RecycleDate"); - this.OnRecycleDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockMan", DbType="NVarChar(50)")] - public string StockMan - { - get - { - return this._StockMan; - } - set - { - if ((this._StockMan != value)) - { - if (this._Weld_Storeman.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnStockManChanging(value); - this.SendPropertyChanging(); - this._StockMan = value; - this.SendPropertyChanged("StockMan"); - this.OnStockManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Moneys", DbType="Int")] - public System.Nullable Moneys - { - get - { - return this._Moneys; - } - set - { - if ((this._Moneys != value)) - { - this.OnMoneysChanging(value); - this.SendPropertyChanging(); - this._Moneys = value; - this.SendPropertyChanged("Moneys"); - this.OnMoneysChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsWelderConfirm", DbType="Bit")] - public System.Nullable IsWelderConfirm - { - get - { - return this._IsWelderConfirm; - } - set - { - if ((this._IsWelderConfirm != value)) - { - this.OnIsWelderConfirmChanging(value); - this.SendPropertyChanging(); - this._IsWelderConfirm = value; - this.SendPropertyChanged("IsWelderConfirm"); - this.OnIsWelderConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsStoreManConfirm", DbType="Bit")] - public System.Nullable IsStoreManConfirm - { - get - { - return this._IsStoreManConfirm; - } - set - { - if ((this._IsStoreManConfirm != value)) - { - this.OnIsStoreManConfirmChanging(value); - this.SendPropertyChanging(); - this._IsStoreManConfirm = value; - this.SendPropertyChanged("IsStoreManConfirm"); - this.OnIsStoreManConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingMatId", DbType="NVarChar(50)")] - public string UsingMatId - { - get - { - return this._UsingMatId; - } - set - { - if ((this._UsingMatId != value)) - { - if (this._Weld_UsingMat.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUsingMatIdChanging(value); - this.SendPropertyChanging(); - this._UsingMatId = value; - this.SendPropertyChanged("UsingMatId"); - this.OnUsingMatIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Weld_RecycleMatTop.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMatTop.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_Storeman", Storage="_Weld_Storeman", ThisKey="StockMan", OtherKey="StoremanId", IsForeignKey=true)] - public Weld_Storeman Weld_Storeman - { - get - { - return this._Weld_Storeman.Entity; - } - set - { - Weld_Storeman previousValue = this._Weld_Storeman.Entity; - if (((previousValue != value) - || (this._Weld_Storeman.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_Storeman.Entity = null; - previousValue.Weld_RecycleMatTop.Remove(this); - } - this._Weld_Storeman.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMatTop.Add(this); - this._StockMan = value.StoremanId; - } - else - { - this._StockMan = default(string); - } - this.SendPropertyChanged("Weld_Storeman"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_UsingMat", Storage="_Weld_UsingMat", ThisKey="UsingMatId", OtherKey="UsingMatId", IsForeignKey=true)] - public Weld_UsingMat Weld_UsingMat - { - get - { - return this._Weld_UsingMat.Entity; - } - set - { - Weld_UsingMat previousValue = this._Weld_UsingMat.Entity; - if (((previousValue != value) - || (this._Weld_UsingMat.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_UsingMat.Entity = null; - previousValue.Weld_RecycleMatTop.Remove(this); - } - this._Weld_UsingMat.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMatTop.Add(this); - this._UsingMatId = value.UsingMatId; - } - else - { - this._UsingMatId = default(string); - } - this.SendPropertyChanged("Weld_UsingMat"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_UsingPlan", Storage="_Weld_UsingPlan", ThisKey="UsingPlanId", OtherKey="UsingPlanId", IsForeignKey=true)] - public Weld_UsingPlan Weld_UsingPlan - { - get - { - return this._Weld_UsingPlan.Entity; - } - set - { - Weld_UsingPlan previousValue = this._Weld_UsingPlan.Entity; - if (((previousValue != value) - || (this._Weld_UsingPlan.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_UsingPlan.Entity = null; - previousValue.Weld_RecycleMatTop.Remove(this); - } - this._Weld_UsingPlan.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMatTop.Add(this); - this._UsingPlanId = value.UsingPlanId; - } - else - { - this._UsingPlanId = default(string); - } - this.SendPropertyChanged("Weld_UsingPlan"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)] - public Weld_WeldInfo Weld_WeldInfo - { - get - { - return this._Weld_WeldInfo.Entity; - } - set - { - Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity; - if (((previousValue != value) - || (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_WeldInfo.Entity = null; - previousValue.Weld_RecycleMatTop.Remove(this); - } - this._Weld_WeldInfo.Entity = value; - if ((value != null)) - { - value.Weld_RecycleMatTop.Add(this); - this._WeldId = value.WeldId; - } - else - { - this._WeldId = default(string); - } - this.SendPropertyChanged("Weld_WeldInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_Specifications")] - public partial class Weld_Specifications : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _SpecificationsId; - - private string _Specifications; - - private string _WeldTypeId; - - private string _Remark; - - private System.Nullable _MaxUsingNum; - - private string _CreateMan; - - private string _ModifyMan; - - private EntityRef _Weld_WeldType; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnSpecificationsIdChanging(string value); - partial void OnSpecificationsIdChanged(); - partial void OnSpecificationsChanging(string value); - partial void OnSpecificationsChanged(); - partial void OnWeldTypeIdChanging(string value); - partial void OnWeldTypeIdChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - partial void OnMaxUsingNumChanging(System.Nullable value); - partial void OnMaxUsingNumChanged(); - partial void OnCreateManChanging(string value); - partial void OnCreateManChanged(); - partial void OnModifyManChanging(string value); - partial void OnModifyManChanged(); - #endregion - - public Weld_Specifications() - { - this._Weld_WeldType = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string SpecificationsId - { - get - { - return this._SpecificationsId; - } - set - { - if ((this._SpecificationsId != value)) - { - this.OnSpecificationsIdChanging(value); - this.SendPropertyChanging(); - this._SpecificationsId = value; - this.SendPropertyChanged("SpecificationsId"); - this.OnSpecificationsIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Specifications", DbType="NVarChar(50)")] - public string Specifications - { - get - { - return this._Specifications; - } - set - { - if ((this._Specifications != value)) - { - this.OnSpecificationsChanging(value); - this.SendPropertyChanging(); - this._Specifications = value; - this.SendPropertyChanged("Specifications"); - this.OnSpecificationsChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldTypeId", DbType="NVarChar(50)")] - public string WeldTypeId - { - get - { - return this._WeldTypeId; - } - set - { - if ((this._WeldTypeId != value)) - { - if (this._Weld_WeldType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldTypeIdChanging(value); - this.SendPropertyChanging(); - this._WeldTypeId = value; - this.SendPropertyChanged("WeldTypeId"); - this.OnWeldTypeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxUsingNum", DbType="Decimal(6,1)")] - public System.Nullable MaxUsingNum - { - get - { - return this._MaxUsingNum; - } - set - { - if ((this._MaxUsingNum != value)) - { - this.OnMaxUsingNumChanging(value); - this.SendPropertyChanging(); - this._MaxUsingNum = value; - this.SendPropertyChanged("MaxUsingNum"); - this.OnMaxUsingNumChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateMan", DbType="NVarChar(50)")] - public string CreateMan - { - get - { - return this._CreateMan; - } - set - { - if ((this._CreateMan != value)) - { - this.OnCreateManChanging(value); - this.SendPropertyChanging(); - this._CreateMan = value; - this.SendPropertyChanged("CreateMan"); - this.OnCreateManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ModifyMan", DbType="NVarChar(50)")] - public string ModifyMan - { - get - { - return this._ModifyMan; - } - set - { - if ((this._ModifyMan != value)) - { - this.OnModifyManChanging(value); - this.SendPropertyChanging(); - this._ModifyMan = value; - this.SendPropertyChanged("ModifyMan"); - this.OnModifyManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_Specifications_Weld_WeldType", Storage="_Weld_WeldType", ThisKey="WeldTypeId", OtherKey="WeldTypeId", IsForeignKey=true)] - public Weld_WeldType Weld_WeldType - { - get - { - return this._Weld_WeldType.Entity; - } - set - { - Weld_WeldType previousValue = this._Weld_WeldType.Entity; - if (((previousValue != value) - || (this._Weld_WeldType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_WeldType.Entity = null; - previousValue.Weld_Specifications.Remove(this); - } - this._Weld_WeldType.Entity = value; - if ((value != null)) - { - value.Weld_Specifications.Add(this); - this._WeldTypeId = value.WeldTypeId; - } - else - { - this._WeldTypeId = default(string); - } - this.SendPropertyChanged("Weld_WeldType"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_StockIn")] - public partial class Weld_StockIn : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _StockInId; - - private string _WeldId; - - private System.Nullable _Amount; - - private System.Nullable _Weight; - - private System.Nullable _UsingAmount; - - private string _Materialman; - - private System.Nullable _InStockDate; - - private System.Nullable _IsReview; - - private string _ReviewMan; - - private System.Nullable _ReviewDate; - - private string _ReviewResult; - - private string _Warrantybook; - - private string _AttachUrl; - - private string _SupplierId; - - private string _Flag; - - private string _HeartNo; - - private string _Number; - - private string _UnitStoreId; - - private System.Nullable _RecycleAmount; - - private System.Nullable _RecycleWeight; - - private string _MoveInStoreId; - - private string _MoveInManId; - - private System.Nullable _MoveInDate; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnStockInIdChanging(string value); - partial void OnStockInIdChanged(); - partial void OnWeldIdChanging(string value); - partial void OnWeldIdChanged(); - partial void OnAmountChanging(System.Nullable value); - partial void OnAmountChanged(); - partial void OnWeightChanging(System.Nullable value); - partial void OnWeightChanged(); - partial void OnUsingAmountChanging(System.Nullable value); - partial void OnUsingAmountChanged(); - partial void OnMaterialmanChanging(string value); - partial void OnMaterialmanChanged(); - partial void OnInStockDateChanging(System.Nullable value); - partial void OnInStockDateChanged(); - partial void OnIsReviewChanging(System.Nullable value); - partial void OnIsReviewChanged(); - partial void OnReviewManChanging(string value); - partial void OnReviewManChanged(); - partial void OnReviewDateChanging(System.Nullable value); - partial void OnReviewDateChanged(); - partial void OnReviewResultChanging(string value); - partial void OnReviewResultChanged(); - partial void OnWarrantybookChanging(string value); - partial void OnWarrantybookChanged(); - partial void OnAttachUrlChanging(string value); - partial void OnAttachUrlChanged(); - partial void OnSupplierIdChanging(string value); - partial void OnSupplierIdChanged(); - partial void OnFlagChanging(string value); - partial void OnFlagChanged(); - partial void OnHeartNoChanging(string value); - partial void OnHeartNoChanged(); - partial void OnNumberChanging(string value); - partial void OnNumberChanged(); - partial void OnUnitStoreIdChanging(string value); - partial void OnUnitStoreIdChanged(); - partial void OnRecycleAmountChanging(System.Nullable value); - partial void OnRecycleAmountChanged(); - partial void OnRecycleWeightChanging(System.Nullable value); - partial void OnRecycleWeightChanged(); - partial void OnMoveInStoreIdChanging(string value); - partial void OnMoveInStoreIdChanged(); - partial void OnMoveInManIdChanging(string value); - partial void OnMoveInManIdChanged(); - partial void OnMoveInDateChanging(System.Nullable value); - partial void OnMoveInDateChanged(); - #endregion - - public Weld_StockIn() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockInId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string StockInId - { - get - { - return this._StockInId; - } - set - { - if ((this._StockInId != value)) - { - this.OnStockInIdChanging(value); - this.SendPropertyChanging(); - this._StockInId = value; - this.SendPropertyChanged("StockInId"); - this.OnStockInIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldId", DbType="NVarChar(50)")] - public string WeldId - { - get - { - return this._WeldId; - } - set - { - if ((this._WeldId != value)) - { - this.OnWeldIdChanging(value); - this.SendPropertyChanging(); - this._WeldId = value; - this.SendPropertyChanged("WeldId"); - this.OnWeldIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(9,3)")] - public System.Nullable Amount - { - get - { - return this._Amount; - } - set - { - if ((this._Amount != value)) - { - this.OnAmountChanging(value); - this.SendPropertyChanging(); - this._Amount = value; - this.SendPropertyChanged("Amount"); - this.OnAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Weight", DbType="Decimal(9,3)")] - public System.Nullable Weight - { - get - { - return this._Weight; - } - set - { - if ((this._Weight != value)) - { - this.OnWeightChanging(value); - this.SendPropertyChanging(); - this._Weight = value; - this.SendPropertyChanged("Weight"); - this.OnWeightChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingAmount", DbType="Decimal(9,3)")] - public System.Nullable UsingAmount - { - get - { - return this._UsingAmount; - } - set - { - if ((this._UsingAmount != value)) - { - this.OnUsingAmountChanging(value); - this.SendPropertyChanging(); - this._UsingAmount = value; - this.SendPropertyChanged("UsingAmount"); - this.OnUsingAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Materialman", DbType="NVarChar(50)")] - public string Materialman - { - get - { - return this._Materialman; - } - set - { - if ((this._Materialman != value)) - { - this.OnMaterialmanChanging(value); - this.SendPropertyChanging(); - this._Materialman = value; - this.SendPropertyChanged("Materialman"); - this.OnMaterialmanChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InStockDate", DbType="DateTime")] - public System.Nullable InStockDate - { - get - { - return this._InStockDate; - } - set - { - if ((this._InStockDate != value)) - { - this.OnInStockDateChanging(value); - this.SendPropertyChanging(); - this._InStockDate = value; - this.SendPropertyChanged("InStockDate"); - this.OnInStockDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsReview", DbType="Bit")] - public System.Nullable IsReview - { - get - { - return this._IsReview; - } - set - { - if ((this._IsReview != value)) - { - this.OnIsReviewChanging(value); - this.SendPropertyChanging(); - this._IsReview = value; - this.SendPropertyChanged("IsReview"); - this.OnIsReviewChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewMan", DbType="NVarChar(50)")] - public string ReviewMan - { - get - { - return this._ReviewMan; - } - set - { - if ((this._ReviewMan != value)) - { - this.OnReviewManChanging(value); - this.SendPropertyChanging(); - this._ReviewMan = value; - this.SendPropertyChanged("ReviewMan"); - this.OnReviewManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDate", DbType="DateTime")] - public System.Nullable ReviewDate - { - get - { - return this._ReviewDate; - } - set - { - if ((this._ReviewDate != value)) - { - this.OnReviewDateChanging(value); - this.SendPropertyChanging(); - this._ReviewDate = value; - this.SendPropertyChanged("ReviewDate"); - this.OnReviewDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewResult", DbType="Char(1)")] - public string ReviewResult - { - get - { - return this._ReviewResult; - } - set - { - if ((this._ReviewResult != value)) - { - this.OnReviewResultChanging(value); - this.SendPropertyChanging(); - this._ReviewResult = value; - this.SendPropertyChanged("ReviewResult"); - this.OnReviewResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Warrantybook", DbType="NVarChar(50)")] - public string Warrantybook - { - get - { - return this._Warrantybook; - } - set - { - if ((this._Warrantybook != value)) - { - this.OnWarrantybookChanging(value); - this.SendPropertyChanging(); - this._Warrantybook = value; - this.SendPropertyChanged("Warrantybook"); - this.OnWarrantybookChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachUrl", DbType="NVarChar(500)")] - public string AttachUrl - { - get - { - return this._AttachUrl; - } - set - { - if ((this._AttachUrl != value)) - { - this.OnAttachUrlChanging(value); - this.SendPropertyChanging(); - this._AttachUrl = value; - this.SendPropertyChanged("AttachUrl"); - this.OnAttachUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierId", DbType="NVarChar(50)")] - public string SupplierId - { - get - { - return this._SupplierId; - } - set - { - if ((this._SupplierId != value)) - { - this.OnSupplierIdChanging(value); - this.SendPropertyChanging(); - this._SupplierId = value; - this.SendPropertyChanged("SupplierId"); - this.OnSupplierIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Flag", DbType="Char(1)")] - public string Flag - { - get - { - return this._Flag; - } - set - { - if ((this._Flag != value)) - { - this.OnFlagChanging(value); - this.SendPropertyChanging(); - this._Flag = value; - this.SendPropertyChanged("Flag"); - this.OnFlagChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeartNo", DbType="NVarChar(50)")] - public string HeartNo - { - get - { - return this._HeartNo; - } - set - { - if ((this._HeartNo != value)) - { - this.OnHeartNoChanging(value); - this.SendPropertyChanging(); - this._HeartNo = value; - this.SendPropertyChanged("HeartNo"); - this.OnHeartNoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Number", DbType="NVarChar(50)")] - public string Number - { - get - { - return this._Number; - } - set - { - if ((this._Number != value)) - { - this.OnNumberChanging(value); - this.SendPropertyChanging(); - this._Number = value; - this.SendPropertyChanged("Number"); - this.OnNumberChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitStoreId", DbType="NVarChar(50)")] - public string UnitStoreId - { - get - { - return this._UnitStoreId; - } - set - { - if ((this._UnitStoreId != value)) - { - this.OnUnitStoreIdChanging(value); - this.SendPropertyChanging(); - this._UnitStoreId = value; - this.SendPropertyChanged("UnitStoreId"); - this.OnUnitStoreIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleAmount", DbType="Decimal(9,3)")] - public System.Nullable RecycleAmount - { - get - { - return this._RecycleAmount; - } - set - { - if ((this._RecycleAmount != value)) - { - this.OnRecycleAmountChanging(value); - this.SendPropertyChanging(); - this._RecycleAmount = value; - this.SendPropertyChanged("RecycleAmount"); - this.OnRecycleAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleWeight", DbType="Decimal(9,3)")] - public System.Nullable RecycleWeight - { - get - { - return this._RecycleWeight; - } - set - { - if ((this._RecycleWeight != value)) - { - this.OnRecycleWeightChanging(value); - this.SendPropertyChanging(); - this._RecycleWeight = value; - this.SendPropertyChanged("RecycleWeight"); - this.OnRecycleWeightChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MoveInStoreId", DbType="NVarChar(50)")] - public string MoveInStoreId - { - get - { - return this._MoveInStoreId; - } - set - { - if ((this._MoveInStoreId != value)) - { - this.OnMoveInStoreIdChanging(value); - this.SendPropertyChanging(); - this._MoveInStoreId = value; - this.SendPropertyChanged("MoveInStoreId"); - this.OnMoveInStoreIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MoveInManId", DbType="NVarChar(50)")] - public string MoveInManId - { - get - { - return this._MoveInManId; - } - set - { - if ((this._MoveInManId != value)) - { - this.OnMoveInManIdChanging(value); - this.SendPropertyChanging(); - this._MoveInManId = value; - this.SendPropertyChanged("MoveInManId"); - this.OnMoveInManIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MoveInDate", DbType="DateTime")] - public System.Nullable MoveInDate - { - get - { - return this._MoveInDate; - } - set - { - if ((this._MoveInDate != value)) - { - this.OnMoveInDateChanging(value); - this.SendPropertyChanging(); - this._MoveInDate = value; - this.SendPropertyChanged("MoveInDate"); - this.OnMoveInDateChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_StockInit")] - public partial class Weld_StockInit : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _StockInitId; - - private string _WeldId; - - private System.Nullable _Amount; - - private System.Nullable _Weight; - - private EntityRef _Weld_WeldInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnStockInitIdChanging(string value); - partial void OnStockInitIdChanged(); - partial void OnWeldIdChanging(string value); - partial void OnWeldIdChanged(); - partial void OnAmountChanging(System.Nullable value); - partial void OnAmountChanged(); - partial void OnWeightChanging(System.Nullable value); - partial void OnWeightChanged(); - #endregion - - public Weld_StockInit() - { - this._Weld_WeldInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockInitId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string StockInitId - { - get - { - return this._StockInitId; - } - set - { - if ((this._StockInitId != value)) - { - this.OnStockInitIdChanging(value); - this.SendPropertyChanging(); - this._StockInitId = value; - this.SendPropertyChanged("StockInitId"); - this.OnStockInitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldId", DbType="NVarChar(50)")] - public string WeldId - { - get - { - return this._WeldId; - } - set - { - if ((this._WeldId != value)) - { - if (this._Weld_WeldInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldIdChanging(value); - this.SendPropertyChanging(); - this._WeldId = value; - this.SendPropertyChanged("WeldId"); - this.OnWeldIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(9,3)")] - public System.Nullable Amount - { - get - { - return this._Amount; - } - set - { - if ((this._Amount != value)) - { - this.OnAmountChanging(value); - this.SendPropertyChanging(); - this._Amount = value; - this.SendPropertyChanged("Amount"); - this.OnAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Weight", DbType="Decimal(9,3)")] - public System.Nullable Weight - { - get - { - return this._Weight; - } - set - { - if ((this._Weight != value)) - { - this.OnWeightChanging(value); - this.SendPropertyChanging(); - this._Weight = value; - this.SendPropertyChanged("Weight"); - this.OnWeightChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_StockInit_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)] - public Weld_WeldInfo Weld_WeldInfo - { - get - { - return this._Weld_WeldInfo.Entity; - } - set - { - Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity; - if (((previousValue != value) - || (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_WeldInfo.Entity = null; - previousValue.Weld_StockInit.Remove(this); - } - this._Weld_WeldInfo.Entity = value; - if ((value != null)) - { - value.Weld_StockInit.Add(this); - this._WeldId = value.WeldId; - } - else - { - this._WeldId = default(string); - } - this.SendPropertyChanged("Weld_WeldInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_Storeman")] - public partial class Weld_Storeman : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _StoremanId; - - private string _UserId; - - private string _StoreCode; - - private string _StoreName; - - private string _IdentityCard; - - private string _MyFinger; - - private string _SignatureUrl; - - private System.Nullable _IsFaceTrain; - - private EntitySet _Weld_RecycleMat; - - private EntitySet _Weld_RecycleMatTop; - - private EntitySet _Weld_UsingMat; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnStoremanIdChanging(string value); - partial void OnStoremanIdChanged(); - partial void OnUserIdChanging(string value); - partial void OnUserIdChanged(); - partial void OnStoreCodeChanging(string value); - partial void OnStoreCodeChanged(); - partial void OnStoreNameChanging(string value); - partial void OnStoreNameChanged(); - partial void OnIdentityCardChanging(string value); - partial void OnIdentityCardChanged(); - partial void OnMyFingerChanging(string value); - partial void OnMyFingerChanged(); - partial void OnSignatureUrlChanging(string value); - partial void OnSignatureUrlChanged(); - partial void OnIsFaceTrainChanging(System.Nullable value); - partial void OnIsFaceTrainChanged(); - #endregion - - public Weld_Storeman() - { - this._Weld_RecycleMat = new EntitySet(new Action(this.attach_Weld_RecycleMat), new Action(this.detach_Weld_RecycleMat)); - this._Weld_RecycleMatTop = new EntitySet(new Action(this.attach_Weld_RecycleMatTop), new Action(this.detach_Weld_RecycleMatTop)); - this._Weld_UsingMat = new EntitySet(new Action(this.attach_Weld_UsingMat), new Action(this.detach_Weld_UsingMat)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StoremanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string StoremanId - { - get - { - return this._StoremanId; - } - set - { - if ((this._StoremanId != value)) - { - this.OnStoremanIdChanging(value); - this.SendPropertyChanging(); - this._StoremanId = value; - this.SendPropertyChanged("StoremanId"); - this.OnStoremanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] - public string UserId - { - get - { - return this._UserId; - } - set - { - if ((this._UserId != value)) - { - this.OnUserIdChanging(value); - this.SendPropertyChanging(); - this._UserId = value; - this.SendPropertyChanged("UserId"); - this.OnUserIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StoreCode", DbType="NVarChar(50)")] - public string StoreCode - { - get - { - return this._StoreCode; - } - set - { - if ((this._StoreCode != value)) - { - this.OnStoreCodeChanging(value); - this.SendPropertyChanging(); - this._StoreCode = value; - this.SendPropertyChanged("StoreCode"); - this.OnStoreCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StoreName", DbType="NVarChar(50)")] - public string StoreName - { - get - { - return this._StoreName; - } - set - { - if ((this._StoreName != value)) - { - this.OnStoreNameChanging(value); - this.SendPropertyChanging(); - this._StoreName = value; - this.SendPropertyChanged("StoreName"); - this.OnStoreNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IdentityCard", DbType="NVarChar(18)")] - public string IdentityCard - { - get - { - return this._IdentityCard; - } - set - { - if ((this._IdentityCard != value)) - { - this.OnIdentityCardChanging(value); - this.SendPropertyChanging(); - this._IdentityCard = value; - this.SendPropertyChanged("IdentityCard"); - this.OnIdentityCardChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MyFinger", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string MyFinger - { - get - { - return this._MyFinger; - } - set - { - if ((this._MyFinger != value)) - { - this.OnMyFingerChanging(value); - this.SendPropertyChanging(); - this._MyFinger = value; - this.SendPropertyChanged("MyFinger"); - this.OnMyFingerChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SignatureUrl", DbType="NVarChar(500)")] - public string SignatureUrl - { - get - { - return this._SignatureUrl; - } - set - { - if ((this._SignatureUrl != value)) - { - this.OnSignatureUrlChanging(value); - this.SendPropertyChanging(); - this._SignatureUrl = value; - this.SendPropertyChanged("SignatureUrl"); - this.OnSignatureUrlChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFaceTrain", DbType="Bit")] - public System.Nullable IsFaceTrain - { - get - { - return this._IsFaceTrain; - } - set - { - if ((this._IsFaceTrain != value)) - { - this.OnIsFaceTrainChanging(value); - this.SendPropertyChanging(); - this._IsFaceTrain = value; - this.SendPropertyChanged("IsFaceTrain"); - this.OnIsFaceTrainChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_Storeman", Storage="_Weld_RecycleMat", ThisKey="StoremanId", OtherKey="StockMan", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMat - { - get - { - return this._Weld_RecycleMat; - } - set - { - this._Weld_RecycleMat.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_Storeman", Storage="_Weld_RecycleMatTop", ThisKey="StoremanId", OtherKey="StockMan", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMatTop - { - get - { - return this._Weld_RecycleMatTop; - } - set - { - this._Weld_RecycleMatTop.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Weld_Storeman", Storage="_Weld_UsingMat", ThisKey="StoremanId", OtherKey="StoreMan", DeleteRule="NO ACTION")] - public EntitySet Weld_UsingMat - { - get - { - return this._Weld_UsingMat; - } - set - { - this._Weld_UsingMat.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Weld_Storeman = this; - } - - private void detach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Weld_Storeman = null; - } - - private void attach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Weld_Storeman = this; - } - - private void detach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Weld_Storeman = null; - } - - private void attach_Weld_UsingMat(Weld_UsingMat entity) - { - this.SendPropertyChanging(); - entity.Weld_Storeman = this; - } - - private void detach_Weld_UsingMat(Weld_UsingMat entity) - { - this.SendPropertyChanging(); - entity.Weld_Storeman = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_Supplier")] - public partial class Weld_Supplier : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _SupplierId; - - private string _SupplierCode; - - private string _SupplierName; - - private string _ContactMan; - - private string _ContactPhone; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnSupplierIdChanging(string value); - partial void OnSupplierIdChanged(); - partial void OnSupplierCodeChanging(string value); - partial void OnSupplierCodeChanged(); - partial void OnSupplierNameChanging(string value); - partial void OnSupplierNameChanged(); - partial void OnContactManChanging(string value); - partial void OnContactManChanged(); - partial void OnContactPhoneChanging(string value); - partial void OnContactPhoneChanged(); - #endregion - - public Weld_Supplier() - { - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string SupplierId - { - get - { - return this._SupplierId; - } - set - { - if ((this._SupplierId != value)) - { - this.OnSupplierIdChanging(value); - this.SendPropertyChanging(); - this._SupplierId = value; - this.SendPropertyChanged("SupplierId"); - this.OnSupplierIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierCode", DbType="NVarChar(50)")] - public string SupplierCode - { - get - { - return this._SupplierCode; - } - set - { - if ((this._SupplierCode != value)) - { - this.OnSupplierCodeChanging(value); - this.SendPropertyChanging(); - this._SupplierCode = value; - this.SendPropertyChanged("SupplierCode"); - this.OnSupplierCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupplierName", DbType="NVarChar(50)")] - public string SupplierName - { - get - { - return this._SupplierName; - } - set - { - if ((this._SupplierName != value)) - { - this.OnSupplierNameChanging(value); - this.SendPropertyChanging(); - this._SupplierName = value; - this.SendPropertyChanged("SupplierName"); - this.OnSupplierNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactMan", DbType="NVarChar(20)")] - public string ContactMan - { - get - { - return this._ContactMan; - } - set - { - if ((this._ContactMan != value)) - { - this.OnContactManChanging(value); - this.SendPropertyChanging(); - this._ContactMan = value; - this.SendPropertyChanged("ContactMan"); - this.OnContactManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactPhone", DbType="NVarChar(50)")] - public string ContactPhone - { - get - { - return this._ContactPhone; - } - set - { - if ((this._ContactPhone != value)) - { - this.OnContactPhoneChanging(value); - this.SendPropertyChanging(); - this._ContactPhone = value; - this.SendPropertyChanged("ContactPhone"); - this.OnContactPhoneChanged(); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_UnitStore")] - public partial class Weld_UnitStore : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _UnitStoreId; - - private string _UnitId; - - private string _UnitStoreCode; - - private string _UnitStoreName; - - private string _StorePosition; - - private EntityRef _Base_Unit; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnUnitStoreIdChanging(string value); - partial void OnUnitStoreIdChanged(); - partial void OnUnitIdChanging(string value); - partial void OnUnitIdChanged(); - partial void OnUnitStoreCodeChanging(string value); - partial void OnUnitStoreCodeChanged(); - partial void OnUnitStoreNameChanging(string value); - partial void OnUnitStoreNameChanged(); - partial void OnStorePositionChanging(string value); - partial void OnStorePositionChanged(); - #endregion - - public Weld_UnitStore() - { - this._Base_Unit = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitStoreId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string UnitStoreId - { - get - { - return this._UnitStoreId; - } - set - { - if ((this._UnitStoreId != value)) - { - this.OnUnitStoreIdChanging(value); - this.SendPropertyChanging(); - this._UnitStoreId = value; - this.SendPropertyChanged("UnitStoreId"); - this.OnUnitStoreIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] - public string UnitId - { - get - { - return this._UnitId; - } - set - { - if ((this._UnitId != value)) - { - if (this._Base_Unit.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUnitIdChanging(value); - this.SendPropertyChanging(); - this._UnitId = value; - this.SendPropertyChanged("UnitId"); - this.OnUnitIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitStoreCode", DbType="NVarChar(50)")] - public string UnitStoreCode - { - get - { - return this._UnitStoreCode; - } - set - { - if ((this._UnitStoreCode != value)) - { - this.OnUnitStoreCodeChanging(value); - this.SendPropertyChanging(); - this._UnitStoreCode = value; - this.SendPropertyChanged("UnitStoreCode"); - this.OnUnitStoreCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitStoreName", DbType="NVarChar(50)")] - public string UnitStoreName - { - get - { - return this._UnitStoreName; - } - set - { - if ((this._UnitStoreName != value)) - { - this.OnUnitStoreNameChanging(value); - this.SendPropertyChanging(); - this._UnitStoreName = value; - this.SendPropertyChanged("UnitStoreName"); - this.OnUnitStoreNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StorePosition", DbType="NVarChar(150)")] - public string StorePosition - { - get - { - return this._StorePosition; - } - set - { - if ((this._StorePosition != value)) - { - this.OnStorePositionChanging(value); - this.SendPropertyChanging(); - this._StorePosition = value; - this.SendPropertyChanged("StorePosition"); - this.OnStorePositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UnitStore_Base_Unit", Storage="_Base_Unit", ThisKey="UnitId", OtherKey="UnitId", IsForeignKey=true)] - public Base_Unit Base_Unit - { - get - { - return this._Base_Unit.Entity; - } - set - { - Base_Unit previousValue = this._Base_Unit.Entity; - if (((previousValue != value) - || (this._Base_Unit.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Unit.Entity = null; - previousValue.Weld_UnitStore.Remove(this); - } - this._Base_Unit.Entity = value; - if ((value != null)) - { - value.Weld_UnitStore.Add(this); - this._UnitId = value.UnitId; - } - else - { - this._UnitId = default(string); - } - this.SendPropertyChanged("Base_Unit"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_UsingMat")] - public partial class Weld_UsingMat : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _UsingMatId; - - private string _ProjectId; - - private string _UsePosition; - - private string _WeldId; - - private string _UsingPlanId; - - private System.Nullable _Amount; - - private string _UsingMan; - - private System.Nullable _UsingDate; - - private string _StoreMan; - - private string _Warrantybook; - - private string _Number; - - private System.Nullable _IsWelderConfirm; - - private System.Nullable _IsStoreManConfirm; - - private System.Nullable _ReturnMat; - - private System.Nullable _ReturnMatTop; - - private string _StockInId; - - private System.Nullable _IsClose; - - private System.Nullable _IsOnTime; - - private System.Nullable _TwoAmount; - - private EntitySet _Weld_RecycleMat; - - private EntitySet _Weld_RecycleMatTop; - - private EntityRef _Base_Project; - - private EntityRef _Weld_Storeman; - - private EntityRef _Weld_UsingPlan; - - private EntityRef _Weld_WeldInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnUsingMatIdChanging(string value); - partial void OnUsingMatIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUsePositionChanging(string value); - partial void OnUsePositionChanged(); - partial void OnWeldIdChanging(string value); - partial void OnWeldIdChanged(); - partial void OnUsingPlanIdChanging(string value); - partial void OnUsingPlanIdChanged(); - partial void OnAmountChanging(System.Nullable value); - partial void OnAmountChanged(); - partial void OnUsingManChanging(string value); - partial void OnUsingManChanged(); - partial void OnUsingDateChanging(System.Nullable value); - partial void OnUsingDateChanged(); - partial void OnStoreManChanging(string value); - partial void OnStoreManChanged(); - partial void OnWarrantybookChanging(string value); - partial void OnWarrantybookChanged(); - partial void OnNumberChanging(string value); - partial void OnNumberChanged(); - partial void OnIsWelderConfirmChanging(System.Nullable value); - partial void OnIsWelderConfirmChanged(); - partial void OnIsStoreManConfirmChanging(System.Nullable value); - partial void OnIsStoreManConfirmChanged(); - partial void OnReturnMatChanging(System.Nullable value); - partial void OnReturnMatChanged(); - partial void OnReturnMatTopChanging(System.Nullable value); - partial void OnReturnMatTopChanged(); - partial void OnStockInIdChanging(string value); - partial void OnStockInIdChanged(); - partial void OnIsCloseChanging(System.Nullable value); - partial void OnIsCloseChanged(); - partial void OnIsOnTimeChanging(System.Nullable value); - partial void OnIsOnTimeChanged(); - partial void OnTwoAmountChanging(System.Nullable value); - partial void OnTwoAmountChanged(); - #endregion - - public Weld_UsingMat() - { - this._Weld_RecycleMat = new EntitySet(new Action(this.attach_Weld_RecycleMat), new Action(this.detach_Weld_RecycleMat)); - this._Weld_RecycleMatTop = new EntitySet(new Action(this.attach_Weld_RecycleMatTop), new Action(this.detach_Weld_RecycleMatTop)); - this._Base_Project = default(EntityRef); - this._Weld_Storeman = default(EntityRef); - this._Weld_UsingPlan = default(EntityRef); - this._Weld_WeldInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingMatId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string UsingMatId - { - get - { - return this._UsingMatId; - } - set - { - if ((this._UsingMatId != value)) - { - this.OnUsingMatIdChanging(value); - this.SendPropertyChanging(); - this._UsingMatId = value; - this.SendPropertyChanged("UsingMatId"); - this.OnUsingMatIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsePosition", DbType="NVarChar(50)")] - public string UsePosition - { - get - { - return this._UsePosition; - } - set - { - if ((this._UsePosition != value)) - { - this.OnUsePositionChanging(value); - this.SendPropertyChanging(); - this._UsePosition = value; - this.SendPropertyChanged("UsePosition"); - this.OnUsePositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldId", DbType="NVarChar(50)")] - public string WeldId - { - get - { - return this._WeldId; - } - set - { - if ((this._WeldId != value)) - { - if (this._Weld_WeldInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldIdChanging(value); - this.SendPropertyChanging(); - this._WeldId = value; - this.SendPropertyChanged("WeldId"); - this.OnWeldIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingPlanId", DbType="NVarChar(50)")] - public string UsingPlanId - { - get - { - return this._UsingPlanId; - } - set - { - if ((this._UsingPlanId != value)) - { - if (this._Weld_UsingPlan.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnUsingPlanIdChanging(value); - this.SendPropertyChanging(); - this._UsingPlanId = value; - this.SendPropertyChanged("UsingPlanId"); - this.OnUsingPlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(9,3)")] - public System.Nullable Amount - { - get - { - return this._Amount; - } - set - { - if ((this._Amount != value)) - { - this.OnAmountChanging(value); - this.SendPropertyChanging(); - this._Amount = value; - this.SendPropertyChanged("Amount"); - this.OnAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingMan", DbType="NVarChar(50)")] - public string UsingMan - { - get - { - return this._UsingMan; - } - set - { - if ((this._UsingMan != value)) - { - this.OnUsingManChanging(value); - this.SendPropertyChanging(); - this._UsingMan = value; - this.SendPropertyChanged("UsingMan"); - this.OnUsingManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingDate", DbType="DateTime")] - public System.Nullable UsingDate - { - get - { - return this._UsingDate; - } - set - { - if ((this._UsingDate != value)) - { - this.OnUsingDateChanging(value); - this.SendPropertyChanging(); - this._UsingDate = value; - this.SendPropertyChanged("UsingDate"); - this.OnUsingDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StoreMan", DbType="NVarChar(50)")] - public string StoreMan - { - get - { - return this._StoreMan; - } - set - { - if ((this._StoreMan != value)) - { - if (this._Weld_Storeman.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnStoreManChanging(value); - this.SendPropertyChanging(); - this._StoreMan = value; - this.SendPropertyChanged("StoreMan"); - this.OnStoreManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Warrantybook", DbType="NVarChar(50)")] - public string Warrantybook - { - get - { - return this._Warrantybook; - } - set - { - if ((this._Warrantybook != value)) - { - this.OnWarrantybookChanging(value); - this.SendPropertyChanging(); - this._Warrantybook = value; - this.SendPropertyChanged("Warrantybook"); - this.OnWarrantybookChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Number", DbType="NVarChar(50)")] - public string Number - { - get - { - return this._Number; - } - set - { - if ((this._Number != value)) - { - this.OnNumberChanging(value); - this.SendPropertyChanging(); - this._Number = value; - this.SendPropertyChanged("Number"); - this.OnNumberChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsWelderConfirm", DbType="Bit")] - public System.Nullable IsWelderConfirm - { - get - { - return this._IsWelderConfirm; - } - set - { - if ((this._IsWelderConfirm != value)) - { - this.OnIsWelderConfirmChanging(value); - this.SendPropertyChanging(); - this._IsWelderConfirm = value; - this.SendPropertyChanged("IsWelderConfirm"); - this.OnIsWelderConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsStoreManConfirm", DbType="Bit")] - public System.Nullable IsStoreManConfirm - { - get - { - return this._IsStoreManConfirm; - } - set - { - if ((this._IsStoreManConfirm != value)) - { - this.OnIsStoreManConfirmChanging(value); - this.SendPropertyChanging(); - this._IsStoreManConfirm = value; - this.SendPropertyChanged("IsStoreManConfirm"); - this.OnIsStoreManConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReturnMat", DbType="Decimal(9,3)")] - public System.Nullable ReturnMat - { - get - { - return this._ReturnMat; - } - set - { - if ((this._ReturnMat != value)) - { - this.OnReturnMatChanging(value); - this.SendPropertyChanging(); - this._ReturnMat = value; - this.SendPropertyChanged("ReturnMat"); - this.OnReturnMatChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReturnMatTop", DbType="Int")] - public System.Nullable ReturnMatTop - { - get - { - return this._ReturnMatTop; - } - set - { - if ((this._ReturnMatTop != value)) - { - this.OnReturnMatTopChanging(value); - this.SendPropertyChanging(); - this._ReturnMatTop = value; - this.SendPropertyChanged("ReturnMatTop"); - this.OnReturnMatTopChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StockInId", DbType="NVarChar(50)")] - public string StockInId - { - get - { - return this._StockInId; - } - set - { - if ((this._StockInId != value)) - { - this.OnStockInIdChanging(value); - this.SendPropertyChanging(); - this._StockInId = value; - this.SendPropertyChanged("StockInId"); - this.OnStockInIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsClose", DbType="Bit")] - public System.Nullable IsClose - { - get - { - return this._IsClose; - } - set - { - if ((this._IsClose != value)) - { - this.OnIsCloseChanging(value); - this.SendPropertyChanging(); - this._IsClose = value; - this.SendPropertyChanged("IsClose"); - this.OnIsCloseChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOnTime", DbType="Bit")] - public System.Nullable IsOnTime - { - get - { - return this._IsOnTime; - } - set - { - if ((this._IsOnTime != value)) - { - this.OnIsOnTimeChanging(value); - this.SendPropertyChanging(); - this._IsOnTime = value; - this.SendPropertyChanged("IsOnTime"); - this.OnIsOnTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TwoAmount", DbType="Decimal(9,3)")] - public System.Nullable TwoAmount - { - get - { - return this._TwoAmount; - } - set - { - if ((this._TwoAmount != value)) - { - this.OnTwoAmountChanging(value); - this.SendPropertyChanging(); - this._TwoAmount = value; - this.SendPropertyChanged("TwoAmount"); - this.OnTwoAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_UsingMat", Storage="_Weld_RecycleMat", ThisKey="UsingMatId", OtherKey="UsingMatId", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMat - { - get - { - return this._Weld_RecycleMat; - } - set - { - this._Weld_RecycleMat.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_UsingMat", Storage="_Weld_RecycleMatTop", ThisKey="UsingMatId", OtherKey="UsingMatId", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMatTop - { - get - { - return this._Weld_RecycleMatTop; - } - set - { - this._Weld_RecycleMatTop.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Weld_UsingMat.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Weld_UsingMat.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Weld_Storeman", Storage="_Weld_Storeman", ThisKey="StoreMan", OtherKey="StoremanId", IsForeignKey=true)] - public Weld_Storeman Weld_Storeman - { - get - { - return this._Weld_Storeman.Entity; - } - set - { - Weld_Storeman previousValue = this._Weld_Storeman.Entity; - if (((previousValue != value) - || (this._Weld_Storeman.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_Storeman.Entity = null; - previousValue.Weld_UsingMat.Remove(this); - } - this._Weld_Storeman.Entity = value; - if ((value != null)) - { - value.Weld_UsingMat.Add(this); - this._StoreMan = value.StoremanId; - } - else - { - this._StoreMan = default(string); - } - this.SendPropertyChanged("Weld_Storeman"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Weld_UsingPlan", Storage="_Weld_UsingPlan", ThisKey="UsingPlanId", OtherKey="UsingPlanId", IsForeignKey=true)] - public Weld_UsingPlan Weld_UsingPlan - { - get - { - return this._Weld_UsingPlan.Entity; - } - set - { - Weld_UsingPlan previousValue = this._Weld_UsingPlan.Entity; - if (((previousValue != value) - || (this._Weld_UsingPlan.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_UsingPlan.Entity = null; - previousValue.Weld_UsingMat.Remove(this); - } - this._Weld_UsingPlan.Entity = value; - if ((value != null)) - { - value.Weld_UsingMat.Add(this); - this._UsingPlanId = value.UsingPlanId; - } - else - { - this._UsingPlanId = default(string); - } - this.SendPropertyChanged("Weld_UsingPlan"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)] - public Weld_WeldInfo Weld_WeldInfo - { - get - { - return this._Weld_WeldInfo.Entity; - } - set - { - Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity; - if (((previousValue != value) - || (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_WeldInfo.Entity = null; - previousValue.Weld_UsingMat.Remove(this); - } - this._Weld_WeldInfo.Entity = value; - if ((value != null)) - { - value.Weld_UsingMat.Add(this); - this._WeldId = value.WeldId; - } - else - { - this._WeldId = default(string); - } - this.SendPropertyChanged("Weld_WeldInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingMat = this; - } - - private void detach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingMat = null; - } - - private void attach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingMat = this; - } - - private void detach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingMat = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_UsingPlan")] - public partial class Weld_UsingPlan : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _UsingPlanId; - - private string _WeldId; - - private string _ProjectId; - - private string _UsePosition; - - private System.Nullable _Amount; - - private string _UsingManOne; - - private string _UsingManTwo; - - private System.Nullable _InPutDate; - - private System.Nullable _CancelDate; - - private System.Nullable _IsCancel; - - private System.Nullable _IsFinish; - - private string _FinishMan; - - private string _OrderTime; - - private System.Nullable _OrderDate; - - private string _CancelResult; - - private System.Nullable _IsSubmit; - - private string _UsingUnit; - - private string _TeamGroupId; - - private string _STE_ID; - - private string _STE_Name; - - private System.Nullable _IsNeedConfirm; - - private string _InPutMan; - - private System.Nullable _IsSteelStru; - - private EntitySet _Weld_RecycleMat; - - private EntitySet _Weld_RecycleMatTop; - - private EntitySet _Weld_UsingMat; - - private EntityRef _Base_Project; - - private EntityRef _Weld_WeldInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnUsingPlanIdChanging(string value); - partial void OnUsingPlanIdChanged(); - partial void OnWeldIdChanging(string value); - partial void OnWeldIdChanged(); - partial void OnProjectIdChanging(string value); - partial void OnProjectIdChanged(); - partial void OnUsePositionChanging(string value); - partial void OnUsePositionChanged(); - partial void OnAmountChanging(System.Nullable value); - partial void OnAmountChanged(); - partial void OnUsingManOneChanging(string value); - partial void OnUsingManOneChanged(); - partial void OnUsingManTwoChanging(string value); - partial void OnUsingManTwoChanged(); - partial void OnInPutDateChanging(System.Nullable value); - partial void OnInPutDateChanged(); - partial void OnCancelDateChanging(System.Nullable value); - partial void OnCancelDateChanged(); - partial void OnIsCancelChanging(System.Nullable value); - partial void OnIsCancelChanged(); - partial void OnIsFinishChanging(System.Nullable value); - partial void OnIsFinishChanged(); - partial void OnFinishManChanging(string value); - partial void OnFinishManChanged(); - partial void OnOrderTimeChanging(string value); - partial void OnOrderTimeChanged(); - partial void OnOrderDateChanging(System.Nullable value); - partial void OnOrderDateChanged(); - partial void OnCancelResultChanging(string value); - partial void OnCancelResultChanged(); - partial void OnIsSubmitChanging(System.Nullable value); - partial void OnIsSubmitChanged(); - partial void OnUsingUnitChanging(string value); - partial void OnUsingUnitChanged(); - partial void OnTeamGroupIdChanging(string value); - partial void OnTeamGroupIdChanged(); - partial void OnSTE_IDChanging(string value); - partial void OnSTE_IDChanged(); - partial void OnSTE_NameChanging(string value); - partial void OnSTE_NameChanged(); - partial void OnIsNeedConfirmChanging(System.Nullable value); - partial void OnIsNeedConfirmChanged(); - partial void OnInPutManChanging(string value); - partial void OnInPutManChanged(); - partial void OnIsSteelStruChanging(System.Nullable value); - partial void OnIsSteelStruChanged(); - #endregion - - public Weld_UsingPlan() - { - this._Weld_RecycleMat = new EntitySet(new Action(this.attach_Weld_RecycleMat), new Action(this.detach_Weld_RecycleMat)); - this._Weld_RecycleMatTop = new EntitySet(new Action(this.attach_Weld_RecycleMatTop), new Action(this.detach_Weld_RecycleMatTop)); - this._Weld_UsingMat = new EntitySet(new Action(this.attach_Weld_UsingMat), new Action(this.detach_Weld_UsingMat)); - this._Base_Project = default(EntityRef); - this._Weld_WeldInfo = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingPlanId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string UsingPlanId - { - get - { - return this._UsingPlanId; - } - set - { - if ((this._UsingPlanId != value)) - { - this.OnUsingPlanIdChanging(value); - this.SendPropertyChanging(); - this._UsingPlanId = value; - this.SendPropertyChanged("UsingPlanId"); - this.OnUsingPlanIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldId", DbType="NVarChar(50)")] - public string WeldId - { - get - { - return this._WeldId; - } - set - { - if ((this._WeldId != value)) - { - if (this._Weld_WeldInfo.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldIdChanging(value); - this.SendPropertyChanging(); - this._WeldId = value; - this.SendPropertyChanged("WeldId"); - this.OnWeldIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - if (this._Base_Project.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnProjectIdChanging(value); - this.SendPropertyChanging(); - this._ProjectId = value; - this.SendPropertyChanged("ProjectId"); - this.OnProjectIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsePosition", DbType="NVarChar(50)")] - public string UsePosition - { - get - { - return this._UsePosition; - } - set - { - if ((this._UsePosition != value)) - { - this.OnUsePositionChanging(value); - this.SendPropertyChanging(); - this._UsePosition = value; - this.SendPropertyChanged("UsePosition"); - this.OnUsePositionChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(9,3)")] - public System.Nullable Amount - { - get - { - return this._Amount; - } - set - { - if ((this._Amount != value)) - { - this.OnAmountChanging(value); - this.SendPropertyChanging(); - this._Amount = value; - this.SendPropertyChanged("Amount"); - this.OnAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingManOne", DbType="NVarChar(50)")] - public string UsingManOne - { - get - { - return this._UsingManOne; - } - set - { - if ((this._UsingManOne != value)) - { - this.OnUsingManOneChanging(value); - this.SendPropertyChanging(); - this._UsingManOne = value; - this.SendPropertyChanged("UsingManOne"); - this.OnUsingManOneChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingManTwo", DbType="NVarChar(50)")] - public string UsingManTwo - { - get - { - return this._UsingManTwo; - } - set - { - if ((this._UsingManTwo != value)) - { - this.OnUsingManTwoChanging(value); - this.SendPropertyChanging(); - this._UsingManTwo = value; - this.SendPropertyChanged("UsingManTwo"); - this.OnUsingManTwoChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InPutDate", DbType="DateTime")] - public System.Nullable InPutDate - { - get - { - return this._InPutDate; - } - set - { - if ((this._InPutDate != value)) - { - this.OnInPutDateChanging(value); - this.SendPropertyChanging(); - this._InPutDate = value; - this.SendPropertyChanged("InPutDate"); - this.OnInPutDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CancelDate", DbType="DateTime")] - public System.Nullable CancelDate - { - get - { - return this._CancelDate; - } - set - { - if ((this._CancelDate != value)) - { - this.OnCancelDateChanging(value); - this.SendPropertyChanging(); - this._CancelDate = value; - this.SendPropertyChanged("CancelDate"); - this.OnCancelDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCancel", DbType="Bit")] - public System.Nullable IsCancel - { - get - { - return this._IsCancel; - } - set - { - if ((this._IsCancel != value)) - { - this.OnIsCancelChanging(value); - this.SendPropertyChanging(); - this._IsCancel = value; - this.SendPropertyChanged("IsCancel"); - this.OnIsCancelChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsFinish", DbType="Bit")] - public System.Nullable IsFinish - { - get - { - return this._IsFinish; - } - set - { - if ((this._IsFinish != value)) - { - this.OnIsFinishChanging(value); - this.SendPropertyChanging(); - this._IsFinish = value; - this.SendPropertyChanged("IsFinish"); - this.OnIsFinishChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FinishMan", DbType="NVarChar(50)")] - public string FinishMan - { - get - { - return this._FinishMan; - } - set - { - if ((this._FinishMan != value)) - { - this.OnFinishManChanging(value); - this.SendPropertyChanging(); - this._FinishMan = value; - this.SendPropertyChanged("FinishMan"); - this.OnFinishManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderTime", DbType="NVarChar(50)")] - public string OrderTime - { - get - { - return this._OrderTime; - } - set - { - if ((this._OrderTime != value)) - { - this.OnOrderTimeChanging(value); - this.SendPropertyChanging(); - this._OrderTime = value; - this.SendPropertyChanged("OrderTime"); - this.OnOrderTimeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderDate", DbType="DateTime")] - public System.Nullable OrderDate - { - get - { - return this._OrderDate; - } - set - { - if ((this._OrderDate != value)) - { - this.OnOrderDateChanging(value); - this.SendPropertyChanging(); - this._OrderDate = value; - this.SendPropertyChanged("OrderDate"); - this.OnOrderDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CancelResult", DbType="NVarChar(100)")] - public string CancelResult - { - get - { - return this._CancelResult; - } - set - { - if ((this._CancelResult != value)) - { - this.OnCancelResultChanging(value); - this.SendPropertyChanging(); - this._CancelResult = value; - this.SendPropertyChanged("CancelResult"); - this.OnCancelResultChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSubmit", DbType="Bit")] - public System.Nullable IsSubmit - { - get - { - return this._IsSubmit; - } - set - { - if ((this._IsSubmit != value)) - { - this.OnIsSubmitChanging(value); - this.SendPropertyChanging(); - this._IsSubmit = value; - this.SendPropertyChanged("IsSubmit"); - this.OnIsSubmitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingUnit", DbType="NVarChar(50)")] - public string UsingUnit - { - get - { - return this._UsingUnit; - } - set - { - if ((this._UsingUnit != value)) - { - this.OnUsingUnitChanging(value); - this.SendPropertyChanging(); - this._UsingUnit = value; - this.SendPropertyChanged("UsingUnit"); - this.OnUsingUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TeamGroupId", DbType="NVarChar(50)")] - public string TeamGroupId - { - get - { - return this._TeamGroupId; - } - set - { - if ((this._TeamGroupId != value)) - { - this.OnTeamGroupIdChanging(value); - this.SendPropertyChanging(); - this._TeamGroupId = value; - this.SendPropertyChanged("TeamGroupId"); - this.OnTeamGroupIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_ID", DbType="VarChar(500)")] - public string STE_ID - { - get - { - return this._STE_ID; - } - set - { - if ((this._STE_ID != value)) - { - this.OnSTE_IDChanging(value); - this.SendPropertyChanging(); - this._STE_ID = value; - this.SendPropertyChanged("STE_ID"); - this.OnSTE_IDChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Name", DbType="VarChar(500)")] - public string STE_Name - { - get - { - return this._STE_Name; - } - set - { - if ((this._STE_Name != value)) - { - this.OnSTE_NameChanging(value); - this.SendPropertyChanging(); - this._STE_Name = value; - this.SendPropertyChanged("STE_Name"); - this.OnSTE_NameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsNeedConfirm", DbType="Bit")] - public System.Nullable IsNeedConfirm - { - get - { - return this._IsNeedConfirm; - } - set - { - if ((this._IsNeedConfirm != value)) - { - this.OnIsNeedConfirmChanging(value); - this.SendPropertyChanging(); - this._IsNeedConfirm = value; - this.SendPropertyChanged("IsNeedConfirm"); - this.OnIsNeedConfirmChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InPutMan", DbType="NVarChar(50)")] - public string InPutMan - { - get - { - return this._InPutMan; - } - set - { - if ((this._InPutMan != value)) - { - this.OnInPutManChanging(value); - this.SendPropertyChanging(); - this._InPutMan = value; - this.SendPropertyChanged("InPutMan"); - this.OnInPutManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSteelStru", DbType="Bit")] - public System.Nullable IsSteelStru - { - get - { - return this._IsSteelStru; - } - set - { - if ((this._IsSteelStru != value)) - { - this.OnIsSteelStruChanging(value); - this.SendPropertyChanging(); - this._IsSteelStru = value; - this.SendPropertyChanged("IsSteelStru"); - this.OnIsSteelStruChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_UsingPlan", Storage="_Weld_RecycleMat", ThisKey="UsingPlanId", OtherKey="UsingPlanId", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMat - { - get - { - return this._Weld_RecycleMat; - } - set - { - this._Weld_RecycleMat.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_UsingPlan", Storage="_Weld_RecycleMatTop", ThisKey="UsingPlanId", OtherKey="UsingPlanId", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMatTop - { - get - { - return this._Weld_RecycleMatTop; - } - set - { - this._Weld_RecycleMatTop.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Weld_UsingPlan", Storage="_Weld_UsingMat", ThisKey="UsingPlanId", OtherKey="UsingPlanId", DeleteRule="NO ACTION")] - public EntitySet Weld_UsingMat - { - get - { - return this._Weld_UsingMat; - } - set - { - this._Weld_UsingMat.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingPlan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] - public Base_Project Base_Project - { - get - { - return this._Base_Project.Entity; - } - set - { - Base_Project previousValue = this._Base_Project.Entity; - if (((previousValue != value) - || (this._Base_Project.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_Project.Entity = null; - previousValue.Weld_UsingPlan.Remove(this); - } - this._Base_Project.Entity = value; - if ((value != null)) - { - value.Weld_UsingPlan.Add(this); - this._ProjectId = value.ProjectId; - } - else - { - this._ProjectId = default(string); - } - this.SendPropertyChanged("Base_Project"); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingPlan_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)] - public Weld_WeldInfo Weld_WeldInfo - { - get - { - return this._Weld_WeldInfo.Entity; - } - set - { - Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity; - if (((previousValue != value) - || (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_WeldInfo.Entity = null; - previousValue.Weld_UsingPlan.Remove(this); - } - this._Weld_WeldInfo.Entity = value; - if ((value != null)) - { - value.Weld_UsingPlan.Add(this); - this._WeldId = value.WeldId; - } - else - { - this._WeldId = default(string); - } - this.SendPropertyChanged("Weld_WeldInfo"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingPlan = this; - } - - private void detach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingPlan = null; - } - - private void attach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingPlan = this; - } - - private void detach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingPlan = null; - } - - private void attach_Weld_UsingMat(Weld_UsingMat entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingPlan = this; - } - - private void detach_Weld_UsingMat(Weld_UsingMat entity) - { - this.SendPropertyChanging(); - entity.Weld_UsingPlan = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_View_ReleaseRecovery")] - public partial class Weld_View_ReleaseRecovery - { - - private string _UsingMatId; - - private System.Nullable _UsingDate; - - private System.Nullable _Years; - - private System.Nullable _Months; - - private System.Nullable _Dayt; - - private string _ProjectId; - - private string _UsePosition; - - private string _WeldName; - - private string _WeldSpec; - - private string _WeldTypeId; - - private string _SteelType; - - private string _Warrantybook; - - private string _HeartNo; - - private string _WeldUnit; - - private System.Nullable _UsingWeight; - - private System.Nullable _Amount; - - private decimal _RecycleAmount; - - private int _MatTopAmount; - - private string _UsingMan; - - private string _WED_Code; - - private string _UsingManUrl; - - private string _StoreName; - - private string _ProjectCode; - - private string _StoreNameUrl; - - private string _UsingUnit; - - private string _UnitName; - - private string _TeamGroupId; - - private string _TeamGroupName; - - private string _StoreMan; - - private string _STE_Code; - - public Weld_View_ReleaseRecovery() - { - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingMatId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)] - public string UsingMatId - { - get - { - return this._UsingMatId; - } - set - { - if ((this._UsingMatId != value)) - { - this._UsingMatId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingDate", DbType="DateTime")] - public System.Nullable UsingDate - { - get - { - return this._UsingDate; - } - set - { - if ((this._UsingDate != value)) - { - this._UsingDate = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Years", DbType="Int")] - public System.Nullable Years - { - get - { - return this._Years; - } - set - { - if ((this._Years != value)) - { - this._Years = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Months", DbType="Int")] - public System.Nullable Months - { - get - { - return this._Months; - } - set - { - if ((this._Months != value)) - { - this._Months = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Dayt", DbType="Int")] - public System.Nullable Dayt - { - get - { - return this._Dayt; - } - set - { - if ((this._Dayt != value)) - { - this._Dayt = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] - public string ProjectId - { - get - { - return this._ProjectId; - } - set - { - if ((this._ProjectId != value)) - { - this._ProjectId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsePosition", DbType="NVarChar(50)")] - public string UsePosition - { - get - { - return this._UsePosition; - } - set - { - if ((this._UsePosition != value)) - { - this._UsePosition = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldName", DbType="NVarChar(50)")] - public string WeldName - { - get - { - return this._WeldName; - } - set - { - if ((this._WeldName != value)) - { - this._WeldName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpec", DbType="NVarChar(50)")] - public string WeldSpec - { - get - { - return this._WeldSpec; - } - set - { - if ((this._WeldSpec != value)) - { - this._WeldSpec = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldTypeId", DbType="NVarChar(50)")] - public string WeldTypeId - { - get - { - return this._WeldTypeId; - } - set - { - if ((this._WeldTypeId != value)) - { - this._WeldTypeId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SteelType", DbType="NVarChar(10)")] - public string SteelType - { - get - { - return this._SteelType; - } - set - { - if ((this._SteelType != value)) - { - this._SteelType = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Warrantybook", DbType="NVarChar(50)")] - public string Warrantybook - { - get - { - return this._Warrantybook; - } - set - { - if ((this._Warrantybook != value)) - { - this._Warrantybook = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeartNo", DbType="NVarChar(50)")] - public string HeartNo - { - get - { - return this._HeartNo; - } - set - { - if ((this._HeartNo != value)) - { - this._HeartNo = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldUnit", DbType="VarChar(2) NOT NULL", CanBeNull=false)] - public string WeldUnit - { - get - { - return this._WeldUnit; - } - set - { - if ((this._WeldUnit != value)) - { - this._WeldUnit = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingWeight", DbType="Decimal(9,2)")] - public System.Nullable UsingWeight - { - get - { - return this._UsingWeight; - } - set - { - if ((this._UsingWeight != value)) - { - this._UsingWeight = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(10,3)")] - public System.Nullable Amount - { - get - { - return this._Amount; - } - set - { - if ((this._Amount != value)) - { - this._Amount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecycleAmount", DbType="Decimal(9,3) NOT NULL")] - public decimal RecycleAmount - { - get - { - return this._RecycleAmount; - } - set - { - if ((this._RecycleAmount != value)) - { - this._RecycleAmount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MatTopAmount", DbType="Int NOT NULL")] - public int MatTopAmount - { - get - { - return this._MatTopAmount; - } - set - { - if ((this._MatTopAmount != value)) - { - this._MatTopAmount = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingMan", DbType="VarChar(40)")] - public string UsingMan - { - get - { - return this._UsingMan; - } - set - { - if ((this._UsingMan != value)) - { - this._UsingMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="VarChar(20)")] - public string WED_Code - { - get - { - return this._WED_Code; - } - set - { - if ((this._WED_Code != value)) - { - this._WED_Code = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingManUrl", DbType="NVarChar(500)")] - public string UsingManUrl - { - get - { - return this._UsingManUrl; - } - set - { - if ((this._UsingManUrl != value)) - { - this._UsingManUrl = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StoreName", DbType="NVarChar(50)")] - public string StoreName - { - get - { - return this._StoreName; - } - set - { - if ((this._StoreName != value)) - { - this._StoreName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(20)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this._ProjectCode = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StoreNameUrl", DbType="NVarChar(500)")] - public string StoreNameUrl - { - get - { - return this._StoreNameUrl; - } - set - { - if ((this._StoreNameUrl != value)) - { - this._StoreNameUrl = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UsingUnit", DbType="NVarChar(50)")] - public string UsingUnit - { - get - { - return this._UsingUnit; - } - set - { - if ((this._UsingUnit != value)) - { - this._UsingUnit = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(50)")] - public string UnitName - { - get - { - return this._UnitName; - } - set - { - if ((this._UnitName != value)) - { - this._UnitName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TeamGroupId", DbType="NVarChar(50)")] - public string TeamGroupId - { - get - { - return this._TeamGroupId; - } - set - { - if ((this._TeamGroupId != value)) - { - this._TeamGroupId = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TeamGroupName", DbType="NVarChar(20)")] - public string TeamGroupName - { - get - { - return this._TeamGroupName; - } - set - { - if ((this._TeamGroupName != value)) - { - this._TeamGroupName = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StoreMan", DbType="NVarChar(50)")] - public string StoreMan - { - get - { - return this._StoreMan; - } - set - { - if ((this._StoreMan != value)) - { - this._StoreMan = value; - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_STE_Code", DbType="VarChar(500)")] - public string STE_Code - { - get - { - return this._STE_Code; - } - set - { - if ((this._STE_Code != value)) - { - this._STE_Code = value; - } - } - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_WeldInfo")] - public partial class Weld_WeldInfo : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldId; - - private string _WeldCode; - - private string _WeldName; - - private string _WeldSpec; - - private string _WeldTypeId; - - private System.Nullable _ConvertValue; - - private System.Nullable _WarnAmount; - - private string _SteelType; - - private string _CreateMan; - - private string _ModifyMan; - - private EntitySet _Weld_ProjectPlan; - - private EntitySet _Weld_RecycleMat; - - private EntitySet _Weld_RecycleMatTop; - - private EntitySet _Weld_StockInit; - - private EntitySet _Weld_UsingMat; - - private EntitySet _Weld_UsingPlan; - - private EntityRef _Weld_WeldType; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldIdChanging(string value); - partial void OnWeldIdChanged(); - partial void OnWeldCodeChanging(string value); - partial void OnWeldCodeChanged(); - partial void OnWeldNameChanging(string value); - partial void OnWeldNameChanged(); - partial void OnWeldSpecChanging(string value); - partial void OnWeldSpecChanged(); - partial void OnWeldTypeIdChanging(string value); - partial void OnWeldTypeIdChanged(); - partial void OnConvertValueChanging(System.Nullable value); - partial void OnConvertValueChanged(); - partial void OnWarnAmountChanging(System.Nullable value); - partial void OnWarnAmountChanged(); - partial void OnSteelTypeChanging(string value); - partial void OnSteelTypeChanged(); - partial void OnCreateManChanging(string value); - partial void OnCreateManChanged(); - partial void OnModifyManChanging(string value); - partial void OnModifyManChanged(); - #endregion - - public Weld_WeldInfo() - { - this._Weld_ProjectPlan = new EntitySet(new Action(this.attach_Weld_ProjectPlan), new Action(this.detach_Weld_ProjectPlan)); - this._Weld_RecycleMat = new EntitySet(new Action(this.attach_Weld_RecycleMat), new Action(this.detach_Weld_RecycleMat)); - this._Weld_RecycleMatTop = new EntitySet(new Action(this.attach_Weld_RecycleMatTop), new Action(this.detach_Weld_RecycleMatTop)); - this._Weld_StockInit = new EntitySet(new Action(this.attach_Weld_StockInit), new Action(this.detach_Weld_StockInit)); - this._Weld_UsingMat = new EntitySet(new Action(this.attach_Weld_UsingMat), new Action(this.detach_Weld_UsingMat)); - this._Weld_UsingPlan = new EntitySet(new Action(this.attach_Weld_UsingPlan), new Action(this.detach_Weld_UsingPlan)); - this._Weld_WeldType = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldId - { - get - { - return this._WeldId; - } - set - { - if ((this._WeldId != value)) - { - this.OnWeldIdChanging(value); - this.SendPropertyChanging(); - this._WeldId = value; - this.SendPropertyChanged("WeldId"); - this.OnWeldIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldCode", DbType="NVarChar(50)")] - public string WeldCode - { - get - { - return this._WeldCode; - } - set - { - if ((this._WeldCode != value)) - { - this.OnWeldCodeChanging(value); - this.SendPropertyChanging(); - this._WeldCode = value; - this.SendPropertyChanged("WeldCode"); - this.OnWeldCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldName", DbType="NVarChar(50)")] - public string WeldName - { - get - { - return this._WeldName; - } - set - { - if ((this._WeldName != value)) - { - this.OnWeldNameChanging(value); - this.SendPropertyChanging(); - this._WeldName = value; - this.SendPropertyChanged("WeldName"); - this.OnWeldNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSpec", DbType="NVarChar(50)")] - public string WeldSpec - { - get - { - return this._WeldSpec; - } - set - { - if ((this._WeldSpec != value)) - { - this.OnWeldSpecChanging(value); - this.SendPropertyChanging(); - this._WeldSpec = value; - this.SendPropertyChanged("WeldSpec"); - this.OnWeldSpecChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldTypeId", DbType="NVarChar(50)")] - public string WeldTypeId - { - get - { - return this._WeldTypeId; - } - set - { - if ((this._WeldTypeId != value)) - { - if (this._Weld_WeldType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWeldTypeIdChanging(value); - this.SendPropertyChanging(); - this._WeldTypeId = value; - this.SendPropertyChanged("WeldTypeId"); - this.OnWeldTypeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConvertValue", DbType="Decimal(9,4)")] - public System.Nullable ConvertValue - { - get - { - return this._ConvertValue; - } - set - { - if ((this._ConvertValue != value)) - { - this.OnConvertValueChanging(value); - this.SendPropertyChanging(); - this._ConvertValue = value; - this.SendPropertyChanged("ConvertValue"); - this.OnConvertValueChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WarnAmount", DbType="Decimal(9,3)")] - public System.Nullable WarnAmount - { - get - { - return this._WarnAmount; - } - set - { - if ((this._WarnAmount != value)) - { - this.OnWarnAmountChanging(value); - this.SendPropertyChanging(); - this._WarnAmount = value; - this.SendPropertyChanged("WarnAmount"); - this.OnWarnAmountChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SteelType", DbType="NVarChar(10)")] - public string SteelType - { - get - { - return this._SteelType; - } - set - { - if ((this._SteelType != value)) - { - this.OnSteelTypeChanging(value); - this.SendPropertyChanging(); - this._SteelType = value; - this.SendPropertyChanged("SteelType"); - this.OnSteelTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateMan", DbType="NVarChar(50)")] - public string CreateMan - { - get - { - return this._CreateMan; - } - set - { - if ((this._CreateMan != value)) - { - this.OnCreateManChanging(value); - this.SendPropertyChanging(); - this._CreateMan = value; - this.SendPropertyChanged("CreateMan"); - this.OnCreateManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ModifyMan", DbType="NVarChar(50)")] - public string ModifyMan - { - get - { - return this._ModifyMan; - } - set - { - if ((this._ModifyMan != value)) - { - this.OnModifyManChanging(value); - this.SendPropertyChanging(); - this._ModifyMan = value; - this.SendPropertyChanged("ModifyMan"); - this.OnModifyManChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_ProjectPlan_Weld_WeldInfo", Storage="_Weld_ProjectPlan", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")] - public EntitySet Weld_ProjectPlan - { - get - { - return this._Weld_ProjectPlan; - } - set - { - this._Weld_ProjectPlan.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_WeldInfo", Storage="_Weld_RecycleMat", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMat - { - get - { - return this._Weld_RecycleMat; - } - set - { - this._Weld_RecycleMat.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_WeldInfo", Storage="_Weld_RecycleMatTop", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")] - public EntitySet Weld_RecycleMatTop - { - get - { - return this._Weld_RecycleMatTop; - } - set - { - this._Weld_RecycleMatTop.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_StockInit_Weld_WeldInfo", Storage="_Weld_StockInit", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")] - public EntitySet Weld_StockInit - { - get - { - return this._Weld_StockInit; - } - set - { - this._Weld_StockInit.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Weld_WeldInfo", Storage="_Weld_UsingMat", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")] - public EntitySet Weld_UsingMat - { - get - { - return this._Weld_UsingMat; - } - set - { - this._Weld_UsingMat.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingPlan_Weld_WeldInfo", Storage="_Weld_UsingPlan", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")] - public EntitySet Weld_UsingPlan - { - get - { - return this._Weld_UsingPlan; - } - set - { - this._Weld_UsingPlan.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_WeldInfo_Weld_WeldType", Storage="_Weld_WeldType", ThisKey="WeldTypeId", OtherKey="WeldTypeId", IsForeignKey=true)] - public Weld_WeldType Weld_WeldType - { - get - { - return this._Weld_WeldType.Entity; - } - set - { - Weld_WeldType previousValue = this._Weld_WeldType.Entity; - if (((previousValue != value) - || (this._Weld_WeldType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Weld_WeldType.Entity = null; - previousValue.Weld_WeldInfo.Remove(this); - } - this._Weld_WeldType.Entity = value; - if ((value != null)) - { - value.Weld_WeldInfo.Add(this); - this._WeldTypeId = value.WeldTypeId; - } - else - { - this._WeldTypeId = default(string); - } - this.SendPropertyChanged("Weld_WeldType"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Weld_ProjectPlan(Weld_ProjectPlan entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = this; - } - - private void detach_Weld_ProjectPlan(Weld_ProjectPlan entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = null; - } - - private void attach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = this; - } - - private void detach_Weld_RecycleMat(Weld_RecycleMat entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = null; - } - - private void attach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = this; - } - - private void detach_Weld_RecycleMatTop(Weld_RecycleMatTop entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = null; - } - - private void attach_Weld_StockInit(Weld_StockInit entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = this; - } - - private void detach_Weld_StockInit(Weld_StockInit entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = null; - } - - private void attach_Weld_UsingMat(Weld_UsingMat entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = this; - } - - private void detach_Weld_UsingMat(Weld_UsingMat entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = null; - } - - private void attach_Weld_UsingPlan(Weld_UsingPlan entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = this; - } - - private void detach_Weld_UsingPlan(Weld_UsingPlan entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldInfo = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_WeldType")] - public partial class Weld_WeldType : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldTypeId; - - private string _WeldTypeName; - - private string _WeldUnit; - - private string _Remark; - - private EntitySet _Weld_Specifications; - - private EntitySet _Weld_WeldInfo; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldTypeIdChanging(string value); - partial void OnWeldTypeIdChanged(); - partial void OnWeldTypeNameChanging(string value); - partial void OnWeldTypeNameChanged(); - partial void OnWeldUnitChanging(string value); - partial void OnWeldUnitChanged(); - partial void OnRemarkChanging(string value); - partial void OnRemarkChanged(); - #endregion - - public Weld_WeldType() - { - this._Weld_Specifications = new EntitySet(new Action(this.attach_Weld_Specifications), new Action(this.detach_Weld_Specifications)); - this._Weld_WeldInfo = new EntitySet(new Action(this.attach_Weld_WeldInfo), new Action(this.detach_Weld_WeldInfo)); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldTypeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldTypeId - { - get - { - return this._WeldTypeId; - } - set - { - if ((this._WeldTypeId != value)) - { - this.OnWeldTypeIdChanging(value); - this.SendPropertyChanging(); - this._WeldTypeId = value; - this.SendPropertyChanged("WeldTypeId"); - this.OnWeldTypeIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldTypeName", DbType="NVarChar(20)")] - public string WeldTypeName - { - get - { - return this._WeldTypeName; - } - set - { - if ((this._WeldTypeName != value)) - { - this.OnWeldTypeNameChanging(value); - this.SendPropertyChanging(); - this._WeldTypeName = value; - this.SendPropertyChanged("WeldTypeName"); - this.OnWeldTypeNameChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldUnit", DbType="NVarChar(10)")] - public string WeldUnit - { - get - { - return this._WeldUnit; - } - set - { - if ((this._WeldUnit != value)) - { - this.OnWeldUnitChanging(value); - this.SendPropertyChanging(); - this._WeldUnit = value; - this.SendPropertyChanged("WeldUnit"); - this.OnWeldUnitChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")] - public string Remark - { - get - { - return this._Remark; - } - set - { - if ((this._Remark != value)) - { - this.OnRemarkChanging(value); - this.SendPropertyChanging(); - this._Remark = value; - this.SendPropertyChanged("Remark"); - this.OnRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_Specifications_Weld_WeldType", Storage="_Weld_Specifications", ThisKey="WeldTypeId", OtherKey="WeldTypeId", DeleteRule="NO ACTION")] - public EntitySet Weld_Specifications - { - get - { - return this._Weld_Specifications; - } - set - { - this._Weld_Specifications.Assign(value); - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_WeldInfo_Weld_WeldType", Storage="_Weld_WeldInfo", ThisKey="WeldTypeId", OtherKey="WeldTypeId", DeleteRule="NO ACTION")] - public EntitySet Weld_WeldInfo - { - get - { - return this._Weld_WeldInfo; - } - set - { - this._Weld_WeldInfo.Assign(value); - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - - private void attach_Weld_Specifications(Weld_Specifications entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldType = this; - } - - private void detach_Weld_Specifications(Weld_Specifications entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldType = null; - } - - private void attach_Weld_WeldInfo(Weld_WeldInfo entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldType = this; - } - - private void detach_Weld_WeldInfo(Weld_WeldInfo entity) - { - this.SendPropertyChanging(); - entity.Weld_WeldType = null; - } - } - - [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WeldRecordIn")] - public partial class WeldRecordIn : INotifyPropertyChanging, INotifyPropertyChanged - { - - private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); - - private string _WeldRecordInId; - - private string _WelderId; - - private string _WeldMothed; - - private string _QualifiedProjectCode; - - private System.Nullable _WeldingDate; - - private string _ProjectCode; - - private string _WeldJoint; - - private EntityRef _HJGL_BS_Welder; - - #region 可扩展性方法定义 - partial void OnLoaded(); - partial void OnValidate(System.Data.Linq.ChangeAction action); - partial void OnCreated(); - partial void OnWeldRecordInIdChanging(string value); - partial void OnWeldRecordInIdChanged(); - partial void OnWelderIdChanging(string value); - partial void OnWelderIdChanged(); - partial void OnWeldMothedChanging(string value); - partial void OnWeldMothedChanged(); - partial void OnQualifiedProjectCodeChanging(string value); - partial void OnQualifiedProjectCodeChanged(); - partial void OnWeldingDateChanging(System.Nullable value); - partial void OnWeldingDateChanged(); - partial void OnProjectCodeChanging(string value); - partial void OnProjectCodeChanged(); - partial void OnWeldJointChanging(string value); - partial void OnWeldJointChanged(); - #endregion - - public WeldRecordIn() - { - this._HJGL_BS_Welder = default(EntityRef); - OnCreated(); - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldRecordInId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] - public string WeldRecordInId - { - get - { - return this._WeldRecordInId; - } - set - { - if ((this._WeldRecordInId != value)) - { - this.OnWeldRecordInIdChanging(value); - this.SendPropertyChanging(); - this._WeldRecordInId = value; - this.SendPropertyChanged("WeldRecordInId"); - this.OnWeldRecordInIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderId", DbType="NVarChar(50)")] - public string WelderId - { - get - { - return this._WelderId; - } - set - { - if ((this._WelderId != value)) - { - if (this._HJGL_BS_Welder.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } - this.OnWelderIdChanging(value); - this.SendPropertyChanging(); - this._WelderId = value; - this.SendPropertyChanged("WelderId"); - this.OnWelderIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMothed", DbType="NVarChar(50)")] - public string WeldMothed - { - get - { - return this._WeldMothed; - } - set - { - if ((this._WeldMothed != value)) - { - this.OnWeldMothedChanging(value); - this.SendPropertyChanging(); - this._WeldMothed = value; - this.SendPropertyChanged("WeldMothed"); - this.OnWeldMothedChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualifiedProjectCode", DbType="NVarChar(500)")] - public string QualifiedProjectCode - { - get - { - return this._QualifiedProjectCode; - } - set - { - if ((this._QualifiedProjectCode != value)) - { - this.OnQualifiedProjectCodeChanging(value); - this.SendPropertyChanging(); - this._QualifiedProjectCode = value; - this.SendPropertyChanged("QualifiedProjectCode"); - this.OnQualifiedProjectCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingDate", DbType="DateTime")] - public System.Nullable WeldingDate - { - get - { - return this._WeldingDate; - } - set - { - if ((this._WeldingDate != value)) - { - this.OnWeldingDateChanging(value); - this.SendPropertyChanging(); - this._WeldingDate = value; - this.SendPropertyChanged("WeldingDate"); - this.OnWeldingDateChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectCode", DbType="NVarChar(50)")] - public string ProjectCode - { - get - { - return this._ProjectCode; - } - set - { - if ((this._ProjectCode != value)) - { - this.OnProjectCodeChanging(value); - this.SendPropertyChanging(); - this._ProjectCode = value; - this.SendPropertyChanged("ProjectCode"); - this.OnProjectCodeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldJoint", DbType="NVarChar(50)")] - public string WeldJoint - { - get - { - return this._WeldJoint; - } - set - { - if ((this._WeldJoint != value)) - { - this.OnWeldJointChanging(value); - this.SendPropertyChanging(); - this._WeldJoint = value; - this.SendPropertyChanged("WeldJoint"); - this.OnWeldJointChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WeldRecordIn_HJGL_BS_Welder", Storage="_HJGL_BS_Welder", ThisKey="WelderId", OtherKey="WED_ID", IsForeignKey=true)] - public HJGL_BS_Welder HJGL_BS_Welder - { - get - { - return this._HJGL_BS_Welder.Entity; - } - set - { - HJGL_BS_Welder previousValue = this._HJGL_BS_Welder.Entity; - if (((previousValue != value) - || (this._HJGL_BS_Welder.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._HJGL_BS_Welder.Entity = null; - previousValue.WeldRecordIn.Remove(this); - } - this._HJGL_BS_Welder.Entity = value; - if ((value != null)) - { - value.WeldRecordIn.Add(this); - this._WelderId = value.WED_ID; - } - else - { - this._WelderId = default(string); - } - this.SendPropertyChanged("HJGL_BS_Welder"); - } - } - } - - public event PropertyChangingEventHandler PropertyChanging; - - public event PropertyChangedEventHandler PropertyChanged; - - protected virtual void SendPropertyChanging() - { - if ((this.PropertyChanging != null)) - { - this.PropertyChanging(this, emptyChangingEventArgs); - } - } - - protected virtual void SendPropertyChanged(String propertyName) - { - if ((this.PropertyChanged != null)) - { - this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); - } - } - } -} -#pragma warning restore 1591 diff --git a/HJGL_ZH/Model/obj/Debug/Model.csproj.AssemblyReference.cache b/HJGL_ZH/Model/obj/Debug/Model.csproj.AssemblyReference.cache deleted file mode 100644 index 35dadcf..0000000 Binary files a/HJGL_ZH/Model/obj/Debug/Model.csproj.AssemblyReference.cache and /dev/null differ diff --git a/HJGL_ZH/Model/obj/Debug/Model.csproj.FileListAbsolute.txt b/HJGL_ZH/Model/obj/Debug/Model.csproj.FileListAbsolute.txt deleted file mode 100644 index db8749d..0000000 --- a/HJGL_ZH/Model/obj/Debug/Model.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,195 +0,0 @@ -D:\CQMS\LuoYang\CQMS\Model\bin\Debug\Model.dll -D:\CQMS\LuoYang\CQMS\Model\bin\Debug\Model.pdb -D:\CQMS\LuoYang\CQMS\Model\obj\Debug\ResolveAssemblyReference.cache -D:\CQMS\LuoYang\CQMS\Model\obj\Debug\Model.dll -D:\CQMS\LuoYang\CQMS\Model\obj\Debug\Model.pdb -D:\SCMS\SCMS\Model\bin\Debug\Model.dll -D:\SCMS\SCMS\Model\bin\Debug\Model.pdb -D:\SCMS\SCMS\Model\obj\Debug\ResolveAssemblyReference.cache -D:\SCMS\SCMS\Model\obj\Debug\Model.dll -D:\SCMS\SCMS\Model\obj\Debug\Model.pdb -E:\SCMS\SCMS\Model\bin\Debug\Model.dll -E:\SCMS\SCMS\Model\bin\Debug\Model.pdb -E:\SCMS\SCMS\Model\obj\Debug\ResolveAssemblyReference.cache -E:\SCMS\SCMS\Model\obj\Debug\Model.dll -E:\SCMS\SCMS\Model\obj\Debug\Model.pdb -F:\GJSX\GJSX\GJSX\Model\bin\Debug\Model.dll -F:\GJSX\GJSX\GJSX\Model\bin\Debug\Model.pdb -F:\GJSX\GJSX\GJSX\Model\obj\Debug\ResolveAssemblyReference.cache -F:\GJSX\GJSX\GJSX\Model\obj\Debug\Model.dll -F:\GJSX\GJSX\GJSX\Model\obj\Debug\Model.pdb -F:\HJGL\GJSX\HJGL\Model\bin\Debug\Model.dll -F:\HJGL\GJSX\HJGL\Model\bin\Debug\Model.pdb -F:\HJGL\GJSX\HJGL\Model\obj\Debug\ResolveAssemblyReference.cache -F:\HJGL\GJSX\HJGL\Model\obj\Debug\Model.dll -F:\HJGL\GJSX\HJGL\Model\obj\Debug\Model.pdb -F:\HJGL\HJGL\HJGL\Model\bin\Debug\Model.dll -F:\HJGL\HJGL\HJGL\Model\bin\Debug\Model.pdb -F:\HJGL\HJGL\HJGL\Model\obj\Debug\ResolveAssemblyReference.cache -F:\HJGL\HJGL\HJGL\Model\obj\Debug\Model.dll -F:\HJGL\HJGL\HJGL\Model\obj\Debug\Model.pdb -F:\最新\管道焊接\HJGL\HJGL\Model\bin\Debug\Model.dll -F:\最新\管道焊接\HJGL\HJGL\Model\bin\Debug\Model.pdb -F:\最新\管道焊接\HJGL\HJGL\Model\obj\Debug\ResolveAssemblyReference.cache -F:\最新\管道焊接\HJGL\HJGL\Model\obj\Debug\Model.dll -F:\最新\管道焊接\HJGL\HJGL\Model\obj\Debug\Model.pdb -D:\HJGL\HJGL\Model\bin\Debug\Model.dll -D:\HJGL\HJGL\Model\bin\Debug\Model.pdb -D:\HJGL\HJGL\Model\obj\Debug\ResolveAssemblyReference.cache -D:\HJGL\HJGL\Model\obj\Debug\Model.dll -D:\HJGL\HJGL\Model\obj\Debug\Model.pdb -E:\HJGL\HJGL\Model\bin\Debug\Model.dll -E:\HJGL\HJGL\Model\bin\Debug\Model.pdb -E:\HJGL\HJGL\Model\obj\Debug\Model.dll -E:\HJGL\HJGL\Model\obj\Debug\Model.pdb -E:\HJGL\LUOYANG\HJGL\HJGL\Model\bin\Debug\Model.dll -E:\HJGL\LUOYANG\HJGL\HJGL\Model\bin\Debug\Model.pdb -E:\HJGL\LUOYANG\HJGL\HJGL\Model\obj\Debug\Model.dll -E:\HJGL\LUOYANG\HJGL\HJGL\Model\obj\Debug\Model.pdb -E:\HJGL\LuoYang\HJGL\Model\bin\Debug\Model.dll -E:\HJGL\LuoYang\HJGL\Model\bin\Debug\Model.pdb -E:\HJGL\LuoYang\HJGL\Model\obj\Debug\Model.dll -E:\HJGL\LuoYang\HJGL\Model\obj\Debug\Model.pdb -E:\HJGL\HJGL\HJGL\Model\bin\Debug\Model.dll -E:\HJGL\HJGL\HJGL\Model\bin\Debug\Model.pdb -E:\HJGL\HJGL\HJGL\Model\obj\Debug\ResolveAssemblyReference.cache -E:\HJGL\HJGL\HJGL\Model\obj\Debug\Model.dll -E:\HJGL\HJGL\HJGL\Model\obj\Debug\Model.pdb -E:\HJGL\LuoYang\Model\bin\Debug\Model.dll -E:\HJGL\LuoYang\Model\bin\Debug\Model.pdb -E:\HJGL\LuoYang\Model\obj\Debug\Model.csprojResolveAssemblyReference.cache -E:\HJGL\LuoYang\Model\obj\Debug\Model.dll -E:\HJGL\LuoYang\Model\obj\Debug\Model.pdb -E:\HJGL\TongYong\HJGL\Model\bin\Debug\Model.dll -E:\HJGL\TongYong\HJGL\Model\bin\Debug\Model.pdb -E:\HJGL\TongYong\HJGL\Model\obj\Debug\Model.dll -E:\HJGL\TongYong\HJGL\Model\obj\Debug\Model.pdb -E:\HJGL\TianChen\HJGL\Model\bin\Debug\Model.dll -E:\HJGL\TianChen\HJGL\Model\bin\Debug\Model.pdb -E:\HJGL\TianChen\HJGL\Model\obj\Debug\Model.dll -E:\HJGL\TianChen\HJGL\Model\obj\Debug\Model.pdb -E:\HJGL\TianChen\HJGL\Model\obj\Debug\Model.csprojResolveAssemblyReference.cache -D:\ExtJs\TCCHSSE\TCCHSSE\Model\bin\Debug\Model.dll -D:\ExtJs\TCCHSSE\TCCHSSE\Model\bin\Debug\Model.pdb -D:\ExtJs\TCCHSSE\TCCHSSE\Model\obj\Debug\ResolveAssemblyReference.cache -D:\ExtJs\TCCHSSE\TCCHSSE\Model\obj\Debug\Model.dll -D:\ExtJs\TCCHSSE\TCCHSSE\Model\obj\Debug\Model.pdb -E:\TCCHSSE\TCCHSSE\Model\bin\Debug\Model.dll -E:\TCCHSSE\TCCHSSE\Model\bin\Debug\Model.pdb -E:\TCCHSSE\TCCHSSE\Model\obj\Debug\Model.dll -E:\TCCHSSE\TCCHSSE\Model\obj\Debug\Model.pdb -E:\CNCEC\CNCECHSSE\CNCECHSSE\Model\bin\Debug\Model.dll -E:\CNCEC\CNCECHSSE\CNCECHSSE\Model\bin\Debug\Model.pdb -E:\CNCEC\CNCECHSSE\CNCECHSSE\Model\obj\Debug\Model.dll -E:\CNCEC\CNCECHSSE\CNCECHSSE\Model\obj\Debug\Model.pdb -F:\工作\悬停\CNCECHSSE\CNCECHSSE\Model\bin\Debug\Model.dll -F:\工作\悬停\CNCECHSSE\CNCECHSSE\Model\bin\Debug\Model.pdb -F:\工作\悬停\CNCECHSSE\CNCECHSSE\Model\obj\Debug\Model.dll -F:\工作\悬停\CNCECHSSE\CNCECHSSE\Model\obj\Debug\Model.pdb -D:\ExtJs\SGGL\SGGL\Model\bin\Debug\Model.dll -D:\ExtJs\SGGL\SGGL\Model\bin\Debug\Model.pdb -D:\ExtJs\SGGL\SGGL\Model\obj\Debug\ResolveAssemblyReference.cache -D:\ExtJs\SGGL\SGGL\Model\obj\Debug\Model.dll -D:\ExtJs\SGGL\SGGL\Model\obj\Debug\Model.pdb -H:\工作\SGGL_New\SGGL\SGGL\Model\bin\Debug\Model.dll -H:\工作\SGGL_New\SGGL\SGGL\Model\bin\Debug\Model.pdb -H:\工作\SGGL_New\SGGL\SGGL\Model\obj\Debug\ResolveAssemblyReference.cache -H:\工作\SGGL_New\SGGL\SGGL\Model\obj\Debug\Model.dll -H:\工作\SGGL_New\SGGL\SGGL\Model\obj\Debug\Model.pdb -D:\ExtJs\SGGL_NB\SGGL\Model\bin\Debug\Model.dll -D:\ExtJs\SGGL_NB\SGGL\Model\bin\Debug\Model.pdb -D:\ExtJs\SGGL_NB\SGGL\Model\obj\Debug\ResolveAssemblyReference.cache -D:\ExtJs\SGGL_NB\SGGL\Model\obj\Debug\Model.dll -D:\ExtJs\SGGL_NB\SGGL\Model\obj\Debug\Model.pdb -D:\开发代码\SGGL_NBBAK\SGGL\Model\bin\Debug\Model.dll -D:\开发代码\SGGL_NBBAK\SGGL\Model\bin\Debug\Model.pdb -D:\开发代码\SGGL_NBBAK\SGGL\Model\obj\Debug\Model.dll -D:\开发代码\SGGL_NBBAK\SGGL\Model\obj\Debug\Model.pdb -D:\开发代码\SGGL_NB_\SGGL\Model\bin\Debug\Model.dll -D:\开发代码\SGGL_NB_\SGGL\Model\bin\Debug\Model.pdb -D:\开发代码\SGGL_NB_\SGGL\Model\obj\Debug\Model.dll -D:\开发代码\SGGL_NB_\SGGL\Model\obj\Debug\Model.pdb -D:\开发代码\宁波\SGGL_NB_\SGGL\Model\bin\Debug\Model.dll -D:\开发代码\宁波\SGGL_NB_\SGGL\Model\bin\Debug\Model.pdb -D:\开发代码\宁波\SGGL_NB_\SGGL\Model\obj\Debug\Model.dll -D:\开发代码\宁波\SGGL_NB_\SGGL\Model\obj\Debug\Model.pdb -D:\开发代码\宁波\SGGL(NB)\SGGL\Model\bin\Debug\Model.dll -D:\开发代码\宁波\SGGL(NB)\SGGL\Model\bin\Debug\Model.pdb -D:\开发代码\宁波\SGGL(NB)\SGGL\Model\obj\Debug\Model.dll -D:\开发代码\宁波\SGGL(NB)\SGGL\Model\obj\Debug\Model.pdb -D:\开发代码\SGGL_NB\SGGL\Model\bin\Debug\Model.dll -D:\开发代码\SGGL_NB\SGGL\Model\bin\Debug\Model.pdb -D:\开发代码\SGGL_NB\SGGL\Model\obj\Debug\Model.dll -D:\开发代码\SGGL_NB\SGGL\Model\obj\Debug\Model.pdb -D:\ExtJs\HJGL\SGGL\Model\bin\Debug\Model.dll -D:\ExtJs\HJGL\SGGL\Model\bin\Debug\Model.pdb -D:\ExtJs\HJGL\SGGL\Model\obj\Debug\Model.dll -D:\ExtJs\HJGL\SGGL\Model\obj\Debug\Model.pdb -E:\工作\镇海焊接\SGGL\Model\bin\Debug\Model.dll -E:\工作\镇海焊接\SGGL\Model\bin\Debug\Model.pdb -E:\工作\镇海焊接\SGGL\Model\obj\Debug\Model.dll -E:\工作\镇海焊接\SGGL\Model\obj\Debug\Model.pdb -E:\ExtJs\HJGL\SGGL\Model\bin\Debug\Model.dll -E:\ExtJs\HJGL\SGGL\Model\bin\Debug\Model.pdb -E:\ExtJs\HJGL\SGGL\Model\obj\Debug\Model.dll -E:\ExtJs\HJGL\SGGL\Model\obj\Debug\Model.pdb -E:\ExtJs\HJGL\SGGL\Model\obj\Debug\Model.csprojAssemblyReference.cache -E:\ExtJs\HJGL\SGGL\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -D:\MyProject\ZHJA\HJGL\SGGL\Model\bin\Debug\Model.dll -D:\MyProject\ZHJA\HJGL\SGGL\Model\bin\Debug\Model.pdb -D:\MyProject\ZHJA\HJGL\SGGL\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -D:\MyProject\ZHJA\HJGL\SGGL\Model\obj\Debug\Model.dll -D:\MyProject\ZHJA\HJGL\SGGL\Model\obj\Debug\Model.pdb -D:\MyProject\ZHNew\HJGL\SGGL\Model\bin\Debug\Model.dll -D:\MyProject\ZHNew\HJGL\SGGL\Model\bin\Debug\Model.pdb -D:\MyProject\ZHNew\HJGL\SGGL\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -D:\MyProject\ZHNew\HJGL\SGGL\Model\obj\Debug\Model.dll -D:\MyProject\ZHNew\HJGL\SGGL\Model\obj\Debug\Model.pdb -E:\工作\镇海焊接\SGGL_New_2019.09.23\SGGL\Model\bin\Debug\Model.dll -E:\工作\镇海焊接\SGGL_New_2019.09.23\SGGL\Model\bin\Debug\Model.pdb -E:\工作\镇海焊接\SGGL_New_2019.09.23\SGGL\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -E:\工作\镇海焊接\SGGL_New_2019.09.23\SGGL\Model\obj\Debug\Model.dll -E:\工作\镇海焊接\SGGL_New_2019.09.23\SGGL\Model\obj\Debug\Model.pdb -E:\工作\镇海焊接\SGGL_New_2019.09.23\SGGL\Model\obj\Debug\Model.csprojAssemblyReference.cache -E:\工作\镇海焊接\SGGL_New\SGGL\Model\bin\Debug\Model.dll -E:\工作\镇海焊接\SGGL_New\SGGL\Model\bin\Debug\Model.pdb -E:\工作\镇海焊接\SGGL_New\SGGL\Model\obj\Debug\Model.csprojAssemblyReference.cache -E:\工作\镇海焊接\SGGL_New\SGGL\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -E:\工作\镇海焊接\SGGL_New\SGGL\Model\obj\Debug\Model.dll -E:\工作\镇海焊接\SGGL_New\SGGL\Model\obj\Debug\Model.pdb -D:\MyProject\ZHNew\HJGL\SGGL\Model\obj\Debug\Model.csprojAssemblyReference.cache -D:\MyProject\ZHNew\HJGL_ZH\HJGL_ZH\Model\bin\Debug\Model.dll -D:\MyProject\ZHNew\HJGL_ZH\HJGL_ZH\Model\bin\Debug\Model.pdb -D:\MyProject\ZHNew\HJGL_ZH\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -D:\MyProject\ZHNew\HJGL_ZH\HJGL_ZH\Model\obj\Debug\Model.dll -D:\MyProject\ZHNew\HJGL_ZH\HJGL_ZH\Model\obj\Debug\Model.pdb -E:\工作\镇海焊接\HJGL_ZH\Model\bin\Debug\Model.dll -E:\工作\镇海焊接\HJGL_ZH\Model\bin\Debug\Model.pdb -E:\工作\镇海焊接\HJGL_ZH\Model\obj\Debug\Model.csprojAssemblyReference.cache -E:\工作\镇海焊接\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -E:\工作\镇海焊接\HJGL_ZH\Model\obj\Debug\Model.dll -E:\工作\镇海焊接\HJGL_ZH\Model\obj\Debug\Model.pdb -E:\工作\镇海焊接\SGGL\Model\obj\Debug\Model.csprojAssemblyReference.cache -E:\工作\镇海焊接\SGGL\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -D:\MyNewProject\ZHJA\HJGL_ZH\Model\bin\Debug\Model.dll -D:\MyNewProject\ZHJA\HJGL_ZH\Model\bin\Debug\Model.pdb -D:\MyNewProject\ZHJA\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -D:\MyNewProject\ZHJA\HJGL_ZH\Model\obj\Debug\Model.dll -D:\MyNewProject\ZHJA\HJGL_ZH\Model\obj\Debug\Model.pdb -D:\MyProject\ZHHJ\JA\HJGL_ZH\Model\bin\Debug\Model.dll -D:\MyProject\ZHHJ\JA\HJGL_ZH\Model\bin\Debug\Model.pdb -D:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -D:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.dll -D:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.pdb -E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\bin\Debug\Model.dll -E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\bin\Debug\Model.pdb -E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.dll -E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.pdb -E:\MyProject\ZHHJ\JA\HJGL_ZH\Model\obj\Debug\Model.csprojAssemblyReference.cache -D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\bin\Debug\Model.dll -D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\bin\Debug\Model.pdb -D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.csproj.AssemblyReference.cache -D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.csproj.CoreCompileInputs.cache -D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.dll -D:\数据\诺必达\镇海建安\ZHJA_HJGL\HJGL_ZH\Model\obj\Debug\Model.pdb diff --git a/HJGL_ZH/Model/obj/Debug/Model.dll b/HJGL_ZH/Model/obj/Debug/Model.dll deleted file mode 100644 index 4487148..0000000 Binary files a/HJGL_ZH/Model/obj/Debug/Model.dll and /dev/null differ diff --git a/HJGL_ZH/Model/obj/Debug/Model.pdb b/HJGL_ZH/Model/obj/Debug/Model.pdb deleted file mode 100644 index fc43e7d..0000000 Binary files a/HJGL_ZH/Model/obj/Debug/Model.pdb and /dev/null differ diff --git a/HJGL_ZH/Model/obj/Release/Model.csproj.AssemblyReference.cache b/HJGL_ZH/Model/obj/Release/Model.csproj.AssemblyReference.cache deleted file mode 100644 index 451578e..0000000 Binary files a/HJGL_ZH/Model/obj/Release/Model.csproj.AssemblyReference.cache and /dev/null differ