C# Class System.Data.Entity.EntityDescriptorContext

Entity descriptor context.
Inheritance: ITypeDescriptorContext
Mostra file Open project: Kation/ComBoost Class Usage Examples

Public Methods

Method Description
EntityDescriptorContext ( IEntityContextBuilder builder ) : System

Initialize entity descriptor context.

GetService ( Type serviceType ) : object

Get entity context.

OnComponentChanged ( ) : void

Call when context changed.

OnComponentChanging ( ) : bool

Call when context changing.

Method Details

EntityDescriptorContext() public method

Initialize entity descriptor context.
public EntityDescriptorContext ( IEntityContextBuilder builder ) : System
builder IEntityContextBuilder Entity context builder.
return System

GetService() public method

Get entity context.
public GetService ( Type serviceType ) : object
serviceType System.Type Type of entity.
return object

OnComponentChanged() public method

Call when context changed.
public OnComponentChanged ( ) : void
return void

OnComponentChanging() public method

Call when context changing.
public OnComponentChanging ( ) : bool
return bool