using System;
namespace umbraco.DataLayer.Utility.Table
{
///
/// Interface for classes that represent a table field.
///
public interface IField
{
///
/// Gets the name of the field.
///
/// The name.
string Name { get; }
///
/// Gets the data type of the field.
///
/// The field data type.
Type DataType { get; }
///
/// Gets a value indicating the field size.
///
/// The size.
int Size { get; }
///
/// Gets the properties.
///
/// The properties.
FieldProperties Properties { get; }
///
/// Determines whether the field has the specified property.
///
/// The property.
/// true if the field has the property; otherwise, false.
bool HasProperty(FieldProperties property);
}
}