C# 클래스 SharpPlant.DbMethods

파일 보기 프로젝트 열기: phusband/SharpPlant

공개 메소드들

메소드 설명
AddDbField ( string dbPath, string tableName, string fieldName, string fieldType ) : bool
GetDbDataSet ( string dbPath, IEnumerable tables ) : DataSet
GetDbImage ( object imageField ) : Image
GetDbTable ( string dbPath, string tableName ) : DataTable
UpdateDbRow ( string dbPath, DataRow row ) : bool
UpdateDbTable ( string dbPath, DataTable inputTable ) : bool

비공개 메소드들

메소드 설명
CheckOpenConnection ( System.Data.OleDb.OleDbConnection connection ) : void
GetAddFieldCommand ( string tableName, string fieldName, string fieldType, System.Data.OleDb.OleDbConnection connection ) : OleDbCommand
GetConnection ( string dbPath ) : System.Data.OleDb.OleDbConnection
GetConnection ( string dbPath, ConnectionType type ) : System.Data.OleDb.OleDbConnection
GetOleDbType ( Type inputType ) : OleDbType
GetSelectCommand ( string tableName, System.Data.OleDb.OleDbConnection connection ) : OleDbCommand
GetUpdateCommand ( DataRow row, System.Data.OleDb.OleDbConnection connection ) : OleDbCommand
GetUpdateCommand ( DataTable inputTable, object rowFilter, System.Data.OleDb.OleDbConnection connection ) : OleDbCommand

메소드 상세

AddDbField() 공개 정적인 메소드

public static AddDbField ( string dbPath, string tableName, string fieldName, string fieldType ) : bool
dbPath string
tableName string
fieldName string
fieldType string
리턴 bool

GetDbDataSet() 공개 정적인 메소드

public static GetDbDataSet ( string dbPath, IEnumerable tables ) : DataSet
dbPath string
tables IEnumerable
리턴 System.Data.DataSet

GetDbImage() 공개 정적인 메소드

public static GetDbImage ( object imageField ) : Image
imageField object
리턴 Image

GetDbTable() 공개 정적인 메소드

public static GetDbTable ( string dbPath, string tableName ) : DataTable
dbPath string
tableName string
리턴 System.Data.DataTable

UpdateDbRow() 공개 정적인 메소드

public static UpdateDbRow ( string dbPath, DataRow row ) : bool
dbPath string
row System.Data.DataRow
리턴 bool

UpdateDbTable() 공개 정적인 메소드

public static UpdateDbTable ( string dbPath, DataTable inputTable ) : bool
dbPath string
inputTable System.Data.DataTable
리턴 bool