예제 #1
0
 public Guid CreateAggregatedSolution(string name, AggregatedSolution.AggregatedSolutionType type)
 {
     return(CrmProvider.CreateAggregatedSolution(_service, name, type));
 }
예제 #2
0
        public static Guid CreateAggregatedSolution(IOrganizationService service, string name, AggregatedSolution.AggregatedSolutionType type)
        {
            Entity e = new Entity(AggregatedSolution.EntityLogicalName);

            e[AggregatedSolution.AttributeDefinitions.Name] = name;
            e[AggregatedSolution.AttributeDefinitions.Type] = new OptionSetValue((int)type);
            return(service.Create(e));
        }