MongoDBUtility Methods |
The MongoDBUtility type exposes the following members.
Name | Description | |
---|---|---|
AddOrReplace(String, ExpandoObject) |
Adds or replaces a document within the default collection.
(Overrides NoSqlUtilityAddOrReplace(String, ExpandoObject).) | |
AddOrReplace(String, String, ExpandoObject) |
Adds or replaces a document within the specified collection.
| |
Delete(String) |
Deletes the specified id and it's associated document from the default colleciton.
(Overrides NoSqlUtilityDelete(String).) | |
Delete(String, String) |
Deletes the specified id and it's associated document from the specified collection.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Get(String) |
Gets a document from the database with the specified id within the default collection.
(Overrides NoSqlUtilityGet(String).) | |
Get(String, String) |
Gets a document from the database with the specified id within the specified collection.
| |
GetByQuery(Object) |
Gets documents from the database that correspond to the supplied query.
(Overrides NoSqlUtilityGetByQuery(Object).) | |
GetByQuery(Object, String) |
Gets documents from the database that correspond to the supplied query.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
isCollectionNameValid |
Checks the syntax of a supplied collection name to see if it contains invalid characters.
| |
LogException |
Logs an exception to the event log.
(Overrides NoSqlUtilityLogException(Exception, EventLog).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |