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

Class UserMetaViewPreference

Inheritance
System.Object
UserMetaViewPreference
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.Core
Assembly: Mediachase.BusinessFoundation.dll
Version: 12.17.2
Syntax
public static class UserMetaViewPreference

Methods

Delete(String, Int32)

Deletes the specified meta view name.

Declaration
public static void Delete(string MetaViewName, int PrincipalId)
Parameters
Type Name Description
System.String MetaViewName

Name of the meta view.

System.Int32 PrincipalId

The principal id.

DeleteAll(Int32)

Deletes all.

Declaration
public static void DeleteAll(int PrincipalId)
Parameters
Type Name Description
System.Int32 PrincipalId

The principal id.

DeleteAll(String)

Deletes all.

Declaration
public static void DeleteAll(string MetaViewName)
Parameters
Type Name Description
System.String MetaViewName

Name of the meta view.

DeleteDefault(String)

Deletes the default.

Declaration
public static void DeleteDefault(string MetaViewName)
Parameters
Type Name Description
System.String MetaViewName

Name of the meta view.

GetPreferenceFromString(String)

Gets the preference from string.

Declaration
public static McMetaViewPreference GetPreferenceFromString(string xsMetaViewPreference)
Parameters
Type Name Description
System.String xsMetaViewPreference

The xs meta view preference.

Returns
Type Description
McMetaViewPreference

Load(MetaView, Int32)

Loads the specified meta view.

Declaration
public static McMetaViewPreference Load(MetaView metaView, int principalId)
Parameters
Type Name Description
MetaView metaView

The meta view.

System.Int32 principalId

The principal id.

Returns
Type Description
McMetaViewPreference

Load(MetaView, Int32, Boolean)

Loads the specified principal id.

Declaration
public static McMetaViewPreference Load(MetaView metaView, int principalId, bool loadDefaultIfNull)
Parameters
Type Name Description
MetaView metaView

The meta view.

System.Int32 principalId

The principal id.

System.Boolean loadDefaultIfNull

if set to true then load default if null.

Returns
Type Description
McMetaViewPreference

Load(String, Int32)

Loads the specified principal id.

Declaration
public static McMetaViewPreference Load(string MetaViewName, int PrincipalId)
Parameters
Type Name Description
System.String MetaViewName

Name of the meta view.

System.Int32 PrincipalId

The principal id.

Returns
Type Description
McMetaViewPreference

Load(String, Int32, Boolean)

Loads the specified meta view.

Declaration
public static McMetaViewPreference Load(string metaViewName, int principalId, bool loadDefaultIfNull)
Parameters
Type Name Description
System.String metaViewName

Name of the meta view.

System.Int32 principalId

The principal id.

System.Boolean loadDefaultIfNull

if set to true [load default if null].

Returns
Type Description
McMetaViewPreference

LoadDefault(MetaView)

Loads the default.

Declaration
public static McMetaViewPreference LoadDefault(MetaView metaView)
Parameters
Type Name Description
MetaView metaView

The meta view.

Returns
Type Description
McMetaViewPreference

LoadDefault(String)

Loads the default.

Declaration
public static McMetaViewPreference LoadDefault(string metaViewName)
Parameters
Type Name Description
System.String metaViewName

Name of the meta view.

Returns
Type Description
McMetaViewPreference

Save(Int32, McMetaViewPreference)

Saves the default.

Declaration
public static void Save(int PrincipalId, McMetaViewPreference ViewPreference)
Parameters
Type Name Description
System.Int32 PrincipalId

The principal id.

McMetaViewPreference ViewPreference

The view preference.

SaveDefault(McMetaViewPreference)

Saves the default.

Declaration
public static void SaveDefault(McMetaViewPreference ViewPreference)
Parameters
Type Name Description
McMetaViewPreference ViewPreference

The view preference.