C# Class LinqToSqlTest.TekPubDataContext

Inheritance: System.Data.Linq.DataContext
Show file Open project: tekpub/MasteringLinq Class Usage Examples

Public Methods

Method Description
TekPubDataContext ( ) : System.Data.Linq
TekPubDataContext ( System connection ) : System.Data.Linq
TekPubDataContext ( System connection, System mappingSource ) : System.Data.Linq
TekPubDataContext ( string connection ) : System.Data.Linq
TekPubDataContext ( string connection, System mappingSource ) : System.Data.Linq

Private Methods

Method Description
DeleteCategory ( Category instance ) : void
DeleteProduct ( Product instance ) : void
InsertCategory ( Category instance ) : void
InsertProduct ( Product instance ) : void
OnCreated ( ) : void
UpdateCategory ( Category instance ) : void
UpdateProduct ( Product instance ) : void

Method Details

TekPubDataContext() public method

public TekPubDataContext ( ) : System.Data.Linq
return System.Data.Linq

TekPubDataContext() public method

public TekPubDataContext ( System connection ) : System.Data.Linq
connection System
return System.Data.Linq

TekPubDataContext() public method

public TekPubDataContext ( System connection, System mappingSource ) : System.Data.Linq
connection System
mappingSource System
return System.Data.Linq

TekPubDataContext() public method

public TekPubDataContext ( string connection ) : System.Data.Linq
connection string
return System.Data.Linq

TekPubDataContext() public method

public TekPubDataContext ( string connection, System mappingSource ) : System.Data.Linq
connection string
mappingSource System
return System.Data.Linq