Class DataHelper

This static class provides methods that may be useful for data related tasks

System.Object
  EPS.Data.DataHelper

public sealed class DataHelper : object

Class Members

MemberDescription
BuildDeleteCommand This method builds delete commands based on individual Sql statements
public static IDbCommand BuildDeleteCommand( string tableName,
string primaryKeyFieldName,
object primaryKeyValue,
IDataService dataService );
BuildSqlUpdateCommand This method takes an empty command object as well as a data row, and builds
public static IDbCommand BuildSqlUpdateCommand( DataRow changedRow,
KeyType primaryKeyType,
string primaryKeyField,
IDataService dataService,
DataRowUpdateMode updateMode );
BuildStoredProcedureUpdateCommand This method takes an empty command object as well as a data row, and builds
public static IDbCommand BuildStoredProcedureUpdateCommand( DataRow changedRow,
KeyType primaryKeyType,
string primaryKeyField,
IDataService dataService,
DataRowUpdateMode updateMode,
string storedProcedurePrefix );
SerializeIDbCommand This method takes an IDbCommand object and serializes it to XML.
public static string SerializeIDbCommand( IDbCommand command,
string entityName );

Requirements

Namespace: EPS.Data
Assembly: DATA.DLL


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