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

namespace Remuneraciones.DataSetFT {
    using System;
    using System.Data;
    using System.Xml;
    using System.Runtime.Serialization;
    
    
    [Serializable()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Diagnostics.DebuggerStepThrough()]
    [System.ComponentModel.ToolboxItem(true)]
    public class DSEmpresa : DataSet {
        
        private EmpresaDataTable tableEmpresa;
        
        public DSEmpresa() {
            this.InitClass();
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            this.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        protected DSEmpresa(SerializationInfo info, StreamingContext context) {
            string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
            if ((strSchema != null)) {
                DataSet ds = new DataSet();
                ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
                if ((ds.Tables["Empresa"] != null)) {
                    this.Tables.Add(new EmpresaDataTable(ds.Tables["Empresa"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.InitClass();
            }
            this.GetSerializationData(info, context);
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            this.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public EmpresaDataTable Empresa {
            get {
                return this.tableEmpresa;
            }
        }
        
        public override DataSet Clone() {
            DSEmpresa cln = ((DSEmpresa)(base.Clone()));
            cln.InitVars();
            return cln;
        }
        
        protected override bool ShouldSerializeTables() {
            return false;
        }
        
        protected override bool ShouldSerializeRelations() {
            return false;
        }
        
        protected override void ReadXmlSerializable(XmlReader reader) {
            this.Reset();
            DataSet ds = new DataSet();
            ds.ReadXml(reader);
            if ((ds.Tables["Empresa"] != null)) {
                this.Tables.Add(new EmpresaDataTable(ds.Tables["Empresa"]));
            }
            this.DataSetName = ds.DataSetName;
            this.Prefix = ds.Prefix;
            this.Namespace = ds.Namespace;
            this.Locale = ds.Locale;
            this.CaseSensitive = ds.CaseSensitive;
            this.EnforceConstraints = ds.EnforceConstraints;
            this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
            this.InitVars();
        }
        
        protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
            this.WriteXmlSchema(new XmlTextWriter(stream, null));
            stream.Position = 0;
            return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
        }
        
        internal void InitVars() {
            this.tableEmpresa = ((EmpresaDataTable)(this.Tables["Empresa"]));
            if ((this.tableEmpresa != null)) {
                this.tableEmpresa.InitVars();
            }
        }
        
        private void InitClass() {
            this.DataSetName = "DSEmpresa";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/DSEmpresa.xsd";
            this.Locale = new System.Globalization.CultureInfo("en-US");
            this.CaseSensitive = false;
            this.EnforceConstraints = true;
            this.tableEmpresa = new EmpresaDataTable();
            this.Tables.Add(this.tableEmpresa);
        }
        
        private bool ShouldSerializeEmpresa() {
            return false;
        }
        
        private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        public delegate void EmpresaRowChangeEventHandler(object sender, EmpresaRowChangeEvent e);
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class EmpresaDataTable : DataTable, System.Collections.IEnumerable {
            
            private DataColumn columnidNumero;
            
            private DataColumn columnMes;
            
            private DataColumn columnRazonSocial;
            
            private DataColumn columnLogo;
            
            private DataColumn columnRUT;
            
            private DataColumn columnDV;
            
            private DataColumn columnDireccion;
            
            private DataColumn columnNumero;
            
            private DataColumn columnOficina;
            
            private DataColumn columnComuna;
            
            private DataColumn columnFonos;
            
            private DataColumn columnGiro;
            
            private DataColumn columnCodigoActividad;
            
            private DataColumn columnRepresentante;
            
            private DataColumn columnRutRepresentante;
            
            private DataColumn columnDVRepresentante;
            
            private DataColumn columnMutual;
            
            private DataColumn columnTasaMutual;
            
            private DataColumn columnCCAF;
            
            private DataColumn columnLey19404Emp;
            
            private DataColumn columnLey19404Tra;
            
            private DataColumn columnTextoPieLiquidacion;
            
            private DataColumn columnTextoCtaCorriente;
            
            private DataColumn columnCodigoMutual;
            
            private DataColumn columnCodigoCaja;
            
            private DataColumn columnCodigoPostal;
            
            private DataColumn columnAdherente;
            
            private DataColumn columnIdhaber;
            
            private DataColumn columnCerrado;
            
            private DataColumn columnIdUser;
            
            private DataColumn columnisAbiertoInternet;
            
            private DataColumn columnFotoLogo;
            
            private DataColumn columnFotoTimbre;
            
            private DataColumn columnFotoFirma;
            
            internal EmpresaDataTable() : 
                    base("Empresa") {
                this.InitClass();
            }
            
            internal EmpresaDataTable(DataTable table) : 
                    base(table.TableName) {
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
                this.DisplayExpression = table.DisplayExpression;
            }
            
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            internal DataColumn idNumeroColumn {
                get {
                    return this.columnidNumero;
                }
            }
            
            internal DataColumn MesColumn {
                get {
                    return this.columnMes;
                }
            }
            
            internal DataColumn RazonSocialColumn {
                get {
                    return this.columnRazonSocial;
                }
            }
            
            internal DataColumn LogoColumn {
                get {
                    return this.columnLogo;
                }
            }
            
            internal DataColumn RUTColumn {
                get {
                    return this.columnRUT;
                }
            }
            
            internal DataColumn DVColumn {
                get {
                    return this.columnDV;
                }
            }
            
            internal DataColumn DireccionColumn {
                get {
                    return this.columnDireccion;
                }
            }
            
            internal DataColumn NumeroColumn {
                get {
                    return this.columnNumero;
                }
            }
            
            internal DataColumn OficinaColumn {
                get {
                    return this.columnOficina;
                }
            }
            
            internal DataColumn ComunaColumn {
                get {
                    return this.columnComuna;
                }
            }
            
            internal DataColumn FonosColumn {
                get {
                    return this.columnFonos;
                }
            }
            
            internal DataColumn GiroColumn {
                get {
                    return this.columnGiro;
                }
            }
            
            internal DataColumn CodigoActividadColumn {
                get {
                    return this.columnCodigoActividad;
                }
            }
            
            internal DataColumn RepresentanteColumn {
                get {
                    return this.columnRepresentante;
                }
            }
            
            internal DataColumn RutRepresentanteColumn {
                get {
                    return this.columnRutRepresentante;
                }
            }
            
            internal DataColumn DVRepresentanteColumn {
                get {
                    return this.columnDVRepresentante;
                }
            }
            
            internal DataColumn MutualColumn {
                get {
                    return this.columnMutual;
                }
            }
            
            internal DataColumn TasaMutualColumn {
                get {
                    return this.columnTasaMutual;
                }
            }
            
            internal DataColumn CCAFColumn {
                get {
                    return this.columnCCAF;
                }
            }
            
            internal DataColumn Ley19404EmpColumn {
                get {
                    return this.columnLey19404Emp;
                }
            }
            
            internal DataColumn Ley19404TraColumn {
                get {
                    return this.columnLey19404Tra;
                }
            }
            
            internal DataColumn TextoPieLiquidacionColumn {
                get {
                    return this.columnTextoPieLiquidacion;
                }
            }
            
            internal DataColumn TextoCtaCorrienteColumn {
                get {
                    return this.columnTextoCtaCorriente;
                }
            }
            
            internal DataColumn CodigoMutualColumn {
                get {
                    return this.columnCodigoMutual;
                }
            }
            
            internal DataColumn CodigoCajaColumn {
                get {
                    return this.columnCodigoCaja;
                }
            }
            
            internal DataColumn CodigoPostalColumn {
                get {
                    return this.columnCodigoPostal;
                }
            }
            
            internal DataColumn AdherenteColumn {
                get {
                    return this.columnAdherente;
                }
            }
            
            internal DataColumn IdhaberColumn {
                get {
                    return this.columnIdhaber;
                }
            }
            
            internal DataColumn CerradoColumn {
                get {
                    return this.columnCerrado;
                }
            }
            
            internal DataColumn IdUserColumn {
                get {
                    return this.columnIdUser;
                }
            }
            
            internal DataColumn isAbiertoInternetColumn {
                get {
                    return this.columnisAbiertoInternet;
                }
            }
            
            internal DataColumn FotoLogoColumn {
                get {
                    return this.columnFotoLogo;
                }
            }
            
            internal DataColumn FotoTimbreColumn {
                get {
                    return this.columnFotoTimbre;
                }
            }
            
            internal DataColumn FotoFirmaColumn {
                get {
                    return this.columnFotoFirma;
                }
            }
            
            public EmpresaRow this[int index] {
                get {
                    return ((EmpresaRow)(this.Rows[index]));
                }
            }
            
            public event EmpresaRowChangeEventHandler EmpresaRowChanged;
            
            public event EmpresaRowChangeEventHandler EmpresaRowChanging;
            
            public event EmpresaRowChangeEventHandler EmpresaRowDeleted;
            
            public event EmpresaRowChangeEventHandler EmpresaRowDeleting;
            
            public void AddEmpresaRow(EmpresaRow row) {
                this.Rows.Add(row);
            }
            
            public EmpresaRow AddEmpresaRow(
                        string idNumero, 
                        System.Byte Mes, 
                        string RazonSocial, 
                        string Logo, 
                        string RUT, 
                        string DV, 
                        string Direccion, 
                        string Numero, 
                        string Oficina, 
                        string Comuna, 
                        string Fonos, 
                        string Giro, 
                        string CodigoActividad, 
                        string Representante, 
                        string RutRepresentante, 
                        string DVRepresentante, 
                        string Mutual, 
                        System.Double TasaMutual, 
                        string CCAF, 
                        System.Double Ley19404Emp, 
                        System.Double Ley19404Tra, 
                        string TextoPieLiquidacion, 
                        string TextoCtaCorriente, 
                        string CodigoMutual, 
                        string CodigoCaja, 
                        string CodigoPostal, 
                        string Adherente, 
                        string Idhaber, 
                        bool Cerrado, 
                        string IdUser, 
                        bool isAbiertoInternet, 
                        System.Byte[] FotoLogo, 
                        System.Byte[] FotoTimbre, 
                        System.Byte[] FotoFirma) {
                EmpresaRow rowEmpresaRow = ((EmpresaRow)(this.NewRow()));
                rowEmpresaRow.ItemArray = new object[] {
                        idNumero,
                        Mes,
                        RazonSocial,
                        Logo,
                        RUT,
                        DV,
                        Direccion,
                        Numero,
                        Oficina,
                        Comuna,
                        Fonos,
                        Giro,
                        CodigoActividad,
                        Representante,
                        RutRepresentante,
                        DVRepresentante,
                        Mutual,
                        TasaMutual,
                        CCAF,
                        Ley19404Emp,
                        Ley19404Tra,
                        TextoPieLiquidacion,
                        TextoCtaCorriente,
                        CodigoMutual,
                        CodigoCaja,
                        CodigoPostal,
                        Adherente,
                        Idhaber,
                        Cerrado,
                        IdUser,
                        isAbiertoInternet,
                        FotoLogo,
                        FotoTimbre,
                        FotoFirma};
                this.Rows.Add(rowEmpresaRow);
                return rowEmpresaRow;
            }
            
            public EmpresaRow FindByidNumeroMes(string idNumero, System.Byte Mes) {
                return ((EmpresaRow)(this.Rows.Find(new object[] {
                            idNumero,
                            Mes})));
            }
            
            public System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            public override DataTable Clone() {
                EmpresaDataTable cln = ((EmpresaDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            protected override DataTable CreateInstance() {
                return new EmpresaDataTable();
            }
            
            internal void InitVars() {
                this.columnidNumero = this.Columns["idNumero"];
                this.columnMes = this.Columns["Mes"];
                this.columnRazonSocial = this.Columns["RazonSocial"];
                this.columnLogo = this.Columns["Logo"];
                this.columnRUT = this.Columns["RUT"];
                this.columnDV = this.Columns["DV"];
                this.columnDireccion = this.Columns["Direccion"];
                this.columnNumero = this.Columns["Numero"];
                this.columnOficina = this.Columns["Oficina"];
                this.columnComuna = this.Columns["Comuna"];
                this.columnFonos = this.Columns["Fonos"];
                this.columnGiro = this.Columns["Giro"];
                this.columnCodigoActividad = this.Columns["CodigoActividad"];
                this.columnRepresentante = this.Columns["Representante"];
                this.columnRutRepresentante = this.Columns["RutRepresentante"];
                this.columnDVRepresentante = this.Columns["DVRepresentante"];
                this.columnMutual = this.Columns["Mutual"];
                this.columnTasaMutual = this.Columns["TasaMutual"];
                this.columnCCAF = this.Columns["CCAF"];
                this.columnLey19404Emp = this.Columns["Ley19404Emp"];
                this.columnLey19404Tra = this.Columns["Ley19404Tra"];
                this.columnTextoPieLiquidacion = this.Columns["TextoPieLiquidacion"];
                this.columnTextoCtaCorriente = this.Columns["TextoCtaCorriente"];
                this.columnCodigoMutual = this.Columns["CodigoMutual"];
                this.columnCodigoCaja = this.Columns["CodigoCaja"];
                this.columnCodigoPostal = this.Columns["CodigoPostal"];
                this.columnAdherente = this.Columns["Adherente"];
                this.columnIdhaber = this.Columns["Idhaber"];
                this.columnCerrado = this.Columns["Cerrado"];
                this.columnIdUser = this.Columns["IdUser"];
                this.columnisAbiertoInternet = this.Columns["isAbiertoInternet"];
                this.columnFotoLogo = this.Columns["FotoLogo"];
                this.columnFotoTimbre = this.Columns["FotoTimbre"];
                this.columnFotoFirma = this.Columns["FotoFirma"];
            }
            
            private void InitClass() {
                this.columnidNumero = new DataColumn("idNumero", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnidNumero);
                this.columnMes = new DataColumn("Mes", typeof(System.Byte), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnMes);
                this.columnRazonSocial = new DataColumn("RazonSocial", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnRazonSocial);
                this.columnLogo = new DataColumn("Logo", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnLogo);
                this.columnRUT = new DataColumn("RUT", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnRUT);
                this.columnDV = new DataColumn("DV", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnDV);
                this.columnDireccion = new DataColumn("Direccion", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnDireccion);
                this.columnNumero = new DataColumn("Numero", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnNumero);
                this.columnOficina = new DataColumn("Oficina", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnOficina);
                this.columnComuna = new DataColumn("Comuna", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnComuna);
                this.columnFonos = new DataColumn("Fonos", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnFonos);
                this.columnGiro = new DataColumn("Giro", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnGiro);
                this.columnCodigoActividad = new DataColumn("CodigoActividad", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnCodigoActividad);
                this.columnRepresentante = new DataColumn("Representante", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnRepresentante);
                this.columnRutRepresentante = new DataColumn("RutRepresentante", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnRutRepresentante);
                this.columnDVRepresentante = new DataColumn("DVRepresentante", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnDVRepresentante);
                this.columnMutual = new DataColumn("Mutual", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnMutual);
                this.columnTasaMutual = new DataColumn("TasaMutual", typeof(System.Double), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnTasaMutual);
                this.columnCCAF = new DataColumn("CCAF", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnCCAF);
                this.columnLey19404Emp = new DataColumn("Ley19404Emp", typeof(System.Double), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnLey19404Emp);
                this.columnLey19404Tra = new DataColumn("Ley19404Tra", typeof(System.Double), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnLey19404Tra);
                this.columnTextoPieLiquidacion = new DataColumn("TextoPieLiquidacion", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnTextoPieLiquidacion);
                this.columnTextoCtaCorriente = new DataColumn("TextoCtaCorriente", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnTextoCtaCorriente);
                this.columnCodigoMutual = new DataColumn("CodigoMutual", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnCodigoMutual);
                this.columnCodigoCaja = new DataColumn("CodigoCaja", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnCodigoCaja);
                this.columnCodigoPostal = new DataColumn("CodigoPostal", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnCodigoPostal);
                this.columnAdherente = new DataColumn("Adherente", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnAdherente);
                this.columnIdhaber = new DataColumn("Idhaber", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnIdhaber);
                this.columnCerrado = new DataColumn("Cerrado", typeof(bool), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnCerrado);
                this.columnIdUser = new DataColumn("IdUser", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnIdUser);
                this.columnisAbiertoInternet = new DataColumn("isAbiertoInternet", typeof(bool), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnisAbiertoInternet);
                this.columnFotoLogo = new DataColumn("FotoLogo", typeof(System.Byte[]), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnFotoLogo);
                this.columnFotoTimbre = new DataColumn("FotoTimbre", typeof(System.Byte[]), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnFotoTimbre);
                this.columnFotoFirma = new DataColumn("FotoFirma", typeof(System.Byte[]), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnFotoFirma);
                this.Constraints.Add(new UniqueConstraint("DSEmpresaKey1", new DataColumn[] {
                                this.columnidNumero,
                                this.columnMes}, true));
                this.columnidNumero.AllowDBNull = false;
                this.columnMes.AllowDBNull = false;
                this.columnRazonSocial.AllowDBNull = false;
                this.columnLogo.AllowDBNull = false;
                this.columnRUT.AllowDBNull = false;
                this.columnDV.AllowDBNull = false;
                this.columnDireccion.AllowDBNull = false;
                this.columnNumero.AllowDBNull = false;
                this.columnComuna.AllowDBNull = false;
                this.columnFonos.AllowDBNull = false;
                this.columnGiro.AllowDBNull = false;
                this.columnisAbiertoInternet.AllowDBNull = false;
            }
            
            public EmpresaRow NewEmpresaRow() {
                return ((EmpresaRow)(this.NewRow()));
            }
            
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
                return new EmpresaRow(builder);
            }
            
            protected override System.Type GetRowType() {
                return typeof(EmpresaRow);
            }
            
            protected override void OnRowChanged(DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.EmpresaRowChanged != null)) {
                    this.EmpresaRowChanged(this, new EmpresaRowChangeEvent(((EmpresaRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowChanging(DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.EmpresaRowChanging != null)) {
                    this.EmpresaRowChanging(this, new EmpresaRowChangeEvent(((EmpresaRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleted(DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.EmpresaRowDeleted != null)) {
                    this.EmpresaRowDeleted(this, new EmpresaRowChangeEvent(((EmpresaRow)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleting(DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.EmpresaRowDeleting != null)) {
                    this.EmpresaRowDeleting(this, new EmpresaRowChangeEvent(((EmpresaRow)(e.Row)), e.Action));
                }
            }
            
            public void RemoveEmpresaRow(EmpresaRow row) {
                this.Rows.Remove(row);
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class EmpresaRow : DataRow {
            
            private EmpresaDataTable tableEmpresa;
            
            internal EmpresaRow(DataRowBuilder rb) : 
                    base(rb) {
                this.tableEmpresa = ((EmpresaDataTable)(this.Table));
            }
            
            public string idNumero {
                get {
                    return ((string)(this[this.tableEmpresa.idNumeroColumn]));
                }
                set {
                    this[this.tableEmpresa.idNumeroColumn] = value;
                }
            }
            
            public System.Byte Mes {
                get {
                    return ((System.Byte)(this[this.tableEmpresa.MesColumn]));
                }
                set {
                    this[this.tableEmpresa.MesColumn] = value;
                }
            }
            
            public string RazonSocial {
                get {
                    return ((string)(this[this.tableEmpresa.RazonSocialColumn]));
                }
                set {
                    this[this.tableEmpresa.RazonSocialColumn] = value;
                }
            }
            
            public string Logo {
                get {
                    return ((string)(this[this.tableEmpresa.LogoColumn]));
                }
                set {
                    this[this.tableEmpresa.LogoColumn] = value;
                }
            }
            
            public string RUT {
                get {
                    return ((string)(this[this.tableEmpresa.RUTColumn]));
                }
                set {
                    this[this.tableEmpresa.RUTColumn] = value;
                }
            }
            
            public string DV {
                get {
                    return ((string)(this[this.tableEmpresa.DVColumn]));
                }
                set {
                    this[this.tableEmpresa.DVColumn] = value;
                }
            }
            
            public string Direccion {
                get {
                    return ((string)(this[this.tableEmpresa.DireccionColumn]));
                }
                set {
                    this[this.tableEmpresa.DireccionColumn] = value;
                }
            }
            
            public string Numero {
                get {
                    return ((string)(this[this.tableEmpresa.NumeroColumn]));
                }
                set {
                    this[this.tableEmpresa.NumeroColumn] = value;
                }
            }
            
            public string Oficina {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.OficinaColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.OficinaColumn] = value;
                }
            }
            
            public string Comuna {
                get {
                    return ((string)(this[this.tableEmpresa.ComunaColumn]));
                }
                set {
                    this[this.tableEmpresa.ComunaColumn] = value;
                }
            }
            
            public string Fonos {
                get {
                    return ((string)(this[this.tableEmpresa.FonosColumn]));
                }
                set {
                    this[this.tableEmpresa.FonosColumn] = value;
                }
            }
            
            public string Giro {
                get {
                    return ((string)(this[this.tableEmpresa.GiroColumn]));
                }
                set {
                    this[this.tableEmpresa.GiroColumn] = value;
                }
            }
            
            public string CodigoActividad {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.CodigoActividadColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.CodigoActividadColumn] = value;
                }
            }
            
            public string Representante {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.RepresentanteColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.RepresentanteColumn] = value;
                }
            }
            
            public string RutRepresentante {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.RutRepresentanteColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.RutRepresentanteColumn] = value;
                }
            }
            
            public string DVRepresentante {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.DVRepresentanteColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.DVRepresentanteColumn] = value;
                }
            }
            
            public string Mutual {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.MutualColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.MutualColumn] = value;
                }
            }
            
            public System.Double TasaMutual {
                get {
                    try {
                        return ((System.Double)(this[this.tableEmpresa.TasaMutualColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.TasaMutualColumn] = value;
                }
            }
            
            public string CCAF {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.CCAFColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.CCAFColumn] = value;
                }
            }
            
            public System.Double Ley19404Emp {
                get {
                    try {
                        return ((System.Double)(this[this.tableEmpresa.Ley19404EmpColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.Ley19404EmpColumn] = value;
                }
            }
            
            public System.Double Ley19404Tra {
                get {
                    try {
                        return ((System.Double)(this[this.tableEmpresa.Ley19404TraColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.Ley19404TraColumn] = value;
                }
            }
            
            public string TextoPieLiquidacion {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.TextoPieLiquidacionColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.TextoPieLiquidacionColumn] = value;
                }
            }
            
            public string TextoCtaCorriente {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.TextoCtaCorrienteColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.TextoCtaCorrienteColumn] = value;
                }
            }
            
            public string CodigoMutual {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.CodigoMutualColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.CodigoMutualColumn] = value;
                }
            }
            
            public string CodigoCaja {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.CodigoCajaColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.CodigoCajaColumn] = value;
                }
            }
            
            public string CodigoPostal {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.CodigoPostalColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.CodigoPostalColumn] = value;
                }
            }
            
            public string Adherente {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.AdherenteColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.AdherenteColumn] = value;
                }
            }
            
            public string Idhaber {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.IdhaberColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.IdhaberColumn] = value;
                }
            }
            
