public DbParameter GetParameter(CrParameter crp) { DbParameter prm = CreateParameter(crp); switch (crp.Type) { case CrType.INT: SetINT(prm); break; case CrType.DATE: SetDT(prm); break; case CrType.STR: SetSTR(prm); break; } return(prm); }
protected override DbParameter CreateParameter(CrParameter crp) { return(new OracleParameter()); }
protected abstract DbParameter CreateParameter(CrParameter crp);