Struct UpdateEntry
Pairs necessary information for updates: query, update documents along with upsert and multi flags
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NFX.DataAccess.MongoDB.Connector
Assembly: NFX.MongoDB.dll
Syntax
public struct UpdateEntry
Constructors
UpdateEntry(BSONDocument, BSONDocument, Boolean, Boolean)
Declaration
public UpdateEntry(BSONDocument query, BSONDocument update, bool multi, bool upsert)
Parameters
| Type | Name | Description |
|---|---|---|
| BSONDocument | query | |
| BSONDocument | update | |
| System.Boolean | multi | |
| System.Boolean | upsert |
Fields
Multi
Declaration
public readonly bool Multi
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Query
Declaration
public readonly BSONDocument Query
Field Value
| Type | Description |
|---|---|
| BSONDocument |
Update
Declaration
public readonly BSONDocument Update
Field Value
| Type | Description |
|---|---|
| BSONDocument |
Upsert
Declaration
public readonly bool Upsert
Field Value
| Type | Description |
|---|---|
| System.Boolean |