Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

v 1.1.3 + apidocs + build

  • Loading branch information...
commit 4f036c5aec69df4f9943d0d79af2b8f3d3f2ab5e 1 parent 04e5deb
@jtraband jtraband authored
Showing with 4,546 additions and 4,215 deletions.
  1. +1 −1  Breeze.Client/Scripts/IBlade/breeze.js
  2. +8 −0 Breeze.Client/Scripts/IBlade/entityManager.js
  3. +1 −1  Breeze.Client/Scripts/breeze.base.debug.js
  4. +1 −1  Breeze.Client/Scripts/breeze.base.min.js
  5. +1 −1  Breeze.Client/Scripts/breeze.debug.js
  6. +21 −1 Breeze.Client/Scripts/breeze.intellisense.js
  7. +1 −1  Breeze.Client/Scripts/breeze.min.js
  8. +21 −1 Breeze.Intellisense/breeze.intellisense.js
  9. BIN  Breeze.WebApi/Breeze.WebApi.dll
  10. +1 −1  DeployNuget.ps1
  11. +290 −294 Nuget.builds/Breeze.WebApi/content/Scripts/breeze.base.debug.js
  12. +1 −1  Nuget.builds/Breeze.WebApi/content/Scripts/breeze.base.min.js
  13. +1 −1  Nuget.builds/Breeze.WebApi/content/Scripts/breeze.min.js
  14. +2 −2 Nuget.builds/Breeze.WebApiSample/Breeze.WebApiSample.nuspec
  15. +2 −3 PackageNuget.ps1
  16. +2 −2 Samples/BreezyDevices/BreezyDevices/BreezyDevices.csproj
  17. +1 −1  Samples/BreezyDevices/BreezyDevices/packages.config
  18. +2 −2 Samples/CarBones/CarBones/CarBones.csproj
  19. +293 −295 Samples/CarBones/CarBones/Scripts/breeze.debug.js
  20. +21 −1 Samples/CarBones/CarBones/Scripts/breeze.intellisense.js
  21. +1 −1  Samples/CarBones/CarBones/packages.config
  22. +2 −2 Samples/DocCode/DocCode/DocCode.csproj
  23. +1 −1  Samples/DocCode/DocCode/packages.config
  24. +2 −2 Samples/Grid-Angular/Grid-Angular/Grid-Angular.csproj
  25. +1 −1  Samples/Grid-Angular/Grid-Angular/packages.config
  26. +2 −2 Samples/MemTester/MemTester/MemTester.csproj
  27. +1 −1  Samples/MemTester/MemTester/packages.config
  28. +2 −2 Samples/NoDb/NoDb/NoDb.csproj
  29. +1 −1  Samples/NoDb/NoDb/packages.config
  30. +2 −2 Samples/Todo-Angular/Todo-Angular/Todo-Angular.csproj
  31. +1 −1  Samples/Todo-Angular/Todo-Angular/packages.config
  32. +2 −2 Samples/Todo-AngularWithDI/Todo-AngularWithDI/Todo-AngularWithDI.csproj
  33. +1 −1  Samples/Todo-AngularWithDI/Todo-AngularWithDI/packages.config
  34. +2 −2 Samples/Todo-Require/Todo-Require/Todo-Require.csproj
  35. +1 −1  Samples/Todo-Require/Todo-Require/packages.config
  36. +2 −2 Samples/Todo/Todo/Todo.csproj
  37. +1 −1  Samples/Todo/Todo/packages.config
  38. +4 −4 apidocs/classes/AutoGeneratedKeyType.html
  39. +1 −1  apidocs/classes/ComplexAspect.html
  40. +15 −15 apidocs/classes/ComplexType.html
  41. +19 −19 apidocs/classes/DataProperty.html
  42. +6 −6 apidocs/classes/DataService.html
  43. +16 −16 apidocs/classes/EntityAspect.html
  44. +5 −5 apidocs/classes/EntityKey.html
  45. +45 −45 apidocs/classes/EntityManager.html
  46. +48 −48 apidocs/classes/EntityQuery.html
  47. +14 −14 apidocs/classes/EntityState.html
  48. +41 −41 apidocs/classes/EntityType.html
  49. +10 −10 apidocs/classes/Enum.html
  50. +7 −7 apidocs/classes/EnumSymbol.html
  51. +15 −15 apidocs/classes/Event.html
  52. +2 −2 apidocs/classes/LocalQueryComparisonOptions.html
  53. +229 −14 apidocs/classes/MetadataStore.html
  54. +2 −2 apidocs/classes/NamingConvention.html
  55. +14 −14 apidocs/classes/NavigationProperty.html
  56. +22 −22 apidocs/classes/Predicate.html
  57. +5 −5 apidocs/classes/QueryOptions.html
  58. +17 −3 apidocs/classes/SaveOptions.html
  59. +12 −12 apidocs/classes/ValidationOptions.html
  60. +19 −19 apidocs/classes/Validator.html
  61. +1 −1  apidocs/classes/config.html
  62. +1 −1  apidocs/classes/ↈ_keyGenerator_interface.html
  63. +2 −2 apidocs/classes/ↈ_relationArray_.html
  64. +143 −99 apidocs/data.json
  65. +223 −223 apidocs/files/config.js.html
  66. +223 −223 apidocs/files/core.js.html
  67. +223 −223 apidocs/files/dataType.js.html
  68. +223 −223 apidocs/files/entityAspect.js.html
  69. +226 −224 apidocs/files/entityManager.js.html
  70. +230 −232 apidocs/files/entityMetadata.js.html
  71. +224 −224 apidocs/files/entityQuery.js.html
  72. +224 −227 apidocs/files/enum.js.html
  73. +223 −223 apidocs/files/event.js.html
  74. +223 −223 apidocs/files/keyGenerator.js.html
  75. +223 −223 apidocs/files/keyGeneratorInterface.js.html
  76. +223 −223 apidocs/files/promise.js.html
  77. +224 −224 apidocs/files/relationArray.js.html
  78. +223 −223 apidocs/files/validate.js.html
