public static void Register() { table = new DatabaseGenerator.TableData(); table.Name = "Persons"; table.ConnectionStringName = "LargeDatabaseConnectionString"; table.Fields.Add(new DatabaseGenerator.FieldData("FirstName", firstNames)); table.Fields.Add(new DatabaseGenerator.FieldData("LastName", lastNames)); table.Fields.Add(new DatabaseGenerator.FieldData("Phone", GeneratePhone)); table.RecordCount = 20000; DatabaseGenerator.RegisterTable("GeneratedPersonTable", table); }
public static void Register() { table = new DatabaseGenerator.TableData(); table.Name = "Persons"; table.ConnectionStringName = "LargeDatabaseConnectionString"; table.Fields.Add(new DatabaseGenerator.FieldData("FirstName", firstNames)); table.Fields.Add(new DatabaseGenerator.FieldData("LastName", lastNames)); table.Fields.Add(new DatabaseGenerator.FieldData("Phone", GeneratePhone)); table.RecordCount = 20000; DatabaseGenerator.RegisterTable("GeneratedPersonTable", table); }