System.Data.Entity.Core Namespace

Classes

EntityCommandCompilationException

Represents a failure while trying to prepare or execute a CommandCompilation This exception is intended to provide a common exception that people can catch to hold provider exceptions (SqlException, OracleException) when using the EntityCommand to execute statements.

EntityCommandExecutionException

Represents a failure while trying to prepare or execute a CommandExecution This exception is intended to provide a common exception that people can catch to hold provider exceptions (SqlException, OracleException) when using the EntityCommand to execute statements.

EntityException

Provider exception - Used by the entity client.

EntityKey

An identifier for an entity.

EntityKeyMember

Information about a key that is part of an EntityKey. A key member contains the key name and value.

EntitySqlException

Represents an eSQL Query compilation exception; The class of exceptional conditions that may cause this exception to be raised are mainly:

  1. Syntax Errors: raised during query text parsing and when a given query does not conform to eSQL formal grammar;
  2. Semantic Errors: raised when semantic rules of eSQL language are not met such as metadata or schema information not accurate or not present, type validation errors, scoping rule violations, user of undefined variables, etc. For more information, see eSQL Language Spec.
InvalidCommandTreeException

Thrown to indicate that a command tree is invalid.

MappingException

Mapping exception class. Note that this class has state - so if you change even its internals, it can be a breaking change

MetadataException

metadata exception class

ObjectNotFoundException

This exception is thrown when a requested object is not found in the store.

OptimisticConcurrencyException

This exception is thrown when a update operation violates the concurrency constraint.

PropertyConstraintException

Property constraint exception class. Note that this class has state - so if you change even its internals, it can be a breaking change

ProviderIncompatibleException

This exception is thrown when the store provider exhibits a behavior incompatible with the entity client provider

UpdateException

Exception during save changes to store

Interfaces

IExtendedDataRecord

DataRecord interface supporting structured types and rich metadata information.