tools for generating and posting gift batches with sample data
More...
|
static void | LoadBatches (string AInputBeneratorFile, bool ASmallNumber) |
| load the gift batches from a text file that was generated with Benerator More...
|
|
static void | CreateGiftBatches (int APeriodNumber) |
| generate the gift batches from a text file that was generated with Benerator, for a specific period More...
|
|
static bool | PostBatches (int AYear, int APeriod, int ALeaveBatchesUnposted, TDataBase ADataBase) |
| post all gift batches in the given period, but leave some (or none) unposted More...
|
|
tools for generating and posting gift batches with sample data
◆ CreateGiftBatches()
static void Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.CreateGiftBatches |
( |
int |
APeriodNumber | ) |
|
|
inlinestatic |
generate the gift batches from a text file that was generated with Benerator, for a specific period
◆ LoadBatches()
static void Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.LoadBatches |
( |
string |
AInputBeneratorFile, |
|
|
bool |
ASmallNumber |
|
) |
| |
|
inlinestatic |
load the gift batches from a text file that was generated with Benerator
- Parameters
-
AInputBeneratorFile | |
ASmallNumber | boolean to keep the size of the demo database down |
◆ PostBatches()
static bool Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.PostBatches |
( |
int |
AYear, |
|
|
int |
APeriod, |
|
|
int |
ALeaveBatchesUnposted, |
|
|
TDataBase |
ADataBase |
|
) |
| |
|
inlinestatic |
post all gift batches in the given period, but leave some (or none) unposted
◆ FLedgerNumber
int Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.FLedgerNumber = 43 |
|
static |
LedgerNumber to be set from outside.
◆ MaxGiftsPerBatch
int Ict.Petra.Tools.SampleDataConstructor.SampleDataGiftBatches.MaxGiftsPerBatch = 25 |
|
static |
limit the amount of gifts per batch
The documentation for this class was generated from the following file: