Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Using this SqlCommand will work
- new SqlCommand("SELECT [employees].[name] FROM [dbo].[employees]", sqlNotificationConn)
- //But this one won't
- new SqlCommand("SELECT [employees].* FROM [dbo].[employees]", sqlNotificationConn)
- //And this one won't either
- new SqlCommand("SELECT * FROM [dbo].[employees]", sqlNotificationConn)
- query.ToString()
- ((ObjectQuery)query).ToTraceString()
Add Comment
Please, Sign In to add comment