Class AttributeAssembler
Internal data assembler to create attributes.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class AttributeAssembler : ServiceWithSetup<DataAssemblerOptions>, IHasLog, IHasOptions<DataAssemblerOptions>
- Inheritance
-
objectServiceWithSetup<DataAssemblerOptions>AttributeAssembler
- Implements
- Inherited Members
Methods
CreateFrom(IAttribute, IImmutableList<IValue>)
public IAttribute CreateFrom(IAttribute original, IImmutableList<IValue> values)
Parameters
originalIAttributevaluesIImmutableList<IValue>
Returns
CreateOrUpdate(IAttribute?, string, object?, ValueTypes, IValue?, string?, bool)
Add a value to the attribute specified. To do so, set the name, type and string of the value, as well as some language properties.
public IAttribute CreateOrUpdate(IAttribute? originalOrNull, string name, object? value, ValueTypes type, IValue? valueToReplace = null, string? language = null, bool languageReadOnly = false)
Parameters
originalOrNullIAttributenamestringvalueobjecttypeValueTypesvalueToReplaceIValuelanguagestringlanguageReadOnlybool
Returns
Relationship(string, IEnumerable<IEntity?>)
public IAttribute<IEnumerable<IEntity>> Relationship(string name, IEnumerable<IEntity?> directSource)
Parameters
namestringdirectSourceIEnumerable<IEntity>