Edward_jie

for you, my Hall of Frame

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年11月14日

摘要: c#写表结构的时候,在主键id的column()中一定要加入AutoSync = AutoSync.OnInsert, DbType = "INT NOT NULL Identity", CanBeNull = false, IsDbGenerated = true, IsPrimaryKey = true [Column] public double latitude { get { return _latitude; } set { if (_latitude != value) { NotifyPropertyChanging("latitude" 阅读全文
posted @ 2012-11-14 13:47 Edward_诺 阅读(282) 评论(0) 推荐(0) 编辑