IClrCollectionAccessor.Add(Object, Object, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a value to the navigation property collection, unless it is already contained in the collection.
public bool Add (object entity, object value, bool forMaterialization);
abstract member Add : obj * obj * bool -> bool
Public Function Add (entity As Object, value As Object, forMaterialization As Boolean) As Boolean
Parameters
- entity
- Object
The entity instance.
- value
- Object
The value to add.
- forMaterialization
- Boolean
If true, then the value is being added as part of query materialization.
Returns
true
if a value was added; false
if it was already in the collection.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework