public virtual void TestDateTimeConstructYMDHMS()
{
var dt = db.Customers.Where(c => c.CustomerID == "ALFKI").Max(c => new DateTime((c.CustomerID == "ALFKI") ? 1997 : 1997, 7, 4, 3, 5, 6));
AssertValue(1997, dt.Year);
AssertValue(7, dt.Month);
AssertValue(4, dt.Day);
AssertValue(3, dt.Hour);
AssertValue(5, dt.Minute);
AssertValue(6, dt.Second);
}