tags:

views:

76

answers:

3

I am looking for a library that can be used in .NET to retrieve strings of random names(John, Peter), items(table, bottle), objects etc

I want to use this in a database-filling operation and the requirement is that the data should look real.

A: 

This isn't a .NET library, but you could try Red Gate's SQL Data Generator tool.

cxfx
A: 

Your requirement is specific enough so it's obvious that there is no built-in library to do the job. You could however download lists of names(first/last) from the internet and feed it to your database.

One such names list can be found here. Additionally, sites like Namepedia and Randomnames.com may prove helpful.

Cerebrus
+2  A: 

If you're using SQL Server, maybe try using one of the sample databases such as AdventureWorks, e.g.

select top 10 FirstName, LastName
from AdventureWorks.Person.Contact order by newid()
cxfx
i liked your approach and yes, i have access to the sql server
Konstantinos