Свойство | Тип | Описание | |
---|---|---|---|
_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 |
public SetTablename ( string tableName ) : void | ||
tableName | string | |
Результат | void |
public SetWriteFile ( string filename ) : bool | ||
filename | string | |
Результат | bool |
public WriteLine ( IEnumerable |
||
values | IEnumerable |
|
Результат | bool |
protected DbConnection,System.Data.Common _conn | ||
Результат |
protected DbCommand,System.Data.Common _insertCmd | ||
Результат |