This program will load a gedcom file exported from Ancestry.com into a .NET Class and optionally save it to a MSSQLLOCALDB database.
-
Create a LocalDB Instance: This is an optional step, you can either create a dedicated instance or use the default one. It is recommended to create a dedicated instance. You can do so with the sqllocaldb utility at a commande promtp.
sqllocaldb create AncestryToLocalDB
-
Create a database in the new LocalDB instance. You can do it using the sqlcmd utility. In this example our database is called AncestryGedCom.
sqlcmd -S "(LocalDB)\AncestryToLocalDB" -Q "create database AncestryGedCom;"
-
Use sqlcmd to execute the create_tables.sql and create_procedures.sql scripts.
sqlcmd -S "(LocalDB)\AncestryToLocalDB" -d AncestryGedCom -i create_tables.sql sqlcmd -S "(LocalDB)\AncestryToLocalDB" -d AncestryGedCom -i create_procedures.sql
-
Open the AncestryToLocalDB Visual Studio solution and run it to import a Ancestry gedcom into your new LocalDB Database.
Enter the connection string and click "Connect".
Click "Import". When the import is completed click "Ok" then "Disconnect".