BizDataX Designer offers an array of already implemented, ready to use data generators.
While most of the implementations provide generic data, some are used to generate data that is only relevant to a specific country. If none of these generators provide what you need, you can create a custom generator.
Generator | Class name | Description |
---|---|---|
Business name generator | BusinessNameGenerator | Uses provided country code to generate country-specific business names or, if no country code was provided, general business names. |
Credit card number generator | CreditCardNumberGenerator | Generates credit card numbers of specific type or, if no type was provided, of any type. |
Digit generator | DigitGenerator | Generates random numbers with specific number of digits. |
Generator with conversion | GeneratorWithConversion | Uses conversion function on values generated by provided internal generator to produce result. |
IBAN generator | IBANGenerator | Uses provided BBAN generator to produce IBANs. |
Items generator | ItemsGenerator | Generates items of specific type by enumerating them from a provided list of items. |
Random items generator | ItemsInRandomOrderGenerator | Generates items of specific type by randomly selecting them from a provided list of items. |
Merge generator | MergeGenerator | Merges results of internal generators using provided separator. |
Numbered string generator | NumberedStringGenerator | Generates strings by formating numbers using provided format string. Specific number generator can, but doesn't have to be provided. |
Number sequence generator | NumberSequenceGenerator | Generates sequence by starting from a provided value and incrementing it by defined amount. |
Phone number generator | PhonenumberGenerator | Uses provided country code to generate phone numbers, or if no country code was provided, general phone numbers. Specific number of digits, or minimum and maximum, can be provided. |
Random DateTime generator | RandomDateTimeGenerator | Generates random DateTime from provided base DateTime within specified offset or random DateTime within DateTime minimum and maximum. Can be used to generate only Date. |
Random number generator | RandomNumberGenerator | Generates random numbers from a range. |
Unique random number generator | UniqueRandomNumberGenerator | Generates unique random number from a range. |
Unique random 64-bit number generator | UniqueRandomNumberGenerator64 | Generates unique random 64-bit number from range. |
Country specific generators currently support Croatia, Germany, Switzerland and United States of America. In order to use them correct namespace must be imported using steps as follows:
Ekobit.BizDataX.DataMasking.DataGenerators.<supported_country_code>
and click on it to import it to projectGenerator | Class name | Description |
---|---|---|
Bank Account generator | BankAccountGeneratorHr | Uses provided two-digit account type to generate Croatian bank account numbers. Provides in-bank account numbers only. |
BBAN generator | BBANGeneratorHr | Uses provided bank code to generate Croatian bank account numbers or, if no code was provided, general Croatian bank account numbers. |
JMBG generator | JMBGGenerator | Generates random JMBG numbers for people of provided gender, or if no gender was provided, of any gender. |
Generator maticnog broja | MaticniBrojGenerator | Generates maticni broj. |
OIB generator | OIBGenerator | Generates OIB numbers. |
Generator poreznog broja | PorezniBrojGenerator | Generates porezni broj. Internal generator can be provided to generate first 7 digits. |
Generator | Class name | Description |
---|---|---|
BBAN generator | BBANGeneratorDe | Uses provided bank code to generate German bank account numbers, or if no code was provided general German bank account numbers. |
Generator | Class name | Description |
---|---|---|
AHV generator | AHVGenerator | Generates Swiss AHV numbers. |
BBAN generator | BBANGeneratorCh | Uses provided bank code to generate Swiss bank account numbers or, if no code was provided, general Swiss bank account numbers. |
Generator | Class name | Description |
---|---|---|
Social security number generator | USSocialSecurityNumberGenerator | Generates United States social security number. |
This is an example in which database field will be masked using unique random number generator. Every time this masking is executed, the value in "Csc" column of the target database will be replaced with newly generated, unique and random number.
Ekobit.BizDataX.Databases.MSSQL
NuGet packageCsc
as the "Property"new UniqueRandomNumberGenerator(100, 999)