Comparar DateTime LinQ

var list = db.Cars.Where(c=> DbFunctions.TruncateTime(c.CreatedDate) == DbFunctions.TruncateTime(DateTime.UtcNow));
Comparación de solo fecha de columnas Datetime con LinQ

1 Response

Comparación de solo fecha de columnas Datetime con LinQ

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.