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

Class BusinessContext

Represents Business Context.

Inheritance
System.Object
BusinessContext
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.Business
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 13.30.0
Syntax
public class BusinessContext

Constructors

BusinessContext(Request, Response)

Initializes a new instance of the BusinessContext class.

Declaration
public BusinessContext(Request request, Response response)
Parameters
Type Name Description
Request request
Response response

Properties

Current

Gets or sets the current.

Declaration
public static BusinessContext Current { get; }
Property Value
Type Description
BusinessContext

The current.

Items

Gets the items.

Declaration
public Hashtable Items { get; }
Property Value
Type Description
System.Collections.Hashtable

The items.

ParentContext

Gets or sets the parent context.

Declaration
public BusinessContext ParentContext { get; }
Property Value
Type Description
BusinessContext

The parent context.

PluginStage

Gets the current plugin event pipe line stage.

Declaration
public EventPipeLineStage PluginStage { get; }
Property Value
Type Description
EventPipeLineStage

The event pipe line stage.

Request

Gets or sets the request.

Declaration
public Request Request { get; protected set; }
Property Value
Type Description
Request

The request.

Response

Gets or sets the response.

Declaration
public Response Response { get; protected set; }
Property Value
Type Description
Response

The response.

Methods

GetMethod()

Gets the method.

Declaration
public string GetMethod()
Returns
Type Description
System.String

GetTargetMetaClassName()

Gets the name of the target meta class.

Declaration
public string GetTargetMetaClassName()
Returns
Type Description
System.String

GetTargetPrimaryKeyId()

Gets the target primary key id.

Declaration
public PrimaryKeyId? GetTargetPrimaryKeyId()
Returns
Type Description
System.Nullable<PrimaryKeyId>

SetResponse(Response)

Sets the response.

Declaration
public void SetResponse(Response response)
Parameters
Type Name Description
Response response

The response.