November Happy Hour will be moved to Thursday December 5th.

Class MetaIdentifier

Represent access and manage methods for identifiers.

Inheritance
System.Object
MetaIdentifier
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: 12.17.2
Syntax
public static class MetaIdentifier

Methods

Create(String, String, MetaIdentifierType, MetaIdentifierPeriodType, String, Boolean)

Creates the specified name.

Declaration
public static MetaFieldType Create(string Name, string FriendlyName, MetaIdentifierType Type, MetaIdentifierPeriodType PeriodType, string IdentifierMask, bool ReadOnly)
Parameters
Type Name Description
System.String Name

The name.

System.String FriendlyName

Name of the friendly.

MetaIdentifierType Type

The type.

MetaIdentifierPeriodType PeriodType

Type of the period.

System.String IdentifierMask

The identifier mask.

System.Boolean ReadOnly

if set to true [read only].

Returns
Type Description
MetaFieldType

Create(String, String, MetaIdentifierType, MetaIdentifierPeriodType, String, Int32, Boolean)

Creates the specified name.

Declaration
public static MetaFieldType Create(string Name, string FriendlyName, MetaIdentifierType Type, MetaIdentifierPeriodType PeriodType, string IdentifierMask, int MaskDigitLength, bool ReadOnly)
Parameters
Type Name Description
System.String Name

The name.

System.String FriendlyName

Name of the friendly.

MetaIdentifierType Type

The type.

MetaIdentifierPeriodType PeriodType

Type of the period.

System.String IdentifierMask

The identifier mask.

System.Int32 MaskDigitLength

Length of the mask digit.

System.Boolean ReadOnly

if set to true [read only].

Returns
Type Description
MetaFieldType

CreateItem(MetaField)

Creates the item.

Declaration
public static MetaIdentifierValue CreateItem(MetaField field)
Parameters
Type Name Description
MetaField field

The field.

Returns
Type Description
MetaIdentifierValue

CreateItem(MetaField, String)

Creates the item.

Declaration
public static MetaIdentifierValue CreateItem(MetaField field, string userValue)
Parameters
Type Name Description
MetaField field

The field.

System.String userValue

The user value.

Returns
Type Description
MetaIdentifierValue

DeleteItem(Int32)

Deletes the item.

Declaration
public static void DeleteItem(int id)
Parameters
Type Name Description
System.Int32 id

The id.

GetItem(Int32)

Gets the item.

Declaration
public static MetaIdentifierValue GetItem(int id)
Parameters
Type Name Description
System.Int32 id

The id.

Returns
Type Description
MetaIdentifierValue

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.

Remove(MetaFieldType)

Removes the specified type.

Declaration
public static void Remove(MetaFieldType type)
Parameters
Type Name Description
MetaFieldType type

The type.

UpdateItem(MetaIdentifierValue)

Updates the item.

Declaration
public static void UpdateItem(MetaIdentifierValue value)
Parameters
Type Name Description
MetaIdentifierValue value

The value.