How to get Count from FromSql?

c# ef-core-2.1 entity-framework-core sql-server

Popular Answer

Try

 var firstElement = dbContext.Items
                             .FromSql (..)
                             .ToList
                             .First();
1
11/6/2018 8:27:27 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow