C# Class Frapid.WebApi.DataAccess.ViewRepository

Inheritance: Frapid.DbPolicy.DbAccess, IViewRepository
Exibir arquivo Open project: frapid/frapid Class Usage Examples

Public Methods

Method Description
CountAsync ( ) : Task
CountFilteredAsync ( string filterName ) : Task
CountWhereAsync ( List filters ) : Task
GetAsync ( ) : Task>
GetDisplayFieldsAsync ( ) : Task>
GetDisplayFieldsAsync ( List filters ) : Task>
GetFilteredAsync ( long pageNumber, string filterName ) : Task>
GetFiltersAsync ( string database, string filterName ) : Task>
GetLookupFieldsAsync ( ) : Task>
GetLookupFieldsAsync ( List filters ) : Task>
GetPaginatedResultAsync ( ) : Task>
GetPaginatedResultAsync ( long pageNumber ) : Task>
GetWhereAsync ( long pageNumber, List filters ) : Task>
ViewRepository ( string schemaName, string tableName, string database, long loginId, int userId ) : System.Collections.Generic

Private Methods

Method Description
GetCandidateKeyByConvention ( ) : string
GetLookupFieldByConvention ( ) : string
GetNameColumnByConvention ( ) : string
GetTableByConvention ( ) : string

Method Details

CountAsync() public method

public CountAsync ( ) : Task
return Task

CountFilteredAsync() public method

public CountFilteredAsync ( string filterName ) : Task
filterName string
return Task

CountWhereAsync() public method

public CountWhereAsync ( List filters ) : Task
filters List
return Task

GetAsync() public method

public GetAsync ( ) : Task>
return Task>

GetDisplayFieldsAsync() public method

public GetDisplayFieldsAsync ( ) : Task>
return Task>

GetDisplayFieldsAsync() public method

public GetDisplayFieldsAsync ( List filters ) : Task>
filters List
return Task>

GetFilteredAsync() public method

public GetFilteredAsync ( long pageNumber, string filterName ) : Task>
pageNumber long
filterName string
return Task>

GetFiltersAsync() public method

public GetFiltersAsync ( string database, string filterName ) : Task>
database string
filterName string
return Task>

GetLookupFieldsAsync() public method

public GetLookupFieldsAsync ( ) : Task>
return Task>

GetLookupFieldsAsync() public method

public GetLookupFieldsAsync ( List filters ) : Task>
filters List
return Task>

GetPaginatedResultAsync() public method

public GetPaginatedResultAsync ( ) : Task>
return Task>

GetPaginatedResultAsync() public method

public GetPaginatedResultAsync ( long pageNumber ) : Task>
pageNumber long
return Task>

GetWhereAsync() public method

public GetWhereAsync ( long pageNumber, List filters ) : Task>
pageNumber long
filters List
return Task>

ViewRepository() public method

public ViewRepository ( string schemaName, string tableName, string database, long loginId, int userId ) : System.Collections.Generic
schemaName string
tableName string
database string
loginId long
userId int
return System.Collections.Generic