public Spartane.Core.Classes.Detalle_Facturacion_Vendedores.Detalle_Facturacion_VendedoresPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order)
        {
            var padstartRowIndex = _dataProvider.GetParameter();

            padstartRowIndex.ParameterName = "startRowIndex";
            padstartRowIndex.DbType        = DbType.Int32;
            padstartRowIndex.Value         = startRowIndex;

            var padmaximumRows = _dataProvider.GetParameter();

            padmaximumRows.ParameterName = "maximumRows";
            padmaximumRows.DbType        = DbType.Int32;
            padmaximumRows.Value         = maximumRows;

            var padWhere = _dataProvider.GetParameter();

            padWhere.ParameterName = "Where";
            padWhere.DbType        = DbType.String;
            padWhere.Value         = Where;

            var padOrder = _dataProvider.GetParameter();

            padOrder.ParameterName = "Order";
            padOrder.DbType        = DbType.String;
            padOrder.Value         = Order;

            var data = _dbContext.ExecuteStoredProcedureList <Spartane.Core.Classes.StoredProcedure.SpListSelAllDetalle_Facturacion_Vendedores>("sp_ListSelAll_Detalle_Facturacion_Vendedores", padWhere, padOrder, padstartRowIndex, padmaximumRows);

            Detalle_Facturacion_VendedoresPagingModel result = null;

            if (data != null)
            {
                result = new Detalle_Facturacion_VendedoresPagingModel
                {
                    Detalle_Facturacion_Vendedoress =
                        data.Select(m => new Spartane.Core.Classes.Detalle_Facturacion_Vendedores.Detalle_Facturacion_Vendedores
                    {
                        Folio = m.Detalle_Facturacion_Vendedores_Folio
                        , Fecha_de_Registro        = m.Detalle_Facturacion_Vendedores_Fecha_de_Registro
                        , Folio_Factura            = m.Detalle_Facturacion_Vendedores_Folio_Factura
                        , Periodo_Facturado        = m.Detalle_Facturacion_Vendedores_Periodo_Facturado
                        , Cantidad                 = m.Detalle_Facturacion_Vendedores_Cantidad
                        , Archivo_XML              = m.Detalle_Facturacion_Vendedores_Archivo_XML
                        , Archivo_PDF              = m.Detalle_Facturacion_Vendedores_Archivo_PDF
                        , Estatus                  = m.Detalle_Facturacion_Vendedores_Estatus
                        , Estatus_Estatus_Facturas = new Core.Classes.Estatus_Facturas.Estatus_Facturas()
                        {
                            Clave = m.Detalle_Facturacion_Vendedores_Estatus.GetValueOrDefault(), Descripcion = m.Detalle_Facturacion_Vendedores_Estatus_Descripcion
                        }
                        , Fecha_programada_de_Pago = m.Detalle_Facturacion_Vendedores_Fecha_programada_de_Pago
                        , Pagada        = m.Detalle_Facturacion_Vendedores_Pagada ?? false
                        , Fecha_de_Pago = m.Detalle_Facturacion_Vendedores_Fecha_de_Pago

                                          //,Id = m.Id
                    }).ToList()
                };
            }
            return(result);
        }
        public Spartane.Core.Domain.Detalle_Facturacion_Vendedores.Detalle_Facturacion_VendedoresPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order)
        {
            Detalle_Facturacion_VendedoresPagingModel result = null;

            return(result);
        }