Func<vw_UsuarioPerfilAtributo, bool> expressionPerfil = Perf =>
foreach(int _key in Keys){
Perf.Id == _key ||
}
(I need multiple OR ||)
I think this is faster than
List<vw_UsuarioPerfilAtributo> teste = new List<vw_UsuarioPerfilAtributo>();
teste.add(context.Find(Id));
Possible?
Maybe you need something like:
And:
Or just:
In this case
context.Find(id)(where context is aList<>) returns the found element while the previous code returns a boolean because ofFunc<vw_UsuarioPerfilAtributo, bool>