Table of Contents

Class DataAssembler

Namespace
ToSic.Eav.Data.Build.Sys
Assembly
ToSic.Eav.Data.Build.dll

Internal data assembler to create entities, relationships, attributes and values.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class DataAssembler : ServiceWithSetup<DataAssemblerOptions>, IHasLog, IHasOptions<DataAssemblerOptions>, IServiceWithSetup<DataAssemblerOptions>
Inheritance
object
DataAssembler
Implements
Inherited Members

Properties

Attribute

public AttributeAssembler Attribute { get; }

Property Value

AttributeAssembler

AttributeList

public AttributeListAssembler AttributeList { get; }

Property Value

AttributeListAssembler

Entity

public EntityAssembler Entity { get; }

Property Value

EntityAssembler

EntityConnection

public EntityConnectionBuilder EntityConnection { get; }

Property Value

EntityConnectionBuilder

Language

public LanguageAssembler Language { get; }

Property Value

LanguageAssembler

Relationship

public RelationshipAssembler Relationship { get; }

Property Value

RelationshipAssembler

Value

public ValueAssembler Value { get; }

Property Value

ValueAssembler

ValueList

public ValueListAssembler ValueList { get; }

Property Value

ValueListAssembler

Methods

GetDefaultOptions()

Method to generate new / default options. This should usually not be called, but it might; so if your service can work without valid options (or accesses options before setup), this would trigger.

This could also be triggered, if the service was created without the correct Generator. Note that it's always an option to just throw an exception.

You must override this to provide your own default options.

protected override DataAssemblerOptions GetDefaultOptions()

Returns

DataAssemblerOptions

Exceptions

ServiceOptionsRequiredException