- Namespace
- InSite.Persistence
- Assembly
- InSite.Persistence.dll
public static class QCommentSearch
- Inheritance
-
QCommentSearch
- Inherited Members
-
Methods
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
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
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
public static int Count(Expression<Func<QComment, bool>> filter)
Parameters
filter Expression<Func<QComment, bool>>
Returns
- int
public static bool Exists(Expression<Func<QComment, bool>> filter)
Parameters
filter Expression<Func<QComment, bool>>
Returns
- bool
public static List<QComment> GetPersonComments(Guid userId, Guid organizationId)
Parameters
userId Guid
organizationId Guid
Returns
- List<QComment>
public static List<VComment> Search(Guid organization, Guid container)
Parameters
organization Guid
container Guid
Returns
- List<VComment>
public static QComment SelectFirst(Guid id, params Expression<Func<QComment, object>>[] includes)
Parameters
id Guid
includes Expression<Func<QComment, object>>[]
Returns
- QComment
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