DbDataProvider..::..InsertAndReturnId<(Of <(<'T>)>)> Method (T, CacheSettings)
Inserts an object into a table and then return its ID.
Namespace:
SimpleEssentials.DataProvider
Assembly:
SimpleEssentials (in SimpleEssentials.dll)
Syntax
public int InsertAndReturnId<T>( T data, CacheSettings cacheSettings )
Public Function InsertAndReturnId(Of T) ( _ data As T, _ cacheSettings As CacheSettings _ ) As Integer
public: generic<typename T> int^ InsertAndReturnId( T data, CacheSettings^ cacheSettings )
Type Parameters
- T
Parameters
- data
- Type: T
The data.
- cacheSettings
- Type: SimpleEssentials.Cache..::..CacheSettings
The cache settings.