SnapDAL Library Documentation

SqlProvider.AddStatementForProcToStatementsFile Method (String, String, String)

Adds a statement for the given stored procedure name to the specified statements.xml file.

public static void AddStatementForProcToStatementsFile(
   string connect,
   string procName,
   string statementsFile
);

Parameters

connect
Connection string for the database the procedure is located in.
procName
Stored procedure name.
statementsFile
Name of the statements.xml file where the new statement will be inserted.

Remarks

If the statements.xml file specified does not exist it will be created.

If a statement of the same name already exists in the statements.xml file it will become overwritten with the new version.

See Also

SqlProvider Class | SnapDAL.Providers Namespace | SqlProvider.AddStatementForProcToStatementsFile Overload List