DbGeometry.ElementCount Property

 

Gets the number of elements in this DbGeometry value, if it represents a geometry collection.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

public Nullable<int> ElementCount { get; }

Property Value

Type: System.Nullable<Int32>

The number of elements in this geometry value, if it represents a collection of other geometry values; otherwise, null.