Interface IIdKeyMapRepository
Namespace: Umbraco.Cms.Core.Persistence.Repositories
Assembly: Umbraco.Core.dll
Syntax
public interface IIdKeyMapRepository
Methods
View SourceGetIdForKey(Guid, UmbracoObjectTypes)
Declaration
int? GetIdForKey(Guid key, UmbracoObjectTypes umbracoObjectType)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | key | |
| UmbracoObjectTypes | umbracoObjectType |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
GetIdForKey(Int32, UmbracoObjectTypes)
Declaration
Guid? GetIdForKey(int id, UmbracoObjectTypes umbracoObjectType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id | |
| UmbracoObjectTypes | umbracoObjectType |
Returns
| Type | Description |
|---|---|
| System.Nullable<Guid> |