Skip to content

I/O Hooks Class needs an alternate constructor in .NET #12

@SteveIves

Description

@SteveIves

Gordon Ireland suggested that the I/O Hooks class needs an alternate constructor to allow it to be used in .NET. He provided the following sample code:

.ifdef DBLNET
public method <StructureName>Hooks
    required in aChannel, int32
    endparams
    parent(aChannel)
proc
    data structNameString, string, mStructNameArray[1]
    mAlwaysSaveChanges = true
    constructorLogic(aChannel,structNameString)
endmethod
.endc

Gordon also commented "Note that the symphony framework app was written to updateByGRFA, using GRFAs provided by Symphony Harmony queries. So the code which compares the record to be updated with the record read was bypassed if mAlwaysSaveChanges is set to true."

The sample code appears to be non-generic and as such can't be added to the templates. Need to talk to Gordon and get more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions