dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBParameter Class
Properties Methods


On this page
    MongoDBParameter Class Members
    On this page

    The following tables list the members exposed by MongoDBParameter.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the MongoDBParameter class.  
    Top
    Public Properties
     NameDescription
    Public PropertyOverridden. Gets or sets the DbType of the parameter. The value is converted to and from the MongoDBType property.  
    Public PropertyOverridden. Gets or sets the direction of the parameter. Always returns System.Data.ParameterDirection.Input; setting any other value throws System.NotSupportedException.  
    Public PropertyGets or sets a value indicating whether the parameter accepts null values. (Inherited from Devart.Common.DbParameterBase)
    Public PropertyGets or sets the MongoDB data type of the parameter, which defines how the value is written into a native command (for example, Long as {"$numberLong": ...}, Oid as {"$oid": ...}, Object as JSON text inserted as is). If the type is not set, it is inferred from the type of Value; for a a null reference (Nothing in Visual Basic) value it is MongoDBType.String.  
    Public PropertyGets or sets the name of the Devart.Common.DbParameterBase. (Inherited from Devart.Common.DbParameterBase)
    Public PropertyGets or sets the maximum size, in bytes, of the data within the column. (Inherited from Devart.Common.DbParameterBase)
    Public PropertyGets or sets the name of the source column mapped to the System.Data.DataSet and used for loading or returning the Value. For internal use. (Inherited from Devart.Common.DbParameterBase)
    Public PropertySets or gets a value which indicates whether the source column is nullable. (Inherited from Devart.Common.DbParameterBase)
    Public PropertyGets or sets the System.Data.DataRowVersion to use when loading Value. (Inherited from Devart.Common.DbParameterBase)
    Public PropertyGets or sets the value of the parameter. (Inherited from Devart.Common.DbParameterBase)
    Top
    Protected Properties
     NameDescription
    Protected Property (Inherited from Devart.Common.DbParameterBase)
    Top
    Public Methods
     NameDescription
    Public MethodCreates a copy of the parameter with its name, type, size, direction, value and source column settings. A type that was not set stays not set in the copy and is inferred from the value.  
    Public MethodCopies all properties of a Devart.Common.DbParameterBase object to another Devart.Common.DbParameterBase object. (Inherited from Devart.Common.DbParameterBase)
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverridden. Resets the type of the parameter, so that it is inferred from Value again.  
    Public MethodGets the name of the Devart.Common.DbParameterBase. (Inherited from Devart.Common.DbParameterBase)
    Top
    See Also