Archive for October, 2007
When developing ASP.NET applications, it is common to take advantage of the System.Web.Caching.Cache class to cache items for later retrieval. It is also possible to have these cached items expire at a given time or after a specified period. You can even have an event raised when this expiration happens, which can be handy [...]Posted by David Clegg on October 24th, 2007 under .NET, Delphi | 1 Comment »
A post by Troy Wolbrink in borland.public.delphi.non-technical about how he had used reflection to use a custom resource manager, reminded me of a situation recently where Reflection had also come to my rescue.
I was designing a static class to assist with the parsing and retrieval of command line parameters, and was designing a unit test [...]
I’ve been spending a bit of time with BlackfishSQL over the last couple of days, and in particular have been developing stored procedures for it. Initially I had a couple of problems when attempting to debug these stored procedures in the IDE. I thought I’d blog about them here, along with how I got around [...]Posted by David Clegg on October 9th, 2007 under .NET, Database, Delphi | Comment now »
I recently found myself investigating the answer to the question "When calling TReferenceHandle.SetElement, when does this take effect?". By which I mean, when should I successfully be able to call TReferenceHandle.FieldByName(’SomeAttribute’).AsString and have this return the value of the attribute for the ECO class instance which was just assigned to the reference handle?
The reason [...]