Add createEntity method to EntityManager

Add createEntity method to EntityManager
This commit is contained in:
Steve Fenton
2013-03-11 16:54:08 +00:00
parent f694c0d962
commit c74ca9a5d9

3
breeze/breeze.d.ts vendored
View File

@@ -290,6 +290,7 @@ declare module Breeze {
clear(): void;
createEmptyCopy(): EntityManager;
detachEntity(entity: Entity): bool;
createEntity(entityTypeName: string, propertyInitializer: {}): Entity;
executeQuery(query: string, callback?: ExecuteQuerySuccessCallback, errorCallback?: ExecuteQueryErrorCallback): Promise;
executeQuery(query: EntityQuery, callback?: ExecuteQuerySuccessCallback, errorCallback?: ExecuteQueryErrorCallback): Promise;
@@ -727,4 +728,4 @@ declare module Breeze {
messageTemplate: string;
message?: string;
}
}
}