slim-ef
Version:
An implementation of basic entity framework functionnalities in typescript
6 lines (5 loc) • 429 B
TypeScript
export declare function EntityRepository<T>(entity: (new () => T) | (() => void)): (target: any) => void;
export declare function DbSetEntity<T>(entity: (new () => T) | (() => void)): (target: any, propertykey: string) => void;
export declare function getEntitySchema(target: any): any;
export declare function getEntitySetKeys(target: any): any;
export declare function getEntitySet(target: any, propertykey: string): any;