Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VS 2013 can not evaluate expression
Message
From
07/08/2014 06:19:45
 
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01605242
Message ID:
01605278
Views:
51
>RepositoryBase has this code
>
>
> public virtual T GetById(object id)
>        {
>            return _dbSet.Find(id);
>        }
>
Raises more questions than it answers :-{
The class containing the virtual is obviously generic so how is it defined. I'd guess 'T:Class' and that the return from GetById() is an instance of Operator.
I'd also guess that the sub class is defined as inheriting
: parent<Operator>
?
Are those assumptions correct?

IAC, from what you say is doesn't sound as if an exception is being thrown - why not just step the call to see what is happening?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform