Difference between methods with and without generics
- by isakavis
Can someone help me understand advantages and disadvantages (if any) between the following methods which do the same function of storing away the entity to azure (in my case)?
public bool Save<T>(string tableName, T entity) where T : TableEntityBase, new()
{
throw new NotImplementedException();
}
vs
public bool Save(string tableName, TableEntityBase entity)
{
throw new NotImplementedException();
}