sunkaixuan
2 years ago
8 changed files with 161 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace SqlSugar |
|||
{ |
|||
internal class ListAnyParameter |
|||
{ |
|||
public string Name { get; internal set; } |
|||
public string Sql { get; internal set; } |
|||
public List<EntityColumnInfo> Columns { get; internal set; } |
|||
public Func<string,string> ConvetColumnFunc { get; internal set; } |
|||
} |
|||
} |
@ -0,0 +1,20 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Linq.Expressions; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace SqlSugar |
|||
{ |
|||
internal class ParameterExpressionVisitor : ExpressionVisitor |
|||
{ |
|||
public List<ParameterExpression> Parameters { get; } = new List<ParameterExpression>(); |
|||
|
|||
protected override Expression VisitParameter(ParameterExpression node) |
|||
{ |
|||
Parameters.Add(node); |
|||
return base.VisitParameter(node); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue