diff --git a/DataBase/版本日志/SGGLDB_WH_2025-02-10-bwj.sql b/DataBase/版本日志/SGGLDB_WH_2025-02-10-bwj.sql
new file mode 100644
index 00000000..ff659395
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2025-02-10-bwj.sql
@@ -0,0 +1,3 @@
+
+alter table Report_TextBoxContent alter column ContentText nvarchar(2000)
+go
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx
index 93599a90..16115d98 100644
--- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx
@@ -244,7 +244,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
@@ -261,7 +261,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
@@ -278,7 +278,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
diff --git a/SGGL/FineUIPro.Web/Web.config b/SGGL/FineUIPro.Web/Web.config
index 6c177656..58dd68d6 100644
--- a/SGGL/FineUIPro.Web/Web.config
+++ b/SGGL/FineUIPro.Web/Web.config
@@ -11,7 +11,7 @@
-
+
@@ -77,7 +77,7 @@
-
+
diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs
index 372b6848..500f79b9 100644
--- a/SGGL/Model/Model.cs
+++ b/SGGL/Model/Model.cs
@@ -1526,6 +1526,9 @@ namespace Model
partial void InsertManager_Month_CheckC(Manager_Month_CheckC instance);
partial void UpdateManager_Month_CheckC(Manager_Month_CheckC instance);
partial void DeleteManager_Month_CheckC(Manager_Month_CheckC instance);
+ partial void InsertManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance);
+ partial void UpdateManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance);
+ partial void DeleteManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance);
partial void InsertManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance);
partial void UpdateManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance);
partial void DeleteManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance);
@@ -2096,6 +2099,9 @@ namespace Model
partial void InsertReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
partial void UpdateReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
partial void DeleteReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance);
+ partial void InsertReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
+ partial void UpdateReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
+ partial void DeleteReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance);
partial void InsertReport_CqmsTarget(Report_CqmsTarget instance);
partial void UpdateReport_CqmsTarget(Report_CqmsTarget instance);
partial void DeleteReport_CqmsTarget(Report_CqmsTarget instance);
@@ -6788,6 +6794,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Manager_Month_ComplianceObligations
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Manager_Month_ComplianceObligationsC
{
get
@@ -8308,6 +8322,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table Report_CQMS_ProblemHandle
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Report_CqmsTarget
{
get
@@ -21985,8 +22007,6 @@ namespace Model
private string _CodeRule;
- private EntitySet _Doc_DocManage;
-
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -22003,7 +22023,6 @@ namespace Model
public Base_DocType()
{
- this._Doc_DocManage = new EntitySet(new Action(this.attach_Doc_DocManage), new Action(this.detach_Doc_DocManage));
OnCreated();
}
@@ -22087,19 +22106,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_DocType", Storage="_Doc_DocManage", ThisKey="DocTypeId", OtherKey="DocTypeId", DeleteRule="NO ACTION")]
- public EntitySet Doc_DocManage
- {
- get
- {
- return this._Doc_DocManage;
- }
- set
- {
- this._Doc_DocManage.Assign(value);
- }
- }
-
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -22119,18 +22125,6 @@ namespace Model
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
-
- private void attach_Doc_DocManage(Doc_DocManage entity)
- {
- this.SendPropertyChanging();
- entity.Base_DocType = this;
- }
-
- private void detach_Doc_DocManage(Doc_DocManage entity)
- {
- this.SendPropertyChanging();
- entity.Base_DocType = null;
- }
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_EmergencyType")]
@@ -40032,6 +40026,8 @@ namespace Model
private EntitySet _Check_CheckRectify;
+ private EntitySet _Check_CheckSpecialDetail;
+
private EntitySet _Check_ContactList;
private EntitySet _Check_IncentiveNotice;
@@ -40435,6 +40431,7 @@ namespace Model
this._Check_CheckDayDetail = new EntitySet(new Action(this.attach_Check_CheckDayDetail), new Action(this.detach_Check_CheckDayDetail));
this._Check_CheckInfo = new EntitySet(new Action(this.attach_Check_CheckInfo), new Action(this.detach_Check_CheckInfo));
this._Check_CheckRectify = new EntitySet(new Action(this.attach_Check_CheckRectify), new Action(this.detach_Check_CheckRectify));
+ this._Check_CheckSpecialDetail = new EntitySet(new Action(this.attach_Check_CheckSpecialDetail), new Action(this.detach_Check_CheckSpecialDetail));
this._Check_ContactList = new EntitySet(new Action(this.attach_Check_ContactList), new Action(this.detach_Check_ContactList));
this._Check_IncentiveNotice = new EntitySet(new Action(this.attach_Check_IncentiveNotice), new Action(this.detach_Check_IncentiveNotice));
this._Check_JointCheck = new EntitySet(new Action(this.attach_Check_JointCheck), new Action(this.detach_Check_JointCheck));
@@ -41348,6 +41345,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecialDetail_Base_Unit", Storage="_Check_CheckSpecialDetail", ThisKey="UnitId", OtherKey="UnitId", DeleteRule="NO ACTION")]
+ public EntitySet Check_CheckSpecialDetail
+ {
+ get
+ {
+ return this._Check_CheckSpecialDetail;
+ }
+ set
+ {
+ this._Check_CheckSpecialDetail.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_ContactList_Base_Unit", Storage="_Check_ContactList", ThisKey="UnitId", OtherKey="SponsorUnitId", DeleteRule="NO ACTION")]
public EntitySet Check_ContactList
{
@@ -43715,6 +43725,18 @@ namespace Model
entity.Base_Unit = null;
}
+ private void attach_Check_CheckSpecialDetail(Check_CheckSpecialDetail entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Unit = this;
+ }
+
+ private void detach_Check_CheckSpecialDetail(Check_CheckSpecialDetail entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Unit = null;
+ }
+
private void attach_Check_ContactList(Check_ContactList entity)
{
this.SendPropertyChanging();
@@ -63134,6 +63156,8 @@ namespace Model
private string _HiddenType;
+ private EntityRef _Base_Unit;
+
private EntityRef _WBS_UnitWork;
#region 可扩展性方法定义
@@ -63192,6 +63216,7 @@ namespace Model
public Check_CheckSpecialDetail()
{
+ this._Base_Unit = default(EntityRef);
this._WBS_UnitWork = default(EntityRef);
OnCreated();
}
@@ -63331,6 +63356,10 @@ namespace Model
{
if ((this._UnitId != value))
{
+ if (this._Base_Unit.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
this.OnUnitIdChanging(value);
this.SendPropertyChanging();
this._UnitId = value;
@@ -63680,6 +63709,40 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecialDetail_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.Check_CheckSpecialDetail.Remove(this);
+ }
+ this._Base_Unit.Entity = value;
+ if ((value != null))
+ {
+ value.Check_CheckSpecialDetail.Add(this);
+ this._UnitId = value.UnitId;
+ }
+ else
+ {
+ this._UnitId = default(string);
+ }
+ this.SendPropertyChanged("Base_Unit");
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Check_CheckSpecialDetail_ProjectData_WorkArea", Storage="_WBS_UnitWork", ThisKey="CheckArea", OtherKey="UnitWorkId", IsForeignKey=true)]
public WBS_UnitWork WBS_UnitWork
{
@@ -99120,10 +99183,10 @@ namespace Model
private string _AuditMan;
- private string _Problem;
-
private string _Measure;
+ private string _Problem;
+
private System.Nullable _RemarkCode;
private string _Supervisor;
@@ -99176,10 +99239,10 @@ namespace Model
partial void OnStatusChanged();
partial void OnAuditManChanging(string value);
partial void OnAuditManChanged();
- partial void OnProblemChanging(string value);
- partial void OnProblemChanged();
partial void OnMeasureChanging(string value);
partial void OnMeasureChanged();
+ partial void OnProblemChanging(string value);
+ partial void OnProblemChanged();
partial void OnRemarkCodeChanging(System.Nullable value);
partial void OnRemarkCodeChanged();
partial void OnSupervisorChanging(string value);
@@ -99552,26 +99615,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Problem", DbType="NVarChar(1000)")]
- public string Problem
- {
- get
- {
- return this._Problem;
- }
- set
- {
- if ((this._Problem != value))
- {
- this.OnProblemChanging(value);
- this.SendPropertyChanging();
- this._Problem = value;
- this.SendPropertyChanged("Problem");
- this.OnProblemChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measure", DbType="NVarChar(1000)")]
public string Measure
{
@@ -99592,6 +99635,26 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Problem", DbType="NVarChar(1000)")]
+ public string Problem
+ {
+ get
+ {
+ return this._Problem;
+ }
+ set
+ {
+ if ((this._Problem != value))
+ {
+ this.OnProblemChanging(value);
+ this.SendPropertyChanging();
+ this._Problem = value;
+ this.SendPropertyChanged("Problem");
+ this.OnProblemChanged();
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RemarkCode", DbType="Int")]
public System.Nullable RemarkCode
{
@@ -126157,8 +126220,6 @@ namespace Model
private EntityRef _Base_CNProfessional;
- private EntityRef _Base_DocType;
-
private EntityRef _Base_Project;
private EntityRef _Base_Unit;
@@ -126210,7 +126271,6 @@ namespace Model
public Doc_DocManage()
{
this._Base_CNProfessional = default(EntityRef);
- this._Base_DocType = default(EntityRef);
this._Base_Project = default(EntityRef);
this._Base_Unit = default(EntityRef);
this._Sys_User = default(EntityRef);
@@ -126289,10 +126349,6 @@ namespace Model
{
if ((this._DocTypeId != value))
{
- if (this._Base_DocType.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
this.OnDocTypeIdChanging(value);
this.SendPropertyChanging();
this._DocTypeId = value;
@@ -126612,40 +126668,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_DocType", Storage="_Base_DocType", ThisKey="DocTypeId", OtherKey="DocTypeId", IsForeignKey=true)]
- public Base_DocType Base_DocType
- {
- get
- {
- return this._Base_DocType.Entity;
- }
- set
- {
- Base_DocType previousValue = this._Base_DocType.Entity;
- if (((previousValue != value)
- || (this._Base_DocType.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Base_DocType.Entity = null;
- previousValue.Doc_DocManage.Remove(this);
- }
- this._Base_DocType.Entity = value;
- if ((value != null))
- {
- value.Doc_DocManage.Add(this);
- this._DocTypeId = value.DocTypeId;
- }
- else
- {
- this._DocTypeId = default(string);
- }
- this.SendPropertyChanged("Base_DocType");
- }
- }
- }
-
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@@ -126816,8 +126838,6 @@ namespace Model
private EntityRef _Doc_DocManage;
- private EntityRef _Sys_User;
-
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -126841,7 +126861,6 @@ namespace Model
public Doc_DocManageApprove()
{
this._Doc_DocManage = default(EntityRef);
- this._Sys_User = default(EntityRef);
OnCreated();
}
@@ -126889,7 +126908,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(500)")]
public string ApproveMan
{
get
@@ -126900,10 +126919,6 @@ namespace Model
{
if ((this._ApproveMan != value))
{
- if (this._Sys_User.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
this.OnApproveManChanging(value);
this.SendPropertyChanging();
this._ApproveMan = value;
@@ -127027,40 +127042,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManageApprove_Sys_User", Storage="_Sys_User", ThisKey="ApproveMan", 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.Doc_DocManageApprove.Remove(this);
- }
- this._Sys_User.Entity = value;
- if ((value != null))
- {
- value.Doc_DocManageApprove.Add(this);
- this._ApproveMan = value.UserId;
- }
- else
- {
- this._ApproveMan = default(string);
- }
- this.SendPropertyChanged("Sys_User");
- }
- }
- }
-
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -139812,8 +139793,6 @@ namespace Model
private System.Nullable _State;
- private string _DriverSubNames;
-
private EntityRef _Base_Project;
private EntityRef _Base_Unit;
@@ -139850,8 +139829,6 @@ namespace Model
partial void OnSubcontractingTypesChanged();
partial void OnStateChanging(System.Nullable value);
partial void OnStateChanged();
- partial void OnDriverSubNamesChanging(string value);
- partial void OnDriverSubNamesChanged();
#endregion
public DriverSub_DriverSubPlan()
@@ -140149,26 +140126,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DriverSubNames", DbType="VarChar(100)")]
- public string DriverSubNames
- {
- get
- {
- return this._DriverSubNames;
- }
- set
- {
- if ((this._DriverSubNames != value))
- {
- this.OnDriverSubNamesChanging(value);
- this.SendPropertyChanging();
- this._DriverSubNames = value;
- this.SendPropertyChanged("DriverSubNames");
- this.OnDriverSubNamesChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_DriverSub_DriverSubPlan_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@@ -244666,6 +244623,229 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Manager_Month_ComplianceObligations")]
+ public partial class Manager_Month_ComplianceObligations : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _ComplianceObligationsId;
+
+ private string _MonthReportId;
+
+ private string _InformationContent;
+
+ private string _ResponseMeasures;
+
+ private string _ImplementationStatus;
+
+ private string _EvaluationConclusion;
+
+ private EntityRef _Manager_MonthReportC;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnComplianceObligationsIdChanging(string value);
+ partial void OnComplianceObligationsIdChanged();
+ partial void OnMonthReportIdChanging(string value);
+ partial void OnMonthReportIdChanged();
+ partial void OnInformationContentChanging(string value);
+ partial void OnInformationContentChanged();
+ partial void OnResponseMeasuresChanging(string value);
+ partial void OnResponseMeasuresChanged();
+ partial void OnImplementationStatusChanging(string value);
+ partial void OnImplementationStatusChanged();
+ partial void OnEvaluationConclusionChanging(string value);
+ partial void OnEvaluationConclusionChanged();
+ #endregion
+
+ public Manager_Month_ComplianceObligations()
+ {
+ this._Manager_MonthReportC = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComplianceObligationsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string ComplianceObligationsId
+ {
+ get
+ {
+ return this._ComplianceObligationsId;
+ }
+ set
+ {
+ if ((this._ComplianceObligationsId != value))
+ {
+ this.OnComplianceObligationsIdChanging(value);
+ this.SendPropertyChanging();
+ this._ComplianceObligationsId = value;
+ this.SendPropertyChanged("ComplianceObligationsId");
+ this.OnComplianceObligationsIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthReportId", DbType="NVarChar(50)")]
+ public string MonthReportId
+ {
+ get
+ {
+ return this._MonthReportId;
+ }
+ set
+ {
+ if ((this._MonthReportId != value))
+ {
+ if (this._Manager_MonthReportC.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnMonthReportIdChanging(value);
+ this.SendPropertyChanging();
+ this._MonthReportId = value;
+ this.SendPropertyChanged("MonthReportId");
+ this.OnMonthReportIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InformationContent", DbType="NVarChar(500)")]
+ public string InformationContent
+ {
+ get
+ {
+ return this._InformationContent;
+ }
+ set
+ {
+ if ((this._InformationContent != value))
+ {
+ this.OnInformationContentChanging(value);
+ this.SendPropertyChanging();
+ this._InformationContent = value;
+ this.SendPropertyChanged("InformationContent");
+ this.OnInformationContentChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponseMeasures", DbType="NVarChar(500)")]
+ public string ResponseMeasures
+ {
+ get
+ {
+ return this._ResponseMeasures;
+ }
+ set
+ {
+ if ((this._ResponseMeasures != value))
+ {
+ this.OnResponseMeasuresChanging(value);
+ this.SendPropertyChanging();
+ this._ResponseMeasures = value;
+ this.SendPropertyChanged("ResponseMeasures");
+ this.OnResponseMeasuresChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImplementationStatus", DbType="NVarChar(500)")]
+ public string ImplementationStatus
+ {
+ get
+ {
+ return this._ImplementationStatus;
+ }
+ set
+ {
+ if ((this._ImplementationStatus != value))
+ {
+ this.OnImplementationStatusChanging(value);
+ this.SendPropertyChanging();
+ this._ImplementationStatus = value;
+ this.SendPropertyChanged("ImplementationStatus");
+ this.OnImplementationStatusChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EvaluationConclusion", DbType="NVarChar(50)")]
+ public string EvaluationConclusion
+ {
+ get
+ {
+ return this._EvaluationConclusion;
+ }
+ set
+ {
+ if ((this._EvaluationConclusion != value))
+ {
+ this.OnEvaluationConclusionChanging(value);
+ this.SendPropertyChanging();
+ this._EvaluationConclusion = value;
+ this.SendPropertyChanged("EvaluationConclusion");
+ this.OnEvaluationConclusionChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligations_Manager_MonthReportC", Storage="_Manager_MonthReportC", ThisKey="MonthReportId", OtherKey="MonthReportId", IsForeignKey=true)]
+ public Manager_MonthReportC Manager_MonthReportC
+ {
+ get
+ {
+ return this._Manager_MonthReportC.Entity;
+ }
+ set
+ {
+ Manager_MonthReportC previousValue = this._Manager_MonthReportC.Entity;
+ if (((previousValue != value)
+ || (this._Manager_MonthReportC.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Manager_MonthReportC.Entity = null;
+ previousValue.Manager_Month_ComplianceObligations.Remove(this);
+ }
+ this._Manager_MonthReportC.Entity = value;
+ if ((value != null))
+ {
+ value.Manager_Month_ComplianceObligations.Add(this);
+ this._MonthReportId = value.MonthReportId;
+ }
+ else
+ {
+ this._MonthReportId = default(string);
+ }
+ this.SendPropertyChanged("Manager_MonthReportC");
+ }
+ }
+ }
+
+ 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.Manager_Month_ComplianceObligationsC")]
public partial class Manager_Month_ComplianceObligationsC : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -250885,12 +251065,6 @@ namespace Model
private string _AccidentDef;
- private System.Nullable _StartDate;
-
- private System.Nullable _EndDate;
-
- private System.Nullable _TotalHseManhoursYear;
-
private System.Nullable _MonthHdangerCount;
private System.Nullable _YearHdangerCount;
@@ -250907,6 +251081,12 @@ namespace Model
private string _MonthReportType;
+ private System.Nullable _StartDate;
+
+ private System.Nullable _EndDate;
+
+ private System.Nullable _TotalHseManhoursYear;
+
private EntitySet _Manager_AccidentSortC;
private EntitySet _Manager_CheckDetailSortC;
@@ -250935,6 +251115,8 @@ namespace Model
private EntitySet _Manager_Month_CheckC;
+ private EntitySet _Manager_Month_ComplianceObligations;
+
private EntitySet _Manager_Month_ComplianceObligationsC;
private EntitySet _Manager_Month_CostInvestmentPlanC;
@@ -251189,12 +251371,6 @@ namespace Model
partial void OnPhotoContentsChanged();
partial void OnAccidentDefChanging(string value);
partial void OnAccidentDefChanged();
- partial void OnStartDateChanging(System.Nullable value);
- partial void OnStartDateChanged();
- partial void OnEndDateChanging(System.Nullable value);
- partial void OnEndDateChanged();
- partial void OnTotalHseManhoursYearChanging(System.Nullable value);
- partial void OnTotalHseManhoursYearChanged();
partial void OnMonthHdangerCountChanging(System.Nullable value);
partial void OnMonthHdangerCountChanged();
partial void OnYearHdangerCountChanging(System.Nullable value);
@@ -251211,6 +251387,12 @@ namespace Model
partial void OnGoalach3Changed();
partial void OnMonthReportTypeChanging(string value);
partial void OnMonthReportTypeChanged();
+ partial void OnStartDateChanging(System.Nullable value);
+ partial void OnStartDateChanged();
+ partial void OnEndDateChanging(System.Nullable value);
+ partial void OnEndDateChanged();
+ partial void OnTotalHseManhoursYearChanging(System.Nullable value);
+ partial void OnTotalHseManhoursYearChanged();
#endregion
public Manager_MonthReportC()
@@ -251229,6 +251411,7 @@ namespace Model
this._Manager_Month_ActivitiesC = new EntitySet(new Action(this.attach_Manager_Month_ActivitiesC), new Action(this.detach_Manager_Month_ActivitiesC));
this._Manager_Month_ActivityDesC = new EntitySet(new Action(this.attach_Manager_Month_ActivityDesC), new Action(this.detach_Manager_Month_ActivityDesC));
this._Manager_Month_CheckC = new EntitySet(new Action(this.attach_Manager_Month_CheckC), new Action(this.detach_Manager_Month_CheckC));
+ this._Manager_Month_ComplianceObligations = new EntitySet(new Action(this.attach_Manager_Month_ComplianceObligations), new Action(this.detach_Manager_Month_ComplianceObligations));
this._Manager_Month_ComplianceObligationsC = new EntitySet(new Action(this.attach_Manager_Month_ComplianceObligationsC), new Action(this.detach_Manager_Month_ComplianceObligationsC));
this._Manager_Month_CostInvestmentPlanC = new EntitySet(new Action(this.attach_Manager_Month_CostInvestmentPlanC), new Action(this.detach_Manager_Month_CostInvestmentPlanC));
this._Manager_Month_EmergencyExercisesC = new EntitySet(new Action(this.attach_Manager_Month_EmergencyExercisesC), new Action(this.detach_Manager_Month_EmergencyExercisesC));
@@ -253227,66 +253410,6 @@ namespace Model
}
}
- [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="_TotalHseManhoursYear", DbType="Int")]
- public System.Nullable TotalHseManhoursYear
- {
- get
- {
- return this._TotalHseManhoursYear;
- }
- set
- {
- if ((this._TotalHseManhoursYear != value))
- {
- this.OnTotalHseManhoursYearChanging(value);
- this.SendPropertyChanging();
- this._TotalHseManhoursYear = value;
- this.SendPropertyChanged("TotalHseManhoursYear");
- this.OnTotalHseManhoursYearChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthHdangerCount", DbType="Int")]
public System.Nullable MonthHdangerCount
{
@@ -253447,6 +253570,66 @@ namespace Model
}
}
+ [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="_TotalHseManhoursYear", DbType="Int")]
+ public System.Nullable TotalHseManhoursYear
+ {
+ get
+ {
+ return this._TotalHseManhoursYear;
+ }
+ set
+ {
+ if ((this._TotalHseManhoursYear != value))
+ {
+ this.OnTotalHseManhoursYearChanging(value);
+ this.SendPropertyChanging();
+ this._TotalHseManhoursYear = value;
+ this.SendPropertyChanged("TotalHseManhoursYear");
+ this.OnTotalHseManhoursYearChanged();
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_AccidentCSort_Manager_MonthReport", Storage="_Manager_AccidentSortC", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")]
public EntitySet Manager_AccidentSortC
{
@@ -253629,6 +253812,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligations_Manager_MonthReportC", Storage="_Manager_Month_ComplianceObligations", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")]
+ public EntitySet Manager_Month_ComplianceObligations
+ {
+ get
+ {
+ return this._Manager_Month_ComplianceObligations;
+ }
+ set
+ {
+ this._Manager_Month_ComplianceObligations.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligationsC_Manager_MonthReportC", Storage="_Manager_Month_ComplianceObligationsC", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")]
public EntitySet Manager_Month_ComplianceObligationsC
{
@@ -254210,6 +254406,18 @@ namespace Model
entity.Manager_MonthReportC = null;
}
+ private void attach_Manager_Month_ComplianceObligations(Manager_Month_ComplianceObligations entity)
+ {
+ this.SendPropertyChanging();
+ entity.Manager_MonthReportC = this;
+ }
+
+ private void detach_Manager_Month_ComplianceObligations(Manager_Month_ComplianceObligations entity)
+ {
+ this.SendPropertyChanging();
+ entity.Manager_MonthReportC = null;
+ }
+
private void attach_Manager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC entity)
{
this.SendPropertyChanging();
@@ -283095,7 +283303,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(100)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectName", DbType="VarChar(50)")]
public string ProjectName
{
get
@@ -284826,32 +285034,6 @@ namespace Model
private string _Owner;
- private System.Nullable _SubcontractorAllPassData;
-
- private System.Nullable _ContractorAllPassData;
-
- private System.Nullable _SupervisionAllPassData;
-
- private System.Nullable _OwnerAllPassData;
-
- private System.Nullable _WanderIsComplete;
-
- private System.Nullable _WanderCompleteData;
-
- private System.Nullable _IsSiteImplement;
-
- private string _SiteImplementUser;
-
- private System.Nullable _SiteImplementConfirmData;
-
- private System.Nullable _RecordUploadData;
-
- private System.Nullable _InspectIsClose;
-
- private string _InspectIsCloseUser;
-
- private System.Nullable _InspectCloseData;
-
private System.Nullable _IsUnifyWanderAbout;
private System.Nullable _UnifyWanderAboutData;
@@ -284860,10 +285042,6 @@ namespace Model
private System.Nullable _InspectionIsAllPass;
- private System.Nullable _WorkPackType;
-
- private string _PropertyTechnologyId;
-
private System.Nullable _SubcontractorIsAllPass;
private System.Nullable _ContractorIsAllPass;
@@ -284872,6 +285050,36 @@ namespace Model
private System.Nullable _OwnerIsAllPass;
+ private System.Nullable _WanderIsComplete;
+
+ private System.Nullable _SubcontractorAllPassData;
+
+ private System.Nullable _ContractorAllPassData;
+
+ private System.Nullable _SupervisionAllPassData;
+
+ private System.Nullable _OwnerAllPassData;
+
+ private System.Nullable _WanderCompleteData;
+
+ private System.Nullable _WorkPackType;
+
+ private System.Nullable _IsSiteImplement;
+
+ private System.Nullable _InspectIsClose;
+
+ private System.Nullable _InspectCloseData;
+
+ private string _InspectIsCloseUser;
+
+ private string _PropertyTechnologyId;
+
+ private System.Nullable _RecordUploadData;
+
+ private System.Nullable _SiteImplementConfirmData;
+
+ private string _SiteImplementUser;
+
#region 可扩展性方法定义
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -284906,32 +285114,6 @@ namespace Model
partial void OnSupervisionChanged();
partial void OnOwnerChanging(string value);
partial void OnOwnerChanged();
- partial void OnSubcontractorAllPassDataChanging(System.Nullable value);
- partial void OnSubcontractorAllPassDataChanged();
- partial void OnContractorAllPassDataChanging(System.Nullable value);
- partial void OnContractorAllPassDataChanged();
- partial void OnSupervisionAllPassDataChanging(System.Nullable value);
- partial void OnSupervisionAllPassDataChanged();
- partial void OnOwnerAllPassDataChanging(System.Nullable value);
- partial void OnOwnerAllPassDataChanged();
- partial void OnWanderIsCompleteChanging(System.Nullable value);
- partial void OnWanderIsCompleteChanged();
- partial void OnWanderCompleteDataChanging(System.Nullable value);
- partial void OnWanderCompleteDataChanged();
- partial void OnIsSiteImplementChanging(System.Nullable value);
- partial void OnIsSiteImplementChanged();
- partial void OnSiteImplementUserChanging(string value);
- partial void OnSiteImplementUserChanged();
- partial void OnSiteImplementConfirmDataChanging(System.Nullable value);
- partial void OnSiteImplementConfirmDataChanged();
- partial void OnRecordUploadDataChanging(System.Nullable value);
- partial void OnRecordUploadDataChanged();
- partial void OnInspectIsCloseChanging(System.Nullable value);
- partial void OnInspectIsCloseChanged();
- partial void OnInspectIsCloseUserChanging(string value);
- partial void OnInspectIsCloseUserChanged();
- partial void OnInspectCloseDataChanging(System.Nullable value);
- partial void OnInspectCloseDataChanged();
partial void OnIsUnifyWanderAboutChanging(System.Nullable value);
partial void OnIsUnifyWanderAboutChanged();
partial void OnUnifyWanderAboutDataChanging(System.Nullable value);
@@ -284940,10 +285122,6 @@ namespace Model
partial void OnUnifyWanderAboutOpinionChanged();
partial void OnInspectionIsAllPassChanging(System.Nullable value);
partial void OnInspectionIsAllPassChanged();
- partial void OnWorkPackTypeChanging(System.Nullable value);
- partial void OnWorkPackTypeChanged();
- partial void OnPropertyTechnologyIdChanging(string value);
- partial void OnPropertyTechnologyIdChanged();
partial void OnSubcontractorIsAllPassChanging(System.Nullable value);
partial void OnSubcontractorIsAllPassChanged();
partial void OnContractorIsAllPassChanging(System.Nullable value);
@@ -284952,6 +285130,36 @@ namespace Model
partial void OnSupervisionIsAllPassChanged();
partial void OnOwnerIsAllPassChanging(System.Nullable value);
partial void OnOwnerIsAllPassChanged();
+ partial void OnWanderIsCompleteChanging(System.Nullable value);
+ partial void OnWanderIsCompleteChanged();
+ partial void OnSubcontractorAllPassDataChanging(System.Nullable value);
+ partial void OnSubcontractorAllPassDataChanged();
+ partial void OnContractorAllPassDataChanging(System.Nullable value);
+ partial void OnContractorAllPassDataChanged();
+ partial void OnSupervisionAllPassDataChanging(System.Nullable value);
+ partial void OnSupervisionAllPassDataChanged();
+ partial void OnOwnerAllPassDataChanging(System.Nullable value);
+ partial void OnOwnerAllPassDataChanged();
+ partial void OnWanderCompleteDataChanging(System.Nullable value);
+ partial void OnWanderCompleteDataChanged();
+ partial void OnWorkPackTypeChanging(System.Nullable value);
+ partial void OnWorkPackTypeChanged();
+ partial void OnIsSiteImplementChanging(System.Nullable value);
+ partial void OnIsSiteImplementChanged();
+ partial void OnInspectIsCloseChanging(System.Nullable value);
+ partial void OnInspectIsCloseChanged();
+ partial void OnInspectCloseDataChanging(System.Nullable value);
+ partial void OnInspectCloseDataChanged();
+ partial void OnInspectIsCloseUserChanging(string value);
+ partial void OnInspectIsCloseUserChanged();
+ partial void OnPropertyTechnologyIdChanging(string value);
+ partial void OnPropertyTechnologyIdChanged();
+ partial void OnRecordUploadDataChanging(System.Nullable value);
+ partial void OnRecordUploadDataChanged();
+ partial void OnSiteImplementConfirmDataChanging(System.Nullable value);
+ partial void OnSiteImplementConfirmDataChanged();
+ partial void OnSiteImplementUserChanging(string value);
+ partial void OnSiteImplementUserChanged();
#endregion
public PreRun_SubInspectTerm()
@@ -285259,266 +285467,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorAllPassData", DbType="DateTime")]
- public System.Nullable SubcontractorAllPassData
- {
- get
- {
- return this._SubcontractorAllPassData;
- }
- set
- {
- if ((this._SubcontractorAllPassData != value))
- {
- this.OnSubcontractorAllPassDataChanging(value);
- this.SendPropertyChanging();
- this._SubcontractorAllPassData = value;
- this.SendPropertyChanged("SubcontractorAllPassData");
- this.OnSubcontractorAllPassDataChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorAllPassData", DbType="DateTime")]
- public System.Nullable ContractorAllPassData
- {
- get
- {
- return this._ContractorAllPassData;
- }
- set
- {
- if ((this._ContractorAllPassData != value))
- {
- this.OnContractorAllPassDataChanging(value);
- this.SendPropertyChanging();
- this._ContractorAllPassData = value;
- this.SendPropertyChanged("ContractorAllPassData");
- this.OnContractorAllPassDataChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionAllPassData", DbType="DateTime")]
- public System.Nullable SupervisionAllPassData
- {
- get
- {
- return this._SupervisionAllPassData;
- }
- set
- {
- if ((this._SupervisionAllPassData != value))
- {
- this.OnSupervisionAllPassDataChanging(value);
- this.SendPropertyChanging();
- this._SupervisionAllPassData = value;
- this.SendPropertyChanged("SupervisionAllPassData");
- this.OnSupervisionAllPassDataChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerAllPassData", DbType="DateTime")]
- public System.Nullable OwnerAllPassData
- {
- get
- {
- return this._OwnerAllPassData;
- }
- set
- {
- if ((this._OwnerAllPassData != value))
- {
- this.OnOwnerAllPassDataChanging(value);
- this.SendPropertyChanging();
- this._OwnerAllPassData = value;
- this.SendPropertyChanged("OwnerAllPassData");
- this.OnOwnerAllPassDataChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderIsComplete", DbType="Int")]
- public System.Nullable WanderIsComplete
- {
- get
- {
- return this._WanderIsComplete;
- }
- set
- {
- if ((this._WanderIsComplete != value))
- {
- this.OnWanderIsCompleteChanging(value);
- this.SendPropertyChanging();
- this._WanderIsComplete = value;
- this.SendPropertyChanged("WanderIsComplete");
- this.OnWanderIsCompleteChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderCompleteData", DbType="DateTime")]
- public System.Nullable WanderCompleteData
- {
- get
- {
- return this._WanderCompleteData;
- }
- set
- {
- if ((this._WanderCompleteData != value))
- {
- this.OnWanderCompleteDataChanging(value);
- this.SendPropertyChanging();
- this._WanderCompleteData = value;
- this.SendPropertyChanged("WanderCompleteData");
- this.OnWanderCompleteDataChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSiteImplement", DbType="Int")]
- public System.Nullable IsSiteImplement
- {
- get
- {
- return this._IsSiteImplement;
- }
- set
- {
- if ((this._IsSiteImplement != value))
- {
- this.OnIsSiteImplementChanging(value);
- this.SendPropertyChanging();
- this._IsSiteImplement = value;
- this.SendPropertyChanged("IsSiteImplement");
- this.OnIsSiteImplementChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementUser", DbType="VarChar(50)")]
- public string SiteImplementUser
- {
- get
- {
- return this._SiteImplementUser;
- }
- set
- {
- if ((this._SiteImplementUser != value))
- {
- this.OnSiteImplementUserChanging(value);
- this.SendPropertyChanging();
- this._SiteImplementUser = value;
- this.SendPropertyChanged("SiteImplementUser");
- this.OnSiteImplementUserChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementConfirmData", DbType="DateTime")]
- public System.Nullable SiteImplementConfirmData
- {
- get
- {
- return this._SiteImplementConfirmData;
- }
- set
- {
- if ((this._SiteImplementConfirmData != value))
- {
- this.OnSiteImplementConfirmDataChanging(value);
- this.SendPropertyChanging();
- this._SiteImplementConfirmData = value;
- this.SendPropertyChanged("SiteImplementConfirmData");
- this.OnSiteImplementConfirmDataChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordUploadData", DbType="DateTime")]
- public System.Nullable RecordUploadData
- {
- get
- {
- return this._RecordUploadData;
- }
- set
- {
- if ((this._RecordUploadData != value))
- {
- this.OnRecordUploadDataChanging(value);
- this.SendPropertyChanging();
- this._RecordUploadData = value;
- this.SendPropertyChanged("RecordUploadData");
- this.OnRecordUploadDataChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsClose", DbType="Int")]
- public System.Nullable InspectIsClose
- {
- get
- {
- return this._InspectIsClose;
- }
- set
- {
- if ((this._InspectIsClose != value))
- {
- this.OnInspectIsCloseChanging(value);
- this.SendPropertyChanging();
- this._InspectIsClose = value;
- this.SendPropertyChanged("InspectIsClose");
- this.OnInspectIsCloseChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsCloseUser", DbType="VarChar(50)")]
- public string InspectIsCloseUser
- {
- get
- {
- return this._InspectIsCloseUser;
- }
- set
- {
- if ((this._InspectIsCloseUser != value))
- {
- this.OnInspectIsCloseUserChanging(value);
- this.SendPropertyChanging();
- this._InspectIsCloseUser = value;
- this.SendPropertyChanged("InspectIsCloseUser");
- this.OnInspectIsCloseUserChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectCloseData", DbType="DateTime")]
- public System.Nullable InspectCloseData
- {
- get
- {
- return this._InspectCloseData;
- }
- set
- {
- if ((this._InspectCloseData != value))
- {
- this.OnInspectCloseDataChanging(value);
- this.SendPropertyChanging();
- this._InspectCloseData = value;
- this.SendPropertyChanged("InspectCloseData");
- this.OnInspectCloseDataChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUnifyWanderAbout", DbType="Int")]
public System.Nullable IsUnifyWanderAbout
{
@@ -285599,46 +285547,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")]
- public System.Nullable WorkPackType
- {
- get
- {
- return this._WorkPackType;
- }
- set
- {
- if ((this._WorkPackType != value))
- {
- this.OnWorkPackTypeChanging(value);
- this.SendPropertyChanging();
- this._WorkPackType = value;
- this.SendPropertyChanged("WorkPackType");
- this.OnWorkPackTypeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="NVarChar(50)")]
- public string PropertyTechnologyId
- {
- get
- {
- return this._PropertyTechnologyId;
- }
- set
- {
- if ((this._PropertyTechnologyId != value))
- {
- this.OnPropertyTechnologyIdChanging(value);
- this.SendPropertyChanging();
- this._PropertyTechnologyId = value;
- this.SendPropertyChanged("PropertyTechnologyId");
- this.OnPropertyTechnologyIdChanged();
- }
- }
- }
-
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorIsAllPass", DbType="Int")]
public System.Nullable SubcontractorIsAllPass
{
@@ -285719,6 +285627,306 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderIsComplete", DbType="Int")]
+ public System.Nullable WanderIsComplete
+ {
+ get
+ {
+ return this._WanderIsComplete;
+ }
+ set
+ {
+ if ((this._WanderIsComplete != value))
+ {
+ this.OnWanderIsCompleteChanging(value);
+ this.SendPropertyChanging();
+ this._WanderIsComplete = value;
+ this.SendPropertyChanged("WanderIsComplete");
+ this.OnWanderIsCompleteChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorAllPassData", DbType="DateTime")]
+ public System.Nullable SubcontractorAllPassData
+ {
+ get
+ {
+ return this._SubcontractorAllPassData;
+ }
+ set
+ {
+ if ((this._SubcontractorAllPassData != value))
+ {
+ this.OnSubcontractorAllPassDataChanging(value);
+ this.SendPropertyChanging();
+ this._SubcontractorAllPassData = value;
+ this.SendPropertyChanged("SubcontractorAllPassData");
+ this.OnSubcontractorAllPassDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorAllPassData", DbType="DateTime")]
+ public System.Nullable ContractorAllPassData
+ {
+ get
+ {
+ return this._ContractorAllPassData;
+ }
+ set
+ {
+ if ((this._ContractorAllPassData != value))
+ {
+ this.OnContractorAllPassDataChanging(value);
+ this.SendPropertyChanging();
+ this._ContractorAllPassData = value;
+ this.SendPropertyChanged("ContractorAllPassData");
+ this.OnContractorAllPassDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionAllPassData", DbType="DateTime")]
+ public System.Nullable SupervisionAllPassData
+ {
+ get
+ {
+ return this._SupervisionAllPassData;
+ }
+ set
+ {
+ if ((this._SupervisionAllPassData != value))
+ {
+ this.OnSupervisionAllPassDataChanging(value);
+ this.SendPropertyChanging();
+ this._SupervisionAllPassData = value;
+ this.SendPropertyChanged("SupervisionAllPassData");
+ this.OnSupervisionAllPassDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerAllPassData", DbType="DateTime")]
+ public System.Nullable OwnerAllPassData
+ {
+ get
+ {
+ return this._OwnerAllPassData;
+ }
+ set
+ {
+ if ((this._OwnerAllPassData != value))
+ {
+ this.OnOwnerAllPassDataChanging(value);
+ this.SendPropertyChanging();
+ this._OwnerAllPassData = value;
+ this.SendPropertyChanged("OwnerAllPassData");
+ this.OnOwnerAllPassDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderCompleteData", DbType="DateTime")]
+ public System.Nullable WanderCompleteData
+ {
+ get
+ {
+ return this._WanderCompleteData;
+ }
+ set
+ {
+ if ((this._WanderCompleteData != value))
+ {
+ this.OnWanderCompleteDataChanging(value);
+ this.SendPropertyChanging();
+ this._WanderCompleteData = value;
+ this.SendPropertyChanged("WanderCompleteData");
+ this.OnWanderCompleteDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")]
+ public System.Nullable WorkPackType
+ {
+ get
+ {
+ return this._WorkPackType;
+ }
+ set
+ {
+ if ((this._WorkPackType != value))
+ {
+ this.OnWorkPackTypeChanging(value);
+ this.SendPropertyChanging();
+ this._WorkPackType = value;
+ this.SendPropertyChanged("WorkPackType");
+ this.OnWorkPackTypeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSiteImplement", DbType="Int")]
+ public System.Nullable IsSiteImplement
+ {
+ get
+ {
+ return this._IsSiteImplement;
+ }
+ set
+ {
+ if ((this._IsSiteImplement != value))
+ {
+ this.OnIsSiteImplementChanging(value);
+ this.SendPropertyChanging();
+ this._IsSiteImplement = value;
+ this.SendPropertyChanged("IsSiteImplement");
+ this.OnIsSiteImplementChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsClose", DbType="Int")]
+ public System.Nullable InspectIsClose
+ {
+ get
+ {
+ return this._InspectIsClose;
+ }
+ set
+ {
+ if ((this._InspectIsClose != value))
+ {
+ this.OnInspectIsCloseChanging(value);
+ this.SendPropertyChanging();
+ this._InspectIsClose = value;
+ this.SendPropertyChanged("InspectIsClose");
+ this.OnInspectIsCloseChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectCloseData", DbType="DateTime")]
+ public System.Nullable InspectCloseData
+ {
+ get
+ {
+ return this._InspectCloseData;
+ }
+ set
+ {
+ if ((this._InspectCloseData != value))
+ {
+ this.OnInspectCloseDataChanging(value);
+ this.SendPropertyChanging();
+ this._InspectCloseData = value;
+ this.SendPropertyChanged("InspectCloseData");
+ this.OnInspectCloseDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsCloseUser", DbType="NVarChar(50)")]
+ public string InspectIsCloseUser
+ {
+ get
+ {
+ return this._InspectIsCloseUser;
+ }
+ set
+ {
+ if ((this._InspectIsCloseUser != value))
+ {
+ this.OnInspectIsCloseUserChanging(value);
+ this.SendPropertyChanging();
+ this._InspectIsCloseUser = value;
+ this.SendPropertyChanged("InspectIsCloseUser");
+ this.OnInspectIsCloseUserChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="NVarChar(500)")]
+ public string PropertyTechnologyId
+ {
+ get
+ {
+ return this._PropertyTechnologyId;
+ }
+ set
+ {
+ if ((this._PropertyTechnologyId != value))
+ {
+ this.OnPropertyTechnologyIdChanging(value);
+ this.SendPropertyChanging();
+ this._PropertyTechnologyId = value;
+ this.SendPropertyChanged("PropertyTechnologyId");
+ this.OnPropertyTechnologyIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordUploadData", DbType="DateTime")]
+ public System.Nullable RecordUploadData
+ {
+ get
+ {
+ return this._RecordUploadData;
+ }
+ set
+ {
+ if ((this._RecordUploadData != value))
+ {
+ this.OnRecordUploadDataChanging(value);
+ this.SendPropertyChanging();
+ this._RecordUploadData = value;
+ this.SendPropertyChanged("RecordUploadData");
+ this.OnRecordUploadDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementConfirmData", DbType="DateTime")]
+ public System.Nullable SiteImplementConfirmData
+ {
+ get
+ {
+ return this._SiteImplementConfirmData;
+ }
+ set
+ {
+ if ((this._SiteImplementConfirmData != value))
+ {
+ this.OnSiteImplementConfirmDataChanging(value);
+ this.SendPropertyChanging();
+ this._SiteImplementConfirmData = value;
+ this.SendPropertyChanged("SiteImplementConfirmData");
+ this.OnSiteImplementConfirmDataChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementUser", DbType="NVarChar(50)")]
+ public string SiteImplementUser
+ {
+ get
+ {
+ return this._SiteImplementUser;
+ }
+ set
+ {
+ if ((this._SiteImplementUser != value))
+ {
+ this.OnSiteImplementUserChanging(value);
+ this.SendPropertyChanging();
+ this._SiteImplementUser = value;
+ this.SendPropertyChanged("SiteImplementUser");
+ this.OnSiteImplementUserChanged();
+ }
+ }
+ }
+
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -324843,6 +325051,164 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_CQMS_ProblemHandle")]
+ public partial class Report_CQMS_ProblemHandle : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _Id;
+
+ private string _ReportId;
+
+ private string _ReType;
+
+ private string _UnitName;
+
+ private string _ProblemDes;
+
+ #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 OnReportIdChanging(string value);
+ partial void OnReportIdChanged();
+ partial void OnReTypeChanging(string value);
+ partial void OnReTypeChanged();
+ partial void OnUnitNameChanging(string value);
+ partial void OnUnitNameChanged();
+ partial void OnProblemDesChanging(string value);
+ partial void OnProblemDesChanged();
+ #endregion
+
+ public Report_CQMS_ProblemHandle()
+ {
+ 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="_ReportId", DbType="NVarChar(50)")]
+ 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="_ReType", DbType="NChar(20)")]
+ public string ReType
+ {
+ get
+ {
+ return this._ReType;
+ }
+ set
+ {
+ if ((this._ReType != value))
+ {
+ this.OnReTypeChanging(value);
+ this.SendPropertyChanging();
+ this._ReType = value;
+ this.SendPropertyChanged("ReType");
+ this.OnReTypeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(100)")]
+ 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="_ProblemDes", DbType="NVarChar(100)")]
+ public string ProblemDes
+ {
+ get
+ {
+ return this._ProblemDes;
+ }
+ set
+ {
+ if ((this._ProblemDes != value))
+ {
+ this.OnProblemDesChanging(value);
+ this.SendPropertyChanging();
+ this._ProblemDes = value;
+ this.SendPropertyChanged("ProblemDes");
+ this.OnProblemDesChanged();
+ }
+ }
+ }
+
+ 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.Report_CqmsTarget")]
public partial class Report_CqmsTarget : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -325620,7 +325986,7 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContentText", DbType="NVarChar(1000)")]
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContentText", DbType="NVarChar(2000)")]
public string ContentText
{
get
@@ -362292,8 +362658,6 @@ namespace Model
private EntitySet _Doc_DocManage;
- private EntitySet _Doc_DocManageApprove;
-
private EntitySet _Driver_DriverProgress;
private EntitySet _Driver_DriverReport;
@@ -363028,7 +363392,6 @@ namespace Model
this._DCGL_Check_CheckInfo_CheckTeam = new EntitySet(new Action(this.attach_DCGL_Check_CheckInfo_CheckTeam), new Action(this.detach_DCGL_Check_CheckInfo_CheckTeam));
this._DCGL_Check_CheckInfo = new EntitySet(new Action(this.attach_DCGL_Check_CheckInfo), new Action(this.detach_DCGL_Check_CheckInfo));
this._Doc_DocManage = new EntitySet(new Action(this.attach_Doc_DocManage), new Action(this.detach_Doc_DocManage));
- this._Doc_DocManageApprove = new EntitySet(new Action(this.attach_Doc_DocManageApprove), new Action(this.detach_Doc_DocManageApprove));
this._Driver_DriverProgress = new EntitySet(new Action(this.attach_Driver_DriverProgress), new Action(this.detach_Driver_DriverProgress));
this._Driver_DriverReport = new EntitySet(new Action(this.attach_Driver_DriverReport), new Action(this.detach_Driver_DriverReport));
this._Driver_DriverScheme = new EntitySet(new Action(this.attach_Driver_DriverScheme), new Action(this.detach_Driver_DriverScheme));
@@ -365518,19 +365881,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManageApprove_Sys_User", Storage="_Doc_DocManageApprove", ThisKey="UserId", OtherKey="ApproveMan", DeleteRule="NO ACTION")]
- public EntitySet Doc_DocManageApprove
- {
- get
- {
- return this._Doc_DocManageApprove;
- }
- set
- {
- this._Doc_DocManageApprove.Assign(value);
- }
- }
-
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Driver_DriverProgress_Sys_User", Storage="_Driver_DriverProgress", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet Driver_DriverProgress
{
@@ -370149,18 +370499,6 @@ namespace Model
entity.Sys_User = null;
}
- private void attach_Doc_DocManageApprove(Doc_DocManageApprove entity)
- {
- this.SendPropertyChanging();
- entity.Sys_User = this;
- }
-
- private void detach_Doc_DocManageApprove(Doc_DocManageApprove entity)
- {
- this.SendPropertyChanging();
- entity.Sys_User = null;
- }
-
private void attach_Driver_DriverProgress(Driver_DriverProgress entity)
{
this.SendPropertyChanging();