public static ForeignKeyViolationException UnaryTernary(string fromRelvar, int column, string toRelvar, Obj[] toTuple) { ForeignKeyType type = new UnaryTernaryForeignKeyType(column); return(new ForeignKeyViolationException(type, fromRelvar, toRelvar, new Obj[] { toTuple[column - 1] }, toTuple)); }
////////////////////////////////////////////////////////////////////////////// public static ForeignKeyViolationException UnaryTernary(string fromRelvar, int column, string toRelvar, Obj fromArg) { ForeignKeyType type = new UnaryTernaryForeignKeyType(column); return(new ForeignKeyViolationException(type, fromRelvar, toRelvar, new Obj[] { fromArg }, null)); }