Insert(T) Method

SimpleEssentials

DbDataProvider..::..Insert<(Of <(<'T>)>)> Method

Inserts a strongly typed object into a table.

Namespace:  SimpleEssentials.DataProvider
Assembly:  SimpleEssentials (in SimpleEssentials.dll)

Syntax


public bool Insert<T>(
	T data,
	CacheSettings cacheSettings
)
Public Function Insert(Of T) ( _
	data As T, _
	cacheSettings As CacheSettings _
) As Boolean
public:
generic<typename T>
bool^ Insert(
	T data, 
	CacheSettings^ cacheSettings
)

Type Parameters

T

Parameters

data
Type: T
The data.
cacheSettings
Type: SimpleEssentials.Cache..::..CacheSettings
The cache settings.

Return Value

True if successful, false if not