Table of Contents

Class EntityMetadataDictionary

Namespace
The.Entities
Assembly
Instagile.dll

Data structure built from an entity model, containing a runtime representation of model nodes which can be used for dynamic application logic.

public sealed class EntityMetadataDictionary : IReadOnlyDictionary<string, IEntityInfo>, IReadOnlyCollection<KeyValuePair<string, IEntityInfo>>, IEnumerable<KeyValuePair<string, IEntityInfo>>, IEnumerable
Inheritance
EntityMetadataDictionary
Implements
Inherited Members

Constructors

EntityMetadataDictionary(string, bool, Assembly, IReadOnlyDictionary<string, IEntityInfo>?, IReadOnlyDictionary<string, IEntityInfo>?)

public EntityMetadataDictionary(string emptyText, bool includesLegacyAttributes, Assembly defaultEntryPoint, IReadOnlyDictionary<string, IEntityInfo>? entitiesByName = null, IReadOnlyDictionary<string, IEntityInfo>? entitiesByInterfaceName = null)

Parameters

emptyText string
includesLegacyAttributes bool
defaultEntryPoint Assembly
entitiesByName IReadOnlyDictionary<string, IEntityInfo>
entitiesByInterfaceName IReadOnlyDictionary<string, IEntityInfo>

Fields

ApplicationSettingsEntity

public readonly IEntityInfo? ApplicationSettingsEntity

Field Value

IEntityInfo

AuditEntityEntity

public readonly IEntityInfo? AuditEntityEntity

Field Value

IEntityInfo

AuditRelationshipEntity

public readonly IEntityInfo? AuditRelationshipEntity

Field Value

IEntityInfo

CalendarEntryEntity

public readonly IEntityInfo? CalendarEntryEntity

Field Value

IEntityInfo

DefaultEntryPoint

public readonly Assembly DefaultEntryPoint

Field Value

Assembly

DocumentAccessEntryEntity

public readonly IEntityInfo? DocumentAccessEntryEntity

Field Value

IEntityInfo

EntitiesByInterfaceName

public readonly IReadOnlyDictionary<string, IEntityInfo> EntitiesByInterfaceName

Field Value

IReadOnlyDictionary<string, IEntityInfo>

IncludesLegacyAttributes

public readonly bool IncludesLegacyAttributes

Field Value

bool

JobRunEntity

public readonly IEntityInfo? JobRunEntity

Field Value

IEntityInfo

ScrambledDatabaseEntity

public readonly IEntityInfo? ScrambledDatabaseEntity

Field Value

IEntityInfo

ScrambledSpreadsheetEntity

public readonly IEntityInfo? ScrambledSpreadsheetEntity

Field Value

IEntityInfo

SpreadsheetColumnEntity

public readonly IEntityInfo? SpreadsheetColumnEntity

Field Value

IEntityInfo

SpreadsheetEntity

public readonly IEntityInfo? SpreadsheetEntity

Field Value

IEntityInfo

StoredDocumentEntity

public readonly IEntityInfo? StoredDocumentEntity

Field Value

IEntityInfo

UserAccountEntity

public readonly IEntityInfo? UserAccountEntity

Field Value

IEntityInfo

UserClaimEntity

public readonly IEntityInfo? UserClaimEntity

Field Value

IEntityInfo

UserProfileEntity

public readonly IEntityInfo? UserProfileEntity

Field Value

IEntityInfo

UserRegistrationRequestEntity

public readonly IEntityInfo? UserRegistrationRequestEntity

Field Value

IEntityInfo

Properties

ByID

public IReadOnlyDictionary<Guid, IEntityInfo> ByID { get; }

Property Value

IReadOnlyDictionary<Guid, IEntityInfo>

Count

Gets the number of elements in the collection.

public int Count { get; }

Property Value

int

The number of elements in the collection.

this[string]

Gets the element that has the specified key in the read-only dictionary.

public IEntityInfo this[string key] { get; }

Parameters

key string

The key to locate.

Property Value

IEntityInfo

The element that has the specified key in the read-only dictionary.

Exceptions

ArgumentNullException

key is null.

KeyNotFoundException

The property is retrieved and key is not found.

Keys

Gets an enumerable collection that contains the keys in the read-only dictionary.

public IEnumerable<string> Keys { get; }

Property Value

IEnumerable<string>

An enumerable collection that contains the keys in the read-only dictionary.

Values

Gets an enumerable collection that contains the values in the read-only dictionary.

public IEnumerable<IEntityInfo> Values { get; }

Property Value

IEnumerable<IEntityInfo>

An enumerable collection that contains the values in the read-only dictionary.

Methods

ContainsKey(string)

Determines whether the read-only dictionary contains an element that has the specified key.

public bool ContainsKey(string key)

Parameters

key string

The key to locate.

Returns

bool

true if the read-only dictionary contains an element that has the specified key; otherwise, false.

Exceptions

ArgumentNullException

key is null.

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<KeyValuePair<string, IEntityInfo>> GetEnumerator()

Returns

IEnumerator<KeyValuePair<string, IEntityInfo>>

An enumerator that can be used to iterate through the collection.

TryGetValue(string, out IEntityInfo)

Gets the value that is associated with the specified key.

public bool TryGetValue(string key, out IEntityInfo value)

Parameters

key string

The key to locate.

value IEntityInfo

When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Returns

bool

true if the object that implements the IReadOnlyDictionary<TKey, TValue> interface contains an element that has the specified key; otherwise, false.

Exceptions

ArgumentNullException

key is null.