e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
25 lines
983 B
C#
25 lines
983 B
C#
//---------------------------------------------------------------------
|
|
// <copyright file="IEntityWithChangeTracker.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//
|
|
// @owner barryfr
|
|
// @backupOwner sparra
|
|
//---------------------------------------------------------------------
|
|
using System.Data.Objects;
|
|
using System.Reflection;
|
|
|
|
namespace System.Data.Objects.DataClasses
|
|
{
|
|
/// <summary>
|
|
/// Minimum interface that a data class must implement in order to be managed by a change tracker.
|
|
/// </summary>
|
|
public interface IEntityWithChangeTracker
|
|
{
|
|
/// <summary>
|
|
/// Used by the change tracker to provide an interface that the data class will use to report changes.
|
|
/// </summary>
|
|
/// <param name="changeTracker">Reference to the change tracker that is managing this entity</param>
|
|
void SetChangeTracker(IEntityChangeTracker changeTracker);
|
|
}
|
|
} |