Adds a new entity to the client-side cache and to the associated context.
The entity will appear in this collection view if it matches the underlying query.
Namespace:
C1.Data.DataSourceAssembly: C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)
Syntax
C# |
---|
public void Add( Object entity ) |
Visual Basic |
---|
Public Sub Add ( _ entity As Object _ ) |
Parameters
- entity
- Type: System..::..Object
The new entity to add.