[fdo-users] How to attach/detach a property from a propertyvalues of IInserCmd
Romica Dascalescu
Romica.Dascalescu at autodesk.com
Mon Jul 9 08:21:19 PDT 2012
My proposal will be faster and will create less FDO objects needed to be released by GC...
As you see SetNull() usage you should do the same to set a value.
This way you memory usage footprint will be really small.
Romy.
________________________________________
From: fdo-users-bounces at lists.osgeo.org [fdo-users-bounces at lists.osgeo.org] on behalf of Ray [ray.wu at efacec.com]
Sent: Monday, July 09, 2012 11:18 AM
To: fdo-users at lists.osgeo.org
Subject: Re: [fdo-users] How to attach/detach a property from a propertyvalues of IInserCmd
I think I may be able to do the following:
oPropertyValue.Value = Nothing
But oPropertyValue.value was cached in a dictionary. So if I do that, it
modifis the value in the cache. Then for next record, I have to reinitiatize
the value and reinsert it to the dictionary.
Really I want is to cache initial values for all property values. For record
with null property, I like to skip inserting this property. For record with
not null property, I like to reuse the cached initial value without having
to reinit and new-ed the property every time.
Thanks,
Ray
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-attach-detach-a-property-from-a-propertyvalues-of-IInserCmd-tp4986964p4986980.html
Sent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users
More information about the fdo-users
mailing list