Interface IFeature
public interface IFeature
- Extension Methods
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.
IReadOnlyDictionary<Guid, string> CalculationMethods { get; }
Property Value
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.
TypeName? CalculationProvider { get; }
Property Value
CurrentVersion
int CurrentVersion { get; }
Property Value
Dependencies
IEnumerable<string> Dependencies { get; }
Property Value
DisplayName
string DisplayName { get; }
Property Value
EditorDoc
string EditorDoc { get; }
Property Value
FirstVersionTables
IEnumerable<Guid> FirstVersionTables { get; }
Property Value
Name
string Name { get; }
Property Value
Relationships
IReadOnlyDictionary<Guid, Relationship> Relationships { get; }
Property Value
ScreenBehaviourProvider
Name of a type that provides static methods to override WPF screen behaviour.
TypeName? ScreenBehaviourProvider { get; }
Property Value
Tables
IReadOnlyDictionary<Guid, Table> Tables { get; }
Property Value
Methods
Add(ModelSnapshot, EventFactory)
IEnumerable<IEvent> Add(ModelSnapshot snapshot, EventFactory factory)
Parameters
snapshotModelSnapshotfactoryEventFactory
Returns
UpgradeFrom(int, EventFactory)
IEnumerable<IEvent> UpgradeFrom(int oldVersion, EventFactory factory)
Parameters
oldVersionintfactoryEventFactory