e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
26 lines
843 B
C#
26 lines
843 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace System.Data.Linq.Provider {
|
|
using System.Data.Linq.Mapping;
|
|
|
|
internal interface IDataServices {
|
|
DataContext Context { get; }
|
|
MetaModel Model { get; }
|
|
IDeferredSourceFactory GetDeferredSourceFactory(MetaDataMember member);
|
|
object GetCachedObject(Expression query);
|
|
bool IsCachedObject(MetaType type, object instance);
|
|
object InsertLookupCachedObject(MetaType type, object instance);
|
|
void OnEntityMaterialized(MetaType type, object instance);
|
|
}
|
|
|
|
internal interface IDeferredSourceFactory {
|
|
IEnumerable CreateDeferredSource(object instance);
|
|
IEnumerable CreateDeferredSource(object[] keyValues);
|
|
}
|
|
}
|