示例#1
0
 public static AppFilter GetAppFilter(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <AppFilter>(AppFilterQueryExtensions.SystemFilterKey));
 }
 public static ChildQuery GetChildQuery(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <ChildQuery>(ChildQueryExtensions.ChildQueryKey));
 }
 public static SoftDeleteQueryMode GetSoftDeleteMode(this IRepositoryQuery query, SoftDeleteQueryMode defaultMode = SoftDeleteQueryMode.ActiveOnly)
 {
     return(query.SafeGetOption <SoftDeleteQueryMode>(SoftDeleteQueryExtensions.SoftDeleteModeKey, defaultMode));
 }
示例#4
0
 public static SearchOperator GetSearchExpressionDefaultOperator(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <SearchOperator>(QueryExpressionsExtensions.CriteriaDefaultOperatorKey, SearchOperator.Or));
 }
示例#5
0
 public static string GetSortExpression(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <string>(QueryExpressionsExtensions.SortKey));
 }
示例#6
0
 public static ExceptionlessSystemFilter GetSystemFilter(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <ExceptionlessSystemFilter>(ExceptionlessSystemFilterQueryExtensions.SystemFilterKey));
 }
示例#7
0
 public static ISystemFilter GetSystemFilter(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <ISystemFilter>(QueryExpressionsExtensions.SystemFilterKey));
 }
 public static bool IsEventStackFilterInverted(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <bool>(EventStackFilterQueryExtensions.EventStackFilterInvertedKey, false));
 }
 public static string GetAggregationsExpression(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <string>(AggregationQueryExtensions.AggregationsKey, null));
 }
 public static bool ShouldEnforceEventStackFilter(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <bool>(EventStackFilterQueryExtensions.EnforceEventStackFilterKey, false));
 }
示例#11
0
 public static DateTime?GetElasticIndexesEndUtc(this IRepositoryQuery options)
 {
     return(options.SafeGetOption <DateTime?>(ElasticIndexesQueryExtensions.ElasticIndexesEndUtcKey));
 }
 public static string GetEmailAddress(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <string>(EmailAddressQueryExtensions.EmailAddressKey));
 }
示例#13
0
 public static string GetDiscriminator(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <string>(ParentQueryExtensions.DiscriminatorKey));
 }
示例#14
0
 public static IRepositoryQuery GetParentQuery(this IRepositoryQuery query)
 {
     return(query.SafeGetOption <IRepositoryQuery>(ParentQueryExtensions.ParentQueryKey));
 }