Update Reference Sources to .NET Framework 4.6.1
[mono.git] / mcs / class / referencesource / System.Data.Entity / System / Data / Mapping / ViewGeneration / Validation / CellRelation.cs
1 //---------------------------------------------------------------------
2 // <copyright file="CellRelation.cs" company="Microsoft">
3 //      Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //
6 // @owner [....]
7 // @backupOwner [....]
8 //---------------------------------------------------------------------
9
10
11 using System.Data.Common.Utils;
12 using System.Collections.Generic;
13
14 namespace System.Data.Mapping.ViewGeneration.Validation
15 {
16     // Abstract class representing a relation signature for a cell query
17     internal abstract class CellRelation : InternalBase
18     {
19
20         #region Constructor
21         // effects: Given a cell number (for debugging purposes), creates a
22         // cell relation 
23         protected CellRelation(int cellNumber)
24         {
25             m_cellNumber = cellNumber;
26         }
27         #endregion
28
29         #region Fields
30         internal int m_cellNumber; // The number of the cell for which this
31         // relation was made (for debugging) 
32         #endregion
33
34         #region Properties
35         internal int CellNumber
36         {
37             get { return m_cellNumber; }
38         }
39         #endregion
40
41         #region Methods
42
43         protected abstract int GetHash();
44
45         #endregion
46     }
47 }