@ac_packages/autocode-data-dictionary
Version:
Data dictionary package
30 lines (29 loc) • 1.06 kB
TypeScript
export declare class AcDDRelationship {
static readonly keyCascadeDeleteDestination = "cascade_delete_destination";
static readonly keyCascadeDeleteSource = "cascade_delete_source";
static readonly keyDestinationField = "destination_field";
static readonly keyDestinationTable = "destination_table";
static readonly keySourceField = "source_field";
static readonly keySourceTable = "source_table";
cascadeDeleteDestination: boolean;
cascadeDeleteSource: boolean;
destinationField: string;
destinationTable: string;
sourceField: string;
sourceTable: string;
static fromJson(jsonData: {
[key: string]: any;
}): AcDDRelationship;
static getInstances({ destinationField, destinationTable, dataDictionaryName }: {
destinationField: string;
destinationTable: string;
dataDictionaryName?: string;
}): AcDDRelationship[];
setValuesFromJson(jsonData?: {
[key: string]: any;
}): void;
toJson(): {
[key: string]: any;
};
toString(): string;
}