C# 클래스 Generate_DB_Data.CreateData

파일 보기 프로젝트 열기: rechc/KinectMiniApps

공개 메소드들

메소드 설명
ByteToImage ( byte bytes ) : BitmapImage
CreateData ( int entryCount ) : System
ImageToByte ( BitmapImage imageSource ) : byte
StringToByteArray ( String hex ) : byte[]

비공개 메소드들

메소드 설명
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

메소드 상세

ByteToImage() 공개 메소드

public ByteToImage ( byte bytes ) : BitmapImage
bytes byte
리턴 BitmapImage

CreateData() 공개 메소드

public CreateData ( int entryCount ) : System
entryCount int
리턴 System

ImageToByte() 공개 메소드

public ImageToByte ( BitmapImage imageSource ) : byte
imageSource BitmapImage
리턴 byte

StringToByteArray() 공개 정적인 메소드

public static StringToByteArray ( String hex ) : byte[]
hex String
리턴 byte[]