Skip to main content
All docs
V25.1
  • MongoDBSchemaNode.BsonElement Property

    Specifies the BsonElement name used for deserialization.

    Namespace: DevExpress.DataAccess.MongoDB

    Assembly: DevExpress.DataAccess.v25.1.dll

    NuGet Package: DevExpress.DataAccess

    Declaration

    [DataMember]
    [DefaultValue(null)]
    public string BsonElement { get; set; }

    Property Value

    Type Default Description
    String null

    A name of the field in the serialized BSON document.

    Remarks

    Use this property to map a property of an autogenerated class to a specified field in the serialized BSON document.

    See Also