Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        //////////////////////////////////////////////////////////////////////////////

        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));
        }