C# Class DV_Enterprises.Web.Data.Domain.Section

Inheritance: ISection
Show file Open project: negonicrac/seniorproject2009 Class Usage Examples

Public Methods

Method Description
All ( ) : IQueryable

Find all Section's

All ( DataContext dc ) : IQueryable

Find all Section's

Delete ( ) : void

Delete Section

Delete ( DataContext dc ) : void

Delete Section

Delete ( DataContext dc, Section section ) : void

Delete a single

Delete ( Section section ) : void

Delete a single

Save ( ) : int

Save Section

Save ( DataContext dc ) : int

Save Section

Save ( DataContext dc, Section section ) : int

Save a Section

Save ( Section section ) : int

Find an Section by it's id.

Find an Section by it's id.

Save a Section

ToString ( ) : string

Method Details

All() public static method

Find all Section's
public static All ( ) : IQueryable
return IQueryable

All() public static method

Find all Section's
public static All ( DataContext dc ) : IQueryable
dc DV_Enterprises.Web.Data.DataAccess.SqlRepository.DataContext
return IQueryable

Delete() public method

Delete Section
public Delete ( ) : void
return void

Delete() public method

Delete Section
public Delete ( DataContext dc ) : void
dc DV_Enterprises.Web.Data.DataAccess.SqlRepository.DataContext
return void

Delete() public static method

Delete a single
public static Delete ( DataContext dc, Section section ) : void
dc DV_Enterprises.Web.Data.DataAccess.SqlRepository.DataContext
section Section
return void

Delete() public static method

Delete a single
public static Delete ( Section section ) : void
section Section
return void

Save() public method

Save Section
public Save ( ) : int
return int

Save() public method

Save Section
public Save ( DataContext dc ) : int
dc DV_Enterprises.Web.Data.DataAccess.SqlRepository.DataContext
return int

Save() public static method

Save a Section
public static Save ( DataContext dc, Section section ) : int
dc DV_Enterprises.Web.Data.DataAccess.SqlRepository.DataContext
section Section
return int

Save() public static method

Find an Section by it's id. Find an Section by it's id. Save a Section
public static Save ( Section section ) : int
section Section
return int

ToString() public method

public ToString ( ) : string
return string