C# Class UCSF.GlobalHealth.Services.ProjectLoader

Afficher le fichier Open project: CTSIatUCSF/gadgets Class Usage Examples

Private Properties

Свойство Type Description
AddAppToPerson void
DeleteAppFromAllPersons void
GetJson string

Méthodes publiques

Méthode Description
Load ( ) : IList
ProjectLoader ( string url, string applicationName, string url_timeout, string externalid ) : System
Save ( IList projects ) : void

Méthodes protégées

Méthode Description
DeleteProjects ( SqlConnection conn, int applicationId ) : void
GetApplicationId ( SqlConnection conn, string appName ) : int
GetNodeId ( String employeeId ) : long?
PrepareProjects ( IList projects ) : IList>.IDictionary
PrepareStetements ( SqlConnection conn ) : void
Save ( SqlConnection conn, int applicationId, string employeeId, IList projects ) : void
getProjectsPrint ( IList projects ) : string

Private Methods

Méthode Description
AddAppToPerson ( SqlConnection conn, int applicationId, long nodeId ) : void
DeleteAppFromAllPersons ( SqlConnection conn, int applicationId ) : void
GetJson ( Project project ) : string

Method Details

DeleteProjects() protected méthode

protected DeleteProjects ( SqlConnection conn, int applicationId ) : void
conn System.Data.SqlClient.SqlConnection
applicationId int
Résultat void

GetApplicationId() protected méthode

protected GetApplicationId ( SqlConnection conn, string appName ) : int
conn System.Data.SqlClient.SqlConnection
appName string
Résultat int

GetNodeId() protected méthode

protected GetNodeId ( String employeeId ) : long?
employeeId String
Résultat long?

Load() public méthode

public Load ( ) : IList
Résultat IList

PrepareProjects() protected méthode

protected PrepareProjects ( IList projects ) : IList>.IDictionary
projects IList
Résultat IList>.IDictionary

PrepareStetements() protected méthode

protected PrepareStetements ( SqlConnection conn ) : void
conn System.Data.SqlClient.SqlConnection
Résultat void

ProjectLoader() public méthode

public ProjectLoader ( string url, string applicationName, string url_timeout, string externalid ) : System
url string
applicationName string
url_timeout string
externalid string
Résultat System

Save() public méthode

public Save ( IList projects ) : void
projects IList
Résultat void

Save() protected méthode

protected Save ( SqlConnection conn, int applicationId, string employeeId, IList projects ) : void
conn System.Data.SqlClient.SqlConnection
applicationId int
employeeId string
projects IList
Résultat void

getProjectsPrint() protected méthode

protected getProjectsPrint ( IList projects ) : string
projects IList
Résultat string