ActionDataContext Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 ActionDataContext Class
Patterns-In-Action! ApplicationDataObjects.LinqActionDataContext
Declaration Syntax
C# Visual Basic
public class ActionDataContext : DataContext
Public Class ActionDataContext _
	Inherits DataContext
Members
All Members Constructors Methods Properties



Icon Member Description
ActionDataContext()()()
Initializes a new instance of the ActionDataContext class

ActionDataContext(String)
Initializes a new instance of the ActionDataContext class

ActionDataContext(IDbConnection)
Initializes a new instance of the ActionDataContext class

ActionDataContext(String, MappingSource)
Initializes a new instance of the ActionDataContext class

ActionDataContext(IDbConnection, MappingSource)
Initializes a new instance of the ActionDataContext class

CategoryEntities
ChangeConflicts
Returns a collection of objects that caused concurrency conflicts when SubmitChanges()()() was called.
(Inherited from DataContext.)
CommandTimeout
Increases the time-out period for queries that would otherwise time out during the default time-out period.
(Inherited from DataContext.)
Connection
Returns the connection used by the framework.
(Inherited from DataContext.)
CreateDatabase()()()
Creates a database on the server.
(Inherited from DataContext.)
CreateMethodCallQuery<(Of <(TResult>)>)(Object, MethodInfo, array<Object>[]()[])
Executes the table-valued database function associated with the specified CLR method.
(Inherited from DataContext.)
CustomerEntities
DatabaseExists()()()
Determines whether the associated database can be opened.
(Inherited from DataContext.)
DeferredLoadingEnabled
Specifies whether to delay-load one-to-many or one-to-one relationships.
(Inherited from DataContext.)
DeleteDatabase()()()
Deletes the associated database.
(Inherited from DataContext.)
Dispose()()()
Releases all resources used by the DataContext.
(Inherited from DataContext.)
Dispose(Boolean)
Releases resources used by the DataContext.
(Inherited from DataContext.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecuteCommand(String, array<Object>[]()[])
Executes SQL commands directly on the database.
(Inherited from DataContext.)
ExecuteDynamicDelete(Object)
Called inside delete override methods to redelegate to LINQ to SQL the task of generating and executing dynamic SQL for delete operations.
(Inherited from DataContext.)
ExecuteDynamicInsert(Object)
Called inside insert override methods to redelegate to LINQ to SQL the task of generating and executing dynamic SQL for insert operations.
(Inherited from DataContext.)
ExecuteDynamicUpdate(Object)
Called inside update override methods to redelegate to LINQ to SQL the task of generating and executing dynamic SQL for update operations.
(Inherited from DataContext.)
ExecuteMethodCall(Object, MethodInfo, array<Object>[]()[])
Executes the stored database procedure or scalar function associated with the specified CLR method.
(Inherited from DataContext.)
ExecuteQuery<(Of <(TResult>)>)(String, array<Object>[]()[])
Executes SQL queries directly on the database and returns objects.
(Inherited from DataContext.)
ExecuteQuery(Type, String, array<Object>[]()[])
Executes SQL queries directly on the database.
(Inherited from DataContext.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetChangeSet()()()
Provides access to the modified objects tracked by DataContext.
(Inherited from DataContext.)
GetCommand(IQueryable)
Provides information about SQL commands generated by LINQ to SQL.
(Inherited from DataContext.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetTable<(Of <(TEntity>)>)()()()
Returns a collection of objects of a particular type, where the type is defined by the TEntity parameter.
(Inherited from DataContext.)
GetTable(Type)
Returns a collection of objects of a particular type, where the type is defined by the type parameter.
(Inherited from DataContext.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
LoadOptions
Gets or sets the DataLoadOptions associated with this DataContext.
(Inherited from DataContext.)
Log
Specifies the destination to write the SQL query or command.
(Inherited from DataContext.)
Mapping
Returns the MetaModel on which the mapping is based.
(Inherited from DataContext.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ObjectTrackingEnabled
Instructs the framework to track the original value and object identity for this DataContext.
(Inherited from DataContext.)
OrderDetailEntities
OrderEntities
ProductEntities
Refresh(RefreshMode, Object)
Refreshes an entity object according to the specified mode.
(Inherited from DataContext.)
Refresh(RefreshMode, array<Object>[]()[])
Refreshes an array of entity objects according to the specified mode.
(Inherited from DataContext.)
Refresh(RefreshMode, IEnumerable)
Refreshes a collection of entity objects according to the specified mode.
(Inherited from DataContext.)
SubmitChanges()()()
Computes the set of modified objects to be inserted, updated, or deleted, and executes the appropriate commands to implement the changes to the database.
(Inherited from DataContext.)
SubmitChanges(ConflictMode)
Sends changes that were made to retrieved objects to the underlying database, and specifies the action to be taken if the submission fails.
(Inherited from DataContext.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Transaction
Sets a local transaction for the .NET Framework to use to access the database.
(Inherited from DataContext.)
Translate<(Of <(TResult>)>)(DbDataReader)
Converts an existing DbDataReader to objects.
(Inherited from DataContext.)
Translate(Type, DbDataReader)
Converts an existing DbDataReader to objects.
(Inherited from DataContext.)
Inheritance Hierarchy
Object
DataContext
  ActionDataContext

Assembly: DataObjects (Module: DataObjects) Version: 1.0.0.0 (1.0.0.0)