Click or drag to resize
DocumentRepository Methods

The DocumentRepository type exposes the following members.

Methods
  NameDescription
Public methodAddCollection
Registers the given collection of objects within the repository.
Public methodDisconnect
Disconnects the collections from the database
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Protected methodGetCollection
Returns the collection of objects indexed by object type, e.g. "cms.user".
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Public methodGetEnumerator
Gets the enumerator for the collection.
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Public methodGetNicePropertyName
Gets the property name for the original name of the collection
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Public methodGetObjectName
Returns the name of the given object
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Public methodGetProperty
Gets the property value.
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Protected methodGetRootDocument
Gets the root document from the database.
Protected methodLoadCollection
Loads the given collection.
(Overrides ObjectRepositoryTCollection, TObject, TSettingsLoadCollection(TSettings).)
Public methodNewCollection
Creates new collection for the data.
(Overrides ObjectRepositoryTCollection, TObject, TSettingsNewCollection(String).)
Public methodNewCombinedCollection
Creates new combined collection for the data.
(Overrides ObjectRepositoryTCollection, TObject, TSettingsNewCombinedCollection.)
Public methodReconnect
Reconnects the collection to the database
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Protected methodRegisterNiceName
Registers the nice name of the collection
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Public methodTryGetProperty
Returns value of property.
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also