diff --git a/DataBase/版本日志/FCLDB_2024.05.08.sql b/DataBase/版本日志/FCLDB_2024.05.08.sql
new file mode 100644
index 0000000..99e821b
--- /dev/null
+++ b/DataBase/版本日志/FCLDB_2024.05.08.sql
@@ -0,0 +1,39 @@
+UPDATE dbo.Base_Depart SET DepartCode='None',DepartName='None' WHERE DepartCode='All'
+GO
+
+ALTER TABLE dbo.EMC_Punishment ADD SelectYesNo BIT NULL
+GO
+ALTER TABLE dbo.EMC_Punishment ADD Def NVARCHAR(300) NULL
+GO
+
+
+ALTER VIEW [dbo].[View_EMC_Punishment]
+AS
+/*********ۿͼ**********/
+SELECT punish.PunishmentId,punish.PunishDate,punish.FO_NO,punish.SES_No,punish.Location,punish.Description,punish.Company, punish.Individual,
+ (ISNULL(punish.Company,0)+ISNULL(punish.Individual,0)) AS Backcharge, punish.CompletionDate,punish.PunishDate AS PunishTime,
+ (CASE WHEN punish.ViolationDegree='1' THEN 'һΥ' WHEN punish.ViolationDegree='2' THEN 'Υ' WHEN punish.ViolationDegree='3' THEN 'Υ' END) AS ViolationDegree,
+ (CASE WHEN con.Contractor IS NULL THEN con.ContractorCN WHEN con.ContractorCN IS NULL THEN con.Contractor ELSE con.Contractor+con.ContractorCN END)AS Contractor,
+ datas.Contractor AS ContractorId,dis.Discipline AS DisciplineEn,dis.DisciplineCN,con.Contractor AS ContractorEn,con.ContractorCN,
+ (CASE WHEN dis.Discipline IS NULL THEN dis.DisciplineCN WHEN dis.DisciplineCN IS NULL THEN dis.Discipline ELSE dis.Discipline+dis.DisciplineCN END) AS Discipline,
+ datas.Contract_Admin AS Contract_AdminId, u.UserName AS Contract_Admin, u2.UserName AS Main_Coordinator,mcdep.DepartName AS MCDept, u3.UserName AS User_Representative,
+ bycDep.DepartName AS BYCRU,bycuser.UserName AS BYCRULeader, u4.UserName AS Violation_Inspector_Name, viDep.DepartName AS InspectionDep,
+ punish.BYC_RU,punish.Violation_Inspector,punish.ViolationRelatedSes,punish.Flag,punish.SelectYesNo,punish.Def,
+ (CASE WHEN punish.EmailIsSend=1 THEN '' ELSE '' END) AS EmailIsSend
+FROM dbo.EMC_Punishment punish
+LEFT JOIN dbo.FC_SESRelatedData datas ON datas.FO_NO = punish.FO_NO
+LEFT JOIN dbo.Base_Contractor AS con ON con.ContractorId = datas.Contractor
+LEFT JOIN dbo.Base_Discipline AS dis ON dis.DisciplineId = datas.DisciplineId
+LEFT JOIN dbo.Sys_User AS u ON u.UserId = datas.Contract_Admin
+LEFT JOIN dbo.Sys_User AS u2 ON u2.UserId = datas.Main_Coordinator
+LEFT JOIN dbo.Sys_User AS u3 ON u3.UserId=datas.User_Representative
+LEFT JOIN dbo.Base_Depart mcdep ON mcdep.DepartId = u2.DepartId
+LEFT JOIN dbo.Base_Depart bycDep ON bycdep.DepartId=punish.BYC_RU
+LEFT JOIN dbo.Sys_User bycuser ON bycuser.UserId = bycDep.DepartLeader
+LEFT JOIN dbo.Sys_User AS u4 ON u4.UserId=punish.Violation_Inspector
+LEFT JOIN dbo.Base_Depart viDep ON viDep.DepartId=u4.DepartId
+
+
+GO
+
+
diff --git a/FCL/BLL/BaseInfo/DepartService.cs b/FCL/BLL/BaseInfo/DepartService.cs
index d3e5cc2..69a6b78 100644
--- a/FCL/BLL/BaseInfo/DepartService.cs
+++ b/FCL/BLL/BaseInfo/DepartService.cs
@@ -155,5 +155,27 @@ namespace BLL
Funs.FineUIPleaseSelect(dropName);
}
}
+
+ ///
+ /// 根据条件加载部门
+ ///
+ ///
+ ///
+ public static void InitDepartToWhere(FineUIPro.DropDownList dropName, bool isShowPlease)
+ {
+ dropName.DataValueField = "DepartId";
+ dropName.DataTextField = "DepartName";
+ dropName.DataSource = GetDarpDepartList();
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName);
+ }
+ }
+
+ public static List GetDarpDepartList()
+ {
+ return (from x in Funs.DB.Base_Depart where x.DepartCode.Contains("/") || x.DepartCode.ToLower() == "none" orderby x.DepartCode select x).ToList();
+ }
}
}
diff --git a/FCL/BLL/Common/HttpHelper.cs b/FCL/BLL/Common/HttpHelper.cs
index 420aa37..ce7fd27 100644
--- a/FCL/BLL/Common/HttpHelper.cs
+++ b/FCL/BLL/Common/HttpHelper.cs
@@ -20,7 +20,7 @@ namespace BLL.Common
string strGetResponse = string.Empty;
try
{
- var getRequest = CreateHttpRequest(url,"", "GET");
+ var getRequest = CreateHttpRequest(url,"GET", "");
var getResponse = getRequest.GetResponse() as HttpWebResponse;
strGetResponse = GetHttpResponse(getResponse, "GET");
}
diff --git a/FCL/BLL/SES/PunishmentService.cs b/FCL/BLL/SES/PunishmentService.cs
index 7b05883..df843e0 100644
--- a/FCL/BLL/SES/PunishmentService.cs
+++ b/FCL/BLL/SES/PunishmentService.cs
@@ -46,6 +46,8 @@ namespace BLL
newPunishment.CompletionDate = punishment.CompletionDate;
newPunishment.Flag = punishment.Flag;
newPunishment.ViolationRelatedSes = punishment.ViolationRelatedSes;
+ newPunishment.SelectYesNo = punishment.SelectYesNo;
+ newPunishment.Def=punishment.Def;
Funs.DB.EMC_Punishment.InsertOnSubmit(newPunishment);
Funs.DB.SubmitChanges();
}
@@ -71,6 +73,8 @@ namespace BLL
newPunishment.Violation_Inspector = punishment.Violation_Inspector;
newPunishment.CompletionDate = punishment.CompletionDate;
newPunishment.ViolationRelatedSes = punishment.ViolationRelatedSes;
+ newPunishment.SelectYesNo = punishment.SelectYesNo;
+ newPunishment.Def = punishment.Def;
Funs.DB.SubmitChanges();
}
}
diff --git a/FCL/FCL.sln b/FCL/FCL.sln
index 99e900b..e52b4dc 100644
--- a/FCL/FCL.sln
+++ b/FCL/FCL.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.28307.572
+# Visual Studio Version 17
+VisualStudioVersion = 17.9.34728.123
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FineUIPro.Web", "FineUIPro.Web\FineUIPro.Web.csproj", "{C88D3156-2D56-4DB0-922E-1995FB61C9BD}"
EndProject
diff --git a/FCL/FineUIPro.Web/File/Excel/Punishment.xlsx b/FCL/FineUIPro.Web/File/Excel/Punishment.xlsx
index a7ca2d1..19bc7e3 100644
Binary files a/FCL/FineUIPro.Web/File/Excel/Punishment.xlsx and b/FCL/FineUIPro.Web/File/Excel/Punishment.xlsx differ
diff --git a/FCL/FineUIPro.Web/FineUIPro.Web.csproj b/FCL/FineUIPro.Web/FineUIPro.Web.csproj
index 806bfbc..42d069b 100644
--- a/FCL/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/FCL/FineUIPro.Web/FineUIPro.Web.csproj
@@ -2572,6 +2572,7 @@
+
@@ -2606,17 +2607,6 @@
FCLDS.xsd
-
- ScoreDataSet.xsd
-
-
- MSDataSetGenerator
- ScoreDataSet1.Designer.cs
- Designer
-
-
- ScoreDataSet.xsd
-
@@ -3177,15 +3167,7 @@
ReportPrint.aspx
-
- ScoreDataSet.xsd
-
-
- True
- True
- ScoreDataSet.xsd
-
index.aspx
ASPXCodeBehind
diff --git a/FCL/FineUIPro.Web/FineUIPro.Web.csproj.user b/FCL/FineUIPro.Web/FineUIPro.Web.csproj.user
index 6947efe..a7c4725 100644
--- a/FCL/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/FCL/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -1,8 +1,8 @@
- ProjectFiles
- Debug|Any CPU
+ ShowAllFiles
+ Release|Any CPU
true
diff --git a/FCL/FineUIPro.Web/Global.asax.cs b/FCL/FineUIPro.Web/Global.asax.cs
index 7d62ec7..bfa9be4 100644
--- a/FCL/FineUIPro.Web/Global.asax.cs
+++ b/FCL/FineUIPro.Web/Global.asax.cs
@@ -147,6 +147,17 @@
aTimer.Start();
}
+
+ // 启动接口
+ if (DateTime.Now.Hour == 17)
+ {
+ System.Timers.Timer fcTimer = new System.Timers.Timer();
+ fcTimer.Elapsed += new System.Timers.ElapsedEventHandler(Sync_HR);
+ //12小时执行一次
+ fcTimer.Interval = 1000 * 60 * 60 * 12;
+ fcTimer.Enabled = true;
+ fcTimer.Start();
+ }
}
private void queTimer_AutoSendOne(object sender, System.Timers.ElapsedEventArgs e)
@@ -1385,6 +1396,13 @@
BLL.SQLHelper.ExecutSql(strSql);
}
+ private void Sync_HR(object sender, System.Timers.ElapsedEventArgs e)
+ {
+ //调用接口
+ string baseUrl = "https://fcl-test.basf-ypc.net.cn/api/api/DataSyncUserInfo/GetHrInfoList";
+ BLL.Common.HttpHelper.HttpGetRequest(baseUrl);
+ }
+
protected void Session_Start(object sender, EventArgs e)
{
Session.Timeout = 120;
@@ -1475,9 +1493,17 @@
}
+ // 回收时调用接口
protected void Application_End(object sender, EventArgs e)
{
-
+ //调用接口
+ string baseUrl = "https://fcl-test.basf-ypc.net.cn/api/api/DataSyncUserInfo/GetHrInfoList";
+ BLL.Common.HttpHelper.HttpGetRequest(baseUrl);
+ //var obj = JsonConvert.DeserializeObject(result);
+ //if (obj.code == 200)
+ //{
+ // //成功
+ //}
}
}
}
diff --git a/FCL/FineUIPro.Web/Report/ScoreDataSet1.Designer.cs b/FCL/FineUIPro.Web/Report/ScoreDataSet1.Designer.cs
deleted file mode 100644
index a509974..0000000
--- a/FCL/FineUIPro.Web/Report/ScoreDataSet1.Designer.cs
+++ /dev/null
@@ -1,1921 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// 此代码由工具生成。
-// 运行时版本:4.0.30319.42000
-//
-// 对此文件的更改可能会导致不正确的行为,并且如果
-// 重新生成代码,这些更改将会丢失。
-//
-//------------------------------------------------------------------------------
-
-#pragma warning disable 1591
-
-namespace FineUIPro.Web.Report {
-
-
- ///
- ///Represents a strongly typed in-memory cache of data.
- ///
- [global::System.Serializable()]
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
- [global::System.Xml.Serialization.XmlRootAttribute("ScoreDataSet")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
- public partial class ScoreDataSet : global::System.Data.DataSet {
-
- private FC_AveScoreViewDataTable tableFC_AveScoreView;
-
- private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public ScoreDataSet() {
- this.BeginInit();
- this.InitClass();
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- base.Tables.CollectionChanged += schemaChangedHandler;
- base.Relations.CollectionChanged += schemaChangedHandler;
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected ScoreDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context, false) {
- if ((this.IsBinarySerialized(info, context) == true)) {
- this.InitVars(false);
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- this.Tables.CollectionChanged += schemaChangedHandler1;
- this.Relations.CollectionChanged += schemaChangedHandler1;
- return;
- }
- string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
- if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
- global::System.Data.DataSet ds = new global::System.Data.DataSet();
- ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
- if ((ds.Tables["FC_AveScoreView"] != null)) {
- base.Tables.Add(new FC_AveScoreViewDataTable(ds.Tables["FC_AveScoreView"]));
- }
- this.DataSetName = ds.DataSetName;
- this.Prefix = ds.Prefix;
- this.Namespace = ds.Namespace;
- this.Locale = ds.Locale;
- this.CaseSensitive = ds.CaseSensitive;
- this.EnforceConstraints = ds.EnforceConstraints;
- this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
- else {
- this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
- }
- this.GetSerializationData(info, context);
- global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
- base.Tables.CollectionChanged += schemaChangedHandler;
- this.Relations.CollectionChanged += schemaChangedHandler;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public FC_AveScoreViewDataTable FC_AveScoreView {
- get {
- return this.tableFC_AveScoreView;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.BrowsableAttribute(true)]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
- public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
- get {
- return this._schemaSerializationMode;
- }
- set {
- this._schemaSerializationMode = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
- public new global::System.Data.DataTableCollection Tables {
- get {
- return base.Tables;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
- public new global::System.Data.DataRelationCollection Relations {
- get {
- return base.Relations;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override void InitializeDerivedDataSet() {
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public override global::System.Data.DataSet Clone() {
- ScoreDataSet cln = ((ScoreDataSet)(base.Clone()));
- cln.InitVars();
- cln.SchemaSerializationMode = this.SchemaSerializationMode;
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override bool ShouldSerializeTables() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override bool ShouldSerializeRelations() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
- if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
- this.Reset();
- global::System.Data.DataSet ds = new global::System.Data.DataSet();
- ds.ReadXml(reader);
- if ((ds.Tables["FC_AveScoreView"] != null)) {
- base.Tables.Add(new FC_AveScoreViewDataTable(ds.Tables["FC_AveScoreView"]));
- }
- this.DataSetName = ds.DataSetName;
- this.Prefix = ds.Prefix;
- this.Namespace = ds.Namespace;
- this.Locale = ds.Locale;
- this.CaseSensitive = ds.CaseSensitive;
- this.EnforceConstraints = ds.EnforceConstraints;
- this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
- this.InitVars();
- }
- else {
- this.ReadXml(reader);
- this.InitVars();
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
- global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
- this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
- stream.Position = 0;
- return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- internal void InitVars() {
- this.InitVars(true);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- internal void InitVars(bool initTable) {
- this.tableFC_AveScoreView = ((FC_AveScoreViewDataTable)(base.Tables["FC_AveScoreView"]));
- if ((initTable == true)) {
- if ((this.tableFC_AveScoreView != null)) {
- this.tableFC_AveScoreView.InitVars();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private void InitClass() {
- this.DataSetName = "ScoreDataSet";
- this.Prefix = "";
- this.Namespace = "http://tempuri.org/ScoreDataSet.xsd";
- this.EnforceConstraints = true;
- this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
- this.tableFC_AveScoreView = new FC_AveScoreViewDataTable();
- base.Tables.Add(this.tableFC_AveScoreView);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private bool ShouldSerializeFC_AveScoreView() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
- if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
- this.InitVars();
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- ScoreDataSet ds = new ScoreDataSet();
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
- any.Namespace = ds.Namespace;
- sequence.Items.Add(any);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public delegate void FC_AveScoreViewRowChangeEventHandler(object sender, FC_AveScoreViewRowChangeEvent e);
-
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class FC_AveScoreViewDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columnID;
-
- private global::System.Data.DataColumn columnContract_NO;
-
- private global::System.Data.DataColumn columnDescription;
-
- private global::System.Data.DataColumn columnContractor;
-
- private global::System.Data.DataColumn columnPreparation;
-
- private global::System.Data.DataColumn columnPerformance;
-
- private global::System.Data.DataColumn columnEHSS;
-
- private global::System.Data.DataColumn columnQuality_Control;
-
- private global::System.Data.DataColumn columnTimeLine_Management;
-
- private global::System.Data.DataColumn columnDocumentation;
-
- private global::System.Data.DataColumn columnHonestyTimely;
-
- private global::System.Data.DataColumn columnMain_Coordinator;
-
- private global::System.Data.DataColumn columnUser_Representative;
-
- private global::System.Data.DataColumn columnCTS;
-
- private global::System.Data.DataColumn columnCTM_T;
-
- private global::System.Data.DataColumn columnStartTime;
-
- private global::System.Data.DataColumn columnEndTime;
-
- private global::System.Data.DataColumn columnCHA;
-
- private global::System.Data.DataColumn columnCTE_D;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public FC_AveScoreViewDataTable() {
- this.TableName = "FC_AveScoreView";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- internal FC_AveScoreViewDataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected FC_AveScoreViewDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn IDColumn {
- get {
- return this.columnID;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn Contract_NOColumn {
- get {
- return this.columnContract_NO;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn DescriptionColumn {
- get {
- return this.columnDescription;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn ContractorColumn {
- get {
- return this.columnContractor;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn PreparationColumn {
- get {
- return this.columnPreparation;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn PerformanceColumn {
- get {
- return this.columnPerformance;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn EHSSColumn {
- get {
- return this.columnEHSS;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn Quality_ControlColumn {
- get {
- return this.columnQuality_Control;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn TimeLine_ManagementColumn {
- get {
- return this.columnTimeLine_Management;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn DocumentationColumn {
- get {
- return this.columnDocumentation;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn HonestyTimelyColumn {
- get {
- return this.columnHonestyTimely;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn Main_CoordinatorColumn {
- get {
- return this.columnMain_Coordinator;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn User_RepresentativeColumn {
- get {
- return this.columnUser_Representative;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn CTSColumn {
- get {
- return this.columnCTS;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn CTM_TColumn {
- get {
- return this.columnCTM_T;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn StartTimeColumn {
- get {
- return this.columnStartTime;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn EndTimeColumn {
- get {
- return this.columnEndTime;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn CHAColumn {
- get {
- return this.columnCHA;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataColumn CTE_DColumn {
- get {
- return this.columnCTE_D;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public FC_AveScoreViewRow this[int index] {
- get {
- return ((FC_AveScoreViewRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public event FC_AveScoreViewRowChangeEventHandler FC_AveScoreViewRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public event FC_AveScoreViewRowChangeEventHandler FC_AveScoreViewRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public event FC_AveScoreViewRowChangeEventHandler FC_AveScoreViewRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public event FC_AveScoreViewRowChangeEventHandler FC_AveScoreViewRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void AddFC_AveScoreViewRow(FC_AveScoreViewRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public FC_AveScoreViewRow AddFC_AveScoreViewRow(
- int ID,
- string Contract_NO,
- string Description,
- string Contractor,
- decimal Preparation,
- decimal Performance,
- decimal EHSS,
- decimal Quality_Control,
- decimal TimeLine_Management,
- decimal Documentation,
- decimal HonestyTimely,
- decimal Main_Coordinator,
- decimal User_Representative,
- decimal CTS,
- decimal CTM_T,
- System.DateTime StartTime,
- System.DateTime EndTime,
- decimal CHA,
- decimal CTE_D) {
- FC_AveScoreViewRow rowFC_AveScoreViewRow = ((FC_AveScoreViewRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- ID,
- Contract_NO,
- Description,
- Contractor,
- Preparation,
- Performance,
- EHSS,
- Quality_Control,
- TimeLine_Management,
- Documentation,
- HonestyTimely,
- Main_Coordinator,
- User_Representative,
- CTS,
- CTM_T,
- StartTime,
- EndTime,
- CHA,
- CTE_D};
- rowFC_AveScoreViewRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowFC_AveScoreViewRow);
- return rowFC_AveScoreViewRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public FC_AveScoreViewRow FindByID(int ID) {
- return ((FC_AveScoreViewRow)(this.Rows.Find(new object[] {
- ID})));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public override global::System.Data.DataTable Clone() {
- FC_AveScoreViewDataTable cln = ((FC_AveScoreViewDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override global::System.Data.DataTable CreateInstance() {
- return new FC_AveScoreViewDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- internal void InitVars() {
- this.columnID = base.Columns["ID"];
- this.columnContract_NO = base.Columns["Contract_NO"];
- this.columnDescription = base.Columns["Description"];
- this.columnContractor = base.Columns["Contractor"];
- this.columnPreparation = base.Columns["Preparation"];
- this.columnPerformance = base.Columns["Performance"];
- this.columnEHSS = base.Columns["EHSS"];
- this.columnQuality_Control = base.Columns["Quality_Control"];
- this.columnTimeLine_Management = base.Columns["TimeLine_Management"];
- this.columnDocumentation = base.Columns["Documentation"];
- this.columnHonestyTimely = base.Columns["HonestyTimely"];
- this.columnMain_Coordinator = base.Columns["Main_Coordinator"];
- this.columnUser_Representative = base.Columns["User_Representative"];
- this.columnCTS = base.Columns["CTS"];
- this.columnCTM_T = base.Columns["CTM_T"];
- this.columnStartTime = base.Columns["StartTime"];
- this.columnEndTime = base.Columns["EndTime"];
- this.columnCHA = base.Columns["CHA"];
- this.columnCTE_D = base.Columns["CTE_D"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private void InitClass() {
- this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnID);
- this.columnContract_NO = new global::System.Data.DataColumn("Contract_NO", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnContract_NO);
- this.columnDescription = new global::System.Data.DataColumn("Description", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnDescription);
- this.columnContractor = new global::System.Data.DataColumn("Contractor", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnContractor);
- this.columnPreparation = new global::System.Data.DataColumn("Preparation", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnPreparation);
- this.columnPerformance = new global::System.Data.DataColumn("Performance", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnPerformance);
- this.columnEHSS = new global::System.Data.DataColumn("EHSS", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnEHSS);
- this.columnQuality_Control = new global::System.Data.DataColumn("Quality_Control", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnQuality_Control);
- this.columnTimeLine_Management = new global::System.Data.DataColumn("TimeLine_Management", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnTimeLine_Management);
- this.columnDocumentation = new global::System.Data.DataColumn("Documentation", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnDocumentation);
- this.columnHonestyTimely = new global::System.Data.DataColumn("HonestyTimely", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnHonestyTimely);
- this.columnMain_Coordinator = new global::System.Data.DataColumn("Main_Coordinator", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnMain_Coordinator);
- this.columnUser_Representative = new global::System.Data.DataColumn("User_Representative", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnUser_Representative);
- this.columnCTS = new global::System.Data.DataColumn("CTS", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCTS);
- this.columnCTM_T = new global::System.Data.DataColumn("CTM_T", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCTM_T);
- this.columnStartTime = new global::System.Data.DataColumn("StartTime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnStartTime);
- this.columnEndTime = new global::System.Data.DataColumn("EndTime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnEndTime);
- this.columnCHA = new global::System.Data.DataColumn("CHA", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCHA);
- this.columnCTE_D = new global::System.Data.DataColumn("CTE_D", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnCTE_D);
- this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.columnID}, true));
- this.columnID.AllowDBNull = false;
- this.columnID.Unique = true;
- this.columnContract_NO.AllowDBNull = false;
- this.columnContract_NO.MaxLength = 50;
- this.columnDescription.MaxLength = 200;
- this.columnContractor.MaxLength = 50;
- this.columnPreparation.ReadOnly = true;
- this.columnPerformance.ReadOnly = true;
- this.columnEHSS.ReadOnly = true;
- this.columnQuality_Control.ReadOnly = true;
- this.columnTimeLine_Management.ReadOnly = true;
- this.columnDocumentation.ReadOnly = true;
- this.columnHonestyTimely.ReadOnly = true;
- this.columnMain_Coordinator.ReadOnly = true;
- this.columnUser_Representative.ReadOnly = true;
- this.columnCTS.ReadOnly = true;
- this.columnCTM_T.ReadOnly = true;
- this.columnCHA.ReadOnly = true;
- this.columnCTE_D.ReadOnly = true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public FC_AveScoreViewRow NewFC_AveScoreViewRow() {
- return ((FC_AveScoreViewRow)(this.NewRow()));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new FC_AveScoreViewRow(builder);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override global::System.Type GetRowType() {
- return typeof(FC_AveScoreViewRow);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.FC_AveScoreViewRowChanged != null)) {
- this.FC_AveScoreViewRowChanged(this, new FC_AveScoreViewRowChangeEvent(((FC_AveScoreViewRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.FC_AveScoreViewRowChanging != null)) {
- this.FC_AveScoreViewRowChanging(this, new FC_AveScoreViewRowChangeEvent(((FC_AveScoreViewRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.FC_AveScoreViewRowDeleted != null)) {
- this.FC_AveScoreViewRowDeleted(this, new FC_AveScoreViewRowChangeEvent(((FC_AveScoreViewRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.FC_AveScoreViewRowDeleting != null)) {
- this.FC_AveScoreViewRowDeleting(this, new FC_AveScoreViewRowChangeEvent(((FC_AveScoreViewRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void RemoveFC_AveScoreViewRow(FC_AveScoreViewRow row) {
- this.Rows.Remove(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- ScoreDataSet ds = new ScoreDataSet();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "FC_AveScoreViewDataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
-
- ///
- ///Represents strongly named DataRow class.
- ///
- public partial class FC_AveScoreViewRow : global::System.Data.DataRow {
-
- private FC_AveScoreViewDataTable tableFC_AveScoreView;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- internal FC_AveScoreViewRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tableFC_AveScoreView = ((FC_AveScoreViewDataTable)(this.Table));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public int ID {
- get {
- return ((int)(this[this.tableFC_AveScoreView.IDColumn]));
- }
- set {
- this[this.tableFC_AveScoreView.IDColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public string Contract_NO {
- get {
- return ((string)(this[this.tableFC_AveScoreView.Contract_NOColumn]));
- }
- set {
- this[this.tableFC_AveScoreView.Contract_NOColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public string Description {
- get {
- try {
- return ((string)(this[this.tableFC_AveScoreView.DescriptionColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“Description”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.DescriptionColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public string Contractor {
- get {
- try {
- return ((string)(this[this.tableFC_AveScoreView.ContractorColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“Contractor”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.ContractorColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal Preparation {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.PreparationColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“Preparation”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.PreparationColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal Performance {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.PerformanceColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“Performance”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.PerformanceColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal EHSS {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.EHSSColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“EHSS”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.EHSSColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal Quality_Control {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.Quality_ControlColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“Quality_Control”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.Quality_ControlColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal TimeLine_Management {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.TimeLine_ManagementColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“TimeLine_Management”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.TimeLine_ManagementColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal Documentation {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.DocumentationColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“Documentation”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.DocumentationColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal HonestyTimely {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.HonestyTimelyColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“HonestyTimely”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.HonestyTimelyColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal Main_Coordinator {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.Main_CoordinatorColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“Main_Coordinator”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.Main_CoordinatorColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal User_Representative {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.User_RepresentativeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“User_Representative”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.User_RepresentativeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal CTS {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.CTSColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“CTS”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.CTSColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal CTM_T {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.CTM_TColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“CTM_T”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.CTM_TColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public System.DateTime StartTime {
- get {
- try {
- return ((global::System.DateTime)(this[this.tableFC_AveScoreView.StartTimeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“StartTime”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.StartTimeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public System.DateTime EndTime {
- get {
- try {
- return ((global::System.DateTime)(this[this.tableFC_AveScoreView.EndTimeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“EndTime”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.EndTimeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal CHA {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.CHAColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“CHA”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.CHAColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public decimal CTE_D {
- get {
- try {
- return ((decimal)(this[this.tableFC_AveScoreView.CTE_DColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("表“FC_AveScoreView”中列“CTE_D”的值为 DBNull。", e);
- }
- }
- set {
- this[this.tableFC_AveScoreView.CTE_DColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsDescriptionNull() {
- return this.IsNull(this.tableFC_AveScoreView.DescriptionColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetDescriptionNull() {
- this[this.tableFC_AveScoreView.DescriptionColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsContractorNull() {
- return this.IsNull(this.tableFC_AveScoreView.ContractorColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetContractorNull() {
- this[this.tableFC_AveScoreView.ContractorColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsPreparationNull() {
- return this.IsNull(this.tableFC_AveScoreView.PreparationColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetPreparationNull() {
- this[this.tableFC_AveScoreView.PreparationColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsPerformanceNull() {
- return this.IsNull(this.tableFC_AveScoreView.PerformanceColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetPerformanceNull() {
- this[this.tableFC_AveScoreView.PerformanceColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsEHSSNull() {
- return this.IsNull(this.tableFC_AveScoreView.EHSSColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetEHSSNull() {
- this[this.tableFC_AveScoreView.EHSSColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsQuality_ControlNull() {
- return this.IsNull(this.tableFC_AveScoreView.Quality_ControlColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetQuality_ControlNull() {
- this[this.tableFC_AveScoreView.Quality_ControlColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsTimeLine_ManagementNull() {
- return this.IsNull(this.tableFC_AveScoreView.TimeLine_ManagementColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetTimeLine_ManagementNull() {
- this[this.tableFC_AveScoreView.TimeLine_ManagementColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsDocumentationNull() {
- return this.IsNull(this.tableFC_AveScoreView.DocumentationColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetDocumentationNull() {
- this[this.tableFC_AveScoreView.DocumentationColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsHonestyTimelyNull() {
- return this.IsNull(this.tableFC_AveScoreView.HonestyTimelyColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetHonestyTimelyNull() {
- this[this.tableFC_AveScoreView.HonestyTimelyColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsMain_CoordinatorNull() {
- return this.IsNull(this.tableFC_AveScoreView.Main_CoordinatorColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetMain_CoordinatorNull() {
- this[this.tableFC_AveScoreView.Main_CoordinatorColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsUser_RepresentativeNull() {
- return this.IsNull(this.tableFC_AveScoreView.User_RepresentativeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetUser_RepresentativeNull() {
- this[this.tableFC_AveScoreView.User_RepresentativeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsCTSNull() {
- return this.IsNull(this.tableFC_AveScoreView.CTSColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetCTSNull() {
- this[this.tableFC_AveScoreView.CTSColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsCTM_TNull() {
- return this.IsNull(this.tableFC_AveScoreView.CTM_TColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetCTM_TNull() {
- this[this.tableFC_AveScoreView.CTM_TColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsStartTimeNull() {
- return this.IsNull(this.tableFC_AveScoreView.StartTimeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetStartTimeNull() {
- this[this.tableFC_AveScoreView.StartTimeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsEndTimeNull() {
- return this.IsNull(this.tableFC_AveScoreView.EndTimeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetEndTimeNull() {
- this[this.tableFC_AveScoreView.EndTimeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsCHANull() {
- return this.IsNull(this.tableFC_AveScoreView.CHAColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetCHANull() {
- this[this.tableFC_AveScoreView.CHAColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool IsCTE_DNull() {
- return this.IsNull(this.tableFC_AveScoreView.CTE_DColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public void SetCTE_DNull() {
- this[this.tableFC_AveScoreView.CTE_DColumn] = global::System.Convert.DBNull;
- }
- }
-
- ///
- ///Row event argument class
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public class FC_AveScoreViewRowChangeEvent : global::System.EventArgs {
-
- private FC_AveScoreViewRow eventRow;
-
- private global::System.Data.DataRowAction eventAction;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public FC_AveScoreViewRowChangeEvent(FC_AveScoreViewRow row, global::System.Data.DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public FC_AveScoreViewRow Row {
- get {
- return this.eventRow;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public global::System.Data.DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
- }
-}
-namespace FineUIPro.Web.Report.ScoreDataSetTableAdapters {
-
-
- ///
- ///Represents the connection and commands used to retrieve and save data.
- ///
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.ComponentModel.DataObjectAttribute(true)]
- [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
- ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public partial class FC_AveScoreViewTableAdapter : global::System.ComponentModel.Component {
-
- private global::System.Data.SqlClient.SqlDataAdapter _adapter;
-
- private global::System.Data.SqlClient.SqlConnection _connection;
-
- private global::System.Data.SqlClient.SqlTransaction _transaction;
-
- private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
-
- private bool _clearBeforeFill;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public FC_AveScoreViewTableAdapter() {
- this.ClearBeforeFill = true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
- get {
- if ((this._adapter == null)) {
- this.InitAdapter();
- }
- return this._adapter;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- internal global::System.Data.SqlClient.SqlConnection Connection {
- get {
- if ((this._connection == null)) {
- this.InitConnection();
- }
- return this._connection;
- }
- set {
- this._connection = value;
- if ((this.Adapter.InsertCommand != null)) {
- this.Adapter.InsertCommand.Connection = value;
- }
- if ((this.Adapter.DeleteCommand != null)) {
- this.Adapter.DeleteCommand.Connection = value;
- }
- if ((this.Adapter.UpdateCommand != null)) {
- this.Adapter.UpdateCommand.Connection = value;
- }
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
- if ((this.CommandCollection[i] != null)) {
- ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
- }
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- internal global::System.Data.SqlClient.SqlTransaction Transaction {
- get {
- return this._transaction;
- }
- set {
- this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
- this.CommandCollection[i].Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.DeleteCommand != null))) {
- this.Adapter.DeleteCommand.Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null))) {
- this.Adapter.InsertCommand.Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null))) {
- this.Adapter.UpdateCommand.Transaction = this._transaction;
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
- get {
- if ((this._commandCollection == null)) {
- this.InitCommandCollection();
- }
- return this._commandCollection;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool ClearBeforeFill {
- get {
- return this._clearBeforeFill;
- }
- set {
- this._clearBeforeFill = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private void InitAdapter() {
- this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
- global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
- tableMapping.SourceTable = "Table";
- tableMapping.DataSetTable = "FC_AveScoreView";
- tableMapping.ColumnMappings.Add("ID", "ID");
- tableMapping.ColumnMappings.Add("Contract_NO", "Contract_NO");
- tableMapping.ColumnMappings.Add("Description", "Description");
- tableMapping.ColumnMappings.Add("Contractor", "Contractor");
- tableMapping.ColumnMappings.Add("Preparation", "Preparation");
- tableMapping.ColumnMappings.Add("Performance", "Performance");
- tableMapping.ColumnMappings.Add("EHSS", "EHSS");
- tableMapping.ColumnMappings.Add("Quality_Control", "Quality_Control");
- tableMapping.ColumnMappings.Add("TimeLine_Management", "TimeLine_Management");
- tableMapping.ColumnMappings.Add("Documentation", "Documentation");
- tableMapping.ColumnMappings.Add("HonestyTimely", "HonestyTimely");
- tableMapping.ColumnMappings.Add("Main_Coordinator", "Main_Coordinator");
- tableMapping.ColumnMappings.Add("User_Representative", "User_Representative");
- tableMapping.ColumnMappings.Add("CTS", "CTS");
- tableMapping.ColumnMappings.Add("CTM_T", "CTM_T");
- tableMapping.ColumnMappings.Add("StartTime", "StartTime");
- tableMapping.ColumnMappings.Add("EndTime", "EndTime");
- tableMapping.ColumnMappings.Add("CHA", "CHA");
- tableMapping.ColumnMappings.Add("CTE_D", "CTE_D");
- this._adapter.TableMappings.Add(tableMapping);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private void InitConnection() {
- this._connection = new global::System.Data.SqlClient.SqlConnection();
- this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["FCLDBConnectionString"].ConnectionString;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
- this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = "SELECT ID, Contract_NO, Description, Contractor, Preparation, Performance, EHSS, " +
- "Quality_Control, TimeLine_Management, Documentation, HonestyTimely, Main_Coordin" +
- "ator, User_Representative, CTS, CTM_T, StartTime, EndTime, CHA, CTE_D FROM dbo.F" +
- "C_AveScoreView";
- this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
- public virtual int Fill(ScoreDataSet.FC_AveScoreViewDataTable dataTable) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((this.ClearBeforeFill == true)) {
- dataTable.Clear();
- }
- int returnValue = this.Adapter.Fill(dataTable);
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual ScoreDataSet.FC_AveScoreViewDataTable GetData() {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- ScoreDataSet.FC_AveScoreViewDataTable dataTable = new ScoreDataSet.FC_AveScoreViewDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
- }
-
- ///
- ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
- ///
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
- "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
- public partial class TableAdapterManager : global::System.ComponentModel.Component {
-
- private UpdateOrderOption _updateOrder;
-
- private bool _backupDataSetBeforeUpdate;
-
- private global::System.Data.IDbConnection _connection;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public UpdateOrderOption UpdateOrder {
- get {
- return this._updateOrder;
- }
- set {
- this._updateOrder = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public bool BackupDataSetBeforeUpdate {
- get {
- return this._backupDataSetBeforeUpdate;
- }
- set {
- this._backupDataSetBeforeUpdate = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public global::System.Data.IDbConnection Connection {
- get {
- if ((this._connection != null)) {
- return this._connection;
- }
- return null;
- }
- set {
- this._connection = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public int TableAdapterInstanceCount {
- get {
- int count = 0;
- return count;
- }
- }
-
- ///
- ///Update rows in top-down order.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private int UpdateUpdatedRows(ScoreDataSet dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
- int result = 0;
- return result;
- }
-
- ///
- ///Insert rows in top-down order.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private int UpdateInsertedRows(ScoreDataSet dataSet, global::System.Collections.Generic.List allAddedRows) {
- int result = 0;
- return result;
- }
-
- ///
- ///Delete rows in bottom-up order.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private int UpdateDeletedRows(ScoreDataSet dataSet, global::System.Collections.Generic.List allChangedRows) {
- int result = 0;
- return result;
- }
-
- ///
- ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) {
- if (((updatedRows == null)
- || (updatedRows.Length < 1))) {
- return updatedRows;
- }
- if (((allAddedRows == null)
- || (allAddedRows.Count < 1))) {
- return updatedRows;
- }
- global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List();
- for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
- global::System.Data.DataRow row = updatedRows[i];
- if ((allAddedRows.Contains(row) == false)) {
- realUpdatedRows.Add(row);
- }
- }
- return realUpdatedRows.ToArray();
- }
-
- ///
- ///Update all changes to the dataset.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
- public virtual int UpdateAll(ScoreDataSet dataSet) {
- if ((dataSet == null)) {
- throw new global::System.ArgumentNullException("dataSet");
- }
- if ((dataSet.HasChanges() == false)) {
- return 0;
- }
- global::System.Data.IDbConnection workConnection = this.Connection;
- if ((workConnection == null)) {
- throw new global::System.ApplicationException("TableAdapterManager 不包含任何连接信息。请将每个 TableAdapterManager TableAdapter 属性设置为有效的 Tabl" +
- "eAdapter 实例。");
- }
- bool workConnOpened = false;
- if (((workConnection.State & global::System.Data.ConnectionState.Broken)
- == global::System.Data.ConnectionState.Broken)) {
- workConnection.Close();
- }
- if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
- workConnection.Open();
- workConnOpened = true;
- }
- global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
- if ((workTransaction == null)) {
- throw new global::System.ApplicationException("事务无法开始。当前的数据连接不支持事务或当前状态不允许事务开始。");
- }
- global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List();
- global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List();
- global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List();
- global::System.Collections.Generic.Dictionary