Browse Source

Add demo

pull/24/MERGE
sunkaixuan 2 years ago
parent
commit
71443f5dbd
  1. 1
      Src/Asp.Net/MySqlTest/Demo/Demo1_Queryable.cs

1
Src/Asp.Net/MySqlTest/Demo/Demo1_Queryable.cs

@ -95,6 +95,7 @@ namespace OrmTest
names = SqlFunc.Subqueryable<Order>().Where(z => z.Id == it.Id).SelectStringJoin(z => z.Name, ",")
})
.ToList();
var test04 = db.Queryable<Order>().Where(z => SqlFunc.DateIsSame(z.CreateTime, DateTime.Now, DateType.Weekday)).ToList();
Console.WriteLine("#### Examples End ####");
}

Loading…
Cancel
Save