This commit is contained in:
sunkaixuan
2017-01-07 23:56:55 +08:00
parent 24b53f7435
commit 11b4ebc77e
34 changed files with 127 additions and 141 deletions

View File

@@ -15,10 +15,10 @@ namespace OrmTest
{
static void Main(string[] args)
{
Expression<Func<Student, bool>> exp = it => it.Id > 0;
Expression<Func<Student, bool>> exp = it => it.Name!="";
ExpressionContext expContext = new ExpressionContext(exp, ResolveExpressType.Single);
// var x = expContext.GetFiledName();
var xx = expContext.GetWhere();
var xx = expContext.ToString();
var b = DateTime.Now;
@@ -26,7 +26,7 @@ namespace OrmTest
{
DbType = DbType.SqlServer,
ConnectionString = "server=.;uid=sa;pwd=sasa;database=SqlSugar4XTest",
EntityNamespace = "SqlSugar4XTest.Models",
EntityNamespace = "OrmTest.Models",
IsAutoCloseConnection = false
};
SqlSugarClient db = new SqlSugarClient(config);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.