C# Class PlugInPackage.ImportAccessDB.ImportAccessDb

Inheritance: PlugInBase
Exibir arquivo Open project: magicdict/MongoCola Class Usage Examples

Public Properties

Property Type Description
ActionDone EventHandler

Public Methods

Method Description
GetTableList ( string accessFileName ) : List

获得字段列表

ImportAccessDataBase ( string accessFileName, List table, MongoServer mongoSvr ) : void

导入数据

ImportAccessDb ( ) : Common.System

OnActionDone ( ActionDoneEventArgs e ) : void

OnActionDone

Run ( ) : int

Private Methods

Method Description
GetDataType ( OleDbType oleDataType, long columnSize, int numericPrecision, int numericScale ) : string

获得数据类型

Method Details

GetTableList() public static method

获得字段列表
public static GetTableList ( string accessFileName ) : List
accessFileName string
return List

ImportAccessDataBase() public static method

导入数据
public static ImportAccessDataBase ( string accessFileName, List table, MongoServer mongoSvr ) : void
accessFileName string
table List
mongoSvr MongoServer
return void

ImportAccessDb() public method

public ImportAccessDb ( ) : Common.System
return Common.System

OnActionDone() public static method

OnActionDone
public static OnActionDone ( ActionDoneEventArgs e ) : void
e MongoUtility.EventArgs.ActionDoneEventArgs
return void

Run() public method

public Run ( ) : int
return int

Property Details

ActionDone public_oe static_oe property

通用的ActionDone事件
public static EventHandler ActionDone
return EventHandler