Click or drag to resize

EAPUtil.IsVersionConstrained Method (IAppContext, Object, EAPVersions.BaseVersions, Int32, Int32, Int32, Int32, Int32)

Determines whether an object type that supports versioning is versioned out. This method is really intended for internal use only.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static bool IsVersionConstrained(
	IAppContext app,
	Object dataRow,
	EAPVersions.BaseVersions minBaseVersion,
	int colVerNm,
	int colVerMin,
	int colVerMax,
	out int constrainReason,
	out int verNum
)

Parameters

app
Type: NetQuarry.IAppContext
Application object
dataRow
Type: System.Object
The dataset containing the object data
minBaseVersion
Type: NetQuarry.EAPVersions.BaseVersions
The minimum EAPBaseVersion when that object has had versioning schema added
colVerNm
Type: System.Int32
The column index into the data row where the version name data can be found
colVerMin
Type: System.Int32
The column index into the data row where the min version number data can be found
colVerMax
Type: System.Int32
The column index into the data row where the max version number data can be found
constrainReason
Type: System.Int32
An integer containing the reason for the object being excluded due to versioning. 0 = min version, 1 = max version
verNum
Type: System.Int32
An integer containing the value of the constrained version

Return Value

Type: Boolean
True if the object should be versioned out, otherwise false.
See Also