Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Business.EF6.dll Namespace: CloudNimble.EasyAF.Business Inheritance: System.Object

Syntax

Summary

Represents the base class for all EasyAF business logic managers. Provides access to a database context and message publishing capabilities for implementing business operations and workflows.

Remarks

This base class is designed to encapsulate business logic that requires database access and messaging capabilities. It’s particularly useful for implementing complex business processes such as user registration, order processing, or any workflow that needs to coordinate database operations with message publishing for event-driven architectures.

Type Parameters

  • TContext - The type of the database context (DbContext) used for data operations.

Examples

Constructors

.ctor

Initializes a new instance of the ManagerBase1` class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

Properties

DataContext

Gets the database context instance used for data operations. This context is injected through the constructor and provides access to the database.

Syntax

Property Value

Type: TContext

MessagePublisher

Gets the message publisher instance used for publishing events and messages to the message bus. This publisher is injected through the constructor and enables event-driven architecture patterns.

Syntax

Property Value

Type: CloudNimble.SimpleMessageBus.Publish.IMessagePublisher

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?