コード例 #1
0
        public IEnumerable <int> QueryPrimaryKeyArray(OracleConnection connection, string where0, object value0, string where1, object value1)
        {
            var column = QM.GetPkName(connection, table);

            return(QueryIntegerArray(connection, column, where0, value0, where1, value1));
        }
コード例 #2
0
        public bool Exists(OracleConnection connection, int id)
        {
            var pkname = QM.GetPkName(connection, table);

            return(QueryInteger(connection, pkname, id) != null);;
        }