mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-21 02:58:05 +08:00
Update Mongodb
This commit is contained in:
12
Src/Asp.NetCore2/SqlSugar.MongoDbCore/MongoDbBase.cs
Normal file
12
Src/Asp.NetCore2/SqlSugar.MongoDbCore/MongoDbBase.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace SqlSugar.MongoDbCore
|
||||
{
|
||||
public class MongoDbBase
|
||||
{
|
||||
[SugarColumn(IsPrimaryKey =true,IsOnlyIgnoreInsert =true,ColumnName ="_id")]
|
||||
public string Id { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user