Interface IModelIdentity<TId, TModel>
Behaviour for getting an id from an object
Namespace: Simplic.Data
Assembly: Simplic.Data.dll
Syntax
public interface IModelIdentity<TId, TModel>
Type Parameters
Name | Description |
---|---|
TId | Type of the id member |
TModel | Type of the model member |
Methods
| Improve this Doc View SourceGetId(TModel)
Gets the id of a model
Declaration
TId GetId(TModel obj)
Parameters
Type | Name | Description |
---|---|---|
TModel | obj | Model to get the id of |
Returns
Type | Description |
---|---|
TId | Id value |