Error when I try to get an Entity
I'm trying to get a unique row from an Entity by using GetEntity method in an expression. However, when I execute the process I get the error "Error Entity metadata not found. Entity Id: -1. - There is no row at position 0.". I don't know what is going on.
I'm using the method like this: config = CEntityManager.GetEntity("ReceberInformacoesGerenc.ConfigInformacoesGerenci").GetEntityList("cod_config", "1", "","");
Where cod_config is an attribute. I'm sure there is at least one row with this attribute and the specified value. Please help me.