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
DeleteAsync(string)
Task DeleteAsync(string elementName)
Parameters
elementName
string
Returns
ExistsAsync(string)
Task<bool> ExistsAsync(string elementName)
Parameters
elementName
string
Returns
GetFormElement(string)
FormElement GetFormElement(string elementName)
Parameters
elementName
string
Returns
GetFormElementAsync(string)
ValueTask<FormElement> GetFormElementAsync(string elementName)
Parameters
elementName
string
Returns
GetFormElementInfoListAsync(DataDictionaryFilter, OrderByData, int, int)
Task<ListResult<FormElementInfo>> GetFormElementInfoListAsync(DataDictionaryFilter filters, OrderByData orderByData, int recordsPerPage, int currentPage)
Parameters
filters
DataDictionaryFilterorderByData
OrderByDatarecordsPerPage
intcurrentPage
int
Returns
GetFormElementList(bool?)
List<FormElement> GetFormElementList(bool? apiSync = null)
Parameters
apiSync
bool?
Returns
GetFormElementListAsync(bool?)
Task<List<FormElement>> GetFormElementListAsync(bool? apiSync = null)
Parameters
apiSync
bool?
Returns
GetNameListAsync()
Task<List<string>> GetNameListAsync()
Returns
InsertOrReplace(FormElement)
void InsertOrReplace(FormElement formElement)
Parameters
formElement
FormElement
InsertOrReplaceAsync(FormElement)
Task InsertOrReplaceAsync(FormElement formElement)
Parameters
formElement
FormElement