Raven.Smuggler.SmugglerApi.CreateStore C# (CSharp) Method

CreateStore() protected method

protected CreateStore ( ) : DocumentStore
return DocumentStore
		protected DocumentStore CreateStore()
		{
			var s = new DocumentStore
			{
				Url = ConnectionStringOptions.Url,
				ApiKey = ConnectionStringOptions.ApiKey,
				Credentials = ConnectionStringOptions.Credentials,
				DefaultDatabase = ConnectionStringOptions.DefaultDatabase
			};

			s.Initialize();

			return s;
		}