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



Returns the elements in a sequence or a default valued singleton collection if the sequence is empty.

Overload List

OverloadDescription
DefaultIfEmpty<TSource>(IEntityQuery<TSource>) Returns the elements in a sequence or a default valued singleton collection if the sequence is empty.  
DefaultIfEmpty<TSource>(IEntityQuery<TSource>,TSource) Returns the elements in a sequence or a default valued singleton collection if the sequence is empty.  

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.