C# Class HospitalLib.Providers.DatabaseProvider

Afficher le fichier Open project: Confirmit/Students Class Usage Examples

Méthodes publiques

Méthode Description
GetData ( SqlCommand command ) : System.Data.SqlClient.SqlDataReader
GetDataScalar ( string query ) : int
PushData ( SqlCommand command ) : void
PushDataWithOutputParameters ( SqlCommand command ) : System.Data.SqlClient.SqlParameterCollection

Private Methods

Méthode Description
CreateConection ( ) : SqlConnection

Method Details

GetData() public méthode

public GetData ( SqlCommand command ) : System.Data.SqlClient.SqlDataReader
command System.Data.SqlClient.SqlCommand
Résultat System.Data.SqlClient.SqlDataReader

GetDataScalar() public méthode

public GetDataScalar ( string query ) : int
query string
Résultat int

PushData() public méthode

public PushData ( SqlCommand command ) : void
command System.Data.SqlClient.SqlCommand
Résultat void

PushDataWithOutputParameters() public méthode

public PushDataWithOutputParameters ( SqlCommand command ) : System.Data.SqlClient.SqlParameterCollection
command System.Data.SqlClient.SqlCommand
Résultat System.Data.SqlClient.SqlParameterCollection