public void CreateParameter(string name, int size, object value, DbType dbType, ParameterDirection direction) { parameters.Add(ParameterManager.CreateParameter(providerName, name, size, value, dbType, direction)); }
public void CreateParameter(string name, object value, DbType dbType) { parameters.Add(ParameterManager.CreateParameter(providerName, name, value, dbType, ParameterDirection.Input)); }