/* Copyright (C) 2004 - 2009  Versant Inc.  http://www.db4o.com */

using Db4objects.Db4o.Internal.Activation;

namespace Db4objects.Db4o.Internal.Activation
{
	public class LegacyUpdateDepthProvider : IUpdateDepthProvider
	{
		public virtual FixedUpdateDepth ForDepth(int depth)
		{
			return new LegacyFixedUpdateDepth(depth);
		}

		public virtual UnspecifiedUpdateDepth Unspecified(IModifiedObjectQuery query)
		{
			return LegacyUnspecifiedUpdateDepth.Instance;
		}
	}
}
