Register a participant in instant winThere are 2 tables where we define a instant win competition. INSTANTWIN - defines an competition. Field PUBLICID (guid) is a public reference to a competition. Field MAXNOOFTRYPERENTITY define how meny times same person can perticipate in the same competition. Field MAXNOOFGAINSPERENTITY define how many gains same person can win in a competition.Table INSTANTWINGAIN define gains for a competition. There can be more then 1 gain per competition. Field INSTANTWINID connect gain table to instanwin table. Fields MAXNOOFGAINS defines maximal number of gains to win. Field DRAWFREQUENCY defines how offen there is a winner.All participants in instantwin are registed in table INSTANTWINENTITY
|