Exemplo n.º 1
0
        public override IRelationship CreateRelationship(
            IRelationshipEnd rel1, IRelationshipEnd rel2)
        {
            ISheet        sheet = rel1.OwnedSheet;
            IRelationship rel   = CreateRelationship();

            rel.End1 = rel1;
            rel.End2 = rel2;
            sheet.AddRelationship(rel);
            return(rel);
        }