Skip to content

DapperMaticSessionValue ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

A value set on each connection's session for the database's own row-level security.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (2)

Constructors ​

DapperMaticSessionValue ​

csharp
DapperMaticSessionValue()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Name ​

Gets or sets the name: a dotted custom setting on PostgreSQL (<c>app.tenant_id</c>), a session context key on SQL Server, a variable name on MySQL.

Type: string

Value ​

Gets or sets the value: a path such as <c>@tenant.id</c>, or a fixed text.

Type: string?