Add multiple new members.

Namespace: Cartella.Interfaces
Assembly: AssetManagementSystem (in AssetManagementSystem.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
void AddMembers(
	AssetMemberSpec[] infoOfMembersToAdd
)
Visual Basic
Sub AddMembers ( _
	infoOfMembersToAdd As AssetMemberSpec() _
)
Visual C++
void AddMembers(
	array<AssetMemberSpec^>^ infoOfMembersToAdd
)

Parameters

infoOfMembersToAdd
Type: array<AssetMemberSpec>[]()[][]
Information of members to be added together

Remarks

Asset version will increment after all members added/updated

If the members to be added contain members that will trigger auto-conversions, the rest of the members (auto-conversions targets) will not be added or updated. This rule ensures that Auto-Conversion holds a higher privilege than manual member manipulation.

This is a void method because if auto-conversion occurs, auto-converted members will not be in place. They are processed in a separate thread and won't be in sync right away.

The only way to find out is to cast the asset as IAutoConvertible and find out if the property "AutoConversionCompleted" returns true or not.

This process could cause issues in the future.

See Also