mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update mongodb
This commit is contained in:
@@ -9,6 +9,23 @@ namespace SqlSugar.MongoDb
|
||||
{
|
||||
public class MongoDbDeleteBuilder : DeleteBuilder
|
||||
{
|
||||
public override string GetTableNameString
|
||||
{
|
||||
get
|
||||
{
|
||||
var result = Builder.GetTranslationTableName(EntityInfo.EntityName);
|
||||
if (AsName.HasValue())
|
||||
{
|
||||
result =AsName;
|
||||
}
|
||||
result += UtilConstants.Space;
|
||||
if (this.TableWithString.HasValue())
|
||||
{
|
||||
result += TableWithString + UtilConstants.Space;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
public override string ToSqlString()
|
||||
{
|
||||
var sb = new StringBuilder($"deleteMany {this.GetTableNameString} ");
|
||||
|
Reference in New Issue
Block a user