mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update Mongodb
This commit is contained in:
@@ -9,8 +9,8 @@ namespace MongoDbTest
|
||||
|
||||
public class OrderInfo
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true,ColumnName ="_Id")]
|
||||
public int Id { get; set; }
|
||||
[SugarColumn(IsPrimaryKey = true, IsOnlyIgnoreInsert =true)]
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
|
Reference in New Issue
Block a user