Table of Contents

Class QCommentSearch

Namespace
InSite.Persistence
Assembly
InSite.Persistence.dll
public static class QCommentSearch
Inheritance
QCommentSearch
Inherited Members

Methods

BindFirst<T>(Guid, Expression<Func<QComment, T>>, string, string)

public static T BindFirst<T>(Guid id, Expression<Func<QComment, T>> binder, string modelSort = null, string entitySort = null)

Parameters

id Guid
binder Expression<Func<QComment, T>>
modelSort string
entitySort string

Returns

T

Type Parameters

T

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

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

Parameters

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

Returns

T

Type Parameters

T

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

public static T[] Bind<T>(Expression<Func<QComment, T>> binder, Expression<Func<QComment, bool>> filter, string modelSort = null, string entitySort = null)

Parameters

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

Returns

T[]

Type Parameters

T

Count(Expression<Func<QComment, bool>>)

public static int Count(Expression<Func<QComment, bool>> filter)

Parameters

filter Expression<Func<QComment, bool>>

Returns

int

Exists(Expression<Func<QComment, bool>>)

public static bool Exists(Expression<Func<QComment, bool>> filter)

Parameters

filter Expression<Func<QComment, bool>>

Returns

bool

GetPersonComments(Guid, Guid)

public static List<QComment> GetPersonComments(Guid userId, Guid organizationId)

Parameters

userId Guid
organizationId Guid

Returns

List<QComment>

Search(Guid, Guid)

public static List<VComment> Search(Guid organization, Guid container)

Parameters

organization Guid
container Guid

Returns

List<VComment>

SelectFirst(Guid, params Expression<Func<QComment, object>>[])

public static QComment SelectFirst(Guid id, params Expression<Func<QComment, object>>[] includes)

Parameters

id Guid
includes Expression<Func<QComment, object>>[]

Returns

QComment

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

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

Parameters

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

Returns

QComment