mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
//---------------------------------------------------------------------
|
|
// <copyright file="IEntityKeyStrategy.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//---------------------------------------------------------------------
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Data.Objects.DataClasses;
|
|
|
|
namespace System.Data.Objects.Internal
|
|
{
|
|
/// <summary>
|
|
/// A strategy interface that defines methods used for setting and getting EntityKey values on an entity.
|
|
/// Implementors of this interface are used by the EntityWrapper class.
|
|
/// </summary>
|
|
internal interface IEntityKeyStrategy
|
|
{
|
|
/// <summary>
|
|
/// Gets the entity key.
|
|
/// </summary>
|
|
/// <returns>The key</returns>
|
|
EntityKey GetEntityKey();
|
|
|
|
/// <summary>
|
|
/// Sets the entity key
|
|
/// </summary>
|
|
/// <param name="key">The key</param>
|
|
void SetEntityKey(EntityKey key);
|
|
|
|
/// <summary>
|
|
/// Returns the entity key directly from the entity
|
|
/// </summary>
|
|
/// <returns>the key</returns>
|
|
EntityKey GetEntityKeyFromEntity();
|
|
}
|
|
}
|