Back to Devexpress

IObjectSpace.FirstOrDefault Method

expressappframework-devexpress-dot-expressapp-dot-iobjectspace-dot-firstordefault.md

latest934 B
Original Source

IObjectSpace.FirstOrDefault Method

NameParametersDescription
FirstOrDefault<ObjectType>(Expression<Func<ObjectType, Boolean>>, Boolean)criteriaExpression, inTransactionSearches for the first object that matches the specified lambda expression. The generic parameter determines the object’s type. This method takes uncommitted changes into account.
FirstOrDefault<ObjectType>(Expression<Func<ObjectType, Boolean>>)criteriaExpressionSearches for the first object that matches the specified lambda expression. The generic parameter determines the object’s type.