摘要:
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" 阅读全文