using System; using System.CodeDom.Compiler; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Diagnostics; using System.IO; using System.Runtime.Serialization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet { [Serializable] [HelpKeyword("vs.data.DataSet")] [DesignerCategory("code")] [ToolboxItem(true)] [XmlRoot("dsFrmLocation")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedDataSetSchema")] public class dsFrmLocation : DataSet { public delegate void LocationRowChangeEventHandler(object sender, LocationRowChangeEvent e); public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e); [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class LocationDataTable : DataTable, IEnumerable { private DataColumn columnNo_Location; private DataColumn columnName_Location; private DataColumn columnLevel_Location; private DataColumn columnLowestLevel_Location; private DataColumn columnCreateDate_Location; private DataColumn columnComment_Location; private DataColumn columnSuspendDate_Location; private DataColumn columnLastModDate_Location; private DataColumn columnSubDepot; private DataColumn columnLastModUser_LocationName; private DataColumn columnNo_SubLocation; private DataColumn columnCreateName; [DebuggerNonUserCode] public DataColumn No_LocationColumn => columnNo_Location; [DebuggerNonUserCode] public DataColumn Name_LocationColumn => columnName_Location; [DebuggerNonUserCode] public DataColumn Level_LocationColumn => columnLevel_Location; [DebuggerNonUserCode] public DataColumn LowestLevel_LocationColumn => columnLowestLevel_Location; [DebuggerNonUserCode] public DataColumn CreateDate_LocationColumn => columnCreateDate_Location; [DebuggerNonUserCode] public DataColumn Comment_LocationColumn => columnComment_Location; [DebuggerNonUserCode] public DataColumn SuspendDate_LocationColumn => columnSuspendDate_Location; [DebuggerNonUserCode] public DataColumn LastModDate_LocationColumn => columnLastModDate_Location; [DebuggerNonUserCode] public DataColumn SubDepotColumn => columnSubDepot; [DebuggerNonUserCode] public DataColumn LastModUser_LocationNameColumn => columnLastModUser_LocationName; [DebuggerNonUserCode] public DataColumn No_SubLocationColumn => columnNo_SubLocation; [DebuggerNonUserCode] public DataColumn CreateNameColumn => columnCreateName; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public LocationRow this[int index] => (LocationRow)base.Rows[index]; public event LocationRowChangeEventHandler LocationRowChanging; public event LocationRowChangeEventHandler LocationRowChanged; public event LocationRowChangeEventHandler LocationRowDeleting; public event LocationRowChangeEventHandler LocationRowDeleted; [DebuggerNonUserCode] public LocationDataTable() { base.TableName = "Location"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal LocationDataTable(DataTable table) { base.TableName = table.TableName; if (table.CaseSensitive != table.DataSet.CaseSensitive) { base.CaseSensitive = table.CaseSensitive; } if (table.Locale.ToString() != table.DataSet.Locale.ToString()) { base.Locale = table.Locale; } if (table.Namespace != table.DataSet.Namespace) { base.Namespace = table.Namespace; } base.Prefix = table.Prefix; base.MinimumCapacity = table.MinimumCapacity; } [DebuggerNonUserCode] protected LocationDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddLocationRow(LocationRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public LocationRow AddLocationRow(string No_Location, string Name_Location, int Level_Location, bool LowestLevel_Location, DateTime CreateDate_Location, string Comment_Location, DateTime SuspendDate_Location, DateTime LastModDate_Location, string SubDepot, string LastModUser_LocationName, string No_SubLocation, string CreateName) { LocationRow locationRow = (LocationRow)NewRow(); locationRow.ItemArray = new object[12] { No_Location, Name_Location, Level_Location, LowestLevel_Location, CreateDate_Location, Comment_Location, SuspendDate_Location, LastModDate_Location, SubDepot, LastModUser_LocationName, No_SubLocation, CreateName }; base.Rows.Add(locationRow); return locationRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { LocationDataTable locationDataTable = (LocationDataTable)base.Clone(); locationDataTable.InitVars(); return locationDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new LocationDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_Location = base.Columns["No_Location"]; columnName_Location = base.Columns["Name_Location"]; columnLevel_Location = base.Columns["Level_Location"]; columnLowestLevel_Location = base.Columns["LowestLevel_Location"]; columnCreateDate_Location = base.Columns["CreateDate_Location"]; columnComment_Location = base.Columns["Comment_Location"]; columnSuspendDate_Location = base.Columns["SuspendDate_Location"]; columnLastModDate_Location = base.Columns["LastModDate_Location"]; columnSubDepot = base.Columns["SubDepot"]; columnLastModUser_LocationName = base.Columns["LastModUser_LocationName"]; columnNo_SubLocation = base.Columns["No_SubLocation"]; columnCreateName = base.Columns["CreateName"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_Location = new DataColumn("No_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Location); columnName_Location = new DataColumn("Name_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Location); columnLevel_Location = new DataColumn("Level_Location", typeof(int), null, MappingType.Element); base.Columns.Add(columnLevel_Location); columnLowestLevel_Location = new DataColumn("LowestLevel_Location", typeof(bool), null, MappingType.Element); base.Columns.Add(columnLowestLevel_Location); columnCreateDate_Location = new DataColumn("CreateDate_Location", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnCreateDate_Location); columnComment_Location = new DataColumn("Comment_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnComment_Location); columnSuspendDate_Location = new DataColumn("SuspendDate_Location", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnSuspendDate_Location); columnLastModDate_Location = new DataColumn("LastModDate_Location", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnLastModDate_Location); columnSubDepot = new DataColumn("SubDepot", typeof(string), null, MappingType.Element); base.Columns.Add(columnSubDepot); columnLastModUser_LocationName = new DataColumn("LastModUser_LocationName", typeof(string), null, MappingType.Element); base.Columns.Add(columnLastModUser_LocationName); columnNo_SubLocation = new DataColumn("No_SubLocation", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_SubLocation); columnCreateName = new DataColumn("CreateName", typeof(string), null, MappingType.Element); base.Columns.Add(columnCreateName); } [DebuggerNonUserCode] public LocationRow NewLocationRow() { return (LocationRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new LocationRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(LocationRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.LocationRowChanged != null) { this.LocationRowChanged(this, new LocationRowChangeEvent((LocationRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.LocationRowChanging != null) { this.LocationRowChanging(this, new LocationRowChangeEvent((LocationRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.LocationRowDeleted != null) { this.LocationRowDeleted(this, new LocationRowChangeEvent((LocationRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.LocationRowDeleting != null) { this.LocationRowDeleting(this, new LocationRowChangeEvent((LocationRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveLocationRow(LocationRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmLocation dsFrmLocation = new dsFrmLocation(); xs.Add(dsFrmLocation.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema"; xmlSchemaAny.MinOccurs = 0m; xmlSchemaAny.MaxOccurs = decimal.MaxValue; xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny); XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny(); xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; xmlSchemaAny2.MinOccurs = 1m; xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny2); XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute(); xmlSchemaAttribute.Name = "namespace"; xmlSchemaAttribute.FixedValue = dsFrmLocation.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "LocationDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class AppendInfoDataTable : DataTable, IEnumerable { private DataColumn columnCurrentCompany; private DataColumn columnCurrentUser; [DebuggerNonUserCode] public DataColumn CurrentCompanyColumn => columnCurrentCompany; [DebuggerNonUserCode] public DataColumn CurrentUserColumn => columnCurrentUser; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index]; public event AppendInfoRowChangeEventHandler AppendInfoRowChanging; public event AppendInfoRowChangeEventHandler AppendInfoRowChanged; public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting; public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted; [DebuggerNonUserCode] public AppendInfoDataTable() { base.TableName = "AppendInfo"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal AppendInfoDataTable(DataTable table) { base.TableName = table.TableName; if (table.CaseSensitive != table.DataSet.CaseSensitive) { base.CaseSensitive = table.CaseSensitive; } if (table.Locale.ToString() != table.DataSet.Locale.ToString()) { base.Locale = table.Locale; } if (table.Namespace != table.DataSet.Namespace) { base.Namespace = table.Namespace; } base.Prefix = table.Prefix; base.MinimumCapacity = table.MinimumCapacity; } [DebuggerNonUserCode] protected AppendInfoDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddAppendInfoRow(AppendInfoRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser) { AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow(); appendInfoRow.ItemArray = new object[2] { CurrentCompany, CurrentUser }; base.Rows.Add(appendInfoRow); return appendInfoRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone(); appendInfoDataTable.InitVars(); return appendInfoDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new AppendInfoDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnCurrentCompany = base.Columns["CurrentCompany"]; columnCurrentUser = base.Columns["CurrentUser"]; } [DebuggerNonUserCode] private void InitClass() { columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrentCompany); columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrentUser); } [DebuggerNonUserCode] public AppendInfoRow NewAppendInfoRow() { return (AppendInfoRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new AppendInfoRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(AppendInfoRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.AppendInfoRowChanged != null) { this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.AppendInfoRowChanging != null) { this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.AppendInfoRowDeleted != null) { this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.AppendInfoRowDeleting != null) { this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveAppendInfoRow(AppendInfoRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmLocation dsFrmLocation = new dsFrmLocation(); xs.Add(dsFrmLocation.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema"; xmlSchemaAny.MinOccurs = 0m; xmlSchemaAny.MaxOccurs = decimal.MaxValue; xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny); XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny(); xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; xmlSchemaAny2.MinOccurs = 1m; xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny2); XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute(); xmlSchemaAttribute.Name = "namespace"; xmlSchemaAttribute.FixedValue = dsFrmLocation.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class LocationRow : DataRow { private LocationDataTable tableLocation; [DebuggerNonUserCode] public string No_Location { get { try { return (string)base[tableLocation.No_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Location' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.No_LocationColumn] = value; } } [DebuggerNonUserCode] public string Name_Location { get { try { return (string)base[tableLocation.Name_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Location' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.Name_LocationColumn] = value; } } [DebuggerNonUserCode] public int Level_Location { get { try { return (int)base[tableLocation.Level_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Level_Location' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.Level_LocationColumn] = value; } } [DebuggerNonUserCode] public bool LowestLevel_Location { get { try { return (bool)base[tableLocation.LowestLevel_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LowestLevel_Location' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.LowestLevel_LocationColumn] = value; } } [DebuggerNonUserCode] public DateTime CreateDate_Location { get { try { return (DateTime)base[tableLocation.CreateDate_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CreateDate_Location' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.CreateDate_LocationColumn] = value; } } [DebuggerNonUserCode] public string Comment_Location { get { try { return (string)base[tableLocation.Comment_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Comment_Location' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.Comment_LocationColumn] = value; } } [DebuggerNonUserCode] public DateTime SuspendDate_Location { get { try { return (DateTime)base[tableLocation.SuspendDate_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'SuspendDate_Location' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.SuspendDate_LocationColumn] = value; } } [DebuggerNonUserCode] public DateTime LastModDate_Location { get { try { return (DateTime)base[tableLocation.LastModDate_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LastModDate_Location' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.LastModDate_LocationColumn] = value; } } [DebuggerNonUserCode] public string SubDepot { get { try { return (string)base[tableLocation.SubDepotColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'SubDepot' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.SubDepotColumn] = value; } } [DebuggerNonUserCode] public string LastModUser_LocationName { get { try { return (string)base[tableLocation.LastModUser_LocationNameColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LastModUser_LocationName' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.LastModUser_LocationNameColumn] = value; } } [DebuggerNonUserCode] public string No_SubLocation { get { try { return (string)base[tableLocation.No_SubLocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_SubLocation' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.No_SubLocationColumn] = value; } } [DebuggerNonUserCode] public string CreateName { get { try { return (string)base[tableLocation.CreateNameColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CreateName' in table 'Location' is DBNull.", innerException); } } set { base[tableLocation.CreateNameColumn] = value; } } [DebuggerNonUserCode] internal LocationRow(DataRowBuilder rb) : base(rb) { tableLocation = (LocationDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_LocationNull() { return IsNull(tableLocation.No_LocationColumn); } [DebuggerNonUserCode] public void SetNo_LocationNull() { base[tableLocation.No_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_LocationNull() { return IsNull(tableLocation.Name_LocationColumn); } [DebuggerNonUserCode] public void SetName_LocationNull() { base[tableLocation.Name_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLevel_LocationNull() { return IsNull(tableLocation.Level_LocationColumn); } [DebuggerNonUserCode] public void SetLevel_LocationNull() { base[tableLocation.Level_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLowestLevel_LocationNull() { return IsNull(tableLocation.LowestLevel_LocationColumn); } [DebuggerNonUserCode] public void SetLowestLevel_LocationNull() { base[tableLocation.LowestLevel_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCreateDate_LocationNull() { return IsNull(tableLocation.CreateDate_LocationColumn); } [DebuggerNonUserCode] public void SetCreateDate_LocationNull() { base[tableLocation.CreateDate_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsComment_LocationNull() { return IsNull(tableLocation.Comment_LocationColumn); } [DebuggerNonUserCode] public void SetComment_LocationNull() { base[tableLocation.Comment_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsSuspendDate_LocationNull() { return IsNull(tableLocation.SuspendDate_LocationColumn); } [DebuggerNonUserCode] public void SetSuspendDate_LocationNull() { base[tableLocation.SuspendDate_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLastModDate_LocationNull() { return IsNull(tableLocation.LastModDate_LocationColumn); } [DebuggerNonUserCode] public void SetLastModDate_LocationNull() { base[tableLocation.LastModDate_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsSubDepotNull() { return IsNull(tableLocation.SubDepotColumn); } [DebuggerNonUserCode] public void SetSubDepotNull() { base[tableLocation.SubDepotColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLastModUser_LocationNameNull() { return IsNull(tableLocation.LastModUser_LocationNameColumn); } [DebuggerNonUserCode] public void SetLastModUser_LocationNameNull() { base[tableLocation.LastModUser_LocationNameColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_SubLocationNull() { return IsNull(tableLocation.No_SubLocationColumn); } [DebuggerNonUserCode] public void SetNo_SubLocationNull() { base[tableLocation.No_SubLocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCreateNameNull() { return IsNull(tableLocation.CreateNameColumn); } [DebuggerNonUserCode] public void SetCreateNameNull() { base[tableLocation.CreateNameColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class AppendInfoRow : DataRow { private AppendInfoDataTable tableAppendInfo; [DebuggerNonUserCode] public string CurrentCompany { get { try { return (string)base[tableAppendInfo.CurrentCompanyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException); } } set { base[tableAppendInfo.CurrentCompanyColumn] = value; } } [DebuggerNonUserCode] public string CurrentUser { get { try { return (string)base[tableAppendInfo.CurrentUserColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException); } } set { base[tableAppendInfo.CurrentUserColumn] = value; } } [DebuggerNonUserCode] internal AppendInfoRow(DataRowBuilder rb) : base(rb) { tableAppendInfo = (AppendInfoDataTable)base.Table; } [DebuggerNonUserCode] public bool IsCurrentCompanyNull() { return IsNull(tableAppendInfo.CurrentCompanyColumn); } [DebuggerNonUserCode] public void SetCurrentCompanyNull() { base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrentUserNull() { return IsNull(tableAppendInfo.CurrentUserColumn); } [DebuggerNonUserCode] public void SetCurrentUserNull() { base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class LocationRowChangeEvent : EventArgs { private LocationRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public LocationRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public LocationRowChangeEvent(LocationRow row, DataRowAction action) { eventRow = row; eventAction = action; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class AppendInfoRowChangeEvent : EventArgs { private AppendInfoRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public AppendInfoRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action) { eventRow = row; eventAction = action; } } private LocationDataTable tableLocation; private AppendInfoDataTable tableAppendInfo; private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema; [Browsable(false)] [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public LocationDataTable Location => tableLocation; [Browsable(false)] [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public AppendInfoDataTable AppendInfo => tableAppendInfo; [DebuggerNonUserCode] [Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public override SchemaSerializationMode SchemaSerializationMode { get { return _schemaSerializationMode; } set { _schemaSerializationMode = value; } } [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public new DataTableCollection Tables => base.Tables; [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public new DataRelationCollection Relations => base.Relations; [DebuggerNonUserCode] public dsFrmLocation() { BeginInit(); InitClass(); CollectionChangeEventHandler value = SchemaChanged; base.Tables.CollectionChanged += value; base.Relations.CollectionChanged += value; EndInit(); } [DebuggerNonUserCode] protected dsFrmLocation(SerializationInfo info, StreamingContext context) : base(info, context, ConstructSchema: false) { if (IsBinarySerialized(info, context)) { InitVars(initTable: false); CollectionChangeEventHandler value = SchemaChanged; Tables.CollectionChanged += value; Relations.CollectionChanged += value; return; } string s = (string)info.GetValue("XmlSchema", typeof(string)); if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema) { DataSet dataSet = new DataSet(); dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s))); if (dataSet.Tables["Location"] != null) { base.Tables.Add(new LocationDataTable(dataSet.Tables["Location"])); } if (dataSet.Tables["AppendInfo"] != null) { base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"])); } base.DataSetName = dataSet.DataSetName; base.Prefix = dataSet.Prefix; base.Namespace = dataSet.Namespace; base.Locale = dataSet.Locale; base.CaseSensitive = dataSet.CaseSensitive; base.EnforceConstraints = dataSet.EnforceConstraints; Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add); InitVars(); } else { ReadXmlSchema(new XmlTextReader(new StringReader(s))); } GetSerializationData(info, context); CollectionChangeEventHandler value2 = SchemaChanged; base.Tables.CollectionChanged += value2; Relations.CollectionChanged += value2; } [DebuggerNonUserCode] protected override void InitializeDerivedDataSet() { BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] public override DataSet Clone() { dsFrmLocation dsFrmLocation = (dsFrmLocation)base.Clone(); dsFrmLocation.InitVars(); dsFrmLocation.SchemaSerializationMode = SchemaSerializationMode; return dsFrmLocation; } [DebuggerNonUserCode] protected override bool ShouldSerializeTables() { return false; } [DebuggerNonUserCode] protected override bool ShouldSerializeRelations() { return false; } [DebuggerNonUserCode] protected override void ReadXmlSerializable(XmlReader reader) { if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema) { Reset(); DataSet dataSet = new DataSet(); dataSet.ReadXml(reader); if (dataSet.Tables["Location"] != null) { base.Tables.Add(new LocationDataTable(dataSet.Tables["Location"])); } if (dataSet.Tables["AppendInfo"] != null) { base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"])); } base.DataSetName = dataSet.DataSetName; base.Prefix = dataSet.Prefix; base.Namespace = dataSet.Namespace; base.Locale = dataSet.Locale; base.CaseSensitive = dataSet.CaseSensitive; base.EnforceConstraints = dataSet.EnforceConstraints; Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add); InitVars(); } else { ReadXml(reader); InitVars(); } } [DebuggerNonUserCode] protected override XmlSchema GetSchemaSerializable() { MemoryStream memoryStream = new MemoryStream(); WriteXmlSchema(new XmlTextWriter(memoryStream, null)); memoryStream.Position = 0L; return XmlSchema.Read(new XmlTextReader(memoryStream), null); } [DebuggerNonUserCode] internal void InitVars() { InitVars(initTable: true); } [DebuggerNonUserCode] internal void InitVars(bool initTable) { tableLocation = (LocationDataTable)base.Tables["Location"]; if (initTable && tableLocation != null) { tableLocation.InitVars(); } tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"]; if (initTable && tableAppendInfo != null) { tableAppendInfo.InitVars(); } } [DebuggerNonUserCode] private void InitClass() { base.DataSetName = "dsFrmLocation"; base.Prefix = ""; base.Namespace = "http://tempuri.org/dsFrmLocation.xsd"; base.EnforceConstraints = true; SchemaSerializationMode = SchemaSerializationMode.IncludeSchema; tableLocation = new LocationDataTable(); base.Tables.Add(tableLocation); tableAppendInfo = new AppendInfoDataTable(); base.Tables.Add(tableAppendInfo); } [DebuggerNonUserCode] private bool ShouldSerializeLocation() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeAppendInfo() { return false; } [DebuggerNonUserCode] private void SchemaChanged(object sender, CollectionChangeEventArgs e) { if (e.Action == CollectionChangeAction.Remove) { InitVars(); } } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs) { dsFrmLocation dsFrmLocation = new dsFrmLocation(); XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); xs.Add(dsFrmLocation.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = dsFrmLocation.Namespace; xmlSchemaSequence.Items.Add(xmlSchemaAny); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } }