roadie/RoadieLibrary/Data/CollectionPartial.cs
Steven Hildreth b0d523215e WIP
2018-11-11 14:10:10 -06:00

27 lines
560 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Roadie.Library.Data
{
public partial class Collection
{
public static string CacheRegionUrn(Guid Id)
{
return string.Format("urn:collection:{0}", Id);
}
public static string CacheUrn(Guid Id)
{
return $"urn:collection_by_id:{ Id }";
}
public string CacheKey
{
get
{
return Collection.CacheUrn(this.RoadieId);
}
}
}
}