Interface IRaythaDbJsonQueryEngine
- Namespace
- Raytha.Application.Common.Interfaces
- Assembly
- Raytha.Application.dll
public interface IRaythaDbJsonQueryEngine
Methods
CountContentItems(Guid, string[], string, string[], IDbTransaction)
int CountContentItems(Guid contentTypeId, string[] searchOnColumns, string search, string[] filters, IDbTransaction transaction = null)
Parameters
contentTypeId
Guid
searchOnColumns
string[]
search
string
filters
string[]
transaction
IDbTransaction
Returns
- int
FirstOrDefault(Guid)
ContentItem FirstOrDefault(Guid entityId)
Parameters
entityId
Guid
Returns
- ContentItem
QueryAllContentItemsAsTransaction(Guid, string[], string, string[], string)
IEnumerable<ContentItem> QueryAllContentItemsAsTransaction(Guid contentTypeId, string[] searchOnColumns, string search, string[] filters, string orderBy)
Parameters
contentTypeId
Guid
searchOnColumns
string[]
search
string
filters
string[]
orderBy
string
Returns
- IEnumerable<ContentItem>
QueryContentItems(Guid, string[], string, string[], int, int, string, IDbTransaction)
IEnumerable<ContentItem> QueryContentItems(Guid contentTypeId, string[] searchOnColumns, string search, string[] filters, int pageSize, int pageNumber, string orderBy, IDbTransaction transaction = null)
Parameters
contentTypeId
Guid
searchOnColumns
string[]
search
string
filters
string[]
pageSize
int
pageNumber
int
orderBy
string
transaction
IDbTransaction
Returns
- IEnumerable<ContentItem>