Exemplo n.º 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));
            }
        }
Exemplo n.º 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));
            }
        }
Exemplo n.º 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));
            }
        }
Exemplo n.º 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, ""));
            }
        }