Use of Template and where in C#
public abstract class BaseDA where T : BaseEntity
{
}
where T:BaseEntity defines it should be of type BaseEntity only otherwise it would give runtime exceptions
public abstract class BaseDA
{
}
where T:BaseEntity defines it should be of type BaseEntity only otherwise it would give runtime exceptions