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#+.net的程序移植到linux上C#/.Net 的怎么找工作,刷题呢?感觉公司有限啊?unidentified_title达拉斯地区web开发职位选择 WCF 还是 ASP.NET WebApi (转载)Junior DotNet Developer for Dallas TexasSystem.Data.SqlClient.SqlException: A network-related or instance -specific errorsr .net and network engineer openings (转载)我承认,我惊呆了.net framework 4.0不能用enum吗?Deployment and auto-update着急求教一個c#問題,怎么能func的時候,subscribe (转载)mvc4到底比web form application好在哪里?azureWebSocket问题 (转载)error .mdf file unable to attach in Visual Studio 2013 win (转载)c#怎么测试deadlock, race condition啊? (转载)想做一个网站 (转载)新手提问 怎么连接vb.net 和access数据库WPF还会出新版本吗?