- add isKey property

master
Simon G 5 years ago
parent 4b44358af6
commit 69c4b573a5
  1. 7
      GBase/Attributes/GBaseColumnAttribute.cs

@ -13,6 +13,11 @@ namespace GBase.Attributes
[AttributeUsage(AttributeTargets.Property)]
public class GBaseColumnAttribute : Attribute
{
public GBaseColumnAttribute(bool isKey = false)
{
IsKey = isKey;
}
public bool IsKey { get; }
}
}
Loading…
Cancel
Save