30.61. Class TaskDataModelMapping
Namespace: ArmoniK.Core.Adapters.MongoDB.Table.DataModel
Assembly: ArmoniK.Core.Adapters.MongoDB.dll
Implementation of
public class TaskDataModelMapping : IMongoDataModelMapping<TaskData>
30.61.1. Inheritance
30.61.2. Implements
30.61.3. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
30.61.4. Properties
30.61.4.1. CollectionName
Gets the name of the MongoDB collection associated with the data model.
public string CollectionName { get; }
30.61.4.1.1. Property Value
30.61.5. Methods
30.61.5.1. InitializeIndexes(MongoDB)
Setup indexes for the collection Can be called multiple times
public ICollection<CreateIndexModel<TaskData>> InitializeIndexes(MongoDB options)
30.61.5.1.1. Parameters
options MongoDB
Options for MongoDB
30.61.5.1.2. Returns
ICollection<CreateIndexModel<TaskData>>
Task representing the asynchronous execution of the method