프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_conn | |||
_filename | string | ||
_insertCmd | |||
_tablename | string | ||
_tablenames | List |
메소드 | 설명 | |
---|---|---|
AccessDBValueWriter ( ) : System |
construct a new blank writer (any writes will throw exceptions if you don't set a stream or a file!)
|
|
AccessDBValueWriter ( string filename ) : System |
construct a new writer to append to the given file
|
|
Close ( ) : bool |
closes the underlying stream
|
|
CreateTable ( string tablename, IEnumerable |
||
Flush ( ) : bool |
flushes the stream
|
|
IsOpen ( ) : bool |
returns true if the database connection is open and ready
|
|
SetTablename ( string tableName ) : void | ||
SetWriteFile ( string filename ) : bool |
Opens or creates an MS Access database file for writing
|
|
TableNames ( ) : List |
pulls a list of datatable names from the database and caches them. (this list does not refresh, because this reader is read-only)
|
|
WriteLine ( IEnumerable |
Make sure you have a value for every column! This is really intentionally not thread safe, do not share this class across threads.
|
public AccessDBValueWriter ( string filename ) : System | ||
filename | string | |
리턴 | System |
public CreateTable ( string tablename, IEnumerable |
||
tablename | string | |
columns | IEnumerable |
|
리턴 | bool |
protected DbConnection,System.Data.Common _conn | ||
리턴 |
protected DbCommand,System.Data.Common _insertCmd | ||
리턴 |