Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / RepositoryWithTypedId<TEntity,TId> Class / Save Method
Item to be saved or updated
In This Topic
    Save Method (RepositoryWithTypedId<TEntity,TId>)
    In This Topic
    Saves item to the database
    Syntax
    public virtual 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