# Interface IPoCMappingRepository

Namespace
  adas_core.Application.Repositories.Interfaces

Assembly
  adas-core.Application.dll

    public interface IPoCMappingRepository

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Methods

### FindByKey(string)

Asynchronously retrieves a PoCMapping associated with the specified key. Returns `null` when no mapping exists for the given key.

    Task<PoCMapping?> FindByKey(string key)

#### Parameters

`key` string

  The key used to look up the PoCMapping.

#### Returns

Task<PoCMapping>

  A task that represents the asynchronous operation. The task result contains the PoCMapping if found, or `null` if no mapping exists for the specified key.

### GetCollectionName()

Retrieves the name of the collection associated with the current context or entity.

    string GetCollectionName()

#### Returns

string

  The collection name as a string.