---
url: /statelake/scripting-reference/classes/data-definition-class-tflodatasource.md
---

# Data Definition Class (TFloDataSource)

The **Data Definition** object is the source and destination of a **Map**.

There are always two **Data Definition** objects in each **Map**, and these can be accessed through *source* and *dest*. This allows you to interact with the properties of the **Data Definition** used on the **Map**.

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

* Accessing the **File Connection** object - this provides access to the **File Connection** object through the **TFloFileCon** property.
* Accessing the **DB Connection** object - this provides access to the **DB Connection** object through the **TFloDBCon** property.

**Declaration**: Source : TFloDataSource;

Dest : TFloDataSource;