View
2  Breeze.Client/Scripts/IBlade/breeze.js
@@ -4,7 +4,7 @@ define(["core", "config", "entityAspect", "entityMetadata", "entityManager", "en
function (core, a_config, m_entityAspect, m_entityMetadata, m_entityManager, m_entityQuery, m_validate, makeRelationArray, KeyGenerator) {
var breeze = {
- version: "1.1.2",
+ version: "1.1.3",
core: core,
config: a_config
};
View
8 Breeze.Client/Scripts/IBlade/entityManager.js
@@ -2586,6 +2586,7 @@ function (core, a_config, m_entityMetadata, m_entityAspect, m_entityQuery, KeyGe
@method <ctor> SaveOptions
@param config {Object}
@param [config.allowConcurrentSaves] {Boolean}
+ @param [config.tag] {Object} Free form value that will be sent to the server.
**/
var ctor = function (config) {
config = config || {};
@@ -2616,6 +2617,13 @@ function (core, a_config, m_entityMetadata, m_entityAspect, m_entityQuery, KeyGe
**/
/**
+ A free form value that will be sent to the server.
+
+ __readOnly__
+ @property tag {Object}
+ **/
+
+ /**
The default value whenever SaveOptions are not specified.
@property defaultInstance {SaveOptions}
@static
View
2  Breeze.Client/Scripts/breeze.base.debug.js
@@ -12434,7 +12434,7 @@ define('breeze',["core", "config", "entityAspect", "entityMetadata", "entityMana
function (core, a_config, m_entityAspect, m_entityMetadata, m_entityManager, m_entityQuery, m_validate, makeRelationArray, KeyGenerator) {
var breeze = {
- version: "1.1.2",
+ version: "1.1.3",
core: core,
config: a_config
};
View
2  Breeze.Client/Scripts/breeze.base.min.js
1 addition, 1 deletion not shown
View
2  Breeze.Client/Scripts/breeze.debug.js
@@ -12434,7 +12434,7 @@ define('breeze',["core", "config", "entityAspect", "entityMetadata", "entityMana
function (core, a_config, m_entityAspect, m_entityMetadata, m_entityManager, m_entityQuery, m_validate, makeRelationArray, KeyGenerator) {
var breeze = {
- version: "1.1.2",
+ version: "1.1.3",
core: core,
config: a_config
};
View
22 Breeze.Client/Scripts/breeze.intellisense.js
@@ -1,4 +1,4 @@
-// Generated on: Sat Feb 09 2013 21:34:08 GMT-0800 (Pacific Standard Time)
+// Generated on: Sat Mar 02 2013 20:04:14 GMT-0800 (Pacific Standard Time)
intellisense.annotate(breeze.breeze, {
@@ -1329,6 +1329,26 @@ intellisense.annotate(breeze.breeze.MetadataStore.prototype, {
/// <returns type="Array of EntityType|ComplexType" ></returns>
/// </signature>
},
+ 'getEntityTypeNameForResourceName': function() {
+ /// <signature>
+ /// <summary>
+ /// Returns a fully qualified entityTypeName for a specified resource name. The reverse of this operation
+ /// can be obtained via the 'EntityType' 'defaultResourceName' property
+ /// </summary>
+ /// <param name="resourceName" type="String" optional="true"></param>
+
+ /// </signature>
+ },
+ 'setEntityTypeForResourceName': function() {
+ /// <signature>
+ /// <summary>
+ /// Associates a resourceName with an entityType.
+ /// </summary>
+ /// <param name="resourceName" type="String" optional="true"></param>
+ /// <param name="entityTypeOrName" type="EntityType|String" optional="true">If passing a string either the fully qualified name or a short name may be used. If a short name is specified and multiple types share that same short name an exception will be thrown. If the entityType has not yet been discovered then a fully qualified name must be used.</param>
+
+ /// </signature>
+ },
/// <field name="namingConvention" type="breeze.breeze.NamingConvention" >The 'NamingConvention' associated with this MetadataStore.</field>
'namingConvention': null,
View
2  Breeze.Client/Scripts/breeze.min.js
1 addition, 1 deletion not shown
View
22 Breeze.Intellisense/breeze.intellisense.js
@@ -1,4 +1,4 @@
-// Generated on: Sat Feb 09 2013 21:34:08 GMT-0800 (Pacific Standard Time)
+// Generated on: Sat Mar 02 2013 20:04:14 GMT-0800 (Pacific Standard Time)
intellisense.annotate(breeze.breeze, {
@@ -1329,6 +1329,26 @@ intellisense.annotate(breeze.breeze.MetadataStore.prototype, {
/// <returns type="Array of EntityType|ComplexType" ></returns>
/// </signature>
},
+ 'getEntityTypeNameForResourceName': function() {
+ /// <signature>
+ /// <summary>
+ /// Returns a fully qualified entityTypeName for a specified resource name. The reverse of this operation
+ /// can be obtained via the 'EntityType' 'defaultResourceName' property
+ /// </summary>
+ /// <param name="resourceName" type="String" optional="true"></param>
+
+ /// </signature>
+ },
+ 'setEntityTypeForResourceName': function() {
+ /// <signature>
+ /// <summary>
+ /// Associates a resourceName with an entityType.
+ /// </summary>
+ /// <param name="resourceName" type="String" optional="true"></param>
+ /// <param name="entityTypeOrName" type="EntityType|String" optional="true">If passing a string either the fully qualified name or a short name may be used. If a short name is specified and multiple types share that same short name an exception will be thrown. If the entityType has not yet been discovered then a fully qualified name must be used.</param>
+
+ /// </signature>
+ },
/// <field name="namingConvention" type="breeze.breeze.NamingConvention" >The 'NamingConvention' associated with this MetadataStore.</field>
'namingConvention': null,
View
BIN  Breeze.WebApi/Breeze.WebApi.dll
Binary file not shown
View
2  DeployNuget.ps1
@@ -13,7 +13,7 @@ function deployNuget($srcDir, $folderName) {
# push them
gci $destDir *.nupkg -force | foreach ($_) {
- $expr = '..\..\..\nuget.exe push ' + $_.fullname
+ $expr = 'nuget push ' + $_.fullname
invoke-expression $expr
}
View
584 Nuget.builds/Breeze.WebApi/content/Scripts/breeze.base.debug.js
@@ -18,283 +18,283 @@
}(window, function () {
-/**
- * almond 0.0.3 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
- * Available via the MIT or new BSD license.
- * see: http://github.com/jrburke/almond for details
- */
-/*jslint strict: false, plusplus: false */
-/*global setTimeout: false */
-
-var requirejs, require, define;
-(function (undef) {
-
- var defined = {},
- waiting = {},
- aps = [].slice,
- main, req;
-
- if (typeof define === "function") {
- //If a define is already in play via another AMD loader,
- //do not overwrite.
- return;
- }
-
- /**
- * Given a relative module name, like ./something, normalize it to
- * a real name that can be mapped to a path.
- * @param {String} name the relative name
- * @param {String} baseName a real name that the name arg is relative
- * to.
- * @returns {String} normalized name
- */
- function normalize(name, baseName) {
- //Adjust any relative paths.
- if (name && name.charAt(0) === ".") {
- //If have a base name, try to normalize against it,
- //otherwise, assume it is a top-level require that will
- //be relative to baseUrl in the end.
- if (baseName) {
- //Convert baseName to array, and lop off the last part,
- //so that . matches that "directory" and not name of the baseName's
- //module. For instance, baseName of "one/two/three", maps to
- //"one/two/three.js", but we want the directory, "one/two" for
- //this normalization.
- baseName = baseName.split("/");
- baseName = baseName.slice(0, baseName.length - 1);
-
- name = baseName.concat(name.split("/"));
-
- //start trimDots
- var i, part;
- for (i = 0; (part = name[i]); i++) {
- if (part === ".") {
- name.splice(i, 1);
- i -= 1;
- } else if (part === "..") {
- if (i === 1 && (name[2] === '..' || name[0] === '..')) {
- //End of the line. Keep at least one non-dot
- //path segment at the front so it can be mapped
- //correctly to disk. Otherwise, there is likely
- //no path mapping for a path starting with '..'.
- //This can still fail, but catches the most reasonable
- //uses of ..
- break;
- } else if (i > 0) {
- name.splice(i - 1, 2);
- i -= 2;
- }
- }
- }
- //end trimDots
-
- name = name.join("/");
- }
- }
- return name;
- }
-
- function makeRequire(relName, forceSync) {
- return function () {
- //A version of a require function that passes a moduleName
- //value for items that may need to
- //look up paths relative to the moduleName
- return req.apply(undef, aps.call(arguments, 0).concat([relName, forceSync]));
- };
- }
-
- function makeNormalize(relName) {
- return function (name) {
- return normalize(name, relName);
- };
- }
-
- function makeLoad(depName) {
- return function (value) {
- defined[depName] = value;
- };
- }
-
- function callDep(name) {
- if (waiting.hasOwnProperty(name)) {
- var args = waiting[name];
- delete waiting[name];
- main.apply(undef, args);
- }
- return defined[name];
- }
-
- /**
- * Makes a name map, normalizing the name, and using a plugin
- * for normalization if necessary. Grabs a ref to plugin
- * too, as an optimization.
- */
- function makeMap(name, relName) {
- var prefix, plugin,
- index = name.indexOf('!');
-
- if (index !== -1) {
- prefix = normalize(name.slice(0, index), relName);
- name = name.slice(index + 1);
- plugin = callDep(prefix);
-
- //Normalize according
- if (plugin && plugin.normalize) {
- name = plugin.normalize(name, makeNormalize(relName));
- } else {
- name = normalize(name, relName);
- }
- } else {
- name = normalize(name, relName);
- }
-
- //Using ridiculous property names for space reasons
- return {
- f: prefix ? prefix + '!' + name : name, //fullName
- n: name,
- p: plugin
- };
- }
-
- main = function (name, deps, callback, relName) {
- var args = [],
- usingExports,
- cjsModule, depName, i, ret, map;
-
- //Use name if no relName
- if (!relName) {
- relName = name;
- }
-
- //Call the callback to define the module, if necessary.
- if (typeof callback === 'function') {
-
- //Default to require, exports, module if no deps if
- //the factory arg has any arguments specified.
- if (!deps.length && callback.length) {
- deps = ['require', 'exports', 'module'];
- }
-
- //Pull out the defined dependencies and pass the ordered
- //values to the callback.
- for (i = 0; i < deps.length; i++) {
- map = makeMap(deps[i], relName);
- depName = map.f;
-
- //Fast path CommonJS standard dependencies.
- if (depName === "require") {
- args[i] = makeRequire(name);
- } else if (depName === "exports") {
- //CommonJS module spec 1.1
- args[i] = defined[name] = {};
- usingExports = true;
- } else if (depName === "module") {
- //CommonJS module spec 1.1
- cjsModule = args[i] = {
- id: name,
- uri: '',
- exports: defined[name]
- };
- } else if (defined.hasOwnProperty(depName) || waiting.hasOwnProperty(depName)) {
- args[i] = callDep(depName);
- } else if (map.p) {
- map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {});
- args[i] = defined[depName];
- } else {
- throw name + ' missing ' + depName;
- }
- }
-
- ret = callback.apply(defined[name], args);
-
- if (name) {
- //If setting exports via "module" is in play,
- //favor that over return value and exports. After that,
- //favor a non-undefined return value over exports use.
- if (cjsModule && cjsModule.exports !== undef) {
- defined[name] = cjsModule.exports;
- } else if (!usingExports) {
- //Use the return value from the function.
- defined[name] = ret;
- }
- }
- } else if (name) {
- //May just be an object definition for the module. Only
- //worry about defining if have a module name.
- defined[name] = callback;
- }
- };
-
- requirejs = req = function (deps, callback, relName, forceSync) {
- if (typeof deps === "string") {
-
- //Just return the module wanted. In this scenario, the
- //deps arg is the module name, and second arg (if passed)
- //is just the relName.
- //Normalize module name, if it contains . or ..
- return callDep(makeMap(deps, callback).f);
- } else if (!deps.splice) {
- //deps is a config object, not an array.
- //Drop the config stuff on the ground.
- if (callback.splice) {
- //callback is an array, which means it is a dependency list.
- //Adjust args if there are dependencies
- deps = callback;
- callback = arguments[2];
- } else {
- deps = [];
- }
- }
-
- //Simulate async callback;
- if (forceSync) {
- main(undef, deps, callback, relName);
- } else {
- setTimeout(function () {
- main(undef, deps, callback, relName);
- }, 15);
- }
-
- return req;
- };
-
- /**
- * Just drops the config on the floor, but returns req in case
- * the config return value is used.
- */
- req.config = function () {
- return req;
- };
-
- /**
- * Export require as a global, but only if it does not already exist.
- */
- if (!require) {
- require = req;
- }
-
- define = function (name, deps, callback) {
-
- //This module may not have dependencies
- if (!deps.splice) {
- //deps is not an array, so probably means
- //an object literal or factory function for
- //the value. Adjust args.
- callback = deps;
- deps = [];
- }
-
- if (define.unordered) {
- waiting[name] = [name, deps, callback];
- } else {
- main(name, deps, callback);
- }
- };
-
- define.amd = {
- jQuery: true
- };
-}());
+/**
+ * almond 0.0.3 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
+ * Available via the MIT or new BSD license.
+ * see: http://github.com/jrburke/almond for details
+ */
+/*jslint strict: false, plusplus: false */
+/*global setTimeout: false */
+
+var requirejs, require, define;
+(function (undef) {
+
+ var defined = {},
+ waiting = {},
+ aps = [].slice,
+ main, req;
+
+ if (typeof define === "function") {
+ //If a define is already in play via another AMD loader,
+ //do not overwrite.
+ return;
+ }
+
+ /**
+ * Given a relative module name, like ./something, normalize it to
+ * a real name that can be mapped to a path.
+ * @param {String} name the relative name
+ * @param {String} baseName a real name that the name arg is relative
+ * to.
+ * @returns {String} normalized name
+ */
+ function normalize(name, baseName) {
+ //Adjust any relative paths.
+ if (name && name.charAt(0) === ".") {
+ //If have a base name, try to normalize against it,
+ //otherwise, assume it is a top-level require that will
+ //be relative to baseUrl in the end.
+ if (baseName) {
+ //Convert baseName to array, and lop off the last part,
+ //so that . matches that "directory" and not name of the baseName's
+ //module. For instance, baseName of "one/two/three", maps to
+ //"one/two/three.js", but we want the directory, "one/two" for
+ //this normalization.
+ baseName = baseName.split("/");
+ baseName = baseName.slice(0, baseName.length - 1);
+
+ name = baseName.concat(name.split("/"));
+
+ //start trimDots
+ var i, part;
+ for (i = 0; (part = name[i]); i++) {
+ if (part === ".") {
+ name.splice(i, 1);
+ i -= 1;
+ } else if (part === "..") {
+ if (i === 1 && (name[2] === '..' || name[0] === '..')) {
+ //End of the line. Keep at least one non-dot
+ //path segment at the front so it can be mapped
+ //correctly to disk. Otherwise, there is likely
+ //no path mapping for a path starting with '..'.
+ //This can still fail, but catches the most reasonable
+ //uses of ..
+ break;
+ } else if (i > 0) {
+ name.splice(i - 1, 2);
+ i -= 2;
+ }
+ }
+ }
+ //end trimDots
+
+ name = name.join("/");
+ }
+ }
+ return name;
+ }
+
+ function makeRequire(relName, forceSync) {
+ return function () {
+ //A version of a require function that passes a moduleName
+ //value for items that may need to
+ //look up paths relative to the moduleName
+ return req.apply(undef, aps.call(arguments, 0).concat([relName, forceSync]));
+ };
+ }
+
+ function makeNormalize(relName) {
+ return function (name) {
+ return normalize(name, relName);
+ };
+ }
+
+ function makeLoad(depName) {
+ return function (value) {
+ defined[depName] = value;
+ };
+ }
+
+ function callDep(name) {
+ if (waiting.hasOwnProperty(name)) {
+ var args = waiting[name];
+ delete waiting[name];
+ main.apply(undef, args);
+ }
+ return defined[name];
+ }
+
+ /**
+ * Makes a name map, normalizing the name, and using a plugin
+ * for normalization if necessary. Grabs a ref to plugin
+ * too, as an optimization.
+ */
+ function makeMap(name, relName) {
+ var prefix, plugin,
+ index = name.indexOf('!');
+
+ if (index !== -1) {
+ prefix = normalize(name.slice(0, index), relName);
+ name = name.slice(index + 1);
+ plugin = callDep(prefix);
+
+ //Normalize according
+ if (plugin && plugin.normalize) {
+ name = plugin.normalize(name, makeNormalize(relName));
+ } else {
+ name = normalize(name, relName);
+ }
+ } else {
+ name = normalize(name, relName);
+ }
+
+ //Using ridiculous property names for space reasons
+ return {
+ f: prefix ? prefix + '!' + name : name, //fullName
+ n: name,
+ p: plugin
+ };
+ }
+
+ main = function (name, deps, callback, relName) {
+ var args = [],
+ usingExports,
+ cjsModule, depName, i, ret, map;
+
+ //Use name if no relName
+ if (!relName) {
+ relName = name;
+ }
+
+ //Call the callback to define the module, if necessary.
+ if (typeof callback === 'function') {
+
+ //Default to require, exports, module if no deps if
+ //the factory arg has any arguments specified.
+ if (!deps.length && callback.length) {
+ deps = ['require', 'exports', 'module'];
+ }
+
+ //Pull out the defined dependencies and pass the ordered
+ //values to the callback.
+ for (i = 0; i < deps.length; i++) {
+ map = makeMap(deps[i], relName);
+ depName = map.f;
+
+ //Fast path CommonJS standard dependencies.
+ if (depName === "require") {
+ args[i] = makeRequire(name);
+ } else if (depName === "exports") {
+ //CommonJS module spec 1.1
+ args[i] = defined[name] = {};
+ usingExports = true;
+ } else if (depName === "module") {
+ //CommonJS module spec 1.1
+ cjsModule = args[i] = {
+ id: name,
+ uri: '',
+ exports: defined[name]
+ };
+ } else if (defined.hasOwnProperty(depName) || waiting.hasOwnProperty(depName)) {
+ args[i] = callDep(depName);
+ } else if (map.p) {
+ map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {});
+ args[i] = defined[depName];
+ } else {
+ throw name + ' missing ' + depName;
+ }
+ }
+
+ ret = callback.apply(defined[name], args);
+
+ if (name) {
+ //If setting exports via "module" is in play,
+ //favor that over return value and exports. After that,
+ //favor a non-undefined return value over exports use.
+ if (cjsModule && cjsModule.exports !== undef) {
+ defined[name] = cjsModule.exports;
+ } else if (!usingExports) {
+ //Use the return value from the function.
+ defined[name] = ret;
+ }
+ }
+ } else if (name) {
+ //May just be an object definition for the module. Only
+ //worry about defining if have a module name.
+ defined[name] = callback;
+ }
+ };
+
+ requirejs = req = function (deps, callback, relName, forceSync) {
+ if (typeof deps === "string") {
+
+ //Just return the module wanted. In this scenario, the
+ //deps arg is the module name, and second arg (if passed)
+ //is just the relName.
+ //Normalize module name, if it contains . or ..
+ return callDep(makeMap(deps, callback).f);
+ } else if (!deps.splice) {
+ //deps is a config object, not an array.
+ //Drop the config stuff on the ground.
+ if (callback.splice) {
+ //callback is an array, which means it is a dependency list.
+ //Adjust args if there are dependencies
+ deps = callback;
+ callback = arguments[2];
+ } else {
+ deps = [];
+ }
+ }
+
+ //Simulate async callback;
+ if (forceSync) {
+ main(undef, deps, callback, relName);
+ } else {
+ setTimeout(function () {
+ main(undef, deps, callback, relName);
+ }, 15);
+ }
+
+ return req;
+ };
+
+ /**
+ * Just drops the config on the floor, but returns req in case
+ * the config return value is used.
+ */
+ req.config = function () {
+ return req;
+ };
+
+ /**
+ * Export require as a global, but only if it does not already exist.
+ */
+ if (!require) {
+ require = req;
+ }
+
+ define = function (name, deps, callback) {
+
+ //This module may not have dependencies
+ if (!deps.splice) {
+ //deps is not an array, so probably means
+ //an object literal or factory function for
+ //the value. Adjust args.
+ callback = deps;
+ deps = [];
+ }
+
+ if (define.unordered) {
+ waiting[name] = [name, deps, callback];
+ } else {
+ main(name, deps, callback);
+ }
+ };
+
+ define.amd = {
+ jQuery: true
+ };
+}());
define("../ThirdParty/almond.js", function(){});
@@ -915,16 +915,13 @@ define('enum',["coreFns"], function (core) {
Enum.prototype.getNames = function() {
var result = [];
for (var key in this) {
- if (hasOwnProperty.call(this, key)) {
+ if (this.hasOwnProperty(key)) {
if (key != "name" && key.substr(0, 1) !== "_" && !core.isFunction(this[key])) {
result.push(key);
}
}
}
return result;
- //return Object.keys(this).filter(
- // function (key) { return key != "name" && key.substr(0, 1) !== "_"; }
- //);
};
/**
@@ -5118,21 +5115,19 @@ function (core, a_config, DataType, m_entityAspect, m_validate, defaultPropertyI
};
- /*
- INTERNAL FOR NOW
+ /**
Returns a fully qualified entityTypeName for a specified resource name. The reverse of this operation
can be obtained via the {{#crossLink "EntityType"}}{{/crossLink}} 'defaultResourceName' property
@method getEntityTypeNameForResourceName
@param resourceName {String}
- */
- proto._getEntityTypeNameForResourceName = function (resourceName) {
+ **/
+ proto.getEntityTypeNameForResourceName = function (resourceName) {
assertParam(resourceName, "resourceName").isString().check();
// return this._resourceEntityTypeMap[resourceName.toLowerCase()];
return this._resourceEntityTypeMap[resourceName];
};
- /*
- INTERNAL FOR NOW
+ /**
Associates a resourceName with an entityType.
This method is only needed in those cases where multiple resources return the same
@@ -5142,8 +5137,8 @@ function (core, a_config, DataType, m_entityAspect, m_validate, defaultPropertyI
@param resourceName {String}
@param entityTypeOrName {EntityType|String} If passing a string either the fully qualified name or a short name may be used. If a short name is specified and multiple types share
that same short name an exception will be thrown. If the entityType has not yet been discovered then a fully qualified name must be used.
- */
- proto._setEntityTypeForResourceName = function (resourceName, entityTypeOrName) {
+ **/
+ proto.setEntityTypeForResourceName = function (resourceName, entityTypeOrName) {
assertParam(resourceName, "resourceName").isString().check();
assertParam(entityTypeOrName, "entityTypeOrName").isInstanceOf(EntityType).or().isString().check();
// resourceName = resourceName.toLowerCase();
@@ -5222,7 +5217,7 @@ function (core, a_config, DataType, m_entityAspect, m_validate, defaultPropertyI
toArray(schema.entityContainer).forEach(function (container) {
toArray(container.entitySet).forEach(function (entitySet) {
var entityTypeName = normalizeTypeName(entitySet.entityType, schema).typeName;
- that._setEntityTypeForResourceName(entitySet.name, entityTypeName);
+ that.setEntityTypeForResourceName(entitySet.name, entityTypeName);
});
});
}
@@ -7226,7 +7221,7 @@ function (core, m_entityMetadata, m_entityAspect) {
return null;
}
}
- var entityTypeName = metadataStore._getEntityTypeNameForResourceName(resourceName);
+ var entityTypeName = metadataStore.getEntityTypeNameForResourceName(resourceName);
if (!entityTypeName) {
if (throwErrorIfNotFound) {
throw new Error("Cannot find resourceName of: " + resourceName);
@@ -9470,7 +9465,7 @@ function (core, m_entityAspect, m_entityQuery) {
function combineArgs(target, source) {
for (var key in source) {
- if (key!== "relationArray" && hasOwnProperty.call(target, key)) {
+ if (key!== "relationArray" && target.hasOwnProperty(key)) {
var sourceValue = source[key];
var targetValue = target[key];
if (targetValue) {
@@ -11393,7 +11388,7 @@ function (core, a_config, m_entityMetadata, m_entityAspect, m_entityQuery, KeyGe
// HACK for GC
query = null;
queryContext = null;
- entities = null;
+
}, function () {
var rawEntities = data.results;
if (!Array.isArray(rawEntities)) {
@@ -12239,6 +12234,7 @@ function (core, a_config, m_entityMetadata, m_entityAspect, m_entityQuery, KeyGe
config = config || {};
assertConfig(config)
.whereParam("allowConcurrentSaves").isBoolean().isOptional().withDefault(false)
+ .whereParam("tag").isOptional()
.applyAll(this);
};
@@ -12438,7 +12434,7 @@ define('breeze',["core", "config", "entityAspect", "entityMetadata", "entityMana
function (core, a_config, m_entityAspect, m_entityMetadata, m_entityManager, m_entityQuery, m_validate, makeRelationArray, KeyGenerator) {
var breeze = {
- version: "1.1.2",
+ version: "1.1.3",
core: core,
config: a_config
};
View
2  Nuget.builds/Breeze.WebApi/content/Scripts/breeze.base.min.js
1 addition, 1 deletion not shown
View
2  Nuget.builds/Breeze.WebApi/content/Scripts/breeze.min.js
1 addition, 1 deletion not shown
View
4 Nuget.builds/Breeze.WebApiSample/Breeze.WebApiSample.nuspec
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Breeze.WebApiSample</id>
- <version>1.1.2</version>
+ <version>1.1.3</version>
<title>Breeze for ASP.NET MVC4 Web Api Sample</title>
<authors>Jay Traband</authors>
<owners>IdeaBlade</owners>
@@ -17,7 +17,7 @@
<releaseNotes>Please review the BreezeJS release notes at http://www.breezejs.com/documentation/download</releaseNotes>
<tags>javascript MVC EntityFramework Breeze SPA</tags>
<dependencies>
- <dependency id="Breeze.WebApi" version="1.1.2" />
+ <dependency id="Breeze.WebApi" version="1.1.3" />
</dependencies>
</metadata>
<files>
View
5 PackageNuget.ps1
@@ -56,8 +56,7 @@ function packageNuget($srcDir, $folderName, $versionNum, $isBase) {
Foreach-Object {$_ -replace $search2, $replace2 }
$output | Set-Content $outputFile
cd "$destDir"
- # $expr = "..\..\.nuget\nuget.exe pack $folderName.nuspec"
- $expr = "..\..\..\nuget.exe pack $folderName.nuspec"
+ $expr = "nuget pack $folderName.nuspec"
invoke-expression $expr
}
@@ -68,7 +67,7 @@ function packageNuget($srcDir, $folderName, $versionNum, $isBase) {
$srcDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
# Check that all files have been updated within the last 5 minutes
-$minutes = 5
+$minutes = 15
checkIfCurrent $srcDir\Breeze.webApi\Breeze.webApi.dll $minutes
checkIfCurrent $srcDir\Breeze.Client\Scripts\breeze*.js $minutes
View
4 Samples/BreezyDevices/BreezyDevices/BreezyDevices.csproj
@@ -42,14 +42,14 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
View
2  Samples/BreezyDevices/BreezyDevices/packages.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="jQuery" version="1.8.2" targetFramework="net45" />
<package id="knockoutjs" version="2.1.0" targetFramework="net45" />
View
4 Samples/CarBones/CarBones/CarBones.csproj
@@ -42,13 +42,13 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework">
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
View
588 Samples/CarBones/CarBones/Scripts/breeze.debug.js
@@ -18,283 +18,283 @@
}(window, function () {
-/**
- * almond 0.0.3 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
- * Available via the MIT or new BSD license.
- * see: http://github.com/jrburke/almond for details
- */
-/*jslint strict: false, plusplus: false */
-/*global setTimeout: false */
-
-var requirejs, require, define;
-(function (undef) {
-
- var defined = {},
- waiting = {},
- aps = [].slice,
- main, req;
-
- if (typeof define === "function") {
- //If a define is already in play via another AMD loader,
- //do not overwrite.
- return;
- }
-
- /**
- * Given a relative module name, like ./something, normalize it to
- * a real name that can be mapped to a path.
- * @param {String} name the relative name
- * @param {String} baseName a real name that the name arg is relative
- * to.
- * @returns {String} normalized name
- */
- function normalize(name, baseName) {
- //Adjust any relative paths.
- if (name && name.charAt(0) === ".") {
- //If have a base name, try to normalize against it,
- //otherwise, assume it is a top-level require that will
- //be relative to baseUrl in the end.
- if (baseName) {
- //Convert baseName to array, and lop off the last part,
- //so that . matches that "directory" and not name of the baseName's
- //module. For instance, baseName of "one/two/three", maps to
- //"one/two/three.js", but we want the directory, "one/two" for
- //this normalization.
- baseName = baseName.split("/");
- baseName = baseName.slice(0, baseName.length - 1);
-
- name = baseName.concat(name.split("/"));
-
- //start trimDots
- var i, part;
- for (i = 0; (part = name[i]); i++) {
- if (part === ".") {
- name.splice(i, 1);
- i -= 1;
- } else if (part === "..") {
- if (i === 1 && (name[2] === '..' || name[0] === '..')) {
- //End of the line. Keep at least one non-dot
- //path segment at the front so it can be mapped
- //correctly to disk. Otherwise, there is likely
- //no path mapping for a path starting with '..'.
- //This can still fail, but catches the most reasonable
- //uses of ..
- break;
- } else if (i > 0) {
- name.splice(i - 1, 2);
- i -= 2;
- }
- }
- }
- //end trimDots
-
- name = name.join("/");
- }
- }
- return name;
- }
-
- function makeRequire(relName, forceSync) {
- return function () {
- //A version of a require function that passes a moduleName
- //value for items that may need to
- //look up paths relative to the moduleName
- return req.apply(undef, aps.call(arguments, 0).concat([relName, forceSync]));
- };
- }
-
- function makeNormalize(relName) {
- return function (name) {
- return normalize(name, relName);
- };
- }
-
- function makeLoad(depName) {
- return function (value) {
- defined[depName] = value;
- };
- }
-
- function callDep(name) {
- if (waiting.hasOwnProperty(name)) {
- var args = waiting[name];
- delete waiting[name];
- main.apply(undef, args);
- }
- return defined[name];
- }
-
- /**
- * Makes a name map, normalizing the name, and using a plugin
- * for normalization if necessary. Grabs a ref to plugin
- * too, as an optimization.
- */
- function makeMap(name, relName) {
- var prefix, plugin,
- index = name.indexOf('!');
-
- if (index !== -1) {
- prefix = normalize(name.slice(0, index), relName);
- name = name.slice(index + 1);
- plugin = callDep(prefix);
-
- //Normalize according
- if (plugin && plugin.normalize) {
- name = plugin.normalize(name, makeNormalize(relName));
- } else {
- name = normalize(name, relName);
- }
- } else {
- name = normalize(name, relName);
- }
-
- //Using ridiculous property names for space reasons
- return {
- f: prefix ? prefix + '!' + name : name, //fullName
- n: name,
- p: plugin
- };
- }
-
- main = function (name, deps, callback, relName) {
- var args = [],
- usingExports,
- cjsModule, depName, i, ret, map;
-
- //Use name if no relName
- if (!relName) {
- relName = name;
- }
-
- //Call the callback to define the module, if necessary.
- if (typeof callback === 'function') {
-
- //Default to require, exports, module if no deps if
- //the factory arg has any arguments specified.
- if (!deps.length && callback.length) {
- deps = ['require', 'exports', 'module'];
- }
-
- //Pull out the defined dependencies and pass the ordered
- //values to the callback.
- for (i = 0; i < deps.length; i++) {
- map = makeMap(deps[i], relName);
- depName = map.f;
-
- //Fast path CommonJS standard dependencies.
- if (depName === "require") {
- args[i] = makeRequire(name);
- } else if (depName === "exports") {
- //CommonJS module spec 1.1
- args[i] = defined[name] = {};
- usingExports = true;
- } else if (depName === "module") {
- //CommonJS module spec 1.1
- cjsModule = args[i] = {
- id: name,
- uri: '',
- exports: defined[name]
- };
- } else if (defined.hasOwnProperty(depName) || waiting.hasOwnProperty(depName)) {
- args[i] = callDep(depName);
- } else if (map.p) {
- map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {});
- args[i] = defined[depName];
- } else {
- throw name + ' missing ' + depName;
- }
- }
-
- ret = callback.apply(defined[name], args);
-
- if (name) {
- //If setting exports via "module" is in play,
- //favor that over return value and exports. After that,
- //favor a non-undefined return value over exports use.
- if (cjsModule && cjsModule.exports !== undef) {
- defined[name] = cjsModule.exports;
- } else if (!usingExports) {
- //Use the return value from the function.
- defined[name] = ret;
- }
- }
- } else if (name) {
- //May just be an object definition for the module. Only
- //worry about defining if have a module name.
- defined[name] = callback;
- }
- };
-
- requirejs = req = function (deps, callback, relName, forceSync) {
- if (typeof deps === "string") {
-
- //Just return the module wanted. In this scenario, the
- //deps arg is the module name, and second arg (if passed)
- //is just the relName.
- //Normalize module name, if it contains . or ..
- return callDep(makeMap(deps, callback).f);
- } else if (!deps.splice) {
- //deps is a config object, not an array.
- //Drop the config stuff on the ground.
- if (callback.splice) {
- //callback is an array, which means it is a dependency list.
- //Adjust args if there are dependencies
- deps = callback;
- callback = arguments[2];
- } else {
- deps = [];
- }
- }
-
- //Simulate async callback;
- if (forceSync) {
- main(undef, deps, callback, relName);
- } else {
- setTimeout(function () {
- main(undef, deps, callback, relName);
- }, 15);
- }
-
- return req;
- };
-
- /**
- * Just drops the config on the floor, but returns req in case
- * the config return value is used.
- */
- req.config = function () {
- return req;
- };
-
- /**
- * Export require as a global, but only if it does not already exist.
- */
- if (!require) {
- require = req;
- }
-
- define = function (name, deps, callback) {
-
- //This module may not have dependencies
- if (!deps.splice) {
- //deps is not an array, so probably means
- //an object literal or factory function for
- //the value. Adjust args.
- callback = deps;
- deps = [];
- }
-
- if (define.unordered) {
- waiting[name] = [name, deps, callback];
- } else {
- main(name, deps, callback);
- }
- };
-
- define.amd = {
- jQuery: true
- };
-}());
+/**
+ * almond 0.0.3 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
+ * Available via the MIT or new BSD license.
+ * see: http://github.com/jrburke/almond for details
+ */
+/*jslint strict: false, plusplus: false */
+/*global setTimeout: false */
+
+var requirejs, require, define;
+(function (undef) {
+
+ var defined = {},
+ waiting = {},
+ aps = [].slice,
+ main, req;
+
+ if (typeof define === "function") {
+ //If a define is already in play via another AMD loader,
+ //do not overwrite.
+ return;
+ }
+
+ /**
+ * Given a relative module name, like ./something, normalize it to
+ * a real name that can be mapped to a path.
+ * @param {String} name the relative name
+ * @param {String} baseName a real name that the name arg is relative
+ * to.
+ * @returns {String} normalized name
+ */
+ function normalize(name, baseName) {
+ //Adjust any relative paths.
+ if (name && name.charAt(0) === ".") {
+ //If have a base name, try to normalize against it,
+ //otherwise, assume it is a top-level require that will
+ //be relative to baseUrl in the end.
+ if (baseName) {
+ //Convert baseName to array, and lop off the last part,
+ //so that . matches that "directory" and not name of the baseName's
+ //module. For instance, baseName of "one/two/three", maps to
+ //"one/two/three.js", but we want the directory, "one/two" for
+ //this normalization.
+ baseName = baseName.split("/");
+ baseName = baseName.slice(0, baseName.length - 1);
+
+ name = baseName.concat(name.split("/"));
+
+ //start trimDots
+ var i, part;
+ for (i = 0; (part = name[i]); i++) {
+ if (part === ".") {
+ name.splice(i, 1);
+ i -= 1;
+ } else if (part === "..") {
+ if (i === 1 && (name[2] === '..' || name[0] === '..')) {
+ //End of the line. Keep at least one non-dot
+ //path segment at the front so it can be mapped
+ //correctly to disk. Otherwise, there is likely
+ //no path mapping for a path starting with '..'.
+ //This can still fail, but catches the most reasonable
+ //uses of ..
+ break;
+ } else if (i > 0) {
+ name.splice(i - 1, 2);
+ i -= 2;
+ }
+ }
+ }
+ //end trimDots
+
+ name = name.join("/");
+ }
+ }
+ return name;
+ }
+
+ function makeRequire(relName, forceSync) {
+ return function () {
+ //A version of a require function that passes a moduleName
+ //value for items that may need to
+ //look up paths relative to the moduleName
+ return req.apply(undef, aps.call(arguments, 0).concat([relName, forceSync]));
+ };
+ }
+
+ function makeNormalize(relName) {
+ return function (name) {
+ return normalize(name, relName);
+ };
+ }
+
+ function makeLoad(depName) {
+ return function (value) {
+ defined[depName] = value;
+ };
+ }
+
+ function callDep(name) {
+ if (waiting.hasOwnProperty(name)) {
+ var args = waiting[name];
+ delete waiting[name];
+ main.apply(undef, args);
+ }
+ return defined[name];
+ }
+
+ /**
+ * Makes a name map, normalizing the name, and using a plugin
+ * for normalization if necessary. Grabs a ref to plugin
+ * too, as an optimization.
+ */
+ function makeMap(name, relName) {
+ var prefix, plugin,
+ index = name.indexOf('!');
+
+ if (index !== -1) {
+ prefix = normalize(name.slice(0, index), relName);
+ name = name.slice(index + 1);
+ plugin = callDep(prefix);
+
+ //Normalize according
+ if (plugin && plugin.normalize) {
+ name = plugin.normalize(name, makeNormalize(relName));
+ } else {
+ name = normalize(name, relName);
+ }
+ } else {
+ name = normalize(name, relName);
+ }
+
+ //Using ridiculous property names for space reasons
+ return {
+ f: prefix ? prefix + '!' + name : name, //fullName
+ n: name,
+ p: plugin
+ };
+ }
+
+ main = function (name, deps, callback, relName) {
+ var args = [],
+ usingExports,
+ cjsModule, depName, i, ret, map;
+
+ //Use name if no relName
+ if (!relName) {
+ relName = name;
+ }
+
+ //Call the callback to define the module, if necessary.
+ if (typeof callback === 'function') {
+
+ //Default to require, exports, module if no deps if
+ //the factory arg has any arguments specified.
+ if (!deps.length && callback.length) {
+ deps = ['require', 'exports', 'module'];
+ }
+
+ //Pull out the defined dependencies and pass the ordered
+ //values to the callback.
+ for (i = 0; i < deps.length; i++) {
+ map = makeMap(deps[i], relName);
+ depName = map.f;
+
+ //Fast path CommonJS standard dependencies.
+ if (depName === "require") {
+ args[i] = makeRequire(name);
+ } else if (depName === "exports") {
+ //CommonJS module spec 1.1
+ args[i] = defined[name] = {};
+ usingExports = true;
+ } else if (depName === "module") {
+ //CommonJS module spec 1.1
+ cjsModule = args[i] = {
+ id: name,
+ uri: '',
+ exports: defined[name]
+ };
+ } else if (defined.hasOwnProperty(depName) || waiting.hasOwnProperty(depName)) {
+ args[i] = callDep(depName);
+ } else if (map.p) {
+ map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {});
+ args[i] = defined[depName];
+ } else {
+ throw name + ' missing ' + depName;
+ }
+ }
+
+ ret = callback.apply(defined[name], args);
+
+ if (name) {
+ //If setting exports via "module" is in play,
+ //favor that over return value and exports. After that,
+ //favor a non-undefined return value over exports use.
+ if (cjsModule && cjsModule.exports !== undef) {
+ defined[name] = cjsModule.exports;
+ } else if (!usingExports) {
+ //Use the return value from the function.
+ defined[name] = ret;
+ }
+ }
+ } else if (name) {
+ //May just be an object definition for the module. Only
+ //worry about defining if have a module name.
+ defined[name] = callback;
+ }
+ };
+
+ requirejs = req = function (deps, callback, relName, forceSync) {
+ if (typeof deps === "string") {
+
+ //Just return the module wanted. In this scenario, the
+ //deps arg is the module name, and second arg (if passed)
+ //is just the relName.
+ //Normalize module name, if it contains . or ..
+ return callDep(makeMap(deps, callback).f);
+ } else if (!deps.splice) {
+ //deps is a config object, not an array.
+ //Drop the config stuff on the ground.
+ if (callback.splice) {
+ //callback is an array, which means it is a dependency list.
+ //Adjust args if there are dependencies
+ deps = callback;
+ callback = arguments[2];
+ } else {
+ deps = [];
+ }
+ }
+
+ //Simulate async callback;
+ if (forceSync) {
+ main(undef, deps, callback, relName);
+ } else {
+ setTimeout(function () {
+ main(undef, deps, callback, relName);
+ }, 15);
+ }
+
+ return req;
+ };
+
+ /**
+ * Just drops the config on the floor, but returns req in case
+ * the config return value is used.
+ */
+ req.config = function () {
+ return req;
+ };
+
+ /**
+ * Export require as a global, but only if it does not already exist.
+ */
+ if (!require) {
+ require = req;
+ }
+
+ define = function (name, deps, callback) {
+
+ //This module may not have dependencies
+ if (!deps.splice) {
+ //deps is not an array, so probably means
+ //an object literal or factory function for
+ //the value. Adjust args.
+ callback = deps;
+ deps = [];
+ }
+
+ if (define.unordered) {
+ waiting[name] = [name, deps, callback];
+ } else {
+ main(name, deps, callback);
+ }
+ };
+
+ define.amd = {
+ jQuery: true
+ };
+}());
define("../ThirdParty/almond.js", function(){});
@@ -915,16 +915,13 @@ define('enum',["coreFns"], function (core) {
Enum.prototype.getNames = function() {
var result = [];
for (var key in this) {
- if (hasOwnProperty.call(this, key)) {
+ if (this.hasOwnProperty(key)) {
if (key != "name" && key.substr(0, 1) !== "_" && !core.isFunction(this[key])) {
result.push(key);
}
}
}
return result;
- //return Object.keys(this).filter(
- // function (key) { return key != "name" && key.substr(0, 1) !== "_"; }
- //);
};
/**
@@ -5118,21 +5115,19 @@ function (core, a_config, DataType, m_entityAspect, m_validate, defaultPropertyI
};
- /*
- INTERNAL FOR NOW
+ /**
Returns a fully qualified entityTypeName for a specified resource name. The reverse of this operation
can be obtained via the {{#crossLink "EntityType"}}{{/crossLink}} 'defaultResourceName' property
@method getEntityTypeNameForResourceName
@param resourceName {String}
- */
- proto._getEntityTypeNameForResourceName = function (resourceName) {
+ **/
+ proto.getEntityTypeNameForResourceName = function (resourceName) {
assertParam(resourceName, "resourceName").isString().check();
// return this._resourceEntityTypeMap[resourceName.toLowerCase()];
return this._resourceEntityTypeMap[resourceName];
};
- /*
- INTERNAL FOR NOW
+ /**
Associates a resourceName with an entityType.
This method is only needed in those cases where multiple resources return the same
@@ -5142,8 +5137,8 @@ function (core, a_config, DataType, m_entityAspect, m_validate, defaultPropertyI
@param resourceName {String}
@param entityTypeOrName {EntityType|String} If passing a string either the fully qualified name or a short name may be used. If a short name is specified and multiple types share
that same short name an exception will be thrown. If the entityType has not yet been discovered then a fully qualified name must be used.
- */
- proto._setEntityTypeForResourceName = function (resourceName, entityTypeOrName) {
+ **/
+ proto.setEntityTypeForResourceName = function (resourceName, entityTypeOrName) {
assertParam(resourceName, "resourceName").isString().check();
assertParam(entityTypeOrName, "entityTypeOrName").isInstanceOf(EntityType).or().isString().check();
// resourceName = resourceName.toLowerCase();
@@ -5222,7 +5217,7 @@ function (core, a_config, DataType, m_entityAspect, m_validate, defaultPropertyI
toArray(schema.entityContainer).forEach(function (container) {
toArray(container.entitySet).forEach(function (entitySet) {
var entityTypeName = normalizeTypeName(entitySet.entityType, schema).typeName;
- that._setEntityTypeForResourceName(entitySet.name, entityTypeName);
+ that.setEntityTypeForResourceName(entitySet.name, entityTypeName);
});
});
}
@@ -7226,7 +7221,7 @@ function (core, m_entityMetadata, m_entityAspect) {
return null;
}
}
- var entityTypeName = metadataStore._getEntityTypeNameForResourceName(resourceName);
+ var entityTypeName = metadataStore.getEntityTypeNameForResourceName(resourceName);
if (!entityTypeName) {
if (throwErrorIfNotFound) {
throw new Error("Cannot find resourceName of: " + resourceName);
@@ -9470,7 +9465,7 @@ function (core, m_entityAspect, m_entityQuery) {
function combineArgs(target, source) {
for (var key in source) {
- if (key!== "relationArray" && hasOwnProperty.call(target, key)) {
+ if (key!== "relationArray" && target.hasOwnProperty(key)) {
var sourceValue = source[key];
var targetValue = target[key];
if (targetValue) {
@@ -11393,7 +11388,7 @@ function (core, a_config, m_entityMetadata, m_entityAspect, m_entityQuery, KeyGe
// HACK for GC
query = null;
queryContext = null;
- entities = null;
+
}, function () {
var rawEntities = data.results;
if (!Array.isArray(rawEntities)) {
@@ -12239,6 +12234,7 @@ function (core, a_config, m_entityMetadata, m_entityAspect, m_entityQuery, KeyGe
config = config || {};
assertConfig(config)
.whereParam("allowConcurrentSaves").isBoolean().isOptional().withDefault(false)
+ .whereParam("tag").isOptional()
.applyAll(this);
};
@@ -12438,7 +12434,7 @@ define('breeze',["core", "config", "entityAspect", "entityMetadata", "entityMana
function (core, a_config, m_entityAspect, m_entityMetadata, m_entityManager, m_entityQuery, m_validate, makeRelationArray, KeyGenerator) {
var breeze = {
- version: "1.1.2",
+ version: "1.1.3",
core: core,
config: a_config
};
@@ -12703,7 +12699,7 @@ function (core, a_config, m_entityAspect, m_entityMetadata, m_entityManager, m_e
}
return metadataSvcUrl;
- };
+ }
function createError(XHR) {
var err = new Error();
@@ -13279,6 +13275,8 @@ function (core, a_config, m_entityAspect, m_entityMetadata, m_entityManager, m_e
var _;
var bbSet, bbGet;
+
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
var ctor = function () {
this.name = "backbone";
View
22 Samples/CarBones/CarBones/Scripts/breeze.intellisense.js
@@ -1,4 +1,4 @@
-// Generated on: Sat Feb 09 2013 21:34:08 GMT-0800 (Pacific Standard Time)
+// Generated on: Sat Mar 02 2013 18:28:10 GMT-0800 (Pacific Standard Time)
intellisense.annotate(breeze.breeze, {
@@ -1329,6 +1329,26 @@ intellisense.annotate(breeze.breeze.MetadataStore.prototype, {
/// <returns type="Array of EntityType|ComplexType" ></returns>
/// </signature>
},
+ 'getEntityTypeNameForResourceName': function() {
+ /// <signature>
+ /// <summary>
+ /// Returns a fully qualified entityTypeName for a specified resource name. The reverse of this operation
+ /// can be obtained via the 'EntityType' 'defaultResourceName' property
+ /// </summary>
+ /// <param name="resourceName" type="String" optional="true"></param>
+
+ /// </signature>
+ },
+ 'setEntityTypeForResourceName': function() {
+ /// <signature>
+ /// <summary>
+ /// Associates a resourceName with an entityType.
+ /// </summary>
+ /// <param name="resourceName" type="String" optional="true"></param>
+ /// <param name="entityTypeOrName" type="EntityType|String" optional="true">If passing a string either the fully qualified name or a short name may be used. If a short name is specified and multiple types share that same short name an exception will be thrown. If the entityType has not yet been discovered then a fully qualified name must be used.</param>
+
+ /// </signature>
+ },
/// <field name="namingConvention" type="breeze.breeze.NamingConvention" >The 'NamingConvention' associated with this MetadataStore.</field>
'namingConvention': null,
View
2  Samples/CarBones/CarBones/packages.config
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Backbone.js" version="0.9.2" targetFramework="net45" />
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="EntityFramework.SqlServerCompact" version="4.3.5" targetFramework="net45" />
<package id="jQuery" version="1.8.2" targetFramework="net45" />
View
4 Samples/DocCode/DocCode/DocCode.csproj
@@ -45,14 +45,14 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
View
2  Samples/DocCode/DocCode/packages.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="jQuery" version="1.8.2" targetFramework="net40" />
<package id="knockoutjs" version="2.1.0" targetFramework="net40" />
View
4 Samples/Grid-Angular/Grid-Angular/Grid-Angular.csproj
@@ -44,13 +44,13 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework">
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
View
2  Samples/Grid-Angular/Grid-Angular/packages.config
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="angularjs" version="1.0.3" targetFramework="net40" />
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="EntityFramework.SqlServerCompact" version="4.3.6" targetFramework="net45" />
<package id="jQuery" version="1.8.3" targetFramework="net45" />
View
4 Samples/MemTester/MemTester/MemTester.csproj
@@ -40,10 +40,10 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
View
2  Samples/MemTester/MemTester/packages.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="Breeze.WebApiSample" version="1.0.1" targetFramework="net45" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="jQuery" version="1.9.0" targetFramework="net45" />
View
4 Samples/NoDb/NoDb/NoDb.csproj
@@ -41,14 +41,14 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
View
2  Samples/NoDb/NoDb/packages.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="jQuery" version="1.8.3" targetFramework="net45" />
<package id="jQuery.UI.Combined" version="1.9.2" targetFramework="net45" />
View
4 Samples/Todo-Angular/Todo-Angular/Todo-Angular.csproj
@@ -42,13 +42,13 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework">
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
View
2  Samples/Todo-Angular/Todo-Angular/packages.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="EntityFramework.SqlServerCompact" version="4.3.6" targetFramework="net45" />
<package id="jQuery" version="1.8.3" targetFramework="net45" />
View
4 Samples/Todo-AngularWithDI/Todo-AngularWithDI/Todo-AngularWithDI.csproj
@@ -42,13 +42,13 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework">
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
View
2  Samples/Todo-AngularWithDI/Todo-AngularWithDI/packages.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="EntityFramework.SqlServerCompact" version="4.3.6" targetFramework="net45" />
<package id="jQuery" version="1.8.3" targetFramework="net45" />
View
4 Samples/Todo-Require/Todo-Require/Todo-Require.csproj
@@ -42,13 +42,13 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework">
<HintPath>..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
View
2  Samples/Todo-Require/Todo-Require/packages.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net45" />
<package id="EntityFramework.SqlServerCompact" version="4.3.6" targetFramework="net45" />
<package id="jQuery" version="1.8.3" targetFramework="net45" />
View
4 Samples/Todo/Todo/Todo.csproj
@@ -42,13 +42,13 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Breeze.WebApi">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Breeze.WebApi.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Breeze.WebApi.dll</HintPath>
</Reference>
<Reference Include="EntityFramework">
<HintPath>..\packages\EntityFramework.5.0.0\lib\net40\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Irony">
- <HintPath>..\packages\Breeze.WebApi.1.1.1\lib\Irony.dll</HintPath>
+ <HintPath>..\packages\Breeze.WebApi.1.1.2\lib\Irony.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
View
2  Samples/Todo/Todo/packages.config
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="Breeze.WebApi" version="1.1.1" />
+ <package id="Breeze.WebApi" version="1.1.2" />
<package id="EntityFramework" version="5.0.0" targetFramework="net40" />
<package id="EntityFramework.SqlServerCompact" version="4.3.6" targetFramework="net40" />
<package id="jQuery" version="1.8.3" targetFramework="net40" />
View
8 apidocs/classes/AutoGeneratedKeyType.html
@@ -185,7 +185,7 @@ <h2 class="off-left">APIs</h2>
<div class="foundat">
- Defined in: <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2527"><code>entityMetadata.js:2527</code></a>
+ Defined in: <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2525"><code>entityMetadata.js:2525</code></a>
</div>
@@ -300,7 +300,7 @@ <h3 class="name"><code>Identity</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2542"><code>entityMetadata.js:2542</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2540"><code>entityMetadata.js:2540</code></a>
</p>
@@ -350,7 +350,7 @@ <h3 class="name"><code>KeyGenerator</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2551"><code>entityMetadata.js:2551</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2549"><code>entityMetadata.js:2549</code></a>
</p>
@@ -400,7 +400,7 @@ <h3 class="name"><code>None</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2534"><code>entityMetadata.js:2534</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2532"><code>entityMetadata.js:2532</code></a>
</p>
View
2  apidocs/classes/ComplexAspect.html
@@ -209,7 +209,7 @@ <h2 class="off-left">APIs</h2>
an entities 'complexAspect' property. This property will be automatically attached when an complex object is created as part of an
entity via either a query, import or EntityManager.createEntity call.</p>
-<pre class="code"><code class="prettyprint">// assume address is a complex property on the 'Customer' type
+<pre class="code prettyprint"><code>// assume address is a complex property on the 'Customer' type
var aspect = aCustomer.address.complexAspect;
// aCustomer === aspect.parent;
</code></pre>
View
30 apidocs/classes/ComplexType.html
@@ -185,7 +185,7 @@ <h2 class="off-left">APIs</h2>
<div class="foundat">
- Defined in: <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l1927"><code>entityMetadata.js:1927</code></a>
+ Defined in: <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l1925"><code>entityMetadata.js:1925</code></a>
</div>
@@ -387,7 +387,7 @@ <h3 class="name"><code>&lt;ctor&gt; ComplexType</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l1932"><code>entityMetadata.js:1932</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l1930"><code>entityMetadata.js:1930</code></a>
</p>
@@ -464,7 +464,7 @@ <h3 class="name"><code>&lt;ctor&gt; ComplexType</code></h3>
<h4>Example:</h4>
<div class="example-content">
- <pre class="code"><code class="prettyprint">var complexType = new ComplexType( {
+ <pre class="code prettyprint"><code>var complexType = new ComplexType( {
shortName: "address",
namespace: "myAppNamespace"
});
@@ -523,7 +523,7 @@ <h3 class="name"><code>addValidator</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2064"><code>entityMetadata.js:2064</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2062"><code>entityMetadata.js:2062</code></a>
</p>
@@ -627,7 +627,7 @@ <h3 class="name"><code>createInstance</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2014"><code>entityMetadata.js:2014</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2012"><code>entityMetadata.js:2012</code></a>
</p>
@@ -704,7 +704,7 @@ <h3 class="name"><code>getCtor</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2082"><code>entityMetadata.js:2082</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2080"><code>entityMetadata.js:2080</code></a>
</p>
@@ -758,7 +758,7 @@ <h3 class="name"><code>getProperty</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2072"><code>entityMetadata.js:2072</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2070"><code>entityMetadata.js:2070</code></a>
</p>
@@ -812,7 +812,7 @@ <h3 class="name"><code>getPropertyNames</code></h3>
- <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2077"><code>entityMetadata.js:2077</code></a>
+ <a href="..&#x2F;files&#x2F;entityMetadata.js.html#l2075"><code>entityMetadata.js:2075</code></a>
</p>