C# Class VOTSDR.Data.DataEntities

No Metadata Documentation available.
Inheritance: ObjectContext
Afficher le fichier Open project: apoco/valleyofthesundogrescue Class Usage Examples

Méthodes publiques

Méthode Description
AddToContents ( Content content ) : void

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

AddToDogs ( Dog dog ) : void

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

AddToEvents ( Event @event ) : void

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

AddToNewsStories ( NewsStory newsStory ) : void

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

AddToSpecialNeedsStories ( SpecialNeedsStory specialNeedsStory ) : void

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

DataEntities ( ) : System

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

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

Initialize a new DataEntities object.

DataEntities ( string connectionString ) : System

Initialize a new DataEntities object.

Private Methods

Méthode Description
OnContextCreated ( ) : void

Method Details

AddToContents() public méthode

Deprecated Method for adding a new object to the Contents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToContents ( Content content ) : void
content Content
Résultat void

AddToDogs() public méthode

Deprecated Method for adding a new object to the Dogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToDogs ( Dog dog ) : void
dog Dog
Résultat void

AddToEvents() public méthode

Deprecated Method for adding a new object to the Events EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToEvents ( Event @event ) : void
@event Event
Résultat void

AddToNewsStories() public méthode

Deprecated Method for adding a new object to the NewsStories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToNewsStories ( NewsStory newsStory ) : void
newsStory NewsStory
Résultat void

AddToSpecialNeedsStories() public méthode

Deprecated Method for adding a new object to the SpecialNeedsStories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead.
public AddToSpecialNeedsStories ( SpecialNeedsStory specialNeedsStory ) : void
specialNeedsStory SpecialNeedsStory
Résultat void

DataEntities() public méthode

Initializes a new DataEntities object using the connection string found in the 'DataEntities' section of the application configuration file.
public DataEntities ( ) : System
Résultat System

DataEntities() public méthode

Initialize a new DataEntities object.
public DataEntities ( System.Data.EntityClient.EntityConnection connection ) : System
connection System.Data.EntityClient.EntityConnection
Résultat System

DataEntities() public méthode

Initialize a new DataEntities object.
public DataEntities ( string connectionString ) : System
connectionString string
Résultat System