public void Init() { if (aggregate == null) { aggregate = new GeographyCollectionAggregate(); } aggregate.Init(); }
public void Read(BinaryReader r) { if (aggregate == null) { aggregate = new GeographyCollectionAggregate(); } aggregate.Read(r); }
public void Merge(GeographyCollectionAggregate group) { if (group.IsInitialState()) { return; } SqlGeography g = group.ConstructedGeography(); if (g.IsNull) { m_srid = -1; m_builder = null; m_sink = null; m_error = true; } else { Reset(g.STSrid.Value); g.Populate(new StripCollection(m_builder)); } }