Like fields, parameters have a few new properties, but in this case you can not only see support for the new field types, but also for the new kinds of parameters used for DataSnap: type
TParam = class(TCollectionItem) publ ic property AsShortInt: LongInt; property AsByte: LongInt; property AsLongWord: LongWord; property AsLargeInt: LargeInt; property AsAnsiString: AnsiString; property AsBytes: TBytes; // Used by TSQLServerMethod property AsDataSet: TDataSet; property AsParams: TParams; property AsStream: TStream;
More on these new kinds of parameters in Chapter 12 , where I'll cover the new DataSnap. Notice that the core implementation of these parameters, though, adds support for an IParamImplementation interface, used to assign objects to the Variant value of a TParam object. There are a few predefined classes implementing this interface: the TParamObject class (for generic parameters), the TParamDataSetObject class (for dataset parameters), the TParamParamsObject class (for parameters representing parameters, and the TParamStreamObject class (for stream parameters).
Was this article helpful?
What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.