You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
523 B
23 lines
523 B
// Author: Gockner, Simon
|
|
// Created: 2020-01-24
|
|
// Copyright(c) 2020 SimonG. All Rights Reserved.
|
|
|
|
using System;
|
|
using GBase.Interfaces;
|
|
|
|
namespace GBase.Attributes
|
|
{
|
|
/// <summary>
|
|
/// Tags a property as an <see cref="IGBaseColumn"/>
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public class GBaseColumnAttribute : Attribute
|
|
{
|
|
public GBaseColumnAttribute(bool isKey = false)
|
|
{
|
|
IsKey = isKey;
|
|
}
|
|
|
|
public bool IsKey { get; }
|
|
}
|
|
} |