ISerieTablaDetalle.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Data;
6 
7 namespace sage.ew.serie.Interficies
8 {
12  //public interface ISerieTablaDetalle<in T>
13  //{
14  // /// <summary>
15  // /// Operacion de consulta
16  // /// </summary>
17  // /// <param name="tcEmpresa">Código de empresa</param>
18  // /// <param name="tcNumero">Número de documento</param>
19  // /// <param name="tcLetra">Serie de documento</param>
20  // /// <param name="tnLinea">Línea</param>
21  // /// <param name="tdtDatos">DataTable a actualizar</param>
22  // /// <returns>True si se ha ejecutado correctamente</returns>
23  // bool _Consultar(string tcEmpresa, string tcNumero, string tcLetra, int tnLinea, ref DataTable tdtDatos);
24 
25  // /// <summary>
26  // /// Operacion de consulta
27  // /// </summary>
28  // /// <param name="toLinea">Objeto línea</param>
29  // /// <param name="tdtDatos">DataTable a actualizar</param>
30  // /// <param name="tlFiltrarLineas">Activar el filtrado por lineas</param>
31  // /// <param name="tcSerie">Filtro de serie</param>
32  // /// <returns>True si se ha ejecutado correctamente</returns>
33  // bool _Consultar(IDocumentoLineaExtensiones toLinea, ref DataTable tdtDatos, bool tlFiltrarLineas = true, string tcSerie = "");
34 
35  // string ObtenerQuery(Enum teOperacion, string tcPosicionLista = "");
36  //}
37 
38  //public class TestTable : ISerieTablaDetalle<Enum>
39  //{
40 
41 
42  // public bool _Consultar(string tcEmpresa, string tcNumero, string tcLetra, int tnLinea, ref DataTable tdtDatos)
43  // {
44  // throw new NotImplementedException();
45  // }
46 
47  // public bool _Consultar(IDocumentoLineaExtensiones toLinea, ref DataTable tdtDatos, bool tlFiltrarLineas = true, string tcSerie = "")
48  // {
49  // throw new NotImplementedException();
50  // }
51 
52  // //public string ObtenerQuery(eOperacionesVenser teOperacion, string tcPosicionLista = "")
53  // //{
54  // // throw new NotImplementedException();
55  // //}
56 
57 
58  // public string ObtenerQuery(Enum teOperacion, string tcPosicionLista = "")
59  // {
60  // throw new NotImplementedException();
61  // }
62  //}
63 
64  //public class TestTable2
65  //{
66  // public void DoWork()
67  // {
68  // TestTable loTest = new TestTable();
69  // loTest.ObtenerQuery(eOperacionesVenser.Actualizar, "");
70  // }
71  //}
72 }