public Spartane.Core.Classes.Formas_de_Pago.Formas_de_PagoPagingModel 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.SpListSelAllFormas_de_Pago>("sp_ListSelAll_Formas_de_Pago", padWhere, padOrder, padstartRowIndex, padmaximumRows); Formas_de_PagoPagingModel result = null; if (data != null) { result = new Formas_de_PagoPagingModel { Formas_de_Pagos = data.Select(m => new Spartane.Core.Classes.Formas_de_Pago.Formas_de_Pago { Clave = m.Formas_de_Pago_Clave , Nombre = m.Formas_de_Pago_Nombre //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Formas_de_Pago.Formas_de_PagoPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Formas_de_PagoPagingModel result = null; return(result); }