diff --git a/SGGL/FineUIPro.Web/index.aspx.designer.cs b/SGGL/FineUIPro.Web/index.aspx.designer.cs
index 3840048c..b3333994 100644
--- a/SGGL/FineUIPro.Web/index.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/index.aspx.designer.cs
@@ -7,11 +7,13 @@
// 鑷姩鐢熸垚>
//------------------------------------------------------------------------------
-namespace FineUIPro.Web {
-
-
- public partial class index {
-
+namespace FineUIPro.Web
+{
+
+
+ public partial class index
+ {
+
///
/// form1 鎺т欢銆
///
@@ -20,7 +22,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-
+
///
/// PageManager1 鎺т欢銆
///
@@ -29,7 +31,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.PageManager PageManager1;
-
+
///
/// Panel1 鎺т欢銆
///
@@ -38,7 +40,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Panel Panel1;
-
+
///
/// topPanel 鎺т欢銆
///
@@ -47,7 +49,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.ContentPanel topPanel;
-
+
///
/// ContentPanel1 鎺т欢銆
///
@@ -56,16 +58,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.ContentPanel ContentPanel1;
-
- ///
- /// btnProject 鎺т欢銆
- ///
- ///
- /// 鑷姩鐢熸垚鐨勫瓧娈点
- /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
- ///
- protected global::FineUIPro.Button btnProject;
-
+
///
/// btnDigData 鎺т欢銆
///
@@ -74,7 +67,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Button btnDigData;
-
+
///
/// btnServer 鎺т欢銆
///
@@ -83,7 +76,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Button btnServer;
-
+
///
/// btnNotice 鎺т欢銆
///
@@ -92,7 +85,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Button btnNotice;
-
+
///
/// btnPerson 鎺т欢銆
///
@@ -101,16 +94,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Button btnPerson;
-
- ///
- /// btnZHGL 鎺т欢銆
- ///
- ///
- /// 鑷姩鐢熸垚鐨勫瓧娈点
- /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
- ///
- protected global::FineUIPro.Button btnZHGL;
-
+
///
/// btnPersonal 鎺т欢銆
///
@@ -119,7 +103,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Button btnPersonal;
-
+
///
/// Button7 鎺т欢銆
///
@@ -128,7 +112,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Button Button7;
-
+
///
/// btnRetweet 鎺т欢銆
///
@@ -137,7 +121,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Button btnRetweet;
-
+
///
/// leftPanel 鎺т欢銆
///
@@ -146,7 +130,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Panel leftPanel;
-
+
///
/// leftPanelToolCollapse 鎺т欢銆
///
@@ -155,7 +139,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Tool leftPanelToolCollapse;
-
+
///
/// leftPanelToolGear 鎺т欢銆
///
@@ -164,7 +148,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Tool leftPanelToolGear;
-
+
///
/// btnExpandAll 鎺т欢銆
///
@@ -173,7 +157,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuButton btnExpandAll;
-
+
///
/// btnCollapseAll 鎺т欢銆
///
@@ -182,7 +166,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuButton btnCollapseAll;
-
+
///
/// MenuMode 鎺т欢銆
///
@@ -191,7 +175,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuButton MenuMode;
-
+
///
/// MenuModeNormal 鎺т欢銆
///
@@ -200,7 +184,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuCheckBox MenuModeNormal;
-
+
///
/// MenuModeCompact 鎺т欢銆
///
@@ -209,7 +193,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuCheckBox MenuModeCompact;
-
+
///
/// MenuModeLarge 鎺т欢銆
///
@@ -218,7 +202,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuCheckBox MenuModeLarge;
-
+
///
/// MenuStyle 鎺т欢銆
///
@@ -227,7 +211,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuButton MenuStyle;
-
+
///
/// MenuStyleTree 鎺т欢銆
///
@@ -236,7 +220,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuCheckBox MenuStyleTree;
-
+
///
/// MenuStyleMiniModeTree 鎺т欢銆
///
@@ -245,7 +229,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuCheckBox MenuStyleMiniModeTree;
-
+
///
/// MenuStylePlainTree 鎺т欢銆
///
@@ -254,7 +238,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuCheckBox MenuStylePlainTree;
-
+
///
/// MenuLang 鎺т欢銆
///
@@ -263,7 +247,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuButton MenuLang;
-
+
///
/// MenuLangZHCN 鎺т欢銆
///
@@ -272,7 +256,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.MenuCheckBox MenuLangZHCN;
-
+
///
/// mainTabStrip 鎺т欢銆
///
@@ -281,7 +265,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.TabStrip mainTabStrip;
-
+
///
/// Tab1 鎺т欢銆
///
@@ -290,7 +274,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Tab Tab1;
-
+
///
/// toolRefresh 鎺т欢銆
///
@@ -299,7 +283,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Tool toolRefresh;
-
+
///
/// toolNewWindow 鎺т欢銆
///
@@ -308,7 +292,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Tool toolNewWindow;
-
+
///
/// toolMaximize 鎺т欢銆
///
@@ -317,7 +301,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Tool toolMaximize;
-
+
///
/// toolSignOut 鎺т欢銆
///
@@ -326,7 +310,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Tool toolSignOut;
-
+
///
/// windowCustomQuery 鎺т欢銆
///
@@ -335,7 +319,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Window windowCustomQuery;
-
+
///
/// hdHomePage 鎺т欢銆
///
@@ -344,7 +328,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.HiddenField hdHomePage;
-
+
///
/// btnChangeHomePage 鎺т欢銆
///
@@ -353,7 +337,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::FineUIPro.Button btnChangeHomePage;
-
+
///
/// XmlDataSource1 鎺т欢銆
///
@@ -362,7 +346,7 @@ namespace FineUIPro.Web {
/// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
///
protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1;
-
+
///
/// btnHome 鎺т欢銆
///
diff --git a/SGGL/FineUIPro.Web/indexProject.aspx b/SGGL/FineUIPro.Web/indexProject.aspx
index 3fd58cdd..67caf053 100644
--- a/SGGL/FineUIPro.Web/indexProject.aspx
+++ b/SGGL/FineUIPro.Web/indexProject.aspx
@@ -6,7 +6,7 @@
-
鏅烘収鏂藉伐绠$悊淇℃伅绯荤粺
+
HSE绠$悊淇℃伅绯荤粺
<%--
--%>
@@ -277,26 +277,26 @@
-
--%>
diff --git a/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs b/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs
index 601f3f3b..825c33a2 100644
--- a/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs
@@ -59,15 +59,6 @@ namespace FineUIPro.Web
///
protected global::FineUIPro.ContentPanel ContentPanel1;
- ///
- /// btnCQMS 鎺т欢銆
- ///
- ///
- /// 鑷姩鐢熸垚鐨勫瓧娈点
- /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
- ///
- protected global::FineUIPro.Button btnCQMS;
-
///
/// btnHSSE 鎺т欢銆
///
@@ -77,24 +68,6 @@ namespace FineUIPro.Web
///
protected global::FineUIPro.Button btnHSSE;
- ///
- /// btnJDGL 鎺т欢銆
- ///
- ///
- /// 鑷姩鐢熸垚鐨勫瓧娈点
- /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
- ///
- protected global::FineUIPro.Button btnJDGL;
-
- ///
- /// btnHJGL 鎺т欢銆
- ///
- ///
- /// 鑷姩鐢熸垚鐨勫瓧娈点
- /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
- ///
- protected global::FineUIPro.Button btnHJGL;
-
///
/// btnHome 鎺т欢銆
///
@@ -104,33 +77,6 @@ namespace FineUIPro.Web
///
protected global::FineUIPro.Button btnHome;
- ///
- /// btnDigitalSite 鎺т欢銆
- ///
- ///
- /// 鑷姩鐢熸垚鐨勫瓧娈点
- /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
- ///
- protected global::FineUIPro.Button btnDigitalSite;
-
- ///
- /// btnPDigData 鎺т欢銆
- ///
- ///
- /// 鑷姩鐢熸垚鐨勫瓧娈点
- /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
- ///
- protected global::FineUIPro.Button btnPDigData;
-
- ///
- /// butSubPackMage 鎺т欢銆
- ///
- ///
- /// 鑷姩鐢熸垚鐨勫瓧娈点
- /// 鑻ヨ杩涜淇敼锛岃灏嗗瓧娈靛0鏄庝粠璁捐鍣ㄦ枃浠剁Щ鍒颁唬鐮侀殣钘忔枃浠躲
- ///
- protected global::FineUIPro.Button butSubPackMage;
-
///
/// btnFiveStars 鎺т欢銆
///
diff --git a/SGGL/Model/HSSE/PostTraining/PostTrainingCourse_InputDataIn.cs b/SGGL/Model/HSSE/PostTraining/PostTrainingCourse_InputDataIn.cs
new file mode 100644
index 00000000..fecbac1c
--- /dev/null
+++ b/SGGL/Model/HSSE/PostTraining/PostTrainingCourse_InputDataIn.cs
@@ -0,0 +1,37 @@
+锘縰sing MiniExcelLibs.Attributes;
+
+namespace Model
+{
+ public class PostTrainingCourse_InputDataIn
+ {
+ ///
+ /// 鍩硅绫诲埆
+ ///
+ [ExcelColumnIndex("A")] public string CategoryName { get; set; }
+ ///
+ /// 璇剧▼鍚嶇О
+ ///
+ [ExcelColumnIndex("B")] public string Name { get; set; }
+ ///
+ /// 鍩硅鏂瑰紡涓
+ ///
+ [ExcelColumnIndex("C")] public string Method1 { get; set; }
+ ///
+ /// 鍩硅鏂瑰紡浜
+ ///
+ [ExcelColumnIndex("D")] public string Method2 { get; set; }
+ ///
+ /// 鍩硅甯堣祫涓
+ ///
+ [ExcelColumnIndex("E")] public string Teachers1 { get; set; }
+ ///
+ /// 鍩硅甯堣祫浜
+ ///
+ [ExcelColumnIndex("F")] public string Teachers2 { get; set; }
+ ///
+ /// 澶囨敞
+ ///
+ [ExcelColumnIndex("G")] public string Remark { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/SGGL/Model/HSSE/PostTraining/PostTrainingStandardInfo.cs b/SGGL/Model/HSSE/PostTraining/PostTrainingStandardInfo.cs
new file mode 100644
index 00000000..afd00adf
--- /dev/null
+++ b/SGGL/Model/HSSE/PostTraining/PostTrainingStandardInfo.cs
@@ -0,0 +1,48 @@
+锘縰sing MiniExcelLibs.Attributes;
+
+namespace Model
+{
+ public class PostTrainingStandardInfo
+ {
+ ///
+ /// 閫傜敤宀椾綅瑙掕壊
+ ///
+ public string RoleName { get; set; }
+ public string RoleId { get; set; }
+ ///
+ /// 鍩硅绫诲埆
+ ///
+ public string CategoryName { get; set; }
+ public string CourseId { get; set; }
+ ///
+ /// 鍩硅璇剧▼
+ ///
+ public string CourseName { get; set; }
+ ///
+ /// 鍩硅璇炬椂锛堝鏃讹級
+ ///
+ public decimal ClassHour { get; set; }
+ ///
+ /// 鍩硅鍛ㄦ湡锛堝勾/娆★級
+ ///
+ public decimal Cycle { get; set; }
+ ///
+ /// 鍩硅鏂瑰紡
+ ///
+ public string Method { get; set; }
+ ///
+ /// 鍩硅鏁堟灉
+ ///
+ public string Outcome { get; set; }
+ ///
+ /// 鎺堣浜-鍩硅甯堣祫
+ ///
+ public string Teachers { get; set; }
+
+ ///
+ /// 澶囨敞
+ ///
+ public string Remark { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/SGGL/Model/HSSE/PostTraining/PostTrainingStandard_InputDataIn.cs b/SGGL/Model/HSSE/PostTraining/PostTrainingStandard_InputDataIn.cs
new file mode 100644
index 00000000..6dbe5c56
--- /dev/null
+++ b/SGGL/Model/HSSE/PostTraining/PostTrainingStandard_InputDataIn.cs
@@ -0,0 +1,46 @@
+锘縰sing MiniExcelLibs.Attributes;
+
+namespace Model
+{
+ public class PostTrainingStandard_InputDataIn
+ {
+ ///
+ /// 閫傜敤宀椾綅瑙掕壊
+ ///
+ [ExcelColumnIndex("A")] public string RoleName { get; set; }
+ ///
+ /// 鍩硅绫诲埆
+ ///
+ [ExcelColumnIndex("B")] public string CategoryName { get; set; }
+ ///
+ /// 鍩硅璇剧▼
+ ///
+ [ExcelColumnIndex("C")] public string CourseName { get; set; }
+ ///
+ /// 鍩硅璇炬椂锛堝鏃讹級
+ ///
+ [ExcelColumnIndex("D")] public string ClassHour { get; set; }
+ ///
+ /// 鍩硅鍛ㄦ湡锛堝勾/娆★級
+ ///
+ [ExcelColumnIndex("E")] public string Cycle { get; set; }
+ ///
+ /// 鍩硅鏂瑰紡
+ ///
+ [ExcelColumnIndex("F")] public string Method { get; set; }
+ ///
+ /// 鍩硅鏁堟灉
+ ///
+ [ExcelColumnIndex("G")] public string Outcome { get; set; }
+ ///
+ /// 鎺堣浜-鍩硅甯堣祫
+ ///
+ [ExcelColumnIndex("H")] public string Teachers { get; set; }
+
+ ///
+ /// 澶囨敞
+ ///
+ [ExcelColumnIndex("I")] public string Remark { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs
index 1fb0017e..d36f11cb 100644
--- a/SGGL/Model/Model.cs
+++ b/SGGL/Model/Model.cs
@@ -1004,6 +1004,27 @@ namespace Model
partial void InsertEpidemic_Vaccin(Epidemic_Vaccin instance);
partial void UpdateEpidemic_Vaccin(Epidemic_Vaccin instance);
partial void DeleteEpidemic_Vaccin(Epidemic_Vaccin instance);
+ partial void InsertExamine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation instance);
+ partial void UpdateExamine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation instance);
+ partial void DeleteExamine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation instance);
+ partial void InsertExamine_BonusScoreSituation(Examine_BonusScoreSituation instance);
+ partial void UpdateExamine_BonusScoreSituation(Examine_BonusScoreSituation instance);
+ partial void DeleteExamine_BonusScoreSituation(Examine_BonusScoreSituation instance);
+ partial void InsertExamine_CoConstructionActivities(Examine_CoConstructionActivities instance);
+ partial void UpdateExamine_CoConstructionActivities(Examine_CoConstructionActivities instance);
+ partial void DeleteExamine_CoConstructionActivities(Examine_CoConstructionActivities instance);
+ partial void InsertExamine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting instance);
+ partial void UpdateExamine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting instance);
+ partial void DeleteExamine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting instance);
+ partial void InsertExamine_MinusScoreSituation(Examine_MinusScoreSituation instance);
+ partial void UpdateExamine_MinusScoreSituation(Examine_MinusScoreSituation instance);
+ partial void DeleteExamine_MinusScoreSituation(Examine_MinusScoreSituation instance);
+ partial void InsertExamine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan instance);
+ partial void UpdateExamine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan instance);
+ partial void DeleteExamine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan instance);
+ partial void InsertExamine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience instance);
+ partial void UpdateExamine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience instance);
+ partial void DeleteExamine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience instance);
partial void InsertExchange_Content(Exchange_Content instance);
partial void UpdateExchange_Content(Exchange_Content instance);
partial void DeleteExchange_Content(Exchange_Content instance);
@@ -1784,6 +1805,30 @@ namespace Model
partial void InsertPersonTrain_TrainPlan(PersonTrain_TrainPlan instance);
partial void UpdatePersonTrain_TrainPlan(PersonTrain_TrainPlan instance);
partial void DeletePersonTrain_TrainPlan(PersonTrain_TrainPlan instance);
+ partial void InsertPostTraining_Category(PostTraining_Category instance);
+ partial void UpdatePostTraining_Category(PostTraining_Category instance);
+ partial void DeletePostTraining_Category(PostTraining_Category instance);
+ partial void InsertPostTraining_Course(PostTraining_Course instance);
+ partial void UpdatePostTraining_Course(PostTraining_Course instance);
+ partial void DeletePostTraining_Course(PostTraining_Course instance);
+ partial void InsertPostTraining_Method(PostTraining_Method instance);
+ partial void UpdatePostTraining_Method(PostTraining_Method instance);
+ partial void DeletePostTraining_Method(PostTraining_Method instance);
+ partial void InsertPostTraining_Record(PostTraining_Record instance);
+ partial void UpdatePostTraining_Record(PostTraining_Record instance);
+ partial void DeletePostTraining_Record(PostTraining_Record instance);
+ partial void InsertPostTraining_Record_Detail(PostTraining_Record_Detail instance);
+ partial void UpdatePostTraining_Record_Detail(PostTraining_Record_Detail instance);
+ partial void DeletePostTraining_Record_Detail(PostTraining_Record_Detail instance);
+ partial void InsertPostTraining_Role(PostTraining_Role instance);
+ partial void UpdatePostTraining_Role(PostTraining_Role instance);
+ partial void DeletePostTraining_Role(PostTraining_Role instance);
+ partial void InsertPostTraining_Standard(PostTraining_Standard instance);
+ partial void UpdatePostTraining_Standard(PostTraining_Standard instance);
+ partial void DeletePostTraining_Standard(PostTraining_Standard instance);
+ partial void InsertPostTraining_Teachers(PostTraining_Teachers instance);
+ partial void UpdatePostTraining_Teachers(PostTraining_Teachers instance);
+ partial void DeletePostTraining_Teachers(PostTraining_Teachers instance);
partial void InsertProcessControl_HotProessManage(ProcessControl_HotProessManage instance);
partial void UpdateProcessControl_HotProessManage(ProcessControl_HotProessManage instance);
partial void DeleteProcessControl_HotProessManage(ProcessControl_HotProessManage instance);
@@ -5295,6 +5340,62 @@ namespace Model
}
}
+ public System.Data.Linq.Table Examine_BehavioralSafetyObservation
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table Examine_BonusScoreSituation
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table Examine_CoConstructionActivities
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table Examine_LeadershipJoinHomeworkAnalysisMeeting
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table Examine_MinusScoreSituation
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table Examine_PersonalSafetyActionPlan
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table Examine_SharingOfSafetyExperience
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table Exchange_Content
{
get
@@ -7391,6 +7492,70 @@ namespace Model
}
}
+ public System.Data.Linq.Table PostTraining_Category
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table PostTraining_Course
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table PostTraining_Method
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table PostTraining_Record
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table PostTraining_Record_Detail
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table PostTraining_Role
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table PostTraining_Standard
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
+ public System.Data.Linq.Table PostTraining_Teachers
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table ProcessControl_HotProessManage
{
get
@@ -10487,6 +10652,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table View_PostTraining_RecordDetail
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table View_ProcessControl_InspectionManagement
{
get
@@ -28155,6 +28328,20 @@ namespace Model
private EntitySet _Environmental_ProjectOperationReport;
+ private EntitySet _Examine_BehavioralSafetyObservation;
+
+ private EntitySet _Examine_BonusScoreSituation;
+
+ private EntitySet _Examine_CoConstructionActivities;
+
+ private EntitySet _Examine_LeadershipJoinHomeworkAnalysisMeeting;
+
+ private EntitySet _Examine_MinusScoreSituation;
+
+ private EntitySet _Examine_PersonalSafetyActionPlan;
+
+ private EntitySet _Examine_SharingOfSafetyExperience;
+
private EntitySet _FinalFileManage_FinalFileList;
private EntitySet _FinalFileManage_HSEFinalFileList;
@@ -28337,6 +28524,8 @@ namespace Model
private EntitySet _HJGL_WeldingDaily;
+ private EntitySet _PostTraining_Record;
+
private EntitySet _ProcessControl_HotProessManage;
private EntitySet _ProcessControl_InspectionManagement;
@@ -28473,14 +28662,6 @@ namespace Model
private EntitySet _TP_TestPackage;
- private EntitySet _Training_Plan;
-
- private EntitySet _Training_Task;
-
- private EntitySet _Training_TestPlan;
-
- private EntitySet _Training_TestRecord;
-
private EntitySet _Unqualified_WorkContact;
private EntitySet _WBS_BreakdownProject;
@@ -28713,6 +28894,13 @@ namespace Model
this._Environmental_ProjectArchitectureReport = new EntitySet(new Action(this.attach_Environmental_ProjectArchitectureReport), new Action(this.detach_Environmental_ProjectArchitectureReport));
this._Environmental_ProjectChemicalReport = new EntitySet(new Action(this.attach_Environmental_ProjectChemicalReport), new Action(this.detach_Environmental_ProjectChemicalReport));
this._Environmental_ProjectOperationReport = new EntitySet(new Action(this.attach_Environmental_ProjectOperationReport), new Action(this.detach_Environmental_ProjectOperationReport));
+ this._Examine_BehavioralSafetyObservation = new EntitySet(new Action(this.attach_Examine_BehavioralSafetyObservation), new Action(this.detach_Examine_BehavioralSafetyObservation));
+ this._Examine_BonusScoreSituation = new EntitySet(new Action(this.attach_Examine_BonusScoreSituation), new Action(this.detach_Examine_BonusScoreSituation));
+ this._Examine_CoConstructionActivities = new EntitySet(new Action(this.attach_Examine_CoConstructionActivities), new Action(this.detach_Examine_CoConstructionActivities));
+ this._Examine_LeadershipJoinHomeworkAnalysisMeeting = new EntitySet(new Action(this.attach_Examine_LeadershipJoinHomeworkAnalysisMeeting), new Action(this.detach_Examine_LeadershipJoinHomeworkAnalysisMeeting));
+ this._Examine_MinusScoreSituation = new EntitySet(new Action(this.attach_Examine_MinusScoreSituation), new Action(this.detach_Examine_MinusScoreSituation));
+ this._Examine_PersonalSafetyActionPlan = new EntitySet(new Action(this.attach_Examine_PersonalSafetyActionPlan), new Action(this.detach_Examine_PersonalSafetyActionPlan));
+ this._Examine_SharingOfSafetyExperience = new EntitySet(new Action(this.attach_Examine_SharingOfSafetyExperience), new Action(this.detach_Examine_SharingOfSafetyExperience));
this._FinalFileManage_FinalFileList = new EntitySet(new Action(this.attach_FinalFileManage_FinalFileList), new Action(this.detach_FinalFileManage_FinalFileList));
this._FinalFileManage_HSEFinalFileList = new EntitySet(new Action(this.attach_FinalFileManage_HSEFinalFileList), new Action(this.detach_FinalFileManage_HSEFinalFileList));
this._FinalFileManage_OtherDocumentList = new EntitySet(new Action(this.attach_FinalFileManage_OtherDocumentList), new Action(this.detach_FinalFileManage_OtherDocumentList));
@@ -28804,6 +28992,7 @@ namespace Model
this._PersonTrain_TrainContent = new EntitySet(new Action(this.attach_PersonTrain_TrainContent), new Action(this.detach_PersonTrain_TrainContent));
this._PersonTrain_TrainPlan = new EntitySet(new Action(this.attach_PersonTrain_TrainPlan), new Action(this.detach_PersonTrain_TrainPlan));
this._HJGL_WeldingDaily = new EntitySet(new Action(this.attach_HJGL_WeldingDaily), new Action(this.detach_HJGL_WeldingDaily));
+ this._PostTraining_Record = new EntitySet(new Action(this.attach_PostTraining_Record), new Action(this.detach_PostTraining_Record));
this._ProcessControl_HotProessManage = new EntitySet(new Action(this.attach_ProcessControl_HotProessManage), new Action(this.detach_ProcessControl_HotProessManage));
this._ProcessControl_InspectionManagement = new EntitySet(new Action(this.attach_ProcessControl_InspectionManagement), new Action(this.detach_ProcessControl_InspectionManagement));
this._ProcessControl_NondestructiveTest = new EntitySet(new Action(this.attach_ProcessControl_NondestructiveTest), new Action(this.detach_ProcessControl_NondestructiveTest));
@@ -28872,10 +29061,6 @@ namespace Model
this._Sys_UserRead = new EntitySet(new Action(this.attach_Sys_UserRead), new Action(this.detach_Sys_UserRead));
this._TC_CostStatistic = new EntitySet(new Action(this.attach_TC_CostStatistic), new Action(this.detach_TC_CostStatistic));
this._TP_TestPackage = new EntitySet(new Action(this.attach_TP_TestPackage), new Action(this.detach_TP_TestPackage));
- this._Training_Plan = new EntitySet(new Action(this.attach_Training_Plan), new Action(this.detach_Training_Plan));
- this._Training_Task = new EntitySet(new Action(this.attach_Training_Task), new Action(this.detach_Training_Task));
- this._Training_TestPlan = new EntitySet(new Action(this.attach_Training_TestPlan), new Action(this.detach_Training_TestPlan));
- this._Training_TestRecord = new EntitySet(new Action(this.attach_Training_TestRecord), new Action(this.detach_Training_TestRecord));
this._Unqualified_WorkContact = new EntitySet(new Action(this.attach_Unqualified_WorkContact), new Action(this.detach_Unqualified_WorkContact));
this._WBS_BreakdownProject = new EntitySet(new Action(this.attach_WBS_BreakdownProject), new Action(this.detach_WBS_BreakdownProject));
this._WBS_DivisionProject = new EntitySet(new Action(this.attach_WBS_DivisionProject), new Action(this.detach_WBS_DivisionProject));
@@ -31225,6 +31410,97 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_Base_Project", Storage="_Examine_BehavioralSafetyObservation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Examine_BehavioralSafetyObservation
+ {
+ get
+ {
+ return this._Examine_BehavioralSafetyObservation;
+ }
+ set
+ {
+ this._Examine_BehavioralSafetyObservation.Assign(value);
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_Base_Project", Storage="_Examine_BonusScoreSituation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Examine_BonusScoreSituation
+ {
+ get
+ {
+ return this._Examine_BonusScoreSituation;
+ }
+ set
+ {
+ this._Examine_BonusScoreSituation.Assign(value);
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_Base_Project", Storage="_Examine_CoConstructionActivities", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Examine_CoConstructionActivities
+ {
+ get
+ {
+ return this._Examine_CoConstructionActivities;
+ }
+ set
+ {
+ this._Examine_CoConstructionActivities.Assign(value);
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Base_Project", Storage="_Examine_LeadershipJoinHomeworkAnalysisMeeting", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Examine_LeadershipJoinHomeworkAnalysisMeeting
+ {
+ get
+ {
+ return this._Examine_LeadershipJoinHomeworkAnalysisMeeting;
+ }
+ set
+ {
+ this._Examine_LeadershipJoinHomeworkAnalysisMeeting.Assign(value);
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_Base_Project", Storage="_Examine_MinusScoreSituation", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Examine_MinusScoreSituation
+ {
+ get
+ {
+ return this._Examine_MinusScoreSituation;
+ }
+ set
+ {
+ this._Examine_MinusScoreSituation.Assign(value);
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_PersonalSafetyActionPlan_Base_Project", Storage="_Examine_PersonalSafetyActionPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Examine_PersonalSafetyActionPlan
+ {
+ get
+ {
+ return this._Examine_PersonalSafetyActionPlan;
+ }
+ set
+ {
+ this._Examine_PersonalSafetyActionPlan.Assign(value);
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_SharingOfSafetyExperience_Base_Project", Storage="_Examine_SharingOfSafetyExperience", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet Examine_SharingOfSafetyExperience
+ {
+ get
+ {
+ return this._Examine_SharingOfSafetyExperience;
+ }
+ set
+ {
+ this._Examine_SharingOfSafetyExperience.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_FinalFileManage_FinalFileList_Base_Project", Storage="_FinalFileManage_FinalFileList", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet FinalFileManage_FinalFileList
{
@@ -32408,6 +32684,19 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_PostTraining_Record_Base_Project", Storage="_PostTraining_Record", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
+ public EntitySet PostTraining_Record
+ {
+ get
+ {
+ return this._PostTraining_Record;
+ }
+ set
+ {
+ this._PostTraining_Record.Assign(value);
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_ProcessControl_HotProessManage_Base_Project", Storage="_ProcessControl_HotProessManage", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet ProcessControl_HotProessManage
{
@@ -33292,58 +33581,6 @@ namespace Model
}
}
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Plan_Base_Project", Storage="_Training_Plan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
- public EntitySet Training_Plan
- {
- get
- {
- return this._Training_Plan;
- }
- set
- {
- this._Training_Plan.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_Task_Base_Project", Storage="_Training_Task", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
- public EntitySet Training_Task
- {
- get
- {
- return this._Training_Task;
- }
- set
- {
- this._Training_Task.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestPlan_Base_Project", Storage="_Training_TestPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
- public EntitySet Training_TestPlan
- {
- get
- {
- return this._Training_TestPlan;
- }
- set
- {
- this._Training_TestPlan.Assign(value);
- }
- }
-
- [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Training_TestRecord_Base_Project", Storage="_Training_TestRecord", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
- public EntitySet Training_TestRecord
- {
- get
- {
- return this._Training_TestRecord;
- }
- set
- {
- this._Training_TestRecord.Assign(value);
- }
- }
-
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Unqualified_WorkContact_Base_Project", Storage="_Unqualified_WorkContact", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet Unqualified_WorkContact
{
@@ -34988,6 +35225,90 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_Examine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Examine_BehavioralSafetyObservation(Examine_BehavioralSafetyObservation entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
+ private void attach_Examine_BonusScoreSituation(Examine_BonusScoreSituation entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Examine_BonusScoreSituation(Examine_BonusScoreSituation entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
+ private void attach_Examine_CoConstructionActivities(Examine_CoConstructionActivities entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Examine_CoConstructionActivities(Examine_CoConstructionActivities entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
+ private void attach_Examine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Examine_LeadershipJoinHomeworkAnalysisMeeting(Examine_LeadershipJoinHomeworkAnalysisMeeting entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
+ private void attach_Examine_MinusScoreSituation(Examine_MinusScoreSituation entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Examine_MinusScoreSituation(Examine_MinusScoreSituation entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
+ private void attach_Examine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Examine_PersonalSafetyActionPlan(Examine_PersonalSafetyActionPlan entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
+ private void attach_Examine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_Examine_SharingOfSafetyExperience(Examine_SharingOfSafetyExperience entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_FinalFileManage_FinalFileList(FinalFileManage_FinalFileList entity)
{
this.SendPropertyChanging();
@@ -36080,6 +36401,18 @@ namespace Model
entity.Base_Project = null;
}
+ private void attach_PostTraining_Record(PostTraining_Record entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = this;
+ }
+
+ private void detach_PostTraining_Record(PostTraining_Record entity)
+ {
+ this.SendPropertyChanging();
+ entity.Base_Project = null;
+ }
+
private void attach_ProcessControl_HotProessManage(ProcessControl_HotProessManage entity)
{
this.SendPropertyChanging();
@@ -36896,54 +37229,6 @@ namespace Model
entity.Base_Project = null;
}
- private void attach_Training_Plan(Training_Plan entity)
- {
- this.SendPropertyChanging();
- entity.Base_Project = this;
- }
-
- private void detach_Training_Plan(Training_Plan entity)
- {
- this.SendPropertyChanging();
- entity.Base_Project = null;
- }
-
- private void attach_Training_Task(Training_Task entity)
- {
- this.SendPropertyChanging();
- entity.Base_Project = this;
- }
-
- private void detach_Training_Task(Training_Task entity)
- {
- this.SendPropertyChanging();
- entity.Base_Project = null;
- }
-
- private void attach_Training_TestPlan(Training_TestPlan entity)
- {
- this.SendPropertyChanging();
- entity.Base_Project = this;
- }
-
- private void detach_Training_TestPlan(Training_TestPlan entity)
- {
- this.SendPropertyChanging();
- entity.Base_Project = null;
- }
-
- private void attach_Training_TestRecord(Training_TestRecord entity)
- {
- this.SendPropertyChanging();
- entity.Base_Project = this;
- }
-
- private void detach_Training_TestRecord(Training_TestRecord entity)
- {
- this.SendPropertyChanging();
- entity.Base_Project = null;
- }
-
private void attach_Unqualified_WorkContact(Unqualified_WorkContact entity)
{
this.SendPropertyChanging();
@@ -158774,6 +159059,2916 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Examine_BehavioralSafetyObservation")]
+ public partial class Examine_BehavioralSafetyObservation : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _Id;
+
+ private string _ProjectId;
+
+ private string _Code;
+
+ private string _Name;
+
+ private string _UserId;
+
+ private System.Nullable _DateTime;
+
+ private string _Content;
+
+ private string _Remark;
+
+ private System.Nullable _CompileDate;
+
+ private string _CompileMan;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ private EntityRef _User;
+
+ #region 鍙墿灞曟ф柟娉曞畾涔
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnIdChanging(string value);
+ partial void OnIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnCodeChanging(string value);
+ partial void OnCodeChanged();
+ partial void OnNameChanging(string value);
+ partial void OnNameChanged();
+ partial void OnUserIdChanging(string value);
+ partial void OnUserIdChanged();
+ partial void OnDateTimeChanging(System.Nullable value);
+ partial void OnDateTimeChanged();
+ partial void OnContentChanging(string value);
+ partial void OnContentChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ #endregion
+
+ public Examine_BehavioralSafetyObservation()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ this._User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ set
+ {
+ if ((this._Id != value))
+ {
+ this.OnIdChanging(value);
+ this.SendPropertyChanging();
+ this._Id = value;
+ this.SendPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")]
+ public string Code
+ {
+ get
+ {
+ return this._Code;
+ }
+ set
+ {
+ if ((this._Code != value))
+ {
+ this.OnCodeChanging(value);
+ this.SendPropertyChanging();
+ this._Code = value;
+ this.SendPropertyChanged("Code");
+ this.OnCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
+ public string Name
+ {
+ get
+ {
+ return this._Name;
+ }
+ set
+ {
+ if ((this._Name != value))
+ {
+ this.OnNameChanging(value);
+ this.SendPropertyChanging();
+ this._Name = value;
+ this.SendPropertyChanged("Name");
+ this.OnNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
+ public string UserId
+ {
+ get
+ {
+ return this._UserId;
+ }
+ set
+ {
+ if ((this._UserId != value))
+ {
+ if (this._User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnUserIdChanging(value);
+ this.SendPropertyChanging();
+ this._UserId = value;
+ this.SendPropertyChanged("UserId");
+ this.OnUserIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")]
+ public System.Nullable DateTime
+ {
+ get
+ {
+ return this._DateTime;
+ }
+ set
+ {
+ if ((this._DateTime != value))
+ {
+ this.OnDateTimeChanging(value);
+ this.SendPropertyChanging();
+ this._DateTime = value;
+ this.SendPropertyChanged("DateTime");
+ this.OnDateTimeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")]
+ public string Content
+ {
+ get
+ {
+ return this._Content;
+ }
+ set
+ {
+ if ((this._Content != value))
+ {
+ this.OnContentChanging(value);
+ this.SendPropertyChanging();
+ this._Content = value;
+ this.SendPropertyChanged("Content");
+ this.OnContentChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")]
+ 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="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.Examine_BehavioralSafetyObservation.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_BehavioralSafetyObservation.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.Examine_BehavioralSafetyObservation.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_BehavioralSafetyObservation.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BehavioralSafetyObservation_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User User
+ {
+ get
+ {
+ return this._User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._User.Entity;
+ if (((previousValue != value)
+ || (this._User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._User.Entity = null;
+ previousValue.Examine_BehavioralSafetyObservation_User.Remove(this);
+ }
+ this._User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_BehavioralSafetyObservation_User.Add(this);
+ this._UserId = value.UserId;
+ }
+ else
+ {
+ this._UserId = default(string);
+ }
+ this.SendPropertyChanged("User");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Examine_BonusScoreSituation")]
+ public partial class Examine_BonusScoreSituation : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _Id;
+
+ private string _ProjectId;
+
+ private string _Code;
+
+ private string _Name;
+
+ private string _Level;
+
+ private string _LevelName;
+
+ private int _Score;
+
+ private string _UserId;
+
+ private System.Nullable _DateTime;
+
+ private string _Content;
+
+ private string _Remark;
+
+ private System.Nullable _CompileDate;
+
+ private string _CompileMan;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ private EntityRef _User;
+
+ #region 鍙墿灞曟ф柟娉曞畾涔
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnIdChanging(string value);
+ partial void OnIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnCodeChanging(string value);
+ partial void OnCodeChanged();
+ partial void OnNameChanging(string value);
+ partial void OnNameChanged();
+ partial void OnLevelChanging(string value);
+ partial void OnLevelChanged();
+ partial void OnLevelNameChanging(string value);
+ partial void OnLevelNameChanged();
+ partial void OnScoreChanging(int value);
+ partial void OnScoreChanged();
+ partial void OnUserIdChanging(string value);
+ partial void OnUserIdChanged();
+ partial void OnDateTimeChanging(System.Nullable value);
+ partial void OnDateTimeChanged();
+ partial void OnContentChanging(string value);
+ partial void OnContentChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ #endregion
+
+ public Examine_BonusScoreSituation()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ this._User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ set
+ {
+ if ((this._Id != value))
+ {
+ this.OnIdChanging(value);
+ this.SendPropertyChanging();
+ this._Id = value;
+ this.SendPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")]
+ public string Code
+ {
+ get
+ {
+ return this._Code;
+ }
+ set
+ {
+ if ((this._Code != value))
+ {
+ this.OnCodeChanging(value);
+ this.SendPropertyChanging();
+ this._Code = value;
+ this.SendPropertyChanged("Code");
+ this.OnCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
+ public string Name
+ {
+ get
+ {
+ return this._Name;
+ }
+ set
+ {
+ if ((this._Name != value))
+ {
+ this.OnNameChanging(value);
+ this.SendPropertyChanging();
+ this._Name = value;
+ this.SendPropertyChanged("Name");
+ this.OnNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Level", DbType="NVarChar(200)")]
+ public string Level
+ {
+ get
+ {
+ return this._Level;
+ }
+ set
+ {
+ if ((this._Level != value))
+ {
+ this.OnLevelChanging(value);
+ this.SendPropertyChanging();
+ this._Level = value;
+ this.SendPropertyChanged("Level");
+ this.OnLevelChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LevelName", DbType="NVarChar(200)")]
+ public string LevelName
+ {
+ get
+ {
+ return this._LevelName;
+ }
+ set
+ {
+ if ((this._LevelName != value))
+ {
+ this.OnLevelNameChanging(value);
+ this.SendPropertyChanging();
+ this._LevelName = value;
+ this.SendPropertyChanged("LevelName");
+ this.OnLevelNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Score", DbType="Int NOT NULL")]
+ public int Score
+ {
+ get
+ {
+ return this._Score;
+ }
+ set
+ {
+ if ((this._Score != value))
+ {
+ this.OnScoreChanging(value);
+ this.SendPropertyChanging();
+ this._Score = value;
+ this.SendPropertyChanged("Score");
+ this.OnScoreChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
+ public string UserId
+ {
+ get
+ {
+ return this._UserId;
+ }
+ set
+ {
+ if ((this._UserId != value))
+ {
+ if (this._User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnUserIdChanging(value);
+ this.SendPropertyChanging();
+ this._UserId = value;
+ this.SendPropertyChanged("UserId");
+ this.OnUserIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")]
+ public System.Nullable DateTime
+ {
+ get
+ {
+ return this._DateTime;
+ }
+ set
+ {
+ if ((this._DateTime != value))
+ {
+ this.OnDateTimeChanging(value);
+ this.SendPropertyChanging();
+ this._DateTime = value;
+ this.SendPropertyChanged("DateTime");
+ this.OnDateTimeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")]
+ public string Content
+ {
+ get
+ {
+ return this._Content;
+ }
+ set
+ {
+ if ((this._Content != value))
+ {
+ this.OnContentChanging(value);
+ this.SendPropertyChanging();
+ this._Content = value;
+ this.SendPropertyChanged("Content");
+ this.OnContentChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")]
+ 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="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.Examine_BonusScoreSituation.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_BonusScoreSituation.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.Examine_BonusScoreSituation.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_BonusScoreSituation.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_BonusScoreSituation_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User User
+ {
+ get
+ {
+ return this._User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._User.Entity;
+ if (((previousValue != value)
+ || (this._User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._User.Entity = null;
+ previousValue.Examine_BonusScoreSituation_User.Remove(this);
+ }
+ this._User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_BonusScoreSituation_User.Add(this);
+ this._UserId = value.UserId;
+ }
+ else
+ {
+ this._UserId = default(string);
+ }
+ this.SendPropertyChanged("User");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Examine_CoConstructionActivities")]
+ public partial class Examine_CoConstructionActivities : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _Id;
+
+ private string _ProjectId;
+
+ private string _Code;
+
+ private string _Name;
+
+ private string _UserId;
+
+ private System.Nullable _DateTime;
+
+ private string _Content;
+
+ private string _Remark;
+
+ private System.Nullable _CompileDate;
+
+ private string _CompileMan;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ private EntityRef _User;
+
+ #region 鍙墿灞曟ф柟娉曞畾涔
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnIdChanging(string value);
+ partial void OnIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnCodeChanging(string value);
+ partial void OnCodeChanged();
+ partial void OnNameChanging(string value);
+ partial void OnNameChanged();
+ partial void OnUserIdChanging(string value);
+ partial void OnUserIdChanged();
+ partial void OnDateTimeChanging(System.Nullable value);
+ partial void OnDateTimeChanged();
+ partial void OnContentChanging(string value);
+ partial void OnContentChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ #endregion
+
+ public Examine_CoConstructionActivities()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ this._User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ set
+ {
+ if ((this._Id != value))
+ {
+ this.OnIdChanging(value);
+ this.SendPropertyChanging();
+ this._Id = value;
+ this.SendPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")]
+ public string Code
+ {
+ get
+ {
+ return this._Code;
+ }
+ set
+ {
+ if ((this._Code != value))
+ {
+ this.OnCodeChanging(value);
+ this.SendPropertyChanging();
+ this._Code = value;
+ this.SendPropertyChanged("Code");
+ this.OnCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
+ public string Name
+ {
+ get
+ {
+ return this._Name;
+ }
+ set
+ {
+ if ((this._Name != value))
+ {
+ this.OnNameChanging(value);
+ this.SendPropertyChanging();
+ this._Name = value;
+ this.SendPropertyChanged("Name");
+ this.OnNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
+ public string UserId
+ {
+ get
+ {
+ return this._UserId;
+ }
+ set
+ {
+ if ((this._UserId != value))
+ {
+ if (this._User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnUserIdChanging(value);
+ this.SendPropertyChanging();
+ this._UserId = value;
+ this.SendPropertyChanged("UserId");
+ this.OnUserIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")]
+ public System.Nullable DateTime
+ {
+ get
+ {
+ return this._DateTime;
+ }
+ set
+ {
+ if ((this._DateTime != value))
+ {
+ this.OnDateTimeChanging(value);
+ this.SendPropertyChanging();
+ this._DateTime = value;
+ this.SendPropertyChanged("DateTime");
+ this.OnDateTimeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")]
+ public string Content
+ {
+ get
+ {
+ return this._Content;
+ }
+ set
+ {
+ if ((this._Content != value))
+ {
+ this.OnContentChanging(value);
+ this.SendPropertyChanging();
+ this._Content = value;
+ this.SendPropertyChanged("Content");
+ this.OnContentChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")]
+ 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="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.Examine_CoConstructionActivities.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_CoConstructionActivities.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.Examine_CoConstructionActivities.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_CoConstructionActivities.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_CoConstructionActivities_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User User
+ {
+ get
+ {
+ return this._User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._User.Entity;
+ if (((previousValue != value)
+ || (this._User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._User.Entity = null;
+ previousValue.Examine_CoConstructionActivities_User.Remove(this);
+ }
+ this._User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_CoConstructionActivities_User.Add(this);
+ this._UserId = value.UserId;
+ }
+ else
+ {
+ this._UserId = default(string);
+ }
+ this.SendPropertyChanged("User");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Examine_LeadershipJoinHomeworkAnalysisMeeting")]
+ public partial class Examine_LeadershipJoinHomeworkAnalysisMeeting : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _Id;
+
+ private string _ProjectId;
+
+ private string _Code;
+
+ private string _Name;
+
+ private string _UserId;
+
+ private System.Nullable _DateTime;
+
+ private string _Content;
+
+ private string _Remark;
+
+ private System.Nullable _CompileDate;
+
+ private string _CompileMan;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ private EntityRef _User;
+
+ #region 鍙墿灞曟ф柟娉曞畾涔
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnIdChanging(string value);
+ partial void OnIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnCodeChanging(string value);
+ partial void OnCodeChanged();
+ partial void OnNameChanging(string value);
+ partial void OnNameChanged();
+ partial void OnUserIdChanging(string value);
+ partial void OnUserIdChanged();
+ partial void OnDateTimeChanging(System.Nullable value);
+ partial void OnDateTimeChanged();
+ partial void OnContentChanging(string value);
+ partial void OnContentChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ #endregion
+
+ public Examine_LeadershipJoinHomeworkAnalysisMeeting()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ this._User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ set
+ {
+ if ((this._Id != value))
+ {
+ this.OnIdChanging(value);
+ this.SendPropertyChanging();
+ this._Id = value;
+ this.SendPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")]
+ public string Code
+ {
+ get
+ {
+ return this._Code;
+ }
+ set
+ {
+ if ((this._Code != value))
+ {
+ this.OnCodeChanging(value);
+ this.SendPropertyChanging();
+ this._Code = value;
+ this.SendPropertyChanged("Code");
+ this.OnCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
+ public string Name
+ {
+ get
+ {
+ return this._Name;
+ }
+ set
+ {
+ if ((this._Name != value))
+ {
+ this.OnNameChanging(value);
+ this.SendPropertyChanging();
+ this._Name = value;
+ this.SendPropertyChanged("Name");
+ this.OnNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
+ public string UserId
+ {
+ get
+ {
+ return this._UserId;
+ }
+ set
+ {
+ if ((this._UserId != value))
+ {
+ if (this._User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnUserIdChanging(value);
+ this.SendPropertyChanging();
+ this._UserId = value;
+ this.SendPropertyChanged("UserId");
+ this.OnUserIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")]
+ public System.Nullable DateTime
+ {
+ get
+ {
+ return this._DateTime;
+ }
+ set
+ {
+ if ((this._DateTime != value))
+ {
+ this.OnDateTimeChanging(value);
+ this.SendPropertyChanging();
+ this._DateTime = value;
+ this.SendPropertyChanged("DateTime");
+ this.OnDateTimeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")]
+ public string Content
+ {
+ get
+ {
+ return this._Content;
+ }
+ set
+ {
+ if ((this._Content != value))
+ {
+ this.OnContentChanging(value);
+ this.SendPropertyChanging();
+ this._Content = value;
+ this.SendPropertyChanged("Content");
+ this.OnContentChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")]
+ 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="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.Examine_LeadershipJoinHomeworkAnalysisMeeting.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_LeadershipJoinHomeworkAnalysisMeeting.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.Examine_LeadershipJoinHomeworkAnalysisMeeting.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_LeadershipJoinHomeworkAnalysisMeeting.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_LeadershipJoinHomeworkAnalysisMeeting_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User User
+ {
+ get
+ {
+ return this._User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._User.Entity;
+ if (((previousValue != value)
+ || (this._User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._User.Entity = null;
+ previousValue.Examine_LeadershipJoinHomeworkAnalysisMeeting_User.Remove(this);
+ }
+ this._User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_LeadershipJoinHomeworkAnalysisMeeting_User.Add(this);
+ this._UserId = value.UserId;
+ }
+ else
+ {
+ this._UserId = default(string);
+ }
+ this.SendPropertyChanged("User");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Examine_MinusScoreSituation")]
+ public partial class Examine_MinusScoreSituation : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _Id;
+
+ private string _ProjectId;
+
+ private string _Code;
+
+ private string _Name;
+
+ private string _Level;
+
+ private string _LevelName;
+
+ private int _Score;
+
+ private string _UserId;
+
+ private System.Nullable _DateTime;
+
+ private string _Content;
+
+ private string _Remark;
+
+ private System.Nullable _CompileDate;
+
+ private string _CompileMan;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ private EntityRef _User;
+
+ #region 鍙墿灞曟ф柟娉曞畾涔
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnIdChanging(string value);
+ partial void OnIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnCodeChanging(string value);
+ partial void OnCodeChanged();
+ partial void OnNameChanging(string value);
+ partial void OnNameChanged();
+ partial void OnLevelChanging(string value);
+ partial void OnLevelChanged();
+ partial void OnLevelNameChanging(string value);
+ partial void OnLevelNameChanged();
+ partial void OnScoreChanging(int value);
+ partial void OnScoreChanged();
+ partial void OnUserIdChanging(string value);
+ partial void OnUserIdChanged();
+ partial void OnDateTimeChanging(System.Nullable value);
+ partial void OnDateTimeChanged();
+ partial void OnContentChanging(string value);
+ partial void OnContentChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ #endregion
+
+ public Examine_MinusScoreSituation()
+ {
+ this._Base_Project = default(EntityRef);
+ this._Sys_User = default(EntityRef);
+ this._User = default(EntityRef);
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ set
+ {
+ if ((this._Id != value))
+ {
+ this.OnIdChanging(value);
+ this.SendPropertyChanging();
+ this._Id = value;
+ this.SendPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
+ public string ProjectId
+ {
+ get
+ {
+ return this._ProjectId;
+ }
+ set
+ {
+ if ((this._ProjectId != value))
+ {
+ if (this._Base_Project.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnProjectIdChanging(value);
+ this.SendPropertyChanging();
+ this._ProjectId = value;
+ this.SendPropertyChanged("ProjectId");
+ this.OnProjectIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Code", DbType="NVarChar(50)")]
+ public string Code
+ {
+ get
+ {
+ return this._Code;
+ }
+ set
+ {
+ if ((this._Code != value))
+ {
+ this.OnCodeChanging(value);
+ this.SendPropertyChanging();
+ this._Code = value;
+ this.SendPropertyChanged("Code");
+ this.OnCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
+ public string Name
+ {
+ get
+ {
+ return this._Name;
+ }
+ set
+ {
+ if ((this._Name != value))
+ {
+ this.OnNameChanging(value);
+ this.SendPropertyChanging();
+ this._Name = value;
+ this.SendPropertyChanged("Name");
+ this.OnNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Level", DbType="NVarChar(200)")]
+ public string Level
+ {
+ get
+ {
+ return this._Level;
+ }
+ set
+ {
+ if ((this._Level != value))
+ {
+ this.OnLevelChanging(value);
+ this.SendPropertyChanging();
+ this._Level = value;
+ this.SendPropertyChanged("Level");
+ this.OnLevelChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LevelName", DbType="NVarChar(200)")]
+ public string LevelName
+ {
+ get
+ {
+ return this._LevelName;
+ }
+ set
+ {
+ if ((this._LevelName != value))
+ {
+ this.OnLevelNameChanging(value);
+ this.SendPropertyChanging();
+ this._LevelName = value;
+ this.SendPropertyChanged("LevelName");
+ this.OnLevelNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Score", DbType="Int NOT NULL")]
+ public int Score
+ {
+ get
+ {
+ return this._Score;
+ }
+ set
+ {
+ if ((this._Score != value))
+ {
+ this.OnScoreChanging(value);
+ this.SendPropertyChanging();
+ this._Score = value;
+ this.SendPropertyChanged("Score");
+ this.OnScoreChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")]
+ public string UserId
+ {
+ get
+ {
+ return this._UserId;
+ }
+ set
+ {
+ if ((this._UserId != value))
+ {
+ if (this._User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnUserIdChanging(value);
+ this.SendPropertyChanging();
+ this._UserId = value;
+ this.SendPropertyChanged("UserId");
+ this.OnUserIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateTime", DbType="DateTime")]
+ public System.Nullable DateTime
+ {
+ get
+ {
+ return this._DateTime;
+ }
+ set
+ {
+ if ((this._DateTime != value))
+ {
+ this.OnDateTimeChanging(value);
+ this.SendPropertyChanging();
+ this._DateTime = value;
+ this.SendPropertyChanged("DateTime");
+ this.OnDateTimeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Content", DbType="NVarChar(1000)")]
+ public string Content
+ {
+ get
+ {
+ return this._Content;
+ }
+ set
+ {
+ if ((this._Content != value))
+ {
+ this.OnContentChanging(value);
+ this.SendPropertyChanging();
+ this._Content = value;
+ this.SendPropertyChanged("Content");
+ this.OnContentChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(1000)")]
+ 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="_CompileDate", DbType="DateTime")]
+ public System.Nullable CompileDate
+ {
+ get
+ {
+ return this._CompileDate;
+ }
+ set
+ {
+ if ((this._CompileDate != value))
+ {
+ this.OnCompileDateChanging(value);
+ this.SendPropertyChanging();
+ this._CompileDate = value;
+ this.SendPropertyChanged("CompileDate");
+ this.OnCompileDateChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
+ public string CompileMan
+ {
+ get
+ {
+ return this._CompileMan;
+ }
+ set
+ {
+ if ((this._CompileMan != value))
+ {
+ if (this._Sys_User.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnCompileManChanging(value);
+ this.SendPropertyChanging();
+ this._CompileMan = value;
+ this.SendPropertyChanged("CompileMan");
+ this.OnCompileManChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
+ public Base_Project Base_Project
+ {
+ get
+ {
+ return this._Base_Project.Entity;
+ }
+ set
+ {
+ Base_Project previousValue = this._Base_Project.Entity;
+ if (((previousValue != value)
+ || (this._Base_Project.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Base_Project.Entity = null;
+ previousValue.Examine_MinusScoreSituation.Remove(this);
+ }
+ this._Base_Project.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_MinusScoreSituation.Add(this);
+ this._ProjectId = value.ProjectId;
+ }
+ else
+ {
+ this._ProjectId = default(string);
+ }
+ this.SendPropertyChanged("Base_Project");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User Sys_User
+ {
+ get
+ {
+ return this._Sys_User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._Sys_User.Entity;
+ if (((previousValue != value)
+ || (this._Sys_User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._Sys_User.Entity = null;
+ previousValue.Examine_MinusScoreSituation.Remove(this);
+ }
+ this._Sys_User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_MinusScoreSituation.Add(this);
+ this._CompileMan = value.UserId;
+ }
+ else
+ {
+ this._CompileMan = default(string);
+ }
+ this.SendPropertyChanged("Sys_User");
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Examine_MinusScoreSituation_User", Storage="_User", ThisKey="UserId", OtherKey="UserId", IsForeignKey=true)]
+ public Sys_User User
+ {
+ get
+ {
+ return this._User.Entity;
+ }
+ set
+ {
+ Sys_User previousValue = this._User.Entity;
+ if (((previousValue != value)
+ || (this._User.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._User.Entity = null;
+ previousValue.Examine_MinusScoreSituation_User.Remove(this);
+ }
+ this._User.Entity = value;
+ if ((value != null))
+ {
+ value.Examine_MinusScoreSituation_User.Add(this);
+ this._UserId = value.UserId;
+ }
+ else
+ {
+ this._UserId = default(string);
+ }
+ this.SendPropertyChanged("User");
+ }
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Examine_PersonalSafetyActionPlan")]
+ public partial class Examine_PersonalSafetyActionPlan : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _Id;
+
+ private string _ProjectId;
+
+ private string _Code;
+
+ private string _Name;
+
+ private string _UserId;
+
+ private System.Nullable _DateTime;
+
+ private string _Content;
+
+ private string _Remark;
+
+ private System.Nullable _CompileDate;
+
+ private string _CompileMan;
+
+ private EntityRef _Base_Project;
+
+ private EntityRef _Sys_User;
+
+ #region 鍙墿灞曟ф柟娉曞畾涔
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnIdChanging(string value);
+ partial void OnIdChanged();
+ partial void OnProjectIdChanging(string value);
+ partial void OnProjectIdChanged();
+ partial void OnCodeChanging(string value);
+ partial void OnCodeChanged();
+ partial void OnNameChanging(string value);
+ partial void OnNameChanged();
+ partial void OnUserIdChanging(string value);
+ partial void OnUserIdChanged();
+ partial void OnDateTimeChanging(System.Nullable value);
+ partial void OnDateTimeChanged();
+ partial void OnContentChanging(string value);
+ partial void OnContentChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ partial void OnCompileDateChanging(System.Nullable value);
+ partial void OnCompileDateChanged();
+ partial void OnCompileManChanging(string value);
+ partial void OnCompileManChanged();
+ #endregion
+
+ public Examine_PersonalSafetyActionPlan()
+ {
+ this._Base_Project = default(EntityRef