Свойство | Type | Description | |
---|---|---|---|
_conn | |||
_filename | string | ||
_insertCmd | |||
_tablename | string | ||
_tablenames | List |
Méthode | Description | |
---|---|---|
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 | |
Résultat | System |
public CreateTable ( string tablename, IEnumerable |
||
tablename | string | |
columns | IEnumerable |
|
Résultat | bool |
public SetTablename ( string tableName ) : void | ||
tableName | string | |
Résultat | void |
public SetWriteFile ( string filename ) : bool | ||
filename | string | |
Résultat | bool |
public WriteLine ( IEnumerable |
||
values | IEnumerable |
|
Résultat | bool |
protected DbConnection,System.Data.Common _conn | ||
Résultat |
protected DbCommand,System.Data.Common _insertCmd | ||
Résultat |