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

Inheritance: IGreenhouse
Datei anzeigen Open project: negonicrac/seniorproject2009 Class Usage Examples

Public Methods

Method Description
All ( ) : IQueryable

Find all Greenhouse's

All ( DataContext dc ) : IQueryable

Find all Greenhouse's

AllByUsername ( DataContext dc, string username ) : IQueryable
AllByUsername ( string username ) : IQueryable
ByID ( DataContext dc, int greenhouseID ) : Greenhouse
ByID ( int greenhouseID ) : Greenhouse
Delete ( ) : void

Delete Greenhouse

Delete ( DataContext dc ) : void

Delete Greenhouse

Delete ( DataContext dc, Greenhouse greenhouse ) : void

Delete a single greenhouse

Delete ( Greenhouse greenhouse ) : void

Delete a single greenhouse

Find ( ) : IQueryable

Find all Greenhouse's

Find ( DataContext dc ) : IQueryable

Find all Greenhouse's

FindByUsername ( DataContext dc, string username ) : IQueryable
FindByUsername ( string username ) : IQueryable
Save ( ) : int

Save Greenhouse

Save ( DataContext dc ) : int

Save Greenhouse

Save ( DataContext dc, Greenhouse greenhouse ) : int

Save a Greenhouse

Save ( Greenhouse greenhouse ) : int

Save a Greenhouse

ToString ( ) : string

Method Details

All() public static method

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

All() public static method

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

AllByUsername() public static method

public static AllByUsername ( DataContext dc, string username ) : IQueryable
dc DV_Enterprises.Web.Data.DataAccess.SqlRepository.DataContext
username string
return IQueryable

AllByUsername() public static method

public static AllByUsername ( string username ) : IQueryable
username string
return IQueryable

ByID() public static method

public static ByID ( DataContext dc, int greenhouseID ) : Greenhouse
dc DV_Enterprises.Web.Data.DataAccess.SqlRepository.DataContext
greenhouseID int
return Greenhouse

ByID() public static method

public static ByID ( int greenhouseID ) : Greenhouse
greenhouseID int
return Greenhouse

Delete() public method

Delete Greenhouse
public Delete ( ) : void
return void

Delete() public method

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

Delete() public static method

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

Delete() public static method

Delete a single greenhouse
public static Delete ( Greenhouse greenhouse ) : void
greenhouse Greenhouse
return void

Find() public static method

Find all Greenhouse's
public static Find ( ) : IQueryable
return IQueryable

Find() public static method

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

FindByUsername() public static method

public static FindByUsername ( DataContext dc, string username ) : IQueryable
dc DV_Enterprises.Web.Data.DataAccess.SqlRepository.DataContext
username string
return IQueryable

FindByUsername() public static method

public static FindByUsername ( string username ) : IQueryable
username string
return IQueryable

Save() public method

Save Greenhouse
public Save ( ) : int
return int

Save() public method

Save Greenhouse
public Save ( DataContext dc ) : int
dc DataContext
return int

Save() public static method

Save a Greenhouse
public static Save ( DataContext dc, Greenhouse greenhouse ) : int
dc DataContext
greenhouse Greenhouse
return int

Save() public static method

Save a Greenhouse
public static Save ( Greenhouse greenhouse ) : int
greenhouse Greenhouse
return int

ToString() public method

public ToString ( ) : string
return string