Ejemplo n.º 1
0
        public void Persist(Relationship _relationship)
        {
            RelationshipDAO dao = new RelationshipDAO(MongoDB);

            dao.Persist(_relationship);
        }
Ejemplo n.º 2
0
        public List <Relationship> GetRelationships(Guid _formRecordGuid)
        {
            RelationshipDAO dao = new RelationshipDAO(MongoDB);

            return(dao.GetChildrenOf(_formRecordGuid));
        }
Ejemplo n.º 3
0
        public Relationship GetRelationship(Guid _relationshipGuid)
        {
            RelationshipDAO dao = new RelationshipDAO(MongoDB);

            return(dao.Get(_relationshipGuid));
        }
Ejemplo n.º 4
0
        public void DeleteRelationship(Guid _relationshipGuid)
        {
            RelationshipDAO dao = new RelationshipDAO(MongoDB);

            dao.Delete(_relationshipGuid);
        }
Ejemplo n.º 5
0
 public RelationshipBUS(MainBUS main)
 {
     this.main            = main;
     this.relationshipDAO = new RelationshipDAO(this.main.GetCommand());
 }