- Namespace
- InSite.Persistence
- Assembly
- InSite.Persistence.dll
public static class PersonCommentSummarySearch
- Inheritance
-
PersonCommentSummarySearch
- Inherited Members
-
Methods
public static T BindFirst<T>(Expression<Func<VComment, T>> binder, Expression<Func<VComment, bool>> filter, string modelSort = null, string entitySort = null)
Parameters
binder Expression<Func<VComment, T>>
filter Expression<Func<VComment, bool>>
modelSort string
entitySort string
Returns
- T
Type Parameters
T
public static T[] Bind<T>(Expression<Func<VComment, T>> binder, Expression<Func<VComment, bool>> filter, string modelSort = null, string entitySort = null)
Parameters
binder Expression<Func<VComment, T>>
filter Expression<Func<VComment, bool>>
modelSort string
entitySort string
Returns
- T[]
Type Parameters
T
public static int Count(PersonCommentSummaryFilter filter)
Parameters
filter PersonCommentSummaryFilter
Returns
- int
public static int Count(Expression<Func<VComment, bool>> filter)
Parameters
filter Expression<Func<VComment, bool>>
Returns
- int
public static bool Exists(Expression<Func<VComment, bool>> filter)
Parameters
filter Expression<Func<VComment, bool>>
Returns
- bool
public static IReadOnlyList<VComment> Select(Expression<Func<VComment, bool>> filter, params Expression<Func<VComment, object>>[] includes)
Parameters
filter Expression<Func<VComment, bool>>
includes Expression<Func<VComment, object>>[]
Returns
- IReadOnlyList<VComment>
public static IReadOnlyList<VComment> Select(Expression<Func<VComment, bool>> filter, string sortExpression, params Expression<Func<VComment, object>>[] includes)
Parameters
filter Expression<Func<VComment, bool>>
sortExpression string
includes Expression<Func<VComment, object>>[]
Returns
- IReadOnlyList<VComment>
public static VComment SelectFirst(Expression<Func<VComment, bool>> filter, params Expression<Func<VComment, object>>[] includes)
Parameters
filter Expression<Func<VComment, bool>>
includes Expression<Func<VComment, object>>[]
Returns
- VComment
public static VComment SelectFirst(Expression<Func<VComment, bool>> filter, string sortExpression, Expression<Func<VComment, object>>[] includes)
Parameters
filter Expression<Func<VComment, bool>>
sortExpression string
includes Expression<Func<VComment, object>>[]
Returns
- VComment
public static List<VComment> SelectForCommentRepeater(Guid user, Guid organization)
Parameters
user Guid
organization Guid
Returns
- List<VComment>