Ejemplo n.º 1
0
        private void OnRelationNotLoaded(Guid relationTypeId, long associationObjectId, string roleContents)
        {
            var args = new RelationNotLoadedEventArgs(relationTypeId, associationObjectId, roleContents);

            if (this.relationNotLoaded != null)
            {
                this.relationNotLoaded(this, args);
            }
            else
            {
                throw new Exception("Role not loaded: " + args);
            }
        }
Ejemplo n.º 2
0
 private void OnRelationNotLoaded(Guid relationTypeId, string associationObjectId, string roleContents)
 {
     var args = new RelationNotLoadedEventArgs(relationTypeId, associationObjectId, roleContents);
     if (this.relationNotLoaded != null)
     {
         this.relationNotLoaded(this, args);
     }
     else
     {
         throw new Exception("Role not loaded: " + args);
     }
 }