Overload | Description |
---|---|
FirstOrNullEntity(IEntityQuery) | Executes the query and returns the first element of the sequence, or the appropriate NullEntity if no element is found. |
FirstOrNullEntity<TEntity>(IQueryable<TEntity>) | Executes the query and returns the first element of the sequence, or the appropriate NullEntity if no element is found. |
FirstOrNullEntity<TEntity>(IQueryable<TEntity>,Expression<Func<TEntity,Boolean>>) | Executes the query and returns the first element of the sequence, or the appropriate NullEntity if no element is found. |
FirstOrNullEntity<TEntity>(IEntityQuery<TEntity>) | Returns the first element of a sequence, or the appropriate NullEntity if no element is found. |
FirstOrNullEntity<TEntity>(IEntityQuery<TEntity>,Expression<Func<TEntity,Boolean>>) | Returns the first element of a sequence, or the appropriate NullEntity if no element is found. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family