protected virtual IProperty GetNonRootDiscriminatorProperty() { var propertyName = (string)Annotations.GetAnnotation(RelationalAnnotationNames.DiscriminatorProperty); return(propertyName == null ? null : EntityType.FindProperty(propertyName)); }
protected virtual bool SetSchema([CanBeNull] string value) => Annotations.SetAnnotation(RelationalAnnotationNames.Schema, Check.NullButNotEmpty(value, nameof(value)));
protected virtual bool SetHiLoSequenceSchema([CanBeNull] string value) => Annotations.SetAnnotation(SqlServerAnnotationNames.HiLoSequenceSchema, Check.NullButNotEmpty(value, nameof(value)));
protected virtual bool SetIsClustered(bool?value) => Annotations.SetAnnotation(SqlServerAnnotationNames.Clustered, value);
protected virtual bool SetGeneratedValueSql([CanBeNull] string value) => Annotations.SetAnnotation(RelationalAnnotationNames.GeneratedValueSql, Check.NullButNotEmpty(value, nameof(value)));
protected virtual bool SetTableName(string value) => Annotations.SetAnnotation(RelationalAnnotationNames.TableName, Check.NullButNotEmpty(value, nameof(value)));