摘要: https://blog.oneunicorn.com/2012/02/27/code-first-migrations-making-__migrationhistory-not-a-system-table/ Code First Migrations uses a table called _ 阅读全文
posted @ 2016-07-20 23:49 shiningrise 阅读(290) 评论(0) 推荐(0)
摘要: C# 6.0可能的新特性 1、主构造函数(Primary Constructors) 主构造函数给类中的变量赋值 Before public class Point { private int x, y; public Point(int x, int y) this.x = x; this.y = 阅读全文
posted @ 2016-07-20 23:34 shiningrise 阅读(214) 评论(0) 推荐(0)
摘要: public static Guid GenerateGuid() { byte[] guidArray = Guid.NewGuid().ToByteArray(); var baseDate = new DateTime(1900, 1, 1); DateTime now = DateTime.Now; var days = new TimeSpan(now... 阅读全文
posted @ 2016-07-20 22:57 shiningrise 阅读(3025) 评论(1) 推荐(0)
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css