other information

Custom Generators

The current version of the Enahanced Data Generators have the following categories of Generators

 

Update for Version 1.5: This version does not have any dependence on VS2008 anymore and so IBANGenerator is not integrated into the main DataGenerator code. Also the code is now moved to SQL CE 4, which removes the need to install SQL CE on the system before running Data Generators. In this version the deployable ships with all the required support DLLs. So you can basically drop the files in the right directory and everything should work out of the box with VS 2010. (Obviously this still has a dependency on VS 2010 and .NET 4.0 :) )

Update for version 1.3: This version is compiled and designed to run in Visual Studio 2010 and .NET Framework 4.0. It will not run with VS 2008 as the Data Generation classes have undergone a change. If you are still using VS 2008, I recommend that you stay with version 1.2.

Also the IBAN Data Generator has be seperated out into an extension by itself and this is commented out in the config file. This is because the IBAN Generator uses some VS 2008 dlls, which cannot be redistributed and may not be available with VS 2010. If you still have access to those files, you can still enable the Generator in the config file and use it as is.

Personal

FirstName Generator

This generates First names of people based on Locale and Gender

Property Description
Locale This contains the ISO standard based name of the locale for which the FirstName has to be generated
Gender Valid values of Male, Female or Both(which will generate both male and female names randomly)
Case Specified how the name has to be cased. Possible values of Upper, Lower or Proper
FirstName The output property that will contian the generated value

LastName Generator

This generates Last names of people based on Locale. Since last names are not usually gender specific, this generator does not accept the Gender Parameter.

Property Description
Locale This contains the ISO standard based name of the locale for which the FirstName has to be generated
Case Specified how the name has to be cased. Possible values of Upper, Lower or Proper
LastName The output property that will contian the generated value

Currently both LastName and FirstName generators support the following locales

  Locale Description
en-US English names based on the US Census Data
de-DE German Names
ch-CH Chinese names in Simplified Chinese notation
ch-TW Chinese names in Traditional Chinese notation - Currently available only for LastNames
en-CH Chinese names using English notation

If you have data for other cultures please sendit to me as a excel file or provide the URL from where I can get the data in a tabular format. I will be updating the data as and when I get more data and time :)

Sample Names Generated for different Locale settings

Category - Financials

ABA Generator

This generates random Bank Routing Number (also called ABA numbers) used in the United States and Canada. This currently only supports United States format. This is a 9 digit number in the MICR format with a checksum digit. More information on the format can be found at http://en.wikipedia.org/wiki/Aba_number

Property Description
GenerateCheckSum A boolean flag that when set will generate the checksum as per the correct algorithm. You will need the correct checksum if your code will be validating the checksum and you want to test this functionality. If false and format is MICR, then 8 digits are generated with the "-" used to seperate two 4 digit parts, so that the total is still 9 digits.
MICRFormat A boolean flag that determines which format of the ABA number is generated. If True it generates the MICR format. If False, it will generate the fractional format. Since the fractional format does not use a checksum digit, the GenerateChecksum is set to false internally.
Output The output property that will contian the generated value

Currently when you switch MICR format property, there is a problem with the Checksum property where though it is set to false internally, the property dialog does not show the updated value. This also sometimes results in the property not being set correctly when you change the MICR format again. So if you change the MICR format, then change the GenerateChecksum property twice just to make sure the right values are generated.

IBAN Generator

This generates a random International Bank Account Number(or IBAN) used in Europe and a number of other countries (e.g. Saudi Arabia). More information is available at http://en.wikipedia.org/wiki/IBAN

Property Description
IBANCountry A 2-letter country identifier (e.g. IT, GB). The generator will generate IBANs for that country. If left empty or "Any" is specified, this will generate IBANs for randomly selected countries (each row will get a IBAN from a different country)
Output The output property that will contian the generated value

The BankIds and Account Numbers are just randomly generated as per the size specifications of the country choosen. So there may be no such bank or account available. Also the length of the generated IBAN depends on the format specified for the country. Also the generator will always generate the full length as specified for both Bank and Account numbers. The Generator will generate the global checksum for the complete number, but not country specific Bank/Account number Check digits. The generated IBAN will pass most IBAN validators, except those that check for actual Bank Ids or the Bank/Account number level Check digits.

Update: As of version 1.5 IBANGenerator is integrated into the main Data Generator. It no longer depends on the RegExString Class from the VSTS 2008 release.

Indian Bank Codes Generator

This generates valid data for an Indian Bank, including its IFSC Code, MICR, Bank Name, City and State. This data is based on the data published by the reserve bank of India at its Website.

Property Description
UseLinkColumns Since this Generator has multiple outputs, this boolean property sets whether all outputs are in synch for a single row. If this is false, then a radom value is generated for each output, even if for the same row. If true, then the output columns are in Synch
LinkId This is used only when UseLinkColumns is true. This can be any alpha-numeric value, but all columns with the same value for this property will be in Synch
ValidMICROnly Generate values only for Banks where valid MICR codes are present.
Filter By State Restrict Generated values to Banks in a particular State. Currently only 1 State can be selected. Default value is "Any"
IFSCCode Output. Indian Financial System Code
BankBrach Output. The Bank Branch
MICRCode Output. Magnetic Ink Character Recognition Code
BankName Output. The Bank Name
BankCity Output. The City where this branch is located
BankState Output. The State where this branch is located

Category - XML

XML Generator

This generator generate XML based on the provided XSD schema. This uses the MSDN XML Generator sample to generate the code.

Property Description
XMLSchema The XML Schema that needs to be used generate the XML. This is multi-line text entry and you can paste the whole schema in. The schema needs to be well formed.
MaxLevels Maximum levels to which data is generated for a "unbound" item
GeneratedXML Output. Contains the generated XML