Componentes.Terceros.RemObj.../internal/5.0.23.613/1/Data Abstract for Delphi/Source/DBSessionManager Default Schema.daSchema
david 2824855ea7 - Modificación del paquete RemObjects_Core_D10 para que sea un paquete de runtime/designtime (antes era designtime sólo)
- Recompilación en Delphi10 de todos los paquetes de RO para generar las DCU's en Lib\D10
- Recompilación en Delphi10 de todos los paquetes de DA para generar las DCU's en Lib\D10

git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@9 b6239004-a887-0f4b-9937-50029ccdca16
2007-09-10 14:06:19 +00:00

31 lines
16 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<TDASchema><Commands Type="TDASQLCommandCollection" IsObject="true" IsCollection="true" Count="4" ItemClass="TDASQLCommand"><Item0><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><Description></Description><Name>Insert_Session</Name><Params Type="TDAParamCollection" IsObject="true" IsCollection="true" Count="4" ItemClass="TDAParam"><Item0><BlobType>dabtUnknown</BlobType><DataType>datString</DataType><Description></Description><GeneratorName></GeneratorName><Name>SessionID</Name><ParamType>daptInput</ParamType><Size>38</Size><Value></Value></Item0><Item1><BlobType>dabtUnknown</BlobType><DataType>datDateTime</DataType><Description></Description><GeneratorName></GeneratorName><Name>Created</Name><ParamType>daptInput</ParamType><Size>0</Size><Value></Value></Item1><Item2><BlobType>dabtUnknown</BlobType><DataType>datDateTime</DataType><Description></Description><GeneratorName></GeneratorName><Name>LastAccessed</Name><ParamType>daptInput</ParamType><Size>0</Size><Value></Value></Item2><Item3><BlobType>dabtUnknown</BlobType><DataType>datBlob</DataType><Description></Description><GeneratorName></GeneratorName><Name>Data</Name><ParamType>daptInput</ParamType><Size>0</Size><Value></Value></Item3></Params><Statements Type="TDAStatementCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAStatement"><Item0><ColumnMappings Type="TDAColumnMappingCollection" IsObject="true" IsCollection="true" Count="0" ItemClass="TDAColumnMapping"/><Connection>MSSQL</Connection><Name></Name><SQL>INSERT
INTO Sessions
(SessionID, Created, LastAccessed, Data)
VALUES
(:SessionID, :Created, :LastAccessed, :Data)</SQL><StatementType>stSQL</StatementType><TargetTable></TargetTable></Item0></Statements></Item0><Item1><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><Description></Description><Name>Update_Session</Name><Params Type="TDAParamCollection" IsObject="true" IsCollection="true" Count="3" ItemClass="TDAParam"><Item0><BlobType>dabtUnknown</BlobType><DataType>datDateTime</DataType><Description></Description><GeneratorName></GeneratorName><Name>LastAccessed</Name><ParamType>daptInput</ParamType><Size>0</Size><Value></Value></Item0><Item1><BlobType>dabtUnknown</BlobType><DataType>datBlob</DataType><Description></Description><GeneratorName></GeneratorName><Name>Data</Name><ParamType>daptInput</ParamType><Size>0</Size><Value></Value></Item1><Item2><BlobType>dabtUnknown</BlobType><DataType>datString</DataType><Description></Description><GeneratorName></GeneratorName><Name>SessionID</Name><ParamType>daptInput</ParamType><Size>38</Size><Value></Value></Item2></Params><Statements Type="TDAStatementCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAStatement"><Item0><ColumnMappings Type="TDAColumnMappingCollection" IsObject="true" IsCollection="true" Count="0" ItemClass="TDAColumnMapping"/><Connection>MSSQL</Connection><Name></Name><SQL>UPDATE
Sessions
SET
LastAccessed = :LastAccessed,
Data = :Data
WHERE
SessionID = :SessionID
</SQL><StatementType>stSQL</StatementType><TargetTable></TargetTable></Item0></Statements></Item1><Item2><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><Description></Description><Name>ClearSessions</Name><Params Type="TDAParamCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAParam"><Item0><BlobType>dabtUnknown</BlobType><DataType>datDateTime</DataType><Description></Description><GeneratorName></GeneratorName><Name>LastAccessed</Name><ParamType>daptInput</ParamType><Size>0</Size><Value></Value></Item0></Params><Statements Type="TDAStatementCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAStatement"><Item0><ColumnMappings Type="TDAColumnMappingCollection" IsObject="true" IsCollection="true" Count="0" ItemClass="TDAColumnMapping"/><Connection>MSSQL</Connection><Name></Name><SQL>DELETE
FROM
Sessions
WHERE
LastAccessed &lt; :LastAccessed</SQL><StatementType>stSQL</StatementType><TargetTable></TargetTable></Item0></Statements></Item2><Item3><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><Description></Description><Name>Delete_Session</Name><Params Type="TDAParamCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAParam"><Item0><BlobType>dabtUnknown</BlobType><DataType>datString</DataType><Description></Description><GeneratorName></GeneratorName><Name>SessionID</Name><ParamType>daptInput</ParamType><Size>38</Size><Value></Value></Item0></Params><Statements Type="TDAStatementCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAStatement"><Item0><ColumnMappings Type="TDAColumnMappingCollection" IsObject="true" IsCollection="true" Count="0" ItemClass="TDAColumnMapping"/><Connection>MSSQL</Connection><Name></Name><SQL>DELETE
FROM
Sessions
WHERE
SessionID = :SessionID</SQL><StatementType>stSQL</StatementType><TargetTable></TargetTable></Item0></Statements></Item3></Commands><ConnectionManager Type="TDAConnectionManager" IsObject="true" ByRef="true" RefName="DAConnectionManager" Owner="SchemaModelerData"/><DataDictionary Type="TDADataDictionary" IsObject="true" ByRef="true" RefName="DADataDictionary" Owner="SchemaModelerData"/><Datasets Type="TDADatasetCollection" IsObject="true" IsCollection="true" Count="3" ItemClass="TDADataset"><Item0><BusinessClassID></BusinessClassID><BusinessRulesClient Type="TDAClientBusinessRuleScript" IsObject="true"><CompileOnServer>True</CompileOnServer><Description></Description><RunOnClientAndServer>True</RunOnClientAndServer><Script></Script><ScriptLanguage>rslPascalScript</ScriptLanguage></BusinessRulesClient><BusinessRulesServer Type="TDABusinessRuleScript" IsObject="true"><Description></Description><Script></Script><ScriptLanguage>rslPascalScript</ScriptLanguage></BusinessRulesServer><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><Description></Description><Fields Type="TDAFieldCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAField"><Item0><Alignment>taLeftJustify</Alignment><BlobType>dabtUnknown</BlobType><BusinessClassID></BusinessClassID><Calculated>False</Calculated><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><DataType>datString</DataType><DefaultValue></DefaultValue><Description></Description><DictionaryEntry></DictionaryEntry><DisplayFormat></DisplayFormat><DisplayLabel>SessionID</DisplayLabel><DisplayWidth>0</DisplayWidth><EditFormat></EditFormat><EditMask></EditMask><GeneratorName></GeneratorName><InPrimaryKey>False</InPrimaryKey><KeyFields></KeyFields><LogChanges>True</LogChanges><Lookup>False</Lookup><LookupCache>False</LookupCache><LookupKeyFields></LookupKeyFields><LookupResultField></LookupResultField><LookupSource Type="TDataSource" IsObject="true" IsNull="true"/><Name>SessionID</Name><ReadOnly>False</ReadOnly><RegExpression></RegExpression><Required>False</Required><ServerAutoRefresh>False</ServerAutoRefresh><Size>38</Size><Visible>True</Visible></Item0></Fields><Name>GetAllSessionIDsDataset</Name><Params Type="TDAParamCollection" IsObject="true" IsCollection="true" Count="0" ItemClass="TDAParam"/><Statements Type="TDAStatementCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAStatement"><Item0><ColumnMappings Type="TDAColumnMappingCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAColumnMapping"><Item0><DatasetField>SessionID</DatasetField><TableField>SessionID</TableField></Item0></ColumnMappings><Connection>MSSQL</Connection><Name></Name><SQL>Select SessionID from Sessions
</SQL><StatementType>stSQL</StatementType><TargetTable></TargetTable></Item0></Statements></Item0><Item1><BusinessClassID></BusinessClassID><BusinessRulesClient Type="TDAClientBusinessRuleScript" IsObject="true"><CompileOnServer>True</CompileOnServer><Description></Description><RunOnClientAndServer>True</RunOnClientAndServer><Script></Script><ScriptLanguage>rslPascalScript</ScriptLanguage></BusinessRulesClient><BusinessRulesServer Type="TDABusinessRuleScript" IsObject="true"><Description></Description><Script></Script><ScriptLanguage>rslPascalScript</ScriptLanguage></BusinessRulesServer><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><Description></Description><Fields Type="TDAFieldCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAField"><Item0><Alignment>taLeftJustify</Alignment><BlobType>dabtUnknown</BlobType><BusinessClassID></BusinessClassID><Calculated>False</Calculated><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><DataType>datInteger</DataType><DefaultValue></DefaultValue><Description></Description><DictionaryEntry></DictionaryEntry><DisplayFormat></DisplayFormat><DisplayLabel>COLUMN1</DisplayLabel><DisplayWidth>0</DisplayWidth><EditFormat></EditFormat><EditMask></EditMask><GeneratorName></GeneratorName><InPrimaryKey>False</InPrimaryKey><KeyFields></KeyFields><LogChanges>True</LogChanges><Lookup>False</Lookup><LookupCache>False</LookupCache><LookupKeyFields></LookupKeyFields><LookupResultField></LookupResultField><LookupSource Type="TDataSource" IsObject="true" IsNull="true"/><Name>COLUMN1</Name><ReadOnly>False</ReadOnly><RegExpression></RegExpression><Required>False</Required><ServerAutoRefresh>False</ServerAutoRefresh><Size>0</Size><Visible>True</Visible></Item0></Fields><Name>GetSessionCount</Name><Params Type="TDAParamCollection" IsObject="true" IsCollection="true" Count="0" ItemClass="TDAParam"/><Statements Type="TDAStatementCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAStatement"><Item0><ColumnMappings Type="TDAColumnMappingCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAColumnMapping"><Item0><DatasetField>COLUMN1</DatasetField><TableField>COLUMN1</TableField></Item0></ColumnMappings><Connection>MSSQL</Connection><Name></Name><SQL>SELECT
COUNT(*)
FROM
Sessions</SQL><StatementType>stSQL</StatementType><TargetTable></TargetTable></Item0></Statements></Item1><Item2><BusinessClassID></BusinessClassID><BusinessRulesClient Type="TDAClientBusinessRuleScript" IsObject="true"><CompileOnServer>True</CompileOnServer><Description></Description><RunOnClientAndServer>True</RunOnClientAndServer><Script></Script><ScriptLanguage>rslPascalScript</ScriptLanguage></BusinessRulesClient><BusinessRulesServer Type="TDABusinessRuleScript" IsObject="true"><Description></Description><Script></Script><ScriptLanguage>rslPascalScript</ScriptLanguage></BusinessRulesServer><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><Description></Description><Fields Type="TDAFieldCollection" IsObject="true" IsCollection="true" Count="4" ItemClass="TDAField"><Item0><Alignment>taLeftJustify</Alignment><BlobType>dabtUnknown</BlobType><BusinessClassID></BusinessClassID><Calculated>False</Calculated><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><DataType>datString</DataType><DefaultValue></DefaultValue><Description></Description><DictionaryEntry></DictionaryEntry><DisplayFormat></DisplayFormat><DisplayLabel>SessionID</DisplayLabel><DisplayWidth>0</DisplayWidth><EditFormat></EditFormat><EditMask></EditMask><GeneratorName></GeneratorName><InPrimaryKey>True</InPrimaryKey><KeyFields></KeyFields><LogChanges>True</LogChanges><Lookup>False</Lookup><LookupCache>False</LookupCache><LookupKeyFields></LookupKeyFields><LookupResultField></LookupResultField><LookupSource Type="TDataSource" IsObject="true" IsNull="true"/><Name>SessionID</Name><ReadOnly>False</ReadOnly><RegExpression></RegExpression><Required>False</Required><ServerAutoRefresh>False</ServerAutoRefresh><Size>38</Size><Visible>True</Visible></Item0><Item1><Alignment>taLeftJustify</Alignment><BlobType>dabtUnknown</BlobType><BusinessClassID></BusinessClassID><Calculated>False</Calculated><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><DataType>datDateTime</DataType><DefaultValue></DefaultValue><Description></Description><DictionaryEntry></DictionaryEntry><DisplayFormat></DisplayFormat><DisplayLabel>Created</DisplayLabel><DisplayWidth>0</DisplayWidth><EditFormat></EditFormat><EditMask></EditMask><GeneratorName></GeneratorName><InPrimaryKey>False</InPrimaryKey><KeyFields></KeyFields><LogChanges>True</LogChanges><Lookup>False</Lookup><LookupCache>False</LookupCache><LookupKeyFields></LookupKeyFields><LookupResultField></LookupResultField><LookupSource Type="TDataSource" IsObject="true" IsNull="true"/><Name>Created</Name><ReadOnly>False</ReadOnly><RegExpression></RegExpression><Required>False</Required><ServerAutoRefresh>False</ServerAutoRefresh><Size>0</Size><Visible>True</Visible></Item1><Item2><Alignment>taLeftJustify</Alignment><BlobType>dabtUnknown</BlobType><BusinessClassID></BusinessClassID><Calculated>False</Calculated><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><DataType>datDateTime</DataType><DefaultValue></DefaultValue><Description></Description><DictionaryEntry></DictionaryEntry><DisplayFormat></DisplayFormat><DisplayLabel>LastAccessed</DisplayLabel><DisplayWidth>0</DisplayWidth><EditFormat></EditFormat><EditMask></EditMask><GeneratorName></GeneratorName><InPrimaryKey>False</InPrimaryKey><KeyFields></KeyFields><LogChanges>True</LogChanges><Lookup>False</Lookup><LookupCache>False</LookupCache><LookupKeyFields></LookupKeyFields><LookupResultField></LookupResultField><LookupSource Type="TDataSource" IsObject="true" IsNull="true"/><Name>LastAccessed</Name><ReadOnly>False</ReadOnly><RegExpression></RegExpression><Required>False</Required><ServerAutoRefresh>False</ServerAutoRefresh><Size>0</Size><Visible>True</Visible></Item2><Item3><Alignment>taLeftJustify</Alignment><BlobType>dabtUnknown</BlobType><BusinessClassID></BusinessClassID><Calculated>False</Calculated><CustomAttributes Type="TStrings" IsObject="true"></CustomAttributes><DataType>datBlob</DataType><DefaultValue></DefaultValue><Description></Description><DictionaryEntry></DictionaryEntry><DisplayFormat></DisplayFormat><DisplayLabel>Data</DisplayLabel><DisplayWidth>0</DisplayWidth><EditFormat></EditFormat><EditMask></EditMask><GeneratorName></GeneratorName><InPrimaryKey>False</InPrimaryKey><KeyFields></KeyFields><LogChanges>True</LogChanges><Lookup>False</Lookup><LookupCache>False</LookupCache><LookupKeyFields></LookupKeyFields><LookupResultField></LookupResultField><LookupSource Type="TDataSource" IsObject="true" IsNull="true"/><Name>Data</Name><ReadOnly>False</ReadOnly><RegExpression></RegExpression><Required>False</Required><ServerAutoRefresh>False</ServerAutoRefresh><Size>0</Size><Visible>True</Visible></Item3></Fields><Name>GetSession</Name><Params Type="TDAParamCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAParam"><Item0><BlobType>dabtUnknown</BlobType><DataType>datString</DataType><Description></Description><GeneratorName></GeneratorName><Name>SessionID</Name><ParamType>daptInput</ParamType><Size>38</Size><Value></Value></Item0></Params><Statements Type="TDAStatementCollection" IsObject="true" IsCollection="true" Count="1" ItemClass="TDAStatement"><Item0><ColumnMappings Type="TDAColumnMappingCollection" IsObject="true" IsCollection="true" Count="4" ItemClass="TDAColumnMapping"><Item0><DatasetField>SessionID</DatasetField><TableField>SessionID</TableField></Item0><Item1><DatasetField>Created</DatasetField><TableField>Created</TableField></Item1><Item2><DatasetField>LastAccessed</DatasetField><TableField>LastAccessed</TableField></Item2><Item3><DatasetField>Data</DatasetField><TableField>Data</TableField></Item3></ColumnMappings><Connection>MSSQL</Connection><Name></Name><SQL>SELECT
SessionID, Created, LastAccessed, Data
FROM
Sessions
WHERE
SessionID = :SessionID</SQL><StatementType>stSQL</StatementType><TargetTable></TargetTable></Item0></Statements></Item2></Datasets><Diagrams Type="TDADiagrams" IsObject="true" IsNull="true"/><RelationShips Type="TDADatasetRelationshipCollection" IsObject="true" IsCollection="true" Count="0" ItemClass="TDADatasetRelationship"/><Tag>0</Tag><UpdateRules Type="TDAUpdateRuleCollection" IsObject="true" IsCollection="true" Count="0" ItemClass="TDAUpdateRule"/></TDASchema>