This commit is contained in:
sunkaixuan 2017-01-08 23:46:42 +08:00
parent 4abcfa1a71
commit 2315c8d973
4 changed files with 18 additions and 0 deletions

Binary file not shown.

View File

@ -10,6 +10,9 @@ namespace SqlSugar
public class ExpressionContext : ExpResolveAccessory public class ExpressionContext : ExpResolveAccessory
{ {
#region constructor #region constructor
private ExpressionContext() {
}
public ExpressionContext(Expression expression, ResolveExpressType type) public ExpressionContext(Expression expression, ResolveExpressType type)
{ {
this.Type = type; this.Type = type;
@ -19,6 +22,7 @@ namespace SqlSugar
#endregion #endregion
#region properties #region properties
public IDbMethods DbMehtods { get; set; }
public int Index { get; set; } public int Index { get; set; }
public ResolveExpressType Type { get; set; } public ResolveExpressType Type { get; set; }
public Expression Expression { get; set; } public Expression Expression { get; set; }

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
public interface IDbMethods
{
}
}

View File

@ -99,6 +99,7 @@
<Compile Include="Entities\DbTableInfo.cs" /> <Compile Include="Entities\DbTableInfo.cs" />
<Compile Include="ExpressionsToSql\Common\BinaryExpressionInfo.cs" /> <Compile Include="ExpressionsToSql\Common\BinaryExpressionInfo.cs" />
<Compile Include="ExpressionsToSql\Common\ExpressionErrorMessage.cs" /> <Compile Include="ExpressionsToSql\Common\ExpressionErrorMessage.cs" />
<Compile Include="ExpressionsToSql\IDbMethods.cs" />
<Compile Include="ExpressionsToSql\ResolveItems\MemberConstExpressionResolve.cs" /> <Compile Include="ExpressionsToSql\ResolveItems\MemberConstExpressionResolve.cs" />
<Compile Include="ExpressionsToSql\ResolveItems\MemberInitExpressionResolve.cs" /> <Compile Include="ExpressionsToSql\ResolveItems\MemberInitExpressionResolve.cs" />
<Compile Include="ExpressionsToSql\ResolveItems\MemberNewExpressionResolve.cs" /> <Compile Include="ExpressionsToSql\ResolveItems\MemberNewExpressionResolve.cs" />