C# 클래스 HospitalLib.Providers.DatabaseProvider

파일 보기 프로젝트 열기: Confirmit/Students 1 사용 예제들

공개 메소드들

메소드 설명
GetData ( SqlCommand command ) : System.Data.SqlClient.SqlDataReader
GetDataScalar ( string query ) : int
PushData ( SqlCommand command ) : void
PushDataWithOutputParameters ( SqlCommand command ) : System.Data.SqlClient.SqlParameterCollection

비공개 메소드들

메소드 설명
CreateConection ( ) : SqlConnection

메소드 상세

GetData() 공개 메소드

public GetData ( SqlCommand command ) : System.Data.SqlClient.SqlDataReader
command System.Data.SqlClient.SqlCommand
리턴 System.Data.SqlClient.SqlDataReader

GetDataScalar() 공개 메소드

public GetDataScalar ( string query ) : int
query string
리턴 int

PushData() 공개 메소드

public PushData ( SqlCommand command ) : void
command System.Data.SqlClient.SqlCommand
리턴 void

PushDataWithOutputParameters() 공개 메소드

public PushDataWithOutputParameters ( SqlCommand command ) : System.Data.SqlClient.SqlParameterCollection
command System.Data.SqlClient.SqlCommand
리턴 System.Data.SqlClient.SqlParameterCollection