public override void ProcessInput(int inputID, PipelineBuffer buffer) { while (buffer.NextRow()) { foreach (LocalColumnInfo columnInfo in this.inputColumns) { if (columnInfo.IsBlob()) { SqlGeometry geometry = GetGeometryData(columnInfo.BufferIndex, buffer); TransformGeometryBuilder builder = new TransformGeometryBuilder(columnInfo.Trans); geometry.Populate(builder); buffer.ResetBlobData(columnInfo.BufferIndex); buffer.AddBlobData(columnInfo.BufferIndex, builder.ConstructedGeometry.STAsBinary().Value); } } } }