Argentini.Halide.H3DataRow.Exec C# (CSharp) Method

Exec() public method

Execute the specified stored procedure. Parameters used in the stored procedure must match column names in the currently loaded data row. If so, this method will automatically send the appropriate data to the procedure.

This method is useful for saving the record back to the database, marking a record for deletion, and more.

This method assumes that the stored procedure returns a value. If it does not, the procedure will execute, but an exception will be thrown.

public Exec ( String spName, System.Boolean sendAll ) : String
spName String Name of the stored procedure.
sendAll System.Boolean Send all columns to the stored procedure as parameters, /// instead of auto-detecting which parameters the procedure wants. This is /// useful when you construct the class using a reader that has disabled the /// feature whereby it loads the schema.
return String
        public String Exec(String spName, Boolean sendAll)
        {
            return Exec(spName, sendAll, true);
        }

Same methods

H3DataRow::Exec ( String spName ) : String
H3DataRow::Exec ( String spName, System.Boolean sendAll, System.Boolean returnsValue ) : String