C# Class Generate_DB_Data.CreateData

Afficher le fichier Open project: rechc/KinectMiniApps

Méthodes publiques

Méthode Description
ByteToImage ( byte bytes ) : BitmapImage
CreateData ( int entryCount ) : System
ImageToByte ( BitmapImage imageSource ) : byte
StringToByteArray ( String hex ) : byte[]

Private Methods

Méthode Description
CreateCountryEntries ( ) : void
CreateExtendedInfo ( int j ) : ExtendedInformation
CreateTravelOffer ( int i ) : void
FlushDbData ( ) : void
GetRandomBool ( ) : bool
GetRandomDate ( ) : System.DateTime
GetRandomDate ( int startYear, int endYear ) : System.DateTime
GetRandomInteger ( int min, int max ) : int
SaveToDb ( ) : void

Method Details

ByteToImage() public méthode

public ByteToImage ( byte bytes ) : BitmapImage
bytes byte
Résultat BitmapImage

CreateData() public méthode

public CreateData ( int entryCount ) : System
entryCount int
Résultat System

ImageToByte() public méthode

public ImageToByte ( BitmapImage imageSource ) : byte
imageSource BitmapImage
Résultat byte

StringToByteArray() public static méthode

public static StringToByteArray ( String hex ) : byte[]
hex String
Résultat byte[]