This commit is contained in:
chi
2023-01-16 22:53:29 +09:00
parent 913ae6b261
commit e487cdb3e3
20 changed files with 1527 additions and 2218 deletions

View File

@@ -31,9 +31,8 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPatchList));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FCM0000.dsMSSQL();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
@@ -46,24 +45,28 @@
this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.BTsAVE = new System.Windows.Forms.ToolStripButton();
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
this.ta = new FCM0000.dsMSSQLTableAdapters.BoardTableAdapter();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.btSearch = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.arDatagridView1 = new arCtl.arDatagridView();
this.dv1 = new arCtl.arDatagridView();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FCM0000.dsMSSQL();
this.tam = new FCM0000.dsMSSQLTableAdapters.TableAdapterManager();
this.ta = new FCM0000.dsMSSQLTableAdapters.BoardTableAdapter();
this.wdateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.cateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.titleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.close = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.wuid_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.urlDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dv1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).BeginInit();
this.SuspendLayout();
//
// bn
@@ -86,28 +89,17 @@
this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem,
this.BTsAVE});
this.bn.Location = new System.Drawing.Point(0, 644);
this.bn.Location = new System.Drawing.Point(0, 559);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(721, 25);
this.bn.Size = new System.Drawing.Size(909, 25);
this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1";
//
// bs
//
this.bs.DataMember = "Board";
this.bs.DataSource = this.dsMSSQL;
this.bs.Sort = "WDATE DESC";
//
// dsMSSQL
//
this.dsMSSQL.DataSetName = "dsMSSQL";
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// bindingNavigatorCountItem
//
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
@@ -200,34 +192,14 @@
this.BTsAVE.Text = "Save(&S)";
this.BTsAVE.Click += new System.EventHandler(this.boardBindingNavigatorSaveItem_Click);
//
// tam
//
this.tam.BackupDataSetBeforeUpdate = false;
this.tam.BoardTableAdapter = this.ta;
this.tam.CommonTableAdapter = null;
this.tam.CustomsTableAdapter = null;
this.tam.EETGW_DocuFormTableAdapter = null;
this.tam.HolidayLIstTableAdapter = null;
this.tam.InventoryUserTableAdapter = null;
this.tam.ItemsTableAdapter = null;
this.tam.ProjectsTableAdapter = null;
this.tam.PurchaseTableAdapter = null;
this.tam.RequestItemTableAdapter = null;
this.tam.StaffTableAdapter = null;
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// richTextBox1
//
this.richTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true));
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Font = new System.Drawing.Font("맑은 고딕", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.richTextBox1.Location = new System.Drawing.Point(0, 390);
this.richTextBox1.Location = new System.Drawing.Point(0, 295);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(721, 254);
this.richTextBox1.Size = new System.Drawing.Size(909, 264);
this.richTextBox1.TabIndex = 3;
this.richTextBox1.Text = "";
//
@@ -240,7 +212,7 @@
this.toolStripButton2});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(721, 37);
this.toolStrip1.Size = new System.Drawing.Size(909, 37);
this.toolStrip1.TabIndex = 9;
this.toolStrip1.Text = "toolStrip1";
//
@@ -268,23 +240,25 @@
this.toolStripButton2.Text = "닫기";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// arDatagridView1
// dv1
//
this.arDatagridView1.A_DelCurrentCell = true;
this.arDatagridView1.A_EnterToTab = true;
this.arDatagridView1.A_KoreanField = null;
this.arDatagridView1.A_UpperField = null;
this.arDatagridView1.A_ViewRownumOnHeader = true;
this.arDatagridView1.AllowUserToAddRows = false;
this.arDatagridView1.AutoGenerateColumns = false;
this.arDatagridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.arDatagridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.arDatagridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dv1.A_DelCurrentCell = true;
this.dv1.A_EnterToTab = true;
this.dv1.A_KoreanField = null;
this.dv1.A_UpperField = null;
this.dv1.A_ViewRownumOnHeader = true;
this.dv1.AllowUserToAddRows = false;
this.dv1.AutoGenerateColumns = false;
this.dv1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.dv1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dv1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.wdateDataGridViewTextBoxColumn,
this.cateDataGridViewTextBoxColumn,
this.titleDataGridViewTextBoxColumn,
this.close,
this.wuid_name,
this.urlDataGridViewTextBoxColumn});
this.arDatagridView1.DataSource = this.bs;
this.dv1.DataSource = this.bs;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
@@ -293,17 +267,51 @@
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.arDatagridView1.DefaultCellStyle = dataGridViewCellStyle2;
this.arDatagridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.arDatagridView1.Location = new System.Drawing.Point(0, 37);
this.arDatagridView1.Name = "arDatagridView1";
this.arDatagridView1.RowTemplate.Height = 23;
this.arDatagridView1.Size = new System.Drawing.Size(721, 353);
this.arDatagridView1.TabIndex = 10;
this.dv1.DefaultCellStyle = dataGridViewCellStyle2;
this.dv1.Dock = System.Windows.Forms.DockStyle.Top;
this.dv1.Location = new System.Drawing.Point(0, 37);
this.dv1.Name = "dv1";
this.dv1.RowTemplate.Height = 23;
this.dv1.Size = new System.Drawing.Size(909, 258);
this.dv1.TabIndex = 10;
this.dv1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dv1_DataError);
//
// bs
//
this.bs.DataMember = "Board";
this.bs.DataSource = this.dsMSSQL;
this.bs.Sort = "close,WDATE DESC";
//
// dsMSSQL
//
this.dsMSSQL.DataSetName = "dsMSSQL";
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// tam
//
this.tam.BackupDataSetBeforeUpdate = false;
this.tam.BoardTableAdapter = this.ta;
this.tam.CommonTableAdapter = null;
this.tam.CustomsTableAdapter = null;
this.tam.EETGW_DocuFormTableAdapter = null;
this.tam.HolidayLIstTableAdapter = null;
this.tam.InventoryUserTableAdapter = null;
this.tam.ItemsTableAdapter = null;
this.tam.ProjectsTableAdapter = null;
this.tam.PurchaseTableAdapter = null;
this.tam.RequestItemTableAdapter = null;
this.tam.StaffTableAdapter = null;
this.tam.UpdateOrder = FCM0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// ta
//
this.ta.ClearBeforeFill = true;
//
// wdateDataGridViewTextBoxColumn
//
this.wdateDataGridViewTextBoxColumn.DataPropertyName = "wdate";
dataGridViewCellStyle1.Format = "yy-MM-dd HH:mm";
this.wdateDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.wdateDataGridViewTextBoxColumn.HeaderText = "등록일";
this.wdateDataGridViewTextBoxColumn.Name = "wdateDataGridViewTextBoxColumn";
this.wdateDataGridViewTextBoxColumn.Width = 72;
@@ -313,7 +321,7 @@
this.cateDataGridViewTextBoxColumn.DataPropertyName = "cate";
this.cateDataGridViewTextBoxColumn.HeaderText = "구분";
this.cateDataGridViewTextBoxColumn.Name = "cateDataGridViewTextBoxColumn";
this.cateDataGridViewTextBoxColumn.Width = 57;
this.cateDataGridViewTextBoxColumn.Width = 60;
//
// titleDataGridViewTextBoxColumn
//
@@ -322,21 +330,39 @@
this.titleDataGridViewTextBoxColumn.HeaderText = "화면";
this.titleDataGridViewTextBoxColumn.Name = "titleDataGridViewTextBoxColumn";
//
// close
//
this.close.DataPropertyName = "close";
this.close.FalseValue = "0";
this.close.HeaderText = "종료";
this.close.IndeterminateValue = "0";
this.close.Name = "close";
this.close.TrueValue = "1";
this.close.Width = 41;
//
// wuid_name
//
this.wuid_name.DataPropertyName = "wuid_name";
this.wuid_name.HeaderText = "작성자";
this.wuid_name.Name = "wuid_name";
this.wuid_name.ReadOnly = true;
this.wuid_name.Width = 72;
//
// urlDataGridViewTextBoxColumn
//
this.urlDataGridViewTextBoxColumn.DataPropertyName = "url";
this.urlDataGridViewTextBoxColumn.HeaderText = "요청";
this.urlDataGridViewTextBoxColumn.DataPropertyName = "wuid";
this.urlDataGridViewTextBoxColumn.HeaderText = "*";
this.urlDataGridViewTextBoxColumn.Name = "urlDataGridViewTextBoxColumn";
this.urlDataGridViewTextBoxColumn.Width = 57;
this.urlDataGridViewTextBoxColumn.Width = 42;
//
// fPatchList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(721, 669);
this.Controls.Add(this.arDatagridView1);
this.Controls.Add(this.toolStrip1);
this.ClientSize = new System.Drawing.Size(909, 584);
this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.dv1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.bn);
this.Name = "fPatchList";
this.Text = "Patch List";
@@ -344,11 +370,11 @@
((System.ComponentModel.ISupportInitialize)(this.bn)).EndInit();
this.bn.ResumeLayout(false);
this.bn.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.arDatagridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dv1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -378,10 +404,12 @@
private System.Windows.Forms.ToolStripButton btSearch;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripButton toolStripButton2;
private arCtl.arDatagridView arDatagridView1;
private arCtl.arDatagridView dv1;
private System.Windows.Forms.DataGridViewTextBoxColumn wdateDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn cateDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn titleDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewCheckBoxColumn close;
private System.Windows.Forms.DataGridViewTextBoxColumn wuid_name;
private System.Windows.Forms.DataGridViewTextBoxColumn urlDataGridViewTextBoxColumn;
}
}

