C# 클래스 Frapid.WebApi.DataAccess.FilterRepository

상속: Frapid.DbPolicy.DbAccess
파일 보기 프로젝트 열기: frapid/frapid 1 사용 예제들

공개 메소드들

메소드 설명
DeleteAsync ( string filterName ) : System.Threading.Tasks.Task

Deletes the row of the table "config.filters" against the supplied filter name.

FilterRepository ( string database, long loginId, int userId ) : System
GetWhereAsync ( long pageNumber, List filters ) : Task>
MakeDefaultAsync ( string objectName, string filterName ) : System.Threading.Tasks.Task
RecreateFiltersAsync ( string objectName, string filterName, List filters ) : System.Threading.Tasks.Task
RemoveDefaultAsync ( string objectName ) : System.Threading.Tasks.Task

메소드 상세

DeleteAsync() 공개 메소드

Deletes the row of the table "config.filters" against the supplied filter name.
/// Thown when the application user does not have sufficient privilege to perform /// this action. ///
public DeleteAsync ( string filterName ) : System.Threading.Tasks.Task
filterName string The value of the column "filter_name" which will be deleted.
리턴 System.Threading.Tasks.Task

FilterRepository() 공개 메소드

public FilterRepository ( string database, long loginId, int userId ) : System
database string
loginId long
userId int
리턴 System

GetWhereAsync() 공개 메소드

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

MakeDefaultAsync() 공개 메소드

public MakeDefaultAsync ( string objectName, string filterName ) : System.Threading.Tasks.Task
objectName string
filterName string
리턴 System.Threading.Tasks.Task

RecreateFiltersAsync() 공개 메소드

public RecreateFiltersAsync ( string objectName, string filterName, List filters ) : System.Threading.Tasks.Task
objectName string
filterName string
filters List
리턴 System.Threading.Tasks.Task

RemoveDefaultAsync() 공개 메소드

public RemoveDefaultAsync ( string objectName ) : System.Threading.Tasks.Task
objectName string
리턴 System.Threading.Tasks.Task