Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VS 2013 can not evaluate expression
Message
 
 
À
08/08/2014 15:59:16
Information générale
Forum:
ASP.NET
Catégorie:
Problèmes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01605242
Message ID:
01605359
Vues:
33
Hi Rob,

May be you can also explain this strange code to me
exec sp_executesql N'SELECT TOP (2) 
    [Extent1].[op_code] AS [op_code], 
    [Extent1].[first_name] AS [first_name], 
    [Extent1].[last_name] AS [last_name], 
    [Extent1].[password] AS [password], 
    other columns

    FROM [dbo].[operator] AS [Extent1]
    WHERE [Extent1].[op_code] = @p0',N'@p0 varchar(8000)',@p0='333333'
this is happening when I select an operator in the grid. I don't understand where the TOP(2) come from. I also would very much like to use the @p0 defined as char(6) instead of
varchar(8000).

The _dbSet.Find(id) method is being executed here.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform