private CanGetAllDocumentOfPreviouslyUnKnownClassAddedByAnotherDocumentDBInstanceById ( ) : void | ||
return | void |
public void CanGetAllDocumentOfPreviouslyUnKnownClassAddedByAnotherDocumentDBInstanceById()
{
var readingDocumentDb = CreateStore();
var userId = Guid.Parse("00000000-0000-0000-0000-000000000001");
InsertUsersInOtherAppDomain(userId);
using (var session = OpenSession(readingDocumentDb))
{
session.Get<User>(Seq.Create(userId)).Count().Should().Be(1);
}
}
}