CoreStrings.NonNotifyingCollection Method

Definition

Overloads

NonNotifyingCollection(Object, Object, Object)

The collection type being used for navigation '{1_entityType}.{0_navigation}' does not implement 'INotifyCollectionChanged'. Any entity type configured to use the '{changeTrackingStrategy}' change tracking strategy must use collections that implement 'INotifyCollectionChanged'. Consider using 'ObservableCollection<T>' for this.

NonNotifyingCollection(Object, Object, Object, Object)

The collection type '{2_collectionType}' being used for navigation '{1_entityType}.{0_navigation}' does not implement 'INotifyCollectionChanged'. Any entity type configured to use the '{changeTrackingStrategy}' change tracking strategy must use collections that implement 'INotifyCollectionChanged'. Consider using 'ObservableCollection<T>' for this.

NonNotifyingCollection(Object, Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

The collection type being used for navigation '{1_entityType}.{0_navigation}' does not implement 'INotifyCollectionChanged'. Any entity type configured to use the '{changeTrackingStrategy}' change tracking strategy must use collections that implement 'INotifyCollectionChanged'. Consider using 'ObservableCollection<T>' for this.

C#
public static string NonNotifyingCollection (object navigation, object entityType, object changeTrackingStrategy);

Parameters

navigation
Object
entityType
Object
changeTrackingStrategy
Object

Returns

Applies to

Entity Framework Core 5.0 and other versions
Product Versions
Entity Framework Core 3.0, 3.1, 5.0

NonNotifyingCollection(Object, Object, Object, Object)

Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs
Source:
CoreStrings.Designer.cs

The collection type '{2_collectionType}' being used for navigation '{1_entityType}.{0_navigation}' does not implement 'INotifyCollectionChanged'. Any entity type configured to use the '{changeTrackingStrategy}' change tracking strategy must use collections that implement 'INotifyCollectionChanged'. Consider using 'ObservableCollection<T>' for this.

C#
public static string NonNotifyingCollection (object? navigation, object? entityType, object? collectionType, object? changeTrackingStrategy);

Parameters

navigation
Object
entityType
Object
collectionType
Object
changeTrackingStrategy
Object

Returns

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0