Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (24 sloc) 0.834 kB
//-----------------------------------------------------------------------
// <copyright file="ITranslatorDatabaseAccessor.cs" company="Hibernating Rhinos LTD">
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System.Collections.Generic;
namespace Raven.Database.Linq
{
/// <summary>
/// This is used to provide a way for a translator function
/// to access values from the database
/// </summary>
public interface ITranslatorDatabaseAccessor
{
/// <summary>
/// Returns the document matching this id, if exists, or null if it doesn't
/// </summary>
dynamic Load(object maybeId);
/// <summary>
/// Returns null object
/// </summary>
dynamic Include(object maybeId);
}
}
Jump to Line
Something went wrong with that request. Please try again.