View File

@@ -41,7 +41,7 @@ namespace FCM0000
{
bn.Enabled = false;
BTsAVE.Enabled = false;
this.arDatagridView1.EditMode = DataGridViewEditMode.EditProgrammatically;
this.dv1.EditMode = DataGridViewEditMode.EditProgrammatically;
}
refreshData();
}
@@ -65,6 +65,7 @@ namespace FCM0000
try
{
this.ta.Fill(this.dsMSSQL.Board,5, "%");
dv1.AutoResizeColumns();
}
catch (System.Exception ex)
{
@@ -96,6 +97,9 @@ namespace FCM0000
this.Close();
}
private void dv1_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
}
}
}

View File

@@ -198,15 +198,6 @@
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
</value>
</data>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>186, 17</value>
</metadata>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>325, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>608, 17</value>
</metadata>
@@ -231,4 +222,16 @@
UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="close.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="wuid_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>186, 17</value>
</metadata>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>325, 17</value>
</metadata>
</root>

View File

@@ -1632,6 +1632,12 @@ namespace FCM0000 {
private global::System.Data.DataColumn columngcode;
private global::System.Data.DataColumn columnclose;
private global::System.Data.DataColumn columnremark;
private global::System.Data.DataColumn columnwuid_name;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public BoardDataTable() {
@@ -1777,6 +1783,30 @@ namespace FCM0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn closeColumn {
get {
return this.columnclose;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn remarkColumn {
get {
return this.columnremark;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn wuid_nameColumn {
get {
return this.columnwuid_name;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -1814,7 +1844,23 @@ namespace FCM0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public BoardRow AddBoardRow(int bidx, bool header, string cate, string title, string contents, string file, string guid, string url, string wuid, System.DateTime wdate, int project, int pidx, string gcode) {
public BoardRow AddBoardRow(
int bidx,
bool header,
string cate,
string title,
string contents,
string file,
string guid,
string url,
string wuid,
System.DateTime wdate,
int project,
int pidx,
string gcode,
bool close,
string remark,
string wuid_name) {
BoardRow rowBoardRow = ((BoardRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -1830,7 +1876,10 @@ namespace FCM0000 {
wdate,
project,
pidx,
gcode};
gcode,
close,
remark,
wuid_name};
rowBoardRow.ItemArray = columnValuesArray;
this.Rows.Add(rowBoardRow);
return rowBoardRow;
@@ -1874,6 +1923,9 @@ namespace FCM0000 {
this.columnproject = base.Columns["project"];
this.columnpidx = base.Columns["pidx"];
this.columngcode = base.Columns["gcode"];
this.columnclose = base.Columns["close"];
this.columnremark = base.Columns["remark"];
this.columnwuid_name = base.Columns["wuid_name"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1907,6 +1959,12 @@ namespace FCM0000 {
base.Columns.Add(this.columnpidx);
this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columngcode);
this.columnclose = new global::System.Data.DataColumn("close", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnclose);
this.columnremark = new global::System.Data.DataColumn("remark", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnremark);
this.columnwuid_name = new global::System.Data.DataColumn("wuid_name", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnwuid_name);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -1926,6 +1984,9 @@ namespace FCM0000 {
this.columnwdate.AllowDBNull = false;
this.columngcode.AllowDBNull = false;
this.columngcode.MaxLength = 20;
this.columnremark.MaxLength = 1000;
this.columnwuid_name.ReadOnly = true;
this.columnwuid_name.MaxLength = 200;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6925,6 +6986,54 @@ namespace FCM0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool close {
get {
if (this.IscloseNull()) {
return false;
}
else {
return ((bool)(this[this.tableBoard.closeColumn]));
}
}
set {
this[this.tableBoard.closeColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string remark {
get {
if (this.IsremarkNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tableBoard.remarkColumn]));
}
}
set {
this[this.tableBoard.remarkColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string wuid_name {
get {
if (this.Iswuid_nameNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tableBoard.wuid_nameColumn]));
}
}
set {
this[this.tableBoard.wuid_nameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsbidxNull() {
@@ -7044,6 +7153,42 @@ namespace FCM0000 {
public void SetpidxNull() {
this[this.tableBoard.pidxColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IscloseNull() {
return this.IsNull(this.tableBoard.closeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetcloseNull() {
this[this.tableBoard.closeColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsremarkNull() {
return this.IsNull(this.tableBoard.remarkColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetremarkNull() {
this[this.tableBoard.remarkColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool Iswuid_nameNull() {
return this.IsNull(this.tableBoard.wuid_nameColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void Setwuid_nameNull() {
this[this.tableBoard.wuid_nameColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -12873,10 +13018,13 @@ SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode FROM Com
tableMapping.ColumnMappings.Add("project", "project");
tableMapping.ColumnMappings.Add("pidx", "pidx");
tableMapping.ColumnMappings.Add("gcode", "gcode");
tableMapping.ColumnMappings.Add("close", "close");
tableMapping.ColumnMappings.Add("remark", "remark");
tableMapping.ColumnMappings.Add("wuid_name", "wuid_name");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode))";
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode) AND ((@IsNull_close = 1 AND [close] IS NULL) OR ([close] = @Original_close)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -12898,10 +13046,14 @@ SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode FROM Com
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_close", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "close", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_close", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "close", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [url], [wuid], [wdate], [project], [pidx], [gcode]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @url, @wuid, @wdate, @project, @pidx, @gcode);
SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode FROM Board WHERE (idx = SCOPE_IDENTITY()) ORDER BY wdate";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [url], [wuid], [wdate], [project], [pidx], [gcode], [close], [remark]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @url, @wuid, @wdate, @project, @pidx, @gcode, @close, @remark);
SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode, [close], remark, dbo.getUserName(wuid) AS wuid_name FROM Board WHERE (idx = SCOPE_IDENTITY()) ORDER BY wdate";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -12916,10 +13068,12 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@close", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "close", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [url] = @url, [wuid] = @wuid, [wdate] = @wdate, [project] = @project, [pidx] = @pidx, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode));
SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode FROM Board WHERE (idx = @idx) ORDER BY wdate";
this._adapter.UpdateCommand.CommandText = @"UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [url] = @url, [wuid] = @wuid, [wdate] = @wdate, [project] = @project, [pidx] = @pidx, [gcode] = @gcode, [close] = @close, [remark] = @remark WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode) AND ((@IsNull_close = 1 AND [close] IS NULL) OR ([close] = @Original_close)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)));
SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode, [close], remark, dbo.getUserName(wuid) AS wuid_name FROM Board WHERE (idx = @idx) ORDER BY wdate";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -12934,6 +13088,8 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@close", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "close", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -12954,6 +13110,10 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_close", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "close", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_close", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "close", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -12970,9 +13130,10 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
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 idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate," +
" project, pidx, gcode\r\nFROM Board\r\nWHERE (bidx = @bidx) AND (ISNULL(header," +
" 0) = 0) AND (gcode LIKE @gcode)\r\nORDER BY wdate";
this._commandCollection[0].CommandText = @"SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode, [close], remark, dbo.getUserName(wuid) AS wuid_name
FROM Board
WHERE (bidx = @bidx) AND (ISNULL(header, 0) = 0) AND (gcode LIKE @gcode)
ORDER BY wdate";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -13059,7 +13220,7 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int Original_idx, global::System.Nullable<int> Original_bidx, global::System.Nullable<bool> Original_header, string Original_cate, string Original_title, string Original_file, string Original_guid, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable<int> Original_project, global::System.Nullable<int> Original_pidx, string Original_gcode) {
public virtual int Delete(int Original_idx, global::System.Nullable<int> Original_bidx, global::System.Nullable<bool> Original_header, string Original_cate, string Original_title, string Original_file, string Original_guid, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable<int> Original_project, global::System.Nullable<int> Original_pidx, string Original_gcode, global::System.Nullable<bool> Original_close, string Original_remark) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_bidx.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
@@ -13138,6 +13299,22 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
else {
this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_gcode));
}
if ((Original_close.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[21].Value = ((bool)(Original_close.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value;
}
if ((Original_remark == null)) {
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[23].Value = ((string)(Original_remark));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -13158,7 +13335,7 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(global::System.Nullable<int> bidx, global::System.Nullable<bool> header, string cate, string title, string contents, string file, string guid, string url, string wuid, System.DateTime wdate, global::System.Nullable<int> project, global::System.Nullable<int> pidx, string gcode) {
public virtual int Insert(global::System.Nullable<int> bidx, global::System.Nullable<bool> header, string cate, string title, string contents, string file, string guid, string url, string wuid, System.DateTime wdate, global::System.Nullable<int> project, global::System.Nullable<int> pidx, string gcode, global::System.Nullable<bool> close, string remark) {
if ((bidx.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[0].Value = ((int)(bidx.Value));
}
@@ -13232,6 +13409,18 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
else {
this.Adapter.InsertCommand.Parameters[12].Value = ((string)(gcode));
}
if ((close.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[13].Value = ((bool)(close.Value));
}
else {
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
}
if ((remark == null)) {
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[14].Value = ((string)(remark));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -13266,6 +13455,8 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
global::System.Nullable<int> project,
global::System.Nullable<int> pidx,
string gcode,
global::System.Nullable<bool> close,
string remark,
int Original_idx,
global::System.Nullable<int> Original_bidx,
global::System.Nullable<bool> Original_header,
@@ -13278,6 +13469,8 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
global::System.Nullable<int> Original_project,
global::System.Nullable<int> Original_pidx,
string Original_gcode,
global::System.Nullable<bool> Original_close,
string Original_remark,
int idx) {
if ((bidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(bidx.Value));
@@ -13352,85 +13545,113 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(gcode));
}
this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idx));
if ((Original_bidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_bidx.Value));
if ((close.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(close.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
}
if ((Original_header.HasValue == true)) {
if ((remark == null)) {
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(remark));
}
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idx));
if ((Original_bidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Original_header.Value));
this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(Original_bidx.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
}
if ((Original_cate == null)) {
if ((Original_header.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[19].Value = ((bool)(Original_header.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_cate));
}
if ((Original_title == null)) {
if ((Original_cate == null)) {
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_title));
this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_cate));
}
if ((Original_file == null)) {
if ((Original_title == null)) {
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_file));
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_title));
}
if ((Original_guid == null)) {
if ((Original_file == null)) {
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_guid));
this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_file));
}
if ((Original_guid == null)) {
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_guid));
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_wuid));
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_wuid));
}
this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_wdate));
this.Adapter.UpdateCommand.Parameters[29].Value = ((System.DateTime)(Original_wdate));
if ((Original_project.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_project.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
}
if ((Original_pidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_pidx.Value));
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_project.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
}
if ((Original_pidx.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_pidx.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
}
if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode");
}
else {
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_gcode));
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_gcode));
}
this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(idx));
if ((Original_close.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_close.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
if ((Original_remark == null)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_remark));
}
this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -13465,6 +13686,8 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
global::System.Nullable<int> project,
global::System.Nullable<int> pidx,
string gcode,
global::System.Nullable<bool> close,
string remark,
int Original_idx,
global::System.Nullable<int> Original_bidx,
global::System.Nullable<bool> Original_header,
@@ -13476,8 +13699,10 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
System.DateTime Original_wdate,
global::System.Nullable<int> Original_project,
global::System.Nullable<int> Original_pidx,
string Original_gcode) {
return this.Update(bidx, header, cate, title, contents, file, guid, url, wuid, wdate, project, pidx, gcode, Original_idx, Original_bidx, Original_header, Original_cate, Original_title, Original_file, Original_guid, Original_wuid, Original_wdate, Original_project, Original_pidx, Original_gcode, Original_idx);
string Original_gcode,
global::System.Nullable<bool> Original_close,
string Original_remark) {
return this.Update(bidx, header, cate, title, contents, file, guid, url, wuid, wdate, project, pidx, gcode, close, remark, Original_idx, Original_bidx, Original_header, Original_cate, Original_title, Original_file, Original_guid, Original_wuid, Original_wdate, Original_project, Original_pidx, Original_gcode, Original_close, Original_remark, Original_idx);
}
}

View File

@@ -2,9 +2,9 @@
{
partial class dsMSSQL
{
}
partial class dsMSSQL
{
}
}
namespace FCM0000.dsMSSQLTableAdapters {

View File

@@ -460,7 +460,7 @@ SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode FROM Com
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.Board" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode))</CommandText>
<CommandText>DELETE FROM [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode) AND ((@IsNull_close = 1 AND [close] IS NULL) OR ([close] = @Original_close)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bidx" SourceColumnNullMapping="true" SourceVersion="Original" />
@@ -482,13 +482,17 @@ SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode FROM Com
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_close" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="close" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_close" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="close" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [url], [wuid], [wdate], [project], [pidx], [gcode]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @url, @wuid, @wdate, @project, @pidx, @gcode);
SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode FROM Board WHERE (idx = SCOPE_IDENTITY()) ORDER BY wdate</CommandText>
<CommandText>INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [url], [wuid], [wdate], [project], [pidx], [gcode], [close], [remark]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @url, @wuid, @wdate, @project, @pidx, @gcode, @close, @remark);
SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode, [close], remark, dbo.getUserName(wuid) AS wuid_name FROM Board WHERE (idx = SCOPE_IDENTITY()) ORDER BY wdate</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@bidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@header" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="header" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -503,12 +507,14 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@close" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="close" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode
<CommandText>SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode, [close], remark, dbo.getUserName(wuid) AS wuid_name
FROM Board
WHERE (bidx = @bidx) AND (ISNULL(header, 0) = 0) AND (gcode LIKE @gcode)
ORDER BY wdate</CommandText>
@@ -520,8 +526,8 @@ ORDER BY wdate</CommandText>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [url] = @url, [wuid] = @wuid, [wdate] = @wdate, [project] = @project, [pidx] = @pidx, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode));
SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode FROM Board WHERE (idx = @idx) ORDER BY wdate</CommandText>
<CommandText>UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [url] = @url, [wuid] = @wuid, [wdate] = @wdate, [project] = @project, [pidx] = @pidx, [gcode] = @gcode, [close] = @close, [remark] = @remark WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode) AND ((@IsNull_close = 1 AND [close] IS NULL) OR ([close] = @Original_close)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)));
SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode, [close], remark, dbo.getUserName(wuid) AS wuid_name FROM Board WHERE (idx = @idx) ORDER BY wdate</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@bidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@header" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="header" SourceColumnNullMapping="false" SourceVersion="Current" />
@@ -536,6 +542,8 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@project" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="project" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@close" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="close" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_bidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_bidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="bidx" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -556,7 +564,11 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_pidx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pidx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_close" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="close" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_close" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="close" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_remark" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="remark" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.Board" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -577,6 +589,9 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate,
<Mapping SourceColumn="project" DataSetColumn="project" />
<Mapping SourceColumn="pidx" DataSetColumn="pidx" />
<Mapping SourceColumn="gcode" DataSetColumn="gcode" />
<Mapping SourceColumn="close" DataSetColumn="close" />
<Mapping SourceColumn="remark" DataSetColumn="remark" />
<Mapping SourceColumn="wuid_name" DataSetColumn="wuid_name" />
</Mappings>
<Sources />
</TableAdapter>
@@ -1807,7 +1822,7 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:simpleType>
</xs:element>
<xs:element name="priceD" msprop:Generator_ColumnVarNameInTable="columnpriceD" msprop:Generator_ColumnPropNameInRow="priceD" msprop:Generator_ColumnPropNameInTable="priceDColumn" msprop:Generator_UserColumnName="priceD" type="xs:decimal" minOccurs="0" />
<xs:element name="Storage" msprop:Generator_ColumnVarNameInTable="columnStorage" msprop:Generator_ColumnPropNameInRow="Storage" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="StorageColumn" msprop:Generator_UserColumnName="Storage" minOccurs="0">
<xs:element name="Storage" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="Storage" msprop:Generator_ColumnVarNameInTable="columnStorage" msprop:Generator_ColumnPropNameInTable="StorageColumn" msprop:Generator_UserColumnName="Storage" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
@@ -1934,6 +1949,21 @@ SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="close" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="close" msprop:Generator_ColumnVarNameInTable="columnclose" msprop:Generator_ColumnPropNameInTable="closeColumn" msprop:Generator_UserColumnName="close" type="xs:boolean" minOccurs="0" />
<xs:element name="remark" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="remark" msprop:Generator_ColumnVarNameInTable="columnremark" msprop:Generator_ColumnPropNameInTable="remarkColumn" msprop:Generator_UserColumnName="remark" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1000" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wuid_name" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnwuid_name" msprop:Generator_ColumnPropNameInRow="wuid_name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInTable="wuid_nameColumn" msprop:Generator_UserColumnName="wuid_name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>