22.58. Class ResultDataModelMapping
Namespace: ArmoniK.Core.Adapters.MongoDB.Table.DataModel
Assembly: ArmoniK.Core.Adapters.MongoDB.dll
Implementation of
public class ResultDataModelMapping : IMongoDataModelMapping<Result>
22.58.1. Inheritance
22.58.2. Implements
22.58.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.58.4. Properties
22.58.4.1. CollectionName
Gets the name of the MongoDB collection associated with the data model.
public string CollectionName { get; }
22.58.4.1.1. Property Value
22.58.5. Methods
22.58.5.1. InitializeIndexesAsync(IClientSessionHandle, IMongoCollection<Result>, MongoDB)
Setup indexes for the collection Can be called multiple times
public Task InitializeIndexesAsync(IClientSessionHandle sessionHandle, IMongoCollection<Result> collection, MongoDB options)
22.58.5.1.1. Parameters
sessionHandle IClientSessionHandle
MongoDB Client session
collection IMongoCollection<Result>
MongoDDB Collection in which to insert data
options MongoDB
Options for MongoDB
22.58.5.1.2. Returns
Task representing the asynchronous execution of the method