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

Inserts meta data information

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

Syntax

C#
public int Insert(
	MetaConstants..::.MetaEntity ma,
	int externalKeyId,
	Hashtable vals,
	int currentUserId,
	out DateTime lastUpdatedTime
)
Visual Basic (Declaration)
Public Function Insert ( _
	ma As MetaConstants..::.MetaEntity, _
	externalKeyId As Integer, _
	vals As Hashtable, _
	currentUserId As Integer, _
	<OutAttribute> ByRef lastUpdatedTime As DateTime _
) As Integer
Visual C++
public:
int Insert(
	MetaConstants..::.MetaEntity ma, 
	int externalKeyId, 
	Hashtable^ vals, 
	int currentUserId, 
	[OutAttribute] DateTime% lastUpdatedTime
)

Parameters

ma
Type: OfficeClip.BusinessLayer.Metabase..::.MetaConstants..::.MetaEntity
The meta entity
externalKeyId
Type: System..::.Int32
The external key id, usually the group id
vals
Type: System.Collections..::.Hashtable
The hashtable of key value pair for each attribute
currentUserId
Type: System..::.Int32
Unique id of the current user
lastUpdatedTime
Type: System..::.DateTime%
The last updated time

Return Value

The unique id of the inserted information, negative if failed

See Also