Table of Contents

Get entities

Gets a list of entities from a query against a SQL Server database.

An entity is a .NET object with one or more properties, for example

public record Customer(string VATNumber, string Name, string Address);

This actions returns a list of entities with properties as specified by the Entity properties configuration, for example

List<Customer> customers;

Get Entities


Properties

Name Required Description
Title No The title or name of the command.
Connection Yes The SQL Server Connection.
Dynamic connection No Use this option if you need to use a connection created by the Create Connection action.
SQL expression and parameters Yes The command to execute along with any parameters.
Row variable name Yes Name of Row variable.
Row data type No Name of the created entity type.
Entity name No Name of Row entity.
Entity properties Yes Name and data type of the propertis in each entity
Result variable name Yes Name of resulting list of entities variable
Result data type No Name of the created entity list type.
Command timeout (sec) No The time limit for command execution before it times out. Default is 120 seconds.
Description No Additional notes or comments about the action or configuration.

Returns

A List of custom .NET objects with properties specified by the Entity properties configuration.


SQL Server: Videos / Getting started

This section contains videos to help you get started quickly working with Azure SQL / SQL Server using Flow.


Dump CSV file from Azure Blob container to Azure SQL table

This video demonstrates how to import all records from a CSV file into an Azure SQL table.
In the demo, no data import options (such as data type conversion, number or date formatting) are specified, meaning the data is imported as raw text.