www.pudn.com > HttpProxy.rar > LogDataset.cs


//------------------------------------------------------------------------------ 
//  
//     This code was generated by a tool. 
//     Runtime Version: 1.1.4322.573 
// 
//     Changes to this file may cause incorrect behavior and will be lost if  
//     the code is regenerated. 
//  
//------------------------------------------------------------------------------ 
 
namespace HttpProxy.Component { 
    using System; 
    using System.Data; 
    using System.Xml; 
    using System.Runtime.Serialization; 
     
     
    [Serializable()] 
    [System.ComponentModel.DesignerCategoryAttribute("code")] 
    [System.Diagnostics.DebuggerStepThrough()] 
    [System.ComponentModel.ToolboxItem(true)] 
    public class LogDataset : DataSet { 
         
        private ParentDataTable tableParent; 
         
        private ChildDataTable tableChild; 
         
        public LogDataset() { 
            this.InitClass(); 
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); 
            this.Tables.CollectionChanged += schemaChangedHandler; 
            this.Relations.CollectionChanged += schemaChangedHandler; 
        } 
         
        protected LogDataset(SerializationInfo info, StreamingContext context) { 
            string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); 
            if ((strSchema != null)) { 
                DataSet ds = new DataSet(); 
                ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema))); 
                if ((ds.Tables["Parent"] != null)) { 
                    this.Tables.Add(new ParentDataTable(ds.Tables["Parent"])); 
                } 
                if ((ds.Tables["Child"] != null)) { 
                    this.Tables.Add(new ChildDataTable(ds.Tables["Child"])); 
                } 
                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, System.Data.MissingSchemaAction.Add); 
                this.InitVars(); 
            } 
            else { 
                this.InitClass(); 
            } 
            this.GetSerializationData(info, context); 
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); 
            this.Tables.CollectionChanged += schemaChangedHandler; 
            this.Relations.CollectionChanged += schemaChangedHandler; 
        } 
         
        [System.ComponentModel.Browsable(false)] 
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] 
        public ParentDataTable Parent { 
            get { 
                return this.tableParent; 
            } 
        } 
         
        [System.ComponentModel.Browsable(false)] 
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] 
        public ChildDataTable Child { 
            get { 
                return this.tableChild; 
            } 
        } 
         
        public override DataSet Clone() { 
            LogDataset cln = ((LogDataset)(base.Clone())); 
            cln.InitVars(); 
            return cln; 
        } 
         
        protected override bool ShouldSerializeTables() { 
            return false; 
        } 
         
        protected override bool ShouldSerializeRelations() { 
            return false; 
        } 
         
        protected override void ReadXmlSerializable(XmlReader reader) { 
            this.Reset(); 
            DataSet ds = new DataSet(); 
            ds.ReadXml(reader); 
            if ((ds.Tables["Parent"] != null)) { 
                this.Tables.Add(new ParentDataTable(ds.Tables["Parent"])); 
            } 
            if ((ds.Tables["Child"] != null)) { 
                this.Tables.Add(new ChildDataTable(ds.Tables["Child"])); 
            } 
            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, System.Data.MissingSchemaAction.Add); 
            this.InitVars(); 
        } 
         
        protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() { 
            System.IO.MemoryStream stream = new System.IO.MemoryStream(); 
            this.WriteXmlSchema(new XmlTextWriter(stream, null)); 
            stream.Position = 0; 
            return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null); 
        } 
         
        internal void InitVars() { 
            this.tableParent = ((ParentDataTable)(this.Tables["Parent"])); 
            if ((this.tableParent != null)) { 
                this.tableParent.InitVars(); 
            } 
            this.tableChild = ((ChildDataTable)(this.Tables["Child"])); 
            if ((this.tableChild != null)) { 
                this.tableChild.InitVars(); 
            } 
        } 
         
        private void InitClass() { 
            this.DataSetName = "LogDataset"; 
            this.Prefix = ""; 
            this.Namespace = "http://tempuri.org/LogDataset.xsd"; 
            this.Locale = new System.Globalization.CultureInfo("en-US"); 
            this.CaseSensitive = false; 
            this.EnforceConstraints = true; 
            this.tableParent = new ParentDataTable(); 
            this.Tables.Add(this.tableParent); 
            this.tableChild = new ChildDataTable(); 
            this.Tables.Add(this.tableChild); 
        } 
         
        private bool ShouldSerializeParent() { 
            return false; 
        } 
         
        private bool ShouldSerializeChild() { 
            return false; 
        } 
         
        private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) { 
            if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) { 
                this.InitVars(); 
            } 
        } 
         
        public delegate void ParentRowChangeEventHandler(object sender, ParentRowChangeEvent e); 
         
        public delegate void ChildRowChangeEventHandler(object sender, ChildRowChangeEvent e); 
         
        [System.Diagnostics.DebuggerStepThrough()] 
        public class ParentDataTable : DataTable, System.Collections.IEnumerable { 
             
            private DataColumn columnThreadID; 
             
            private DataColumn columnClient; 
             
            private DataColumn columnRemoteServer; 
             
            private DataColumn columnStartTime; 
             
            internal ParentDataTable() :  
                    base("Parent") { 
                this.InitClass(); 
            } 
             
            internal ParentDataTable(DataTable table) :  
                    base(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; 
                this.DisplayExpression = table.DisplayExpression; 
            } 
             
            [System.ComponentModel.Browsable(false)] 
            public int Count { 
                get { 
                    return this.Rows.Count; 
                } 
            } 
             
            internal DataColumn ThreadIDColumn { 
                get { 
                    return this.columnThreadID; 
                } 
            } 
             
            internal DataColumn ClientColumn { 
                get { 
                    return this.columnClient; 
                } 
            } 
             
            internal DataColumn RemoteServerColumn { 
                get { 
                    return this.columnRemoteServer; 
                } 
            } 
             
            internal DataColumn StartTimeColumn { 
                get { 
                    return this.columnStartTime; 
                } 
            } 
             
            public ParentRow this[int index] { 
                get { 
                    return ((ParentRow)(this.Rows[index])); 
                } 
            } 
             
            public event ParentRowChangeEventHandler ParentRowChanged; 
             
            public event ParentRowChangeEventHandler ParentRowChanging; 
             
            public event ParentRowChangeEventHandler ParentRowDeleted; 
             
            public event ParentRowChangeEventHandler ParentRowDeleting; 
             
            public void AddParentRow(ParentRow row) { 
                this.Rows.Add(row); 
            } 
             
            public ParentRow AddParentRow(string Client, string RemoteServer, System.DateTime StartTime) { 
                ParentRow rowParentRow = ((ParentRow)(this.NewRow())); 
                rowParentRow.ItemArray = new object[] { 
                        null, 
                        Client, 
                        RemoteServer, 
                        StartTime}; 
                this.Rows.Add(rowParentRow); 
                return rowParentRow; 
            } 
             
            public System.Collections.IEnumerator GetEnumerator() { 
                return this.Rows.GetEnumerator(); 
            } 
             
            public override DataTable Clone() { 
                ParentDataTable cln = ((ParentDataTable)(base.Clone())); 
                cln.InitVars(); 
                return cln; 
            } 
             
            protected override DataTable CreateInstance() { 
                return new ParentDataTable(); 
            } 
             
            internal void InitVars() { 
                this.columnThreadID = this.Columns["ThreadID"]; 
                this.columnClient = this.Columns["Client"]; 
                this.columnRemoteServer = this.Columns["RemoteServer"]; 
                this.columnStartTime = this.Columns["StartTime"]; 
            } 
             
            private void InitClass() { 
                this.columnThreadID = new DataColumn("ThreadID", typeof(int), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnThreadID); 
                this.columnClient = new DataColumn("Client", typeof(string), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnClient); 
                this.columnRemoteServer = new DataColumn("RemoteServer", typeof(string), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnRemoteServer); 
                this.columnStartTime = new DataColumn("StartTime", typeof(System.DateTime), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnStartTime); 
                this.columnThreadID.AutoIncrement = true; 
                this.columnThreadID.AutoIncrementSeed = 1; 
                this.columnThreadID.Namespace = "http://tempuri.org/LogDataset.xsd"; 
                this.columnClient.Namespace = "http://tempuri.org/LogDataset.xsd"; 
                this.columnRemoteServer.Namespace = "http://tempuri.org/LogDataset.xsd"; 
                this.columnStartTime.Namespace = "http://tempuri.org/LogDataset.xsd"; 
            } 
             
            public ParentRow NewParentRow() { 
                return ((ParentRow)(this.NewRow())); 
            } 
             
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { 
                return new ParentRow(builder); 
            } 
             
            protected override System.Type GetRowType() { 
                return typeof(ParentRow); 
            } 
             
            protected override void OnRowChanged(DataRowChangeEventArgs e) { 
                base.OnRowChanged(e); 
                if ((this.ParentRowChanged != null)) { 
                    this.ParentRowChanged(this, new ParentRowChangeEvent(((ParentRow)(e.Row)), e.Action)); 
                } 
            } 
             
            protected override void OnRowChanging(DataRowChangeEventArgs e) { 
                base.OnRowChanging(e); 
                if ((this.ParentRowChanging != null)) { 
                    this.ParentRowChanging(this, new ParentRowChangeEvent(((ParentRow)(e.Row)), e.Action)); 
                } 
            } 
             
            protected override void OnRowDeleted(DataRowChangeEventArgs e) { 
                base.OnRowDeleted(e); 
                if ((this.ParentRowDeleted != null)) { 
                    this.ParentRowDeleted(this, new ParentRowChangeEvent(((ParentRow)(e.Row)), e.Action)); 
                } 
            } 
             
            protected override void OnRowDeleting(DataRowChangeEventArgs e) { 
                base.OnRowDeleting(e); 
                if ((this.ParentRowDeleting != null)) { 
                    this.ParentRowDeleting(this, new ParentRowChangeEvent(((ParentRow)(e.Row)), e.Action)); 
                } 
            } 
             
            public void RemoveParentRow(ParentRow row) { 
                this.Rows.Remove(row); 
            } 
        } 
         
        [System.Diagnostics.DebuggerStepThrough()] 
        public class ParentRow : DataRow { 
             
            private ParentDataTable tableParent; 
             
            internal ParentRow(DataRowBuilder rb) :  
                    base(rb) { 
                this.tableParent = ((ParentDataTable)(this.Table)); 
            } 
             
            public int ThreadID { 
                get { 
                    try { 
                        return ((int)(this[this.tableParent.ThreadIDColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableParent.ThreadIDColumn] = value; 
                } 
            } 
             
            public string Client { 
                get { 
                    try { 
                        return ((string)(this[this.tableParent.ClientColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableParent.ClientColumn] = value; 
                } 
            } 
             
            public string RemoteServer { 
                get { 
                    try { 
                        return ((string)(this[this.tableParent.RemoteServerColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableParent.RemoteServerColumn] = value; 
                } 
            } 
             
            public System.DateTime StartTime { 
                get { 
                    try { 
                        return ((System.DateTime)(this[this.tableParent.StartTimeColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableParent.StartTimeColumn] = value; 
                } 
            } 
             
            public bool IsThreadIDNull() { 
                return this.IsNull(this.tableParent.ThreadIDColumn); 
            } 
             
            public void SetThreadIDNull() { 
                this[this.tableParent.ThreadIDColumn] = System.Convert.DBNull; 
            } 
             
            public bool IsClientNull() { 
                return this.IsNull(this.tableParent.ClientColumn); 
            } 
             
            public void SetClientNull() { 
                this[this.tableParent.ClientColumn] = System.Convert.DBNull; 
            } 
             
            public bool IsRemoteServerNull() { 
                return this.IsNull(this.tableParent.RemoteServerColumn); 
            } 
             
            public void SetRemoteServerNull() { 
                this[this.tableParent.RemoteServerColumn] = System.Convert.DBNull; 
            } 
             
            public bool IsStartTimeNull() { 
                return this.IsNull(this.tableParent.StartTimeColumn); 
            } 
             
            public void SetStartTimeNull() { 
                this[this.tableParent.StartTimeColumn] = System.Convert.DBNull; 
            } 
        } 
         
        [System.Diagnostics.DebuggerStepThrough()] 
        public class ParentRowChangeEvent : EventArgs { 
             
            private ParentRow eventRow; 
             
            private DataRowAction eventAction; 
             
            public ParentRowChangeEvent(ParentRow row, DataRowAction action) { 
                this.eventRow = row; 
                this.eventAction = action; 
            } 
             
            public ParentRow Row { 
                get { 
                    return this.eventRow; 
                } 
            } 
             
            public DataRowAction Action { 
                get { 
                    return this.eventAction; 
                } 
            } 
        } 
         
        [System.Diagnostics.DebuggerStepThrough()] 
        public class ChildDataTable : DataTable, System.Collections.IEnumerable { 
             
            private DataColumn columnID; 
             
            private DataColumn columnThreadID; 
             
            private DataColumn columnDirection; 
             
            private DataColumn columnData; 
             
            private DataColumn columnTime; 
             
            internal ChildDataTable() :  
                    base("Child") { 
                this.InitClass(); 
            } 
             
            internal ChildDataTable(DataTable table) :  
                    base(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; 
                this.DisplayExpression = table.DisplayExpression; 
            } 
             
            [System.ComponentModel.Browsable(false)] 
            public int Count { 
                get { 
                    return this.Rows.Count; 
                } 
            } 
             
            internal DataColumn IDColumn { 
                get { 
                    return this.columnID; 
                } 
            } 
             
            internal DataColumn ThreadIDColumn { 
                get { 
                    return this.columnThreadID; 
                } 
            } 
             
            internal DataColumn DirectionColumn { 
                get { 
                    return this.columnDirection; 
                } 
            } 
             
            internal DataColumn DataColumn { 
                get { 
                    return this.columnData; 
                } 
            } 
             
            internal DataColumn TimeColumn { 
                get { 
                    return this.columnTime; 
                } 
            } 
             
            public ChildRow this[int index] { 
                get { 
                    return ((ChildRow)(this.Rows[index])); 
                } 
            } 
             
            public event ChildRowChangeEventHandler ChildRowChanged; 
             
            public event ChildRowChangeEventHandler ChildRowChanging; 
             
            public event ChildRowChangeEventHandler ChildRowDeleted; 
             
            public event ChildRowChangeEventHandler ChildRowDeleting; 
             
            public void AddChildRow(ChildRow row) { 
                this.Rows.Add(row); 
            } 
             
            public ChildRow AddChildRow(int ThreadID, string Direction, string Data, System.DateTime Time) { 
                ChildRow rowChildRow = ((ChildRow)(this.NewRow())); 
                rowChildRow.ItemArray = new object[] { 
                        null, 
                        ThreadID, 
                        Direction, 
                        Data, 
                        Time}; 
                this.Rows.Add(rowChildRow); 
                return rowChildRow; 
            } 
             
            public System.Collections.IEnumerator GetEnumerator() { 
                return this.Rows.GetEnumerator(); 
            } 
             
            public override DataTable Clone() { 
                ChildDataTable cln = ((ChildDataTable)(base.Clone())); 
                cln.InitVars(); 
                return cln; 
            } 
             
            protected override DataTable CreateInstance() { 
                return new ChildDataTable(); 
            } 
             
            internal void InitVars() { 
                this.columnID = this.Columns["ID"]; 
                this.columnThreadID = this.Columns["ThreadID"]; 
                this.columnDirection = this.Columns["Direction"]; 
                this.columnData = this.Columns["Data"]; 
                this.columnTime = this.Columns["Time"]; 
            } 
             
            private void InitClass() { 
                this.columnID = new DataColumn("ID", typeof(int), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnID); 
                this.columnThreadID = new DataColumn("ThreadID", typeof(int), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnThreadID); 
                this.columnDirection = new DataColumn("Direction", typeof(string), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnDirection); 
                this.columnData = new DataColumn("Data", typeof(string), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnData); 
                this.columnTime = new DataColumn("Time", typeof(System.DateTime), null, System.Data.MappingType.Attribute); 
                this.Columns.Add(this.columnTime); 
                this.columnID.AutoIncrement = true; 
                this.columnID.AutoIncrementSeed = 1; 
                this.columnID.Namespace = "http://tempuri.org/LogDataset.xsd"; 
                this.columnThreadID.Namespace = "http://tempuri.org/LogDataset.xsd"; 
                this.columnDirection.Namespace = "http://tempuri.org/LogDataset.xsd"; 
                this.columnData.Namespace = "http://tempuri.org/LogDataset.xsd"; 
                this.columnTime.Namespace = "http://tempuri.org/LogDataset.xsd"; 
            } 
             
            public ChildRow NewChildRow() { 
                return ((ChildRow)(this.NewRow())); 
            } 
             
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { 
                return new ChildRow(builder); 
            } 
             
            protected override System.Type GetRowType() { 
                return typeof(ChildRow); 
            } 
             
            protected override void OnRowChanged(DataRowChangeEventArgs e) { 
                base.OnRowChanged(e); 
                if ((this.ChildRowChanged != null)) { 
                    this.ChildRowChanged(this, new ChildRowChangeEvent(((ChildRow)(e.Row)), e.Action)); 
                } 
            } 
             
            protected override void OnRowChanging(DataRowChangeEventArgs e) { 
                base.OnRowChanging(e); 
                if ((this.ChildRowChanging != null)) { 
                    this.ChildRowChanging(this, new ChildRowChangeEvent(((ChildRow)(e.Row)), e.Action)); 
                } 
            } 
             
            protected override void OnRowDeleted(DataRowChangeEventArgs e) { 
                base.OnRowDeleted(e); 
                if ((this.ChildRowDeleted != null)) { 
                    this.ChildRowDeleted(this, new ChildRowChangeEvent(((ChildRow)(e.Row)), e.Action)); 
                } 
            } 
             
            protected override void OnRowDeleting(DataRowChangeEventArgs e) { 
                base.OnRowDeleting(e); 
                if ((this.ChildRowDeleting != null)) { 
                    this.ChildRowDeleting(this, new ChildRowChangeEvent(((ChildRow)(e.Row)), e.Action)); 
                } 
            } 
             
            public void RemoveChildRow(ChildRow row) { 
                this.Rows.Remove(row); 
            } 
        } 
         
        [System.Diagnostics.DebuggerStepThrough()] 
        public class ChildRow : DataRow { 
             
            private ChildDataTable tableChild; 
             
            internal ChildRow(DataRowBuilder rb) :  
                    base(rb) { 
                this.tableChild = ((ChildDataTable)(this.Table)); 
            } 
             
            public int ID { 
                get { 
                    try { 
                        return ((int)(this[this.tableChild.IDColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableChild.IDColumn] = value; 
                } 
            } 
             
            public int ThreadID { 
                get { 
                    try { 
                        return ((int)(this[this.tableChild.ThreadIDColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableChild.ThreadIDColumn] = value; 
                } 
            } 
             
            public string Direction { 
                get { 
                    try { 
                        return ((string)(this[this.tableChild.DirectionColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableChild.DirectionColumn] = value; 
                } 
            } 
             
            public string Data { 
                get { 
                    try { 
                        return ((string)(this[this.tableChild.DataColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableChild.DataColumn] = value; 
                } 
            } 
             
            public System.DateTime Time { 
                get { 
                    try { 
                        return ((System.DateTime)(this[this.tableChild.TimeColumn])); 
                    } 
                    catch (InvalidCastException e) { 
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e); 
                    } 
                } 
                set { 
                    this[this.tableChild.TimeColumn] = value; 
                } 
            } 
             
            public bool IsIDNull() { 
                return this.IsNull(this.tableChild.IDColumn); 
            } 
             
            public void SetIDNull() { 
                this[this.tableChild.IDColumn] = System.Convert.DBNull; 
            } 
             
            public bool IsThreadIDNull() { 
                return this.IsNull(this.tableChild.ThreadIDColumn); 
            } 
             
            public void SetThreadIDNull() { 
                this[this.tableChild.ThreadIDColumn] = System.Convert.DBNull; 
            } 
             
            public bool IsDirectionNull() { 
                return this.IsNull(this.tableChild.DirectionColumn); 
            } 
             
            public void SetDirectionNull() { 
                this[this.tableChild.DirectionColumn] = System.Convert.DBNull; 
            } 
             
            public bool IsDataNull() { 
                return this.IsNull(this.tableChild.DataColumn); 
            } 
             
            public void SetDataNull() { 
                this[this.tableChild.DataColumn] = System.Convert.DBNull; 
            } 
             
            public bool IsTimeNull() { 
                return this.IsNull(this.tableChild.TimeColumn); 
            } 
             
            public void SetTimeNull() { 
                this[this.tableChild.TimeColumn] = System.Convert.DBNull; 
            } 
        } 
         
        [System.Diagnostics.DebuggerStepThrough()] 
        public class ChildRowChangeEvent : EventArgs { 
             
            private ChildRow eventRow; 
             
            private DataRowAction eventAction; 
             
            public ChildRowChangeEvent(ChildRow row, DataRowAction action) { 
                this.eventRow = row; 
                this.eventAction = action; 
            } 
             
            public ChildRow Row { 
                get { 
                    return this.eventRow; 
                } 
            } 
             
            public DataRowAction Action { 
                get { 
                    return this.eventAction; 
                } 
            } 
        } 
    } 
}