Ok,to make the question more clear I want to use the interface to implement to d/t providers (MS-SQL,Oracle...) ,in it there are some signatures to be implemented in the corresponding classes that implement it.I also tried like this ?
genClass"<"typeOj">"
{
typeOj instOj;
public genClass(typeOj o)
{ instOj=o ; }
public typeOj getType()
{ return instOj; }
interface IDBBase
{
DataTable getDataTableSql(DataTable curTable,genClass<idcommand> cmd);
...
}
class DBBase : IDBBase
{
public DataTable getDataTableSql(DataTable curTable, genClass<SqlCommand> cmd)
{
...
}
}