C# 클래스 lw_common.db_util

파일 보기 프로젝트 열기: jtorjo/logwizard

공개 메소드들

메소드 설명
create_db_connection ( string db_provider, string db_connection_string ) : DbConnection
db_connection_type_to_db_provider ( string connection_type ) : string
insert_into_to_db_fields ( string sql ) : List
non_null_dt ( System.Data.Common.DbDataReader rs, int idx ) : System.DateTime
non_null_int ( System.Data.Common.DbDataReader rs, int idx ) : int
non_null_str ( System.Data.Common.DbDataReader rs, int idx ) : string
sqlite_db_table_fields ( string db_name, string table_name ) : List
sqlite_db_tables ( string db_name ) : List

비공개 메소드들

메소드 설명
to_db_field_name ( string name ) : string

메소드 상세

create_db_connection() 공개 정적인 메소드

public static create_db_connection ( string db_provider, string db_connection_string ) : DbConnection
db_provider string
db_connection_string string
리턴 System.Data.Common.DbConnection

db_connection_type_to_db_provider() 공개 정적인 메소드

public static db_connection_type_to_db_provider ( string connection_type ) : string
connection_type string
리턴 string

insert_into_to_db_fields() 공개 정적인 메소드

public static insert_into_to_db_fields ( string sql ) : List
sql string
리턴 List

non_null_dt() 공개 정적인 메소드

public static non_null_dt ( System.Data.Common.DbDataReader rs, int idx ) : System.DateTime
rs System.Data.Common.DbDataReader
idx int
리턴 System.DateTime

non_null_int() 공개 정적인 메소드

public static non_null_int ( System.Data.Common.DbDataReader rs, int idx ) : int
rs System.Data.Common.DbDataReader
idx int
리턴 int

non_null_str() 공개 정적인 메소드

public static non_null_str ( System.Data.Common.DbDataReader rs, int idx ) : string
rs System.Data.Common.DbDataReader
idx int
리턴 string

sqlite_db_table_fields() 공개 정적인 메소드

public static sqlite_db_table_fields ( string db_name, string table_name ) : List
db_name string
table_name string
리턴 List

sqlite_db_tables() 공개 정적인 메소드

public static sqlite_db_tables ( string db_name ) : List
db_name string
리턴 List