[This is preliminary documentation and is subject to change.]

Updates a single field

Namespace:  OfficeClip.DBLayer.Metabase
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int UpdateSingleField(
	MetaConstants..::.MetaEntity me,
	int externalKeyId,
	int pkId,
	int attributeId,
	Object oval,
	MetaConstants..::.MetaType mt,
	bool isFixed,
	int currentUserId,
	out DateTime lastUpdatedTime
)
Visual Basic (Declaration)
Public Function UpdateSingleField ( _
	me As MetaConstants..::.MetaEntity, _
	externalKeyId As Integer, _
	pkId As Integer, _
	attributeId As Integer, _
	oval As Object, _
	mt As MetaConstants..::.MetaType, _
	isFixed As Boolean, _
	currentUserId As Integer, _
	<OutAttribute> ByRef lastUpdatedTime As DateTime _
) As Integer
Visual C++
public:
int UpdateSingleField(
	MetaConstants..::.MetaEntity me, 
	int externalKeyId, 
	int pkId, 
	int attributeId, 
	Object^ oval, 
	MetaConstants..::.MetaType mt, 
	bool isFixed, 
	int currentUserId, 
	[OutAttribute] DateTime% lastUpdatedTime
)

Parameters

me
Type: OfficeClip.BusinessLayer.Metabase..::.MetaConstants..::.MetaEntity
The meta entity
externalKeyId
Type: System..::.Int32
The external key id
pkId
Type: System..::.Int32
The primary key id
attributeId
Type: System..::.Int32
The unique id of the attribute
oval
Type: System..::.Object
The value of the attribute
mt
Type: OfficeClip.BusinessLayer.Metabase..::.MetaConstants..::.MetaType
The type of the attribute
isFixed
Type: System..::.Boolean
Shows if the parameter is fixed
currentUserId
Type: System..::.Int32
Unique id of the current user
lastUpdatedTime
Type: System..::.DateTime%
The last updated time

Return Value

Negative if failed, else succeeds

See Also