| NoSqlUtilityAddOrReplace Method |
Adds or replaces a document in the store with the specified id.
Namespace:
Galactic.NoSql
Assembly:
Galactic.NoSql (in Galactic.NoSql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public abstract string AddOrReplace(
string id,
ExpandoObject document
)
Public MustOverride Function AddOrReplace (
id As String,
document As ExpandoObject
) As String
public:
virtual String^ AddOrReplace(
String^ id,
ExpandoObject^ document
) abstract
abstract AddOrReplace :
id : string *
document : ExpandoObject -> string
Parameters
- id
- Type: SystemString
The id of the document to add or replace. - document
- Type: System.DynamicExpandoObject
The document to add or replace.
Return Value
Type:
StringThe id of the document if it was added or replaced, null otherwise.
See Also