C# Class Microsoft.DbContextPackage.Handlers.OptimizeContextHandler

Datei anzeigen Open project: aspnet/EntityFramework6

Public Methods

Method Description
OptimizeContext ( dynamic context ) : void
OptimizeContextHandler ( DbContextPackage package ) : System
OptimizeEdmx ( string inputPath ) : void

Private Methods

Method Description
GetEntityFrameworkVersion ( Type contextType ) : System.Version
OptimizeContextCore ( LanguageOption languageOption, string baseFileName, SelectedItem selectedItem, Action generateAction ) : void
OptimizeContextEF5 ( LanguageOption languageOption, string baseFileName, System.Data.Mapping.StorageMappingItemCollection mappingCollection, SelectedItem selectedItem ) : void
OptimizeContextEF6 ( LanguageOption languageOption, string baseFileName, dynamic mappingCollection, SelectedItem selectedItem, string contextTypeName ) : void

Method Details

OptimizeContext() public method

public OptimizeContext ( dynamic context ) : void
context dynamic
return void

OptimizeContextHandler() public method

public OptimizeContextHandler ( DbContextPackage package ) : System
package DbContextPackage
return System

OptimizeEdmx() public method

public OptimizeEdmx ( string inputPath ) : void
inputPath string
return void