withDataModel Function
Modifiers:
final Access the DataModel directly.
Use this for low-level operations that require direct DataModel access.
Example:
withDataModel { dm ->
val entities = dm.queryDSL(...)
// Low-level operations
}
inline fun <R> withDataModel(block: (DataModel) -> R): R
A lambda that receives the DataModel.
The value returned by the block.
if EntityContext has no DataModel set.