Exemple #1
0
        public static string[] ParseQueryPekerjaan(string strFilterExpre1, string strFilterExpre2)
        {
            string[] arrReturn = new string[] { };
            string   strTemp2  = strFilterExpre2.Replace(" ME ", " >= ");

            strTemp2 = strTemp2.Replace(" LE ", " <= ");
            strTemp2 = strTemp2.Replace(" NN ", " && ");
            string strFilterExp1 = CustomCriteriaToLinqWhereParser.Process(CriteriaOperator.Parse(strFilterExpre1) as CriteriaOperator);
            string strFilterExp2 = strTemp2;

            arrReturn = new string[] { strFilterExp1, strFilterExp2 };
            return(arrReturn);
        }
        public IEnumerable <vwNotarisTabular> XLS_NotarisDetailAll(string strFilterExpression)
        {
            string strFilterExp = string.Empty;

            LogicalThreadContext.Properties["UserName"]   = User.Identity.Name;
            LogicalThreadContext.Properties["ActionType"] = "GetNotarisDetailAll";
            _auditer.Info("Display List Notaris Detail");

            if (!string.IsNullOrEmpty(strFilterExpression))
            {
                strFilterExp = CustomCriteriaToLinqWhereParser.Process(CriteriaOperator.Parse(strFilterExpression) as CriteriaOperator);
            }
            var rekananCollection = _repNotaris.XLS_GetNotarisDetailAll(strFilterExp);

            return(rekananCollection);
        }
Exemple #3
0
        public IEnumerable <fManagementRekanan_Result> XLS_ManagementRekanan(string strFilterExpression)
        {
            string strFilterExp = string.Empty;

            LogicalThreadContext.Properties["UserName"]   = User.Identity.Name;
            LogicalThreadContext.Properties["ActionType"] = "GetRekanan";
            _auditer.Info("Display List Management Rekanan");

            if (!string.IsNullOrEmpty(strFilterExpression))
            {
                strFilterExp = CustomCriteriaToLinqWhereParser.Process(CriteriaOperator.Parse(strFilterExpression) as CriteriaOperator);
            }
            var rekananCollection = _repRekanan.XLS_ManagementRekanan(strFilterExp);

            return(rekananCollection);
        }