English 中文(简体)
ADO.NET Entity Data Model are not precise enough
原标题:

I run this code:

var cos = from k in _db.klienci_do_trasy where k.klient_id == 5 select k;

but the query send to database is:

    SELECT * FROM `klienci_do_trasy`
 LIMIT 0, 30

why is it for, there is no condition on klient_id?

问题回答

What database are you using? If this is really the case, there could be an error in the provider.





相关问题
ADO.NET Entity Data Model are not precise enough

I run this code: var cos = from k in _db.klienci_do_trasy where k.klient_id == 5 select k; but the query send to database is: SELECT * FROM `klienci_do_trasy` LIMIT 0, 30 why is it for, there ...

Synchronising SQL database through ADO.Net

The problem that i m having is how can i synchronise my datasets in my VS 2008 project to any changes in the database. As you know we read data from the db into the dataset which is disconnected, now ...

ADO.NET Data Services - Uploading files

I am trying to write REST web service through which our clients can upload a file on our file server. IS there an example or any useful links which I can refer for any guidance? I haven t seen many ...

How can I know if such value exists in database? (ADO.NET)

For example, I have a table, and there is a column named Tags . I want to know if value programming exists in this column. How can I do this in ADO.NET? I did this: OleDbCommand cmd = new ...

热门标签