@memberjunction/core 0.9.163 → 0.9.164
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -149,8 +149,8 @@ export declare abstract class BaseEntity {
|
|
|
149
149
|
InnerLoad(PrimaryKeyValues: PrimaryKeyValue[], EntityRelationshipsToLoad?: string[]): Promise<boolean>;
|
|
150
150
|
protected ValidatePrimaryKeyArray(PrimaryKeyValues: PrimaryKeyValue[]): void;
|
|
151
151
|
/**
|
|
152
|
-
* This method is meant to be used only in situations where you are sure that the data you are loading is current in the database.
|
|
153
|
-
* the
|
|
152
|
+
* This method is meant to be used only in situations where you are sure that the data you are loading is current in the database. MAKE SURE YOU ARE PASSING IN ALL FIELDS.
|
|
153
|
+
* The Dirty flags and other internal state will assume what is loading from the data parameter you pass in is equivalent to what is in the database. Generally speaking, you should use Load() instead of this method. The main use case(s) where this makes sense are:
|
|
154
154
|
* (1) On the server if you are pulling data you know is fresh from say the result of another DB operation
|
|
155
155
|
* (2) If on any tier you run a fresh RunView result, that gives you data from the database, you can then instantiate objects via Metadata.GetEntityObject() and then use this with the result from the RunView call
|
|
156
156
|
* *** Note: for the #2 use case, when you call the RunView Object RunView() method with the ResultType='entity_object', you'll get an array of BaseEntity-derived objects instead of simple objects, that functionality utilizes this method
|
|
@@ -561,8 +561,8 @@ class BaseEntity {
|
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
/**
|
|
564
|
-
* This method is meant to be used only in situations where you are sure that the data you are loading is current in the database.
|
|
565
|
-
* the
|
|
564
|
+
* This method is meant to be used only in situations where you are sure that the data you are loading is current in the database. MAKE SURE YOU ARE PASSING IN ALL FIELDS.
|
|
565
|
+
* The Dirty flags and other internal state will assume what is loading from the data parameter you pass in is equivalent to what is in the database. Generally speaking, you should use Load() instead of this method. The main use case(s) where this makes sense are:
|
|
566
566
|
* (1) On the server if you are pulling data you know is fresh from say the result of another DB operation
|
|
567
567
|
* (2) If on any tier you run a fresh RunView result, that gives you data from the database, you can then instantiate objects via Metadata.GetEntityObject() and then use this with the result from the RunView call
|
|
568
568
|
* *** Note: for the #2 use case, when you call the RunView Object RunView() method with the ResultType='entity_object', you'll get an array of BaseEntity-derived objects instead of simple objects, that functionality utilizes this method
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.164",
|
|
4
4
|
"description": "MemberJunction: Core Library including Metadata, Application, Entity Retrieval and Manipulation, and Utilities",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|