/// <summary>
 /// Adds a new attribute definition to the database configuration for the specified <paramref name="entity"/>.
 /// </summary>
 /// <param name="client">The client class to use.</param>
 /// <param name="entity">The entity the attribute definition should be added to.</param>
 /// <param name="definition">The attribute definition to add.</param>
 /// <param name="cancellationToken">A token to cancel the asynchronous operation.</param>
 public static Task CreateAttributeDefinition <T>(this IDataServiceRestClientBase <T> client, EntityDto entity, AbstractAttributeDefinitionDto definition, CancellationToken cancellationToken = default) where T : DataServiceFeatureMatrix
 {
     return(client.CreateAttributeDefinitions(entity, new[] { definition }, cancellationToken));
 }