Click or drag to resize

MetadataWriter Class

Represents an object that reads metadata from a repository database and writes it to a "META" file.
Inheritance Hierarchy

Namespace:  NetQuarry.Metadata
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class MetadataWriter : MetadataBase

The MetadataWriter type exposes the following members.

Constructors
  NameDescription
Public methodMetadataWriter
Derived constructor
Top
Properties
  NameDescription
Protected propertyApplication
The application context object
(Inherited from MetadataBase.)
Protected propertyChangedModules
List of modules in the module_audit table
(Inherited from MetadataBase.)
Public propertyDatabase
The main (DataDB) object
(Inherited from MetadataBase.)
Protected propertyObjectDefs
The ObjectTypes collection
(Inherited from MetadataBase.)
Protected propertyXml
Gets the XML document used for writing the module.
(Inherited from MetadataBase.)
Top
Methods
  NameDescription
Public methodClearAudit
Clear the audit for the specified ModuleKey.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetModuleKey
Gets the ModuleKey for the specified object of the specified type. Generally the ModuleKey is the same as the objID, however, for certain cases (namely application and culture) the ModuleKey will be different.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsMarkedChanged
Returns true if the module is in the xmt_module_audit table OR (in this override's case) the flag for saving does not include 'save changed only.'
(Overrides MetadataBaseIsMarkedChanged(String).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave(String, String, String)
Persists an object to the specified file.
Public methodSave(String, String, String, MetadataSaveFlags)
Persists an object to the specified file.
Public methodSave(String, String, String, String, MetadataSaveFlags)
Persists an object to the specified file. For typical saves, oldFileName is not specified. Currently oldFileName is specified only when saving for the purposes of diffing files.
Public methodSaveApplication(String, String)
Saves all modules and the application metadata for the specified application key.
Public methodSaveApplication(String, String, Boolean)
Saves all modules and the application metadata for the specified application key
Public methodSaveApplication(String, String, Boolean, Boolean, Boolean)
Saves all modules and the application metadata for the specified application key
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAfterApplicationSaved
Fired before an application saves all of its modules
Public eventBeforeApplicationSaved
Fired before an application saves all of its modules
Public eventModuleSaved
Fired when a module is saved.
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also