摘要:
Second Level Cache for Entity Framework 6.1Entity Framework does not currently support caching of query results. A sample EF Caching provider is avail... 阅读全文
摘要:
出现的异常:System.InvalidOperationException: Multiplicity constraint violated. The role 'IncomeItem_CreateBy_Source' of the relationship 'FamilyFinancial.I... 阅读全文
摘要:
IntroductionOne of the really cool features that are integrated with Visual Studio 2010 isWeb.Config (XDT) transformations. ASP.NETWeb.Configtransform... 阅读全文
摘要:
1.使用逻辑符号&&或者||进行条件判断123var foo = 10; foo == 10 && doSomething(); // is the same thing as if (foo == 10) doSomething(); foo == 5 || doSomething(); // is the same thing as if (foo != 5) doSomething(); AND也可以用来设置函数参数的默认值123Function doSomething(arg1){ Arg1 = arg1 || 10; // arg1 will have 阅读全文