DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Attributes | List of all members
Deveel.Data.Sql.SqlModelErrorCodes Class Reference

Enumerates a known set of codes in a SQL Model More...

Public Attributes

const int StatementPrepare = 50
 The preparation of a SQL statement caused an unhanded error. More...
 
const int StatementExecute = 51
 The execution of a SQL statement caused an unhanded error. More...
 
const int PrimaryKeyViolation = 20
 A Primary Key constraint violation error code. More...
 
const int UniqueViolation = 21
 A Unique constraint violation error code. More...
 
const int CheckViolation = 22
 A Check constraint violation error code. More...
 
const int ForeignKeyViolation = 23
 A Foreign Key constraint violation error code. More...
 
const int NullableViolation = 24
 A Nullable constraint violation error code (data added to not null columns that was null). More...
 
const int ObjectTypeViolation = 25
 Type constraint violation error code (tried to insert an object that wasn't derived from the object type defined for the column). More...
 
const int DropTableViolation = 26
 Tried to drop a table that is referenced by another source. More...
 
const int DropColumnViolation = 27
 Column can't be dropped before of an reference to it. More...
 

Detailed Description

Enumerates a known set of codes in a SQL Model

Definition at line 23 of file SqlModelErrorCodes.cs.

Member Data Documentation

const int Deveel.Data.Sql.SqlModelErrorCodes.CheckViolation = 22

A Check constraint violation error code.

Definition at line 47 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.DropColumnViolation = 27

Column can't be dropped before of an reference to it.

Definition at line 74 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.DropTableViolation = 26

Tried to drop a table that is referenced by another source.

Definition at line 69 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.ForeignKeyViolation = 23

A Foreign Key constraint violation error code.

Definition at line 52 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.NullableViolation = 24

A Nullable constraint violation error code (data added to not null columns that was null).

Definition at line 58 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.ObjectTypeViolation = 25

Type constraint violation error code (tried to insert an object that wasn't derived from the object type defined for the column).

Definition at line 64 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.PrimaryKeyViolation = 20

A Primary Key constraint violation error code.

Definition at line 37 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.StatementExecute = 51

The execution of a SQL statement caused an unhanded error.

Definition at line 32 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.StatementPrepare = 50

The preparation of a SQL statement caused an unhanded error.

Definition at line 27 of file SqlModelErrorCodes.cs.

const int Deveel.Data.Sql.SqlModelErrorCodes.UniqueViolation = 21

A Unique constraint violation error code.

Definition at line 42 of file SqlModelErrorCodes.cs.


The documentation for this class was generated from the following file: