IdeaBlade DevForce 2010 Help Reference
FirstOrNullEntity Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityQueryExtensions Class : FirstOrNullEntity Method



Executes the query and returns the first element of the sequence, or the appropriate NullEntity if no element is found.

Overload List

OverloadDescription
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.  

Requirements

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

See Also

© 2013 All Rights Reserved.