diff --git a/.gitignore b/.gitignore
index cbb2dad..8fb8373 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1068,3 +1068,5 @@ EProject/WebApi/obj/Release/WebApi.pdb
/EProject/FineUIPro.Web/ErrLog.txt
/DataBase
/EProject.rar
+/EProject/Model/Model.cs
+/EProject/FineUIPro.Web/Web.config
diff --git a/EProject/FineUIPro.Web/Web.config b/EProject/FineUIPro.Web/Web.config
deleted file mode 100644
index 20e8c89..0000000
--- a/EProject/FineUIPro.Web/Web.config
+++ /dev/null
@@ -1,169 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/EProject/Model/Model.cs b/EProject/Model/Model.cs
deleted file mode 100644
index dd82008..0000000
--- a/EProject/Model/Model.cs
+++ /dev/null
@@ -1,36258 +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 EProjectDB : 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 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 InsertBase_ActType(Base_ActType instance);
- partial void UpdateBase_ActType(Base_ActType instance);
- partial void DeleteBase_ActType(Base_ActType instance);
- partial void InsertBase_Const(Base_Const instance);
- partial void UpdateBase_Const(Base_Const instance);
- partial void DeleteBase_Const(Base_Const instance);
- partial void InsertBase_Contractor(Base_Contractor instance);
- partial void UpdateBase_Contractor(Base_Contractor instance);
- partial void DeleteBase_Contractor(Base_Contractor 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_DisciplinesWBS(Base_DisciplinesWBS instance);
- partial void UpdateBase_DisciplinesWBS(Base_DisciplinesWBS instance);
- partial void DeleteBase_DisciplinesWBS(Base_DisciplinesWBS instance);
- partial void InsertBase_HyperLinkSet(Base_HyperLinkSet instance);
- partial void UpdateBase_HyperLinkSet(Base_HyperLinkSet instance);
- partial void DeleteBase_HyperLinkSet(Base_HyperLinkSet instance);
- partial void InsertDesign_Input(Design_Input instance);
- partial void UpdateDesign_Input(Design_Input instance);
- partial void DeleteDesign_Input(Design_Input instance);
- partial void InsertDesign_Notice(Design_Notice instance);
- partial void UpdateDesign_Notice(Design_Notice instance);
- partial void DeleteDesign_Notice(Design_Notice instance);
- partial void InsertDesign_NoticeFlow(Design_NoticeFlow instance);
- partial void UpdateDesign_NoticeFlow(Design_NoticeFlow instance);
- partial void DeleteDesign_NoticeFlow(Design_NoticeFlow instance);
- partial void InsertDesign_Rect_Init(Design_Rect_Init instance);
- partial void UpdateDesign_Rect_Init(Design_Rect_Init instance);
- partial void DeleteDesign_Rect_Init(Design_Rect_Init instance);
- partial void InsertEditor_AreaConcern(Editor_AreaConcern instance);
- partial void UpdateEditor_AreaConcern(Editor_AreaConcern instance);
- partial void DeleteEditor_AreaConcern(Editor_AreaConcern instance);
- partial void InsertEditor_CM_HTD(Editor_CM_HTD instance);
- partial void UpdateEditor_CM_HTD(Editor_CM_HTD instance);
- partial void DeleteEditor_CM_HTD(Editor_CM_HTD instance);
- partial void InsertEditor_CostReport(Editor_CostReport instance);
- partial void UpdateEditor_CostReport(Editor_CostReport instance);
- partial void DeleteEditor_CostReport(Editor_CostReport instance);
- partial void InsertEditor_EProject(Editor_EProject instance);
- partial void UpdateEditor_EProject(Editor_EProject instance);
- partial void DeleteEditor_EProject(Editor_EProject instance);
- partial void InsertEditor_FCRLog(Editor_FCRLog instance);
- partial void UpdateEditor_FCRLog(Editor_FCRLog instance);
- partial void DeleteEditor_FCRLog(Editor_FCRLog instance);
- partial void InsertEditor_LessonsLearned(Editor_LessonsLearned instance);
- partial void UpdateEditor_LessonsLearned(Editor_LessonsLearned instance);
- partial void DeleteEditor_LessonsLearned(Editor_LessonsLearned instance);
- partial void InsertEditor_PM(Editor_PM instance);
- partial void UpdateEditor_PM(Editor_PM instance);
- partial void DeleteEditor_PM(Editor_PM instance);
- partial void InsertEditor_Punch(Editor_Punch instance);
- partial void UpdateEditor_Punch(Editor_Punch instance);
- partial void DeleteEditor_Punch(Editor_Punch instance);
- partial void InsertEditor_TDC(Editor_TDC instance);
- partial void UpdateEditor_TDC(Editor_TDC instance);
- partial void DeleteEditor_TDC(Editor_TDC instance);
- partial void InsertEmail_Params(Email_Params instance);
- partial void UpdateEmail_Params(Email_Params instance);
- partial void DeleteEmail_Params(Email_Params instance);
- partial void InsertEmail_Pop(Email_Pop instance);
- partial void UpdateEmail_Pop(Email_Pop instance);
- partial void DeleteEmail_Pop(Email_Pop instance);
- partial void InsertEmail_SendLog(Email_SendLog instance);
- partial void UpdateEmail_SendLog(Email_SendLog instance);
- partial void DeleteEmail_SendLog(Email_SendLog instance);
- partial void InsertEmail_SendTemplate(Email_SendTemplate instance);
- partial void UpdateEmail_SendTemplate(Email_SendTemplate instance);
- partial void DeleteEmail_SendTemplate(Email_SendTemplate instance);
- partial void InsertEmail_ToPeople(Email_ToPeople instance);
- partial void UpdateEmail_ToPeople(Email_ToPeople instance);
- partial void DeleteEmail_ToPeople(Email_ToPeople instance);
- partial void InsertFile_Template(File_Template instance);
- partial void UpdateFile_Template(File_Template instance);
- partial void DeleteFile_Template(File_Template instance);
- partial void InsertFile_UserGuideAndQA(File_UserGuideAndQA instance);
- partial void UpdateFile_UserGuideAndQA(File_UserGuideAndQA instance);
- partial void DeleteFile_UserGuideAndQA(File_UserGuideAndQA instance);
- partial void InsertManHours_Actual(ManHours_Actual instance);
- partial void UpdateManHours_Actual(ManHours_Actual instance);
- partial void DeleteManHours_Actual(ManHours_Actual instance);
- partial void InsertManHours_Plan(ManHours_Plan instance);
- partial void UpdateManHours_Plan(ManHours_Plan instance);
- partial void DeleteManHours_Plan(ManHours_Plan instance);
- partial void InsertManHours_PlanDetail(ManHours_PlanDetail instance);
- partial void UpdateManHours_PlanDetail(ManHours_PlanDetail instance);
- partial void DeleteManHours_PlanDetail(ManHours_PlanDetail instance);
- partial void InsertManHours_PlanManHours(ManHours_PlanManHours instance);
- partial void UpdateManHours_PlanManHours(ManHours_PlanManHours instance);
- partial void DeleteManHours_PlanManHours(ManHours_PlanManHours instance);
- partial void InsertResource_Plan(Resource_Plan instance);
- partial void UpdateResource_Plan(Resource_Plan instance);
- partial void DeleteResource_Plan(Resource_Plan instance);
- partial void InsertResource_PlanDetail(Resource_PlanDetail instance);
- partial void UpdateResource_PlanDetail(Resource_PlanDetail instance);
- partial void DeleteResource_PlanDetail(Resource_PlanDetail instance);
- partial void InsertSyncDataUserLogs(SyncDataUserLogs instance);
- partial void UpdateSyncDataUserLogs(SyncDataUserLogs instance);
- partial void DeleteSyncDataUserLogs(SyncDataUserLogs instance);
- partial void InsertSys_ActualManHourMonthSet(Sys_ActualManHourMonthSet instance);
- partial void UpdateSys_ActualManHourMonthSet(Sys_ActualManHourMonthSet instance);
- partial void DeleteSys_ActualManHourMonthSet(Sys_ActualManHourMonthSet 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_ButtonToMenu(Sys_ButtonToMenu instance);
- partial void UpdateSys_ButtonToMenu(Sys_ButtonToMenu instance);
- partial void DeleteSys_ButtonToMenu(Sys_ButtonToMenu 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_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_Set(Sys_Set instance);
- partial void UpdateSys_Set(Sys_Set instance);
- partial void DeleteSys_Set(Sys_Set 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);
- #endregion
-
- public EProjectDB(string connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public EProjectDB(System.Data.IDbConnection connection) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public EProjectDB(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- public EProjectDB(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) :
- base(connection, mappingSource)
- {
- OnCreated();
- }
-
- 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 Base_ActType
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Base_Const
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Base_Contractor
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Base_Depart
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Base_DisciplinesWBS
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Base_HyperLinkSet
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Design_Input
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Design_Notice
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Design_NoticeFlow
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Design_Rect_Init
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_AreaConcern
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_CM_HTD
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_CostReport
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_EProject
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_FCRLog
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_LessonsLearned
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_PM
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_Punch
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Editor_TDC
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Email_Params
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Email_Pop
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Email_SendLog
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Email_SendTemplate
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Email_ToPeople
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table File_Template
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table File_UserGuideAndQA
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table ManHours_Actual
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table ManHours_Plan
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table ManHours_PlanDetail
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table ManHours_PlanManHours
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table OriginDatas
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Resource_Plan
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Resource_PlanDetail
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table SyncDataUserLogs
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Sys_ActualManHourMonthSet
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Sys_ButtonPower
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Sys_ButtonToMenu
- {
- 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_Role
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Sys_RolePower
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table Sys_Set
- {
- 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 View_ConcernReport
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Disciplines
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_EprojectAPI
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_FCR_Report
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_GaReport_ScheduleGanttBar
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_HomePage_Permits
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_InDetailedDesign_GetCivil
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_InDetailedDesign_GetMechEI
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Job_List
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_ManHours_Actual
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_ManHours_Plan
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_ManHours_PlanDetail
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_NewManHours_Plan
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Project_Closure_Report
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_ProjectListReport
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Punch
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_DocumentationStatusIFC
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_DocumentationStatusMC
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_DocumentationStatusMC_OUT
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_DocumentationTakeoverReport
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table VIEW_Report_Overview
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_Permit_PressurePipingVesse
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_PermitGeneral
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_ProjectCostReport
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_Rolesview
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Report_ScheduleGanttBar
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Resource_PlanDetai
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_ResourceDisc
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_ResourcePlanDetailWBS
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_ScheduleDate
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_Sys_Users
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_TDCDiscValue
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_UserDepartDropDownList
- {
- get
- {
- return this.GetTable();
- }
- }
-
- public System.Data.Linq.Table View_UserDropDownList
- {
- get
- {
- return this.GetTable();
- }
- }
- }
-
- [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.Base_ActType")]
- public partial class Base_ActType : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private string _ActTypeId;
-
- private string _ActType;
-
- private string _Remark;
-
- #region 可扩展性方法定义
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnActTypeIdChanging(string value);
- partial void OnActTypeIdChanged();
- partial void OnActTypeChanging(string value);
- partial void OnActTypeChanged();
- partial void OnRemarkChanging(string value);
- partial void OnRemarkChanged();
- #endregion
-
- public Base_ActType()
- {
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActTypeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
- public string ActTypeId
- {
- get
- {
- return this._ActTypeId;
- }
- set
- {
- if ((this._ActTypeId != value))
- {
- this.OnActTypeIdChanging(value);
- this.SendPropertyChanging();
- this._ActTypeId = value;
- this.SendPropertyChanged("ActTypeId");
- this.OnActTypeIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActType", DbType="NVarChar(50)")]
- public string ActType
- {
- get
- {
- return this._ActType;
- }
- set
- {
- if ((this._ActType != value))
- {
- this.OnActTypeChanging(value);
- this.SendPropertyChanging();
- this._ActType = value;
- this.SendPropertyChanged("ActType");
- this.OnActTypeChanged();
- }
- }
- }
-
- [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.Base_Const")]
- public partial class Base_Const : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private string _ConstId;
-
- private string _ConstValue;
-
- private string _ConstText;
-
- private string _GroupId;
-
- private EntitySet _Editor_AreaConcern;
-
- private EntitySet _Editor_FCRLog;
-
- private EntitySet _Const;
-
- private EntitySet _Editor_FCRLog_Base_Const2;
-
- private EntitySet _Editor_Punch;
-
- private EntitySet _Editor_Punch_Base_Const1;
-
- #region 可扩展性方法定义
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnConstIdChanging(string value);
- partial void OnConstIdChanged();
- partial void OnConstValueChanging(string value);
- partial void OnConstValueChanged();
- partial void OnConstTextChanging(string value);
- partial void OnConstTextChanged();
- partial void OnGroupIdChanging(string value);
- partial void OnGroupIdChanged();
- #endregion
-
- public Base_Const()
- {
- this._Editor_AreaConcern = new EntitySet(new Action(this.attach_Editor_AreaConcern), new Action(this.detach_Editor_AreaConcern));
- this._Editor_FCRLog = new EntitySet(new Action(this.attach_Editor_FCRLog), new Action(this.detach_Editor_FCRLog));
- this._Const = new EntitySet(new Action(this.attach_Const), new Action(this.detach_Const));
- this._Editor_FCRLog_Base_Const2 = new EntitySet(new Action(this.attach_Editor_FCRLog_Base_Const2), new Action(this.detach_Editor_FCRLog_Base_Const2));
- this._Editor_Punch = new EntitySet(new Action(this.attach_Editor_Punch), new Action(this.detach_Editor_Punch));
- this._Editor_Punch_Base_Const1 = new EntitySet(new Action(this.attach_Editor_Punch_Base_Const1), new Action(this.detach_Editor_Punch_Base_Const1));
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
- public string ConstId
- {
- get
- {
- return this._ConstId;
- }
- set
- {
- if ((this._ConstId != value))
- {
- this.OnConstIdChanging(value);
- this.SendPropertyChanging();
- this._ConstId = value;
- this.SendPropertyChanged("ConstId");
- this.OnConstIdChanged();
- }
- }
- }
-
- [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(50)")]
- 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="_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();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_AreaConcern_Base_Const", Storage="_Editor_AreaConcern", ThisKey="ConstId", OtherKey="CategoryCauseId", DeleteRule="NO ACTION")]
- public EntitySet Editor_AreaConcern
- {
- get
- {
- return this._Editor_AreaConcern;
- }
- set
- {
- this._Editor_AreaConcern.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const", Storage="_Editor_FCRLog", ThisKey="ConstId", OtherKey="CategoryId", DeleteRule="NO ACTION")]
- public EntitySet Editor_FCRLog
- {
- get
- {
- return this._Editor_FCRLog;
- }
- set
- {
- this._Editor_FCRLog.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const1", Storage="_Const", ThisKey="ConstId", OtherKey="CDIId", DeleteRule="NO ACTION")]
- public EntitySet Const
- {
- get
- {
- return this._Const;
- }
- set
- {
- this._Const.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_FCRLog_Base_Const2", Storage="_Editor_FCRLog_Base_Const2", ThisKey="ConstId", OtherKey="DisciplineId", DeleteRule="NO ACTION")]
- public EntitySet Editor_FCRLog_Base_Const2
- {
- get
- {
- return this._Editor_FCRLog_Base_Const2;
- }
- set
- {
- this._Editor_FCRLog_Base_Const2.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Base_Const", Storage="_Editor_Punch", ThisKey="ConstId", OtherKey="DisciplineId", DeleteRule="NO ACTION")]
- public EntitySet Editor_Punch
- {
- get
- {
- return this._Editor_Punch;
- }
- set
- {
- this._Editor_Punch.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_Punch_Base_Const1", Storage="_Editor_Punch_Base_Const1", ThisKey="ConstId", OtherKey="ClassId", DeleteRule="NO ACTION")]
- public EntitySet Editor_Punch_Base_Const1
- {
- get
- {
- return this._Editor_Punch_Base_Const1;
- }
- set
- {
- this._Editor_Punch_Base_Const1.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_Editor_AreaConcern(Editor_AreaConcern entity)
- {
- this.SendPropertyChanging();
- entity.Base_Const = this;
- }
-
- private void detach_Editor_AreaConcern(Editor_AreaConcern entity)
- {
- this.SendPropertyChanging();
- entity.Base_Const = null;
- }
-
- private void attach_Editor_FCRLog(Editor_FCRLog entity)
- {
- this.SendPropertyChanging();
- entity.Base_Const = this;
- }
-
- private void detach_Editor_FCRLog(Editor_FCRLog entity)
- {
- this.SendPropertyChanging();
- entity.Base_Const = null;
- }
-
- private void attach_Const(Editor_FCRLog entity)
- {
- this.SendPropertyChanging();
- entity.CDI = this;
- }
-
- private void detach_Const(Editor_FCRLog entity)
- {
- this.SendPropertyChanging();
- entity.CDI = null;
- }
-
- private void attach_Editor_FCRLog_Base_Const2(Editor_FCRLog entity)
- {
- this.SendPropertyChanging();
- entity.Discipline = this;
- }
-
- private void detach_Editor_FCRLog_Base_Const2(Editor_FCRLog entity)
- {
- this.SendPropertyChanging();
- entity.Discipline = null;
- }
-
- private void attach_Editor_Punch(Editor_Punch entity)
- {
- this.SendPropertyChanging();
- entity.Base_Const = this;
- }
-
- private void detach_Editor_Punch(Editor_Punch entity)
- {
- this.SendPropertyChanging();
- entity.Base_Const = null;
- }
-
- private void attach_Editor_Punch_Base_Const1(Editor_Punch entity)
- {
- this.SendPropertyChanging();
- entity.Class = this;
- }
-
- private void detach_Editor_Punch_Base_Const1(Editor_Punch entity)
- {
- this.SendPropertyChanging();
- entity.Class = null;
- }
- }
-
- [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_Contractor")]
- public partial class Base_Contractor : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private string _ContractorId;
-
- private string _ContractorName;
-
- private string _ContractorShortName;
-
- private string _Remark;
-
- private EntitySet _Editor_CM_HTD;
-
- #region 可扩展性方法定义
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnContractorIdChanging(string value);
- partial void OnContractorIdChanged();
- partial void OnContractorNameChanging(string value);
- partial void OnContractorNameChanged();
- partial void OnContractorShortNameChanging(string value);
- partial void OnContractorShortNameChanged();
- partial void OnRemarkChanging(string value);
- partial void OnRemarkChanged();
- #endregion
-
- public Base_Contractor()
- {
- this._Editor_CM_HTD = new EntitySet(new Action(this.attach_Editor_CM_HTD), new Action(this.detach_Editor_CM_HTD));
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
- public string ContractorId
- {
- get
- {
- return this._ContractorId;
- }
- set
- {
- if ((this._ContractorId != value))
- {
- this.OnContractorIdChanging(value);
- this.SendPropertyChanging();
- this._ContractorId = value;
- this.SendPropertyChanged("ContractorId");
- this.OnContractorIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorName", DbType="NVarChar(150)")]
- public string ContractorName
- {
- get
- {
- return this._ContractorName;
- }
- set
- {
- if ((this._ContractorName != value))
- {
- this.OnContractorNameChanging(value);
- this.SendPropertyChanging();
- this._ContractorName = value;
- this.SendPropertyChanged("ContractorName");
- this.OnContractorNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorShortName", DbType="NVarChar(50)")]
- public string ContractorShortName
- {
- get
- {
- return this._ContractorShortName;
- }
- set
- {
- if ((this._ContractorShortName != value))
- {
- this.OnContractorShortNameChanging(value);
- this.SendPropertyChanging();
- this._ContractorShortName = value;
- this.SendPropertyChanged("ContractorShortName");
- this.OnContractorShortNameChanged();
- }
- }
- }
-
- [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_Editor_CM_HTD_Base_Contractor", Storage="_Editor_CM_HTD", ThisKey="ContractorId", OtherKey="ContractorId", DeleteRule="NO ACTION")]
- public EntitySet Editor_CM_HTD
- {
- get
- {
- return this._Editor_CM_HTD;
- }
- set
- {
- this._Editor_CM_HTD.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_Editor_CM_HTD(Editor_CM_HTD entity)
- {
- this.SendPropertyChanging();
- entity.Base_Contractor = this;
- }
-
- private void detach_Editor_CM_HTD(Editor_CM_HTD entity)
- {
- this.SendPropertyChanging();
- entity.Base_Contractor = null;
- }
- }
-
- [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 _Remark;
-
- private string _SupCheckItem;
-
- private string _DepartLeader;
-
- 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 OnRemarkChanging(string value);
- partial void OnRemarkChanged();
- partial void OnSupCheckItemChanging(string value);
- partial void OnSupCheckItemChanged();
- partial void OnDepartLeaderChanging(string value);
- partial void OnDepartLeaderChanged();
- #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="_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="_SupCheckItem", DbType="NVarChar(50)")]
- public string SupCheckItem
- {
- get
- {
- return this._SupCheckItem;
- }
- set
- {
- if ((this._SupCheckItem != value))
- {
- this.OnSupCheckItemChanging(value);
- this.SendPropertyChanging();
- this._SupCheckItem = value;
- this.SendPropertyChanged("SupCheckItem");
- this.OnSupCheckItemChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartLeader", DbType="NVarChar(50)")]
- public string DepartLeader
- {
- get
- {
- return this._DepartLeader;
- }
- set
- {
- if ((this._DepartLeader != value))
- {
- this.OnDepartLeaderChanging(value);
- this.SendPropertyChanging();
- this._DepartLeader = value;
- this.SendPropertyChanged("DepartLeader");
- this.OnDepartLeaderChanged();
- }
- }
- }
-
- [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_DisciplinesWBS")]
- public partial class Base_DisciplinesWBS : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private string _DisciplinesWBSId;
-
- private string _DisciplinesWBSCode;
-
- private string _DisciplinesWBSName;
-
- private string _WBS;
-
- private string _DepartId;
-
- private string _DepartName;
-
- private string _NetworkOper;
-
- private string _WorkorderOper;
-
- private string _Designer;
-
- private string _Checker;
-
- private string _Approver;
-
- private string _Leader;
-
- private string _Roles;
-
- private string _Remark;
-
- private string _Type;
-
- private string _NetworkOper1;
-
- #region 可扩展性方法定义
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnDisciplinesWBSIdChanging(string value);
- partial void OnDisciplinesWBSIdChanged();
- partial void OnDisciplinesWBSCodeChanging(string value);
- partial void OnDisciplinesWBSCodeChanged();
- partial void OnDisciplinesWBSNameChanging(string value);
- partial void OnDisciplinesWBSNameChanged();
- partial void OnWBSChanging(string value);
- partial void OnWBSChanged();
- partial void OnDepartIdChanging(string value);
- partial void OnDepartIdChanged();
- partial void OnDepartNameChanging(string value);
- partial void OnDepartNameChanged();
- partial void OnNetworkOperChanging(string value);
- partial void OnNetworkOperChanged();
- partial void OnWorkorderOperChanging(string value);
- partial void OnWorkorderOperChanged();
- partial void OnDesignerChanging(string value);
- partial void OnDesignerChanged();
- partial void OnCheckerChanging(string value);
- partial void OnCheckerChanged();
- partial void OnApproverChanging(string value);
- partial void OnApproverChanged();
- partial void OnLeaderChanging(string value);
- partial void OnLeaderChanged();
- partial void OnRolesChanging(string value);
- partial void OnRolesChanged();
- partial void OnRemarkChanging(string value);
- partial void OnRemarkChanged();
- partial void OnTypeChanging(string value);
- partial void OnTypeChanged();
- partial void OnNetworkOper1Changing(string value);
- partial void OnNetworkOper1Changed();
- #endregion
-
- public Base_DisciplinesWBS()
- {
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
- public string DisciplinesWBSId
- {
- get
- {
- return this._DisciplinesWBSId;
- }
- set
- {
- if ((this._DisciplinesWBSId != value))
- {
- this.OnDisciplinesWBSIdChanging(value);
- this.SendPropertyChanging();
- this._DisciplinesWBSId = value;
- this.SendPropertyChanged("DisciplinesWBSId");
- this.OnDisciplinesWBSIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSCode", DbType="NVarChar(50)")]
- public string DisciplinesWBSCode
- {
- get
- {
- return this._DisciplinesWBSCode;
- }
- set
- {
- if ((this._DisciplinesWBSCode != value))
- {
- this.OnDisciplinesWBSCodeChanging(value);
- this.SendPropertyChanging();
- this._DisciplinesWBSCode = value;
- this.SendPropertyChanged("DisciplinesWBSCode");
- this.OnDisciplinesWBSCodeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSName", DbType="NVarChar(50)")]
- public string DisciplinesWBSName
- {
- get
- {
- return this._DisciplinesWBSName;
- }
- set
- {
- if ((this._DisciplinesWBSName != value))
- {
- this.OnDisciplinesWBSNameChanging(value);
- this.SendPropertyChanging();
- this._DisciplinesWBSName = value;
- this.SendPropertyChanged("DisciplinesWBSName");
- this.OnDisciplinesWBSNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WBS", DbType="NVarChar(50)")]
- public string WBS
- {
- get
- {
- return this._WBS;
- }
- set
- {
- if ((this._WBS != value))
- {
- this.OnWBSChanging(value);
- this.SendPropertyChanging();
- this._WBS = value;
- this.SendPropertyChanged("WBS");
- this.OnWBSChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")]
- 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="_DepartName", DbType="NVarChar(50)")]
- 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="_NetworkOper", DbType="NVarChar(50)")]
- public string NetworkOper
- {
- get
- {
- return this._NetworkOper;
- }
- set
- {
- if ((this._NetworkOper != value))
- {
- this.OnNetworkOperChanging(value);
- this.SendPropertyChanging();
- this._NetworkOper = value;
- this.SendPropertyChanged("NetworkOper");
- this.OnNetworkOperChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkorderOper", DbType="NVarChar(50)")]
- public string WorkorderOper
- {
- get
- {
- return this._WorkorderOper;
- }
- set
- {
- if ((this._WorkorderOper != value))
- {
- this.OnWorkorderOperChanging(value);
- this.SendPropertyChanging();
- this._WorkorderOper = value;
- this.SendPropertyChanged("WorkorderOper");
- this.OnWorkorderOperChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Designer", DbType="NVarChar(50)")]
- public string Designer
- {
- get
- {
- return this._Designer;
- }
- set
- {
- if ((this._Designer != value))
- {
- this.OnDesignerChanging(value);
- this.SendPropertyChanging();
- this._Designer = value;
- this.SendPropertyChanged("Designer");
- this.OnDesignerChanged();
- }
- }
- }
-
- [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="_Approver", DbType="NVarChar(50)")]
- public string Approver
- {
- get
- {
- return this._Approver;
- }
- set
- {
- if ((this._Approver != value))
- {
- this.OnApproverChanging(value);
- this.SendPropertyChanging();
- this._Approver = value;
- this.SendPropertyChanged("Approver");
- this.OnApproverChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Leader", DbType="NVarChar(50)")]
- public string Leader
- {
- get
- {
- return this._Leader;
- }
- set
- {
- if ((this._Leader != value))
- {
- this.OnLeaderChanging(value);
- this.SendPropertyChanging();
- this._Leader = value;
- this.SendPropertyChanged("Leader");
- this.OnLeaderChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Roles", DbType="NVarChar(50)")]
- public string Roles
- {
- get
- {
- return this._Roles;
- }
- set
- {
- if ((this._Roles != value))
- {
- this.OnRolesChanging(value);
- this.SendPropertyChanging();
- this._Roles = value;
- this.SendPropertyChanged("Roles");
- this.OnRolesChanged();
- }
- }
- }
-
- [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="_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="_NetworkOper1", DbType="NVarChar(50)")]
- public string NetworkOper1
- {
- get
- {
- return this._NetworkOper1;
- }
- set
- {
- if ((this._NetworkOper1 != value))
- {
- this.OnNetworkOper1Changing(value);
- this.SendPropertyChanging();
- this._NetworkOper1 = value;
- this.SendPropertyChanged("NetworkOper1");
- this.OnNetworkOper1Changed();
- }
- }
- }
-
- 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_HyperLinkSet")]
- public partial class Base_HyperLinkSet : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private string _HyperLinkId;
-
- private string _HyperLinkName;
-
- private string _HyperLinkUrl;
-
- private string _Remark;
-
- #region 可扩展性方法定义
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnHyperLinkIdChanging(string value);
- partial void OnHyperLinkIdChanged();
- partial void OnHyperLinkNameChanging(string value);
- partial void OnHyperLinkNameChanged();
- partial void OnHyperLinkUrlChanging(string value);
- partial void OnHyperLinkUrlChanged();
- partial void OnRemarkChanging(string value);
- partial void OnRemarkChanged();
- #endregion
-
- public Base_HyperLinkSet()
- {
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HyperLinkId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
- public string HyperLinkId
- {
- get
- {
- return this._HyperLinkId;
- }
- set
- {
- if ((this._HyperLinkId != value))
- {
- this.OnHyperLinkIdChanging(value);
- this.SendPropertyChanging();
- this._HyperLinkId = value;
- this.SendPropertyChanged("HyperLinkId");
- this.OnHyperLinkIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HyperLinkName", DbType="NVarChar(100)")]
- public string HyperLinkName
- {
- get
- {
- return this._HyperLinkName;
- }
- set
- {
- if ((this._HyperLinkName != value))
- {
- this.OnHyperLinkNameChanging(value);
- this.SendPropertyChanging();
- this._HyperLinkName = value;
- this.SendPropertyChanged("HyperLinkName");
- this.OnHyperLinkNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HyperLinkUrl", DbType="NVarChar(150)")]
- public string HyperLinkUrl
- {
- get
- {
- return this._HyperLinkUrl;
- }
- set
- {
- if ((this._HyperLinkUrl != value))
- {
- this.OnHyperLinkUrlChanging(value);
- this.SendPropertyChanging();
- this._HyperLinkUrl = value;
- this.SendPropertyChanged("HyperLinkUrl");
- this.OnHyperLinkUrlChanged();
- }
- }
- }
-
- [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.Design_Input")]
- public partial class Design_Input : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private string _DesignInputId;
-
- private System.Nullable _DesignRectId;
-
- private string _EProjectId;
-
- private string _DesignInputChName;
-
- private string _DesignInputEnName;
-
- private string _DesignInputNo;
-
- private string _IssuedDiscipline;
-
- private string _IssuedDisciplineCode;
-
- private string _ReceivedDiscipline;
-
- private string _IssuedMan;
-
- private string _ReceivedMan;
-
- private System.Nullable _PlanStartDate;
-
- private System.Nullable _PlanEndDate;
-
- private System.Nullable _ActStartDate;
-
- private System.Nullable _ActEndDate;
-
- private System.Nullable _IsComplete;
-
- private string _ReceivedDisciplineCode;
-
- private System.Nullable _MailIsWarn;
-
- private EntityRef _Design_Rect_Init;
-
- private EntityRef _Editor_EProject;
-
- private EntityRef _Sys_User;
-
- private EntityRef _ReceivedManSys_User;
-
- private EntitySet _Design_Notice;
-
- #region 可扩展性方法定义
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnDesignInputIdChanging(string value);
- partial void OnDesignInputIdChanged();
- partial void OnDesignRectIdChanging(System.Nullable value);
- partial void OnDesignRectIdChanged();
- partial void OnEProjectIdChanging(string value);
- partial void OnEProjectIdChanged();
- partial void OnDesignInputChNameChanging(string value);
- partial void OnDesignInputChNameChanged();
- partial void OnDesignInputEnNameChanging(string value);
- partial void OnDesignInputEnNameChanged();
- partial void OnDesignInputNoChanging(string value);
- partial void OnDesignInputNoChanged();
- partial void OnIssuedDisciplineChanging(string value);
- partial void OnIssuedDisciplineChanged();
- partial void OnIssuedDisciplineCodeChanging(string value);
- partial void OnIssuedDisciplineCodeChanged();
- partial void OnReceivedDisciplineChanging(string value);
- partial void OnReceivedDisciplineChanged();
- partial void OnIssuedManChanging(string value);
- partial void OnIssuedManChanged();
- partial void OnReceivedManChanging(string value);
- partial void OnReceivedManChanged();
- partial void OnPlanStartDateChanging(System.Nullable value);
- partial void OnPlanStartDateChanged();
- partial void OnPlanEndDateChanging(System.Nullable value);
- partial void OnPlanEndDateChanged();
- partial void OnActStartDateChanging(System.Nullable value);
- partial void OnActStartDateChanged();
- partial void OnActEndDateChanging(System.Nullable value);
- partial void OnActEndDateChanged();
- partial void OnIsCompleteChanging(System.Nullable value);
- partial void OnIsCompleteChanged();
- partial void OnReceivedDisciplineCodeChanging(string value);
- partial void OnReceivedDisciplineCodeChanged();
- partial void OnMailIsWarnChanging(System.Nullable value);
- partial void OnMailIsWarnChanged();
- #endregion
-
- public Design_Input()
- {
- this._Design_Rect_Init = default(EntityRef);
- this._Editor_EProject = default(EntityRef);
- this._Sys_User = default(EntityRef);
- this._ReceivedManSys_User = default(EntityRef);
- this._Design_Notice = new EntitySet(new Action(this.attach_Design_Notice), new Action(this.detach_Design_Notice));
- OnCreated();
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
- public string DesignInputId
- {
- get
- {
- return this._DesignInputId;
- }
- set
- {
- if ((this._DesignInputId != value))
- {
- this.OnDesignInputIdChanging(value);
- this.SendPropertyChanging();
- this._DesignInputId = value;
- this.SendPropertyChanged("DesignInputId");
- this.OnDesignInputIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignRectId", DbType="Int")]
- public System.Nullable DesignRectId
- {
- get
- {
- return this._DesignRectId;
- }
- set
- {
- if ((this._DesignRectId != value))
- {
- if (this._Design_Rect_Init.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnDesignRectIdChanging(value);
- this.SendPropertyChanging();
- this._DesignRectId = value;
- this.SendPropertyChanged("DesignRectId");
- this.OnDesignRectIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")]
- public string EProjectId
- {
- get
- {
- return this._EProjectId;
- }
- set
- {
- if ((this._EProjectId != value))
- {
- if (this._Editor_EProject.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnEProjectIdChanging(value);
- this.SendPropertyChanging();
- this._EProjectId = value;
- this.SendPropertyChanged("EProjectId");
- this.OnEProjectIdChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputChName", DbType="NVarChar(100)")]
- public string DesignInputChName
- {
- get
- {
- return this._DesignInputChName;
- }
- set
- {
- if ((this._DesignInputChName != value))
- {
- this.OnDesignInputChNameChanging(value);
- this.SendPropertyChanging();
- this._DesignInputChName = value;
- this.SendPropertyChanged("DesignInputChName");
- this.OnDesignInputChNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputEnName", DbType="NVarChar(100)")]
- public string DesignInputEnName
- {
- get
- {
- return this._DesignInputEnName;
- }
- set
- {
- if ((this._DesignInputEnName != value))
- {
- this.OnDesignInputEnNameChanging(value);
- this.SendPropertyChanging();
- this._DesignInputEnName = value;
- this.SendPropertyChanged("DesignInputEnName");
- this.OnDesignInputEnNameChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignInputNo", DbType="NVarChar(100)")]
- public string DesignInputNo
- {
- get
- {
- return this._DesignInputNo;
- }
- set
- {
- if ((this._DesignInputNo != value))
- {
- this.OnDesignInputNoChanging(value);
- this.SendPropertyChanging();
- this._DesignInputNo = value;
- this.SendPropertyChanged("DesignInputNo");
- this.OnDesignInputNoChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedDiscipline", DbType="NVarChar(50)")]
- public string IssuedDiscipline
- {
- get
- {
- return this._IssuedDiscipline;
- }
- set
- {
- if ((this._IssuedDiscipline != value))
- {
- this.OnIssuedDisciplineChanging(value);
- this.SendPropertyChanging();
- this._IssuedDiscipline = value;
- this.SendPropertyChanged("IssuedDiscipline");
- this.OnIssuedDisciplineChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedDisciplineCode", DbType="NVarChar(50)")]
- public string IssuedDisciplineCode
- {
- get
- {
- return this._IssuedDisciplineCode;
- }
- set
- {
- if ((this._IssuedDisciplineCode != value))
- {
- this.OnIssuedDisciplineCodeChanging(value);
- this.SendPropertyChanging();
- this._IssuedDisciplineCode = value;
- this.SendPropertyChanged("IssuedDisciplineCode");
- this.OnIssuedDisciplineCodeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivedDiscipline", DbType="NVarChar(50)")]
- public string ReceivedDiscipline
- {
- get
- {
- return this._ReceivedDiscipline;
- }
- set
- {
- if ((this._ReceivedDiscipline != value))
- {
- this.OnReceivedDisciplineChanging(value);
- this.SendPropertyChanging();
- this._ReceivedDiscipline = value;
- this.SendPropertyChanged("ReceivedDiscipline");
- this.OnReceivedDisciplineChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssuedMan", DbType="NVarChar(50)")]
- public string IssuedMan
- {
- get
- {
- return this._IssuedMan;
- }
- set
- {
- if ((this._IssuedMan != value))
- {
- if (this._Sys_User.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnIssuedManChanging(value);
- this.SendPropertyChanging();
- this._IssuedMan = value;
- this.SendPropertyChanged("IssuedMan");
- this.OnIssuedManChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceivedMan", DbType="NVarChar(50)")]
- public string ReceivedMan
- {
- get
- {
- return this._ReceivedMan;
- }
- set
- {
- if ((this._ReceivedMan != value))
- {
- if (this._ReceivedManSys_User.HasLoadedOrAssignedValue)
- {
- throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
- }
- this.OnReceivedManChanging(value);
- this.SendPropertyChanging();
- this._ReceivedMan = value;
- this.SendPropertyChanged("ReceivedMan");
- this.OnReceivedManChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanStartDate", DbType="DateTime")]
- public System.Nullable PlanStartDate
- {
- get
- {
- return this._PlanStartDate;
- }
- set
- {
- if ((this._PlanStartDate != value))
- {
- this.OnPlanStartDateChanging(value);
- this.SendPropertyChanging();
- this._PlanStartDate = value;
- this.SendPropertyChanged("PlanStartDate");
- this.OnPlanStartDateChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanEndDate", DbType="DateTime")]
- public System.Nullable PlanEndDate
- {
- get
- {
- return this._PlanEndDate;
- }
- set
- {
- if ((this._PlanEndDate != value))
- {
- this.OnPlanEndDateChanging(value);
- this.SendPropertyChanging();
- this._PlanEndDate = value;
- this.SendPropertyChanged("PlanEndDate");
- this.OnPlanEndDateChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActStartDate", DbType="DateTime")]
- public System.Nullable ActStartDate
- {
- get
- {
- return this._ActStartDate;
- }
- set
- {
- if ((this._ActStartDate != value))
- {
- this.OnActStartDateChanging(value);
- this.SendPropertyChanging();
- this._ActStartDate = value;
- this.SendPropertyChanged("ActStartDate");
- this.OnActStartDateChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ActEndDate", DbType="DateTime")]
- public System.Nullable ActEndDate
- {
- get
- {
- return this._ActEndDate;
- }
- set
- {
- if ((this._ActEndDate != value))
- {
- this.OnActEndDateChanging(value);
- this.SendPropertyChanging();
- this._ActEndDate = value;
- this.SendPropertyChanged("ActEndDate");
- this.OnActEndDateChanged();
- }
- }
- }
-
- [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="_ReceivedDisciplineCode", DbType="NVarChar(50)")]
- public string ReceivedDisciplineCode
- {
- get
- {
- return this._ReceivedDisciplineCode;
- }
- set
- {
- if ((this._ReceivedDisciplineCode != value))
- {
- this.OnReceivedDisciplineCodeChanging(value);
- this.SendPropertyChanging();
- this._ReceivedDisciplineCode = value;
- this.SendPropertyChanged("ReceivedDisciplineCode");
- this.OnReceivedDisciplineCodeChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MailIsWarn", DbType="Bit")]
- public System.Nullable MailIsWarn
- {
- get
- {
- return this._MailIsWarn;
- }
- set
- {
- if ((this._MailIsWarn != value))
- {
- this.OnMailIsWarnChanging(value);
- this.SendPropertyChanging();
- this._MailIsWarn = value;
- this.SendPropertyChanged("MailIsWarn");
- this.OnMailIsWarnChanged();
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Design_Rect_Init", Storage="_Design_Rect_Init", ThisKey="DesignRectId", OtherKey="DesignRectId", IsForeignKey=true)]
- public Design_Rect_Init Design_Rect_Init
- {
- get
- {
- return this._Design_Rect_Init.Entity;
- }
- set
- {
- Design_Rect_Init previousValue = this._Design_Rect_Init.Entity;
- if (((previousValue != value)
- || (this._Design_Rect_Init.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Design_Rect_Init.Entity = null;
- previousValue.Design_Input.Remove(this);
- }
- this._Design_Rect_Init.Entity = value;
- if ((value != null))
- {
- value.Design_Input.Add(this);
- this._DesignRectId = value.DesignRectId;
- }
- else
- {
- this._DesignRectId = default(Nullable);
- }
- this.SendPropertyChanged("Design_Rect_Init");
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)]
- public Editor_EProject Editor_EProject
- {
- get
- {
- return this._Editor_EProject.Entity;
- }
- set
- {
- Editor_EProject previousValue = this._Editor_EProject.Entity;
- if (((previousValue != value)
- || (this._Editor_EProject.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._Editor_EProject.Entity = null;
- previousValue.Design_Input.Remove(this);
- }
- this._Editor_EProject.Entity = value;
- if ((value != null))
- {
- value.Design_Input.Add(this);
- this._EProjectId = value.EProjectId;
- }
- else
- {
- this._EProjectId = default(string);
- }
- this.SendPropertyChanged("Editor_EProject");
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Sys_User", Storage="_Sys_User", ThisKey="IssuedMan", 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.Design_Input.Remove(this);
- }
- this._Sys_User.Entity = value;
- if ((value != null))
- {
- value.Design_Input.Add(this);
- this._IssuedMan = value.UserId;
- }
- else
- {
- this._IssuedMan = default(string);
- }
- this.SendPropertyChanged("Sys_User");
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Input_Sys_User1", Storage="_ReceivedManSys_User", ThisKey="ReceivedMan", OtherKey="UserId", IsForeignKey=true)]
- public Sys_User ReceivedManSys_User
- {
- get
- {
- return this._ReceivedManSys_User.Entity;
- }
- set
- {
- Sys_User previousValue = this._ReceivedManSys_User.Entity;
- if (((previousValue != value)
- || (this._ReceivedManSys_User.HasLoadedOrAssignedValue == false)))
- {
- this.SendPropertyChanging();
- if ((previousValue != null))
- {
- this._ReceivedManSys_User.Entity = null;
- previousValue.User.Remove(this);
- }
- this._ReceivedManSys_User.Entity = value;
- if ((value != null))
- {
- value.User.Add(this);
- this._ReceivedMan = value.UserId;
- }
- else
- {
- this._ReceivedMan = default(string);
- }
- this.SendPropertyChanged("ReceivedManSys_User");
- }
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Design_Notice_Design_Input", Storage="_Design_Notice", ThisKey="DesignInputId", OtherKey="DesignInputId", DeleteRule="NO ACTION")]
- public EntitySet Design_Notice
- {
- get
- {
- return this._Design_Notice;
- }
- set
- {
- this._Design_Notice.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_Design_Notice(Design_Notice entity)
- {
- this.SendPropertyChanging();
- entity.Design_Input = this;
- }
-
- private void detach_Design_Notice(Design_Notice entity)
- {
- this.SendPropertyChanging();
- entity.Design_Input = null;
- }
- }
-
- [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Design_Notice")]
- public partial class Design_Notice : INotifyPropertyChanging, INotifyPropertyChanged
- {
-
- private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
-
- private string _DesignNoticeId;
-
- private string _DesignInputId;
-
- private string _DesignStage;
-
- private string _MutualIssuedNo;
-
- private string _MutualIssuedName;
-
- private string _MutualIssuedDef;
-
- private System.Nullable _PlanMutualIssuedDate;
-
- private System.Nullable _ActMutualIssuedDate;
-
- private string _IssuedMan;
-
- private string _ReceivedMan;
-
- private System.Nullable _IsNeedConfirm;
-
- private string _ConfirmResult;
-
- private string _Flag;
-
- private string _Sup_DesignNoticeId;
-
- private string _ProjectManagerId;
-
- private string _ReceivedManDef;
-
- private EntityRef _Design_Input;
-
- private EntityRef _Sys_User;
-
- private EntityRef _ReceivedManSys_User;
-
- private EntitySet _Design_NoticeFlow;
-
- #region 可扩展性方法定义
- partial void OnLoaded();
- partial void OnValidate(System.Data.Linq.ChangeAction action);
- partial void OnCreated();
- partial void OnDesignNoticeIdChanging(string value);
- partial void OnDesignNoticeIdChanged();
- partial void OnDesignInputIdChanging(string value);
- partial void OnDesignInputIdChanged();
- partial void OnDesignStageChanging(string value);
- partial void OnDesignStageChanged();
- partial void OnMutualIssuedNoChanging(string value);
- partial void OnMutualIssuedNoChanged();
- partial void OnMutualIssuedNameChanging(string value);
- partial void OnMutualIssuedNameChanged();
- partial void OnMutualIssuedDefChanging(string value);
- partial void OnMutualIssuedDefChanged();
- partial void OnPlanMutualIssuedDateChanging(System.Nullable value);
- partial void OnPlanMutualIssuedDateChanged();
- partial void OnActMutualIssuedDateChanging(System.Nullable value);
- partial void OnActMutualIssuedDateChanged();
- partial void OnIssuedManChanging(string value);
- partial void OnIssuedManChanged();
- partial void OnReceivedManChanging(string value);
- partial void OnReceivedManChanged();
- partial void OnIsNeedConfirmChanging(System.Nullable value);
- partial void OnIsNeedConfirmChanged();
- partial void OnConfirmResultChanging(string value);
- partial void OnConfirmResultChanged();
- partial void OnFlagChanging(string value);
- partial void OnFlagChanged();
- partial void OnSup_DesignNoticeIdChanging(string value);
- partial void OnSup_DesignNoticeIdChanged();
- partial void OnProjectManagerIdChanging(string value);
- partial void OnProjectManagerIdChanged();
- partial void OnReceivedManDefChanging(string value);
- partial void OnReceivedManDefChanged();
- #endregion
-
- public Design_Notice()
- {
- this._Design_Input = default(EntityRef);
- this._Sys_User = default(EntityRef);
- this._ReceivedManSys_User = default(EntityRef