C# Class ITimeU.Library.FriResImporter

Imports data from an Access database file from the FriRes system.
Afficher le fichier Open project: heinek/ITimeU Class Usage Examples

Méthodes publiques

Méthode Description
FriResImporter ( string accessDatabaseFile ) : System
SaveAthletesToDatabase ( List athletes ) : void
getAthletes ( ) : List

Reads all athletes from the database.

Private Methods

Méthode Description
connectToDb ( ) : System.Data.OleDb.OleDbConnection
createAthleteFrom ( DataRow row ) : AthleteModel
doGetAthletes ( ) : List
fetchAthletes ( OleDbDataAdapter adapter ) : List
fetchAthletesFrom ( DataTable table ) : List
fetchTableFrom ( OleDbDataAdapter adapter ) : DataTable
getIntFrom ( DataRow row, string rowIndex ) : int?
getStringFrom ( DataRow row, string rowIndex ) : string
rowHasIndex ( DataRow row, string rowIndex ) : bool
selectAllAthletes ( ) : OleDbDataAdapter

Method Details

FriResImporter() public méthode

public FriResImporter ( string accessDatabaseFile ) : System
accessDatabaseFile string
Résultat System

SaveAthletesToDatabase() public static méthode

public static SaveAthletesToDatabase ( List athletes ) : void
athletes List
Résultat void

getAthletes() public méthode

Reads all athletes from the database.
public getAthletes ( ) : List
Résultat List