2 types derived from ObjectStateEntry
System.Data.Entity (2)
System\Data\Objects\EntityEntry.cs (1)
22
internal sealed class EntityEntry :
ObjectStateEntry
System\Data\Objects\RelationshipEntry.cs (1)
19
internal sealed class RelationshipEntry :
ObjectStateEntry
45 references to ObjectStateEntry
System.Data.Entity (38)
System\Data\Common\EntityUtil.cs (2)
1615
static private IEnumerable<
ObjectStateEntry
> ProcessStateEntries(IEnumerable<IEntityStateEntry> stateEntries)
1621
.Cast<
ObjectStateEntry
>()
System\Data\EntityClient\EntityAdapter.cs (1)
136
foreach (
ObjectStateEntry
entry in entityCache.GetEntityStateEntries(
System\Data\Objects\EntityEntry.cs (1)
2110
ObjectStateEntry
principalEntry;
System\Data\Objects\ObjectContext.cs (2)
499
foreach (
ObjectStateEntry
entry in ObjectStateManager.GetObjectStateEntries(EntityState.Deleted))
504
foreach (
ObjectStateEntry
entry in ObjectStateManager.GetObjectStateEntries(EntityState.Added | EntityState.Modified))
System\Data\Objects\ObjectStateEntryBaseUpdatableDataRecord.cs (6)
26
internal readonly
ObjectStateEntry
_cacheEntry;
30
internal DbUpdatableDataRecord(
ObjectStateEntry
cacheEntry, StateManagerTypeMetadata metadata, object userObject)
37
internal DbUpdatableDataRecord(
ObjectStateEntry
cacheEntry) :
573
internal CurrentValueRecord(
ObjectStateEntry
cacheEntry, StateManagerTypeMetadata metadata, object userObject) :
578
internal CurrentValueRecord(
ObjectStateEntry
cacheEntry) :
586
internal OriginalValueRecord(
ObjectStateEntry
cacheEntry, StateManagerTypeMetadata metadata, object userObject) :
System\Data\Objects\ObjectStateEntryDbDataRecord.cs (1)
23
private readonly
ObjectStateEntry
_cacheEntry;
System\Data\Objects\ObjectStateManager.cs (19)
516
HashSet<
ObjectStateEntry
> validEntries = new HashSet<
ObjectStateEntry
>(GetObjectStateEntriesInternal(~EntityState.Detached));
1769
public IEnumerable<
ObjectStateEntry
> GetObjectStateEntries(EntityState state)
1785
foreach (
ObjectStateEntry
stateEntry in GetObjectStateEntriesInternal(state))
1838
private
ObjectStateEntry
[] GetObjectStateEntriesInternal(EntityState state)
1843
ObjectStateEntry
[] entries = new
ObjectStateEntry
[size];
2151
public
ObjectStateEntry
ChangeObjectState(object entity, EntityState entityState)
2196
public
ObjectStateEntry
ChangeRelationshipState(
2224
public
ObjectStateEntry
ChangeRelationshipState<TEntity>(
2257
public
ObjectStateEntry
ChangeRelationshipState(
2274
private
ObjectStateEntry
ChangeRelationshipState(
2427
public
ObjectStateEntry
GetObjectStateEntry(EntityKey key)
2429
ObjectStateEntry
entry;
2453
public
ObjectStateEntry
GetObjectStateEntry(object entity)
2456
ObjectStateEntry
entry;
2483
public bool TryGetObjectStateEntry(object entity, out
ObjectStateEntry
entry)
2514
ObjectStateEntry
objectStateEntry;
2546
public bool TryGetObjectStateEntry(EntityKey key, out
ObjectStateEntry
entry)
System\Data\OptimisticConcurrencyException.cs (1)
57
public OptimisticConcurrencyException(string message, Exception innerException, IEnumerable<
ObjectStateEntry
> stateEntries)
System\Data\UpdateException.cs (5)
26
private ReadOnlyCollection<
ObjectStateEntry
> _stateEntries;
63
public UpdateException(string message, Exception innerException, IEnumerable<
ObjectStateEntry
> stateEntries)
66
List<
ObjectStateEntry
> list = new List<
ObjectStateEntry
>(stateEntries);
73
public ReadOnlyCollection<
ObjectStateEntry
> StateEntries { get { return _stateEntries; } }
System.Data.Services (6)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (6)
442
ObjectStateEntry
objectStateEntry = this.ObjectContext.ObjectStateManager.GetObjectStateEntry(resource);
553
ObjectStateEntry
objectStateEntry = this.ObjectContext.ObjectStateManager.GetObjectStateEntry(objectToBeReplaced.Key);
601
foreach (
ObjectStateEntry
entry in this.ObjectContext.ObjectStateManager.GetObjectStateEntries(EntityState.Added | EntityState.Deleted | EntityState.Modified | EntityState.Unchanged))
642
ObjectStateEntry
objectStateEntry = this.ObjectContext.ObjectStateManager.GetObjectStateEntry(resource);
2376
private string GetEntitySetName(
ObjectStateEntry
entry)
2407
var
stateEntry = this.ObjectContext.ObjectStateManager.GetObjectStateEntry(targetResource);
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceWrapper.cs (1)
34
private readonly
ObjectStateEntry
_stateEntry;