Problems with LINQ?

Hi,

having this piece of code

IEnumerable<WarehouseEntities.Project> projects =
from p in db.Projects
where p.Nummer == Number
select new WarehouseEntities.Project
{
Number = p.Nummer,
GenericTerm = p.Oberbegriff,
ProjectName = p.PROJEKTBezeichnung,
};

4.0 states that (beginning at "where p.Nummer") "Cannot resolve symbol 'p'".

Should this be resolved by the current Build or is this not implemented actually?

Alex

2 comments
Comment actions Permalink

Alexander Zeitler wrote:

IEnumerable<WarehouseEntities.Project> projects =
from p in db.Projects
where p.Nummer == Number
select new WarehouseEntities.Project
{
Number = p.Nummer,
GenericTerm = p.Oberbegriff,
ProjectName = p.PROJEKTBezeichnung,
};

4.0 states that (beginning at "where p.Nummer") "Cannot resolve symbol 'p'".

Should this be resolved by the current Build or is this not implemented actually?


Hi Alex,

As stated in the release notes, there is currently no LINQ support:

http://www.jetbrains.net/confluence/display/ReSharper/ReSharper4.0EAP+Notes

Ciao,
Jens

0

Please sign in to leave a comment.