Table of Contents

Struct DocumentSecurityFeature

Namespace
The.Model.Features
Assembly
Instagile.Model.dll
public readonly struct DocumentSecurityFeature : IFeature
Implements
Inherited Members
Extension Methods

Fields

AttributeModelIDColumn

public static readonly Guid AttributeModelIDColumn

Field Value

Guid

DocumentAccessEntryInterface

public static readonly TypeName DocumentAccessEntryInterface

Field Value

TypeName

DocumentAccessEntryTable

public static readonly Guid DocumentAccessEntryTable

Field Value

Guid

DocumentIDColumn

public static readonly Guid DocumentIDColumn

Field Value

Guid

EntityIDColumn

public static readonly Guid EntityIDColumn

Field Value

Guid

EntityModelIDColumn

public static readonly Guid EntityModelIDColumn

Field Value

Guid

GlobalAccessColumn

public static readonly Guid GlobalAccessColumn

Field Value

Guid

NewEntityColumn

public static readonly Guid NewEntityColumn

Field Value

Guid

Properties

CalculationMethods

Map of attribute ID (or entity ID for IEntity.Text) to a record containing the name of the method used to calculate that attribute's value and its calculation dependencies.

public IReadOnlyDictionary<Guid, string> CalculationMethods { get; }

Property Value

IReadOnlyDictionary<Guid, string>

Remarks

Features whose CalculationProvider can be loaded by the template runner can use standard CalculationDependency attributes instead of having to specify them here.

CalculationProvider

Name of a type that provides static methods to implement calculated properties.

public TypeName? CalculationProvider { get; }

Property Value

TypeName?

CurrentVersion

public int CurrentVersion { get; }

Property Value

int

Dependencies

public IEnumerable<string> Dependencies { get; }

Property Value

IEnumerable<string>

DisplayName

public string DisplayName { get; }

Property Value

string

EditorDoc

public string EditorDoc { get; }

Property Value

string

FirstVersionTables

public IEnumerable<Guid> FirstVersionTables { get; }

Property Value

IEnumerable<Guid>

Name

public string Name { get; }

Property Value

string

Relationships

public IReadOnlyDictionary<Guid, Relationship> Relationships { get; }

Property Value

IReadOnlyDictionary<Guid, Relationship>

ScreenBehaviourProvider

Name of a type that provides static methods to override WPF screen behaviour.

public TypeName? ScreenBehaviourProvider { get; }

Property Value

TypeName?

Tables

public IReadOnlyDictionary<Guid, Table> Tables { get; }

Property Value

IReadOnlyDictionary<Guid, Table>

Methods

Add(ModelSnapshot, EventFactory)

public IEnumerable<IEvent> Add(ModelSnapshot snapshot, EventFactory factory)

Parameters

snapshot ModelSnapshot
factory EventFactory

Returns

IEnumerable<IEvent>

UpgradeFrom(int, EventFactory)

public IEnumerable<IEvent> UpgradeFrom(int oldVersion, EventFactory factory)

Parameters

oldVersion int
factory EventFactory

Returns

IEnumerable<IEvent>