GenericRepository(TEntity).Edit Method

Template MVC

GenericRepositoryTEntityEdit Method

Marks the passed entity as Modified, the changes will persist on Save

Namespace:  Template.Repository.Core
Assembly:  Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual TEntity Edit(
	TEntity entity
)

Parameters

entity
Type: TEntity

[Missing <param name="entity"/> documentation for "M:Template.Repository.Core.GenericRepository`1.Edit(`0)"]

Return Value

Type: TEntity
The modified entity

Implements

IGenericRepositoryTEntityEdit(TEntity)
See Also