Type of the enum; set in prototype of each enum
The name of this symbol
AcceptChanges was called on the entity, or its entityState was set to Unmodified.
Entity was attached via an AttachEntity call.
Entity was attached as a result of an import.
Entity was attached as a result of a query.
The EntityManager was cleared. All entities detached.
Entity was detached
The EntityState of the entity was changed.
Properties on the entity were merged as a result of an import.
Properties on the entity were merged as a result of a query.
Properties on the entity were merged as a result of a save
A property on the entity was changed.
RejectChanges was called on the entity.
Is this an 'attach' operation? ( Attach, AttachOnQuery or AttachOnImport)
Is this a 'detach' operation? ( Detach, Clear)
Is this a 'modification' operation? ( PropertyChange, MergeOnQuery, MergeOnSave, MergeOnImport, RejectChanges)
Return enum name and symbol name
Returns the string name of this Enum
Returns whether an Enum contains a specified symbol.
let symbol = DayOfWeek.Friday;
if (DayOfWeek.contains(symbol)) {
// do something
}
Object or symbol to test.
Whether this Enum contains the specified symbol.
Returns an Enum symbol given its name.
let dayOfWeek = DayOfWeek.from("Thursday");
// nowdayOfWeek === DayOfWeek.Thursday
Name for which an enum symbol should be returned.
The symbol that matches the name or 'undefined' if not found.
Returns the names of all of the symbols contained within this Enum.
let symbols = DayOfWeek.getNames();
All of the names of the symbols contained within this Enum.
Returns all of the symbols contained within this Enum.
let symbols = DayOfWeek.getSymbols();
All of the symbols contained within this Enum.
Seals this enum so that no more symbols may be added to it. This should only be called after all symbols have already been added to the Enum. This method also sets the 'name' property on each of the symbols.
DayOfWeek.resolveSymbols();
Generated using TypeDoc
EntityAction is an 'Enum' containing all of the valid actions that can occur to an 'Entity'.