Interface IContactSearch
- Namespace
- InSite.Application.Contacts.Read
- Assembly
- Shift.Sdk.dll
public interface IContactSearch
- Extension Methods
-
Methods
T BindFirstPerson<T>(Expression<Func<VPerson, T>> binder, Expression<Func<VPerson, bool>> filter, string modelSort = null, string entitySort = null)
Parameters
binder Expression<Func<VPerson, T>>
filter Expression<Func<VPerson, bool>>
modelSort string
entitySort string
Returns
- T
Type Parameters
T
T BindFirst<T>(Expression<Func<VUser, T>> binder, Expression<Func<VUser, bool>> filter, string modelSort = null, string entitySort = null)
Parameters
binder Expression<Func<VUser, T>>
filter Expression<Func<VUser, bool>>
modelSort string
entitySort string
Returns
- T
Type Parameters
T
T[] BindPerson<T>(Expression<Func<VPerson, T>> binder, Expression<Func<VPerson, bool>> filter, Paging paging, string modelSort = null, string entitySort = null)
Parameters
binder Expression<Func<VPerson, T>>
filter Expression<Func<VPerson, bool>>
paging Paging
modelSort string
entitySort string
Returns
- T[]
Type Parameters
T
T[] BindPerson<T>(Expression<Func<VPerson, T>> binder, Expression<Func<VPerson, bool>> filter, string modelSort = null, string entitySort = null)
Parameters
binder Expression<Func<VPerson, T>>
filter Expression<Func<VPerson, bool>>
modelSort string
entitySort string
Returns
- T[]
Type Parameters
T
T[] Bind<T>(Expression<Func<VUser, T>> binder, QUserFilter filter)
Parameters
binder Expression<Func<VUser, T>>
filter QUserFilter
Returns
- T[]
Type Parameters
T
T[] Bind<T>(Expression<Func<VUser, T>> binder, Expression<Func<VUser, bool>> filter, Paging paging, string modelSort = null, string entitySort = null)
Parameters
binder Expression<Func<VUser, T>>
filter Expression<Func<VUser, bool>>
paging Paging
modelSort string
entitySort string
Returns
- T[]
Type Parameters
T
T[] Bind<T>(Expression<Func<VUser, T>> binder, Expression<Func<VUser, bool>> filter, string modelSort = null, string entitySort = null)
Parameters
binder Expression<Func<VUser, T>>
filter Expression<Func<VUser, bool>>
modelSort string
entitySort string
Returns
- T[]
Type Parameters
T
int Count(QUserFilter filter)
Parameters
filter QUserFilter
Returns
- int
VAddress GetAddress(Guid address)
Parameters
address Guid
Returns
- VAddress
EmailAddress GetEmailAddress(Guid user, Guid organization)
Parameters
user Guid
organization Guid
Returns
- EmailAddress
EmailAddress[] GetEmailAddresses(IEnumerable<Guid> users, Guid organization)
Parameters
users IEnumerable<Guid>
organization Guid
Returns
- EmailAddress[]
VGroup GetGroup(Guid group)
Parameters
group Guid
Returns
- VGroup
List<DateTimeOffset> GetHolidays()
Returns
- List<DateTimeOffset>
VPerson GetPerson(Guid user, Guid organization)
Parameters
user Guid
organization Guid
Returns
- VPerson
VPerson GetPersonByCode(string code, Guid organization)
Parameters
code string
organization Guid
Returns
- VPerson
string GetPersonLanguage(Guid user, Guid organization)
Parameters
user Guid
organization Guid
Returns
- string
VPerson[] GetPersons(IEnumerable<Guid> users, Guid organization)
Parameters
users IEnumerable<Guid>
organization Guid
Returns
- VPerson[]
Parameters
user Guid
Returns
- VUser