private void InitialiseDatabase()
{
DocumentStore = new DocumentStore
{
Url = "http://localhost:8080/",
DefaultDatabase = "ServerEndpoint",
Conventions = new DocumentConvention { FindTypeTagName = new RavenConventions().FindTypeTagName },
ResourceManagerId = Guid.Parse("1249A871-A314-4D3C-A46C-34E02B87C541")
};
DocumentStore.Initialize();
DocumentStore.DatabaseCommands.EnsureDatabaseExists("ChildRegistration");
}