SaaS CMS has officially launched! Learn more now.

Interface IMetaObjectChangeTracking

Defines the mechanism for querying the meta object for changes and resetting of the changed status.

Namespace: Mediachase.BusinessFoundation.Data.Meta
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public interface IMetaObjectChangeTracking : IChangeTracking

Properties

PrimaryKeyId

Gets the primary key id.

Declaration
int PrimaryKeyId { get; }
Property Value
Type Description
System.Int32

The primary key id.

Methods

GetChangedFields()

Gets the changed fields.

Declaration
string[] GetChangedFields()
Returns
Type Description
System.String[]

GetOriginalValue(String)

Gets the original value.

Declaration
object GetOriginalValue(string fieldName)
Parameters
Type Name Description
System.String fieldName

Name of the field.

Returns
Type Description
System.Object

IsFieldChanged(String)

Determines whether [is field changed] [the specified field name].

Declaration
bool IsFieldChanged(string fieldName)
Parameters
Type Name Description
System.String fieldName

Name of the field.

Returns
Type Description
System.Boolean

true if [is field changed] [the specified field name]; otherwise, false.