21.61. Class TaskDataModelMapping
Namespace: ArmoniK.Core.Adapters.MongoDB.Table.DataModel
Assembly: ArmoniK.Core.Adapters.MongoDB.dll
Implementation of
public class TaskDataModelMapping : IMongoDataModelMapping<TaskData>
21.61.1. Inheritance
21.61.2. Implements
21.61.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.61.4. Properties
21.61.4.1. CollectionName
Gets the name of the MongoDB collection associated with the data model.
public string CollectionName { get; }
21.61.4.1.1. Property Value
21.61.5. Methods
21.61.5.1. InitializeIndexesAsync(IClientSessionHandle, IMongoCollection<TaskData>, MongoDB)
Setup indexes for the collection Can be called multiple times
public Task InitializeIndexesAsync(IClientSessionHandle sessionHandle, IMongoCollection<TaskData> collection, MongoDB options)
21.61.5.1.1. Parameters
sessionHandle IClientSessionHandle
MongoDB Client session
collection IMongoCollection<TaskData>
MongoDDB Collection in which to insert data
options MongoDB
Options for MongoDB
21.61.5.1.2. Returns
Task representing the asynchronous execution of the method