补充 表达式解析 Equals 为 = #28

This commit is contained in:
2881099
2019-04-05 00:16:35 +08:00
parent 8b49dd8f83
commit b1578f8cdc
7 changed files with 66 additions and 2 deletions

View File

@ -41,6 +41,16 @@ namespace FreeSql.Tests.SqlServerExpression {
public List<TestTypeInfo> Types { get; set; }
}
class TestEqualsGuid {
public Guid id { get; set; }
}
[Fact]
public void Equals__() {
var list = new List<object>();
list.Add(select.Where(a => a.Title.Equals("aaa")).ToList());
list.Add(_sqlserverFixture.SqlServer.Select<TestEqualsGuid>().Where(a => a.id.Equals(Guid.Empty)).ToList());
}
[Fact]
public void Empty() {