            public bool Cerrado {
                get {
                    try {
                        return ((bool)(this[this.tableEmpresa.CerradoColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.CerradoColumn] = value;
                }
            }
            
            public string IdUser {
                get {
                    try {
                        return ((string)(this[this.tableEmpresa.IdUserColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("No se puede obtener el valor porque es DBNull.", e);
                    }
                }
                set {
                    this[this.tableEmpresa.IdUserColumn] = value;
                }
            }
            
            public bool isAbiertoInternet {
                get {
                    return ((bool)(this[this.tableEmpresa.isAbiertoInternetColumn]));
                }
                set {
                    this[this.tableEmpresa.isAbiertoInternetColumn] = value;
                }
            }
            
            public System.Byte[] FotoLogo {
                get {
                    if (this.IsFotoLogoNull()) {
                        return null;
                    }
                    else {
                        return ((System.Byte[])(this[this.tableEmpresa.FotoLogoColumn]));
                    }
                }
                set {
                    this[this.tableEmpresa.FotoLogoColumn] = value;
                }
            }
            
            public System.Byte[] FotoTimbre {
                get {
                    if (this.IsFotoTimbreNull()) {
                        return null;
                    }
                    else {
                        return ((System.Byte[])(this[this.tableEmpresa.FotoTimbreColumn]));
                    }
                }
                set {
                    this[this.tableEmpresa.FotoTimbreColumn] = value;
                }
            }
            
            public System.Byte[] FotoFirma {
                get {
                    if (this.IsFotoFirmaNull()) {
                        return null;
                    }
                    else {
                        return ((System.Byte[])(this[this.tableEmpresa.FotoFirmaColumn]));
                    }
                }
                set {
                    this[this.tableEmpresa.FotoFirmaColumn] = value;
                }
            }
            
            public bool IsOficinaNull() {
                return this.IsNull(this.tableEmpresa.OficinaColumn);
            }
            
            public void SetOficinaNull() {
                this[this.tableEmpresa.OficinaColumn] = System.Convert.DBNull;
            }
            
            public bool IsCodigoActividadNull() {
                return this.IsNull(this.tableEmpresa.CodigoActividadColumn);
            }
            
            public void SetCodigoActividadNull() {
                this[this.tableEmpresa.CodigoActividadColumn] = System.Convert.DBNull;
            }
            
            public bool IsRepresentanteNull() {
                return this.IsNull(this.tableEmpresa.RepresentanteColumn);
            }
            
            public void SetRepresentanteNull() {
                this[this.tableEmpresa.RepresentanteColumn] = System.Convert.DBNull;
            }
            
            public bool IsRutRepresentanteNull() {
                return this.IsNull(this.tableEmpresa.RutRepresentanteColumn);
            }
            
            public void SetRutRepresentanteNull() {
                this[this.tableEmpresa.RutRepresentanteColumn] = System.Convert.DBNull;
            }
            
            public bool IsDVRepresentanteNull() {
                return this.IsNull(this.tableEmpresa.DVRepresentanteColumn);
            }
            
            public void SetDVRepresentanteNull() {
                this[this.tableEmpresa.DVRepresentanteColumn] = System.Convert.DBNull;
            }
            
            public bool IsMutualNull() {
                return this.IsNull(this.tableEmpresa.MutualColumn);
            }
            
            public void SetMutualNull() {
                this[this.tableEmpresa.MutualColumn] = System.Convert.DBNull;
            }
            
            public bool IsTasaMutualNull() {
                return this.IsNull(this.tableEmpresa.TasaMutualColumn);
            }
            
            public void SetTasaMutualNull() {
                this[this.tableEmpresa.TasaMutualColumn] = System.Convert.DBNull;
            }
            
            public bool IsCCAFNull() {
                return this.IsNull(this.tableEmpresa.CCAFColumn);
            }
            
            public void SetCCAFNull() {
                this[this.tableEmpresa.CCAFColumn] = System.Convert.DBNull;
            }
            
            public bool IsLey19404EmpNull() {
                return this.IsNull(this.tableEmpresa.Ley19404EmpColumn);
            }
            
            public void SetLey19404EmpNull() {
                this[this.tableEmpresa.Ley19404EmpColumn] = System.Convert.DBNull;
            }
            
            public bool IsLey19404TraNull() {
                return this.IsNull(this.tableEmpresa.Ley19404TraColumn);
            }
            
            public void SetLey19404TraNull() {
                this[this.tableEmpresa.Ley19404TraColumn] = System.Convert.DBNull;
            }
            
            public bool IsTextoPieLiquidacionNull() {
                return this.IsNull(this.tableEmpresa.TextoPieLiquidacionColumn);
            }
            
            public void SetTextoPieLiquidacionNull() {
                this[this.tableEmpresa.TextoPieLiquidacionColumn] = System.Convert.DBNull;
            }
            
            public bool IsTextoCtaCorrienteNull() {
                return this.IsNull(this.tableEmpresa.TextoCtaCorrienteColumn);
            }
            
            public void SetTextoCtaCorrienteNull() {
                this[this.tableEmpresa.TextoCtaCorrienteColumn] = System.Convert.DBNull;
            }
            
            public bool IsCodigoMutualNull() {
                return this.IsNull(this.tableEmpresa.CodigoMutualColumn);
            }
            
            public void SetCodigoMutualNull() {
                this[this.tableEmpresa.CodigoMutualColumn] = System.Convert.DBNull;
            }
            
            public bool IsCodigoCajaNull() {
                return this.IsNull(this.tableEmpresa.CodigoCajaColumn);
            }
            
            public void SetCodigoCajaNull() {
                this[this.tableEmpresa.CodigoCajaColumn] = System.Convert.DBNull;
            }
            
            public bool IsCodigoPostalNull() {
                return this.IsNull(this.tableEmpresa.CodigoPostalColumn);
            }
            
            public void SetCodigoPostalNull() {
                this[this.tableEmpresa.CodigoPostalColumn] = System.Convert.DBNull;
            }
            
            public bool IsAdherenteNull() {
                return this.IsNull(this.tableEmpresa.AdherenteColumn);
            }
            
            public void SetAdherenteNull() {
                this[this.tableEmpresa.AdherenteColumn] = System.Convert.DBNull;
            }
            
            public bool IsIdhaberNull() {
                return this.IsNull(this.tableEmpresa.IdhaberColumn);
            }
            
            public void SetIdhaberNull() {
                this[this.tableEmpresa.IdhaberColumn] = System.Convert.DBNull;
            }
            
            public bool IsCerradoNull() {
                return this.IsNull(this.tableEmpresa.CerradoColumn);
            }
            
            public void SetCerradoNull() {
                this[this.tableEmpresa.CerradoColumn] = System.Convert.DBNull;
            }
            
            public bool IsIdUserNull() {
                return this.IsNull(this.tableEmpresa.IdUserColumn);
            }
            
            public void SetIdUserNull() {
                this[this.tableEmpresa.IdUserColumn] = System.Convert.DBNull;
            }
            
            public bool IsFotoLogoNull() {
                return this.IsNull(this.tableEmpresa.FotoLogoColumn);
            }
            
            public void SetFotoLogoNull() {
                this[this.tableEmpresa.FotoLogoColumn] = System.Convert.DBNull;
            }
            
            public bool IsFotoTimbreNull() {
                return this.IsNull(this.tableEmpresa.FotoTimbreColumn);
            }
            
            public void SetFotoTimbreNull() {
                this[this.tableEmpresa.FotoTimbreColumn] = System.Convert.DBNull;
            }
            
            public bool IsFotoFirmaNull() {
                return this.IsNull(this.tableEmpresa.FotoFirmaColumn);
            }
            
            public void SetFotoFirmaNull() {
                this[this.tableEmpresa.FotoFirmaColumn] = System.Convert.DBNull;
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class EmpresaRowChangeEvent : EventArgs {
            
            private EmpresaRow eventRow;
            
            private DataRowAction eventAction;
            
            public EmpresaRowChangeEvent(EmpresaRow row, DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            public EmpresaRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            public DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
