private DesetupSyncSnAlbum ( bool signalRelatedEntity, bool resetFKFields ) : void | ||
signalRelatedEntity | bool | If set to true, it will call the related entity's UnsetRelatedEntity method |
resetFKFields | bool | if set to true it will also reset the FK fields pointing to the related entity |
return | void |
private void DesetupSyncSnAlbum(bool signalRelatedEntity, bool resetFKFields)
{
this.PerformDesetupSyncRelatedEntity( _snAlbum, new PropertyChangedEventHandler( OnSnAlbumPropertyChanged ), "SnAlbum", MonoSoftware.MonoX.DAL.RelationClasses.StaticSnRelationshipRelations.SnAlbumEntityUsingAlbumIdStatic, true, signalRelatedEntity, "SnRelationships", resetFKFields, new int[] { (int)SnRelationshipFieldIndex.AlbumId } );
_snAlbum = null;
}