Namespace: OpenEdge.DataAdmin.Binding
Class
SchemaContext
Parent classes:
Inherits: OpenEdge.DataAdmin.Binding.DataAdminContext
Implements: OpenEdge.DataAdmin.Binding.IDataAdminContext

/* Copyright (c) 2010 by progress Software Corporation
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
File:SchemaContext
Purpose:Schema contains all standard dictionary tables
with the schema as the parent
Author(s):hdaniels
Created:Aug 2010
Notes:The Schema name is part of the unique key for tables
and sequences in Data Dictionary.
- This context is not used/supported in the ABL API,
since the only supported record is PUB and the
DataAdminService GetTable(s) ando GetSequence(s) returns
only data for PUB. This will not change. If other
schemas than PUB is to be supported it will be done with
separate requests i.e. GetSQLTable(s) or GetSysTable(s)
- The context is used for REST to allow a unique key to
lookup table (or a table's index or field) and sequence.




Method Summary
Options Name Purpose
BindFieldChanges (table)
BindIndexChanges (table)
BindTableChanges (table)
LOGICAL CanFind (character)
CopyTable (IDataAdminModel) /* public because it is called from Schema @todo make protected and overide copy() to call this) */
CopyTable (SchemaChanges)
OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)
OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)
CreateRow (IDataAdminElement)
HANDLE CreateSaveDataset () /* end method. */
DataRefreshed (IFetchResponse)
LOGICAL Find (character)
OpenEdge.DataAdmin.Message.IFetchRequest GetChangeRequest ()
CHARACTER GetJoinFields (character)
OpenEdge.DataAdmin.Binding.PartitionQueryContext GetNewPartitionContext ()
OpenEdge.DataAdmin.IPartitionCollection GetNewPartitions () /* end method. */
showtables ()

Constructor Summary
Options Name Purpose
SchemaContext ()
SchemaContext (ISchemaScope)

Property Summary
Options Name Purpose
INTEGER Count
CHARACTER KeyFields
HANDLE TableHandle


Method Detail
Top

BindFieldChanges (table)

Parameters:
ttFieldChange TABLE
Top

BindIndexChanges (table)

Parameters:
ttIndexChange TABLE
Top

BindTableChanges (table)

Parameters:
ttTableChange TABLE
Top

LOGICAL CanFind (character)

Parameters:
name CHARACTER
Returns LOGICAL
Top

CopyTable (IDataAdminModel)

/* public because it is called from Schema
@todo make protected and overide copy() to call this)
Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

CopyTable (SchemaChanges)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.SchemaChanges
Top

OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)

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

OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)

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

CreateRow (IDataAdminElement)

Parameters:
entity OpenEdge.DataAdmin.IDataAdminElement
Top

HANDLE CreateSaveDataset ()

/* end method.
Returns HANDLE
Top

DataRefreshed (IFetchResponse)

Parameters:
pResponse OpenEdge.DataAdmin.Message.IFetchResponse
Top

LOGICAL Find (character)

Parameters:
pname CHARACTER
Returns LOGICAL
Top

OpenEdge.DataAdmin.Message.IFetchRequest GetChangeRequest ()

Returns OpenEdge.DataAdmin.Message.IFetchRequest
Top

CHARACTER GetJoinFields (character)

Parameters:
parentid CHARACTER
Returns CHARACTER
Top

OpenEdge.DataAdmin.Binding.PartitionQueryContext GetNewPartitionContext ()

Returns OpenEdge.DataAdmin.Binding.PartitionQueryContext
Top

OpenEdge.DataAdmin.IPartitionCollection GetNewPartitions ()

/* end method.
Returns OpenEdge.DataAdmin.IPartitionCollection
Top

showtables ()



Constructor Detail
Top

SchemaContext ()

Top

SchemaContext (ISchemaScope)

Parameters:
pScope OpenEdge.DataAdmin.Binding.Factory.ISchemaScope


Property Detail
Top

INTEGER Count

Returns INTEGER
Top

CHARACTER KeyFields

Returns CHARACTER
Top

HANDLE TableHandle

Returns HANDLE


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7