Raven.Smuggler.SmugglerApi.CreateStore C# (CSharp) 메소드

CreateStore() 보호된 메소드

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

			s.Initialize();

			return s;
		}