16 references to ManagerMode
System.Web.Entity (16)
System\Data\WebControls\EntityDataSourceView.cs (16)
83
private
ManagerMode
_collectionMode;
89
public
ManagerMode
Mode
99
get { return _collectionMode ==
ManagerMode
.FlattenedEntities ? _collection : null; }
107
get { return _collectionMode ==
ManagerMode
.UpdateCache ? _collection : null; }
116
/// <param name="mode">What mode to store the entities. Never <see cref="
ManagerMode
.None"/>.</param>
117
public void CreateCollection(ObjectContext context, EntitySet entitySet, EntityType CSpaceFilteredEntityType,
ManagerMode
mode)
121
Debug.Assert(mode !=
ManagerMode
.None);
122
Debug.Assert(_collectionMode ==
ManagerMode
.None || _collectionMode == mode, "Cannot reset a collection working in a different mode.");
135
Debug.Assert(Mode !=
ManagerMode
.None);
215
_owner.ValidateWrappable() ? WrapperCollectionManager.
ManagerMode
.FlattenedEntities : WrapperCollectionManager.
ManagerMode
.UpdateCache);
297
if (_collectionManager.Mode == WrapperCollectionManager.
ManagerMode
.FlattenedEntities)
305
_collectionManager.CreateCollection(Context, EntitySet, newCSpaceType, WrapperCollectionManager.
ManagerMode
.FlattenedEntities);
396
if (_collectionManager.Mode == WrapperCollectionManager.
ManagerMode
.None && !checkEntitySet)
412
if (_collectionManager.Mode != WrapperCollectionManager.
ManagerMode
.None)
422
return _collectionManager.Mode == WrapperCollectionManager.
ManagerMode
.FlattenedEntities ?