C# Class EFWebApp3._5VS2008to2010.Model1Container

There are no comments for Model1Container in the schema.
Inheritance: global::System.Data.Objects.ObjectContext
Show file Open project: KuduApps/EFWebApp3.5VS2008 Class Usage Examples

Public Methods

Method Description
AddToMusicGenres ( MusicGenres musicGenres ) : void

There are no comments for MusicGenres in the schema.

Model1Container ( )

Initializes a new Model1Container object using the connection string found in the 'Model1Container' section of the application configuration file.

Model1Container ( global connection )

Initialize a new Model1Container object.

Model1Container ( string connectionString )

Initialize a new Model1Container object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToMusicGenres() public method

There are no comments for MusicGenres in the schema.
public AddToMusicGenres ( MusicGenres musicGenres ) : void
musicGenres MusicGenres
return void

Model1Container() public method

Initializes a new Model1Container object using the connection string found in the 'Model1Container' section of the application configuration file.
public Model1Container ( )

Model1Container() public method

Initialize a new Model1Container object.
public Model1Container ( global connection )
connection global

Model1Container() public method

Initialize a new Model1Container object.
public Model1Container ( string connectionString )
connectionString string