Added helper specification to EntityManager

This commit is contained in:
vcastro
2013-06-07 14:31:00 +01:00
parent 3e2b27c9d0
commit e03564697e
+7
View File
@@ -360,6 +360,13 @@ declare module breeze {
rejectChanges(): Entity[];
saveChanges(entities?: Entity[], saveOptions?: SaveOptions, callback?: SaveChangesSuccessCallback, errorCallback?: SaveChangesErrorCallback): Promise;
setProperties(config: EntityManagerProperties): void;
helper: {
unwrapInstance(structObj: Entity, isOData: bool): any;
unwrapOriginalValues(target: Entity, metadataStore: MetadataStore, isOData: bool): any;
unwrapChangedValues(target: Entity, metadataStore: MetadataStore, isOData: bool): any;
getEntityKeyFromRawEntity(rawEntity: any, entityType: EntityType, isClient: bool): EntityKey;
};
}
interface EntityManagerOptions {