Dimitris,
I’m not sure what you use for the geometry column, WKT, WKB or something else? You can check the shape type using WellKnowType property of BaseShape, Here we use WKT for example:
BaseShape shape = BaseShape.CreateShapeFromWellKnownData("POLYGON((10 60,40 70,30 85, 10 60))");
WellKnownType wellKnowType = shape.GetWellKnownType();
if (wellKnowType == WellKnownType.Point || wellKnowType == WellKnownType.Multipoint)
{
// Shape is Point type
}
else if (wellKnowType == WellKnownType.Polygon || wellKnowType == WellKnownType.Multipolygon)
{
// Shape is Area type
}
Thanks,
Johnny