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.
34 lines
852 B
34 lines
852 B
using System;
|
|
|
|
namespace OpenDBDiff.Abstractions.Schema.Attributes
|
|
{
|
|
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
|
|
public sealed class SchemaNodeAttribute : Attribute
|
|
{
|
|
public SchemaNodeAttribute(string name)
|
|
{
|
|
this.Name = name;
|
|
this.Image = "Folder";
|
|
}
|
|
|
|
public SchemaNodeAttribute(string name, string image)
|
|
{
|
|
this.Name = name;
|
|
this.Image = image;
|
|
}
|
|
|
|
public SchemaNodeAttribute(string name, string image, Boolean isFullName)
|
|
{
|
|
this.Name = name;
|
|
this.Image = image;
|
|
this.IsFullName = isFullName;
|
|
}
|
|
|
|
public string Name { get; private set; }
|
|
|
|
public string Image { get; private set; }
|
|
|
|
public Boolean IsFullName { get; private set; }
|
|
}
|
|
}
|