ClrICollectionAccessor<TEntity, TCollection, TElement> ClrICollectionAccessor(Of TEntity, TCollection, TElement) Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class ClrICollectionAccessor<TEntity, TCollection, TElement> : IClrCollectionAccessor where TEntity : class where TCollection : class, IEnumerable<TElement>Public Class ClrICollectionAccessor(Of TEntity As Class, TCollection As {Class, IEnumerable(Of TElement)}, TElement)
    Implements IClrCollectionAccessor

Type Parameters

TEntity
TCollection
TElement

Inheritance Hierarchy

  • System.Object
    System.Object
  • ClrICollectionAccessor<TEntity, TCollection, TElement>
    ClrICollectionAccessor(Of TEntity, TCollection, TElement)

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • ClrICollectionAccessor(String, Func<TEntity, TCollection>, Action<TEntity, TCollection>, Func<TEntity, Action<TEntity, TCollection>, TCollection>, Func<TCollection>)
    ClrICollectionAccessor(String, Func(Of TEntity, TCollection), Action(Of TEntity, TCollection), Func(Of TEntity, Action(Of TEntity, TCollection), TCollection), Func(Of TCollection))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public ClrICollectionAccessor(string propertyName, Func<TEntity, TCollection> getCollection, Action<TEntity, TCollection> setCollection, Func<TEntity, Action<TEntity, TCollection>, TCollection> createAndSetCollection, Func<TCollection> createCollection)Public Sub New(propertyName As String, getCollection As Func(Of TEntity, TCollection), setCollection As Action(Of TEntity, TCollection), createAndSetCollection As Func(Of TEntity, Action(Of TEntity, TCollection), TCollection), createCollection As Func(Of TCollection))

    Parameters

    • propertyName
      System.String
      System.String
    • getCollection
      System.Func<T, TResult><TEntity, TCollection>
      System.Func<T, TResult>(Of TEntity, TCollection)
    • setCollection
      System.Action<T1, T2><TEntity, TCollection>
      System.Action<T1, T2>(Of TEntity, TCollection)
    • createAndSetCollection
      System.Func<T1, T2, TResult><TEntity, System.Action<T1, T2><TEntity, TCollection>, TCollection>
      System.Func<T1, T2, TResult>(Of TEntity, System.Action<T1, T2>(Of TEntity, TCollection), TCollection)
    • createCollection
      System.Func<TResult><TCollection>
      System.Func<TResult>(Of TCollection)

Properties

  • CollectionType
    CollectionType

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual Type CollectionType { get; }Public Overridable ReadOnly Property CollectionType As Type

    Property Value

    • System.Type
      System.Type

Methods

  • Add(Object, Object)
    Add(Object, Object)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual bool Add(object instance, object value)Public Overridable Function Add(instance As Object, value As Object) As Boolean

    Parameters

    • instance
      System.Object
      System.Object
    • value
      System.Object
      System.Object

    Returns

    • System.Boolean
      System.Boolean
  • AddRange(Object, IEnumerable<Object>)
    AddRange(Object, IEnumerable(Of Object))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddRange(object instance, IEnumerable<object> values)Public Overridable Sub AddRange(instance As Object, values As IEnumerable(Of Object))

    Parameters

    • instance
      System.Object
      System.Object
    • values
      System.Collections.Generic.IEnumerable<T><System.Object>
      System.Collections.Generic.IEnumerable<T>(Of System.Object)
  • Contains(Object, Object)
    Contains(Object, Object)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual bool Contains(object instance, object value)Public Overridable Function Contains(instance As Object, value As Object) As Boolean

    Parameters

    • instance
      System.Object
      System.Object
    • value
      System.Object
      System.Object

    Returns

    • System.Boolean
      System.Boolean
  • Create(IEnumerable<Object>)
    Create(IEnumerable(Of Object))

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual object Create(IEnumerable<object> values)Public Overridable Function Create(values As IEnumerable(Of Object)) As Object

    Parameters

    • values
      System.Collections.Generic.IEnumerable<T><System.Object>
      System.Collections.Generic.IEnumerable<T>(Of System.Object)

    Returns

    • System.Object
      System.Object
  • GetOrCreate(Object)
    GetOrCreate(Object)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual object GetOrCreate(object instance)Public Overridable Function GetOrCreate(instance As Object) As Object

    Parameters

    • instance
      System.Object
      System.Object

    Returns

    • System.Object
      System.Object
  • Remove(Object, Object)
    Remove(Object, Object)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void Remove(object instance, object value)Public Overridable Sub Remove(instance As Object, value As Object)

    Parameters

    • instance
      System.Object
      System.Object
    • value
      System.Object
      System.Object

Details

Assembly

Microsoft.EntityFrameworkCore.dll