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

            return(this);
        }