mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 增加 $"" lambda 解析;
This commit is contained in:
@ -159,6 +159,13 @@ namespace FreeSql.Tests
|
||||
[Fact]
|
||||
public void Test03()
|
||||
{
|
||||
var testStringFormat = g.sqlite.Select<Edi>().First(a => new {
|
||||
str = $"x{a.Id}_{DateTime.Now.ToString("yyyyMM")}z",
|
||||
str2 = string.Format("{0}x{0}_{1}z", a.Id, DateTime.Now.ToString("yyyyMM"))
|
||||
});
|
||||
|
||||
|
||||
|
||||
var sql123 = g.sqlserver.Select<Edi>()
|
||||
|
||||
.WithSql(
|
||||
|
Reference in New Issue
Block a user