public Spartane.Core.Classes.Detalle_Identificacion_Oficial_Medicos.Detalle_Identificacion_Oficial_MedicosPagingModel 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_Identificacion_Oficial_Medicos>("sp_ListSelAll_Detalle_Identificacion_Oficial_Medicos", padWhere, padOrder, padstartRowIndex, padmaximumRows); Detalle_Identificacion_Oficial_MedicosPagingModel result = null; if (data != null) { result = new Detalle_Identificacion_Oficial_MedicosPagingModel { Detalle_Identificacion_Oficial_Medicoss = data.Select(m => new Spartane.Core.Classes.Detalle_Identificacion_Oficial_Medicos.Detalle_Identificacion_Oficial_Medicos { Folio = m.Detalle_Identificacion_Oficial_Medicos_Folio , Folio_Medico = m.Detalle_Identificacion_Oficial_Medicos_Folio_Medico , Tipo_de_Identificacion_Oficial = m.Detalle_Identificacion_Oficial_Medicos_Tipo_de_Identificacion_Oficial , Tipo_de_Identificacion_Oficial_Identificaciones_Oficiales = new Core.Classes.Identificaciones_Oficiales.Identificaciones_Oficiales() { Clave = m.Detalle_Identificacion_Oficial_Medicos_Tipo_de_Identificacion_Oficial.GetValueOrDefault(), Descripcion = m.Detalle_Identificacion_Oficial_Medicos_Tipo_de_Identificacion_Oficial_Descripcion } , Documento = m.Detalle_Identificacion_Oficial_Medicos_Documento //,Id = m.Id }).ToList() }; } return(result); }
public Spartane.Core.Domain.Detalle_Identificacion_Oficial_Medicos.Detalle_Identificacion_Oficial_MedicosPagingModel ListaSelAll(int startRowIndex, int maximumRows, string Where, string Order) { Detalle_Identificacion_Oficial_MedicosPagingModel result = null; return(result); }