Adds a new item to the entity set, attaching it to the specified resource address

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public void Add(
	T item,
	string resourceAddress
)
Visual Basic
Public Sub Add ( 
	item As T,
	resourceAddress As String
)
Visual C++
public:
virtual void Add(
	T item, 
	String^ resourceAddress
) sealed
F#
abstract Add : 
        item : 'T * 
        resourceAddress : string -> unit 
override Add : 
        item : 'T * 
        resourceAddress : string -> unit 

Parameters

item
Type: T
The item to be added
resourceAddress
Type: System..::..String
The resource address that the item is to be attached to

Implements

IEntitySet<(Of <(<'T>)>)>..::..Add(T, String)

See Also