problem with contains in objectquery
Posted
by Luca Romagnoli
on Stack Overflow
See other posts from Stack Overflow
or by Luca Romagnoli
Published on 2010-06-15T11:02:00Z
Indexed on
2010/06/15
11:12 UTC
Read the original article
Hit count: 285
This code give me an error:
string rus = "," + db_user.Anagrafica_Dipendente.ID_Dipendente + ",";
int i = db.CBR_User.Count(p => p.RiceviMail == true && ("," + p.Dipe + ",").Contains(rus))
p.Dipe
is a string
how can i do that?
thanks
© Stack Overflow or respective owner