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 楼
还是别帖了吧。现在很难有理性对话,到处是谩骂,就看你屁股坐哪边。
相关阅读
问个c#的抓数据方面的问题Re: 另外推荐好书一本M$FT 在LONGHORN后面的企图How to write Virtual Channel Applicationhow to generate table in visual C#serialization problemAbout memory usage of .Net programSqlDataReader && OleDataReadermono 0.29 released问个c# treeview的问题 Java Language Conversion Assistant有人用过microsoft commerce Server solution吗?[转载] C#.NET DATAGRID 问题请教 Pagination etc请各位老大分享一下exception的使用经验吧。vb.net v.s. C#Re: payan, talk a little bit about rainbDataReader vs. DataSetSummary: 2 个web form之间如何传参数?Re: 今天买下了Visual Studio .net professional