//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.42000
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace Sapphire.Ohu.Report.Datasets.Safety.Incident {
    
    
    /// <summary>
    ///Represents a strongly typed in-memory cache of data.
    ///</summary>
    [global::System.Serializable()]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [global::System.Xml.Serialization.XmlRootAttribute("PreventOccurrence")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class PreventOccurrence : global::System.Data.DataSet {
        
        private pRptPreventOccurrenceGetDataTable tablepRptPreventOccurrenceGet;
        
        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 PreventOccurrence() {
            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 PreventOccurrence(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["pRptPreventOccurrenceGet"] != null)) {
                    base.Tables.Add(new pRptPreventOccurrenceGetDataTable(ds.Tables["pRptPreventOccurrenceGet"]));
                }
                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 pRptPreventOccurrenceGetDataTable pRptPreventOccurrenceGet {
            get {
                return this.tablepRptPreventOccurrenceGet;
            }
        }
        
        [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() {
            PreventOccurrence cln = ((PreventOccurrence)(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["pRptPreventOccurrenceGet"] != null)) {
                    base.Tables.Add(new pRptPreventOccurrenceGetDataTable(ds.Tables["pRptPreventOccurrenceGet"]));
                }
                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.tablepRptPreventOccurrenceGet = ((pRptPreventOccurrenceGetDataTable)(base.Tables["pRptPreventOccurrenceGet"]));
            if ((initTable == true)) {
                if ((this.tablepRptPreventOccurrenceGet != null)) {
                    this.tablepRptPreventOccurrenceGet.InitVars();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void InitClass() {
            this.DataSetName = "PreventOccurrence";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/PreventOccurrence.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tablepRptPreventOccurrenceGet = new pRptPreventOccurrenceGetDataTable();
            base.Tables.Add(this.tablepRptPreventOccurrenceGet);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private bool ShouldSerializepRptPreventOccurrenceGet() {
            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) {
            PreventOccurrence ds = new PreventOccurrence();
            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 pRptPreventOccurrenceGetRowChangeEventHandler(object sender, pRptPreventOccurrenceGetRowChangeEvent e);
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class pRptPreventOccurrenceGetDataTable : global::System.Data.TypedTableBase<pRptPreventOccurrenceGetRow> {
            
            private global::System.Data.DataColumn columnIncidentId;
            
            private global::System.Data.DataColumn columnIncidentTextId;
            
            private global::System.Data.DataColumn columnIPOId;
            
            private global::System.Data.DataColumn columnIPOFeasibleHorizontalDeployment;
            
            private global::System.Data.DataColumn columnPMId;
            
            private global::System.Data.DataColumn columnPMDoctorStandardised;
            
            private global::System.Data.DataColumn columnPMDoctorName;
            
            private global::System.Data.DataColumn columnPMDoctorNo;
            
            private global::System.Data.DataColumn columnPMVersion;
            
            private global::System.Data.DataColumn columnPMDate;
            
            private global::System.Data.DataColumn columnPMRemarks;
            
            private global::System.Data.DataColumn columnPMOrderIndex;
            
            private global::System.Data.DataColumn columnPOTId;
            
            private global::System.Data.DataColumn columnPOTOtherEmployeeName;
            
            private global::System.Data.DataColumn columnPOTTrainedEmployeeId;
            
            private global::System.Data.DataColumn columnPOTTrainedEmployeeCode;
            
            private global::System.Data.DataColumn columnPOTTrainedEmployeeName;
            
            private global::System.Data.DataColumn columnPOTDepartmentId;
            
            private global::System.Data.DataColumn columnPOTDepartmentName;
            
            private global::System.Data.DataColumn columnPOTOrderIndex;
            
            private global::System.Data.DataColumn columnPORId;
            
            private global::System.Data.DataColumn columnPORResponsibleEmployeeId;
            
            private global::System.Data.DataColumn columnPORResponsibleEmployeeCode;
            
            private global::System.Data.DataColumn columnPORResponsibleEmployeeName;
            
            private global::System.Data.DataColumn columnPORDepartmentId;
            
            private global::System.Data.DataColumn columnPORDepartmentName;
            
            private global::System.Data.DataColumn columnPORCompanyId;
            
            private global::System.Data.DataColumn columnPORCompanyName;
            
            private global::System.Data.DataColumn columnPORStatusId;
            
            private global::System.Data.DataColumn columnPORStatusName;
            
            private global::System.Data.DataColumn columnPORTargetDate;
            
            private global::System.Data.DataColumn columnPOROrderIndex;
            
            private global::System.Data.DataColumn columnPODId;
            
            private global::System.Data.DataColumn columnPODFileName;
            
            private global::System.Data.DataColumn columnPODConfigurationTypeId;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public pRptPreventOccurrenceGetDataTable() {
                this.TableName = "pRptPreventOccurrenceGet";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal pRptPreventOccurrenceGetDataTable(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 pRptPreventOccurrenceGetDataTable(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 IncidentIdColumn {
                get {
                    return this.columnIncidentId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn IncidentTextIdColumn {
                get {
                    return this.columnIncidentTextId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn IPOIdColumn {
                get {
                    return this.columnIPOId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn IPOFeasibleHorizontalDeploymentColumn {
                get {
                    return this.columnIPOFeasibleHorizontalDeployment;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PMIdColumn {
                get {
                    return this.columnPMId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PMDoctorStandardisedColumn {
                get {
                    return this.columnPMDoctorStandardised;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PMDoctorNameColumn {
                get {
                    return this.columnPMDoctorName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PMDoctorNoColumn {
                get {
                    return this.columnPMDoctorNo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PMVersionColumn {
                get {
                    return this.columnPMVersion;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PMDateColumn {
                get {
                    return this.columnPMDate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PMRemarksColumn {
                get {
                    return this.columnPMRemarks;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PMOrderIndexColumn {
                get {
                    return this.columnPMOrderIndex;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POTIdColumn {
                get {
                    return this.columnPOTId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POTOtherEmployeeNameColumn {
                get {
                    return this.columnPOTOtherEmployeeName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POTTrainedEmployeeIdColumn {
                get {
                    return this.columnPOTTrainedEmployeeId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POTTrainedEmployeeCodeColumn {
                get {
                    return this.columnPOTTrainedEmployeeCode;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POTTrainedEmployeeNameColumn {
                get {
                    return this.columnPOTTrainedEmployeeName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POTDepartmentIdColumn {
                get {
                    return this.columnPOTDepartmentId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POTDepartmentNameColumn {
                get {
                    return this.columnPOTDepartmentName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POTOrderIndexColumn {
                get {
                    return this.columnPOTOrderIndex;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORIdColumn {
                get {
                    return this.columnPORId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORResponsibleEmployeeIdColumn {
                get {
                    return this.columnPORResponsibleEmployeeId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORResponsibleEmployeeCodeColumn {
                get {
                    return this.columnPORResponsibleEmployeeCode;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORResponsibleEmployeeNameColumn {
                get {
                    return this.columnPORResponsibleEmployeeName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORDepartmentIdColumn {
                get {
                    return this.columnPORDepartmentId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORDepartmentNameColumn {
                get {
                    return this.columnPORDepartmentName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORCompanyIdColumn {
                get {
                    return this.columnPORCompanyId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORCompanyNameColumn {
                get {
                    return this.columnPORCompanyName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORStatusIdColumn {
                get {
                    return this.columnPORStatusId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORStatusNameColumn {
                get {
                    return this.columnPORStatusName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PORTargetDateColumn {
                get {
                    return this.columnPORTargetDate;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn POROrderIndexColumn {
                get {
                    return this.columnPOROrderIndex;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PODIdColumn {
                get {
                    return this.columnPODId;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PODFileNameColumn {
                get {
                    return this.columnPODFileName;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public global::System.Data.DataColumn PODConfigurationTypeIdColumn {
                get {
                    return this.columnPODConfigurationTypeId;
                }
            }
            
            [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 pRptPreventOccurrenceGetRow this[int index] {
                get {
                    return ((pRptPreventOccurrenceGetRow)(this.Rows[index]));
                }
            }
            
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event pRptPreventOccurrenceGetRowChangeEventHandler pRptPreventOccurrenceGetRowChanging;
            
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event pRptPreventOccurrenceGetRowChangeEventHandler pRptPreventOccurrenceGetRowChanged;
            
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event pRptPreventOccurrenceGetRowChangeEventHandler pRptPreventOccurrenceGetRowDeleting;
            
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event pRptPreventOccurrenceGetRowChangeEventHandler pRptPreventOccurrenceGetRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void AddpRptPreventOccurrenceGetRow(pRptPreventOccurrenceGetRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public pRptPreventOccurrenceGetRow AddpRptPreventOccurrenceGetRow(
                        int IncidentId, 
                        int IncidentTextId, 
                        string IPOId, 
                        string IPOFeasibleHorizontalDeployment, 
                        string PMId, 
                        string PMDoctorStandardised, 
                        string PMDoctorName, 
                        string PMDoctorNo, 
                        string PMVersion, 
                        string PMDate, 
                        string PMRemarks, 
                        string PMOrderIndex, 
                        string POTId, 
                        string POTOtherEmployeeName, 
                        int POTTrainedEmployeeId, 
                        string POTTrainedEmployeeCode, 
                        string POTTrainedEmployeeName, 
                        int POTDepartmentId, 
                        string POTDepartmentName, 
                        int POTOrderIndex, 
                        string PORId, 
                        int PORResponsibleEmployeeId, 
                        string PORResponsibleEmployeeCode, 
                        string PORResponsibleEmployeeName, 
                        int PORDepartmentId, 
                        string PORDepartmentName, 
                        int PORCompanyId, 
                        string PORCompanyName, 
                        int PORStatusId, 
                        string PORStatusName, 
                        string PORTargetDate, 
                        int POROrderIndex, 
                        int PODId, 
                        string PODFileName, 
                        int PODConfigurationTypeId) {
                pRptPreventOccurrenceGetRow rowpRptPreventOccurrenceGetRow = ((pRptPreventOccurrenceGetRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        IncidentId,
                        IncidentTextId,
                        IPOId,
                        IPOFeasibleHorizontalDeployment,
                        PMId,
                        PMDoctorStandardised,
                        PMDoctorName,
                        PMDoctorNo,
                        PMVersion,
                        PMDate,
                        PMRemarks,
                        PMOrderIndex,
                        POTId,
                        POTOtherEmployeeName,
                        POTTrainedEmployeeId,
                        POTTrainedEmployeeCode,
                        POTTrainedEmployeeName,
                        POTDepartmentId,
                        POTDepartmentName,
                        POTOrderIndex,
                        PORId,
                        PORResponsibleEmployeeId,
                        PORResponsibleEmployeeCode,
                        PORResponsibleEmployeeName,
                        PORDepartmentId,
                        PORDepartmentName,
                        PORCompanyId,
                        PORCompanyName,
                        PORStatusId,
                        PORStatusName,
                        PORTargetDate,
                        POROrderIndex,
                        PODId,
                        PODFileName,
                        PODConfigurationTypeId};
                rowpRptPreventOccurrenceGetRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowpRptPreventOccurrenceGetRow);
                return rowpRptPreventOccurrenceGetRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public override global::System.Data.DataTable Clone() {
                pRptPreventOccurrenceGetDataTable cln = ((pRptPreventOccurrenceGetDataTable)(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 pRptPreventOccurrenceGetDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal void InitVars() {
                this.columnIncidentId = base.Columns["IncidentId"];
                this.columnIncidentTextId = base.Columns["IncidentTextId"];
                this.columnIPOId = base.Columns["IPOId"];
                this.columnIPOFeasibleHorizontalDeployment = base.Columns["IPOFeasibleHorizontalDeployment"];
                this.columnPMId = base.Columns["PMId"];
                this.columnPMDoctorStandardised = base.Columns["PMDoctorStandardised"];
                this.columnPMDoctorName = base.Columns["PMDoctorName"];
                this.columnPMDoctorNo = base.Columns["PMDoctorNo"];
                this.columnPMVersion = base.Columns["PMVersion"];
                this.columnPMDate = base.Columns["PMDate"];
                this.columnPMRemarks = base.Columns["PMRemarks"];
                this.columnPMOrderIndex = base.Columns["PMOrderIndex"];
                this.columnPOTId = base.Columns["POTId"];
                this.columnPOTOtherEmployeeName = base.Columns["POTOtherEmployeeName"];
                this.columnPOTTrainedEmployeeId = base.Columns["POTTrainedEmployeeId"];
                this.columnPOTTrainedEmployeeCode = base.Columns["POTTrainedEmployeeCode"];
                this.columnPOTTrainedEmployeeName = base.Columns["POTTrainedEmployeeName"];
                this.columnPOTDepartmentId = base.Columns["POTDepartmentId"];
                this.columnPOTDepartmentName = base.Columns["POTDepartmentName"];
                this.columnPOTOrderIndex = base.Columns["POTOrderIndex"];
                this.columnPORId = base.Columns["PORId"];
                this.columnPORResponsibleEmployeeId = base.Columns["PORResponsibleEmployeeId"];
                this.columnPORResponsibleEmployeeCode = base.Columns["PORResponsibleEmployeeCode"];
                this.columnPORResponsibleEmployeeName = base.Columns["PORResponsibleEmployeeName"];
                this.columnPORDepartmentId = base.Columns["PORDepartmentId"];
                this.columnPORDepartmentName = base.Columns["PORDepartmentName"];
                this.columnPORCompanyId = base.Columns["PORCompanyId"];
                this.columnPORCompanyName = base.Columns["PORCompanyName"];
                this.columnPORStatusId = base.Columns["PORStatusId"];
                this.columnPORStatusName = base.Columns["PORStatusName"];
                this.columnPORTargetDate = base.Columns["PORTargetDate"];
                this.columnPOROrderIndex = base.Columns["POROrderIndex"];
                this.columnPODId = base.Columns["PODId"];
                this.columnPODFileName = base.Columns["PODFileName"];
                this.columnPODConfigurationTypeId = base.Columns["PODConfigurationTypeId"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private void InitClass() {
                this.columnIncidentId = new global::System.Data.DataColumn("IncidentId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnIncidentId);
                this.columnIncidentTextId = new global::System.Data.DataColumn("IncidentTextId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnIncidentTextId);
                this.columnIPOId = new global::System.Data.DataColumn("IPOId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnIPOId);
                this.columnIPOFeasibleHorizontalDeployment = new global::System.Data.DataColumn("IPOFeasibleHorizontalDeployment", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnIPOFeasibleHorizontalDeployment);
                this.columnPMId = new global::System.Data.DataColumn("PMId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPMId);
                this.columnPMDoctorStandardised = new global::System.Data.DataColumn("PMDoctorStandardised", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPMDoctorStandardised);
                this.columnPMDoctorName = new global::System.Data.DataColumn("PMDoctorName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPMDoctorName);
                this.columnPMDoctorNo = new global::System.Data.DataColumn("PMDoctorNo", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPMDoctorNo);
                this.columnPMVersion = new global::System.Data.DataColumn("PMVersion", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPMVersion);
                this.columnPMDate = new global::System.Data.DataColumn("PMDate", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPMDate);
                this.columnPMRemarks = new global::System.Data.DataColumn("PMRemarks", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPMRemarks);
                this.columnPMOrderIndex = new global::System.Data.DataColumn("PMOrderIndex", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPMOrderIndex);
                this.columnPOTId = new global::System.Data.DataColumn("POTId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOTId);
                this.columnPOTOtherEmployeeName = new global::System.Data.DataColumn("POTOtherEmployeeName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOTOtherEmployeeName);
                this.columnPOTTrainedEmployeeId = new global::System.Data.DataColumn("POTTrainedEmployeeId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOTTrainedEmployeeId);
                this.columnPOTTrainedEmployeeCode = new global::System.Data.DataColumn("POTTrainedEmployeeCode", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOTTrainedEmployeeCode);
                this.columnPOTTrainedEmployeeName = new global::System.Data.DataColumn("POTTrainedEmployeeName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOTTrainedEmployeeName);
                this.columnPOTDepartmentId = new global::System.Data.DataColumn("POTDepartmentId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOTDepartmentId);
                this.columnPOTDepartmentName = new global::System.Data.DataColumn("POTDepartmentName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOTDepartmentName);
                this.columnPOTOrderIndex = new global::System.Data.DataColumn("POTOrderIndex", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOTOrderIndex);
                this.columnPORId = new global::System.Data.DataColumn("PORId", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORId);
                this.columnPORResponsibleEmployeeId = new global::System.Data.DataColumn("PORResponsibleEmployeeId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORResponsibleEmployeeId);
                this.columnPORResponsibleEmployeeCode = new global::System.Data.DataColumn("PORResponsibleEmployeeCode", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORResponsibleEmployeeCode);
                this.columnPORResponsibleEmployeeName = new global::System.Data.DataColumn("PORResponsibleEmployeeName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORResponsibleEmployeeName);
                this.columnPORDepartmentId = new global::System.Data.DataColumn("PORDepartmentId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORDepartmentId);
                this.columnPORDepartmentName = new global::System.Data.DataColumn("PORDepartmentName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORDepartmentName);
                this.columnPORCompanyId = new global::System.Data.DataColumn("PORCompanyId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORCompanyId);
                this.columnPORCompanyName = new global::System.Data.DataColumn("PORCompanyName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORCompanyName);
                this.columnPORStatusId = new global::System.Data.DataColumn("PORStatusId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORStatusId);
                this.columnPORStatusName = new global::System.Data.DataColumn("PORStatusName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORStatusName);
                this.columnPORTargetDate = new global::System.Data.DataColumn("PORTargetDate", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPORTargetDate);
                this.columnPOROrderIndex = new global::System.Data.DataColumn("POROrderIndex", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPOROrderIndex);
                this.columnPODId = new global::System.Data.DataColumn("PODId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPODId);
                this.columnPODFileName = new global::System.Data.DataColumn("PODFileName", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPODFileName);
                this.columnPODConfigurationTypeId = new global::System.Data.DataColumn("PODConfigurationTypeId", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnPODConfigurationTypeId);
                this.columnIncidentId.ReadOnly = true;
                this.columnIncidentTextId.ReadOnly = true;
                this.columnIPOId.ReadOnly = true;
                this.columnIPOId.MaxLength = 1;
                this.columnIPOFeasibleHorizontalDeployment.ReadOnly = true;
                this.columnIPOFeasibleHorizontalDeployment.MaxLength = 1;
                this.columnPMId.ReadOnly = true;
                this.columnPMId.MaxLength = 1;
                this.columnPMDoctorStandardised.ReadOnly = true;
                this.columnPMDoctorStandardised.MaxLength = 1;
                this.columnPMDoctorName.ReadOnly = true;
                this.columnPMDoctorName.MaxLength = 1;
                this.columnPMDoctorNo.ReadOnly = true;
                this.columnPMDoctorNo.MaxLength = 1;
                this.columnPMVersion.ReadOnly = true;
                this.columnPMVersion.MaxLength = 1;
                this.columnPMDate.ReadOnly = true;
                this.columnPMDate.MaxLength = 1;
                this.columnPMRemarks.ReadOnly = true;
                this.columnPMRemarks.MaxLength = 1;
                this.columnPMOrderIndex.ReadOnly = true;
                this.columnPMOrderIndex.MaxLength = 1;
                this.columnPOTId.ReadOnly = true;
                this.columnPOTId.MaxLength = 1;
                this.columnPOTOtherEmployeeName.ReadOnly = true;
                this.columnPOTOtherEmployeeName.MaxLength = 1;
                this.columnPOTTrainedEmployeeId.ReadOnly = true;
                this.columnPOTTrainedEmployeeCode.ReadOnly = true;
                this.columnPOTTrainedEmployeeCode.MaxLength = 1;
                this.columnPOTTrainedEmployeeName.ReadOnly = true;
                this.columnPOTTrainedEmployeeName.MaxLength = 1;
                this.columnPOTDepartmentId.ReadOnly = true;
                this.columnPOTDepartmentName.ReadOnly = true;
                this.columnPOTDepartmentName.MaxLength = 1;
                this.columnPOTOrderIndex.ReadOnly = true;
                this.columnPORId.ReadOnly = true;
                this.columnPORId.MaxLength = 1;
                this.columnPORResponsibleEmployeeId.ReadOnly = true;
                this.columnPORResponsibleEmployeeCode.ReadOnly = true;
                this.columnPORResponsibleEmployeeCode.MaxLength = 1;
                this.columnPORResponsibleEmployeeName.ReadOnly = true;
                this.columnPORResponsibleEmployeeName.MaxLength = 1;
                this.columnPORDepartmentId.ReadOnly = true;
                this.columnPORDepartmentName.ReadOnly = true;
                this.columnPORDepartmentName.MaxLength = 1;
                this.columnPORCompanyId.ReadOnly = true;
                this.columnPORCompanyName.ReadOnly = true;
                this.columnPORCompanyName.MaxLength = 1;
                this.columnPORStatusId.ReadOnly = true;
                this.columnPORStatusName.ReadOnly = true;
                this.columnPORStatusName.MaxLength = 1;
                this.columnPORTargetDate.ReadOnly = true;
                this.columnPORTargetDate.MaxLength = 1;
                this.columnPOROrderIndex.ReadOnly = true;
                this.columnPODId.ReadOnly = true;
                this.columnPODFileName.ReadOnly = true;
                this.columnPODFileName.MaxLength = 1;
                this.columnPODConfigurationTypeId.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public pRptPreventOccurrenceGetRow NewpRptPreventOccurrenceGetRow() {
                return ((pRptPreventOccurrenceGetRow)(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 pRptPreventOccurrenceGetRow(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(pRptPreventOccurrenceGetRow);
            }
            
            [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.pRptPreventOccurrenceGetRowChanged != null)) {
                    this.pRptPreventOccurrenceGetRowChanged(this, new pRptPreventOccurrenceGetRowChangeEvent(((pRptPreventOccurrenceGetRow)(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.pRptPreventOccurrenceGetRowChanging != null)) {
                    this.pRptPreventOccurrenceGetRowChanging(this, new pRptPreventOccurrenceGetRowChangeEvent(((pRptPreventOccurrenceGetRow)(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.pRptPreventOccurrenceGetRowDeleted != null)) {
                    this.pRptPreventOccurrenceGetRowDeleted(this, new pRptPreventOccurrenceGetRowChangeEvent(((pRptPreventOccurrenceGetRow)(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.pRptPreventOccurrenceGetRowDeleting != null)) {
                    this.pRptPreventOccurrenceGetRowDeleting(this, new pRptPreventOccurrenceGetRowChangeEvent(((pRptPreventOccurrenceGetRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void RemovepRptPreventOccurrenceGetRow(pRptPreventOccurrenceGetRow 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();
                PreventOccurrence ds = new PreventOccurrence();
                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 = "pRptPreventOccurrenceGetDataTable";
                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;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        public partial class pRptPreventOccurrenceGetRow : global::System.Data.DataRow {
            
            private pRptPreventOccurrenceGetDataTable tablepRptPreventOccurrenceGet;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal pRptPreventOccurrenceGetRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tablepRptPreventOccurrenceGet = ((pRptPreventOccurrenceGetDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int IncidentId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.IncidentIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'IncidentId\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.IncidentIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int IncidentTextId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.IncidentTextIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'IncidentTextId\' in table \'pRptPreventOccurrenceGet\' is DBNu" +
                                "ll.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.IncidentTextIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string IPOId {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.IPOIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'IPOId\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.IPOIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string IPOFeasibleHorizontalDeployment {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.IPOFeasibleHorizontalDeploymentColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'IPOFeasibleHorizontalDeployment\' in table \'pRptPreventOccur" +
                                "renceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.IPOFeasibleHorizontalDeploymentColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PMId {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PMIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PMId\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PMIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PMDoctorStandardised {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PMDoctorStandardisedColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PMDoctorStandardised\' in table \'pRptPreventOccurrenceGet\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PMDoctorStandardisedColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PMDoctorName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PMDoctorNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PMDoctorName\' in table \'pRptPreventOccurrenceGet\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PMDoctorNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PMDoctorNo {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PMDoctorNoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PMDoctorNo\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PMDoctorNoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PMVersion {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PMVersionColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PMVersion\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PMVersionColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PMDate {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PMDateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PMDate\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PMDateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PMRemarks {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PMRemarksColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PMRemarks\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PMRemarksColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PMOrderIndex {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PMOrderIndexColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PMOrderIndex\' in table \'pRptPreventOccurrenceGet\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PMOrderIndexColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string POTId {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.POTIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POTId\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POTIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string POTOtherEmployeeName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.POTOtherEmployeeNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POTOtherEmployeeName\' in table \'pRptPreventOccurrenceGet\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POTOtherEmployeeNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int POTTrainedEmployeeId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POTTrainedEmployeeId\' in table \'pRptPreventOccurrenceGet\' i" +
                                "s DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string POTTrainedEmployeeCode {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeCodeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POTTrainedEmployeeCode\' in table \'pRptPreventOccurrenceGet\'" +
                                " is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeCodeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string POTTrainedEmployeeName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POTTrainedEmployeeName\' in table \'pRptPreventOccurrenceGet\'" +
                                " is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int POTDepartmentId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.POTDepartmentIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POTDepartmentId\' in table \'pRptPreventOccurrenceGet\' is DBN" +
                                "ull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POTDepartmentIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string POTDepartmentName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.POTDepartmentNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POTDepartmentName\' in table \'pRptPreventOccurrenceGet\' is D" +
                                "BNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POTDepartmentNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int POTOrderIndex {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.POTOrderIndexColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POTOrderIndex\' in table \'pRptPreventOccurrenceGet\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POTOrderIndexColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PORId {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PORIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORId\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int PORResponsibleEmployeeId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORResponsibleEmployeeId\' in table \'pRptPreventOccurrenceGe" +
                                "t\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PORResponsibleEmployeeCode {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeCodeColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORResponsibleEmployeeCode\' in table \'pRptPreventOccurrence" +
                                "Get\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeCodeColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PORResponsibleEmployeeName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORResponsibleEmployeeName\' in table \'pRptPreventOccurrence" +
                                "Get\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int PORDepartmentId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.PORDepartmentIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORDepartmentId\' in table \'pRptPreventOccurrenceGet\' is DBN" +
                                "ull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORDepartmentIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PORDepartmentName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PORDepartmentNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORDepartmentName\' in table \'pRptPreventOccurrenceGet\' is D" +
                                "BNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORDepartmentNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int PORCompanyId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.PORCompanyIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORCompanyId\' in table \'pRptPreventOccurrenceGet\' is DBNull" +
                                ".", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORCompanyIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PORCompanyName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PORCompanyNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORCompanyName\' in table \'pRptPreventOccurrenceGet\' is DBNu" +
                                "ll.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORCompanyNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int PORStatusId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.PORStatusIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORStatusId\' in table \'pRptPreventOccurrenceGet\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORStatusIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PORStatusName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PORStatusNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORStatusName\' in table \'pRptPreventOccurrenceGet\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORStatusNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PORTargetDate {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PORTargetDateColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PORTargetDate\' in table \'pRptPreventOccurrenceGet\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PORTargetDateColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int POROrderIndex {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.POROrderIndexColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'POROrderIndex\' in table \'pRptPreventOccurrenceGet\' is DBNul" +
                                "l.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.POROrderIndexColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int PODId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.PODIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODId\' in table \'pRptPreventOccurrenceGet\' is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PODIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PODFileName {
                get {
                    try {
                        return ((string)(this[this.tablepRptPreventOccurrenceGet.PODFileNameColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODFileName\' in table \'pRptPreventOccurrenceGet\' is DBNull." +
                                "", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PODFileNameColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int PODConfigurationTypeId {
                get {
                    try {
                        return ((int)(this[this.tablepRptPreventOccurrenceGet.PODConfigurationTypeIdColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("The value for column \'PODConfigurationTypeId\' in table \'pRptPreventOccurrenceGet\'" +
                                " is DBNull.", e);
                    }
                }
                set {
                    this[this.tablepRptPreventOccurrenceGet.PODConfigurationTypeIdColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIncidentIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.IncidentIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIncidentIdNull() {
                this[this.tablepRptPreventOccurrenceGet.IncidentIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIncidentTextIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.IncidentTextIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIncidentTextIdNull() {
                this[this.tablepRptPreventOccurrenceGet.IncidentTextIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIPOIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.IPOIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIPOIdNull() {
                this[this.tablepRptPreventOccurrenceGet.IPOIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIPOFeasibleHorizontalDeploymentNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.IPOFeasibleHorizontalDeploymentColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIPOFeasibleHorizontalDeploymentNull() {
                this[this.tablepRptPreventOccurrenceGet.IPOFeasibleHorizontalDeploymentColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPMIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PMIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPMIdNull() {
                this[this.tablepRptPreventOccurrenceGet.PMIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPMDoctorStandardisedNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PMDoctorStandardisedColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPMDoctorStandardisedNull() {
                this[this.tablepRptPreventOccurrenceGet.PMDoctorStandardisedColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPMDoctorNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PMDoctorNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPMDoctorNameNull() {
                this[this.tablepRptPreventOccurrenceGet.PMDoctorNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPMDoctorNoNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PMDoctorNoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPMDoctorNoNull() {
                this[this.tablepRptPreventOccurrenceGet.PMDoctorNoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPMVersionNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PMVersionColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPMVersionNull() {
                this[this.tablepRptPreventOccurrenceGet.PMVersionColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPMDateNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PMDateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPMDateNull() {
                this[this.tablepRptPreventOccurrenceGet.PMDateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPMRemarksNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PMRemarksColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPMRemarksNull() {
                this[this.tablepRptPreventOccurrenceGet.PMRemarksColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPMOrderIndexNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PMOrderIndexColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPMOrderIndexNull() {
                this[this.tablepRptPreventOccurrenceGet.PMOrderIndexColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOTIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POTIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOTIdNull() {
                this[this.tablepRptPreventOccurrenceGet.POTIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOTOtherEmployeeNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POTOtherEmployeeNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOTOtherEmployeeNameNull() {
                this[this.tablepRptPreventOccurrenceGet.POTOtherEmployeeNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOTTrainedEmployeeIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOTTrainedEmployeeIdNull() {
                this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOTTrainedEmployeeCodeNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeCodeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOTTrainedEmployeeCodeNull() {
                this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeCodeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOTTrainedEmployeeNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOTTrainedEmployeeNameNull() {
                this[this.tablepRptPreventOccurrenceGet.POTTrainedEmployeeNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOTDepartmentIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POTDepartmentIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOTDepartmentIdNull() {
                this[this.tablepRptPreventOccurrenceGet.POTDepartmentIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOTDepartmentNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POTDepartmentNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOTDepartmentNameNull() {
                this[this.tablepRptPreventOccurrenceGet.POTDepartmentNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOTOrderIndexNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POTOrderIndexColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOTOrderIndexNull() {
                this[this.tablepRptPreventOccurrenceGet.POTOrderIndexColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORIdNull() {
                this[this.tablepRptPreventOccurrenceGet.PORIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORResponsibleEmployeeIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORResponsibleEmployeeIdNull() {
                this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORResponsibleEmployeeCodeNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeCodeColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORResponsibleEmployeeCodeNull() {
                this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeCodeColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORResponsibleEmployeeNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORResponsibleEmployeeNameNull() {
                this[this.tablepRptPreventOccurrenceGet.PORResponsibleEmployeeNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORDepartmentIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORDepartmentIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORDepartmentIdNull() {
                this[this.tablepRptPreventOccurrenceGet.PORDepartmentIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORDepartmentNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORDepartmentNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORDepartmentNameNull() {
                this[this.tablepRptPreventOccurrenceGet.PORDepartmentNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORCompanyIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORCompanyIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORCompanyIdNull() {
                this[this.tablepRptPreventOccurrenceGet.PORCompanyIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORCompanyNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORCompanyNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORCompanyNameNull() {
                this[this.tablepRptPreventOccurrenceGet.PORCompanyNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORStatusIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORStatusIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORStatusIdNull() {
                this[this.tablepRptPreventOccurrenceGet.PORStatusIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORStatusNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORStatusNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORStatusNameNull() {
                this[this.tablepRptPreventOccurrenceGet.PORStatusNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPORTargetDateNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PORTargetDateColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPORTargetDateNull() {
                this[this.tablepRptPreventOccurrenceGet.PORTargetDateColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPOROrderIndexNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.POROrderIndexColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPOROrderIndexNull() {
                this[this.tablepRptPreventOccurrenceGet.POROrderIndexColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPODIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PODIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPODIdNull() {
                this[this.tablepRptPreventOccurrenceGet.PODIdColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPODFileNameNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PODFileNameColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPODFileNameNull() {
                this[this.tablepRptPreventOccurrenceGet.PODFileNameColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPODConfigurationTypeIdNull() {
                return this.IsNull(this.tablepRptPreventOccurrenceGet.PODConfigurationTypeIdColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetPODConfigurationTypeIdNull() {
                this[this.tablepRptPreventOccurrenceGet.PODConfigurationTypeIdColumn] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class pRptPreventOccurrenceGetRowChangeEvent : global::System.EventArgs {
            
            private pRptPreventOccurrenceGetRow 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 pRptPreventOccurrenceGetRowChangeEvent(pRptPreventOccurrenceGetRow 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 pRptPreventOccurrenceGetRow 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 Sapphire.Ohu.Report.Datasets.Safety.Incident.PreventOccurrenceTableAdapters {
    
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [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 pRptPreventOccurrenceGetTableAdapter : 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 pRptPreventOccurrenceGetTableAdapter() {
            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 = "pRptPreventOccurrenceGet";
            tableMapping.ColumnMappings.Add("IncidentId", "IncidentId");
            tableMapping.ColumnMappings.Add("IncidentTextId", "IncidentTextId");
            tableMapping.ColumnMappings.Add("IPOId", "IPOId");
            tableMapping.ColumnMappings.Add("IPOFeasibleHorizontalDeployment", "IPOFeasibleHorizontalDeployment");
            tableMapping.ColumnMappings.Add("PMId", "PMId");
            tableMapping.ColumnMappings.Add("PMDoctorStandardised", "PMDoctorStandardised");
            tableMapping.ColumnMappings.Add("PMDoctorName", "PMDoctorName");
            tableMapping.ColumnMappings.Add("PMDoctorNo", "PMDoctorNo");
            tableMapping.ColumnMappings.Add("PMVersion", "PMVersion");
            tableMapping.ColumnMappings.Add("PMDate", "PMDate");
            tableMapping.ColumnMappings.Add("PMRemarks", "PMRemarks");
            tableMapping.ColumnMappings.Add("PMOrderIndex", "PMOrderIndex");
            tableMapping.ColumnMappings.Add("POTId", "POTId");
            tableMapping.ColumnMappings.Add("POTOtherEmployeeName", "POTOtherEmployeeName");
            tableMapping.ColumnMappings.Add("POTTrainedEmployeeId", "POTTrainedEmployeeId");
            tableMapping.ColumnMappings.Add("POTTrainedEmployeeCode", "POTTrainedEmployeeCode");
            tableMapping.ColumnMappings.Add("POTTrainedEmployeeName", "POTTrainedEmployeeName");
            tableMapping.ColumnMappings.Add("POTDepartmentId", "POTDepartmentId");
            tableMapping.ColumnMappings.Add("POTDepartmentName", "POTDepartmentName");
            tableMapping.ColumnMappings.Add("POTOrderIndex", "POTOrderIndex");
            tableMapping.ColumnMappings.Add("PORId", "PORId");
            tableMapping.ColumnMappings.Add("PORResponsibleEmployeeId", "PORResponsibleEmployeeId");
            tableMapping.ColumnMappings.Add("PORResponsibleEmployeeCode", "PORResponsibleEmployeeCode");
            tableMapping.ColumnMappings.Add("PORResponsibleEmployeeName", "PORResponsibleEmployeeName");
            tableMapping.ColumnMappings.Add("PORDepartmentId", "PORDepartmentId");
            tableMapping.ColumnMappings.Add("PORDepartmentName", "PORDepartmentName");
            tableMapping.ColumnMappings.Add("PORCompanyId", "PORCompanyId");
            tableMapping.ColumnMappings.Add("PORCompanyName", "PORCompanyName");
            tableMapping.ColumnMappings.Add("PORStatusId", "PORStatusId");
            tableMapping.ColumnMappings.Add("PORStatusName", "PORStatusName");
            tableMapping.ColumnMappings.Add("PORTargetDate", "PORTargetDate");
            tableMapping.ColumnMappings.Add("POROrderIndex", "POROrderIndex");
            tableMapping.ColumnMappings.Add("PODId", "PODId");
            tableMapping.ColumnMappings.Add("PODFileName", "PODFileName");
            tableMapping.ColumnMappings.Add("PODConfigurationTypeId", "PODConfigurationTypeId");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [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::Sapphire.Ohu.Report.Datasets.Properties.Settings.Default.OccuCareConnectionString2;
        }
        
        [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 = "sSafety.pRptPreventOccurrenceGet";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rIncidentId", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 19, 0, null, 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(PreventOccurrence.pRptPreventOccurrenceGetDataTable dataTable, global::System.Nullable<long> rIncidentId) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((rIncidentId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[1].Value = ((long)(rIncidentId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].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, true)]
        public virtual PreventOccurrence.pRptPreventOccurrenceGetDataTable GetData(global::System.Nullable<long> rIncidentId) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((rIncidentId.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[1].Value = ((long)(rIncidentId.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            PreventOccurrence.pRptPreventOccurrenceGetDataTable dataTable = new PreventOccurrence.pRptPreventOccurrenceGetDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
    ///</summary>
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
        "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
    public partial class TableAdapterManager : global::System.ComponentModel.Component {
        
        private UpdateOrderOption _updateOrder;
        
        private bool _backupDataSetBeforeUpdate;
        
        private global::System.Data.IDbConnection _connection;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "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")]
        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;
                }
                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;
                return count;
            }
        }
        
        /// <summary>
        ///Update rows in top-down order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private int UpdateUpdatedRows(PreventOccurrence dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            int result = 0;
            return result;
        }
        
        /// <summary>
        ///Insert rows in top-down order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private int UpdateInsertedRows(PreventOccurrence dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            int result = 0;
            return result;
        }
        
        /// <summary>
        ///Delete rows in bottom-up order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private int UpdateDeletedRows(PreventOccurrence dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
            int result = 0;
            return result;
        }
        
        /// <summary>
        ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
        ///</summary>
        [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<global::System.Data.DataRow> allAddedRows) {
            if (((updatedRows == null) 
                        || (updatedRows.Length < 1))) {
                return updatedRows;
            }
            if (((allAddedRows == null) 
                        || (allAddedRows.Count < 1))) {
                return updatedRows;
            }
            global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            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();
        }
        
        /// <summary>
        ///Update all changes to the dataset.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public virtual int UpdateAll(PreventOccurrence dataSet) {
            if ((dataSet == null)) {
                throw new global::System.ArgumentNullException("dataSet");
            }
            if ((dataSet.HasChanges() == false)) {
                return 0;
            }
            global::System.Data.IDbConnection workConnection = this.Connection;
            if ((workConnection == null)) {
                throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
                        "ger TableAdapter property to a valid TableAdapter instance.");
            }
            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("The transaction cannot begin. The current data connection does not support transa" +
                        "ctions or the current state is not allowing the transaction to begin.");
            }
            global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
            global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
            int result = 0;
            global::System.Data.DataSet backupDataSet = null;
            if (this.BackupDataSetBeforeUpdate) {
                backupDataSet = new global::System.Data.DataSet();
                backupDataSet.Merge(dataSet);
            }
            try {
                // ---- Prepare for update -----------
                //
                // 
                //---- Perform updates -----------
                //
                if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
                    result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
                    result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
                }
                else {
                    result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
                    result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
                }
                result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
                // 
                //---- Commit updates -----------
                //
                workTransaction.Commit();
                if ((0 < allAddedRows.Count)) {
                    global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
                    allAddedRows.CopyTo(rows);
                    for (int i = 0; (i < rows.Length); i = (i + 1)) {
                        global::System.Data.DataRow row = rows[i];
                        row.AcceptChanges();
                    }
                }
                if ((0 < allChangedRows.Count)) {
                    global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
                    allChangedRows.CopyTo(rows);
                    for (int i = 0; (i < rows.Length); i = (i + 1)) {
                        global::System.Data.DataRow row = rows[i];
                        row.AcceptChanges();
                    }
                }
            }
            catch (global::System.Exception ex) {
                workTransaction.Rollback();
                // ---- Restore the dataset -----------
                if (this.BackupDataSetBeforeUpdate) {
                    global::System.Diagnostics.Debug.Assert((backupDataSet != null));
                    dataSet.Clear();
                    dataSet.Merge(backupDataSet);
                }
                else {
                    if ((0 < allAddedRows.Count)) {
                        global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
                        allAddedRows.CopyTo(rows);
                        for (int i = 0; (i < rows.Length); i = (i + 1)) {
                            global::System.Data.DataRow row = rows[i];
                            row.AcceptChanges();
                            row.SetAdded();
                        }
                    }
                }
                throw ex;
            }
            finally {
                if (workConnOpened) {
                    workConnection.Close();
                }
                if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
                    global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
                    adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
                    for (int i = 0; (i < adapters.Length); i = (i + 1)) {
                        global::System.Data.Common.DataAdapter adapter = adapters[i];
                        adapter.AcceptChangesDuringUpdate = true;
                    }
                }
            }
            return result;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
            global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
            if ((this._connection != null)) {
                return true;
            }
            if (((this.Connection == null) 
                        || (inputConnection == null))) {
                return true;
            }
            if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
                return true;
            }
            return false;
        }
        
        /// <summary>
        ///Update Order Option
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public enum UpdateOrderOption {
            
            InsertUpdateDelete = 0,
            
            UpdateInsertDelete = 1,
        }
        
        /// <summary>
        ///Used to sort self-referenced table's rows
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
            
            private global::System.Data.DataRelation _relation;
            
            private int _childFirst;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
                this._relation = relation;
                if (childFirst) {
                    this._childFirst = -1;
                }
                else {
                    this._childFirst = 1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
                global::System.Diagnostics.Debug.Assert((row != null));
                global::System.Data.DataRow root = row;
                distance = 0;

                global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
                traversedRows[row] = row;

                global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
                for (
                ; ((parent != null) 
                            && (traversedRows.ContainsKey(parent) == false)); 
                ) {
                    distance = (distance + 1);
                    root = parent;
                    traversedRows[parent] = parent;
                    parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
                }

                if ((distance == 0)) {
                    traversedRows.Clear();
                    traversedRows[row] = row;
                    parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
                    for (
                    ; ((parent != null) 
                                && (traversedRows.ContainsKey(parent) == false)); 
                    ) {
                        distance = (distance + 1);
                        root = parent;
                        traversedRows[parent] = parent;
                        parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
                    }
                }

                return root;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
                if (object.ReferenceEquals(row1, row2)) {
                    return 0;
                }
                if ((row1 == null)) {
                    return -1;
                }
                if ((row2 == null)) {
                    return 1;
                }

                int distance1 = 0;
                global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);

                int distance2 = 0;
                global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);

                if (object.ReferenceEquals(root1, root2)) {
                    return (this._childFirst * distance1.CompareTo(distance2));
                }
                else {
                    global::System.Diagnostics.Debug.Assert(((root1.Table != null) 
                                    && (root2.Table != null)));
                    if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
                        return -1;
                    }
                    else {
                        return 1;
                    }
                }
            }
        }
    }
}

#pragma warning restore 1591