//public string FromAsDecimal
 //{
 //    get
 //    {
 //        if (decimal.TryParse(From, out decimal ret))
 //        {
 //            return ParrotBeak.DecimalSerialize(ret);
 //        }
 //        return null;
 //    }
 //}
 //public string ToAsDecimal
 //{
 //    get
 //    {
 //        if (decimal.TryParse(To, out decimal ret))
 //        {
 //            return ParrotBeak.DecimalSerialize(ret);
 //        }
 //        return null;
 //    }
 //}
 internal SearchTerm(string field, string term = "", SearchFieldOption option = SearchFieldOption.TERM, Occur toccur = Occur.MUST)
 {
     Field           = field;
     TermOccur       = toccur;
     Term            = term;
     SearchingOption = option;
 }
Exemple #2
0
 public SearchFieldDefinition(
     string arg0,
     SearchFieldDataType arg1,
     string arg2,
     string arg3,
     string arg4,
     CheckUserRightsDelegate <TContext> arg5,
     ISqlExpressionModifier <TContext> arg6,
     SearchFieldOption arg7,
     SearchCriteriaComparison arg8,
     AggregateFunction arg9,
     string arg10,
     string[] arg11
     ) : base()
 {
     Field0  = arg0;
     Field1  = arg1;
     Field2  = arg2;
     Field3  = arg3;
     Field4  = arg4;
     Field5  = arg5;
     Field6  = arg6;
     Field7  = arg7;
     Field8  = arg8;
     Field9  = arg9;
     Field10 = arg10;
     Field11 = arg11;
 }
Exemple #3
0
 public WeekBeginSearchFieldDefinition(
     string arg0,
     string arg1,
     string arg2,
     CheckUserRightsDelegate <TContext> arg3,
     ISqlExpressionModifier <TContext> arg4,
     SearchFieldOption arg5,
     string arg6
     ) : base()
 {
 }
Exemple #4
0
 public InnerSearchFieldDefinition(
     string arg0,
     string arg1,
     string arg2,
     CheckUserRightsDelegate <TContext> arg4,
     ISqlExpressionModifier <TContext> arg5,
     SearchFieldOption arg6,
     SearchCriteriaComparison arg7,
     AggregateFunction arg8,
     SearchFieldDataType arg9
     ) : base()
 {
 }
Exemple #5
0
 public EnumSearchFieldDefinition(
     string arg0,
     SearchFieldDataType arg1,
     string arg2,
     string arg3,
     string arg4,
     CheckUserRightsDelegate <TContext> arg5,
     ISqlExpressionModifier <TContext> arg6,
     SearchFieldOption arg7,
     SearchCriteriaComparison arg8,
     AggregateFunction arg9,
     string arg10,
     string[] arg11
     ) : base(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11)
 {
 }
Exemple #6
0
 public TypeAndIdSearchFieldDefinition(string identifier, string sqlExpressionForType,
                                       string sqlExpressionForId,
                                       string criteriaPlacing,
                                       CheckUserRightsDelegate <TContext> isAccessibleByUser,
                                       ISqlExpressionModifier <TContext> accessRightsModifier,
                                       SearchFieldOption options,
                                       string[] tablesToJoin = null
                                       )
 {
     _identifier           = identifier;
     _sqlExpressionForType = sqlExpressionForType;
     _sqlExpressionForId   = sqlExpressionForId;
     _isAccessibleByUser   = isAccessibleByUser;
     _options = options;
     _accessRightsModifier = accessRightsModifier;
     _criteriaPlacing      = criteriaPlacing;
     _tablesToJoin         = tablesToJoin;
 }