using System;

namespace InABox.Core
{
    public enum DeleteAction
    {
        Cascade,
        SetNull
    }

    public class EntityRelationshipAttribute : Attribute
    {
        public EntityRelationshipAttribute(DeleteAction action)
        {
            Action = action;
        }

        public DeleteAction Action { get; set; }
    }
}