linq (.net core variant)
Topics
- [[SoftDeletes]]
- [[OneToManyUpdates]]
Functions
- [[Any]]
- [[DefaultIfEmpty]]
- [[First]]
- [[FirstOrDefault]]
- [[GetValueOrDefault]]
- [[OrderByDescending]]
.SingleOrDefault
This command is similar to FirstOrDefault, but when no records are found, and exception is thrown.
.ToList()
Performs a database retrieve
Popular commands
.SingleOrDefault
.FirstOrDefault
.OrderByDescending
.Skip() and .Take() used to setup paging in results.
Return to C# [[Home|CSharp|home]] page