[Key] //當欄位型別為int且設定為主索引鍵,則EF會將其自動編號(流水號) [Column(Order = 1)] public int Id { get; set; } [Column(Order = 2)]
確定! 回上一頁