Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

49 lines
1.6 KiB
C#

namespace System.Web.DynamicData {
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using System.Web.DynamicData.ModelProviders;
internal interface IMetaColumn {
bool ApplyFormatInEditMode { get; }
bool AllowInitialValue { get; }
AttributeCollection Attributes { get; }
Type ColumnType { get; }
bool ConvertEmptyStringToNull { get; }
string DataFormatString { get; }
DataTypeAttribute DataTypeAttribute { get; }
object DefaultValue { get; }
string Description { get; }
string DisplayName { get; }
PropertyInfo EntityTypeProperty { get; }
bool HtmlEncode { get; }
bool IsBinaryData { get; }
bool IsCustomProperty { get; }
bool IsFloatingPoint { get; }
bool IsForeignKeyComponent { get; }
bool IsGenerated { get; }
bool IsInteger { get; }
bool IsLongString { get; }
bool IsPrimaryKey { get; }
bool IsReadOnly { get; }
bool IsRequired { get; }
bool IsString { get; }
int MaxLength { get; }
IMetaModel Model { get; }
string Name { get; }
string NullDisplayText { get; }
string Prompt { get; }
ColumnProvider Provider { get; }
string RequiredErrorMessage { get; }
void ResetMetadata();
bool Scaffold { get; set; }
string ShortDisplayName { get; }
string SortExpression { get; }
IMetaTable Table { get; }
TypeCode TypeCode { get; }
string UIHint { get; }
string FilterUIHint { get; }
}
}