'Declaration Public Overloads Shared Function AddAsync(Of T As Class)( _ ByVal dataCollection As IDataCollection(Of T), _ ByVal item As T _ ) As Task(Of Integer)
public static Task<int> AddAsync<T>( IDataCollection<T> dataCollection, T item ) where T: class
Parameters
- dataCollection
- The data collection.
- item
- The item to be added.
Type Parameters
- T