This commit is contained in:
sunkaixuan
2017-01-08 22:28:54 +08:00
parent a8344f3d4c
commit bd7e2ff33f
26 changed files with 228 additions and 178 deletions

View File

@@ -14,12 +14,15 @@ namespace OrmTest
class Program
{
public string id { get; set;}
public static string GetName() {
return "a";
}
public static string id { get; set;}
static void Main(string[] args)
{
Program.id = "xx";
string x = "1";
Expression<Func<Student, bool>> exp = it => it.Name!=x;
Expression<Func<Student, bool>> exp = it => it.Name== GetName();
// Expression<Func<Student, object>> exp = it => it.Name;
ExpressionContext expContext = new ExpressionContext(exp, ResolveExpressType.Single);
// var x = expContext.GetFiledName();