internal static bool IsTrackingEnabled(PropertyConfiguerationKey property, Type entityType) { if (typeof(IUnTrackable).IsAssignableFrom(entityType)) return false; var result = TrackingDataStore.PropertyConfigStore .GetOrAdd(property, (x) => PropertyConfigValueFactory(property.PropertyName, entityType)); return result.Value; }
internal static bool IsTrackingEnabled(PropertyConfiguerationKey property, Type entityType) { if (typeof(IUnTrackable).IsAssignableFrom(entityType)) { return(false); } var result = TrackingDataStore.PropertyConfigStore .GetOrAdd(property, (x) => PropertyConfigValueFactory(property.PropertyName, entityType)); return(result.Value); }