JArrayExtensionsMergeByKey Method

Rebuilds original array so that items from originalArray are replaced by any same‑key items in the override array

Definition

Namespace: Gemstone.JArrayExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.181 -- Release Build+97279656b5a55675063a4190481e67c4f9809501
public static JArray MergeByKey(
	this JArray originalArray,
	JArray overrideArray,
	string uniqueKeyField
)

Parameters

originalArray  JArray

[Missing <param name="originalArray"/> documentation for "M:Gemstone.JArrayExtensions.JArrayExtensions.MergeByKey(Newtonsoft.Json.Linq.JArray,Newtonsoft.Json.Linq.JArray,System.String)"]

overrideArray  JArray

[Missing <param name="overrideArray"/> documentation for "M:Gemstone.JArrayExtensions.JArrayExtensions.MergeByKey(Newtonsoft.Json.Linq.JArray,Newtonsoft.Json.Linq.JArray,System.String)"]

uniqueKeyField  String

[Missing <param name="uniqueKeyField"/> documentation for "M:Gemstone.JArrayExtensions.JArrayExtensions.MergeByKey(Newtonsoft.Json.Linq.JArray,Newtonsoft.Json.Linq.JArray,System.String)"]

Return Value

JArray

[Missing <returns> documentation for "M:Gemstone.JArrayExtensions.JArrayExtensions.MergeByKey(Newtonsoft.Json.Linq.JArray,Newtonsoft.Json.Linq.JArray,System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type JArray. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also