C# Class Shesha.Domain.FullPowerChildEntity

Base class to use for entities that need support for setting Owner entity as well as most commonly used entity-level framework features: * guid as identifier * fully auditable * multi-tenancy support Note: discriminator is not included as it's not used in most cases
Inheritance: Shesha.Domain.FullPowerEntity, IHasOwningEntityLink
Show file Open project: Boxfusion/shesha-core

Private Properties

Property Type Description

Public Methods

Method Description
SetOwner ( string ownerType, string ownerId ) : void

Set owner with type alias and ID

SetOwner ( IEntity entity ) : void

Sets owner with an entity object

Method Details

SetOwner() public method

Set owner with type alias and ID
public SetOwner ( string ownerType, string ownerId ) : void
ownerType string
ownerId string
return void

SetOwner() public method

Sets owner with an entity object
public SetOwner ( IEntity entity ) : void
entity IEntity
return void