---
url: /flow/guide/scripting-reference/classes/data-definition.md
---

# Data Definition

## Declaration

`Source : TFloDataSource;`

`Dest : TFloDataSource;`

## Description

The Data Definition object is source and destination of a map. There is always two data definition objects in each map that can be accessed through `Source` and `Dest`. This allows you to interact with the properties of the data definition used on the map.

### Usage

Among other things the following tasks can be achieved by working with the Data Definition object

::: details Accessing the File Connection object
This provides access to the File connection object through the FileCon property
:::

::: details Accessing the DB Connection object
This provides access to the DB connection object through the DBCon property
:::
