C# 클래스 Deveel.Data.Transactions.TransactionConstraintExtensions

파일 보기 프로젝트 열기: deveel/deveeldb

공개 메소드들

메소드 설명
AddCheck ( this transaction, ObjectName tableName, SqlExpression expression, ConstraintDeferrability deferrability, string constraintName ) : void
AddForeignKey ( this transaction, ObjectName table, string columns, ObjectName refTable, string refColumns, ConstraintDeferrability deferred, String constraintName ) : void
AddForeignKey ( this transaction, ObjectName table, string columns, ObjectName refTable, string refColumns, ForeignKeyAction deleteRule, ForeignKeyAction updateRule, ConstraintDeferrability deferred, String constraintName ) : void
AddForeignKey ( this transaction, ObjectName table, string columns, ObjectName refTable, string refColumns, ForeignKeyAction deleteRule, ForeignKeyAction updateRule, String constraintName ) : void
AddForeignKey ( this transaction, ObjectName table, string columns, ObjectName refTable, string refColumns, String constraintName ) : void
AddPrimaryKey ( this transaction, ObjectName tableName, string columns, ConstraintDeferrability deferred, string constraintName ) : void
AddPrimaryKey ( this transaction, ObjectName tableName, string columns, string constraintName ) : void
AddUniqueKey ( this transaction, ObjectName tableName, string columns, ConstraintDeferrability deferred, string constraintName ) : void
AddUniqueKey ( this transaction, ObjectName tableName, string columns, string constraintName ) : void
CheckAddConstraintViolations ( this transaction, ITable table, ConstraintDeferrability deferred ) : void
CheckAddConstraintViolations ( this transaction, ITable table, int rowIndices, ConstraintDeferrability deferred ) : void
CheckAllConstraintViolations ( this transaction, ObjectName tableName ) : void
CheckFieldConstraintViolations ( this transaction, ITable table, int rowIndices ) : void
CheckRemoveConstraintViolations ( this transaction, ITable table, int rowIndices, ConstraintDeferrability deferred ) : void
DropAllTableConstraints ( this transaction, ObjectName tableName ) : void
DropTableCheck ( this transaction, ObjectName table, string constraintName ) : bool
DropTableConstraint ( this transaction, ObjectName tableName, string constraintName ) : int
DropTableForeignKey ( this transaction, ObjectName table, string constraintName ) : bool
DropTablePrimaryKey ( this transaction, ObjectName tableName, string constraintName ) : bool
DropTableUniqueKey ( this transaction, ObjectName table, string constraintName ) : bool
QueryTableCheckExpressions ( this transaction, ObjectName tableName ) : ConstraintInfo[]
QueryTableForeignKeys ( this transaction, ObjectName tableName ) : ConstraintInfo[]
QueryTableImportedForeignKeys ( this transaction, ObjectName refTableName ) : ConstraintInfo[]
QueryTablePrimaryKey ( this transaction, ObjectName tableName ) : ConstraintInfo
QueryTableUniqueKeys ( this transaction, ObjectName tableName ) : ConstraintInfo[]
QueryTablesRelationallyLinkedTo ( this transaction, ObjectName tableName ) : ObjectName[]

비공개 메소드들

메소드 설명
IsUniqueColumns ( ITable table, int rindex, string cols, bool nullsAllowed ) : bool
MakeUniqueConstraintName ( string constraintName, SqlNumber uniqueId ) : string
RowCountOfReferenceTable ( this transaction, int rowIndex, ObjectName table1, string cols1, ObjectName table2, String cols2, bool checkSourceTableKey ) : int
ToColumns ( ITable table, IEnumerable cols ) : String[]

메소드 상세

AddCheck() 공개 정적인 메소드

public static AddCheck ( this transaction, ObjectName tableName, SqlExpression expression, ConstraintDeferrability deferrability, string constraintName ) : void
transaction this
tableName ObjectName
expression Deveel.Data.Sql.Expressions.SqlExpression
deferrability ConstraintDeferrability
constraintName string
리턴 void

AddForeignKey() 공개 정적인 메소드

public static AddForeignKey ( this transaction, ObjectName table, string columns, ObjectName refTable, string refColumns, ConstraintDeferrability deferred, String constraintName ) : void
transaction this
table ObjectName
columns string
refTable ObjectName
refColumns string
deferred ConstraintDeferrability
constraintName String
리턴 void

AddForeignKey() 공개 정적인 메소드

public static AddForeignKey ( this transaction, ObjectName table, string columns, ObjectName refTable, string refColumns, ForeignKeyAction deleteRule, ForeignKeyAction updateRule, ConstraintDeferrability deferred, String constraintName ) : void
transaction this
table ObjectName
columns string
refTable ObjectName
refColumns string
deleteRule ForeignKeyAction
updateRule ForeignKeyAction
deferred ConstraintDeferrability
constraintName String
리턴 void

AddForeignKey() 공개 정적인 메소드

public static AddForeignKey ( this transaction, ObjectName table, string columns, ObjectName refTable, string refColumns, ForeignKeyAction deleteRule, ForeignKeyAction updateRule, String constraintName ) : void
transaction this
table ObjectName
columns string
refTable ObjectName
refColumns string
deleteRule ForeignKeyAction
updateRule ForeignKeyAction
constraintName String
리턴 void

