Knight Data Access Layer
DeleteWithChildren Method (BaseRepository<T>)




KellermanSoftware.NetDataAccessLayer Namespace > BaseRepository<T> Class : DeleteWithChildren Method
Delete the corresponding record in the database and all its children
Syntax
Public Sub DeleteWithChildren( _
   ByVal entity As T _
) 
Dim instance As BaseRepository(Of T)
Dim entity As T
 
instance.DeleteWithChildren(entity)
public void DeleteWithChildren( 
   T entity
)
public: void DeleteWithChildren( 
   T* entity
) 
public:
void DeleteWithChildren( 
   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