C# 클래스 Rock.Model.DataViewService

DataView Service and Data access class
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
GetAvailableEntityTypes ( ) : IQueryable

Returns an enumerable collection of EntityTypes that have a DataView associated with them.

GetByEntityTypeId ( int entityTypeId ) : IQueryable

Returns an enumerable collection of Rock.Model.DataView">DataViews that are associated with a specified

GetIds ( int dataViewId ) : List

Gets the ids.

GetNewFromTemplate ( int dataViewId ) : DataView

Create a new non-persisted Data View using an existing Data View as a template.

IsViewInFilter ( int dataViewId, DataViewFilter filter ) : bool

Determines whether the specified Data View forms part of a filter.

비공개 메소드들

메소드 설명
IsViewInFilter ( int dataViewId, DataViewFilter filter, int dataViewFilterEntityId ) : bool
ResetPermanentStoreIdentifiers ( DataViewFilter filter ) : void

Reset all of the identifiers on a DataViewFilter that uniquely identify it in the permanent store.

메소드 상세

GetAvailableEntityTypes() 공개 메소드

Returns an enumerable collection of EntityTypes that have a DataView associated with them.
public GetAvailableEntityTypes ( ) : IQueryable
리턴 IQueryable

GetByEntityTypeId() 공개 메소드

Returns an enumerable collection of Rock.Model.DataView">DataViews that are associated with a specified
public GetByEntityTypeId ( int entityTypeId ) : IQueryable
entityTypeId int A representing the EntityTypeId of the to search by.
리턴 IQueryable

GetIds() 공개 메소드

Gets the ids.
public GetIds ( int dataViewId ) : List
dataViewId int The data view identifier.
리턴 List

GetNewFromTemplate() 공개 메소드

Create a new non-persisted Data View using an existing Data View as a template.
public GetNewFromTemplate ( int dataViewId ) : DataView
dataViewId int The identifier of a Data View to use as a template for the new Data View.
리턴 DataView

IsViewInFilter() 공개 메소드

Determines whether the specified Data View forms part of a filter.
public IsViewInFilter ( int dataViewId, DataViewFilter filter ) : bool
dataViewId int The unique identifier of a Data View.
filter DataViewFilter The filter.
리턴 bool