c*e
2 楼
DbSet<> 和 List<> 有什么区别?
2个貌似都可以做 Getall(),get(int id),put(object o),delete(int id).
一个是repository class里面的;一个是context class里面的。
2个貌似都可以做 Getall(),get(int id),put(object o),delete(int id).
一个是repository class里面的;一个是context class里面的。
u*d
3 楼
还是别了,军版,水版最合适,吵架也有水准,绝对够你忙的。
x*n
4 楼
First, you can not use List<> in a DbContext; Second, DbSet<> doesn't have
the data in memory, at least not all data, most of them are still in the
database; third, can you query a List<>?
the data in memory, at least not all data, most of them are still in the
database; third, can you query a List<>?
R*n
5 楼
No, 6.4的话题太承重和敏感。 不适合本版
x*n
6 楼
First, you can not use List<> in a DbContext; Second, DbSet<> doesn't have
the data in memory, at least not all data, most of them are still in the
database; third, can you query a List<>?
the data in memory, at least not all data, most of them are still in the
database; third, can you query a List<>?
j*n
7 楼
Can you represent all BM's opinion?
t*n
8 楼
DbSet is specific for DB operation, the data is in the Database, List is
more generic, the data is in the memory.
more generic, the data is in the memory.
n*s
9 楼
还是别帖了吧。现在很难有理性对话,到处是谩骂,就看你屁股坐哪边。
相关阅读
Client-side application development-HELPVB.Net in DeskTop development 的面试会问什么问题Crystal Report 9 language有没有好心人...哪位大侠指点一下 DOT NET 哪里有下?datagrid怎样打印(paging)程序 运行 很长的输入文件就报错.exe.config 是只读的吗?listbox 的问题lpt1,lpt2Running ASP.NET outside an IIS.net的adrotater可以实现这种功能吗?Answer Re: ASP.NET 难题测试 (1)那位VB.NET 的大侠帮个忙。memory leakhow to let button response 'return' key?[转载] 今天安装了.net framework之后一个非常奇怪的问题what want Gmail?[zt]101 VB.NET examples