Exemple #1
0
        private static string GetSPNameWithParameters(string action)
        {
            switch (SPSource.SPFile)
            {
            case "JsonFile":
                return(GetSPFrom.JsonFile(action));

            case "DBTable":
                return(GetSPFrom.DbTable(action, "AppraisalPageHelp"));

            default:
                return(GetSPInClass(action));
            }
        }
Exemple #2
0
        public static string GetSP(string action)
        {
            switch (SPSource.SPFile)
            {
            case "JsonFile":
                return(GetSPFrom.JsonFile(action));

            case "DBTable":
                return(GetSPFrom.DbTable(action, "AppraisalGeneral"));

            default:
                return(GetSPInClass(action));
            }
        }
Exemple #3
0
        public override string GetSPandParametersByOverride(string action)
        {
            switch (SPSource.SPFile)
            {
            case "JsonFile":
                return(GetSPFrom.JsonFile(action));

            case "DBTable":
                return(GetSPFrom.DbTable(action, "AppraisalPageHelp"));

            default:
                return(GetSPInClass(action));
            }
        }
Exemple #4
0
        public static string GetSP(string action)
        {
            switch (SPSource.SPFile)
            {
            case "JsonFile":
                return(GetSPFrom.JsonFile(action));

            case "DBTable":
                return(GetSPFrom.DbTable(action, "StaffProfile"));

            default:
                return(GetSPInClass(action, ""));
            }
        }