Namespace: OpenEdge.DataAdmin.Binding
Class
DatabaseOptionContext
Parent classes:
Inherits: OpenEdge.DataAdmin.Binding.DataAdminContext

Copyright (c) 2016 by Progress Software Corporation. All rights reserved.
File:DatabaseOptionContext
Author(s):pjudge
Created:2016-04-25
File:dboption.i
Author(s):pjudge




Method Summary
Options Name Purpose
LOGICAL CanFind (character)
CopyNewTableForParent (IRow, handle) /* called with tracking-changes */
CopyTable (IDataAdminModel)
CopyTable (table)
CopyTableForParent (IRow, IDataAdminModel)
OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)
OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)
CreateRow (IDataAdminElement) /* the default syserror has all info */
CreateRow (IDatabaseOption)
LOGICAL Find (character)
CHARACTER FindExpression (character) /** default find expression assumes there is a name field override in context with different key name or more complex logic */
CHARACTER GetCreateError (IDatabaseOption)
CHARACTER GetJoinFields (character)
HANDLE InitDataset () /* temporary until all sub classes are using createDataset */
LOGICAL Remove ()
ValidateBuffer (handle)
ValidateRow (IDatabaseOption)

Constructor Summary
Options Name Purpose
DatabaseOptionContext ()
DatabaseOptionContext (IContextScope)

Property Summary
Options Name Purpose
INTEGER Count
CHARACTER KeyFields
HANDLE TableHandle


Method Detail
Top

LOGICAL CanFind (character)

Parameters:
pcCode CHARACTER
Returns LOGICAL
Top

CopyNewTableForParent (IRow, handle)

/* called with tracking-changes
Parameters:
pRow OpenEdge.DataAdmin.Binding.IRow
phTbl HANDLE
Top

CopyTable (IDataAdminModel)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

CopyTable (table)

Parameters:
copytable TABLE
Top

CopyTableForParent (IRow, IDataAdminModel)

Parameters:
pRow OpenEdge.DataAdmin.Binding.IRow
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminContext
Returns OpenEdge.DataAdmin.IDataAdminCollection
Top

OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)

Parameters:
req OpenEdge.DataAdmin.IRequestInfo
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

CreateRow (IDataAdminElement)

/* the default syserror has all info
Parameters:
entity OpenEdge.DataAdmin.IDataAdminElement
Top

CreateRow (IDatabaseOption)

Parameters:
poDbOption OpenEdge.DataAdmin.IDatabaseOption
Top

LOGICAL Find (character)

Parameters:
pcCode CHARACTER
Returns LOGICAL
Top

CHARACTER FindExpression (character)

Purpose: default find expression assumes there is a name field
override in context with different key name or more complex logic
Parameters:
c CHARACTER
Returns CHARACTER
Top

CHARACTER GetCreateError (IDatabaseOption)

Parameters:
poDbOption OpenEdge.DataAdmin.IDatabaseOption
Returns CHARACTER
Top

CHARACTER GetJoinFields (character)

Parameters:
parenturl CHARACTER
Returns CHARACTER
Top

HANDLE InitDataset ()

/* temporary until all sub classes are using createDataset
Returns HANDLE
Top

LOGICAL Remove ()

Returns LOGICAL
Top

ValidateBuffer (handle)

Parameters:
phOption HANDLE
Top

ValidateRow (IDatabaseOption)

Parameters:
poDbOption OpenEdge.DataAdmin.IDatabaseOption


Constructor Detail
Top

DatabaseOptionContext ()

Top

DatabaseOptionContext (IContextScope)

Parameters:
pscope OpenEdge.DataAdmin.Binding.Factory.IContextScope


Property Detail
Top

INTEGER Count

Returns INTEGER
Top

CHARACTER KeyFields

Returns CHARACTER
Top

HANDLE TableHandle

Returns HANDLE


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15