public IList <CVN_PRODUCTO_PLAN> GetAllActivesFilters(CVN_PRODUCTO_PLAN entity) { List <CVN_PRODUCTO_PLAN> producto_plan = new List <CVN_PRODUCTO_PLAN>(); using (var comando = _database.GetStoredProcCommand(string.Format("{0}{1}", ConectionStringRepository.EsquemaName, "p_CVN_PRODUCTO_PLAN_GetAllActives"))) { _database.AddInParameter(comando, "@c_codigo_iafa", DbType.Int32, entity.c_codigo_iafa); using (var lector = _database.ExecuteReader(comando)) { while (lector.Read()) { producto_plan.Add(new CVN_PRODUCTO_PLAN { id_producto_plan = lector.IsDBNull(lector.GetOrdinal("id_producto_plan")) ? default(int) : lector.GetInt32(lector.GetOrdinal("id_producto_plan")), c_codigo = lector.IsDBNull(lector.GetOrdinal("c_codigo")) ? default(string) : lector.GetString(lector.GetOrdinal("c_codigo")), t_descripcion = lector.IsDBNull(lector.GetOrdinal("t_descripcion")) ? default(string) : lector.GetString(lector.GetOrdinal("t_descripcion")), }); } } } return(producto_plan); }
public int Update(CVN_PRODUCTO_PLAN entity) { throw new NotImplementedException(); }
public IList <CVN_PRODUCTO_PLAN> GetById(CVN_PRODUCTO_PLAN entity) { throw new NotImplementedException(); }
public IList <CVN_PRODUCTO_PLAN> GetAllActivesFilters(CVN_PRODUCTO_PLAN entity) { return(CVN_PRODUCTO_PLANRepository.Instancia.GetAllActivesFilters(entity)); }
public bool Exists(CVN_PRODUCTO_PLAN entity) { throw new NotImplementedException(); }