C# Класс GiveCampStarterSite.Models.GiveCampEntities

No Metadata Documentation available.
Наследование: ObjectContext
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
OnContextCreated ( ) : void

Описание методов

AddToCharities() публичный Метод

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
Результат void

AddToCharityProjects() публичный Метод

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
Результат void

AddToEventSettings() публичный Метод

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
Результат void

AddToPages() публичный Метод

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
Результат void

AddToPosts() публичный Метод

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
Результат void

AddToSponsors() публичный Метод

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
Результат void

AddToUsers() публичный Метод

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
Результат void

AddToVolunteers() публичный Метод

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
Результат void

GiveCampEntities() публичный Метод

Initializes a new GiveCampEntities object using the connection string found in the 'GiveCampEntities' section of the application configuration file.
public GiveCampEntities ( ) : System
Результат System

GiveCampEntities() публичный Метод

Initialize a new GiveCampEntities object.
public GiveCampEntities ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
Результат System

GiveCampEntities() публичный Метод

Initialize a new GiveCampEntities object.
public GiveCampEntities ( string connectionString ) : System
connectionString string
Результат System