Class MetaField

Inheritance
System.Object
MetaField
Implements
Inherited Members
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 MetaField : IChangeTracking

Constructors

MetaField()

Initializes a new instance of the MetaField class.

Declaration
public MetaField()

MetaField(String, String)

Initializes a new instance of the MetaField class.

Declaration
public MetaField(string name, string friendlyName)
Parameters
Type Name Description
System.String name

The name.

System.String friendlyName

The friendly name.

Properties

AccessLevel

Gets or sets the access level.

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

The access level.

AggregationToMetaClass

Gets the aggregation to meta class.

Declaration
public MetaClass AggregationToMetaClass { get; }
Property Value
Type Description
MetaClass

The aggregation to meta class.

AggregationToMetaClassName

Gets the name of the aggregation to meta class.

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

The name of the aggregation to meta class.

Attributes

Gets the attributes.

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

The attributes.

DataSource

Gets or sets the data source.

Declaration
public MetaFieldDataSource DataSource { get; set; }
Property Value
Type Description
MetaFieldDataSource

The data source.

DefaultValue

Gets or sets the default value.

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

The default value.

Expression

Gets or sets the expression.

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

The expression.

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.

InPrimaryKey

Gets a value indicating whether field in primary key.

Declaration
public bool InPrimaryKey { get; }
Property Value
Type Description
System.Boolean

true if [in primary key]; otherwise, false.

IsAggregation

Gets a value indicating whether this instance is aggregation.

Declaration
public bool IsAggregation { get; }
Property Value
Type Description
System.Boolean

true if this instance is aggregation; otherwise, false.

IsBackReference

Gets a value indicating whether this instance is back reference.

Declaration
public bool IsBackReference { get; }
Property Value
Type Description
System.Boolean

true if this instance is back reference; otherwise, false.

IsEnum

Gets a value indicating whether this instance is enum.

Declaration
public bool IsEnum { get; }
Property Value
Type Description
System.Boolean

true if this instance is enum; otherwise, false.

Gets a value indicating whether this instance is link.

Declaration
public bool IsLink { get; }
Property Value
Type Description
System.Boolean

true if this instance is link; otherwise, false.

IsMultivalueEnum

Gets a value indicating whether this instance is multivalue enum.

Declaration
public bool IsMultivalueEnum { get; }
Property Value
Type Description
System.Boolean

true if this instance is multivalue enum; otherwise, false.

IsNullable

Gets or sets a value indicating whether this MetaField is nullable.

Declaration
public bool IsNullable { get; set; }
Property Value
Type Description
System.Boolean

true if nullable; otherwise, false.

IsReference

Gets a value indicating whether this instance is reference.

Declaration
public bool IsReference { get; }
Property Value
Type Description
System.Boolean

true if this instance is reference; otherwise, false.

IsReferencedField

Gets a value indicating whether this instance is referenced field.

Declaration
public bool IsReferencedField { get; }
Property Value
Type Description
System.Boolean

true if this instance is referenced field; otherwise, false.

LinkInformation

Gets the link information.

Declaration
public MetaLinkInformation LinkInformation { get; }
Property Value
Type Description
MetaLinkInformation

The link information.

MetaClass

Gets or sets the owner meta class.

Declaration
public MetaClass MetaClass { get; }
Property Value
Type Description
MetaClass

The owner meta class.

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.

ReadOnly

Gets or sets a value indicating whether [read only].

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
System.Boolean

true if [read only]; otherwise, false.

ReferenceToMetaClass

Gets the reference to meta class.

Declaration
public MetaClass ReferenceToMetaClass { get; }
Property Value
Type Description
MetaClass

The reference to meta class.

ReferenceToMetaClassName

Gets the name of the reference to meta class.

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

The name of the reference to meta class.

TypeName

Gets or sets the name of the field type.

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

The name of the field type.

Methods

GetMetaType()

Gets the type of the meta.

Declaration
public MetaFieldType GetMetaType()
Returns
Type Description
MetaFieldType

GetOriginalMetaType()

Gets the type of the original meta.

Declaration
public MetaFieldType GetOriginalMetaType()
Returns
Type Description
MetaFieldType

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Explicit Interface Implementations

IChangeTracking.AcceptChanges()

Declaration
void IChangeTracking.AcceptChanges()

IChangeTracking.IsChanged

Declaration
bool IChangeTracking.IsChanged { get; }
Returns
Type Description
System.Boolean

Implements