C# Class IronRubyMvcWeb.Models.Northwind.NorthwindDataContext

显示文件 Open project: jschementi/ironrubymvc Class Usage Examples

Public Methods

Method Description
GetCategories ( ) : IList
NorthwindDataContext ( ) : System.Data.Linq
NorthwindDataContext ( System connection ) : System.Data.Linq
NorthwindDataContext ( System connection, System mappingSource ) : System.Data.Linq
NorthwindDataContext ( string connection ) : System.Data.Linq
NorthwindDataContext ( string connection, System mappingSource ) : System.Data.Linq
NorthwindDataContext ( IList categories ) : System.Collections.Generic
NorthwindDataContext ( IList categories, string connectionString ) : System.Collections.Generic

Private Methods

Method Description
DeleteCategory ( Category instance ) : void
DeleteOrder ( Order instance ) : void
DeleteProduct ( Product instance ) : void
DeleteSupplier ( Supplier instance ) : void
InsertCategory ( Category instance ) : void
InsertOrder ( Order instance ) : void
InsertProduct ( Product instance ) : void
InsertSupplier ( Supplier instance ) : void
OnCreated ( ) : void
UpdateCategory ( Category instance ) : void
UpdateOrder ( Order instance ) : void
UpdateProduct ( Product instance ) : void
UpdateSupplier ( Supplier instance ) : void

Method Details

GetCategories() public method

public GetCategories ( ) : IList
return IList

NorthwindDataContext() public method

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

NorthwindDataContext() public method

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

NorthwindDataContext() public method

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

NorthwindDataContext() public method

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

NorthwindDataContext() public method

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

NorthwindDataContext() public method

public NorthwindDataContext ( IList categories ) : System.Collections.Generic
categories IList
return System.Collections.Generic

NorthwindDataContext() public method

public NorthwindDataContext ( IList categories, string connectionString ) : System.Collections.Generic
categories IList
connectionString string
return System.Collections.Generic