C# Class VOTSDR.Data.DataEntities

No Metadata Documentation available.
Inheritance: ObjectContext
Mostra file Open project: apoco/valleyofthesundogrescue Class Usage Examples

Public Methods

Method 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

Method Description
OnContextCreated ( ) : void

Method Details

AddToContents() public method

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
return void

AddToDogs() public method

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
return void

AddToEvents() public method

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
return void

AddToNewsStories() public method

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
return void

AddToSpecialNeedsStories() public method

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
return void

DataEntities() public method

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

DataEntities() public method

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

DataEntities() public method

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