public IDocumentSession OpenSession(OpenSessionOptions sessionOptions) { if (!string.IsNullOrWhiteSpace(sessionOptions.Database)) { throw GetDatabaseNotSupportedException(); } return(this.InnerStore.OpenSession(sessionOptions)); }
/// <summary> /// Opens the session with the specified options. /// </summary> public IDocumentSession OpenSession(OpenSessionOptions sessionOptions) { return(server.DocumentStore.OpenSession(sessionOptions)); }
public IAsyncDocumentSession OpenAsyncSession(OpenSessionOptions sessionOptions) { return(_docStore.OpenAsyncSession(sessionOptions)); }
public abstract IDocumentSession OpenSession(OpenSessionOptions sessionOptions);
/// <summary> /// Opens the session with the specified options. /// </summary> public override IDocumentSession OpenSession(OpenSessionOptions sessionOptions) { return(OpenSessionInternal(ShardStrategy.Shards.ToDictionary(x => x.Key, x => x.Value.DatabaseCommands .ForDatabase(sessionOptions.Database) .With(sessionOptions.Credentials)))); }
public IDocumentSession OpenSession(OpenSessionOptions sessionOptions) { return(Inner.OpenSession(sessionOptions)); }
public abstract IAsyncDocumentSession OpenAsyncSession(OpenSessionOptions sessionOptions);