Knight Data Access Layer
Save<T>(List<T>) Method




KellermanSoftware.NetDataAccessLayer Namespace > ObjectCrud Class > Save Method : Save<T>(List<T>) Method
Generic class type
The list to save
Save a list of items to the database
Syntax
Public Overloads Sub Save(Of T As {Class, New})( _
   ByVal list As List(Of T) _
) 
Dim instance As ObjectCrud
Dim list As List(Of T)
 
instance.Save(Of T)(list)
public void Save<T>( 
   List<T> list
)
where T: class, new()
public: void Save<T>( 
   List<T*>* list
) 
where T: ref class, gcnew()
public:
void Savegeneric<typename T>
( 
   List<T^>^ list
) 
where T: ref class, gcnew()

Parameters

list
The list to save

Type Parameters

T
Generic class type
Remarks
This performs Inserts, Updates, and Deletes. See the Save method for the single object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ObjectCrud Class
ObjectCrud Members
Overload List