C# Class GiveCampStarterSite.Models.GiveCampEntities

No Metadata Documentation available.
Inheritance: ObjectContext
Datei anzeigen Open project: GiveCamp/GiveCampStarterSite

Public Methods

Method Description
AddToCharities ( Charity charity ) : void

Deprecated Method for adding a new object to the Charities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToCharityProjects ( CharityProject charityProject ) : void

Deprecated Method for adding a new object to the CharityProjects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToEventSettings ( EventSetting eventSetting ) : void

Deprecated Method for adding a new object to the EventSettings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToPages ( Page page ) : void

Deprecated Method for adding a new object to the Pages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToPosts ( Post post ) : void

Deprecated Method for adding a new object to the Posts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToSponsors ( Sponsor sponsor ) : void

Deprecated Method for adding a new object to the Sponsors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToUsers ( User user ) : void

Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

AddToVolunteers ( Volunteer volunteer ) : void

Deprecated Method for adding a new object to the Volunteers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.

GiveCampEntities ( ) : System

Initializes a new GiveCampEntities object using the connection string found in the 'GiveCampEntities' section of the application configuration file.

GiveCampEntities ( System.Data.EntityClient.EntityConnection connection ) : System

Initialize a new GiveCampEntities object.

GiveCampEntities ( string connectionString ) : System

Initialize a new GiveCampEntities object.

Private Methods

Method Description
OnContextCreated ( ) : void

Method Details

AddToCharities() public method

Deprecated Method for adding a new object to the Charities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToCharities ( Charity charity ) : void
charity Charity
return void

AddToCharityProjects() public method

Deprecated Method for adding a new object to the CharityProjects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToCharityProjects ( CharityProject charityProject ) : void
charityProject CharityProject
return void

AddToEventSettings() public method

Deprecated Method for adding a new object to the EventSettings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToEventSettings ( EventSetting eventSetting ) : void
eventSetting EventSetting
return void

AddToPages() public method

Deprecated Method for adding a new object to the Pages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToPages ( Page page ) : void
page Page
return void

AddToPosts() public method

Deprecated Method for adding a new object to the Posts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToPosts ( Post post ) : void
post Post
return void

AddToSponsors() public method

Deprecated Method for adding a new object to the Sponsors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToSponsors ( Sponsor sponsor ) : void
sponsor Sponsor
return void

AddToUsers() public method

Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToUsers ( User user ) : void
user User
return void

AddToVolunteers() public method

Deprecated Method for adding a new object to the Volunteers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToVolunteers ( Volunteer volunteer ) : void
volunteer Volunteer
return void

GiveCampEntities() public method

Initializes a new GiveCampEntities object using the connection string found in the 'GiveCampEntities' section of the application configuration file.
public GiveCampEntities ( ) : System
return System

GiveCampEntities() public method

Initialize a new GiveCampEntities object.
public GiveCampEntities ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
return System

GiveCampEntities() public method

Initialize a new GiveCampEntities object.
public GiveCampEntities ( string connectionString ) : System
connectionString string
return System