.NET has Command Objects.

BTW, I have considerable doubt about the performance advantages by
"precompiling" an SQL string as compared to the numerous advantages
offered by using Stored procedures.

On Dec 18, 9:54 am, nRk <[email protected]> wrote:
> Hi
> java is having something precompiled sql statments through connection
> objects. like
>
> [source java docs]
> PreparedStatement pstmt =  con.prepareStatement("UPDATE EMPLOYEES SET
> SALARY = ? WHERE ID = ?");
>    pstmt.setBigDecimal(1, 153833.00)
>    pstmt.setInt(2, 110592)
>
> Does .net have anything like this in ado.net?
>
> thank
> nrk

Reply via email to