Class XmlImportPreparations
- Namespace
- ToSic.Eav.ImportExport.Sys.XmlList
- Assembly
- ToSic.Eav.Work.dll
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class XmlImportPreparations
- Inheritance
-
objectXmlImportPreparations
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
xmlEntitiesIList<XElement>contentTypeIContentTypeexistingEntitiesList<IEntity>deleteSettingImportDeleteUnmentionedItemsexistingEntityGuidsList<Guid>createdEntityGuidsList<Guid>entityDeleteGuidsList<Guid>
Properties
AttributeNamesInContentType
Get the fieldDef names in the content type.
public IEnumerable<string> AttributeNamesInContentType { get; }
Property Value
AttributeNamesInDocument
Get the fieldDef names in the xml document.
public IEnumerable<string> AttributeNamesInDocument { get; }
Property Value
AttributeNamesNotImported
Get the attributes not imported (ignored) from the document to the repository.
public IEnumerable<string> AttributeNamesNotImported { get; }
Property Value
Count
public int Count { get; }
Property Value
DeleteCount
The amount of entities deleted in the repository on data import.
public int DeleteCount { get; }
Property Value
EntitiesToCreate
The amount of entities created in the repository on data import.
public int EntitiesToCreate { get; }
Property Value
EntitiesToUpdate
The amount of enities updated in the repository on data import.
public int EntitiesToUpdate { get; }
Property Value
EntityDeleteGuids
public List<Guid> EntityDeleteGuids { get; }
Property Value
ExistingEntities
public List<IEntity> ExistingEntities { get; }
Property Value
LanguagesInDocument
Get the languages found in the xml document.
public IEnumerable<string?> LanguagesInDocument { get; }