C# Class BurningPlate.Models.BurningPlateDataContext

Inheritance: System.Data.Linq.DataContext
显示文件 Open project: claco/mvc-marathon Class Usage Examples

Public Methods

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

Private Methods

Method Description
DeleteRestaurant ( Restaurant instance ) : void
InsertRestaurant ( Restaurant instance ) : void
OnCreated ( ) : void
UpdateRestaurant ( Restaurant instance ) : void

Method Details

BurningPlateDataContext() public method

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

BurningPlateDataContext() public method

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

BurningPlateDataContext() public method

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

BurningPlateDataContext() public method

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

BurningPlateDataContext() public method

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