摘要:
TFDStorageFormat = (sfAuto, sfXML, sfBinary, sfJSON);FIREDAC支持3种序列格式:XML,JSON和BIN。 阅读全文
摘要:
uses Data.FireDACJSONReflect 1)FIREDAC数据库序列为字符串,进行了加压和BASE64编码 function DataSetToString(const ADataSet: TFDAdaptedDataSet): string;var LBinary64: stri 阅读全文
摘要:
使用流做中转procedure CopyDataSet(const ASource, ADest: TFDAdaptedDataSet);var LStream: TStream;begin LStream := TMemoryStream.Create; try ASource.Sav... 阅读全文
摘要:
firedac数据集控件的公共祖先类——TFDAdaptedDataSetTFDQuery = class(TFDCustomQuery)TFDCustomQuery = class(TFDRdbmsDataSet)TFDRdbmsDataSet = class(TFDAdaptedDataSet)... 阅读全文