ChangeTracking icon indicating copy to clipboard operation
ChangeTracking copied to clipboard

Can we do changetracking for IList<int> or IList<String>

Open tgattu opened this issue 5 years ago • 3 comments

Seem like IList<T> change tracking only support id T is a Class. Try to track changes for IList and IList

for Int I am getting below error when I make the object AsTrackable() I am getting "System.InvalidOperationException HResult=0x80131509 Message=Only IList<T>, List<T> and ICollection<T> are supported Source=ChangeTracking"


for String I am getting the below error when I Add an Item to the IList System.TypeLoadException HResult=0x80131522 Message=Could not load type 'Castle.Proxies.StringProxy' from assembly 'DynamicProxyGenAssembly2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' because the parent type is sealed."

tgattu avatar Feb 10 '20 16:02 tgattu

@tgattu primitives are not supported see here

joelweiss avatar Feb 11 '20 05:02 joelweiss

thank you! Does change tracking can support Dictionary Data structures?

tgattu avatar Feb 11 '20 14:02 tgattu

No

joelweiss avatar Feb 12 '20 07:02 joelweiss