Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / Repository<TEntity> Class / Save Method
Item to be saved or updated
Version
Save Method (Repository<TEntity>)
Saves item to the database
Syntax
public override void Save( 
   TEntity item
)

Parameters

item
Item to be saved or updated
Remarks
This method should not be overridden. A child implementation can override the BeforeSave/AfterSave method to inject behaviors and these will be called automatically by NHibernate during persistence regardless of whether this Save(TEntity) instance method is called.
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