C# Class NuGetGallery.EntitiesContext

Inheritance: DbContext, IWorkItemsContext, IEntitiesContext
ファイルを表示 Open project: chocolatey/chocolatey.org Class Usage Examples

Public Methods

Method Description
EntitiesContext ( ) : System

Protected Methods

Method Description
InitializeCustomOptions ( ) : void

Initializes the custom options.

OnChocolateyModelCreating ( DbModelBuilder modelBuilder ) : void
OnModelCreating ( DbModelBuilder modelBuilder ) : void

Private Methods

Method Description
SetConnectionString ( string connectionName ) : string

Method Details

EntitiesContext() public method

public EntitiesContext ( ) : System
return System

InitializeCustomOptions() protected method

Initializes the custom options.
protected InitializeCustomOptions ( ) : void
return void

OnChocolateyModelCreating() protected method

protected OnChocolateyModelCreating ( DbModelBuilder modelBuilder ) : void
modelBuilder DbModelBuilder
return void

OnModelCreating() protected method

protected OnModelCreating ( DbModelBuilder modelBuilder ) : void
modelBuilder DbModelBuilder
return void