
Entity Framework
文章平均质量分 51
garcon1986
永远走在路上的前行者
关注实现细节,向专家进发!!!
展开
-
Let operator in linqtoentities
/*by Jiangong SUN*/Here I want to introduce "Let" operator in entity framework.Let operator can define a variable in your linq query and then use it in your query.For example : activit原创 2012-01-13 18:35:31 · 629 阅读 · 0 评论 -
Create stored procedure and integrate it into linq to entities
/*by Jiangong SUN*/Here I create a stored procedure for searching dealers in my database, it can receive several parameters.USE DATABASENAME;GOSET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER O原创 2012-01-04 04:59:09 · 1283 阅读 · 0 评论 -
Sort a List using comparer
/*By Jiangong SUN*/Today is thanks giving day! LOL :)Firstly we have a list : List FeaturesList = new List();foreach (var feature in Model.Features) { for (int c = 0; c <原创 2011-11-24 21:58:40 · 935 阅读 · 0 评论 -
Read XML file easily with LINQ to XML
/*By Jiangong SUN*/How to read XML file easily?1. You can get your stream with a given url. private string GetStreamString(string url) { try {原创 2011-10-27 22:27:00 · 969 阅读 · 0 评论 -
Error 11011: Association End key property 'xxx' is not mapped
/*By Jiangong SUN*/This error probably occurs when you modify your tables and their relationships with other tables in your data model. I've seen this error several times today when i update my原创 2011-09-28 22:48:11 · 1650 阅读 · 0 评论 -
Knowledge Conclusion - PART III: Entity framework & SQL Server
Knowledge Conclusion - PART III: Entity framework & SQL Server原创 2012-03-06 17:02:57 · 2720 阅读 · 0 评论