C# Class Persistencia.Conexao

ファイルを表示 Open project: gabrielfn97/projetolenda Class Usage Examples

Public Properties

Property Type Description
cn System.Data.SqlClient.SqlConnection

Public Methods

Method Description
Conexao ( String banco ) : System
executeNoQuery ( String SQL ) : int
executeReader ( String SQL ) : System.Data.SqlClient.SqlDataReader
executeScalar ( String SQL ) : object
fechaConexao ( ) : void

Method Details

Conexao() public method

public Conexao ( String banco ) : System
banco String
return System

executeNoQuery() public method

public executeNoQuery ( String SQL ) : int
SQL String
return int

executeReader() public method

public executeReader ( String SQL ) : System.Data.SqlClient.SqlDataReader
SQL String
return System.Data.SqlClient.SqlDataReader

executeScalar() public method

public executeScalar ( String SQL ) : object
SQL String
return object

fechaConexao() public method

public fechaConexao ( ) : void
return void

Property Details

cn public_oe property

public SqlConnection,System.Data.SqlClient cn
return System.Data.SqlClient.SqlConnection