Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

SDK CRM - Connection Role and Solution

$
0
0

I'm creating connection roles via C# as follows:

            // Create a Connection Role for contact
            ConnectionRole newCR_Patient = new ConnectionRole
            {
                Name = "Patient",
                Category = new OptionSetValue(Categories.Business)
            };

            _CRId_Patient = _serviceProxy.Create(newCR_Patient);
            Console.WriteLine("  Created {0}.", newCR_Patient.Name);

            // Create a related Connection Role Object Type Code record for Contact
            createCRObject_Contact(_serviceProxy, _CRId_Patient);

Is there a way to associate the connection role to a solution?  When I execute this code, the connection role is being created in the main customization of my project.  I'd like to create this role in a specific solution - similar to how an entity can be created within a Solution.  Any help, much appreciated.  


Thanks!


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>