-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Copy link
Milestone
Description
- Create public interfaces for metadata API to be used by conventions.
- Change
QueryFilter,DefiningQuery,IsEagerLoaded,IsShadowProperty,IsIndexedProperty,BeforeSaveBehaviorAfterSaveBehaviorto extension methods. - Throw when calling
SetFieldwould change the shadowness of a property or the name of the identifyingMemberInfo. - Rename
GetContainingPrimaryKeytoFindContainingPrimaryKey. - Throw when calling
SetFieldon a shadow or a field-only property. - Create public interfaces that the internal model builders implement, e.g.
IConventionModelBuilder. This will allow cleaner API, without the explicitConfigurationSourceparameter. - Throw instead of silently failing when a non-explicit configuration call is invalid. This would require adding quiz API ('CanSet').
- Make model element references consistent (e.g.
PropertyvsIPropertyvsstringvsPropertyInfo) - Add provider-specific extension methods for convention metadata interfaces.
- Rename and move
RelationalAnnotationsandRelationalAnnotationsBuilderto Core. - Remove unused methods on provider classes like
SqlServerPropertyBuilderAnnotations.ColumnName. - Rename the
Applymethods to be more descriptive and make the return types consistent, still allowing to stop the execution of the following conventions. - Pass
CoreConventionSetBuilderDependenciesto the constructor of all conventions. - Add convention type for configuring a type as owned and use it to remove ambiguous ownerships.
- Track the model elements as they are modified by conventions, so a call to a convention never returns an element that is no longer in the model.
- Add a way to delay the convention execution.
- Move logic from
ModelCustomizerto a convention. - Add
SqlServerValueGenerationStrategy.Nonevalue that can be used to override the model default. - Filter out the core annotations changes from conventions.
- Remove
PropertyMetadataChanged()calls and don't cache indexes while the model is mutable. - Expose conventions as
ListonConventionSet - Add methods to add/remove a convention to/from all appropriate convention lists.
- Add a
Conventionsproperty ofConventionSetBuildertype toModelConfigurationBuilderwith methods to add/remove a convention
cwe1ss, Rora, webpony2016, titobf, Luis-Palacios and 17 moreKukkimonsuta, gBritz, Martin-Andersen, awatson-scottlogic and AraHaangBritz, Martin-Andersen, awatson-scottlogic and AraHaan