CodeLiturgy.Dashboard/BlueWest.Api/Context/Extensions/EfGetOneAttribute.cs

12 lines
234 B
C#
Raw Normal View History

2022-09-01 08:54:42 +03:00
using System;
2022-09-01 08:54:22 +03:00
namespace BlueWest.WebApi.EF;
2022-09-01 08:54:42 +03:00
[AttributeUsage(AttributeTargets.Property)]
public sealed class EfGetOneAttribute : Attribute
2022-09-01 08:54:22 +03:00
{
2022-09-01 08:54:42 +03:00
public EfGetOneAttribute(Type returnType, string keyMembernameof)
{
}
2022-09-01 08:54:22 +03:00
}