AddForeignKey() 공개 정적인 메소드

public static AddForeignKey ( this transaction, ObjectName table, string columns, ObjectName refTable, string refColumns, String constraintName ) : void
transaction this
table ObjectName
columns string
refTable ObjectName
refColumns string
constraintName String
리턴 void

AddPrimaryKey() 공개 정적인 메소드

public static AddPrimaryKey ( this transaction, ObjectName tableName, string columns, ConstraintDeferrability deferred, string constraintName ) : void
transaction this
tableName ObjectName
columns string
deferred ConstraintDeferrability
constraintName string
리턴 void

AddPrimaryKey() 공개 정적인 메소드

public static AddPrimaryKey ( this transaction, ObjectName tableName, string columns, string constraintName ) : void
transaction this
tableName ObjectName
columns string
constraintName string
리턴 void

AddUniqueKey() 공개 정적인 메소드

public static AddUniqueKey ( this transaction, ObjectName tableName, string columns, ConstraintDeferrability deferred, string constraintName ) : void
transaction this
tableName ObjectName
columns string
deferred ConstraintDeferrability
constraintName string
리턴 void

AddUniqueKey() 공개 정적인 메소드

public static AddUniqueKey ( this transaction, ObjectName tableName, string columns, string constraintName ) : void
transaction this
tableName ObjectName
columns string
constraintName string
리턴 void

CheckAddConstraintViolations() 공개 정적인 메소드

public static CheckAddConstraintViolations ( this transaction, ITable table, ConstraintDeferrability deferred ) : void
transaction this
table ITable
deferred ConstraintDeferrability
리턴 void

CheckAddConstraintViolations() 공개 정적인 메소드

public static CheckAddConstraintViolations ( this transaction, ITable table, int rowIndices, ConstraintDeferrability deferred ) : void
transaction this
table ITable
rowIndices int
deferred ConstraintDeferrability
리턴 void

CheckAllConstraintViolations() 공개 정적인 메소드

public static CheckAllConstraintViolations ( this transaction, ObjectName tableName ) : void
transaction this
tableName ObjectName
리턴 void

CheckFieldConstraintViolations() 공개 정적인 메소드

public static CheckFieldConstraintViolations ( this transaction, ITable table, int rowIndices ) : void
transaction this
table ITable
rowIndices int
리턴 void

CheckRemoveConstraintViolations() 공개 정적인 메소드

public static CheckRemoveConstraintViolations ( this transaction, ITable table, int rowIndices, ConstraintDeferrability deferred ) : void
transaction this
table ITable
rowIndices int
deferred ConstraintDeferrability
리턴 void

DropAllTableConstraints() 공개 정적인 메소드

public static DropAllTableConstraints ( this transaction, ObjectName tableName ) : void
transaction this
tableName ObjectName
리턴 void

DropTableCheck() 공개 정적인 메소드

public static DropTableCheck ( this transaction, ObjectName table, string constraintName ) : bool
transaction this
table ObjectName
constraintName string
리턴 bool

DropTableConstraint() 공개 정적인 메소드

public static DropTableConstraint ( this transaction, ObjectName tableName, string constraintName ) : int
transaction this
tableName ObjectName
constraintName string
리턴 int

DropTableForeignKey() 공개 정적인 메소드

public static DropTableForeignKey ( this transaction, ObjectName table, string constraintName ) : bool
transaction this
table ObjectName
constraintName string
리턴 bool

DropTablePrimaryKey() 공개 정적인 메소드

public static DropTablePrimaryKey ( this transaction, ObjectName tableName, string constraintName ) : bool
transaction this
tableName ObjectName
constraintName string
리턴 bool

DropTableUniqueKey() 공개 정적인 메소드

public static DropTableUniqueKey ( this transaction, ObjectName table, string constraintName ) : bool
transaction this
table ObjectName
constraintName string
리턴 bool

QueryTableCheckExpressions() 공개 정적인 메소드

public static QueryTableCheckExpressions ( this transaction, ObjectName tableName ) : ConstraintInfo[]
transaction this
tableName ObjectName
리턴 ConstraintInfo[]

QueryTableForeignKeys() 공개 정적인 메소드

public static QueryTableForeignKeys ( this transaction, ObjectName tableName ) : ConstraintInfo[]
transaction this
tableName ObjectName
리턴 ConstraintInfo[]

QueryTableImportedForeignKeys() 공개 정적인 메소드

public static QueryTableImportedForeignKeys ( this transaction, ObjectName refTableName ) : ConstraintInfo[]
transaction this
refTableName ObjectName
리턴 ConstraintInfo[]

QueryTablePrimaryKey() 공개 정적인 메소드

public static QueryTablePrimaryKey ( this transaction, ObjectName tableName ) : ConstraintInfo
transaction this
tableName ObjectName
리턴 ConstraintInfo

QueryTableUniqueKeys() 공개 정적인 메소드

public static QueryTableUniqueKeys ( this transaction, ObjectName tableName ) : ConstraintInfo[]
transaction this
tableName ObjectName
리턴 ConstraintInfo[]

QueryTablesRelationallyLinkedTo() 공개 정적인 메소드

public static QueryTablesRelationallyLinkedTo ( this transaction, ObjectName tableName ) : ObjectName[]
transaction this
tableName ObjectName
리턴 ObjectName[]