Export (0) Print
Expand All

System.Data.Entity.Core Namespace

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

The System.Data.Entity.Core namespace that contains exception classes.

  ClassDescription
Public classEntityCommandCompilationExceptionRepresents 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.
Public classEntityCommandExecutionExceptionRepresents 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.
Public classEntityExceptionProvides exception used by the entity client.
Public classEntityKeyRepresents an identifier for an entity.
Public classEntityKeyMember Information about a key that is part of an EntityKey. A key member contains the key name and value.
Public classEntitySqlExceptionRepresents 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.
Public classInvalidCommandTreeException Thrown to indicate that a command tree is invalid.
Public classMappingException Mapping exception class. Note that this class has state - so if you change even its internals, it can be a breaking change
Public classMetadataException metadata exception class
Public classObjectNotFoundExceptionThis exception is thrown when a requested object is not found in the store.
Public classOptimisticConcurrencyExceptionThis exception is thrown when a update operation violates the concurrency constraint.
Public classPropertyConstraintExceptionRepresents the property constraint exception class. Note that this class has state - so if you change even its internals, it can be a breaking change.
Public classProviderIncompatibleExceptionThe exception that is thrown when the store provider exhibits a behavior incompatible with the entity client provider.
Public classUpdateExceptionThe exception that is thrown during save changes to store failed to update.

  InterfaceDescription
Public interfaceIExtendedDataRecordProvides DataRecord interface supporting structured types and rich metadata information.
Show:
© 2014 Microsoft