Skip to content

Breaking Changes in v4.0

wałdis iljuczonok edited this page Dec 27, 2017 · 3 revisions

Tracking issue (for commits reference): #114.

ConfigurationContext

ConfigurationContext.ConnectionName renamed to ConfigurationContext.Connection to reflect more closely actual meaning (in netcoreapp this property gets actual connection string and not name of it).

Removed:

ConfigurationContext.ReplaceModelMetadataProviders
ConfigurationContext.UseCachedModelMetadataProviders
ConfigurationContext.EnableLegacyMode

Should use: ConfigurationContext.ModelMetadataProviders.* instead.

ICommand & IQuery Intefaces

ICommand and ICommandHandler moved to DbLocalizationProvider.Abstractions namespace. IQuery and IQueryHandler moved to DbLocalizationProvider.Abstractions namespace.

DbLocalizationProvider.Abstractions Namespace

IgnoreAttribute ([Ignore]) moved under DbLocalizationProvider.Abstractions namespace. IncludeAttribute ([Include]) moved under DbLocalizationProvider.Abstractions namespace.

Cache

ClearCache command moved under DbLocalizationProvider.Cache namespace.