共11页: 上一页 1 2 3 4 5 6 7 8 9 下一页 末页 
摘要: Creating Entities First of all, Let's create some entities to have a test. 1. Create a project 2. Add following packages by NuGet EntityFramework MySq阅读全文
posted @ 2017-05-14 18:40 会长 阅读(47) 评论(0) 编辑
摘要: There are three types of relationships in database. They are: One to Many One to One Many to Many The One to Many relationship Write some codes first:阅读全文
posted @ 2017-05-11 09:05 会长 阅读(48) 评论(4) 编辑
摘要: There are three ways to define the database structure by Entity Framework API. They are: Attributes The DbModelBuilder API Configuration Classes Attri阅读全文
posted @ 2017-05-09 09:07 会长 阅读(38) 评论(0) 编辑
摘要: Sometimes, you have created two models. They have the same parent class like this: public class Person { public int PersonId { get; set; } public stri阅读全文
posted @ 2017-05-05 09:18 会长 阅读(57) 评论(8) 编辑
摘要: Sometimes, you've created a table for example named Person . Just then, you want to add some extra information, but don't want to add any new field in阅读全文
posted @ 2017-05-04 08:45 会长 阅读(47) 评论(0) 编辑
摘要: Sometimes, We want to check the original sql statements. creating a commandInterceptor is a good way to do this. Add a class named MyCommandIntercepto阅读全文
posted @ 2017-05-01 22:33 会长 阅读(36) 评论(0) 编辑
摘要: 一个使用mysql的entity framework的例子阅读全文
posted @ 2017-04-30 18:03 会长 阅读(69) 评论(0) 编辑
摘要: 大家来讨论一下C#是否该支持try/catch/else语法阅读全文
posted @ 2017-04-28 11:53 会长 阅读(373) 评论(16) 编辑
摘要: MapReduce编程模型 在Google的一篇重要的论文[MapReduce: Simplified Data Processing on Large Clusters][1]中提到,Google公司有大量的诸如Web请求日志、爬虫抓取的文档之类的数据需要处理,由于数据量巨大,只能将其分散在成百上阅读全文
posted @ 2016-10-23 23:49 会长 阅读(1504) 评论(3) 编辑
摘要: 最简单的IL程序 .assembly test {} .method void Func() { .entrypoint ldstr "hello world" call void [mscorlib]System.Console::WriteLine(string) ret } 对上面的程序说明如阅读全文
posted @ 2016-10-09 18:27 会长 阅读(58) 评论(0) 编辑
共11页: 上一页 1 2 3 4 5 6 7 8 9 下一页 末页