Sets the key for this object
Namespace: BrightstarDB.EntityFrameworkAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
protected void SetKey( string key ) |
Visual Basic |
---|
Protected Sub SetKey ( key As String ) |
Visual C++ |
---|
protected: void SetKey( String^ key ) |
F# |
---|
member SetKey : key : string -> unit |
Parameters
- key
- Type: System..::..String
The new object identity
Remarks
If the entity definition interface has a IdentifierAttribute on it,
then the full identity of the object will be the value of the BaseAddress
property followed by the key parameter value, otherwise the default GeneratedUriPrefix
is prepended to make a full URI.