Show / Hide Table of Contents

Class EntityActivator

A llbl generate entity activator.

Inheritance
System.Object
ActivatorBase
EntityActivator
Implements
IEntityActivator
IActivator
Inherited Members
ActivatorBase.CreateInstance(ITypeInfo, IEnumerable<Object>, IContext)
ActivatorBase.GetImplementationType(ITypeInfo, IContext, Boolean)
ActivatorBase.TryGetTypeInfo(ITypeInfo)
ActivatorBase.ComputeImplementationType(ITypeInfo, IContext, Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.LLBLGen.Entities.Activation
Assembly: Kephas.Data.LLBLGen.dll
Syntax
public class EntityActivator : ActivatorBase, IEntityActivator, IActivator

Constructors

| Improve this Doc View Source

EntityActivator(IEntityModelProvider)

Initializes a new instance of the EntityActivator class.

Declaration
public EntityActivator(IEntityModelProvider entityModelProvider)
Parameters
Type Name Description
IEntityModelProvider entityModelProvider

The entity model provider.

Methods

| Improve this Doc View Source

GetImplementationTypes()

Gets the supported implementation types.

Declaration
protected override IEnumerable<ITypeInfo> GetImplementationTypes()
Returns
Type Description
System.Collections.Generic.IEnumerable<ITypeInfo>

An enumeration of implementation types.

Overrides
ActivatorBase.GetImplementationTypes()
Remarks

The ActivatorBase class provides always an empty list of implementation types. The inheritors should provide a proper list of supported implementation types annotated with ImplementationForAttribute, otherwise only non-abstract types will be resolved.

Implements

IEntityActivator
IActivator

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX