blob: c18d3a5cab4d80f0e8ff8a996937b9d61f317561 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
//---------------------------------------------------------------------
// <copyright file="EdmItemError.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner Microsoft
// @backupOwner Microsoft
//---------------------------------------------------------------------
using System;
using System.Data;
namespace System.Data.Metadata.Edm
{
/// <summary>
/// Class representing Edm error for an inmemory EdmItem
/// </summary>
internal class EdmItemError : EdmError
{
#region Constructors
/// <summary>
/// Construct the EdmItemError with an error message
/// </summary>
/// <param name="message">The error message for this validation error</param>
/// <param name="item">The item that causes the validation error</param>
public EdmItemError(string message, MetadataItem item)
: base(message)
{
_item = item;
}
#endregion
#region Fields
private MetadataItem _item; //Metadata item for which the error is being reported
#endregion
}
}
|