Enum ConnectionPurpose

Namespace
Cratis.Arc.Connections
Assembly
Cratis.Arc.Core.dll

Represents what a connection is going to be used for.

public enum ConnectionPurpose
Extension Methods

Fields

Runtime = 0

The connection is used for data access.

Schema = 1

The connection is used for changing the database structure — creating databases and schemas, running migrations and altering tables.

Remarks

A platform can hand out different identities per purpose, for instance one database user that may only read and write data and another that may also create and alter tables.