As a first step, we are using the DocumentStore class that inherits from the abstract class DocumentStoreBase. The DocumentStore class is manages access to RavenDB and open sessions to work with RavenDB.The DocumentStore class needs a URL and optionally the name of the database. Our RavenDB server is running at 8080 port (at the time of installation we did so). Also we specified a DefaultDatabase name which is CRUDDemo here. The function Initialize() initializes the current instance.
Asked In: Many Interviews |