DataHelper.BuildDeleteCommand

This method builds delete commands based on individual Sql statements

public static IDbCommand BuildDeleteCommand( string tableName,
	string primaryKeyFieldName,
	object primaryKeyValue,
	IDataService dataService );

Return Value

IDbCommand object

Parameters

tableName
Name of the table that contains the record that is to be deleted.

primaryKeyFieldName
Primary key field name

primaryKeyValue
Primary key value

dataService
Instance of a concrete data service


See also:

Class DataHelper


  Last Updated: 5/23/2007 | © , 2007