Exemple #1
0
 public static void TrackInfo(string userID, string type, string value)
 {
     string       SP = "dbo.tcdsb_LTO_PageUser_Track @UserID, @Type, @Value";
     WorkingTrack wt = new WorkingTrack {
         UserID = userID, Type = type, Value = value
     };
     var result = CommonExcute <WorkingTrack> .GeneralValue(SP, wt);
 }
Exemple #2
0
        public static string TrackInfo(string userID, string type)
        {
            string       SP = "dbo.tcdsb_LTO_PageUser_Track @UserID, @Type";
            WorkingTrack wt = new WorkingTrack {
                UserID = userID, Type = type
            };

            return(CommonExcute <WorkingTrack> .GeneralValue(SP, wt));
        }
Exemple #3
0
        public static string SchoolGeoProfile(string type, string schoolcode)
        {
            string       SP = "dbo.tcdsb_LTO_PageUser_SchoolGeoProfile @Type, @SchoolCode";
            WorkingTrack wt = new WorkingTrack {
                Type = type, SchoolCode = schoolcode
            };

            return(CommonExcute <WorkingTrack> .GeneralValue(SP, wt));
        }
Exemple #4
0
        public static List <UserProfile> UserLastWorkingParameter(string userID)
        {
            string       SP = "dbo.tcdsb_LTO_PageUser_Track @UserID, @Type";
            WorkingTrack wt = new WorkingTrack {
                UserID = userID, Type = "Allinfo"
            };

            return(CommonExcute <UserProfile> .GeneralList(SP, wt));
        }
Exemple #5
0
        public static string WorkingTask(string userID, string positionType, string schoolYear, string taskType)
        {
            string       SP = "dbo.tcdsb_LTO_PageUser_TasksCount @UserID, @Type, @SchoolYear, @TaskType";
            WorkingTrack wt = new WorkingTrack {
                UserID = userID, Type = positionType, SchoolYear = schoolYear, TaskType = taskType
            };

            return(CommonExcute <WorkingTrack> .GeneralValue(SP, wt));
        }