Click or drag to resize

DbDoc Class

Represents a generic document in JSON format.
Inheritance Hierarchy
SystemObject
  MySqlX.XDevAPIDbDoc

Namespace:  MySqlX.XDevAPI
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public class DbDoc

The DbDoc type exposes the following members.

Constructors
  NameDescription
Public methodDbDoc
Initializes a new instance of the DbDoc class based on the object provided. The value can be a domain object, anonymous object, or JSON string.
Top
Properties
  NameDescription
Public propertyHasId
Gets a value indicating if this document has an identifier (property named _id with a value).
Public propertyId
Gets the identifier of the document.
Public propertyItem
Gets the value of a document property.
Top
Methods
  NameDescription
Public methodEquals
Compares this DbDoc with another one.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Gets a value that serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetValue
Sets a property on this document.
Public methodToString
Returns this document in Json format.
(Overrides ObjectToString.)
Top
See Also