随便写的小型orm,目前只支持sql server
使用方式SQLContext db = new SQLContext(connStr);
var list= db.Query().ToList();
var pageResult= db.Query().ToPageResult(new SQL.PageHelper.PageBa
本文转自:https://code.msdn.microsoft.com/Support-Composite-Key-in-d1d53161
he default EntitySetController doesn't support composite keys. So if you have composite key models, you need some additional
本文转自:http://chris.eldredge.io/blog/2014/04/24/Composite-Keys/
In our basic configuration we told the model builder that our entity has a composite key comprised of an ID and a version:
1
2
3
4
5