// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: Ivan Galkin
// Created:    2009.03.20

using System;
using Xtensive.Modelling;

namespace Xtensive.Orm.Tests.Core.Modelling.IndexingModel
{
  /// <summary>
  /// An abstract base class for all columns refs.
  /// </summary>
  [Serializable]
  public abstract class ColumnInfoRef<TParent>: Ref<ColumnInfo, TParent>
    where TParent: Node
  {
    // Constructors

    protected ColumnInfoRef(TParent parent)
      : base(parent)
    {
    }

    protected ColumnInfoRef(TParent parent, ColumnInfo column)
      : base(parent)
    {
      Value = column;
    }
  }
}