@@ -206,10 +206,9 @@ public virtual PropertyBuilder Property(Type propertyType, string propertyName)
206206 public virtual PrimitiveCollectionBuilder PrimitiveCollection ( string propertyName )
207207 => UpdateBuilder (
208208 ( ) => new PrimitiveCollectionBuilder (
209- DependentEntityType . Builder . Property (
209+ DependentEntityType . Builder . PrimitiveCollection (
210210 Check . NotEmpty ( propertyName , nameof ( propertyName ) ) ,
211- ConfigurationSource . Explicit ) !
212- . PrimitiveCollection ( ConfigurationSource . Explicit ) ! . Metadata ) ) ;
211+ ConfigurationSource . Explicit ) ! . Metadata ) ) ;
213212
214213 /// <summary>
215214 /// Returns an object that can be used to configure a property of the owned type where that property represents
@@ -229,10 +228,9 @@ public virtual PrimitiveCollectionBuilder PrimitiveCollection(string propertyNam
229228 public virtual PrimitiveCollectionBuilder < TProperty > PrimitiveCollection < TProperty > ( string propertyName )
230229 => UpdateBuilder (
231230 ( ) => new PrimitiveCollectionBuilder < TProperty > (
232- DependentEntityType . Builder . Property (
231+ DependentEntityType . Builder . PrimitiveCollection (
233232 typeof ( TProperty ) ,
234- Check . NotEmpty ( propertyName , nameof ( propertyName ) ) , ConfigurationSource . Explicit ) !
235- . PrimitiveCollection ( ConfigurationSource . Explicit ) ! . Metadata ) ) ;
233+ Check . NotEmpty ( propertyName , nameof ( propertyName ) ) , ConfigurationSource . Explicit ) ! . Metadata ) ) ;
236234
237235 /// <summary>
238236 /// Returns an object that can be used to configure a property of the owned type where that property represents
@@ -251,10 +249,9 @@ public virtual PrimitiveCollectionBuilder<TProperty> PrimitiveCollection<TProper
251249 /// <returns>An object that can be used to configure the property.</returns>
252250 public virtual PrimitiveCollectionBuilder PrimitiveCollection ( Type propertyType , string propertyName )
253251 => new (
254- DependentEntityType . Builder . Property (
252+ DependentEntityType . Builder . PrimitiveCollection (
255253 Check . NotNull ( propertyType , nameof ( propertyType ) ) , Check . NotEmpty ( propertyName , nameof ( propertyName ) ) ,
256- ConfigurationSource . Explicit ) !
257- . PrimitiveCollection ( ConfigurationSource . Explicit ) ! . Metadata ) ;
254+ ConfigurationSource . Explicit ) ! . Metadata ) ;
258255
259256 /// <summary>
260257 /// Returns an object that can be used to configure a property of the entity type.
0 commit comments