Table of Contents

Interface IDataDictionaryRepository

Namespace
JJMasterData.Core.DataDictionary.Repository.Abstractions
Assembly
JJMasterData.Core.dll

The repository of Data Dictionaries (metadata)

public interface IDataDictionaryRepository

Methods

CreateStructureIfNotExistsAsync()

Task CreateStructureIfNotExistsAsync()

Returns

Task

DeleteAsync(string)

Task DeleteAsync(string elementName)

Parameters

elementName string

Returns

Task

ExistsAsync(string)

Task<bool> ExistsAsync(string elementName)

Parameters

elementName string

Returns

Task<bool>

GetFormElement(string)

FormElement GetFormElement(string elementName)

Parameters

elementName string

Returns

FormElement

GetFormElementAsync(string)

ValueTask<FormElement> GetFormElementAsync(string elementName)

Parameters

elementName string

Returns

ValueTask<FormElement>

GetFormElementInfoListAsync(DataDictionaryFilter, OrderByData, int, int)

Task<ListResult<FormElementInfo>> GetFormElementInfoListAsync(DataDictionaryFilter filters, OrderByData orderByData, int recordsPerPage, int currentPage)

Parameters

filters DataDictionaryFilter
orderByData OrderByData
recordsPerPage int
currentPage int

Returns

Task<ListResult<FormElementInfo>>

GetFormElementList(bool?)

List<FormElement> GetFormElementList(bool? apiSync = null)

Parameters

apiSync bool?

Returns

List<FormElement>

GetFormElementListAsync(bool?)

Task<List<FormElement>> GetFormElementListAsync(bool? apiSync = null)

Parameters

apiSync bool?

Returns

Task<List<FormElement>>

GetNameListAsync()

Task<List<string>> GetNameListAsync()

Returns

Task<List<string>>

InsertOrReplace(FormElement)

void InsertOrReplace(FormElement formElement)

Parameters

formElement FormElement

InsertOrReplaceAsync(FormElement)

Task InsertOrReplaceAsync(FormElement formElement)

Parameters

formElement FormElement

Returns

Task