コード例 #1
0
 /// <summary>
 /// Determines wheter an element is in the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_PE to locate in the collection.</param>
 /// <returns>True if found; else false.</returns>
 public bool Contains(Z00_BURO_PE value)
 {
     return(List.Contains(value));
 }
コード例 #2
0
 /// <summary>
 /// Inserts a Z00_BURO_PE into the collection at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The Z00_BURO_PE to insert.</param>
 public void Insert(int index, Z00_BURO_PE value)
 {
     List.Insert(index, value);
 }
コード例 #3
0
 /// <summary>
 /// Searches for the specified Z00_BURO_PE and returnes the zero-based index of the first occurrence in the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_PE to locate in the collection.</param>
 /// <returns>The index of the object found or -1.</returns>
 public int IndexOf(Z00_BURO_PE value)
 {
     return(List.IndexOf(value));
 }
コード例 #4
0
 /// <summary>
 /// Removes the first occurrence of the specified Z00_BURO_PE from the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_PE to remove from the collection.</param>
 public void Remove(Z00_BURO_PE value)
 {
     List.Remove(value);
 }
コード例 #5
0
 /// <summary>
 /// Adds a Z00_BURO_PE to the end of the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_PE to be added to the end of the collection.</param>
 /// <returns>The index of the newZ00_BURO_PE.</returns>
 public int Add(Z00_BURO_PE value)
 {
     return(List.Add(value));
 }
コード例 #6
0
 /// <summary>
 /// Determines wheter an element is in the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_PE to locate in the collection.</param>
 /// <returns>True if found; else false.</returns>
 public bool Contains(Z00_BURO_PE value)
 {
     return List.Contains(value);
 }
コード例 #7
0
 /// <summary>
 /// Copies the contents of the Z00_BURO_PETable to the specified one-dimensional array starting at the specified index in the target array.
 /// </summary>
 /// <param name="array">The one-dimensional destination array.</param>           
 /// <param name="index">The zero-based index in array at which copying begins.</param>           
 public void CopyTo(Z00_BURO_PE[] array, int index)
 {
     List.CopyTo(array, index);
 }
コード例 #8
0
 /// <summary>
 /// Adds a Z00_BURO_PE to the end of the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_PE to be added to the end of the collection.</param>
 /// <returns>The index of the newZ00_BURO_PE.</returns>
 public int Add(Z00_BURO_PE value)
 {
     return List.Add(value);
 }
コード例 #9
0
 /// <summary>
 /// Removes the first occurrence of the specified Z00_BURO_PE from the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_PE to remove from the collection.</param>
 public void Remove(Z00_BURO_PE value)
 {
     List.Remove(value);
 }
コード例 #10
0
 /// <summary>
 /// Inserts a Z00_BURO_PE into the collection at the specified index.
 /// </summary>
 /// <param name="index">The zero-based index at which value should be inserted.</param>
 /// <param name="value">The Z00_BURO_PE to insert.</param>
 public void Insert(int index, Z00_BURO_PE value)
 {
     List.Insert(index, value);
 }
コード例 #11
0
 /// <summary>
 /// Searches for the specified Z00_BURO_PE and returnes the zero-based index of the first occurrence in the collection.
 /// </summary>
 /// <param name="value">The Z00_BURO_PE to locate in the collection.</param>
 /// <returns>The index of the object found or -1.</returns>
 public int IndexOf(Z00_BURO_PE value)
 {
     return List.IndexOf(value);
 }
コード例 #12
0
 public int PE_respuestaSeccionEmpleos(int estadoInc)
 {
     bool salir = false;
     int repeticiones=0;
     while (salir == false && estadoInc < etiSecc.Count)
     {
         switch(etiSecc[estadoInc].ToString())
         {
             case "PE":
                 if(repeticiones==0)
                 {
                     seccionEmpleos.Razonsocial = valSecc[estadoInc].ToString();
                     repeticiones++;
                 }
                 else
                 {
                     if(repeticiones<2)
                     {
                         seccionEmpleosTable.Add(seccionEmpleos);
                         seccionEmpleos = new Z00_BURO_PE();
                         seccionEmpleos.Razonsocial = valSecc[estadoInc].ToString();
                         repeticiones++;
                     }
                     else
                     {
                         Console.WriteLine("Esta seccion solo se puede repetir 2 veces debe existir un error");
                     }
                 }
                 break;
             case "00":
                 seccionEmpleos.Direccion1 = valSecc[estadoInc].ToString();
                 break;
             case "01":
                 seccionEmpleos.Direccion2 = valSecc[estadoInc].ToString();
                 break;
             case "02":
                 seccionEmpleos.Colonia = valSecc[estadoInc].ToString();
                 break;
             case "03":
                 seccionEmpleos.Municipio = valSecc[estadoInc].ToString();
                 break;
             case "04":
                 seccionEmpleos.Ciudad= valSecc[estadoInc].ToString();
                 break;
             case "05":
                 seccionEmpleos.Estado = valSecc[estadoInc].ToString();
                 break;
             case "06":
                 seccionEmpleos.Cp = valSecc[estadoInc].ToString();
                 break;
             case "07":
                 seccionEmpleos.Telefono = valSecc[estadoInc].ToString();
                 break;
             case "08":
                 seccionEmpleos.Extension_Tel = valSecc[estadoInc].ToString();
                 break;
             case "09":
                 seccionEmpleos.Fax = valSecc[estadoInc].ToString();
                 break;
             case "10":
                 seccionEmpleos.Cargo = valSecc[estadoInc].ToString();
                 break;
             case "11":
                 seccionEmpleos.Fecha_Contrata = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString());
                 break;
             case "12":
                 seccionEmpleos.Moneda = valSecc[estadoInc].ToString();
                 break;
             case "13":
                 seccionEmpleos.Salario = valSecc[estadoInc].ToString();
                 break;
             case "14":
                 seccionEmpleos.Base = valSecc[estadoInc].ToString();
                 break;
             case "15":
                 seccionEmpleos.Num_Empleado = valSecc[estadoInc].ToString();
                 break;
             case "16":
                 seccionEmpleos.Fecha_Ult_Dia = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString());
                 break;
             case "17":
                 seccionEmpleos.Fecha_Registro= cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString());
                 break;
             case "18":
                 seccionEmpleos.Fecha_Verif = cambiaFechaAFormatoABAP(valSecc[estadoInc].ToString());
                 break;
             case "19":
                 seccionEmpleos.Modo_Verif = valSecc[estadoInc].ToString();
                 break;
             default:
                 salir= true;
                 estadoInc=estadoInc-2;
                 break;
         }
         estadoInc++;
     }
     seccionEmpleosTable.Add(seccionEmpleos);
     return estadoInc;
 }