e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
27 lines
756 B
C#
27 lines
756 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="ILinqToSql.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.UI.WebControls {
|
|
using System.Data.Linq;
|
|
|
|
internal interface ILinqToSql {
|
|
|
|
void Add(ITable table, object row);
|
|
|
|
void Attach(ITable table, object row);
|
|
|
|
object GetOriginalEntityState(ITable table, object row);
|
|
|
|
void Refresh(DataContext dataContext, RefreshMode mode, object entity);
|
|
|
|
void Remove(ITable table, object row);
|
|
|
|
void SubmitChanges(DataContext dataContext);
|
|
|
|
}
|
|
|
|
}
|