RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

DbContextEfCore..::..DeleteEntity<(Of <(<'TEntity>)>)> Method

Deletes the entity.

Namespace:  RingSoft.DbLookup.EfCore
Assembly:  RingSoft.DbLookup.EfCore (in RingSoft.DbLookup.EfCore.dll)

Syntax


public bool DeleteEntity<TEntity>(
	TEntity entity,
	string message,
	bool silent
)
Public Function DeleteEntity(Of TEntity) ( _
	entity As TEntity, _
	message As String, _
	silent As Boolean _
) As Boolean
public:
generic<typename TEntity>
bool^ DeleteEntity(
	TEntity entity, 
	String^ message, 
	bool^ silent
)

Type Parameters

TEntity
The type of the t entity.

Parameters

entity
Type: TEntity
The entity.
message
Type: String
The message.
silent
Type: Boolean
if set to true [silent].

Return Value

true if XXXX, false otherwise.