diff --git a/Src/Asp.NetCore2/OracleTest/4_JoinQuery.cs b/Src/Asp.NetCore2/OracleTest/4_JoinQuery.cs index e64fbb99a..e200ef020 100644 --- a/Src/Asp.NetCore2/OracleTest/4_JoinQuery.cs +++ b/Src/Asp.NetCore2/OracleTest/4_JoinQuery.cs @@ -121,7 +121,7 @@ namespace OrmTest [SqlSugar.SugarTable("Order04")] public class Order { - [SqlSugar.SugarColumn( IsIdentity = true)] + [SqlSugar.SugarColumn( IsPrimaryKey = true)] public long Id { get; set; } public string Name { get; set; } public int CustomId { get; set; }