Componentes.Terceros.RemObj.../official/5.0.23.613/Data Abstract for Delphi/Source/uDARes.pas

100 lines
5.0 KiB
ObjectPascal

unit uDARes;
{----------------------------------------------------------------------------}
{ Data Abstract Library - Core Library }
{ }
{ compiler: Delphi 6 and up, Kylix 3 and up }
{ platform: Win32, Linux }
{ }
{ (c)opyright RemObjects Software. all rights reserved. }
{ }
{ Using this code requires a valid license of the Data Abstract }
{ which can be obtained at http://www.remobjects.com. }
{----------------------------------------------------------------------------}
{$I DataAbstract.inc}
interface
//uses uDAInterfaces;
resourcestring
err_ChangeLogAlreadyStarted = 'StartChange has already been called; cannot log more than one change at a time.';
err_NotAttachedToDataTable = 'Delta is not attached to a DataTable';
err_DeltaAttachedToDataTable = 'Cannot perform this operation on a delta that is attached to a DataTable';
err_DriverProcAlreadyRegistered = 'DriverProc 0x%0.8x is already registered';
err_DriverManagerNotCreated = 'A Data Abstract DriverManager is not currently instantiated';
err_DriverManagerAlreadyCreated = 'An instance of a TDADriverManager was already initialized. Only one driver manager per module is allowed';
err_DatasetNotAssigned = 'Dataset is not assigned';
err_VariantNotSupported = 'Variant type %d is not supported';
err_InvalidDestination = 'Invalid destination';
err_DriverManagerNotAssigned = 'Driver Manager is not assigned';
err_ConnectionManagerNotAssigned = 'Connection Manager is not assigned';
err_FieldTypeNotSupported = 'FieldType %s (%d) is not supported';
err_NotSupported = 'Not supported';
err_DataTypeNotSupportedByRemoteRequest = 'DataType is not supported by RemoteRequest';
err_InvalidDataset = 'Invalid or NIL dataset';
err_CannotMakeNILDefault = 'Cannot set NIL';
err_DifferentOwnerCollection = 'The connection definition is not owned by this collection';
err_CannotFindItem = 'Cannot find %s "%s" in collection of type %s';
err_InvalidCollectionType = 'Invalid collection type';
err_InvalidOwner = 'Invalid owner';
err_DriverAlreadyLoaded = 'Driver %s is already loaded';
err_DriverIsNotLoaded = 'Driver %s was not loaded';
err_InvalidDLL = '%s is not a valid Data Abstract driver';
err_UnknownDriver = 'Unknown driver %s';
err_UnknownParameter = 'Unknown parameter %s';
err_FieldIsNotBound = 'Field is not bound';
err_CannotFindField = 'Cannot find field %s';
err_LoadPackageFailed = 'LoadPackage failed for file %s';
err_InvalidDriverReference = 'The driver in %s could not be loaded';
err_CannotFindStatement = 'Cannot find statement %s for connection %s';
err_CannotFindDefaultItem = 'Cannot find default %s';
err_PoolIsNotEmpty = 'Cannot perform this operation when connections are pooled';
err_MaxPoolSizeReached = 'Maximum pool size reached. Cannot create a new connection';
err_CannotAccessThisProperty = 'Cannot access this property with the current DataType value';
err_LAMEDataset = '%s does not implement IProviderSupport or implements it incorrectly';
err_HETConnectionNotSupportedInV3 = 'HET Connections are not supported by te legacy v3 DARemoteService';
err_DARDMInvalidSchema = 'Schema must be assigned and must point to a ConnectionManager';
err_DARDMMissingConnectionName = 'Cannot acquire a connection without a ConnectionName or a OnBeforeAcquireConnection event handler';
err_DARDMUnassignedAdapter = 'DataAdapter is not assigned';
err_DARDMConnectionIsNotAssigned = 'Connection is not assigned';
err_DARDMCannotFindProxessorForDelta = 'Cannot find a business processor for delta "%s"';
err_NeedShareMem = 'To use dynamically loaded drivers, you must build your application with ShareMem.';
err_ExecuteSQLCommandNotAllowed = 'ExecuteSQLCommand is not enabled for this server.';
err_DatasetNotAccessible = 'Access to dataset %s has not been permitted.';
err_CommandNotAccessible = 'executon of command %s has not been permitted.';
err_SQLNotPermitted = 'Execution of the specified SQL statement has not been permitted.';
const
// Connection strings
ds_Separator = '?';
ds_Database = 'Database';
ds_UserID = 'UserID';
ds_Password = 'Password';
ds_Server = 'Server';
ds_AuxDriver = 'AuxDriver';
// IDE
DAPalettePageName = 'RemObjects Data Abstract';
// Driver access
DAFileExtDriver = '.dad';
drv_AllDrivers = 'DA*Drv' + DAFileExtDriver; // Driver names are in the format DAxxxxDrv.dad
// Schema Modeler related
DAFileExtSchemaFile = '.daSchema';
DAFileExtConnectionMgrFile = '.daConnections';
DAFileExtDataDictionaryFile = '.daDictionary';
DAFileExtDiagramsFile = '.daDiagrams';
DAFileExtConfigFile = '.daConfig';
implementation
end.