예제 #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));
            }
        }
예제 #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));
            }
        }
예제 #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));
            }
        }
예제 #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, ""));
            }
        }