C# Class webservFacturas.conexion.conector

Mostrar archivo Open project: VirtualCFDI/ValidaCFDIWS

Public Methods

Method Description
Closeconection ( SqlConnection cnn ) : void
ConexionSQL ( ) : SqlConnection
Consultasql ( string query ) : DataTable
InsertaSql ( string Query ) : bool

Method Details

Closeconection() public static method

public static Closeconection ( SqlConnection cnn ) : void
cnn System.Data.SqlClient.SqlConnection
return void

ConexionSQL() public static method

public static ConexionSQL ( ) : SqlConnection
return System.Data.SqlClient.SqlConnection

Consultasql() public static method

public static Consultasql ( string query ) : DataTable
query string
return System.Data.DataTable

InsertaSql() public method

public InsertaSql ( string Query ) : bool
Query string
return bool