Class MetaFieldType

Represent meta field type meta information.

Inheritance
System.Object
MetaFieldType
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0
Syntax
public class MetaFieldType

Constructors

MetaFieldType()

Initializes a new instance of the Type class.

Declaration
public MetaFieldType()

MetaFieldType(String, McDataType)

Initializes a new instance of the MetaFieldType class.

Declaration
public MetaFieldType(string name, McDataType dataType)
Parameters
Type Name Description
System.String name

The name.

McDataType dataType

Type of the data.

MetaFieldType(String, String, McDataType)

Initializes a new instance of the MetaFieldType class.

Declaration
public MetaFieldType(string name, string friendlyName, McDataType dataType)
Parameters
Type Name Description
System.String name

The name.

System.String friendlyName

Name of the friendly.

McDataType dataType

Type of the data.

Fields

Aggregation

Declaration
public const string Aggregation = "Aggregation"
Field Value
Type Description
System.String

BackReference

Declaration
public const string BackReference = "BackReference"
Field Value
Type Description
System.String

Card

Declaration
public const string Card = "Card"
Field Value
Type Description
System.String

CheckboxBoolean

Declaration
public const string CheckboxBoolean = "CheckboxBoolean"
Field Value
Type Description
System.String

Currency

Declaration
public const string Currency = "Currency"
Field Value
Type Description
System.String

Date

Declaration
public const string Date = "Date"
Field Value
Type Description
System.String

DateTime

Declaration
public const string DateTime = "DateTime"
Field Value
Type Description
System.String

Decimal

Declaration
public const string Decimal = "Decimal"
Field Value
Type Description
System.String

DecimalPercent

Declaration
public const string DecimalPercent = "DecimalPercent"
Field Value
Type Description
System.String

DropDownBoolean

Declaration
public const string DropDownBoolean = "DropDownBoolean"
Field Value
Type Description
System.String

Duration

Declaration
public const string Duration = "Duration"
Field Value
Type Description
System.String

EMail

Declaration
public const string EMail = "EMail"
Field Value
Type Description
System.String

File

Declaration
public const string File = "File"
Field Value
Type Description
System.String

Float

Declaration
public const string Float = "Float"
Field Value
Type Description
System.String

FloatPercent

Declaration
public const string FloatPercent = "FloatPercent"
Field Value
Type Description
System.String

Guid

Declaration
public const string Guid = "Guid"
Field Value
Type Description
System.String

Html

Declaration
public const string Html = "Html"
Field Value
Type Description
System.String

Image

Declaration
public const string Image = "Image"
Field Value
Type Description
System.String

Integer

Declaration
public const string Integer = "Integer"
Field Value
Type Description
System.String

IntegerPercent

Declaration
public const string IntegerPercent = "IntegerPercent"
Field Value
Type Description
System.String
Declaration
public const string Link = "Link"
Field Value
Type Description
System.String

LongText

Declaration
public const string LongText = "LongText"
Field Value
Type Description
System.String

Reference

Declaration
public const string Reference = "Reference"
Field Value
Type Description
System.String

ReferencedField

Declaration
public const string ReferencedField = "ReferencedField"
Field Value
Type Description
System.String

Text

Declaration
public const string Text = "Text"
Field Value
Type Description
System.String

Url

Declaration
public const string Url = "Url"
Field Value
Type Description
System.String

Properties

AccessLevel

Gets or sets the access level.

Declaration
public AccessLevel AccessLevel { get; set; }
Property Value
Type Description
AccessLevel

The access level.

Attributes

Gets the attributes.

Declaration
public AttributeCollection Attributes { get; }
Property Value
Type Description
AttributeCollection

The attributes.

EnumItems

Gets or sets the enum items.

Declaration
public MetaEnumItem[] EnumItems { get; set; }
Property Value
Type Description
MetaEnumItem[]

The enum items.

FriendlyName

Gets or sets the name of the friendly.

Declaration
public string FriendlyName { get; set; }
Property Value
Type Description
System.String

The name of the friendly.

McDataType

Gets or sets the type of the mc data.

Declaration
public McDataType McDataType { get; set; }
Property Value
Type Description
McDataType

The type of the mc data.

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

Owner

Gets or sets the owner.

Declaration
public string Owner { get; set; }
Property Value
Type Description
System.String

The owner.

Methods

GetInstaller(MetaFieldType)

Gets the installer.

Declaration
public static IMetaFieldInstaller GetInstaller(MetaFieldType type)
Parameters
Type Name Description
MetaFieldType type

The type.

Returns
Type Description
IMetaFieldInstaller

GetInstaller(String)

Gets the installer.

Declaration
public static IMetaFieldInstaller GetInstaller(string typeName)
Parameters
Type Name Description
System.String typeName

Name of the type.

Returns
Type Description
IMetaFieldInstaller

GetObjectPropertyBinder(MetaFieldType)

Gets the object property binder.

Declaration
public static IMetaObjectPropertyBinder GetObjectPropertyBinder(MetaFieldType type)
Parameters
Type Name Description
MetaFieldType type

The type.

Returns
Type Description
IMetaObjectPropertyBinder

GetObjectPropertyBinder(String)

Gets the object property binder.

Declaration
public static IMetaObjectPropertyBinder GetObjectPropertyBinder(string typeName)
Parameters
Type Name Description
System.String typeName

Name of the type.

Returns
Type Description
IMetaObjectPropertyBinder

IsUsed(MetaFieldType)

Determines whether the specified type is used.

Declaration
public static bool IsUsed(MetaFieldType type)
Parameters
Type Name Description
MetaFieldType type

The type.

Returns
Type Description
System.Boolean

true if the specified type is used; otherwise, false.