EntityCollectionNonGeneric Methods |
The EntityCollectionNonGeneric type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add |
Adds an item to the ICollection<T>.
(Inherited from CollectionCore<T>.) |
![]() | AddContainedEntitiesToContext |
Adds the contained entities to the active set context.
(Inherited from CollectionCore<T>.) |
![]() | AddNew |
Will add a new entity to the list, will set its parent collection property so CancelEdit will remove
it from the list again, and will set its flag that it is added by databinding.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | AddRange |
Adds the range of objects passed in.
(Inherited from CollectionCore<T>.) |
![]() | Clear |
Removes all items from the ICollection<T>.
(Inherited from CollectionCore<T>.) |
![]() | Contains |
Determines whether the ICollection<T> contains a specific value.
(Inherited from CollectionCore<T>.) |
![]() | CopyTo | (Inherited from CollectionCore<T>.) |
![]() | CreateDefaultEntityView |
Creates the default entity view instance. By default it creates a new EntityView2(Of TEntity) instance, passing in this collection.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | CreateHierarchicalProjection(Dictionary<Type, IEntityCollection2>) |
Creates a hierarchical projection of all the data in this collection and for each type in the complete graph found starting with each entity in
this collection. Per entity type found, an entry is stored inside the destination dictionary. It will simply project every data element.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | CreateHierarchicalProjection(DataSet) |
Creates a hierarchical projection of all the data in this collection and for each type in the complete graph found starting with each entity in
this collection. Per entity type found, a new datatable is created inside destination or if one with the name of the entity is already present,
that one is used. It will simply project every data element.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | CreateHierarchicalProjection(List<IViewProjectionData>, Dictionary<Type, IEntityCollection2>) |
Creates a hierarchical projection of all the data in this view and for each type in the complete graph found starting with each entity in this view,
using the viewProjections data passed in. Per entity type found, an entry is stored inside the destination dictionary.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | CreateHierarchicalProjection(List<IViewProjectionData>, DataSet) |
Creates a hierarchical projection of all the data in this collection and for each type in the complete graph found starting with each entity in this
collection, using the collectionProjections data passed in. Per entity type found, a new datatable is created inside destination or if one with
the name of the entity is already present, that one is used.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | CreateView() |
Creates a new EntityView2 object of the right type on this collection with no filter nor sorter applied.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | CreateView(IPredicate) |
Creates a new EntityView2 object of the right type on this collection with the passed in filter applied
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | CreateView(IPredicate, ISortExpression) |
Creates a new EntityView2 object of the right type on this collection with the passed in filter and sorter applied to it.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | CreateView(IPredicate, ISortExpression, PostCollectionChangeAction) |
Creates a new EntityView2 object of the right type on this collection with the passed in filter and sorter applied to it and the
dataChangeAction set to the passed in value.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | DeserializeOwnedData |
Method which restores owned data - i.e. considered private to this entity
and not shared with any external object
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | Dispose() |
Disposes this instance.
(Inherited from CollectionCore<T>.) |
![]() | Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Inherited from CollectionCore<T>.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FindMatches |
Gets all indices of all the entities in the current order of this collection which match the passed in filter.
(Inherited from CollectionCore<T>.) |
![]() | GetEntityDescription |
Gets the entity description for the entity passed in.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from CollectionCore<T>.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetList |
Returns an IList that can be bound to a data source from an object that does not implement an IList itself.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | GetObjectData |
ISerializable member.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | GetSchema |
Produce the schema, always return null, as the XmlSerializer object otherwise can't handle our code.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf |
Determines the index of a specific item in the IList<T>.
(Inherited from CollectionCore<T>.) |
![]() | InitCoreClass |
Inits the core class.
(Inherited from CollectionCore<T>.) |
![]() | Insert |
Inserts an item to the IList<T> at the specified index.
(Inherited from CollectionCore<T>.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDeserialized |
Called at the end of the deserialization constructor. Method is used when this object is deserialized. Override this method to
tap into the deserialization sequence. (binary/soap formatter specific).
(Inherited from CollectionCore<T>.) |
![]() | OnEntityAdded |
Called at the end of the Add or Insert routine which adds an entity to this collection. Will raise EntityAdded event.
(Inherited from CollectionCore<T>.) |
![]() | OnEntityAdding |
Called at the start of the Add or Insert routine which adds an entity to this collection. Will raise EntityAdding event.
(Inherited from CollectionCore<T>.) |
![]() | OnEntityInListOnEntityContentsChanged |
Event handler for the EntityContentsChanged event.
(Inherited from CollectionCore<T>.) |
![]() | OnEntityRemoved |
Called at the end of a remove routine which removes an entity from this collection. Will raise EntityRemoved event.
(Inherited from CollectionCore<T>.) |
![]() | OnEntityRemoving |
Called at the start of a remove routine which removes an entity from this collection. Will raise EntityRemoving event.
(Inherited from CollectionCore<T>.) |
![]() | OnGetObjectData |
Called at the end of GetObjectData. Method is used when this object is serialized. Override this method to
tap into the serialization sequence. (binary/soap formatter specific).
(Inherited from CollectionCore<T>.) |
![]() | OnListChanged |
Called when [list changed].
(Inherited from CollectionCore<T>.) |
![]() | PerformAddToActiveContext |
Performs the add action to the active context for this collection
(Inherited from CollectionCore<T>.) |
![]() | PerformSetRelatedEntity |
Performs the set related entity action on the passed in entity. This action is delegated to an inheritor.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | PerformUnsetRelatedEntity |
Performs the unset related entity action on the passed in entity. This action is delegated to an inheritor.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | PlaceInRemovedEntitiesTracker |
Places the item in the set RemovedEntitiesTracker.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | ReadXml(String) |
Will fill the entity collection and its containing members (recursively) with the data stored in the XmlNode passed in. The XmlNode has to
be filled with Xml in the format written by IEntityCollection2.WriteXml() and the Xml has to be compatible with the structure of this entity collection.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | ReadXml(XmlNode) |
Will fill the entity collection and its containing members (recursively) with the data stored in the XmlNode passed in. The XmlNode has to
be filled with Xml in the format written by IEntityCollection2.WriteXml() and the Xml has to be compatible with the structure of this entity collection.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | ReadXml(XmlReader) |
Constructs an object graph with this object as the root from the xml contained by the passed in XmlReader object.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | ReadXml(XmlReader, XmlFormatAspect) |
Constructs an object graph with this object as the root from the xml contained by the passed in XmlReader object.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | Remove |
Removes the first occurrence of a specific object from the ICollection<T>.
(Inherited from CollectionCore<T>.) |
![]() | RemoveAt |
Removes the IList<T> item at the specified index.
(Inherited from CollectionCore<T>.) |
![]() | RemoveRange |
Removes the elements in the range specified from this collection.
(Inherited from CollectionCore<T>.) |
![]() | SerializeOwnedData |
Method which restores owned data - i.e. considered private to this collection
and not shared with any external object
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | SetContainingEntityInfo |
Sets the entity information of the entity object containing this collection. Call this method only from
entity classes which contain EntityCollection members, like 'Customer' which contains 'Orders' entity collection.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | SilentRemove |
Removes the passed in entity from the collection without notifying the entity to remove that it has been removed from this collection.
(Inherited from CollectionCore<T>.) |
![]() | Sort(Int32, ListSortDirection) |
Applies sorting like IBindingList.ApplySort, on the field with the index fieldIndex and with the direction specified.
(Inherited from CollectionCore<T>.) |
![]() | Sort(PropertyDescriptor, ListSortDirection, IComparer<Object>) |
Sorts the collection.
(Inherited from CollectionCore<T>.) |
![]() | Sort(String, ListSortDirection, IComparer<Object>) |
Sorts the collection.
(Inherited from CollectionCore<T>.) |
![]() | Sort(Int32, ListSortDirection, IComparer<Object>) |
Sorts the collection.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | ToString | (Inherited from CollectionCore<T>.) |
![]() | WriteXml(String) |
Converts this entity collection to XML, recursively. Uses "EntityCollection" for the rootnode name
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(XmlWriter) |
Constructs the XML output from the object graph which has this object as the root.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(String, String) |
Converts this entity collection to XML.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(XmlDocument, XmlNode) |
Converts this entity collection to XML. Uses "EntityCollection" for the rootnode name
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(XmlWriter, XmlFormatAspect) |
Converts this entity collection to XML
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(XmlFormatAspect, String) |
Converts this entity collection to XML, recursively. Uses "EntityCollection" for the rootnode name
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(String, XmlDocument, XmlNode) |
Converts this entity collection to XML.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(XmlWriter, XmlFormatAspect, String) |
Converts this entity collection to XML
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(XmlFormatAspect, String, String) |
Converts this entity collection to XML.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(XmlFormatAspect, XmlDocument, XmlNode) |
Converts this entity collection to XML. Uses "EntityCollection" for the rootnode name
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() | WriteXml(XmlFormatAspect, String, XmlDocument, XmlNode) |
Converts this entity collection to XML.
(Inherited from EntityCollectionBase2<TEntity>.) |
Name | Description | |
---|---|---|
![]() ![]() | IList.Add |
Adds an item to the IList.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IList.Clear |
Removes all items from the ICollection<T>.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IList.Contains |
Determines whether the IList contains a specific value.
(Inherited from CollectionCore<T>.) |
![]() ![]() | ICollection.CopyTo | (Inherited from CollectionCore<T>.) |
![]() ![]() | IEnumerable.GetEnumerator |
Returns an enumerator that iterates through a collection.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IList.IndexOf |
Determines the index of a specific item in the IList.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IList.Insert |
Inserts an item to the IList at the specified index.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IXmlSerializable.ReadXml |
Constructs an object graph with this object as the root from the xml contained by the passed in XmlReader object.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IList.Remove |
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IList.RemoveAt |
Removes the IList<T> item at the specified index.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IEntityCollection2.Add |
Adds an IEntity2 object to the list.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.AddRange |
Adds the range of objects passed in. Objects have to be IEntity2 implementing objects
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.Contains |
Returns true if the list contains the given IEntity2 Object
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.CopyTo |
copy the complete list of IEntity2 objects to an array of IEntity objects.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.CreateHierarchicalProjection(List<IViewProjectionData>, Dictionary<Type, IEntityCollection2>) |
Creates a hierarchical projection of all the data in this collection and for each type in the complete graph found starting with each entity in this collection,
using the collectionProjections data passed in. Per entity type found, an entry is stored inside the destination dictionary.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.CreateHierarchicalProjection(List<IViewProjectionData>, DataSet) |
Creates a hierarchical projection of all the data in this collection and for each type in the complete graph found starting with each entity in this collection,
using the collectionProjections data passed in. Per entity type found, a new datatable is created inside destination.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.CreateView() |
Creates a new EntityView2 object of the right type on this collection with no filter nor sorter applied.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.CreateView(IPredicate) |
Creates a new EntityView2 object of the right type on this collection with the passed in filter applied
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.CreateView(IPredicate, ISortExpression) |
Creates a new EntityView2 object of the right type on this collection with the passed in filter and sorter applied to it.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.CreateView(IPredicate, ISortExpression, PostCollectionChangeAction) |
Creates a new EntityView2 object of the right type on this collection with the passed in filter and sorter applied to it and the
dataChangeAction set to the passed in value.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.IndexOf |
Returns index in the list of given IEntity2 object.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.Insert |
Inserts an IEntity2 on position Index
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollection2.Remove |
Remove given IEntity2 instance from the list.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IEntityCollectionCore.Add |
Adds an IEntityCore object to the list.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IEntityCollectionCore.Clear |
Clears the collection
(Inherited from CollectionCore<T>.) |
![]() ![]() | IEntityCollectionCore.Contains |
Returns true if the list contains the given entity
(Inherited from CollectionCore<T>.) |
![]() ![]() | IEntityCollectionCore.FindMatches |
Gets all indices of all the entities in the current order of this collection which match the passed in filter.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IEntityCollectionCore.IndexOf |
Returns index in the list of given entity.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IEntityCollectionCore.Insert |
Inserts an IEntityCore on position Index
(Inherited from CollectionCore<T>.) |
![]() ![]() | IEntityCollectionCore.Remove |
Remove given IEntityCore instance from the list.
(Inherited from CollectionCore<T>.) |
![]() ![]() | IOwnedDataSerializable.DeserializeOwnedData |
Lets the implementing class retrieve internal data directly from a SerializationReader.
(Inherited from EntityCollectionBase2<TEntity>.) |
![]() ![]() | IOwnedDataSerializable.SerializeOwnedData |
Lets the implementing class store internal data directly into a SerializationWriter.
(Inherited from EntityCollectionBase2<TEntity>.) |