C# Class CommandSamples.Program

Afficher le fichier Open project: ProfessionalCSharp/ProfessionalCSharp6

Méthodes publiques

Méthode Description
CreateCommand ( ) : void
CreateCommandWithParameters ( ) : void
ExecuteCommand ( ) : void
ExecuteNonQuery ( ) : void
ExecuteReader ( ) : void
ExecuteReader ( int productId ) : void
GetConnectionString ( ) : string
ShowUsage ( ) : void

Private Methods

Méthode Description
ExecuteScalar ( ) : void
GetProductInformationSQL ( ) : string
Main ( string args ) : void
StoredProcedure ( int entityId ) : void

Method Details

CreateCommand() public static méthode

public static CreateCommand ( ) : void
Résultat void

CreateCommandWithParameters() public static méthode

public static CreateCommandWithParameters ( ) : void
Résultat void

ExecuteCommand() public static méthode

public static ExecuteCommand ( ) : void
Résultat void

ExecuteNonQuery() public static méthode

public static ExecuteNonQuery ( ) : void
Résultat void

ExecuteReader() public static méthode

public static ExecuteReader ( ) : void
Résultat void

ExecuteReader() public static méthode

public static ExecuteReader ( int productId ) : void
productId int
Résultat void

GetConnectionString() public static méthode

public static GetConnectionString ( ) : string
Résultat string

ShowUsage() public static méthode

public static ShowUsage ( ) : void
Résultat void