protected static OpenSession ( IDocumentDb store, ISingleContextUseGuard guard = null ) : IDocumentDbSession | ||
store | IDocumentDb | |
guard | ISingleContextUseGuard | |
return | IDocumentDbSession |
protected static IDocumentDbSession OpenSession(IDocumentDb store, ISingleContextUseGuard guard = null)
{
return new DocumentDbSession(store, guard ?? new SingleThreadUseGuard(), NullOpDocumentDbSessionInterceptor.Instance);
}