C# 클래스 Rock.Model.HistoryService

The data access/service class for the Rock.Model.History entity. This inherits from the Service class
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
AddChanges ( RockContext rockContext, Type modelType, System.Guid categoryGuid, int entityId, List changes, int modifiedByPersonAliasId = null ) : void

Adds the changes.

AddChanges ( RockContext rockContext, Type modelType, System.Guid categoryGuid, int entityId, List changes, string caption, Type relatedModelType, int relatedEntityId, int modifiedByPersonAliasId = null ) : void

Adds the changes.

DeleteChanges ( RockContext rockContext, Type modelType, int entityId ) : void

Deletes any saved history items.

SaveChanges ( RockContext rockContext, Type modelType, System.Guid categoryGuid, int entityId, List changes, bool commitSave = true, int modifiedByPersonAliasId = null ) : void

Saves a list of history messages.

SaveChanges ( RockContext rockContext, Type modelType, System.Guid categoryGuid, int entityId, List changes, string caption, Type relatedModelType, int relatedEntityId, bool commitSave = true, int modifiedByPersonAliasId = null ) : void

Saves the changes.

메소드 상세

AddChanges() 공개 정적인 메소드

Adds the changes.
public static AddChanges ( RockContext rockContext, Type modelType, System.Guid categoryGuid, int entityId, List changes, int modifiedByPersonAliasId = null ) : void
rockContext Rock.Data.RockContext The rock context.
modelType System.Type Type of the model.
categoryGuid System.Guid The category unique identifier.
entityId int The entity identifier.
changes List The changes.
modifiedByPersonAliasId int The modified by person alias identifier.
리턴 void

AddChanges() 공개 정적인 메소드

Adds the changes.
public static AddChanges ( RockContext rockContext, Type modelType, System.Guid categoryGuid, int entityId, List changes, string caption, Type relatedModelType, int relatedEntityId, int modifiedByPersonAliasId = null ) : void
rockContext Rock.Data.RockContext The rock context.
modelType System.Type Type of the model.
categoryGuid System.Guid The category unique identifier.
entityId int The entity identifier.
changes List The changes.
caption string The caption.
relatedModelType System.Type Type of the related model.
relatedEntityId int The related entity identifier.
modifiedByPersonAliasId int The modified by person alias identifier.
리턴 void

DeleteChanges() 공개 정적인 메소드

Deletes any saved history items.
public static DeleteChanges ( RockContext rockContext, Type modelType, int entityId ) : void
rockContext Rock.Data.RockContext The rock context.
modelType System.Type Type of the model.
entityId int The entity identifier.
리턴 void

SaveChanges() 공개 정적인 메소드

Saves a list of history messages.
public static SaveChanges ( RockContext rockContext, Type modelType, System.Guid categoryGuid, int entityId, List changes, bool commitSave = true, int modifiedByPersonAliasId = null ) : void
rockContext Rock.Data.RockContext The rock context.
modelType System.Type Type of the model.
categoryGuid System.Guid The category unique identifier.
entityId int The entity identifier.
changes List The changes.
commitSave bool if set to true [commit save].
modifiedByPersonAliasId int The modified by person alias identifier.
리턴 void

SaveChanges() 공개 정적인 메소드

Saves the changes.
public static SaveChanges ( RockContext rockContext, Type modelType, System.Guid categoryGuid, int entityId, List changes, string caption, Type relatedModelType, int relatedEntityId, bool commitSave = true, int modifiedByPersonAliasId = null ) : void
rockContext Rock.Data.RockContext The rock context.
modelType System.Type Type of the model.
categoryGuid System.Guid The category unique identifier.
entityId int The entity identifier.
changes List The changes.
caption string The caption.
relatedModelType System.Type Type of the related model.
relatedEntityId int The related entity identifier.
commitSave bool if set to true [commit save].
modifiedByPersonAliasId int The modified by person alias identifier.
리턴 void