public RelationshipBuilder RelateTo(Id id)
 {
     RelatedEntities.Add(id);
     return(this);
 }
Beispiel #2
0
        public Associate With <TRelatedEntity>(TRelatedEntity entity) where TRelatedEntity : CrmPlusPlusEntity, new()
        {
            RelatedEntities.Add(entity.Id, EntityNameAttribute.GetFromType <TRelatedEntity>());

            return(this);
        }