-
-
- Debug
- AnyCPU
- {0D8E0019-909A-4879-9088-B2927509264E}
- Exe
- Properties
- MailManager
- MailManager
- v4.0
- 512
-
-
- AnyCPU
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
-
-
- True
- True
- DataSet1.xsd
-
-
-
-
- True
- True
- Settings.settings
-
-
-
-
-
- DataSet1.xsd
-
-
- Designer
- MSDataSetGenerator
- DataSet1.Designer.cs
-
-
- DataSet1.xsd
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
-
-
+
+
+
+
+ Debug
+ AnyCPU
+ {0D8E0019-909A-4879-9088-B2927509264E}
+ Exe
+ Properties
+ MailManager
+ MailManager
+ v4.0
+ 512
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+ True
+ DataSet1.xsd
+
+
+
+
+ True
+ True
+ Settings.settings
+
+
+
+
+
+ DataSet1.xsd
+
+
+ Designer
+ MSDataSetGenerator
+ DataSet1.Designer.cs
+
+
+ DataSet1.xsd
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
\ No newline at end of file
diff --git a/MailManager/Program.cs b/MailManager/Program.cs
index 0d4ec92..dd26dfa 100644
--- a/MailManager/Program.cs
+++ b/MailManager/Program.cs
@@ -1,229 +1,229 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Data.SqlClient;
-
-namespace MailManager
-{
- class Program
- {
-
- static DateTime ChkAutoDate = DateTime.Now.AddDays(-1);
- static void Main(string[] args)
- {
- //먼저 보낼 메일이 있다면 전송을 한다
-
- while (true)
- {
-
- try
- {
-
- SendMail();
- }
- catch (Exception ex)
- {
- Console.WriteLine("send error:" + ex.Message);
- }
-
- System.Threading.Thread.Sleep(1000);
-
- try
- {
-
- MakeAutoMail();
- }
- catch (Exception ex)
- {
- Console.WriteLine("MakeAutoMail error:" + ex.Message);
- }
-
- System.Threading.Thread.Sleep(1000);
- }
- }
-
- static void SendMail()
- {
- Console.WriteLine("Check Send Mail Data");
- var ta = new DataSet1TableAdapters.MailDataTableAdapter();
- var sendList = ta.GetData(); //발송되지않은 메일목록
-
- if (sendList.Rows.Count > 0) Console.WriteLine("Found : " + sendList.Rows.Count.ToString());
-
- foreach (DataSet1.MailDataRow dr in sendList)
- {
- //전자메일 검증을 한다.
- var list_from = getMaillist(dr.fromlist);
- var list_to = getMaillist(dr.tolist);
- var list_bcc = getMaillist(dr.bcc);
- var list_cc = getMaillist(dr.cc);
-
-
- string sendMsg = "";
- if (list_from == "")
- {
- sendMsg = ("보내는 주소가 없습니다");
- }
- else if (dr.subject.Trim() == "")
- {
- sendMsg = ("메일 제목이 없습니다");
- }
- else if (dr.body.Trim() == "")
- {
- sendMsg = ("본문이 없습니다");
- }
- else if (list_to == "")
- {
- sendMsg = ("받는 주소가 없습니다");
- }
- else
- {
-
- var body = dr.body;
- body +=
- "" +
- "
이 메일은 EET 프로그램에서 자동 발신 되었습니다." +
- "
메일이 잘못 전송 되었다면 [chikyun.kim@amkor.co.kr] 로 문의 주시기 바랍니다" +
- "
";
-
-
- //전송을 해야 함
- var mc = new System.Net.Mail.SmtpClient("10.101.10.6");
- var msg = new System.Net.Mail.MailMessage
- (list_from,
- list_to,
- dr.subject,
- body);
-
-
- if (list_bcc != "") msg.Bcc.Add(list_bcc);
- if (list_cc != "") msg.CC.Add(list_cc);
- msg.IsBodyHtml = true;
-
- try
- {
- mc.Send(msg);
- Console.WriteLine("send mail to" + list_to + ",subject=" + dr.subject);
- sendMsg = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
- }
- catch (Exception eX)
- {
- sendMsg = eX.Message;
- }
- }
-
- Console.WriteLine(string.Format("Send Complete index={0},Msg={1}", dr.idx, sendMsg));
- ta.UpdateSendOK(sendMsg, dr.idx);
- break;
- }
-
- }
-
- static void MakeAutoMail()
- {
- var ts = DateTime.Now - ChkAutoDate;
- if (ts.TotalMinutes < 1) return; //10분마다 자동 생성 데이터를 처리한다
- Console.WriteLine("Check Auto Make Mail");
-
- var taData = new DataSet1TableAdapters.MailDataTableAdapter();
- var taList = new DataSet1TableAdapters.MailAutoTableAdapter();
- var dtList = taList.GetByAutoSend();
- var dtInsert = new DataSet1.MailDataDataTable();
-
- //대상
- Console.WriteLine("Make Auto Send Mail Data (" + dtList.Rows.Count.ToString() + ")");
-
- foreach (DataSet1.MailAutoRow dr in dtList)
- {
- //시간정보가 없는 애들은 처리 하지 않음
- if (dr.stime.IndexOf(":") == -1) continue;
- if (dr.sday == null || dr.sday.Length < 2) continue;
-
- //발신시간을 넘어야 한다
- var curTime = DateTime.Now.ToString("HH:mm");
- if (string.Compare(curTime, dr.stime) < 0) continue; //지정된 시간 이전이면 생성 안한다
-
- //자동생성 구분용 카테고리
- var cate = string.Format("{0},{1}", dr.sday[0], dr.sday[1]);
-
- //동륵일
- var pdate = DateTime.Now.ToString("yyyy-MM-dd");
-
- //같은날, 같은 atime aidx pdate 의 같이 있으면 이미 생성된것이므로 추가하지 않는다
- var existData = taData.FindAutoData(dr.idx, dr.stime, pdate, cate);
- var PreMakeCount = (int)(existData);
- if (PreMakeCount > 0) continue;
-
- //전송간격과 대상
- if (dr.sday[0] == 1)
- {
- //week
- var bitString = Convert.ToString(dr.sday[1], 2).PadLeft(8, '0').ToArray();
- var weeknum = (int)(DateTime.Now.DayOfWeek);
- if (bitString[weeknum + 1] == '0') continue;
- }
- else
- {
- //month
- if (dr.sday[1] != DateTime.Now.Day) continue;
- }
-
-
-
- //같은날, 같은 atime aidx pdate 의 같이 있으면 이미 생성된것이므로 추가하지 않는다
- //생성해야할 자료라면 만들어 준다
- var newdr = dtInsert.NewMailDataRow();
- newdr.pdate = pdate;// DateTime.Now.ToString("yyyy-MM-dd");
- newdr.gcode = dr.gcode;
- newdr.fromlist = dr.fromlist;
- newdr.tolist = dr.tolist;
- newdr.bcc = dr.bcc;
- newdr.cate = cate;// string.Format("{0},{1}", dr.sday[0], dr.sday[1]); //cate에 해당 자료를 기록한다.
- newdr.cc = dr.cc;
- newdr.subject = dr.subject;
- newdr.body = dr.body;
- newdr.aidx = dr.idx;
- newdr.atime = dr.stime;
- newdr.wuid = "MANAGER";
- newdr.wdate = DateTime.Now;
- dtInsert.AddMailDataRow(newdr);
- try
- {
- taData.Update(newdr);
- Console.WriteLine("auto make : " + newdr.tolist + ",subject=" + newdr.subject);
- }
- catch (Exception eX)
- {
- Console.WriteLine("auto make error : " + eX.Message);
- }
- }
- ChkAutoDate = DateTime.Now;
- }
-
- static string getMaillist(string org)
- {
- org = org.Replace(";", ",").Replace(":", ",");
- string list_to = "";
- foreach (var item in org.Split(','))
- {
- if (item.Trim() != "")
- {
- var atindex = item.IndexOf("@");
- if (atindex != -1)
- {
- var dotindex = item.IndexOf(".", atindex + 1);
- if (dotindex != -1)
- {
- //정상이므로 추가한다.
- if (list_to != "") list_to += ",";
- list_to += item.Trim();
- }
- }
- }
- }
- return list_to;
- }
-
- }
-}
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data.SqlClient;
+
+namespace MailManager
+{
+ class Program
+ {
+
+ static DateTime ChkAutoDate = DateTime.Now.AddDays(-1);
+ static void Main(string[] args)
+ {
+ //먼저 보낼 메일이 있다면 전송을 한다
+
+ while (true)
+ {
+
+ try
+ {
+
+ SendMail();
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("send error:" + ex.Message);
+ }
+
+ System.Threading.Thread.Sleep(1000);
+
+ try
+ {
+
+ MakeAutoMail();
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("MakeAutoMail error:" + ex.Message);
+ }
+
+ System.Threading.Thread.Sleep(1000);
+ }
+ }
+
+ static void SendMail()
+ {
+ Console.WriteLine("Check Send Mail Data");
+ var ta = new DataSet1TableAdapters.MailDataTableAdapter();
+ var sendList = ta.GetData(); //발송되지않은 메일목록
+
+ if (sendList.Rows.Count > 0) Console.WriteLine("Found : " + sendList.Rows.Count.ToString());
+
+ foreach (DataSet1.MailDataRow dr in sendList)
+ {
+ //전자메일 검증을 한다.
+ var list_from = getMaillist(dr.fromlist);
+ var list_to = getMaillist(dr.tolist);
+ var list_bcc = getMaillist(dr.bcc);
+ var list_cc = getMaillist(dr.cc);
+
+
+ string sendMsg = "";
+ if (list_from == "")
+ {
+ sendMsg = ("보내는 주소가 없습니다");
+ }
+ else if (dr.subject.Trim() == "")
+ {
+ sendMsg = ("메일 제목이 없습니다");
+ }
+ else if (dr.body.Trim() == "")
+ {
+ sendMsg = ("본문이 없습니다");
+ }
+ else if (list_to == "")
+ {
+ sendMsg = ("받는 주소가 없습니다");
+ }
+ else
+ {
+
+ var body = dr.body;
+ body +=
+ "" +
+ "
이 메일은 EET 프로그램에서 자동 발신 되었습니다." +
+ "
메일이 잘못 전송 되었다면 [chikyun.kim@amkor.co.kr] 로 문의 주시기 바랍니다" +
+ "
";
+
+
+ //전송을 해야 함
+ var mc = new System.Net.Mail.SmtpClient("10.101.10.6");
+ var msg = new System.Net.Mail.MailMessage
+ (list_from,
+ list_to,
+ dr.subject,
+ body);
+
+
+ if (list_bcc != "") msg.Bcc.Add(list_bcc);
+ if (list_cc != "") msg.CC.Add(list_cc);
+ msg.IsBodyHtml = true;
+
+ try
+ {
+ mc.Send(msg);
+ Console.WriteLine("send mail to" + list_to + ",subject=" + dr.subject);
+ sendMsg = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+ }
+ catch (Exception eX)
+ {
+ sendMsg = eX.Message;
+ }
+ }
+
+ Console.WriteLine(string.Format("Send Complete index={0},Msg={1}", dr.idx, sendMsg));
+ ta.UpdateSendOK(sendMsg, dr.idx);
+ break;
+ }
+
+ }
+
+ static void MakeAutoMail()
+ {
+ var ts = DateTime.Now - ChkAutoDate;
+ if (ts.TotalMinutes < 1) return; //10분마다 자동 생성 데이터를 처리한다
+ Console.WriteLine("Check Auto Make Mail");
+
+ var taData = new DataSet1TableAdapters.MailDataTableAdapter();
+ var taList = new DataSet1TableAdapters.MailAutoTableAdapter();
+ var dtList = taList.GetByAutoSend();
+ var dtInsert = new DataSet1.MailDataDataTable();
+
+ //대상
+ Console.WriteLine("Make Auto Send Mail Data (" + dtList.Rows.Count.ToString() + ")");
+
+ foreach (DataSet1.MailAutoRow dr in dtList)
+ {
+ //시간정보가 없는 애들은 처리 하지 않음
+ if (dr.stime.IndexOf(":") == -1) continue;
+ if (dr.sday == null || dr.sday.Length < 2) continue;
+
+ //발신시간을 넘어야 한다
+ var curTime = DateTime.Now.ToString("HH:mm");
+ if (string.Compare(curTime, dr.stime) < 0) continue; //지정된 시간 이전이면 생성 안한다
+
+ //자동생성 구분용 카테고리
+ var cate = string.Format("{0},{1}", dr.sday[0], dr.sday[1]);
+
+ //동륵일
+ var pdate = DateTime.Now.ToString("yyyy-MM-dd");
+
+ //같은날, 같은 atime aidx pdate 의 같이 있으면 이미 생성된것이므로 추가하지 않는다
+ var existData = taData.FindAutoData(dr.idx, dr.stime, pdate, cate);
+ var PreMakeCount = (int)(existData);
+ if (PreMakeCount > 0) continue;
+
+ //전송간격과 대상
+ if (dr.sday[0] == 1)
+ {
+ //week
+ var bitString = Convert.ToString(dr.sday[1], 2).PadLeft(8, '0').ToArray();
+ var weeknum = (int)(DateTime.Now.DayOfWeek);
+ if (bitString[weeknum + 1] == '0') continue;
+ }
+ else
+ {
+ //month
+ if (dr.sday[1] != DateTime.Now.Day) continue;
+ }
+
+
+
+ //같은날, 같은 atime aidx pdate 의 같이 있으면 이미 생성된것이므로 추가하지 않는다
+ //생성해야할 자료라면 만들어 준다
+ var newdr = dtInsert.NewMailDataRow();
+ newdr.pdate = pdate;// DateTime.Now.ToString("yyyy-MM-dd");
+ newdr.gcode = dr.gcode;
+ newdr.fromlist = dr.fromlist;
+ newdr.tolist = dr.tolist;
+ newdr.bcc = dr.bcc;
+ newdr.cate = cate;// string.Format("{0},{1}", dr.sday[0], dr.sday[1]); //cate에 해당 자료를 기록한다.
+ newdr.cc = dr.cc;
+ newdr.subject = dr.subject;
+ newdr.body = dr.body;
+ newdr.aidx = dr.idx;
+ newdr.atime = dr.stime;
+ newdr.wuid = "MANAGER";
+ newdr.wdate = DateTime.Now;
+ dtInsert.AddMailDataRow(newdr);
+ try
+ {
+ taData.Update(newdr);
+ Console.WriteLine("auto make : " + newdr.tolist + ",subject=" + newdr.subject);
+ }
+ catch (Exception eX)
+ {
+ Console.WriteLine("auto make error : " + eX.Message);
+ }
+ }
+ ChkAutoDate = DateTime.Now;
+ }
+
+ static string getMaillist(string org)
+ {
+ org = org.Replace(";", ",").Replace(":", ",");
+ string list_to = "";
+ foreach (var item in org.Split(','))
+ {
+ if (item.Trim() != "")
+ {
+ var atindex = item.IndexOf("@");
+ if (atindex != -1)
+ {
+ var dotindex = item.IndexOf(".", atindex + 1);
+ if (dotindex != -1)
+ {
+ //정상이므로 추가한다.
+ if (list_to != "") list_to += ",";
+ list_to += item.Trim();
+ }
+ }
+ }
+ }
+ return list_to;
+ }
+
+ }
+}
diff --git a/MailManager/Properties/AssemblyInfo.cs b/MailManager/Properties/AssemblyInfo.cs
index c401209..b2fe42a 100644
--- a/MailManager/Properties/AssemblyInfo.cs
+++ b/MailManager/Properties/AssemblyInfo.cs
@@ -1,36 +1,36 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다.
-// 어셈블리와 관련된 정보를 수정하려면
-// 이 특성 값을 변경하십시오.
-[assembly: AssemblyTitle("MailManager")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MailManager")]
-[assembly: AssemblyCopyright("Copyright © 2019")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
-// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
-// 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오.
-[assembly: ComVisible(false)]
-
-// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
-[assembly: Guid("ba61bd46-8ea2-46c9-a4ec-7adf2feb75b0")]
-
-// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
-//
-// 주 버전
-// 부 버전
-// 빌드 번호
-// 수정 버전
-//
-// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로
-// 지정되도록 할 수 있습니다.
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("19.10.01.1400")]
-[assembly: AssemblyFileVersion("19.10.01.1400")]
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다.
+// 어셈블리와 관련된 정보를 수정하려면
+// 이 특성 값을 변경하십시오.
+[assembly: AssemblyTitle("MailManager")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("MailManager")]
+[assembly: AssemblyCopyright("Copyright © 2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
+// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
+// 해당 형식에 대해 ComVisible 특성을 true로 설정하십시오.
+[assembly: ComVisible(false)]
+
+// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
+[assembly: Guid("ba61bd46-8ea2-46c9-a4ec-7adf2feb75b0")]
+
+// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
+//
+// 주 버전
+// 부 버전
+// 빌드 번호
+// 수정 버전
+//
+// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 버전이 자동으로
+// 지정되도록 할 수 있습니다.
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("19.10.01.1400")]
+[assembly: AssemblyFileVersion("19.10.01.1400")]
diff --git a/MailManager/Properties/Settings.Designer.cs b/MailManager/Properties/Settings.Designer.cs
index d18c7f9..3f107f8 100644
--- a/MailManager/Properties/Settings.Designer.cs
+++ b/MailManager/Properties/Settings.Designer.cs
@@ -1,48 +1,48 @@
-//------------------------------------------------------------------------------
-//
-// 이 코드는 도구를 사용하여 생성되었습니다.
-// 런타임 버전:4.0.30319.42000
-//
-// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
-// 이러한 변경 내용이 손실됩니다.
-//
-//------------------------------------------------------------------------------
-
-namespace MailManager.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
-
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
- [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=ee" +
- "user;Password=EEmicro123!")]
- public string gwcs {
- get {
- return ((string)(this["gwcs"]));
- }
- }
-
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
- [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=ee" +
- "user;Password=EEmicro123!")]
- public string CS {
- get {
- return ((string)(this["CS"]));
- }
- }
- }
-}
+//------------------------------------------------------------------------------
+//
+// 이 코드는 도구를 사용하여 생성되었습니다.
+// 런타임 버전:4.0.30319.42000
+//
+// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
+// 이러한 변경 내용이 손실됩니다.
+//
+//------------------------------------------------------------------------------
+
+namespace MailManager.Properties {
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default {
+ get {
+ return defaultInstance;
+ }
+ }
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
+ [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=ee" +
+ "user;Password=EEmicro123!")]
+ public string gwcs {
+ get {
+ return ((string)(this["gwcs"]));
+ }
+ }
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
+ [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=ee" +
+ "user;Password=EEmicro123!")]
+ public string CS {
+ get {
+ return ((string)(this["CS"]));
+ }
+ }
+ }
+}
diff --git a/MailManager/Properties/Settings.settings b/MailManager/Properties/Settings.settings
index 57170f7..9e21a0a 100644
--- a/MailManager/Properties/Settings.settings
+++ b/MailManager/Properties/Settings.settings
@@ -1,21 +1,21 @@
-
-
-
-
-
- <?xml version="1.0" encoding="utf-16"?>
-<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <ConnectionString>Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=EEmicro123!</ConnectionString>
-</SerializableConnectionString>
- Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=EEmicro123!
-
-
- <?xml version="1.0" encoding="utf-16"?>
-<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <ConnectionString>Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=EEmicro123!</ConnectionString>
- <ProviderName>System.Data.SqlClient</ProviderName>
-</SerializableConnectionString>
- Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=EEmicro123!
-
-
+
+
+
+
+
+ <?xml version="1.0" encoding="utf-16"?>
+<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <ConnectionString>Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=EEmicro123!</ConnectionString>
+</SerializableConnectionString>
+ Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=EEmicro123!
+
+
+ <?xml version="1.0" encoding="utf-16"?>
+<SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <ConnectionString>Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=EEmicro123!</ConnectionString>
+ <ProviderName>System.Data.SqlClient</ProviderName>
+</SerializableConnectionString>
+ Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=EEmicro123!
+
+
\ No newline at end of file
diff --git a/MailManager/app.config b/MailManager/app.config
index e78b0ea..cba22a2 100644
--- a/MailManager/app.config
+++ b/MailManager/app.config
@@ -1,10 +1,10 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Project/History.txt b/Project/History.txt
index 3de5f3e..0ed0156 100644
--- a/Project/History.txt
+++ b/Project/History.txt
@@ -1,5 +1,11 @@
* 주간내역이 업데이트 되지 않는 데이터를 강조시키고 알림을 띄울 방안 확인\
+1910108 chi 열저장방식 변경(필드명으로 저장)
+ 파트리스트 열 순서를 기존 사용 엑셀과 동일하게 정렬
+ 파트리스트 적용부위 납기일 항목 추가
+ 파트리스트 가져오기 메뉴에 적용부위, 납기일 항목 추가
+ 파트리스트 내보내기 기능 - 파일명을 프로젝트 명으로 자동 입력
+
191001
재고 등록화면 프로젝트 입력칸 비활성화 => 완료
재고 관리 화면 - 보관소 필터링 기능 추가
diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs
index 376af7d..56b4211 100644
--- a/Project/Properties/AssemblyInfo.cs
+++ b/Project/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("19.10.01.1400")]
-[assembly: AssemblyFileVersion("19.10.01.1400")]
+[assembly: AssemblyVersion("19.10.08.1400")]
+[assembly: AssemblyFileVersion("19.10.08.1400")]
diff --git a/SubProject/FCM0000/Board/fPatchList.Designer.cs b/SubProject/FCM0000/Board/fPatchList.Designer.cs
index bc52de4..8f95899 100644
--- a/SubProject/FCM0000/Board/fPatchList.Designer.cs
+++ b/SubProject/FCM0000/Board/fPatchList.Designer.cs
@@ -1,370 +1,370 @@
-namespace FCM0000
-{
- partial class fPatchList
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPatchList));
- FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
- 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();
- this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
- this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
- this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
- this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
- this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
- this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
- this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
- this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
- this.boardBindingNavigatorSaveItem = 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.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
- this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
- 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();
- ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
- this.bn.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
- this.toolStrip1.SuspendLayout();
- this.SuspendLayout();
- //
- // bn
- //
- this.bn.AddNewItem = null;
- this.bn.BindingSource = this.bs;
- this.bn.CountItem = this.bindingNavigatorCountItem;
- this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
- this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.bindingNavigatorMoveFirstItem,
- this.bindingNavigatorMovePreviousItem,
- this.bindingNavigatorSeparator,
- this.bindingNavigatorPositionItem,
- this.bindingNavigatorCountItem,
- this.bindingNavigatorSeparator1,
- this.bindingNavigatorMoveNextItem,
- this.bindingNavigatorMoveLastItem,
- this.bindingNavigatorSeparator2,
- this.bindingNavigatorAddNewItem,
- this.bindingNavigatorDeleteItem,
- this.boardBindingNavigatorSaveItem});
- this.bn.Location = new System.Drawing.Point(0, 550);
- 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(1046, 25);
- this.bn.TabIndex = 0;
- this.bn.Text = "bindingNavigator1";
- //
- // bs
- //
- this.bs.DataMember = "Board";
- this.bs.DataSource = this.dsMSSQL;
- //
- // dsMSSQL
- //
- this.dsMSSQL.DataSetName = "dsMSSQL";
- this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
- //
- // bindingNavigatorCountItem
- //
- this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
- this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
- this.bindingNavigatorCountItem.Text = "/{0}";
- this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
- //
- // bindingNavigatorDeleteItem
- //
- this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
- this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
- this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22);
- this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
- //
- // bindingNavigatorMoveFirstItem
- //
- this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
- this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
- this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
- this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
- //
- // bindingNavigatorMovePreviousItem
- //
- this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
- this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
- this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
- this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
- //
- // bindingNavigatorSeparator
- //
- this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
- this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
- //
- // bindingNavigatorPositionItem
- //
- this.bindingNavigatorPositionItem.AccessibleName = "위치";
- this.bindingNavigatorPositionItem.AutoSize = false;
- this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
- this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
- this.bindingNavigatorPositionItem.Text = "0";
- this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
- //
- // bindingNavigatorSeparator1
- //
- this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
- this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
- //
- // bindingNavigatorMoveNextItem
- //
- this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
- this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
- this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
- this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
- //
- // bindingNavigatorMoveLastItem
- //
- this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
- this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
- this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
- this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
- this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
- //
- // bindingNavigatorSeparator2
- //
- this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
- this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
- //
- // bindingNavigatorAddNewItem
- //
- this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
- this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
- this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
- this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22);
- this.bindingNavigatorAddNewItem.Text = "Add(&A)";
- this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
- //
- // boardBindingNavigatorSaveItem
- //
- this.boardBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("boardBindingNavigatorSaveItem.Image")));
- this.boardBindingNavigatorSaveItem.Name = "boardBindingNavigatorSaveItem";
- this.boardBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
- this.boardBindingNavigatorSaveItem.Text = "Save(&S)";
- this.boardBindingNavigatorSaveItem.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.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.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, 450);
- this.richTextBox1.Name = "richTextBox1";
- this.richTextBox1.Size = new System.Drawing.Size(1046, 100);
- this.richTextBox1.TabIndex = 3;
- this.richTextBox1.Text = "";
- //
- // fpSpread1
- //
- this.fpSpread1.AccessibleDescription = "";
- this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.fpSpread1.Location = new System.Drawing.Point(0, 37);
- this.fpSpread1.Name = "fpSpread1";
- this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
- this.fpSpread1_Sheet1});
- this.fpSpread1.Size = new System.Drawing.Size(1046, 413);
- this.fpSpread1.TabIndex = 4;
- //
- // fpSpread1_Sheet1
- //
- this.fpSpread1_Sheet1.Reset();
- this.fpSpread1_Sheet1.SheetName = "Sheet1";
- // Formulas and custom names must be loaded with R1C1 reference style
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
- this.fpSpread1_Sheet1.ColumnCount = 3;
- this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
- this.fpSpread1_Sheet1.ActiveRowIndex = -1;
- this.fpSpread1_Sheet1.AutoGenerateColumns = false;
- this.fpSpread1_Sheet1.AutoSortEnhancedContextMenu = true;
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "구분";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "제목";
- this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "요청자";
- this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F;
- this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true;
- this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType7;
- this.fpSpread1_Sheet1.Columns.Get(0).DataField = "cate";
- this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(0).Label = "구분";
- this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType8;
- this.fpSpread1_Sheet1.Columns.Get(1).DataField = "title";
- this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
- this.fpSpread1_Sheet1.Columns.Get(1).Label = "제목";
- this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType9;
- this.fpSpread1_Sheet1.Columns.Get(2).DataField = "url";
- this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(2).Label = "요청자";
- this.fpSpread1_Sheet1.DataAutoCellTypes = false;
- this.fpSpread1_Sheet1.DataAutoHeadings = false;
- this.fpSpread1_Sheet1.DataSource = this.bs;
- this.fpSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
- this.fpSpread1_Sheet1.Protect = false;
- this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
- this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
- //
- // toolStrip1
- //
- this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
- this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.btSearch,
- this.toolStripSeparator5,
- this.toolStripButton2});
- this.toolStrip1.Location = new System.Drawing.Point(0, 0);
- this.toolStrip1.Name = "toolStrip1";
- this.toolStrip1.Size = new System.Drawing.Size(1046, 37);
- this.toolStrip1.TabIndex = 9;
- this.toolStrip1.Text = "toolStrip1";
- //
- // btSearch
- //
- this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
- this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.btSearch.Name = "btSearch";
- this.btSearch.Size = new System.Drawing.Size(80, 34);
- this.btSearch.Text = "조회(&R)";
- this.btSearch.Click += new System.EventHandler(this.btSearch_Click_1);
- //
- // toolStripSeparator5
- //
- this.toolStripSeparator5.Name = "toolStripSeparator5";
- this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37);
- //
- // toolStripButton2
- //
- this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
- this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
- this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButton2.Name = "toolStripButton2";
- this.toolStripButton2.Size = new System.Drawing.Size(65, 34);
- this.toolStripButton2.Text = "닫기";
- this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
- //
- // fPatchList
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1046, 575);
- this.Controls.Add(this.fpSpread1);
- this.Controls.Add(this.toolStrip1);
- this.Controls.Add(this.richTextBox1);
- this.Controls.Add(this.bn);
- this.Name = "fPatchList";
- this.Text = "Patch List";
- this.Load += new System.EventHandler(this.fRequestItem_Load);
- ((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();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
- this.toolStrip1.ResumeLayout(false);
- this.toolStrip1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private dsMSSQL dsMSSQL;
- private System.Windows.Forms.BindingSource bs;
- private dsMSSQLTableAdapters.TableAdapterManager tam;
- private System.Windows.Forms.BindingNavigator bn;
- private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
- private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
- private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
- private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
- private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
- private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
- private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
- private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
- private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
- private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
- private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
- private System.Windows.Forms.ToolStripButton boardBindingNavigatorSaveItem;
- private dsMSSQLTableAdapters.BoardTableAdapter ta;
- private System.Windows.Forms.RichTextBox richTextBox1;
- private FarPoint.Win.Spread.FpSpread fpSpread1;
- private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
- private System.Windows.Forms.ToolStrip toolStrip1;
- private System.Windows.Forms.ToolStripButton btSearch;
- private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
- private System.Windows.Forms.ToolStripButton toolStripButton2;
- }
+namespace FCM0000
+{
+ partial class fPatchList
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPatchList));
+ FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
+ 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();
+ this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
+ this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
+ this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
+ this.boardBindingNavigatorSaveItem = 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.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
+ this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
+ 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();
+ ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
+ this.bn.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
+ this.toolStrip1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // bn
+ //
+ this.bn.AddNewItem = null;
+ this.bn.BindingSource = this.bs;
+ this.bn.CountItem = this.bindingNavigatorCountItem;
+ this.bn.DeleteItem = this.bindingNavigatorDeleteItem;
+ this.bn.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.bn.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.bindingNavigatorMoveFirstItem,
+ this.bindingNavigatorMovePreviousItem,
+ this.bindingNavigatorSeparator,
+ this.bindingNavigatorPositionItem,
+ this.bindingNavigatorCountItem,
+ this.bindingNavigatorSeparator1,
+ this.bindingNavigatorMoveNextItem,
+ this.bindingNavigatorMoveLastItem,
+ this.bindingNavigatorSeparator2,
+ this.bindingNavigatorAddNewItem,
+ this.bindingNavigatorDeleteItem,
+ this.boardBindingNavigatorSaveItem});
+ this.bn.Location = new System.Drawing.Point(0, 550);
+ 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(1046, 25);
+ this.bn.TabIndex = 0;
+ this.bn.Text = "bindingNavigator1";
+ //
+ // bs
+ //
+ this.bs.DataMember = "Board";
+ this.bs.DataSource = this.dsMSSQL;
+ //
+ // dsMSSQL
+ //
+ this.dsMSSQL.DataSetName = "dsMSSQL";
+ this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+ //
+ // bindingNavigatorCountItem
+ //
+ this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
+ this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
+ this.bindingNavigatorCountItem.Text = "/{0}";
+ this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
+ //
+ // bindingNavigatorDeleteItem
+ //
+ this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
+ this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
+ this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(78, 22);
+ this.bindingNavigatorDeleteItem.Text = "Delete(&D)";
+ //
+ // bindingNavigatorMoveFirstItem
+ //
+ this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
+ this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
+ this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
+ //
+ // bindingNavigatorMovePreviousItem
+ //
+ this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
+ this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
+ this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
+ //
+ // bindingNavigatorSeparator
+ //
+ this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
+ this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorPositionItem
+ //
+ this.bindingNavigatorPositionItem.AccessibleName = "위치";
+ this.bindingNavigatorPositionItem.AutoSize = false;
+ this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
+ this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
+ this.bindingNavigatorPositionItem.Text = "0";
+ this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
+ //
+ // bindingNavigatorSeparator1
+ //
+ this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
+ this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorMoveNextItem
+ //
+ this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
+ this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
+ this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
+ //
+ // bindingNavigatorMoveLastItem
+ //
+ this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+ this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
+ this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
+ this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
+ this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
+ //
+ // bindingNavigatorSeparator2
+ //
+ this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
+ this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
+ //
+ // bindingNavigatorAddNewItem
+ //
+ this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
+ this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
+ this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
+ this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(65, 22);
+ this.bindingNavigatorAddNewItem.Text = "Add(&A)";
+ this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
+ //
+ // boardBindingNavigatorSaveItem
+ //
+ this.boardBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("boardBindingNavigatorSaveItem.Image")));
+ this.boardBindingNavigatorSaveItem.Name = "boardBindingNavigatorSaveItem";
+ this.boardBindingNavigatorSaveItem.Size = new System.Drawing.Size(67, 22);
+ this.boardBindingNavigatorSaveItem.Text = "Save(&S)";
+ this.boardBindingNavigatorSaveItem.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.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.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, 450);
+ this.richTextBox1.Name = "richTextBox1";
+ this.richTextBox1.Size = new System.Drawing.Size(1046, 100);
+ this.richTextBox1.TabIndex = 3;
+ this.richTextBox1.Text = "";
+ //
+ // fpSpread1
+ //
+ this.fpSpread1.AccessibleDescription = "";
+ this.fpSpread1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.fpSpread1.Location = new System.Drawing.Point(0, 37);
+ this.fpSpread1.Name = "fpSpread1";
+ this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
+ this.fpSpread1_Sheet1});
+ this.fpSpread1.Size = new System.Drawing.Size(1046, 413);
+ this.fpSpread1.TabIndex = 4;
+ //
+ // fpSpread1_Sheet1
+ //
+ this.fpSpread1_Sheet1.Reset();
+ this.fpSpread1_Sheet1.SheetName = "Sheet1";
+ // Formulas and custom names must be loaded with R1C1 reference style
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
+ this.fpSpread1_Sheet1.ColumnCount = 3;
+ this.fpSpread1_Sheet1.ActiveColumnIndex = -1;
+ this.fpSpread1_Sheet1.ActiveRowIndex = -1;
+ this.fpSpread1_Sheet1.AutoGenerateColumns = false;
+ this.fpSpread1_Sheet1.AutoSortEnhancedContextMenu = true;
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 0).Value = "구분";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 1).Value = "제목";
+ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 2).Value = "요청자";
+ this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 36F;
+ this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoFilter = true;
+ this.fpSpread1_Sheet1.Columns.Get(0).AllowAutoSort = true;
+ this.fpSpread1_Sheet1.Columns.Get(0).CellType = textCellType7;
+ this.fpSpread1_Sheet1.Columns.Get(0).DataField = "cate";
+ this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(0).Label = "구분";
+ this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType8;
+ this.fpSpread1_Sheet1.Columns.Get(1).DataField = "title";
+ this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
+ this.fpSpread1_Sheet1.Columns.Get(1).Label = "제목";
+ this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType9;
+ this.fpSpread1_Sheet1.Columns.Get(2).DataField = "url";
+ this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
+ this.fpSpread1_Sheet1.Columns.Get(2).Label = "요청자";
+ this.fpSpread1_Sheet1.DataAutoCellTypes = false;
+ this.fpSpread1_Sheet1.DataAutoHeadings = false;
+ this.fpSpread1_Sheet1.DataSource = this.bs;
+ this.fpSpread1_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.RowMode;
+ this.fpSpread1_Sheet1.Protect = false;
+ this.fpSpread1_Sheet1.RowHeader.Columns.Default.Resizable = false;
+ this.fpSpread1_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
+ //
+ // toolStrip1
+ //
+ this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
+ this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.btSearch,
+ this.toolStripSeparator5,
+ this.toolStripButton2});
+ this.toolStrip1.Location = new System.Drawing.Point(0, 0);
+ this.toolStrip1.Name = "toolStrip1";
+ this.toolStrip1.Size = new System.Drawing.Size(1046, 37);
+ this.toolStrip1.TabIndex = 9;
+ this.toolStrip1.Text = "toolStrip1";
+ //
+ // btSearch
+ //
+ this.btSearch.Image = ((System.Drawing.Image)(resources.GetObject("btSearch.Image")));
+ this.btSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.btSearch.Name = "btSearch";
+ this.btSearch.Size = new System.Drawing.Size(80, 34);
+ this.btSearch.Text = "조회(&R)";
+ this.btSearch.Click += new System.EventHandler(this.btSearch_Click_1);
+ //
+ // toolStripSeparator5
+ //
+ this.toolStripSeparator5.Name = "toolStripSeparator5";
+ this.toolStripSeparator5.Size = new System.Drawing.Size(6, 37);
+ //
+ // toolStripButton2
+ //
+ this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
+ this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton2.Name = "toolStripButton2";
+ this.toolStripButton2.Size = new System.Drawing.Size(65, 34);
+ this.toolStripButton2.Text = "닫기";
+ this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
+ //
+ // fPatchList
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1046, 575);
+ this.Controls.Add(this.fpSpread1);
+ this.Controls.Add(this.toolStrip1);
+ this.Controls.Add(this.richTextBox1);
+ this.Controls.Add(this.bn);
+ this.Name = "fPatchList";
+ this.Text = "Patch List";
+ this.Load += new System.EventHandler(this.fRequestItem_Load);
+ ((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();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
+ this.toolStrip1.ResumeLayout(false);
+ this.toolStrip1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private dsMSSQL dsMSSQL;
+ private System.Windows.Forms.BindingSource bs;
+ private dsMSSQLTableAdapters.TableAdapterManager tam;
+ private System.Windows.Forms.BindingNavigator bn;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
+ private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
+ private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem;
+ private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem;
+ private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
+ private System.Windows.Forms.ToolStripButton boardBindingNavigatorSaveItem;
+ private dsMSSQLTableAdapters.BoardTableAdapter ta;
+ private System.Windows.Forms.RichTextBox richTextBox1;
+ private FarPoint.Win.Spread.FpSpread fpSpread1;
+ private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
+ private System.Windows.Forms.ToolStrip toolStrip1;
+ private System.Windows.Forms.ToolStripButton btSearch;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
+ private System.Windows.Forms.ToolStripButton toolStripButton2;
+ }
}
\ No newline at end of file
diff --git a/SubProject/FCM0000/Board/fPatchList.cs b/SubProject/FCM0000/Board/fPatchList.cs
index 65c463c..3ac8f18 100644
--- a/SubProject/FCM0000/Board/fPatchList.cs
+++ b/SubProject/FCM0000/Board/fPatchList.cs
@@ -1,101 +1,101 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-using NetOffice;
-using Outlook = NetOffice.OutlookApi;
-using NetOffice.OutlookApi.Enums;
-
-namespace FCM0000
-{
- public partial class fPatchList : FCOMMON.fBase
- {
- public fPatchList()
- {
- InitializeComponent();
- this.dsMSSQL.Board.TableNewRow += RequestItem_TableNewRow;
- }
-
- void RequestItem_TableNewRow(object sender, DataTableNewRowEventArgs e)
- {
- e.Row["wuid"] = FCOMMON.info.Login.no;
- e.Row["wdate"] = DateTime.Now;
- e.Row["bidx"] = 5;
- e.Row["pidx"] = -1;
- e.Row["gcode"] = FCOMMON.info.Login.gcode;
- }
-
- private void fRequestItem_Load(object sender, EventArgs e)
- {
- if (FCOMMON.info.Login.level >= 9)
- {
- bn.Enabled = true;
- this.fpSpread1.EditMode = true;
- this.fpSpread1.ActiveSheet.Protect = false;
- }
- else
- {
- bn.Enabled = false;
- this.fpSpread1.EditMode = false;
- this.fpSpread1.ActiveSheet.Protect = true;
- }
- refreshData();
- }
-
- private void boardBindingNavigatorSaveItem_Click(object sender, EventArgs e)
- {
- this.Validate();
- this.bs.EndEdit();
- this.tam.UpdateAll(this.dsMSSQL);
-
- }
-
- private void fillToolStripButton_Click(object sender, EventArgs e)
- {
-
-
- }
-
- void refreshData()
- {
- try
- {
- this.ta.Fill(this.dsMSSQL.Board,5, FCOMMON.info.Login.gcode);
- }
- catch (System.Exception ex)
- {
- System.Windows.Forms.MessageBox.Show(ex.Message);
- }
- }
-
- private void btSearch_Click(object sender, EventArgs e)
- {
- refreshData();
- }
-
- private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
- {
- this.bs.AddNew();
- //var newdr = this.dsMSSQL.Board.NewBoardRow();//.NewRequestItemRow();
- //fRequestItem_Add f = new fRequestItem_Add(newdr);
- //if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) newdr.Delete();
- //else this.dsMSSQL.RequestItem.AddRequestItemRow(newdr);
- }
-
- private void btSearch_Click_1(object sender, EventArgs e)
- {
- refreshData();
- }
-
- private void toolStripButton2_Click(object sender, EventArgs e)
- {
- this.Close();
- }
-
-
- }
-}
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using NetOffice;
+using Outlook = NetOffice.OutlookApi;
+using NetOffice.OutlookApi.Enums;
+
+namespace FCM0000
+{
+ public partial class fPatchList : FCOMMON.fBase
+ {
+ public fPatchList()
+ {
+ InitializeComponent();
+ this.dsMSSQL.Board.TableNewRow += RequestItem_TableNewRow;
+ }
+
+ void RequestItem_TableNewRow(object sender, DataTableNewRowEventArgs e)
+ {
+ e.Row["wuid"] = FCOMMON.info.Login.no;
+ e.Row["wdate"] = DateTime.Now;
+ e.Row["bidx"] = 5;
+ e.Row["pidx"] = -1;
+ e.Row["gcode"] = FCOMMON.info.Login.gcode;
+ }
+
+ private void fRequestItem_Load(object sender, EventArgs e)
+ {
+ if (FCOMMON.info.Login.level >= 9)
+ {
+ bn.Enabled = true;
+ this.fpSpread1.EditMode = true;
+ this.fpSpread1.ActiveSheet.Protect = false;
+ }
+ else
+ {
+ bn.Enabled = false;
+ this.fpSpread1.EditMode = false;
+ this.fpSpread1.ActiveSheet.Protect = true;
+ }
+ refreshData();
+ }
+
+ private void boardBindingNavigatorSaveItem_Click(object sender, EventArgs e)
+ {
+ this.Validate();
+ this.bs.EndEdit();
+ this.tam.UpdateAll(this.dsMSSQL);
+
+ }
+
+ private void fillToolStripButton_Click(object sender, EventArgs e)
+ {
+
+
+ }
+
+ void refreshData()
+ {
+ try
+ {
+ this.ta.Fill(this.dsMSSQL.Board,5, FCOMMON.info.Login.gcode);
+ }
+ catch (System.Exception ex)
+ {
+ System.Windows.Forms.MessageBox.Show(ex.Message);
+ }
+ }
+
+ private void btSearch_Click(object sender, EventArgs e)
+ {
+ refreshData();
+ }
+
+ private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
+ {
+ this.bs.AddNew();
+ //var newdr = this.dsMSSQL.Board.NewBoardRow();//.NewRequestItemRow();
+ //fRequestItem_Add f = new fRequestItem_Add(newdr);
+ //if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) newdr.Delete();
+ //else this.dsMSSQL.RequestItem.AddRequestItemRow(newdr);
+ }
+
+ private void btSearch_Click_1(object sender, EventArgs e)
+ {
+ refreshData();
+ }
+
+ private void toolStripButton2_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
+
+ }
+}
diff --git a/SubProject/FCM0000/Board/fPatchList.resx b/SubProject/FCM0000/Board/fPatchList.resx
index 339ea35..358889e 100644
--- a/SubProject/FCM0000/Board/fPatchList.resx
+++ b/SubProject/FCM0000/Board/fPatchList.resx
@@ -1,240 +1,240 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 259, 17
-
-
- 122, 17
-
-
- 17, 17
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
- DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
- rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
- i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
- 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
- QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
- bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
- wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
- v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
- UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
- Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
- lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
- 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
- Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
- 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
- n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
- N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
- oAc0QjgAAAAASUVORK5CYII=
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
- h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
- twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
- kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
- WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
- 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
- pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
- Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
- /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
- zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
- IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
- rkJggg==
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
- wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
- dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
-
-
-
- 17, 17
-
-
- 186, 17
-
-
- 325, 17
-
-
- 387, 17
-
-
- 387, 17
-
-
- 608, 17
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei
- QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG
- A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF
- GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG
- cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E
- dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
-
-
-
-
- iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADlSURBVEhL7dQxCsIwFMbxnMrZWatzUXRUCo5ewSs4ewZR
- DyDeQfEETsUbRL7YYNSXNC/UOiQP/kvzyE9KUcQ7y/VJtlHFvQYPjzf50xKsJsFmq81WHq538swMO9il
- zhALxkWd7kAOJwsnjjPsYNeGs2B14fR5YTYq5O5c1u7sL987iAUjF+6LIjaMKJyDoiAYmVAvn8lsXHij
- KBhGwDWof4APihqHqQ+OKhg2X3U/n7+9ah88CKY+pM9ndTgbplDbmQtnwS7UtmPDWfDf/jIRLnKhOuzY
- UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 259, 17
+
+
+ 122, 17
+
+
+ 17, 17
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
+ DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
+ rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
+ i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
+ 86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
+ QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
+ bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
+ wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
+ v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
+ UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
+ Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
+ lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
+ 5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
+ Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
+ 08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
+ n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
+ N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
+ oAc0QjgAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
+ h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
+ twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
+ kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
+ WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
+ 8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
+ pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
+ Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
+ /5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
+ zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
+ IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
+ rkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
+ wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
+ dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
+
+
+
+ 17, 17
+
+
+ 186, 17
+
+
+ 325, 17
+
+
+ 387, 17
+
+
+ 387, 17
+
+
+ 608, 17
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE4SURBVDhPtZPPasJAEMbzPn0FwWA92JtP4NGKB1/DP7ei
+ QSsovkChh7ZBrCfpyR4sikopUgq9StFzM/UbZ5asSS4FfzAkO7vft5udiZMEnSBpk5dhFJmncjdHxXaG
+ A+9K4SbFT1luEwQBbXavVO5d0nI3ovnW5yeiMriiu+kt5asXbABEdgRigAUQDr+aHLU3lxoLl/yPJhvF
+ GsiYJ/vPdX5qPK3bVJ25VFukafztGQNsKHJ791I3w+8KcpNth8XDz5YxACI/gsR1J8sTYcO4UIzwv1gG
+ cTshgJ5IT8hChTMHsHi+v+fvffmxywVwN2FDkdsGEOK2ceu4feQ0tDqKyKMGqDfqjvprLzyswuX7Tf4E
+ dBo6zn/3OB7XHovRyuhQ6+hhYKA9DpL+A1keRebNAhkaJH0OHOcP031C4EjYr6wAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADlSURBVEhL7dQxCsIwFMbxnMrZWatzUXRUCo5ewSs4ewZR
+ DyDeQfEETsUbRL7YYNSXNC/UOiQP/kvzyE9KUcQ7y/VJtlHFvQYPjzf50xKsJsFmq81WHq538swMO9il
+ zhALxkWd7kAOJwsnjjPsYNeGs2B14fR5YTYq5O5c1u7sL987iAUjF+6LIjaMKJyDoiAYmVAvn8lsXHij
+ KBhGwDWof4APihqHqQ+OKhg2X3U/n7+9ah88CKY+pM9ndTgbplDbmQtnwS7UtmPDWfDf/jIRLnKhOuzY
+ UMSGmyrBauKE26jiohshHicE2B3dbRrmAAAAAElFTkSuQmCC
+
+
\ No newline at end of file
diff --git a/SubProject/FCM0000/Board/fRequestItem.cs b/SubProject/FCM0000/Board/fRequestItem.cs
index d748c17..7db7e3e 100644
--- a/SubProject/FCM0000/Board/fRequestItem.cs
+++ b/SubProject/FCM0000/Board/fRequestItem.cs
@@ -1,195 +1,195 @@
-using System;
-using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Windows.Forms;
-using NetOffice;
-using Outlook = NetOffice.OutlookApi;
-using NetOffice.OutlookApi.Enums;
-
-namespace FCM0000
-{
- public partial class fRequestItem : FCOMMON.fBase
- {
- public fRequestItem()
- {
- InitializeComponent();
- this.dsMSSQL.RequestItem.TableNewRow += RequestItem_TableNewRow;
- }
-
- void RequestItem_TableNewRow(object sender, DataTableNewRowEventArgs e)
- {
- e.Row["wuid"] = FCOMMON.info.Login.no;
- e.Row["wdate"] = DateTime.Now;
- e.Row["pdate"] = DateTime.Now.ToShortDateString();
- e.Row["qty"] = 1;
- }
-
- private void fRequestItem_Load(object sender, EventArgs e)
- {
- this.dtSD.Text = DateTime.Now.AddDays(-15).ToShortDateString();
- this.dtED.Text = DateTime.Now.ToShortDateString();
- refreshData();
- }
-
- private void boardBindingNavigatorSaveItem_Click(object sender, EventArgs e)
- {
- this.Validate();
- this.bs.EndEdit();
- this.tam.UpdateAll(this.dsMSSQL);
-
- }
-
- private void fillToolStripButton_Click(object sender, EventArgs e)
- {
-
-
- }
-
- void refreshData()
- {
- try
- {
- this.ta.Fill(this.dsMSSQL.RequestItem, dtSD.Text, dtED.Text);
- this.dv1.AutoResizeColumns();
- }
- catch (System.Exception ex)
- {
- System.Windows.Forms.MessageBox.Show(ex.Message);
- }
- }
-
- private void btSearch_Click(object sender, EventArgs e)
- {
- refreshData();
- }
-
- private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
- {
- var newdr = this.dsMSSQL.RequestItem.NewRequestItemRow();
- fRequestItem_Add f = new fRequestItem_Add(newdr);
- if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) newdr.Delete();
- else this.dsMSSQL.RequestItem.AddRequestItemRow(newdr);
- }
-
- private void label1_Click(object sender, EventArgs e)
- {
- if (label1.Text != "")
- FCOMMON.Util.RunExplorer(label1.Text);
- }
-
- private void boardDataGridView_DoubleClick(object sender, EventArgs e)
- {
- var drv = this.bs.Current as DataRowView;
- if (drv == null) return;
- var dr = drv.Row as dsMSSQL.RequestItemRow;
- var f = new fRequestItem_Add(dr);
- if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
- dr.RejectChanges();
- }
-
- private void mailPreviewToolStripMenuItem_Click(object sender, EventArgs e)
- {
- var drv = this.bs.Current as DataRowView;
- if (drv == null) return;
- var dr = drv.Row as dsMSSQL.RequestItemRow;
-
-
- //자로에서 불러와서 그 값을 가져온다.s
- string subject = "[AMKOR-K4] 견적문의";
- var taMF = new DSMailTableAdapters.MailFormTableAdapter();
- var data = taMF.GetByCate(FCOMMON.info.Login.gcode, "BY");
- if (data != null && data.Rows.Count > 0)
- {
- var drForm = data.Rows[0] as DSMail.MailFormRow;
- subject = drForm.subject;
- }
-
-
- var tolist = dr.tolist.Split(',');
- Outlook.Application outlookApplication = new Outlook.Application();
- foreach(var to in tolist)
- {
- if (to.isEmpty()) continue;
- var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
- newMail.Subject = subject; // dr.title;
- newMail.To = to;
- newMail.CC = dr.cclist;
- newMail.BCC = dr.bcclist;
- newMail.HTMLBody = dr.remark
- .Replace("{USER}", FCOMMON.info.Login.nameK)
- .Replace("{EUSER}", FCOMMON.info.Login.nameE)
- .Replace("{EMAIL}", FCOMMON.info.Login.email)
- .Replace("%7BEMAIL%7D", FCOMMON.info.Login.email)
- .Replace("{HP}", FCOMMON.info.Login.hp)
- .Replace("{TEL}", FCOMMON.info.Login.tel)
- .Replace("{ITEM}", dr.title)
- .Replace("{QTY}",dr.qty.ToString())
- .Replace("{MODEL}", dr.model.ToString())
- .Replace("%7BURL%7D", dr.url.ToString())
- .Replace("{URL}",dr.url);
-
- newMail.BodyFormat = OlBodyFormat.olFormatHTML;
- newMail.Display();
- break;
- }
- }
-
- private void autoResizeColumnsToolStripMenuItem_Click(object sender, EventArgs e)
- {
- dv1.AutoResizeColumns();
- }
-
- private void mailPreviewAllToolStripMenuItem_Click(object sender, EventArgs e)
- {
- var drv = this.bs.Current as DataRowView;
- if (drv == null) return;
- var dr = drv.Row as dsMSSQL.RequestItemRow;
-
- //자로에서 불러와서 그 값을 가져온다.s
- string subject = "[AMKOR-K4] 견적문의";
- var taMF = new DSMailTableAdapters.MailFormTableAdapter();
- var data = taMF.GetByCate(FCOMMON.info.Login.gcode, "BY");
- if (data != null && data.Rows.Count > 0)
- {
- var drForm = data.Rows[0] as DSMail.MailFormRow;
- subject = drForm.subject;
- }
-
- var tolist = dr.tolist.Split(',');
- Outlook.Application outlookApplication = new Outlook.Application();
- foreach (var to in tolist)
- {
- if (to.isEmpty()) continue;
- var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
- newMail.Subject = subject; // dr.title;
- newMail.To = to;
- newMail.CC = dr.cclist;
- newMail.BCC = dr.bcclist;
- newMail.HTMLBody = dr.remark
- .Replace("{USER}", FCOMMON.info.Login.nameK)
- .Replace("{EUSER}", FCOMMON.info.Login.nameE)
- .Replace("{EMAIL}", FCOMMON.info.Login.email)
- .Replace("%7BEMAIL%7D", FCOMMON.info.Login.email)
- .Replace("{HP}", FCOMMON.info.Login.hp)
- .Replace("{TEL}", FCOMMON.info.Login.tel)
- .Replace("{ITEM}", dr.title)
- .Replace("{QTY}", dr.qty.ToString())
- .Replace("{MODEL}", dr.model.ToString())
- .Replace("%7BURL%7D", dr.url.ToString())
- .Replace("{URL}", dr.url);
-
- newMail.BodyFormat = OlBodyFormat.olFormatHTML;
- newMail.Display();
- }
- }
-
- private void dv1_DataError(object sender, DataGridViewDataErrorEventArgs e)
- {
-
- }
- }
-}
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using NetOffice;
+using Outlook = NetOffice.OutlookApi;
+using NetOffice.OutlookApi.Enums;
+
+namespace FCM0000
+{
+ public partial class fRequestItem : FCOMMON.fBase
+ {
+ public fRequestItem()
+ {
+ InitializeComponent();
+ this.dsMSSQL.RequestItem.TableNewRow += RequestItem_TableNewRow;
+ }
+
+ void RequestItem_TableNewRow(object sender, DataTableNewRowEventArgs e)
+ {
+ e.Row["wuid"] = FCOMMON.info.Login.no;
+ e.Row["wdate"] = DateTime.Now;
+ e.Row["pdate"] = DateTime.Now.ToShortDateString();
+ e.Row["qty"] = 1;
+ }
+
+ private void fRequestItem_Load(object sender, EventArgs e)
+ {
+ this.dtSD.Text = DateTime.Now.AddDays(-15).ToShortDateString();
+ this.dtED.Text = DateTime.Now.ToShortDateString();
+ refreshData();
+ }
+
+ private void boardBindingNavigatorSaveItem_Click(object sender, EventArgs e)
+ {
+ this.Validate();
+ this.bs.EndEdit();
+ this.tam.UpdateAll(this.dsMSSQL);
+
+ }
+
+ private void fillToolStripButton_Click(object sender, EventArgs e)
+ {
+
+
+ }
+
+ void refreshData()
+ {
+ try
+ {
+ this.ta.Fill(this.dsMSSQL.RequestItem, dtSD.Text, dtED.Text);
+ this.dv1.AutoResizeColumns();
+ }
+ catch (System.Exception ex)
+ {
+ System.Windows.Forms.MessageBox.Show(ex.Message);
+ }
+ }
+
+ private void btSearch_Click(object sender, EventArgs e)
+ {
+ refreshData();
+ }
+
+ private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
+ {
+ var newdr = this.dsMSSQL.RequestItem.NewRequestItemRow();
+ fRequestItem_Add f = new fRequestItem_Add(newdr);
+ if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) newdr.Delete();
+ else this.dsMSSQL.RequestItem.AddRequestItemRow(newdr);
+ }
+
+ private void label1_Click(object sender, EventArgs e)
+ {
+ if (label1.Text != "")
+ FCOMMON.Util.RunExplorer(label1.Text);
+ }
+
+ private void boardDataGridView_DoubleClick(object sender, EventArgs e)
+ {
+ var drv = this.bs.Current as DataRowView;
+ if (drv == null) return;
+ var dr = drv.Row as dsMSSQL.RequestItemRow;
+ var f = new fRequestItem_Add(dr);
+ if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
+ dr.RejectChanges();
+ }
+
+ private void mailPreviewToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ var drv = this.bs.Current as DataRowView;
+ if (drv == null) return;
+ var dr = drv.Row as dsMSSQL.RequestItemRow;
+
+
+ //자로에서 불러와서 그 값을 가져온다.s
+ string subject = "[AMKOR-K4] 견적문의";
+ var taMF = new DSMailTableAdapters.MailFormTableAdapter();
+ var data = taMF.GetByCate(FCOMMON.info.Login.gcode, "BY");
+ if (data != null && data.Rows.Count > 0)
+ {
+ var drForm = data.Rows[0] as DSMail.MailFormRow;
+ subject = drForm.subject;
+ }
+
+
+ var tolist = dr.tolist.Split(',');
+ Outlook.Application outlookApplication = new Outlook.Application();
+ foreach(var to in tolist)
+ {
+ if (to.isEmpty()) continue;
+ var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
+ newMail.Subject = subject; // dr.title;
+ newMail.To = to;
+ newMail.CC = dr.cclist;
+ newMail.BCC = dr.bcclist;
+ newMail.HTMLBody = dr.remark
+ .Replace("{USER}", FCOMMON.info.Login.nameK)
+ .Replace("{EUSER}", FCOMMON.info.Login.nameE)
+ .Replace("{EMAIL}", FCOMMON.info.Login.email)
+ .Replace("%7BEMAIL%7D", FCOMMON.info.Login.email)
+ .Replace("{HP}", FCOMMON.info.Login.hp)
+ .Replace("{TEL}", FCOMMON.info.Login.tel)
+ .Replace("{ITEM}", dr.title)
+ .Replace("{QTY}",dr.qty.ToString())
+ .Replace("{MODEL}", dr.model.ToString())
+ .Replace("%7BURL%7D", dr.url.ToString())
+ .Replace("{URL}",dr.url);
+
+ newMail.BodyFormat = OlBodyFormat.olFormatHTML;
+ newMail.Display();
+ break;
+ }
+ }
+
+ private void autoResizeColumnsToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ dv1.AutoResizeColumns();
+ }
+
+ private void mailPreviewAllToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ var drv = this.bs.Current as DataRowView;
+ if (drv == null) return;
+ var dr = drv.Row as dsMSSQL.RequestItemRow;
+
+ //자로에서 불러와서 그 값을 가져온다.s
+ string subject = "[AMKOR-K4] 견적문의";
+ var taMF = new DSMailTableAdapters.MailFormTableAdapter();
+ var data = taMF.GetByCate(FCOMMON.info.Login.gcode, "BY");
+ if (data != null && data.Rows.Count > 0)
+ {
+ var drForm = data.Rows[0] as DSMail.MailFormRow;
+ subject = drForm.subject;
+ }
+
+ var tolist = dr.tolist.Split(',');
+ Outlook.Application outlookApplication = new Outlook.Application();
+ foreach (var to in tolist)
+ {
+ if (to.isEmpty()) continue;
+ var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
+ newMail.Subject = subject; // dr.title;
+ newMail.To = to;
+ newMail.CC = dr.cclist;
+ newMail.BCC = dr.bcclist;
+ newMail.HTMLBody = dr.remark
+ .Replace("{USER}", FCOMMON.info.Login.nameK)
+ .Replace("{EUSER}", FCOMMON.info.Login.nameE)
+ .Replace("{EMAIL}", FCOMMON.info.Login.email)
+ .Replace("%7BEMAIL%7D", FCOMMON.info.Login.email)
+ .Replace("{HP}", FCOMMON.info.Login.hp)
+ .Replace("{TEL}", FCOMMON.info.Login.tel)
+ .Replace("{ITEM}", dr.title)
+ .Replace("{QTY}", dr.qty.ToString())
+ .Replace("{MODEL}", dr.model.ToString())
+ .Replace("%7BURL%7D", dr.url.ToString())
+ .Replace("{URL}", dr.url);
+
+ newMail.BodyFormat = OlBodyFormat.olFormatHTML;
+ newMail.Display();
+ }
+ }
+
+ private void dv1_DataError(object sender, DataGridViewDataErrorEventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/SubProject/FCM0000/DSInventory.Designer.cs b/SubProject/FCM0000/DSInventory.Designer.cs
index 5a8d84b..de76c4d 100644
--- a/SubProject/FCM0000/DSInventory.Designer.cs
+++ b/SubProject/FCM0000/DSInventory.Designer.cs
@@ -1,4543 +1,4543 @@
-//------------------------------------------------------------------------------
-//
-// 이 코드는 도구를 사용하여 생성되었습니다.
-// 런타임 버전:4.0.30319.42000
-//
-// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
-// 이러한 변경 내용이 손실됩니다.
-//
-//------------------------------------------------------------------------------
-
-#pragma warning disable 1591
-
-namespace FCM0000 {
-
-
- ///
- ///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("DSInventory")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
- public partial class DSInventory : global::System.Data.DataSet {
-
- private InventoryDataTable tableInventory;
-
- private vInventoryDataTable tablevInventory;
-
- private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public DSInventory() {
- 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", "4.0.0.0")]
- protected DSInventory(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["Inventory"] != null)) {
- base.Tables.Add(new InventoryDataTable(ds.Tables["Inventory"]));
- }
- if ((ds.Tables["vInventory"] != null)) {
- base.Tables.Add(new vInventoryDataTable(ds.Tables["vInventory"]));
- }
- 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", "4.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public InventoryDataTable Inventory {
- get {
- return this.tableInventory;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public vInventoryDataTable vInventory {
- get {
- return this.tablevInventory;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")]
- public override global::System.Data.DataSet Clone() {
- DSInventory cln = ((DSInventory)(base.Clone()));
- cln.InitVars();
- cln.SchemaSerializationMode = this.SchemaSerializationMode;
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override bool ShouldSerializeTables() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override bool ShouldSerializeRelations() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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["Inventory"] != null)) {
- base.Tables.Add(new InventoryDataTable(ds.Tables["Inventory"]));
- }
- if ((ds.Tables["vInventory"] != null)) {
- base.Tables.Add(new vInventoryDataTable(ds.Tables["vInventory"]));
- }
- 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", "4.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", "4.0.0.0")]
- internal void InitVars() {
- this.InitVars(true);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars(bool initTable) {
- this.tableInventory = ((InventoryDataTable)(base.Tables["Inventory"]));
- if ((initTable == true)) {
- if ((this.tableInventory != null)) {
- this.tableInventory.InitVars();
- }
- }
- this.tablevInventory = ((vInventoryDataTable)(base.Tables["vInventory"]));
- if ((initTable == true)) {
- if ((this.tablevInventory != null)) {
- this.tablevInventory.InitVars();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass() {
- this.DataSetName = "DSInventory";
- this.Prefix = "";
- this.Namespace = "http://tempuri.org/DSInventory.xsd";
- this.EnforceConstraints = true;
- this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
- this.tableInventory = new InventoryDataTable();
- base.Tables.Add(this.tableInventory);
- this.tablevInventory = new vInventoryDataTable();
- base.Tables.Add(this.tablevInventory);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializeInventory() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private bool ShouldSerializevInventory() {
- return false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- DSInventory ds = new DSInventory();
- 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", "4.0.0.0")]
- public delegate void InventoryRowChangeEventHandler(object sender, InventoryRowChangeEvent e);
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public delegate void vInventoryRowChangeEventHandler(object sender, vInventoryRowChangeEvent e);
-
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class InventoryDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columnidx;
-
- private global::System.Data.DataColumn columngcode;
-
- private global::System.Data.DataColumn columnpdate;
-
- private global::System.Data.DataColumn columninvtype;
-
- private global::System.Data.DataColumn columnuid;
-
- private global::System.Data.DataColumn columnitemName;
-
- private global::System.Data.DataColumn columnitemModel;
-
- private global::System.Data.DataColumn columnserial;
-
- private global::System.Data.DataColumn columndr_qty;
-
- private global::System.Data.DataColumn columndr_amt;
-
- private global::System.Data.DataColumn columncr_qty;
-
- private global::System.Data.DataColumn columncr_amt;
-
- private global::System.Data.DataColumn columnplace;
-
- private global::System.Data.DataColumn columnmemo;
-
- private global::System.Data.DataColumn columnproject;
-
- private global::System.Data.DataColumn columnprojectName;
-
- private global::System.Data.DataColumn columnwuid;
-
- private global::System.Data.DataColumn columnwdate;
-
- private global::System.Data.DataColumn columnitem;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public InventoryDataTable() {
- this.TableName = "Inventory";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal InventoryDataTable(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", "4.0.0.0")]
- protected InventoryDataTable(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", "4.0.0.0")]
- public global::System.Data.DataColumn idxColumn {
- get {
- return this.columnidx;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn gcodeColumn {
- get {
- return this.columngcode;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn pdateColumn {
- get {
- return this.columnpdate;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn invtypeColumn {
- get {
- return this.columninvtype;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn uidColumn {
- get {
- return this.columnuid;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn itemNameColumn {
- get {
- return this.columnitemName;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn itemModelColumn {
- get {
- return this.columnitemModel;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn serialColumn {
- get {
- return this.columnserial;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn dr_qtyColumn {
- get {
- return this.columndr_qty;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn dr_amtColumn {
- get {
- return this.columndr_amt;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn cr_qtyColumn {
- get {
- return this.columncr_qty;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn cr_amtColumn {
- get {
- return this.columncr_amt;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn placeColumn {
- get {
- return this.columnplace;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn memoColumn {
- get {
- return this.columnmemo;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn projectColumn {
- get {
- return this.columnproject;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn projectNameColumn {
- get {
- return this.columnprojectName;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn wuidColumn {
- get {
- return this.columnwuid;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn wdateColumn {
- get {
- return this.columnwdate;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn itemColumn {
- get {
- return this.columnitem;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
- public InventoryRow this[int index] {
- get {
- return ((InventoryRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event InventoryRowChangeEventHandler InventoryRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event InventoryRowChangeEventHandler InventoryRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event InventoryRowChangeEventHandler InventoryRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event InventoryRowChangeEventHandler InventoryRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddInventoryRow(InventoryRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public InventoryRow AddInventoryRow(
- string gcode,
- string pdate,
- string invtype,
- string uid,
- string itemName,
- string itemModel,
- string serial,
- int dr_qty,
- decimal dr_amt,
- int cr_qty,
- decimal cr_amt,
- string place,
- string memo,
- int project,
- string projectName,
- string wuid,
- System.DateTime wdate,
- int item) {
- InventoryRow rowInventoryRow = ((InventoryRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- null,
- gcode,
- pdate,
- invtype,
- uid,
- itemName,
- itemModel,
- serial,
- dr_qty,
- dr_amt,
- cr_qty,
- cr_amt,
- place,
- memo,
- project,
- projectName,
- wuid,
- wdate,
- item};
- rowInventoryRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowInventoryRow);
- return rowInventoryRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public InventoryRow FindByidx(int idx) {
- return ((InventoryRow)(this.Rows.Find(new object[] {
- idx})));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone() {
- InventoryDataTable cln = ((InventoryDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Data.DataTable CreateInstance() {
- return new InventoryDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars() {
- this.columnidx = base.Columns["idx"];
- this.columngcode = base.Columns["gcode"];
- this.columnpdate = base.Columns["pdate"];
- this.columninvtype = base.Columns["invtype"];
- this.columnuid = base.Columns["uid"];
- this.columnitemName = base.Columns["itemName"];
- this.columnitemModel = base.Columns["itemModel"];
- this.columnserial = base.Columns["serial"];
- this.columndr_qty = base.Columns["dr_qty"];
- this.columndr_amt = base.Columns["dr_amt"];
- this.columncr_qty = base.Columns["cr_qty"];
- this.columncr_amt = base.Columns["cr_amt"];
- this.columnplace = base.Columns["place"];
- this.columnmemo = base.Columns["memo"];
- this.columnproject = base.Columns["project"];
- this.columnprojectName = base.Columns["projectName"];
- this.columnwuid = base.Columns["wuid"];
- this.columnwdate = base.Columns["wdate"];
- this.columnitem = base.Columns["item"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass() {
- this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnidx);
- this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columngcode);
- this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnpdate);
- this.columninvtype = new global::System.Data.DataColumn("invtype", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columninvtype);
- this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnuid);
- this.columnitemName = new global::System.Data.DataColumn("itemName", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnitemName);
- this.columnitemModel = new global::System.Data.DataColumn("itemModel", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnitemModel);
- this.columnserial = new global::System.Data.DataColumn("serial", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnserial);
- this.columndr_qty = new global::System.Data.DataColumn("dr_qty", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndr_qty);
- this.columndr_amt = new global::System.Data.DataColumn("dr_amt", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndr_amt);
- this.columncr_qty = new global::System.Data.DataColumn("cr_qty", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columncr_qty);
- this.columncr_amt = new global::System.Data.DataColumn("cr_amt", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columncr_amt);
- this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnplace);
- this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnmemo);
- this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnproject);
- this.columnprojectName = new global::System.Data.DataColumn("projectName", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnprojectName);
- this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnwuid);
- this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnwdate);
- this.columnitem = new global::System.Data.DataColumn("item", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnitem);
- this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.columnidx}, true));
- this.columnidx.AutoIncrement = true;
- this.columnidx.AutoIncrementSeed = -1;
- this.columnidx.AutoIncrementStep = -1;
- this.columnidx.AllowDBNull = false;
- this.columnidx.ReadOnly = true;
- this.columnidx.Unique = true;
- this.columngcode.AllowDBNull = false;
- this.columngcode.MaxLength = 10;
- this.columnpdate.MaxLength = 10;
- this.columninvtype.MaxLength = 10;
- this.columnuid.MaxLength = 20;
- this.columnitemName.ReadOnly = true;
- this.columnitemName.MaxLength = 200;
- this.columnitemModel.ReadOnly = true;
- this.columnitemModel.MaxLength = 200;
- this.columnserial.MaxLength = 50;
- this.columnplace.MaxLength = 100;
- this.columnmemo.MaxLength = 255;
- this.columnprojectName.MaxLength = 255;
- this.columnwuid.AllowDBNull = false;
- this.columnwuid.MaxLength = 20;
- this.columnwdate.AllowDBNull = false;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public InventoryRow NewInventoryRow() {
- return ((InventoryRow)(this.NewRow()));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new InventoryRow(builder);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType() {
- return typeof(InventoryRow);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.InventoryRowChanged != null)) {
- this.InventoryRowChanged(this, new InventoryRowChangeEvent(((InventoryRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.InventoryRowChanging != null)) {
- this.InventoryRowChanging(this, new InventoryRowChangeEvent(((InventoryRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.InventoryRowDeleted != null)) {
- this.InventoryRowDeleted(this, new InventoryRowChangeEvent(((InventoryRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.InventoryRowDeleting != null)) {
- this.InventoryRowDeleting(this, new InventoryRowChangeEvent(((InventoryRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemoveInventoryRow(InventoryRow row) {
- this.Rows.Remove(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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();
- DSInventory ds = new DSInventory();
- 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 = "InventoryDataTable";
- 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 the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class vInventoryDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columnidx;
-
- private global::System.Data.DataColumn columngcode;
-
- private global::System.Data.DataColumn columnpdate;
-
- private global::System.Data.DataColumn columninvtype;
-
- private global::System.Data.DataColumn columnuid;
-
- private global::System.Data.DataColumn columnuserName;
-
- private global::System.Data.DataColumn columnitem;
-
- private global::System.Data.DataColumn columnserial;
-
- private global::System.Data.DataColumn columndr_qty;
-
- private global::System.Data.DataColumn columndr_amt;
-
- private global::System.Data.DataColumn columncr_qty;
-
- private global::System.Data.DataColumn columncr_amt;
-
- private global::System.Data.DataColumn columnplace;
-
- private global::System.Data.DataColumn columnmemo;
-
- private global::System.Data.DataColumn columnitemName;
-
- private global::System.Data.DataColumn columnitemModel;
-
- private global::System.Data.DataColumn columnproject;
-
- private global::System.Data.DataColumn columnprojectName;
-
- private global::System.Data.DataColumn columnwuid;
-
- private global::System.Data.DataColumn columnwdate;
-
- private global::System.Data.DataColumn columnsid;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public vInventoryDataTable() {
- this.TableName = "vInventory";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal vInventoryDataTable(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", "4.0.0.0")]
- protected vInventoryDataTable(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", "4.0.0.0")]
- public global::System.Data.DataColumn idxColumn {
- get {
- return this.columnidx;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn gcodeColumn {
- get {
- return this.columngcode;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn pdateColumn {
- get {
- return this.columnpdate;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn invtypeColumn {
- get {
- return this.columninvtype;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn uidColumn {
- get {
- return this.columnuid;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn userNameColumn {
- get {
- return this.columnuserName;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn itemColumn {
- get {
- return this.columnitem;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn serialColumn {
- get {
- return this.columnserial;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn dr_qtyColumn {
- get {
- return this.columndr_qty;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn dr_amtColumn {
- get {
- return this.columndr_amt;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn cr_qtyColumn {
- get {
- return this.columncr_qty;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn cr_amtColumn {
- get {
- return this.columncr_amt;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn placeColumn {
- get {
- return this.columnplace;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn memoColumn {
- get {
- return this.columnmemo;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn itemNameColumn {
- get {
- return this.columnitemName;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn itemModelColumn {
- get {
- return this.columnitemModel;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn projectColumn {
- get {
- return this.columnproject;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn projectNameColumn {
- get {
- return this.columnprojectName;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn wuidColumn {
- get {
- return this.columnwuid;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn wdateColumn {
- get {
- return this.columnwdate;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataColumn sidColumn {
- get {
- return this.columnsid;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
- public vInventoryRow this[int index] {
- get {
- return ((vInventoryRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event vInventoryRowChangeEventHandler vInventoryRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event vInventoryRowChangeEventHandler vInventoryRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event vInventoryRowChangeEventHandler vInventoryRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public event vInventoryRowChangeEventHandler vInventoryRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void AddvInventoryRow(vInventoryRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public vInventoryRow AddvInventoryRow(
- string gcode,
- string pdate,
- string invtype,
- string uid,
- string userName,
- int item,
- string serial,
- int dr_qty,
- decimal dr_amt,
- int cr_qty,
- decimal cr_amt,
- string place,
- string memo,
- string itemName,
- string itemModel,
- int project,
- string projectName,
- string wuid,
- System.DateTime wdate,
- string sid) {
- vInventoryRow rowvInventoryRow = ((vInventoryRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- null,
- gcode,
- pdate,
- invtype,
- uid,
- userName,
- item,
- serial,
- dr_qty,
- dr_amt,
- cr_qty,
- cr_amt,
- place,
- memo,
- itemName,
- itemModel,
- project,
- projectName,
- wuid,
- wdate,
- sid};
- rowvInventoryRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowvInventoryRow);
- return rowvInventoryRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public vInventoryRow FindByidx(int idx) {
- return ((vInventoryRow)(this.Rows.Find(new object[] {
- idx})));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public override global::System.Data.DataTable Clone() {
- vInventoryDataTable cln = ((vInventoryDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Data.DataTable CreateInstance() {
- return new vInventoryDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal void InitVars() {
- this.columnidx = base.Columns["idx"];
- this.columngcode = base.Columns["gcode"];
- this.columnpdate = base.Columns["pdate"];
- this.columninvtype = base.Columns["invtype"];
- this.columnuid = base.Columns["uid"];
- this.columnuserName = base.Columns["userName"];
- this.columnitem = base.Columns["item"];
- this.columnserial = base.Columns["serial"];
- this.columndr_qty = base.Columns["dr_qty"];
- this.columndr_amt = base.Columns["dr_amt"];
- this.columncr_qty = base.Columns["cr_qty"];
- this.columncr_amt = base.Columns["cr_amt"];
- this.columnplace = base.Columns["place"];
- this.columnmemo = base.Columns["memo"];
- this.columnitemName = base.Columns["itemName"];
- this.columnitemModel = base.Columns["itemModel"];
- this.columnproject = base.Columns["project"];
- this.columnprojectName = base.Columns["projectName"];
- this.columnwuid = base.Columns["wuid"];
- this.columnwdate = base.Columns["wdate"];
- this.columnsid = base.Columns["sid"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitClass() {
- this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnidx);
- this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columngcode);
- this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnpdate);
- this.columninvtype = new global::System.Data.DataColumn("invtype", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columninvtype);
- this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnuid);
- this.columnuserName = new global::System.Data.DataColumn("userName", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnuserName);
- this.columnitem = new global::System.Data.DataColumn("item", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnitem);
- this.columnserial = new global::System.Data.DataColumn("serial", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnserial);
- this.columndr_qty = new global::System.Data.DataColumn("dr_qty", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndr_qty);
- this.columndr_amt = new global::System.Data.DataColumn("dr_amt", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndr_amt);
- this.columncr_qty = new global::System.Data.DataColumn("cr_qty", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columncr_qty);
- this.columncr_amt = new global::System.Data.DataColumn("cr_amt", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columncr_amt);
- this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnplace);
- this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnmemo);
- this.columnitemName = new global::System.Data.DataColumn("itemName", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnitemName);
- this.columnitemModel = new global::System.Data.DataColumn("itemModel", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnitemModel);
- this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnproject);
- this.columnprojectName = new global::System.Data.DataColumn("projectName", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnprojectName);
- this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnwuid);
- this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnwdate);
- this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnsid);
- this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.columnidx}, true));
- this.columnidx.AutoIncrement = true;
- this.columnidx.AutoIncrementSeed = -1;
- this.columnidx.AutoIncrementStep = -1;
- this.columnidx.AllowDBNull = false;
- this.columnidx.ReadOnly = true;
- this.columnidx.Unique = true;
- this.columngcode.AllowDBNull = false;
- this.columngcode.MaxLength = 10;
- this.columnpdate.MaxLength = 10;
- this.columninvtype.MaxLength = 10;
- this.columnuid.MaxLength = 20;
- this.columnuserName.MaxLength = 200;
- this.columnserial.MaxLength = 50;
- this.columnplace.MaxLength = 100;
- this.columnmemo.MaxLength = 255;
- this.columnitemName.MaxLength = 200;
- this.columnitemModel.MaxLength = 200;
- this.columnprojectName.MaxLength = 255;
- this.columnwuid.AllowDBNull = false;
- this.columnwuid.MaxLength = 20;
- this.columnwdate.AllowDBNull = false;
- this.columnsid.MaxLength = 50;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public vInventoryRow NewvInventoryRow() {
- return ((vInventoryRow)(this.NewRow()));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new vInventoryRow(builder);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override global::System.Type GetRowType() {
- return typeof(vInventoryRow);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.vInventoryRowChanged != null)) {
- this.vInventoryRowChanged(this, new vInventoryRowChangeEvent(((vInventoryRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.vInventoryRowChanging != null)) {
- this.vInventoryRowChanging(this, new vInventoryRowChangeEvent(((vInventoryRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.vInventoryRowDeleted != null)) {
- this.vInventoryRowDeleted(this, new vInventoryRowChangeEvent(((vInventoryRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.vInventoryRowDeleting != null)) {
- this.vInventoryRowDeleting(this, new vInventoryRowChangeEvent(((vInventoryRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void RemovevInventoryRow(vInventoryRow row) {
- this.Rows.Remove(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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();
- DSInventory ds = new DSInventory();
- 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 = "vInventoryDataTable";
- 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 InventoryRow : global::System.Data.DataRow {
-
- private InventoryDataTable tableInventory;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal InventoryRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tableInventory = ((InventoryDataTable)(this.Table));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int idx {
- get {
- return ((int)(this[this.tableInventory.idxColumn]));
- }
- set {
- this[this.tableInventory.idxColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string gcode {
- get {
- return ((string)(this[this.tableInventory.gcodeColumn]));
- }
- set {
- this[this.tableInventory.gcodeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string pdate {
- get {
- if (this.IspdateNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.pdateColumn]));
- }
- }
- set {
- this[this.tableInventory.pdateColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string invtype {
- get {
- if (this.IsinvtypeNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.invtypeColumn]));
- }
- }
- set {
- this[this.tableInventory.invtypeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string uid {
- get {
- if (this.IsuidNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.uidColumn]));
- }
- }
- set {
- this[this.tableInventory.uidColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string itemName {
- get {
- if (this.IsitemNameNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.itemNameColumn]));
- }
- }
- set {
- this[this.tableInventory.itemNameColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string itemModel {
- get {
- if (this.IsitemModelNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.itemModelColumn]));
- }
- }
- set {
- this[this.tableInventory.itemModelColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string serial {
- get {
- if (this.IsserialNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.serialColumn]));
- }
- }
- set {
- this[this.tableInventory.serialColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int dr_qty {
- get {
- try {
- return ((int)(this[this.tableInventory.dr_qtyColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Inventory\' 테이블의 \'dr_qty\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableInventory.dr_qtyColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public decimal dr_amt {
- get {
- if (this.Isdr_amtNull()) {
- return 0m;
- }
- else {
- return ((decimal)(this[this.tableInventory.dr_amtColumn]));
- }
- }
- set {
- this[this.tableInventory.dr_amtColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int cr_qty {
- get {
- if (this.Iscr_qtyNull()) {
- return 0;
- }
- else {
- return ((int)(this[this.tableInventory.cr_qtyColumn]));
- }
- }
- set {
- this[this.tableInventory.cr_qtyColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public decimal cr_amt {
- get {
- if (this.Iscr_amtNull()) {
- return 0m;
- }
- else {
- return ((decimal)(this[this.tableInventory.cr_amtColumn]));
- }
- }
- set {
- this[this.tableInventory.cr_amtColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string place {
- get {
- if (this.IsplaceNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.placeColumn]));
- }
- }
- set {
- this[this.tableInventory.placeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string memo {
- get {
- if (this.IsmemoNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.memoColumn]));
- }
- }
- set {
- this[this.tableInventory.memoColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int project {
- get {
- try {
- return ((int)(this[this.tableInventory.projectColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'Inventory\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableInventory.projectColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string projectName {
- get {
- if (this.IsprojectNameNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableInventory.projectNameColumn]));
- }
- }
- set {
- this[this.tableInventory.projectNameColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string wuid {
- get {
- return ((string)(this[this.tableInventory.wuidColumn]));
- }
- set {
- this[this.tableInventory.wuidColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public System.DateTime wdate {
- get {
- return ((global::System.DateTime)(this[this.tableInventory.wdateColumn]));
- }
- set {
- this[this.tableInventory.wdateColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int item {
- get {
- if (this.IsitemNull()) {
- return -1;
- }
- else {
- return ((int)(this[this.tableInventory.itemColumn]));
- }
- }
- set {
- this[this.tableInventory.itemColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IspdateNull() {
- return this.IsNull(this.tableInventory.pdateColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetpdateNull() {
- this[this.tableInventory.pdateColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsinvtypeNull() {
- return this.IsNull(this.tableInventory.invtypeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetinvtypeNull() {
- this[this.tableInventory.invtypeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsuidNull() {
- return this.IsNull(this.tableInventory.uidColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetuidNull() {
- this[this.tableInventory.uidColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsitemNameNull() {
- return this.IsNull(this.tableInventory.itemNameColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetitemNameNull() {
- this[this.tableInventory.itemNameColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsitemModelNull() {
- return this.IsNull(this.tableInventory.itemModelColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetitemModelNull() {
- this[this.tableInventory.itemModelColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsserialNull() {
- return this.IsNull(this.tableInventory.serialColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetserialNull() {
- this[this.tableInventory.serialColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Isdr_qtyNull() {
- return this.IsNull(this.tableInventory.dr_qtyColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setdr_qtyNull() {
- this[this.tableInventory.dr_qtyColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Isdr_amtNull() {
- return this.IsNull(this.tableInventory.dr_amtColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setdr_amtNull() {
- this[this.tableInventory.dr_amtColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Iscr_qtyNull() {
- return this.IsNull(this.tableInventory.cr_qtyColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setcr_qtyNull() {
- this[this.tableInventory.cr_qtyColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Iscr_amtNull() {
- return this.IsNull(this.tableInventory.cr_amtColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setcr_amtNull() {
- this[this.tableInventory.cr_amtColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsplaceNull() {
- return this.IsNull(this.tableInventory.placeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetplaceNull() {
- this[this.tableInventory.placeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsmemoNull() {
- return this.IsNull(this.tableInventory.memoColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetmemoNull() {
- this[this.tableInventory.memoColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsprojectNull() {
- return this.IsNull(this.tableInventory.projectColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetprojectNull() {
- this[this.tableInventory.projectColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsprojectNameNull() {
- return this.IsNull(this.tableInventory.projectNameColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetprojectNameNull() {
- this[this.tableInventory.projectNameColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsitemNull() {
- return this.IsNull(this.tableInventory.itemColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetitemNull() {
- this[this.tableInventory.itemColumn] = global::System.Convert.DBNull;
- }
- }
-
- ///
- ///Represents strongly named DataRow class.
- ///
- public partial class vInventoryRow : global::System.Data.DataRow {
-
- private vInventoryDataTable tablevInventory;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- internal vInventoryRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tablevInventory = ((vInventoryDataTable)(this.Table));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int idx {
- get {
- return ((int)(this[this.tablevInventory.idxColumn]));
- }
- set {
- this[this.tablevInventory.idxColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string gcode {
- get {
- return ((string)(this[this.tablevInventory.gcodeColumn]));
- }
- set {
- this[this.tablevInventory.gcodeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string pdate {
- get {
- if (this.IspdateNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.pdateColumn]));
- }
- }
- set {
- this[this.tablevInventory.pdateColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string invtype {
- get {
- if (this.IsinvtypeNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.invtypeColumn]));
- }
- }
- set {
- this[this.tablevInventory.invtypeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string uid {
- get {
- if (this.IsuidNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.uidColumn]));
- }
- }
- set {
- this[this.tablevInventory.uidColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string userName {
- get {
- if (this.IsuserNameNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.userNameColumn]));
- }
- }
- set {
- this[this.tablevInventory.userNameColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int item {
- get {
- try {
- return ((int)(this[this.tablevInventory.itemColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'vInventory\' 테이블의 \'item\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tablevInventory.itemColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string serial {
- get {
- if (this.IsserialNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.serialColumn]));
- }
- }
- set {
- this[this.tablevInventory.serialColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int dr_qty {
- get {
- if (this.Isdr_qtyNull()) {
- return 0;
- }
- else {
- return ((int)(this[this.tablevInventory.dr_qtyColumn]));
- }
- }
- set {
- this[this.tablevInventory.dr_qtyColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public decimal dr_amt {
- get {
- if (this.Isdr_amtNull()) {
- return 0m;
- }
- else {
- return ((decimal)(this[this.tablevInventory.dr_amtColumn]));
- }
- }
- set {
- this[this.tablevInventory.dr_amtColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int cr_qty {
- get {
- if (this.Iscr_qtyNull()) {
- return 0;
- }
- else {
- return ((int)(this[this.tablevInventory.cr_qtyColumn]));
- }
- }
- set {
- this[this.tablevInventory.cr_qtyColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public decimal cr_amt {
- get {
- if (this.Iscr_amtNull()) {
- return 0m;
- }
- else {
- return ((decimal)(this[this.tablevInventory.cr_amtColumn]));
- }
- }
- set {
- this[this.tablevInventory.cr_amtColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string place {
- get {
- if (this.IsplaceNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.placeColumn]));
- }
- }
- set {
- this[this.tablevInventory.placeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string memo {
- get {
- if (this.IsmemoNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.memoColumn]));
- }
- }
- set {
- this[this.tablevInventory.memoColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string itemName {
- get {
- if (this.IsitemNameNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.itemNameColumn]));
- }
- }
- set {
- this[this.tablevInventory.itemNameColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string itemModel {
- get {
- if (this.IsitemModelNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.itemModelColumn]));
- }
- }
- set {
- this[this.tablevInventory.itemModelColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public int project {
- get {
- if (this.IsprojectNull()) {
- return -1;
- }
- else {
- return ((int)(this[this.tablevInventory.projectColumn]));
- }
- }
- set {
- this[this.tablevInventory.projectColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string projectName {
- get {
- if (this.IsprojectNameNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.projectNameColumn]));
- }
- }
- set {
- this[this.tablevInventory.projectNameColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string wuid {
- get {
- return ((string)(this[this.tablevInventory.wuidColumn]));
- }
- set {
- this[this.tablevInventory.wuidColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public System.DateTime wdate {
- get {
- return ((global::System.DateTime)(this[this.tablevInventory.wdateColumn]));
- }
- set {
- this[this.tablevInventory.wdateColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public string sid {
- get {
- if (this.IssidNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tablevInventory.sidColumn]));
- }
- }
- set {
- this[this.tablevInventory.sidColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IspdateNull() {
- return this.IsNull(this.tablevInventory.pdateColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetpdateNull() {
- this[this.tablevInventory.pdateColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsinvtypeNull() {
- return this.IsNull(this.tablevInventory.invtypeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetinvtypeNull() {
- this[this.tablevInventory.invtypeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsuidNull() {
- return this.IsNull(this.tablevInventory.uidColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetuidNull() {
- this[this.tablevInventory.uidColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsuserNameNull() {
- return this.IsNull(this.tablevInventory.userNameColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetuserNameNull() {
- this[this.tablevInventory.userNameColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsitemNull() {
- return this.IsNull(this.tablevInventory.itemColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetitemNull() {
- this[this.tablevInventory.itemColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsserialNull() {
- return this.IsNull(this.tablevInventory.serialColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetserialNull() {
- this[this.tablevInventory.serialColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Isdr_qtyNull() {
- return this.IsNull(this.tablevInventory.dr_qtyColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setdr_qtyNull() {
- this[this.tablevInventory.dr_qtyColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Isdr_amtNull() {
- return this.IsNull(this.tablevInventory.dr_amtColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setdr_amtNull() {
- this[this.tablevInventory.dr_amtColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Iscr_qtyNull() {
- return this.IsNull(this.tablevInventory.cr_qtyColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setcr_qtyNull() {
- this[this.tablevInventory.cr_qtyColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool Iscr_amtNull() {
- return this.IsNull(this.tablevInventory.cr_amtColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void Setcr_amtNull() {
- this[this.tablevInventory.cr_amtColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsplaceNull() {
- return this.IsNull(this.tablevInventory.placeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetplaceNull() {
- this[this.tablevInventory.placeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsmemoNull() {
- return this.IsNull(this.tablevInventory.memoColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetmemoNull() {
- this[this.tablevInventory.memoColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsitemNameNull() {
- return this.IsNull(this.tablevInventory.itemNameColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetitemNameNull() {
- this[this.tablevInventory.itemNameColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsitemModelNull() {
- return this.IsNull(this.tablevInventory.itemModelColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetitemModelNull() {
- this[this.tablevInventory.itemModelColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsprojectNull() {
- return this.IsNull(this.tablevInventory.projectColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetprojectNull() {
- this[this.tablevInventory.projectColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IsprojectNameNull() {
- return this.IsNull(this.tablevInventory.projectNameColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetprojectNameNull() {
- this[this.tablevInventory.projectNameColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public bool IssidNull() {
- return this.IsNull(this.tablevInventory.sidColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public void SetsidNull() {
- this[this.tablevInventory.sidColumn] = global::System.Convert.DBNull;
- }
- }
-
- ///
- ///Row event argument class
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public class InventoryRowChangeEvent : global::System.EventArgs {
-
- private InventoryRow eventRow;
-
- private global::System.Data.DataRowAction eventAction;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public InventoryRowChangeEvent(InventoryRow 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", "4.0.0.0")]
- public InventoryRow Row {
- get {
- return this.eventRow;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
-
- ///
- ///Row event argument class
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public class vInventoryRowChangeEvent : global::System.EventArgs {
-
- private vInventoryRow eventRow;
-
- private global::System.Data.DataRowAction eventAction;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public vInventoryRowChangeEvent(vInventoryRow 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", "4.0.0.0")]
- public vInventoryRow Row {
- get {
- return this.eventRow;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- public global::System.Data.DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
- }
-}
-namespace FCM0000.DSInventoryTableAdapters {
-
-
- ///
- ///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 InventoryTableAdapter : 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", "4.0.0.0")]
- public InventoryTableAdapter() {
- this.ClearBeforeFill = true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "Inventory";
- tableMapping.ColumnMappings.Add("idx", "idx");
- tableMapping.ColumnMappings.Add("gcode", "gcode");
- tableMapping.ColumnMappings.Add("pdate", "pdate");
- tableMapping.ColumnMappings.Add("invtype", "invtype");
- tableMapping.ColumnMappings.Add("uid", "uid");
- tableMapping.ColumnMappings.Add("itemName", "itemName");
- tableMapping.ColumnMappings.Add("itemModel", "itemModel");
- tableMapping.ColumnMappings.Add("serial", "serial");
- tableMapping.ColumnMappings.Add("dr_qty", "dr_qty");
- tableMapping.ColumnMappings.Add("dr_amt", "dr_amt");
- tableMapping.ColumnMappings.Add("cr_qty", "cr_qty");
- tableMapping.ColumnMappings.Add("cr_amt", "cr_amt");
- tableMapping.ColumnMappings.Add("place", "place");
- tableMapping.ColumnMappings.Add("memo", "memo");
- tableMapping.ColumnMappings.Add("project", "project");
- tableMapping.ColumnMappings.Add("projectName", "projectName");
- tableMapping.ColumnMappings.Add("wuid", "wuid");
- tableMapping.ColumnMappings.Add("wdate", "wdate");
- tableMapping.ColumnMappings.Add("item", "item");
- 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 [Inventory] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_invtype = 1 AND [invtype] IS NULL) OR ([invtype] = @Original_invtype)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_item = 1 AND [item] IS NULL) OR ([item] = @Original_item)))";
- 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("@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_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_invtype", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_invtype", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_serial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dr_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_amt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cr_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_amt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", 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 [Inventory] ([gcode], [pdate], [invtype], [uid], [serial], [dr_qty], [dr_amt], [cr_qty], [cr_amt], [place], [memo], [project], [projectName], [wuid], [wdate], [item]) VALUES (@gcode, @pdate, @invtype, @uid, @serial, @dr_qty, @dr_amt, @cr_qty, @cr_amt, @place, @memo, @project, @projectName, @wuid, @wdate, @item);
-SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid, wdate, item FROM Inventory WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC";
- this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- 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("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invtype", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- 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("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", 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 [Inventory] SET [gcode] = @gcode, [pdate] = @pdate, [invtype] = @invtype, " +
- "[uid] = @uid, [serial] = @serial, [dr_qty] = @dr_qty, [dr_amt] = @dr_amt, [cr_qt" +
- "y] = @cr_qty, [cr_amt] = @cr_amt, [place] = @place, [memo] = @memo, [project] = " +
- "@project, [projectName] = @projectName, [wuid] = @wuid, [wdate] = @wdate, [item]" +
- " = @item WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@I" +
- "sNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNu" +
- "ll_invtype = 1 AND [invtype] IS NULL) OR ([invtype] = @Original_invtype)) AND ((" +
- "@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_ser" +
- "ial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr" +
- "_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_d" +
- "r_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_" +
- "cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull" +
- "_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNul" +
- "l_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ((@IsNull_m" +
- "emo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project " +
- "= 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pro" +
- "jectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectNam" +
- "e)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_" +
- "item = 1 AND [item] IS NULL) OR ([item] = @Original_item)));\r\nSELECT idx, gcode," +
- " pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) " +
- "AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, proj" +
- "ectName, wuid, wdate, item FROM Inventory WHERE (idx = @idx) ORDER BY pdate DESC" +
- "";
- this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- 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("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invtype", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- 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("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", 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("@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_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_invtype", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_invtype", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_serial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dr_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_amt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cr_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_amt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", 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, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitConnection() {
- this._connection = new global::System.Data.SqlClient.SqlConnection();
- this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
- this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = @"SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid,
- wdate, item
-FROM Inventory
-WHERE (gcode = @gcode)
-ORDER BY pdate DESC";
- this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[1].Connection = this.Connection;
- this._commandCollection[1].CommandText = @"SELECT cr_amt, cr_qty, dr_amt, dr_qty, gcode, idx, invtype, item, dbo.getItemModel(item) AS itemModel, dbo.getItemName(item) AS itemName, memo, pdate, place, project, projectName, serial, uid, wdate, wuid FROM Inventory WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) ORDER BY pdate DESC";
- this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[2].Connection = this.Connection;
- this._commandCollection[2].CommandText = @"SELECT idx, gcode, pdate, invtype, uid, dbo.getItemName(item) AS itemName, dbo.getItemModel(item) AS itemModel, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid,
- wdate, item
-FROM Inventory
-WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (item = @item)
-ORDER BY pdate DESC";
- this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[3].Connection = this.Connection;
- this._commandCollection[3].CommandText = @"SELECT cr_amt, cr_qty, dr_amt, dr_qty, gcode, idx, invtype, item, dbo.getItemModel(item) AS itemModel, dbo.getItemName(item) AS itemName, memo, pdate, place, project, projectName, serial, uid, wdate, wuid FROM Inventory WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid = @uid) ORDER BY pdate DESC";
- this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DSInventory.InventoryDataTable dataTable, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- 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", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual DSInventory.InventoryDataTable GetData(string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- DSInventory.InventoryDataTable dataTable = new DSInventory.InventoryDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
- public virtual int FillByDate(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed) {
- this.Adapter.SelectCommand = this.CommandCollection[1];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
- }
- 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", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DSInventory.InventoryDataTable GetbyDate(string gcode, string sd, string ed) {
- this.Adapter.SelectCommand = this.CommandCollection[1];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
- }
- DSInventory.InventoryDataTable dataTable = new DSInventory.InventoryDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
- public virtual int FillByDateItem(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed, global::System.Nullable item) {
- this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
- }
- if ((item.HasValue == true)) {
- this.Adapter.SelectCommand.Parameters[3].Value = ((int)(item.Value));
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- 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", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DSInventory.InventoryDataTable GetByDateItem(string gcode, string sd, string ed, global::System.Nullable item) {
- this.Adapter.SelectCommand = this.CommandCollection[2];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
- }
- if ((item.HasValue == true)) {
- this.Adapter.SelectCommand.Parameters[3].Value = ((int)(item.Value));
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- DSInventory.InventoryDataTable dataTable = new DSInventory.InventoryDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
- public virtual int FillByUid(DSInventory.InventoryDataTable dataTable, string gcode, string sd, string ed, string uid) {
- this.Adapter.SelectCommand = this.CommandCollection[3];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
- }
- if ((uid == null)) {
- this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(uid));
- }
- 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", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual DSInventory.InventoryDataTable GetByUid(string gcode, string sd, string ed, string uid) {
- this.Adapter.SelectCommand = this.CommandCollection[3];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
- }
- if ((uid == null)) {
- this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(uid));
- }
- DSInventory.InventoryDataTable dataTable = new DSInventory.InventoryDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DSInventory.InventoryDataTable dataTable) {
- return this.Adapter.Update(dataTable);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DSInventory dataSet) {
- return this.Adapter.Update(dataSet, "Inventory");
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(global::System.Data.DataRow dataRow) {
- return this.Adapter.Update(new global::System.Data.DataRow[] {
- dataRow});
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(global::System.Data.DataRow[] dataRows) {
- return this.Adapter.Update(dataRows);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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,
- string Original_gcode,
- string Original_pdate,
- string Original_invtype,
- string Original_uid,
- string Original_serial,
- global::System.Nullable Original_dr_qty,
- global::System.Nullable Original_dr_amt,
- global::System.Nullable Original_cr_qty,
- global::System.Nullable Original_cr_amt,
- string Original_place,
- string Original_memo,
- global::System.Nullable Original_project,
- string Original_projectName,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_item) {
- this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
- if ((Original_gcode == null)) {
- throw new global::System.ArgumentNullException("Original_gcode");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_gcode));
- }
- if ((Original_pdate == null)) {
- this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_pdate));
- }
- if ((Original_invtype == null)) {
- this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_invtype));
- }
- if ((Original_uid == null)) {
- this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_uid));
- }
- if ((Original_serial == null)) {
- this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_serial));
- }
- if ((Original_dr_qty.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[11].Value = ((int)(Original_dr_qty.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value;
- }
- if ((Original_dr_amt.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[13].Value = ((decimal)(Original_dr_amt.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value;
- }
- if ((Original_cr_qty.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[15].Value = ((int)(Original_cr_qty.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
- }
- if ((Original_cr_amt.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[17].Value = ((decimal)(Original_cr_amt.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
- }
- if ((Original_place == null)) {
- this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_place));
- }
- if ((Original_memo == null)) {
- this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[21].Value = ((string)(Original_memo));
- }
- if ((Original_project.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[23].Value = ((int)(Original_project.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[22].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[23].Value = global::System.DBNull.Value;
- }
- if ((Original_projectName == null)) {
- this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_projectName));
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_wuid));
- }
- this.Adapter.DeleteCommand.Parameters[27].Value = ((System.DateTime)(Original_wdate));
- if ((Original_item.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[29].Value = ((int)(Original_item.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value;
- }
- 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)) {
- this.Adapter.DeleteCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.DeleteCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(
- string gcode,
- string pdate,
- string invtype,
- string uid,
- string serial,
- global::System.Nullable dr_qty,
- global::System.Nullable dr_amt,
- global::System.Nullable cr_qty,
- global::System.Nullable cr_amt,
- string place,
- string memo,
- global::System.Nullable project,
- string projectName,
- string wuid,
- System.DateTime wdate,
- global::System.Nullable item) {
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((pdate == null)) {
- this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[1].Value = ((string)(pdate));
- }
- if ((invtype == null)) {
- this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[2].Value = ((string)(invtype));
- }
- if ((uid == null)) {
- this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[3].Value = ((string)(uid));
- }
- if ((serial == null)) {
- this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[4].Value = ((string)(serial));
- }
- if ((dr_qty.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[5].Value = ((int)(dr_qty.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- if ((dr_amt.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(dr_amt.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- if ((cr_qty.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[7].Value = ((int)(cr_qty.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- if ((cr_amt.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(cr_amt.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
- }
- if ((place == null)) {
- this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[9].Value = ((string)(place));
- }
- if ((memo == null)) {
- this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[10].Value = ((string)(memo));
- }
- if ((project.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[11].Value = ((int)(project.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
- }
- if ((projectName == null)) {
- this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[12].Value = ((string)(projectName));
- }
- if ((wuid == null)) {
- throw new global::System.ArgumentNullException("wuid");
- }
- else {
- this.Adapter.InsertCommand.Parameters[13].Value = ((string)(wuid));
- }
- this.Adapter.InsertCommand.Parameters[14].Value = ((System.DateTime)(wdate));
- if ((item.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[15].Value = ((int)(item.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
- }
- 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)) {
- this.Adapter.InsertCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.InsertCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(
- string gcode,
- string pdate,
- string invtype,
- string uid,
- string serial,
- global::System.Nullable dr_qty,
- global::System.Nullable dr_amt,
- global::System.Nullable cr_qty,
- global::System.Nullable cr_amt,
- string place,
- string memo,
- global::System.Nullable project,
- string projectName,
- string wuid,
- System.DateTime wdate,
- global::System.Nullable item,
- int Original_idx,
- string Original_gcode,
- string Original_pdate,
- string Original_invtype,
- string Original_uid,
- string Original_serial,
- global::System.Nullable Original_dr_qty,
- global::System.Nullable Original_dr_amt,
- global::System.Nullable Original_cr_qty,
- global::System.Nullable Original_cr_amt,
- string Original_place,
- string Original_memo,
- global::System.Nullable Original_project,
- string Original_projectName,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_item,
- int idx) {
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(pdate));
- }
- if ((invtype == null)) {
- this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(invtype));
- }
- if ((uid == null)) {
- this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(uid));
- }
- if ((serial == null)) {
- this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(serial));
- }
- if ((dr_qty.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(dr_qty.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- if ((dr_amt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(dr_amt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- if ((cr_qty.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(cr_qty.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- if ((cr_amt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(cr_amt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
- }
- if ((place == null)) {
- this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(place));
- }
- if ((memo == null)) {
- this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(memo));
- }
- if ((project.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(project.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
- }
- if ((projectName == null)) {
- this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(projectName));
- }
- if ((wuid == null)) {
- throw new global::System.ArgumentNullException("wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(wuid));
- }
- this.Adapter.UpdateCommand.Parameters[14].Value = ((System.DateTime)(wdate));
- if ((item.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(item.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
- }
- this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idx));
- if ((Original_gcode == null)) {
- throw new global::System.ArgumentNullException("Original_gcode");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_gcode));
- }
- if ((Original_pdate == null)) {
- 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_pdate));
- }
- if ((Original_invtype == 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_invtype));
- }
- if ((Original_uid == 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_uid));
- }
- if ((Original_serial == 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_serial));
- }
- if ((Original_dr_qty.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_dr_qty.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
- }
- if ((Original_dr_amt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[29].Value = ((decimal)(Original_dr_amt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
- }
- if ((Original_cr_qty.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_cr_qty.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
- }
- if ((Original_cr_amt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[33].Value = ((decimal)(Original_cr_amt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
- }
- if ((Original_place == null)) {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_place));
- }
- if ((Original_memo == null)) {
- this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_memo));
- }
- if ((Original_project.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(Original_project.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
- }
- if ((Original_projectName == null)) {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_projectName));
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_wuid));
- }
- this.Adapter.UpdateCommand.Parameters[43].Value = ((System.DateTime)(Original_wdate));
- if ((Original_item.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[45].Value = ((int)(Original_item.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
- }
- this.Adapter.UpdateCommand.Parameters[46].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)) {
- this.Adapter.UpdateCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.UpdateCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(
- string gcode,
- string pdate,
- string invtype,
- string uid,
- string serial,
- global::System.Nullable dr_qty,
- global::System.Nullable dr_amt,
- global::System.Nullable cr_qty,
- global::System.Nullable cr_amt,
- string place,
- string memo,
- global::System.Nullable project,
- string projectName,
- string wuid,
- System.DateTime wdate,
- global::System.Nullable item,
- int Original_idx,
- string Original_gcode,
- string Original_pdate,
- string Original_invtype,
- string Original_uid,
- string Original_serial,
- global::System.Nullable Original_dr_qty,
- global::System.Nullable Original_dr_amt,
- global::System.Nullable Original_cr_qty,
- global::System.Nullable Original_cr_amt,
- string Original_place,
- string Original_memo,
- global::System.Nullable Original_project,
- string Original_projectName,
- string Original_wuid,
- System.DateTime Original_wdate,
- global::System.Nullable Original_item) {
- return this.Update(gcode, pdate, invtype, uid, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid, wdate, item, Original_idx, Original_gcode, Original_pdate, Original_invtype, Original_uid, Original_serial, Original_dr_qty, Original_dr_amt, Original_cr_qty, Original_cr_amt, Original_place, Original_memo, Original_project, Original_projectName, Original_wuid, Original_wdate, Original_item, Original_idx);
- }
- }
-
- ///
- ///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 vInventoryTableAdapter : 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", "4.0.0.0")]
- public vInventoryTableAdapter() {
- this.ClearBeforeFill = true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.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", "4.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 = "vInventory";
- tableMapping.ColumnMappings.Add("idx", "idx");
- tableMapping.ColumnMappings.Add("gcode", "gcode");
- tableMapping.ColumnMappings.Add("pdate", "pdate");
- tableMapping.ColumnMappings.Add("invtype", "invtype");
- tableMapping.ColumnMappings.Add("uid", "uid");
- tableMapping.ColumnMappings.Add("userName", "userName");
- tableMapping.ColumnMappings.Add("item", "item");
- tableMapping.ColumnMappings.Add("serial", "serial");
- tableMapping.ColumnMappings.Add("dr_qty", "dr_qty");
- tableMapping.ColumnMappings.Add("dr_amt", "dr_amt");
- tableMapping.ColumnMappings.Add("cr_qty", "cr_qty");
- tableMapping.ColumnMappings.Add("cr_amt", "cr_amt");
- tableMapping.ColumnMappings.Add("place", "place");
- tableMapping.ColumnMappings.Add("memo", "memo");
- tableMapping.ColumnMappings.Add("itemName", "itemName");
- tableMapping.ColumnMappings.Add("itemModel", "itemModel");
- tableMapping.ColumnMappings.Add("project", "project");
- tableMapping.ColumnMappings.Add("projectName", "projectName");
- tableMapping.ColumnMappings.Add("wuid", "wuid");
- tableMapping.ColumnMappings.Add("wdate", "wdate");
- tableMapping.ColumnMappings.Add("sid", "sid");
- 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 Inventory\r\nWHERE (idx = @idx)";
- this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.DeleteCommand.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.Original, false, null, "", "", ""));
- this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
- this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO Inventory
- (gcode, pdate, invtype, uid, serial, dr_qty, dr_amt, cr_qty, cr_amt, place, memo, project, projectName, wuid, wdate, item)
-VALUES (@gcode,@pdate,@invtype,@uid,@serial,@dr_qty,@dr_amt,@cr_qty,@cr_amt,@place,@memo,@project,@projectName,@wuid,@wdate,@item)";
- this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, 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("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invtype", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_amt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_amt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 4, 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("@projectName", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "item", 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 Inventory
-SET gcode = @gcode, pdate = @pdate, invtype = @invtype, uid = @uid, serial = @serial, dr_qty = @dr_qty, dr_amt = @dr_amt, cr_qty = @cr_qty, cr_amt = @cr_amt, place = @place,
- memo = @memo, project = @project, projectName = @projectName, wuid = @wuid, wdate = @wdate, item = @item
-WHERE (idx = @Original_idx)";
- this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, 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("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invtype", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_amt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_amt", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 4, 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("@projectName", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "item", 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, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private void InitConnection() {
- this._connection = new global::System.Data.SqlClient.SqlConnection();
- this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 A.idx, A.gcode, A.pdate, A.invtype, A.uid, dbo.getUserName(A.uid) AS userName, A.item, A.serial, A.dr_qty, A.dr_amt, A.cr_qty, A.cr_amt, A.place, A.memo, B.name AS itemName,
- B.model AS itemModel, A.project, A.projectName, A.wuid, A.wdate, B.sid
-FROM Inventory AS A LEFT OUTER JOIN
- Items AS B ON A.item = B.idx
-WHERE (A.gcode = @gcode) AND (A.pdate BETWEEN @sd AND @ed) AND (A.invtype LIKE @invtype) AND (ISNULL(A.uid, N'') LIKE @uid) AND (ISNULL(A.place, N'') LIKE @place)
-ORDER BY A.pdate DESC";
- this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invtype", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DSInventory.vInventoryDataTable dataTable, string gcode, string sd, string ed, string invtype, string uid, string place) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
- }
- if ((invtype == null)) {
- this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(invtype));
- }
- if ((uid == null)) {
- throw new global::System.ArgumentNullException("uid");
- }
- else {
- this.Adapter.SelectCommand.Parameters[4].Value = ((string)(uid));
- }
- if ((place == null)) {
- throw new global::System.ArgumentNullException("place");
- }
- else {
- this.Adapter.SelectCommand.Parameters[5].Value = ((string)(place));
- }
- 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", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual DSInventory.vInventoryDataTable GetData(string gcode, string sd, string ed, string invtype, string uid, string place) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
- }
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(ed));
- }
- if ((invtype == null)) {
- this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(invtype));
- }
- if ((uid == null)) {
- throw new global::System.ArgumentNullException("uid");
- }
- else {
- this.Adapter.SelectCommand.Parameters[4].Value = ((string)(uid));
- }
- if ((place == null)) {
- throw new global::System.ArgumentNullException("place");
- }
- else {
- this.Adapter.SelectCommand.Parameters[5].Value = ((string)(place));
- }
- DSInventory.vInventoryDataTable dataTable = new DSInventory.vInventoryDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DSInventory.vInventoryDataTable dataTable) {
- return this.Adapter.Update(dataTable);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(DSInventory dataSet) {
- return this.Adapter.Update(dataSet, "vInventory");
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(global::System.Data.DataRow dataRow) {
- return this.Adapter.Update(new global::System.Data.DataRow[] {
- dataRow});
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(global::System.Data.DataRow[] dataRows) {
- return this.Adapter.Update(dataRows);
- }
- }
-
- ///
- ///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 InventoryTableAdapter _inventoryTableAdapter;
-
- private vInventoryTableAdapter _vInventoryTableAdapter;
-
- private bool _backupDataSetBeforeUpdate;
-
- private global::System.Data.IDbConnection _connection;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
- [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
- "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
- "a", "System.Drawing.Design.UITypeEditor")]
- public InventoryTableAdapter InventoryTableAdapter {
- get {
- return this._inventoryTableAdapter;
- }
- set {
- this._inventoryTableAdapter = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
- "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
- "a", "System.Drawing.Design.UITypeEditor")]
- public vInventoryTableAdapter vInventoryTableAdapter {
- get {
- return this._vInventoryTableAdapter;
- }
- set {
- this._vInventoryTableAdapter = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public global::System.Data.IDbConnection Connection {
- get {
- if ((this._connection != null)) {
- return this._connection;
- }
- if (((this._inventoryTableAdapter != null)
- && (this._inventoryTableAdapter.Connection != null))) {
- return this._inventoryTableAdapter.Connection;
- }
- if (((this._vInventoryTableAdapter != null)
- && (this._vInventoryTableAdapter.Connection != null))) {
- return this._vInventoryTableAdapter.Connection;
- }
- return null;
- }
- set {
- this._connection = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public int TableAdapterInstanceCount {
- get {
- int count = 0;
- if ((this._inventoryTableAdapter != null)) {
- count = (count + 1);
- }
- if ((this._vInventoryTableAdapter != null)) {
- count = (count + 1);
- }
- return count;
- }
- }
-
- ///
- ///Update rows in top-down order.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private int UpdateUpdatedRows(DSInventory dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
- int result = 0;
- if ((this._inventoryTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.Inventory.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._inventoryTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- if ((this._vInventoryTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.vInventory.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._vInventoryTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
- return result;
- }
-
- ///
- ///Insert rows in top-down order.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private int UpdateInsertedRows(DSInventory dataSet, global::System.Collections.Generic.List allAddedRows) {
- int result = 0;
- if ((this._inventoryTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.Inventory.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._inventoryTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- if ((this._vInventoryTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.vInventory.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._vInventoryTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
- return result;
- }
-
- ///
- ///Delete rows in bottom-up order.
- ///
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
- private int UpdateDeletedRows(DSInventory dataSet, global::System.Collections.Generic.List allChangedRows) {
- int result = 0;
- if ((this._vInventoryTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.vInventory.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._vInventoryTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- if ((this._inventoryTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.Inventory.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._inventoryTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
- 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", "4.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", "4.0.0.0")]
- public virtual int UpdateAll(DSInventory dataSet) {
- if ((dataSet == null)) {
- throw new global::System.ArgumentNullException("dataSet");
- }
- if ((dataSet.HasChanges() == false)) {
- return 0;
- }
- if (((this._inventoryTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._inventoryTableAdapter.Connection) == false))) {
- throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
- }
- if (((this._vInventoryTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._vInventoryTableAdapter.Connection) == false))) {
- throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
- }
- 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