breeze-client
Version:
Breeze data management for JavaScript clients
20 lines (19 loc) • 827 B
TypeScript
import { Entity } from './entity-aspect';
import { NavigationProperty } from './entity-metadata';
import { EntityKey } from './entity-key';
/** @hidden @internal */
export interface INavTuple {
navigationProperty: NavigationProperty;
children: Entity[];
}
/** @hidden @internal */
export declare class UnattachedChildrenMap {
map: {
[index: string]: INavTuple[];
};
addChild(parentEntityKey: EntityKey, navigationProperty: NavigationProperty, child: Entity): void;
removeChildren(parentEntityKeyString: string, navigationProperty: NavigationProperty): void;
getTuple(parentEntityKey: EntityKey, navigationProperty: NavigationProperty): INavTuple;
getTuples(parentEntityKey: EntityKey): INavTuple[];
getTuplesByString(parentEntityKeyString: string): INavTuple[];
}