Knight Data Access Layer
Save(T) Method




KellermanSoftware.NetDataAccessLayer Namespace > BaseRepository<T> Class > Save Method : Save(T) Method
Insert or Update a record depending upon if the primary keys is the default value
Syntax
Public Overloads Sub Save( _
   ByVal entity As T _
) 
Dim instance As BaseRepository(Of T)
Dim entity As T
 
instance.Save(entity)
public void Save( 
   T entity
)
public: void Save( 
   T* entity
) 
public:
void Save( 
   T^ entity
) 

Parameters

entity
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

BaseRepository<T> Class
BaseRepository<T> Members
Overload List