26.61. Class TaskDataModelMapping
Namespace: ArmoniK.Core.Adapters.MongoDB.Table.DataModel
Assembly: ArmoniK.Core.Adapters.MongoDB.dll
Implementation of
public class TaskDataModelMapping : IMongoDataModelMapping<TaskData>
26.61.1. Inheritance
26.61.2. Implements
26.61.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
26.61.4. Properties
26.61.4.1. CollectionName
Gets the name of the MongoDB collection associated with the data model.
public string CollectionName { get; }
26.61.4.1.1. Property Value
26.61.5. Methods
26.61.5.1. InitializeIndexes(MongoDB)
Setup indexes for the collection Can be called multiple times
public ICollection<CreateIndexModel<TaskData>> InitializeIndexes(MongoDB options)
26.61.5.1.1. Parameters
options MongoDB
Options for MongoDB
26.61.5.1.2. Returns
ICollection<CreateIndexModel<TaskData>>
Task representing the asynchronous execution of the method