1 namespace System.Web.DynamicData {
2     using System;
3     using System.ComponentModel;
4     using System.ComponentModel.DataAnnotations;
5     using System.Reflection;
6     using System.Web.DynamicData.ModelProviders;
7 
8     internal interface IMetaColumn {
9         bool ApplyFormatInEditMode { get; }
10         bool AllowInitialValue { get; }
11         AttributeCollection Attributes { get; }
12         Type ColumnType { get; }
13         bool ConvertEmptyStringToNull { get; }
14         string DataFormatString { get; }
15         DataTypeAttribute DataTypeAttribute { get; }
16         object DefaultValue { get; }
17         string Description { get; }
18         string DisplayName { get; }
19         PropertyInfo EntityTypeProperty { get; }
20         bool HtmlEncode { get; }
21         bool IsBinaryData { get; }
22         bool IsCustomProperty { get; }
23         bool IsFloatingPoint { get; }
24         bool IsForeignKeyComponent { get; }
25         bool IsGenerated { get; }
26         bool IsInteger { get; }
27         bool IsLongString { get; }
28         bool IsPrimaryKey { get; }
29         bool IsReadOnly { get; }
30         bool IsRequired { get; }
31         bool IsString { get; }
32         int MaxLength { get; }
33         IMetaModel Model { get; }
34         string Name { get; }
35         string NullDisplayText { get; }
36         string Prompt { get; }
37         ColumnProvider Provider { get; }
38         string RequiredErrorMessage { get; }
ResetMetadata()39         void ResetMetadata();
40         bool Scaffold { get; set; }
41         string ShortDisplayName { get; }
42         string SortExpression { get; }
43         IMetaTable Table { get; }
44         TypeCode TypeCode { get; }
45         string UIHint { get; }
46         string FilterUIHint { get; }
47     }
48 }
49