Skip to main content
All docs
V25.1
  • .NET Framework 4.6.2+

    BaseObjectSpace.FirstOrDefault Method

    Name Parameters Description
    FirstOrDefault<ObjectType>(Expression<Func<ObjectType, Boolean>>, Boolean) criteriaExpression, inTransaction Searches 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>>) criteriaExpression Searches for the first object that matches the specified lambda expression. The generic parameter determines the object’s type.