Table of Contents

Class XmlImportPreparations

Namespace
ToSic.Eav.ImportExport.Sys.XmlList
Assembly
ToSic.Eav.Work.dll
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class XmlImportPreparations
Inheritance
object
XmlImportPreparations

Constructors

XmlImportPreparations(IList<XElement>, IContentType, List<IEntity>, ImportDeleteUnmentionedItems, List<Guid>, List<Guid>, List<Guid>)

public XmlImportPreparations(IList<XElement> xmlEntities, IContentType contentType, List<IEntity> existingEntities, ImportDeleteUnmentionedItems deleteSetting, List<Guid> existingEntityGuids, List<Guid> createdEntityGuids, List<Guid> entityDeleteGuids)

Parameters

xmlEntities IList<XElement>
contentType IContentType
existingEntities List<IEntity>
deleteSetting ImportDeleteUnmentionedItems
existingEntityGuids List<Guid>
createdEntityGuids List<Guid>
entityDeleteGuids List<Guid>

Properties

AttributeNamesInContentType

Get the fieldDef names in the content type.

public IEnumerable<string> AttributeNamesInContentType { get; }

Property Value

IEnumerable<string>

AttributeNamesInDocument

Get the fieldDef names in the xml document.

public IEnumerable<string> AttributeNamesInDocument { get; }

Property Value

IEnumerable<string>

AttributeNamesNotImported

Get the attributes not imported (ignored) from the document to the repository.

public IEnumerable<string> AttributeNamesNotImported { get; }

Property Value

IEnumerable<string>

Count

public int Count { get; }

Property Value

int

DeleteCount

The amount of entities deleted in the repository on data import.

public int DeleteCount { get; }

Property Value

int

EntitiesToCreate

The amount of entities created in the repository on data import.

public int EntitiesToCreate { get; }

Property Value

int

EntitiesToUpdate

The amount of enities updated in the repository on data import.

public int EntitiesToUpdate { get; }

Property Value

int

EntityDeleteGuids

public List<Guid> EntityDeleteGuids { get; }

Property Value

List<Guid>

ExistingEntities

public List<IEntity> ExistingEntities { get; }

Property Value

List<IEntity>

LanguagesInDocument

Get the languages found in the xml document.

public IEnumerable<string?> LanguagesInDocument { get; }

Property Value

IEnumerable<string>