Browse Source

-

pull/12/MERGE
sunkaixuan 8 years ago
parent
commit
46f219d155
  1. BIN
      .vs/SqlSugar/v14/.suo
  2. 2
      SqlSugar/ExpressionsToSql/ExpResolveAccessory.cs
  3. 6
      SqlSugar/ExpressionsToSql/ExpressionContext.cs
  4. 0
      SqlSugar/ExpressionsToSql/SugarParameter.cs
  5. 2
      SqlSugar/SqlSugar.csproj

BIN
.vs/SqlSugar/v14/.suo

Binary file not shown.

2
SqlSugar/ExpressionsToSql/ExpResolveAccessory.cs

@ -8,6 +8,6 @@ namespace SqlSugar
{
public class ExpResolveAccessory
{
protected List<DbParameter> _Parameters { get; set; }
protected List<SugarParameter> _Parameters { get; set; }
}
}

6
SqlSugar/ExpressionsToSql/ExpressionContext.cs

@ -21,18 +21,18 @@ namespace SqlSugar
public override string ToString()
{
BaseResolve resolve = new BaseResolve(new ExpressionParameter() { Expression=this.Expression, Context=this });
BaseResolve resolve = new BaseResolve(new ExpressionParameter() { Expression = this.Expression, Context = this });
resolve.Start();
return resolve.SqlWhere;
}
public string GetSelect() { return ""; }
public List<DbParameter> Parameters
public List<SugarParameter> Parameters
{
get
{
return PubMethod.IsNullReturnNew(base._Parameters);
return base._Parameters;
}
set
{

0
SqlSugar/Entities/SugarParameter.cs → SqlSugar/ExpressionsToSql/SugarParameter.cs

2
SqlSugar/SqlSugar.csproj

@ -97,7 +97,7 @@
<Compile Include="Entities\ConnectionConfig.cs" />
<Compile Include="Entities\DbColumnInfo.cs" />
<Compile Include="Entities\DbTableInfo.cs" />
<Compile Include="Entities\SugarParameter.cs" />
<Compile Include="ExpressionsToSql\SugarParameter.cs" />
<Compile Include="ExpressionsToSql\ExpressionParameter.cs" />
<Compile Include="Entities\JoinQueryInfo.cs" />
<Compile Include="Entities\Mapping\MappingColumn.cs" />

Loading…
Cancel
Save