Table of Contents

Struct AccountFeature

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

Fields

AccountClaimRelationship

public static readonly Guid AccountClaimRelationship

Field Value

Guid

AccountProfileRelationship

public static readonly Guid AccountProfileRelationship

Field Value

Guid

DISPLAY_NAME

public const string DISPLAY_NAME = "User accounts"

Field Value

string

ProfileClaimRelationship

public static readonly Guid ProfileClaimRelationship

Field Value

Guid

UserAccountClaimsSection

public static readonly Guid UserAccountClaimsSection

Field Value

Guid

UserAccountInterface

public static readonly TypeName UserAccountInterface

Field Value

TypeName

UserAccountNumberColumn

public static readonly Guid UserAccountNumberColumn

Field Value

Guid

UserAccountTable

public static readonly Guid UserAccountTable

Field Value

Guid

UserAccountUsernameColumn

public static readonly Guid UserAccountUsernameColumn

Field Value

Guid

UserClaimInterface

public static readonly TypeName UserClaimInterface

Field Value

TypeName

UserClaimKeyColumn

public static readonly Guid UserClaimKeyColumn

Field Value

Guid

UserClaimTable

public static readonly Guid UserClaimTable

Field Value

Guid

UserClaimValueColumn

public static readonly Guid UserClaimValueColumn

Field Value

Guid

UserProfileClaimsSection

public static readonly Guid UserProfileClaimsSection

Field Value

Guid

UserProfileDisplayNameColumn

public static readonly Guid UserProfileDisplayNameColumn

Field Value

Guid

UserProfileInterface

public static readonly TypeName UserProfileInterface

Field Value

TypeName

UserProfileLastLogonColumn

public static readonly Guid UserProfileLastLogonColumn

Field Value

Guid

UserProfileNumberColumn

public static readonly Guid UserProfileNumberColumn

Field Value

Guid

UserProfileSettingsColumn

public static readonly Guid UserProfileSettingsColumn

Field Value

Guid

UserProfileTable

public static readonly Guid UserProfileTable

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>