DocumentRepository Methods |
The DocumentRepository type exposes the following members.
Name | Description | |
---|---|---|
AddCollection |
Registers the given collection of objects within the repository.
| |
Disconnect |
Disconnects the collections from the database
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) | |
GetCollection |
Returns the collection of objects indexed by object type, e.g. "cms.user".
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) | |
GetEnumerator |
Gets the enumerator for the collection.
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) | |
GetNicePropertyName |
Gets the property name for the original name of the collection
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) | |
GetObjectName |
Returns the name of the given object
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) | |
GetProperty |
Gets the property value.
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) | |
GetRootDocument |
Gets the root document from the database.
| |
LoadCollection |
Loads the given collection.
(Overrides ObjectRepositoryTCollection, TObject, TSettingsLoadCollection(TSettings).) | |
NewCollection |
Creates new collection for the data.
(Overrides ObjectRepositoryTCollection, TObject, TSettingsNewCollection(String).) | |
NewCombinedCollection |
Creates new combined collection for the data.
(Overrides ObjectRepositoryTCollection, TObject, TSettingsNewCombinedCollection.) | |
Reconnect |
Reconnects the collection to the database
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) | |
RegisterNiceName |
Registers the nice name of the collection
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) | |
TryGetProperty |
Returns value of property.
(Inherited from ObjectRepositoryTCollection, TObject, TSettings.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |