Class RecentReferenceDetectPlugin
Represents recent reference plugin.
Inheritance
System.Object
RecentReferenceDetectPlugin
Implements
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.Commerce.Core.RecentReferenceHistory
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public sealed class RecentReferenceDetectPlugin : IPlugin
Remarks
Connects to all meta class and create, update methods, pre method in transaction
Constructors
RecentReferenceDetectPlugin()
Initializes a new instance of the RecentReferenceDetectPlugin class.
Declaration
public RecentReferenceDetectPlugin()
Methods
SaveSelectedReference(MetaField, PrimaryKeyId)
Saves the selected reference.
Declaration
public static void SaveSelectedReference(MetaField reference, PrimaryKeyId referenceValue)
Parameters
Type | Name | Description |
---|---|---|
MetaField | reference | The reference. |
PrimaryKeyId | referenceValue | The reference value. |
SaveSelectedReference(String, String, PrimaryKeyId)
Saves the selected reference.
Declaration
public static void SaveSelectedReference(string metaClassName, string referenceName, PrimaryKeyId referenceValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaClassName | Name of the meta class. |
System.String | referenceName | Name of the reference. |
PrimaryKeyId | referenceValue | The reference value. |
Explicit Interface Implementations
IPlugin.Execute(BusinessContext)
Declaration
void IPlugin.Execute(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context |