Table of Contents

Interface IPrimaryKey

Namespace
OrpheusInterfaces.Interfaces.Attributes
Assembly
OrpheusInterfaces.dll

Orpheus primary key attribute

public interface IPrimaryKey : IOrpheusBaseAttribute

Properties

IsAutoGenerated

Indicates if the primary key value will be auto-generated in memory. Only System.Guid type is supported.

bool IsAutoGenerated { get; }

Property Value

bool

True if the key value is auto-generated.

IsDBGenerated

Indicates if the primary key value is auto-generated.

bool IsDBGenerated { get; }

Property Value

bool

True if the key is generated from the DB engine