Table of Contents

Class TReportSearch

Namespace
InSite.Persistence
Assembly
InSite.Persistence.dll
public class TReportSearch
Inheritance
TReportSearch
Inherited Members

Constructors

TReportSearch()

public TReportSearch()

Methods

BindFirst<T>(Expression<Func<TReport, T>>, Expression<Func<TReport, bool>>, string, string)

public static T BindFirst<T>(Expression<Func<TReport, T>> binder, Expression<Func<TReport, bool>> filter, string modelSort = null, string entitySort = null)

Parameters

binder Expression<Func<TReport, T>>
filter Expression<Func<TReport, bool>>
modelSort string
entitySort string

Returns

T

Type Parameters

T

Bind<T>(Expression<Func<TReport, T>>, Expression<Func<TReport, bool>>, string, string)

public static IReadOnlyList<T> Bind<T>(Expression<Func<TReport, T>> binder, Expression<Func<TReport, bool>> filter, string modelSort = null, string entitySort = null)

Parameters

binder Expression<Func<TReport, T>>
filter Expression<Func<TReport, bool>>
modelSort string
entitySort string

Returns

IReadOnlyList<T>

Type Parameters

T

Select(Guid)

public static TReport Select(Guid report)

Parameters

report Guid

Returns

TReport

Select(Guid, Guid, string, string, string)

public static IReadOnlyList<TReport> Select(Guid organizationId, Guid userId, string reportType, string reportData, string reportDescription)

Parameters

organizationId Guid
userId Guid
reportType string
reportData string
reportDescription string

Returns

IReadOnlyList<TReport>

Select(Expression<Func<TReport, bool>>, params Expression<Func<TReport, object>>[])

public static IReadOnlyList<TReport> Select(Expression<Func<TReport, bool>> filter, params Expression<Func<TReport, object>>[] includes)

Parameters

filter Expression<Func<TReport, bool>>
includes Expression<Func<TReport, object>>[]

Returns

IReadOnlyList<TReport>

Select(Expression<Func<TReport, bool>>, string, params Expression<Func<TReport, object>>[])

public static IReadOnlyList<TReport> Select(Expression<Func<TReport, bool>> filter, string sortExpression, params Expression<Func<TReport, object>>[] includes)

Parameters

filter Expression<Func<TReport, bool>>
sortExpression string
includes Expression<Func<TReport, object>>[]

Returns

IReadOnlyList<TReport>

SelectFirst(Expression<Func<TReport, bool>>, params Expression<Func<TReport, object>>[])

public static TReport SelectFirst(Expression<Func<TReport, bool>> filter, params Expression<Func<TReport, object>>[] includes)

Parameters

filter Expression<Func<TReport, bool>>
includes Expression<Func<TReport, object>>[]

Returns

TReport