.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Session.GetObjectsFromQuery Method

Name Parameters Description
GetObjectsFromQuery(XPClassInfo, LoadDataMemberOrderItem[], String) classInfo, members, sql Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery(XPClassInfo, LoadDataMemberOrderItem[], String, Object[]) classInfo, members, sql, parameterValues Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery(XPClassInfo, LoadDataMemberOrderItem[], String, String[], Object[]) classInfo, members, sql, parameterNames, parameterValues Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery(XPClassInfo, List<XPMemberInfo>, String) classInfo, members, sql Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery(XPClassInfo, List<XPMemberInfo>, String, Object[]) classInfo, members, sql, parameterValues Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery(XPClassInfo, List<XPMemberInfo>, String, String[], Object[]) classInfo, members, sql, parameterNames, parameterValues Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery(XPClassInfo, String) classInfo, sql Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery(XPClassInfo, String, Object[]) classInfo, sql, parameterValues Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery(XPClassInfo, String, String[], Object[]) classInfo, sql, parameterNames, parameterValues Executes a SQL query and returns its result set as a collection of non-persistent objects.
GetObjectsFromQuery<T>(LoadDataMemberOrderItem[], String) members, sql Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
GetObjectsFromQuery<T>(LoadDataMemberOrderItem[], String, Object[]) members, sql, parameterValues Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
GetObjectsFromQuery<T>(LoadDataMemberOrderItem[], String, String[], Object[]) members, sql, parameterNames, parameterValues Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
GetObjectsFromQuery<T>(List<XPMemberInfo>, String) members, sql Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
GetObjectsFromQuery<T>(List<XPMemberInfo>, String, Object[]) members, sql, parameterValues Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
GetObjectsFromQuery<T>(List<XPMemberInfo>, String, String[], Object[]) members, sql, parameterNames, parameterValues Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
GetObjectsFromQuery<T>(String) sql Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
GetObjectsFromQuery<T>(String, Object[]) sql, parameterValues Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.
GetObjectsFromQuery<T>(String, String[], Object[]) sql, parameterNames, parameterValues Executes a SQL query and returns its result set as a collection of objects of a non-persistent type specified by the generic type parameter.