C# 클래스 TPCCDatabaseGenerator.TPCCGenData

TPCCGenData is the container class for the routines that generate and load the actual data into the tables.
파일 보기 프로젝트 열기: SQLServerIO/TPCCBench 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MaxNumWh int
NumWh int
Sqlconn string

공개 메소드들

메소드 설명
BuildCustomerTable ( ) : void

/************************************************************************************************ Populate CUSTOMER table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

BuildDistrictTable ( ) : void

/************************************************************************************************ Populate DISTRICT table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

BuildHistoryTable ( ) : void

/************************************************************************************************ Populate HISTORY table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

BuildItemsTable ( ) : void

/************************************************************************************************ Populate ITEM table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

BuildNewOrderTable ( ) : void

/************************************************************************************************ Populate NEW_ORDER table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

BuildOrderLineTable ( ) : void

/************************************************************************************************ Populate ORDER_LINE table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

BuildOrderTable ( ) : void

/************************************************************************************************ Populate O_ORDER table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

BuildStockTable ( ) : void

/************************************************************************************************ Populate STOCK table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

BuildWarehouseTable ( ) : void

/************************************************************************************************ Populate WAREHOUSE table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/

비공개 메소드들

메소드 설명
RandZip ( ) : String

Generates a random zip code string with the given length

RandomString ( int strMin, int strMax ) : String

Generates a random string with the given length

메소드 상세

BuildCustomerTable() 공개 메소드

/************************************************************************************************ Populate CUSTOMER table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildCustomerTable ( ) : void
리턴 void

BuildDistrictTable() 공개 메소드

/************************************************************************************************ Populate DISTRICT table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildDistrictTable ( ) : void
리턴 void

BuildHistoryTable() 공개 메소드

/************************************************************************************************ Populate HISTORY table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildHistoryTable ( ) : void
리턴 void

BuildItemsTable() 공개 메소드

/************************************************************************************************ Populate ITEM table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildItemsTable ( ) : void
리턴 void

BuildNewOrderTable() 공개 메소드

/************************************************************************************************ Populate NEW_ORDER table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildNewOrderTable ( ) : void
리턴 void

BuildOrderLineTable() 공개 메소드

/************************************************************************************************ Populate ORDER_LINE table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildOrderLineTable ( ) : void
리턴 void

BuildOrderTable() 공개 메소드

/************************************************************************************************ Populate O_ORDER table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildOrderTable ( ) : void
리턴 void

BuildStockTable() 공개 메소드

/************************************************************************************************ Populate STOCK table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildStockTable ( ) : void
리턴 void

BuildWarehouseTable() 공개 메소드

/************************************************************************************************ Populate WAREHOUSE table By Wesley D. Brown Date 11/24/2007 Mod **Description** Functions: **End Discription** **Change Log** **End Change Log** ************************************************************************************************/
public BuildWarehouseTable ( ) : void
리턴 void

프로퍼티 상세

MaxNumWh 공개적으로 프로퍼티

public int MaxNumWh
리턴 int

NumWh 공개적으로 프로퍼티

public int NumWh
리턴 int

Sqlconn 공개적으로 프로퍼티

public string Sqlconn
리턴 string