Making an ADO.NET call to run a stored procedure using IDbCommand.ExecuteReader(SchemaOnly) and it throws an exception if the stored procedure uses a ...
Making an ADO.NET call to run a stored procedure using IDbCommand.ExecuteReader(SchemaOnly) and it throws an exception if the stored procedure uses a ...
I want substituting IDBCommand with using NSubstitue. I must substitue field CommandText, and I did All right, but compiler throw error: CA210 ...
Is this a reasonable way to add async functionality to the IDbCommand interface? public async static Task<IDataReader> ExecuteReaderAsync(this ...
I am trying to Mock EF on IDBcommandInterceptor For insert / update operations it is enough simple - I can return a DbDataReader made of a single fiel ...
i have trouble calling a function from VB with IDBcommand which returns a integer value The header from my function looks like this: I get an ex ...
I am trying to do something relatively simple using IdbCommand to execute an insert query. Here's the code: But I keep getting a MySqlException wi ...
Here is my problem in detail. I have created a data access layer class that allows me to create most of objects I needed to communicate with databases ...
I have to call stored procs in C# (.Net 2.0) sometimes using an ODBC connection, sometime with SQLClient. I the future we could have to communicate wi ...
I'm trying to get a DataTable or DataSet from an IDataReader, but I'm failing. Here's the code: I'm using IDbConnection and IDbCommand because it w ...
I want to update a dataset in a DB2/AS400 table. The problem is if I there is string parameter in the parameters list the command does not find a row ...
I'm just curious if the IDbCommand.CommandType's value makes a difference in terms of performance? Basically, I could do either set it as CommandType ...
My problem is the following: I want to use the idb intel debugger with eclipse to be able to go step by step through my code, much like idb -gui does ...
I am running Server Application on Windows Server 2008 with SQL Server 2008, Now My scenario is as Given. I have implemented a custom Connection ...
I have a SqlCommand object, and I execute its ExecuteNonQuery method. The query fails, but I can't see how to obtain the query to debug it. Could you ...