mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Synchronization code
This commit is contained in:
@@ -711,6 +711,10 @@ namespace SqlSugar
|
|||||||
return this.Context.DbMehtods.AggregateDistinctCount(model);
|
return this.Context.DbMehtods.AggregateDistinctCount(model);
|
||||||
case "MappingColumn":
|
case "MappingColumn":
|
||||||
var mappingColumnResult = this.Context.DbMehtods.MappingColumn(model);
|
var mappingColumnResult = this.Context.DbMehtods.MappingColumn(model);
|
||||||
|
if (model.Args.Count == 1)
|
||||||
|
{
|
||||||
|
return model.Args[0].MemberName.ObjToString().TrimStart('\'').TrimEnd('\'');
|
||||||
|
}
|
||||||
var isValid = model.Args[0].IsMember && model.Args[1].IsMember == false;
|
var isValid = model.Args[0].IsMember && model.Args[1].IsMember == false;
|
||||||
//Check.Exception(!isValid, "SqlFunc.MappingColumn parameters error, The property name on the left, string value on the right");
|
//Check.Exception(!isValid, "SqlFunc.MappingColumn parameters error, The property name on the left, string value on the right");
|
||||||
if (model.Args.Count > 1)
|
if (model.Args.Count > 1)
|
||||||
|
Reference in New Issue
Block a user