Click or drag to resize

FieldDenormalizer Class

Denormalizes the fields specified from their own document to the parent document, if applicable. It assumes all fields specified are in the same document, it can't denormalize fields from different documents in one go: to do that for each source document a call to this class has to be made.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.DerivedModelDocumentVisitor
    SD.LLBLGen.Pro.ApplicationCore.DerivedModelFieldDenormalizer

Namespace:  SD.LLBLGen.Pro.ApplicationCore.DerivedModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public class FieldDenormalizer : DocumentVisitor

The FieldDenormalizer type exposes the following members.

Constructors
  NameDescription
Public methodFieldDenormalizer
Initializes a new instance of the FieldDenormalizer class
Top
Properties
  NameDescription
Protected propertyCurrentVisitedDocument
The currently visited document.
(Inherited from DocumentVisitor.)
Protected propertyPreviousVisitedDocument
The previously visited document, which means either null, or the parent document of the currently visited document: currentVisistedDocument is the source of field F which is part of previousVisitedDocument.
(Inherited from DocumentVisitor.)
Top
Methods
  NameDescription
Public methodDenormalize
Denormalizes the fields specified from their source document to their parent document if they can be denormalized. Have to be present in the same document. Call this method from an undoable period to have the work grouped as a single undoable period.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVisit(DocumentDefinitionBase)
Visits the specified document and all contained elements.
(Inherited from DocumentVisitor.)
Protected methodVisit(DocumentFieldDefinition)
Visits the specified field and its source, if the source is a document.
(Overrides DocumentVisitorVisit(DocumentFieldDefinition).)
Top
See Also