Pip-Services-Commons-Dotnet
List of all members
PipServices3.Commons.Data.IStringIdentifiable Interface Reference

Interface for data objects that can be uniquely identifed by a string id. More...

Inheritance diagram for PipServices3.Commons.Data.IStringIdentifiable:
PipServices3.Commons.Data.IIdentifiable< string >

Additional Inherited Members

- Properties inherited from PipServices3.Commons.Data.IIdentifiable< string >
Id [get, set]
 

Detailed Description

Interface for data objects that can be uniquely identifed by a string id.

The interface extends IIdentifiable to hardcode id type to string.

It is a common pattern to use a string GUID as the id, generated by IdGenerator.

public class MyData: IIdentifiable<String>
{
string id {get; set;}
string field1;
int field2;
...
}

See IIdentifiable<T>, IdGenerator


The documentation for this interface was generated from the following file: