diff --git a/.gitignore b/.gitignore index df3aff87..3168ce7d 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,4 @@ UpgradeLog*.XML /NuGet/ScriptSharpVSIX/.vs/ScriptSharpVSIX/v15/sqlite3/storage.ide /spkl/XmlDiffLib /spkl.fakes/.vs/spkl.fakes/v15/sqlite3 +/spkl/.vs/spkl/v15/Server/sqlite3 diff --git a/spkl/CrmSvcUtilFilteringService/CrmSvcUtil.FilteringService.csproj b/spkl/CrmSvcUtilFilteringService/CrmSvcUtil.FilteringService.csproj index a0e419fb..0b0076af 100644 --- a/spkl/CrmSvcUtilFilteringService/CrmSvcUtil.FilteringService.csproj +++ b/spkl/CrmSvcUtilFilteringService/CrmSvcUtil.FilteringService.csproj @@ -8,7 +8,7 @@ Debug spkl.CrmSvcUtilExtensions Library - v4.5.2 + v4.6.2 @@ -50,39 +50,49 @@ False ..\packages\Microsoft.CrmSdk.CoreTools.8.2.0.5\content\bin\coretools\CrmSvcUtil.exe - - ..\packages\Microsoft.CrmSdk.CoreAssemblies.8.2.0.2\lib\net452\Microsoft.Crm.Sdk.Proxy.dll + + ..\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.0.7\lib\net452\Microsoft.Crm.Sdk.Proxy.dll ..\packages\Microsoft.IdentityModel.6.1.7600.16394\lib\net35\Microsoft.IdentityModel.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.22.302111727\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + False + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.17.3\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.22.302111727\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.17.3\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll - - ..\packages\Microsoft.CrmSdk.CoreAssemblies.8.2.0.2\lib\net452\Microsoft.Xrm.Sdk.dll + + ..\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.0.7\lib\net452\Microsoft.Xrm.Sdk.dll - - ..\packages\Microsoft.CrmSdk.Deployment.8.2.0\lib\net45\Microsoft.Xrm.Sdk.Deployment.dll + + ..\packages\Microsoft.CrmSdk.Deployment.9.0.0.7\lib\net452\Microsoft.Xrm.Sdk.Deployment.dll + True - - ..\packages\Microsoft.CrmSdk.Workflow.8.2.0\lib\net45\Microsoft.Xrm.Sdk.Workflow.dll + + False + ..\packages\Microsoft.CrmSdk.Workflow.9.0.0.7\lib\net452\Microsoft.Xrm.Sdk.Workflow.dll + True - - ..\packages\Microsoft.CrmSdk.XrmTooling.CoreAssembly.8.2.0.1\lib\net45\Microsoft.Xrm.Tooling.Connector.dll + + ..\packages\Microsoft.CrmSdk.XrmTooling.CoreAssembly.9.0.0.7\lib\net452\Microsoft.Xrm.Tooling.Connector.dll + True - - ..\packages\Microsoft.CrmSdk.XrmTooling.WpfControls.8.2.0.5\lib\net452\Microsoft.Xrm.Tooling.CrmConnectControl.dll + + ..\packages\Microsoft.CrmSdk.XrmTooling.WpfControls.9.0.0.7\lib\net452\Microsoft.Xrm.Tooling.CrmConnectControl.dll + True - ..\packages\Microsoft.CrmSdk.XrmTooling.WpfControls.8.2.0.5\lib\net452\Microsoft.Xrm.Tooling.Ui.Styles.dll + ..\packages\Microsoft.CrmSdk.XrmTooling.WpfControls.9.0.0.7\lib\net452\Microsoft.Xrm.Tooling.Ui.Styles.dll + True - - ..\packages\Microsoft.CrmSdk.XrmTooling.WpfControls.8.2.0.5\lib\net452\Microsoft.Xrm.Tooling.WebResourceUtility.dll + + False + ..\packages\Microsoft.CrmSdk.XrmTooling.WpfControls.9.0.0.7\lib\net452\Microsoft.Xrm.Tooling.WebResourceUtility.dll + True @@ -93,9 +103,23 @@ - + + ..\packages\System.Net.Http.4.3.3\lib\net46\System.Net.Http.dll + + + ..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net461\System.Security.Cryptography.Algorithms.dll + + + ..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll + + + ..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll + + + ..\packages\System.Security.Cryptography.X509Certificates.4.3.2\lib\net461\System.Security.Cryptography.X509Certificates.dll + @@ -115,11 +139,55 @@ + + + + + PreserveNewest Designer - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spkl/CrmSvcUtilFilteringService/app.config b/spkl/CrmSvcUtilFilteringService/app.config new file mode 100644 index 00000000..83fecb27 --- /dev/null +++ b/spkl/CrmSvcUtilFilteringService/app.config @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spkl/CrmSvcUtilFilteringService/packages.config b/spkl/CrmSvcUtilFilteringService/packages.config index df8c1d6d..16f156b7 100644 --- a/spkl/CrmSvcUtilFilteringService/packages.config +++ b/spkl/CrmSvcUtilFilteringService/packages.config @@ -1,12 +1,16 @@  - - - - - - + + + + + + - - + + + + + + \ No newline at end of file diff --git a/spkl/SparkleXrm.Tasks.Tests/GetWebresources.cs b/spkl/SparkleXrm.Tasks.Tests/GetWebresources.cs index ee93f402..37d58db9 100644 --- a/spkl/SparkleXrm.Tasks.Tests/GetWebresources.cs +++ b/spkl/SparkleXrm.Tasks.Tests/GetWebresources.cs @@ -31,7 +31,8 @@ public void GetWebresourcesWithRootFolder() var existingWebresource = new WebResource { DisplayName = "new_/js/somefile.js", - Name = "new_/js/somefile.js" + Name = "new_/js/somefile.js", + DependencyXml = "" }; // Act diff --git a/spkl/SparkleXrm.Tasks.Tests/SparkleXrm.Tasks.Tests.csproj b/spkl/SparkleXrm.Tasks.Tests/SparkleXrm.Tasks.Tests.csproj index aaf9fac3..f507bace 100644 --- a/spkl/SparkleXrm.Tasks.Tests/SparkleXrm.Tasks.Tests.csproj +++ b/spkl/SparkleXrm.Tasks.Tests/SparkleXrm.Tasks.Tests.csproj @@ -8,7 +8,7 @@ Properties SparkleXrm.Tasks.Tests SparkleXrm.Tasks.Tests - v4.5.2 + v4.6.2 512 {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 10.0 @@ -16,6 +16,7 @@ $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages False UnitTest + true @@ -41,36 +42,36 @@ Plugins.snk - - ..\packages\Microsoft.CrmSdk.CoreAssemblies.8.2.0.2\lib\net452\Microsoft.Crm.Sdk.Proxy.dll + + ..\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.0.7\lib\net452\Microsoft.Crm.Sdk.Proxy.dll ..\packages\Microsoft.IdentityModel.6.1.7600.16394\lib\net35\Microsoft.IdentityModel.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.23.302261847\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.17.3\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.23.302261847\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.17.3\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll False - - ..\packages\Microsoft.CrmSdk.CoreAssemblies.8.2.0.2\lib\net452\Microsoft.Xrm.Sdk.dll + + ..\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.0.7\lib\net452\Microsoft.Xrm.Sdk.dll FakesAssemblies\Microsoft.Xrm.Sdk.8.0.0.0.Fakes.dll - - ..\packages\Microsoft.CrmSdk.Deployment.8.2.0\lib\net45\Microsoft.Xrm.Sdk.Deployment.dll + + ..\packages\Microsoft.CrmSdk.Deployment.9.0.0.7\lib\net452\Microsoft.Xrm.Sdk.Deployment.dll - - ..\packages\Microsoft.CrmSdk.Workflow.8.2.0\lib\net45\Microsoft.Xrm.Sdk.Workflow.dll + + ..\packages\Microsoft.CrmSdk.Workflow.9.0.0.7\lib\net452\Microsoft.Xrm.Sdk.Workflow.dll - - ..\packages\Microsoft.CrmSdk.XrmTooling.CoreAssembly.8.2.0.4\lib\net452\Microsoft.Xrm.Tooling.Connector.dll + + ..\packages\Microsoft.CrmSdk.XrmTooling.CoreAssembly.9.0.0.7\lib\net452\Microsoft.Xrm.Tooling.Connector.dll diff --git a/spkl/SparkleXrm.Tasks.Tests/TestCode.Designer.cs b/spkl/SparkleXrm.Tasks.Tests/TestCode.Designer.cs index 1d2ce069..a9f842e4 100644 --- a/spkl/SparkleXrm.Tasks.Tests/TestCode.Designer.cs +++ b/spkl/SparkleXrm.Tasks.Tests/TestCode.Designer.cs @@ -19,7 +19,7 @@ namespace SparkleXrm.Tasks.Tests { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class TestCode { diff --git a/spkl/SparkleXrm.Tasks.Tests/TestWebResources.cs b/spkl/SparkleXrm.Tasks.Tests/TestWebResources.cs index d727906e..65fd35d7 100644 --- a/spkl/SparkleXrm.Tasks.Tests/TestWebResources.cs +++ b/spkl/SparkleXrm.Tasks.Tests/TestWebResources.cs @@ -13,6 +13,7 @@ using Microsoft.Xrm.Sdk.Messages; using System.Linq; using Microsoft.Crm.Sdk.Messages; +using Microsoft.Xrm.Sdk.Metadata; namespace SparkleXrm.Tasks.Tests { @@ -100,15 +101,23 @@ public void DeployHtmlJSWebresources() var trace = new TraceLogger(); List created = new List(); + List updated = new List(); int publishCount = 0; IOrganizationService service = new Microsoft.Xrm.Sdk.Fakes.StubIOrganizationService() { CreateEntity = delegate (Entity entity) { created.Add(entity); + return Guid.NewGuid(); }, - + + //for dependency test + UpdateEntity = delegate (Entity entity) + { + updated.Add(entity); + }, + ExecuteOrganizationRequest = delegate (OrganizationRequest request) { @@ -135,6 +144,19 @@ public void DeployHtmlJSWebresources() publishCount++; return new PublishXmlResponse(); } + else if (request.GetType() == typeof(RetrieveAttributeRequest)) + { + return new Microsoft.Xrm.Sdk.Messages.Fakes.ShimRetrieveAttributeResponse() + { + AttributeMetadataGet = delegate () { + return new AttributeMetadata() + { + LogicalName = "accountid", + MetadataId = new Guid(), + }; + } + }; + } else { throw new Exception("Unexpected Call"); @@ -163,17 +185,27 @@ public void DeployHtmlJSWebresources() config.webresources.Add(new WebresourceDeployConfig { files = new List() - }); + + //library dependencies + var libraryDependencies = new List(); + libraryDependencies.Add(new LibraryDependency() { uniquename = "new_/js/contact.js", file = @"new_\script.js", description = "dd", displayname = @"new_/script.js" }); + + //attribute dependencies + var attributeDependencies = new List(); + attributeDependencies.Add(new AttributeDependency() { attributename = "accountid", entityname = "account" }); + config.webresources[0].files.Add(new WebResourceFile() { file = @"new_\page.htm", - displayname = @"new_/page.htm" + displayname = @"new_/page.htm", + dependencies = new Config.WebresourceDependencies() { libraries = libraryDependencies } }); config.webresources[0].files.Add(new WebResourceFile() { file = @"new_\script.js", - displayname = @"new_/script.js" + displayname = @"new_/script.js", + dependencies = new Config.WebresourceDependencies() { libraries = libraryDependencies, attributes = attributeDependencies } }); using (var ctx = new OrganizationServiceContext(service)) { @@ -184,13 +216,17 @@ public void DeployHtmlJSWebresources() #endregion #region Assert - Assert.AreEqual(2, created.Where(a => a.GetType() == typeof(WebResource)).Count(), "2 Webresources created"); - Assert.AreEqual((int)WebResourceWebResourceType.Webpage_HTML, created[0].ToEntity().WebResourceType.Value, "html file"); - Assert.AreEqual(@"new_/page.htm", created[0].ToEntity().DisplayName, "html display name"); - Assert.AreEqual(@"new_/page.htm", created[0].ToEntity().Name, "html name"); - Assert.AreEqual((int)WebResourceWebResourceType.Script_JScript, created[1].ToEntity().WebResourceType.Value, "javascript file"); - Assert.AreEqual(@"new_/script.js", created[1].ToEntity().DisplayName, "javascript display name"); - Assert.AreEqual(@"new_/script.js", created[1].ToEntity().Name, "javascript name"); + //test dependency + Assert.IsNotNull(updated[0].ToEntity().DependencyXml); + StringAssert.Contains(updated[1].ToEntity().DependencyXml, "attributeId=\"00000000-0000-0000-0000-000000000000\""); + + Assert.AreEqual(4, created.Where(a => a.GetType() == typeof(WebResource)).Count(), "4 Webresources created"); //changed to 4, because I create 1 js file for dependency test + Assert.AreEqual((int)WebResourceWebResourceType.Webpage_HTML, created[1].ToEntity().WebResourceType.Value, "html file"); + Assert.AreEqual(@"new_/page.htm", created[1].ToEntity().DisplayName, "html display name"); + Assert.AreEqual(@"new_/page.htm", created[1].ToEntity().Name, "html name"); + Assert.AreEqual((int)WebResourceWebResourceType.Script_JScript, created[3].ToEntity().WebResourceType.Value, "javascript file"); //changed to created[3], because I create 1 js file for dependency test + Assert.AreEqual(@"new_/script.js", created[3].ToEntity().DisplayName, "javascript display name"); //changed to created[3], because I create 1 js file for dependency test + Assert.AreEqual(@"new_/script.js", created[3].ToEntity().Name, "javascript name"); //changed to created[3], because I create 1 js file for dependency test Assert.AreEqual(1, publishCount, "files published"); #endregion diff --git a/spkl/SparkleXrm.Tasks.Tests/app.config b/spkl/SparkleXrm.Tasks.Tests/app.config index f16bcddf..7742335b 100644 --- a/spkl/SparkleXrm.Tasks.Tests/app.config +++ b/spkl/SparkleXrm.Tasks.Tests/app.config @@ -1,19 +1,27 @@  - + - + - + + + + + + + + + - \ No newline at end of file + diff --git a/spkl/SparkleXrm.Tasks.Tests/packages.config b/spkl/SparkleXrm.Tasks.Tests/packages.config index d24140bf..8312e942 100644 --- a/spkl/SparkleXrm.Tasks.Tests/packages.config +++ b/spkl/SparkleXrm.Tasks.Tests/packages.config @@ -1,9 +1,9 @@  - - - - + + + + - + \ No newline at end of file diff --git a/spkl/SparkleXrm.Tasks/Config/WebResource.cs b/spkl/SparkleXrm.Tasks/Config/WebResource.cs index d6b0d482..78a4fbcd 100644 --- a/spkl/SparkleXrm.Tasks/Config/WebResource.cs +++ b/spkl/SparkleXrm.Tasks/Config/WebResource.cs @@ -1,10 +1,33 @@ -namespace SparkleXrm.Tasks.Config +using System.Collections.Generic; + +namespace SparkleXrm.Tasks.Config { public class WebResourceFile { public string uniquename; public string displayname; public string file; - public string description; + public string description; + public WebresourceDependencies dependencies; + } + + public class WebresourceDependencies + { + public List libraries; + public List attributes; + } + + public class LibraryDependency + { + public string uniquename; + public string file; + public string description; + public string displayname; + } + + public class AttributeDependency + { + public string attributename; + public string entityname; } } \ No newline at end of file diff --git a/spkl/SparkleXrm.Tasks/EntitiesTrim.cs b/spkl/SparkleXrm.Tasks/EntitiesTrim.cs index 81148c1a..b235d943 100644 --- a/spkl/SparkleXrm.Tasks/EntitiesTrim.cs +++ b/spkl/SparkleXrm.Tasks/EntitiesTrim.cs @@ -1,8 +1,13 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// Created via this command line: "C:\Users\lukas\AppData\Roaming\MscrmTools\XrmToolBox\Plugins\CrmSvcUtil Ref\crmsvcutil.exe" /url:"https://sisandbox.api.crm4.dynamics.com/XRMServices/2011/Organization.svc" /namespace:"SparkleXrm.Tasks" /out:"C:\Users\lukas\Downloads\SparkleXrm-master\spkl\EntitiesTrim.cs" /codecustomization:"DLaB.CrmSvcUtilExtensions.Entity.CustomizeCodeDomService,DLaB.CrmSvcUtilExtensions" /codegenerationservice:"DLaB.CrmSvcUtilExtensions.Entity.CustomCodeGenerationService,DLaB.CrmSvcUtilExtensions" /codewriterfilter:"DLaB.CrmSvcUtilExtensions.Entity.CodeWriterFilterService,DLaB.CrmSvcUtilExtensions" /namingservice:"DLaB.CrmSvcUtilExtensions.NamingService,DLaB.CrmSvcUtilExtensions" /metadataproviderservice:"DLaB.CrmSvcUtilExtensions.Entity.MetadataProviderService,DLaB.CrmSvcUtilExtensions" /username:"lukas.belak@smartimpact.co.uk" /password:"**************" +//------------------------------------------------------------------------------ + [assembly: Microsoft.Xrm.Sdk.Client.ProxyTypesAssemblyAttribute()] namespace SparkleXrm.Tasks @@ -41,28 +46,235 @@ public enum WebResourceWebResourceType [System.Runtime.Serialization.EnumMemberAttribute()] ICOformat = 10, + + [System.Runtime.Serialization.EnumMemberAttribute()] + String_RESX = 11, + } + + [System.Runtime.Serialization.DataContractAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] + public enum componenttype + { + + [System.Runtime.Serialization.EnumMemberAttribute()] + Entity = 1, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Attribute = 2, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Relationship = 3, + + [System.Runtime.Serialization.EnumMemberAttribute()] + AttributePicklistValue = 4, + + [System.Runtime.Serialization.EnumMemberAttribute()] + AttributeLookupValue = 5, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ViewAttribute = 6, + + [System.Runtime.Serialization.EnumMemberAttribute()] + LocalizedLabel = 7, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RelationshipExtraCondition = 8, + + [System.Runtime.Serialization.EnumMemberAttribute()] + OptionSet = 9, + + [System.Runtime.Serialization.EnumMemberAttribute()] + EntityRelationship = 10, + + [System.Runtime.Serialization.EnumMemberAttribute()] + EntityRelationshipRole = 11, + + [System.Runtime.Serialization.EnumMemberAttribute()] + EntityRelationshipRelationships = 12, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ManagedProperty = 13, + + [System.Runtime.Serialization.EnumMemberAttribute()] + EntityKey = 14, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Role = 20, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RolePrivilege = 21, + + [System.Runtime.Serialization.EnumMemberAttribute()] + DisplayString = 22, + + [System.Runtime.Serialization.EnumMemberAttribute()] + DisplayStringMap = 23, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Form = 24, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Organization = 25, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SavedQuery = 26, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Workflow = 29, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Report = 31, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ReportEntity = 32, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ReportCategory = 33, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ReportVisibility = 34, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Attachment = 35, + + [System.Runtime.Serialization.EnumMemberAttribute()] + EmailTemplate = 36, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ContractTemplate = 37, + + [System.Runtime.Serialization.EnumMemberAttribute()] + KBArticleTemplate = 38, + + [System.Runtime.Serialization.EnumMemberAttribute()] + MailMergeTemplate = 39, + + [System.Runtime.Serialization.EnumMemberAttribute()] + DuplicateRule = 44, + + [System.Runtime.Serialization.EnumMemberAttribute()] + DuplicateRuleCondition = 45, + + [System.Runtime.Serialization.EnumMemberAttribute()] + EntityMap = 46, + + [System.Runtime.Serialization.EnumMemberAttribute()] + AttributeMap = 47, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RibbonCommand = 48, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RibbonContextGroup = 49, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RibbonCustomization = 50, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RibbonRule = 52, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RibbonTabToCommandMap = 53, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RibbonDiff = 55, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SavedQueryVisualization = 59, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SystemForm = 60, + + [System.Runtime.Serialization.EnumMemberAttribute()] + WebResource = 61, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SiteMap = 62, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ConnectionRole = 63, + + [System.Runtime.Serialization.EnumMemberAttribute()] + FieldSecurityProfile = 70, + + [System.Runtime.Serialization.EnumMemberAttribute()] + FieldPermission = 71, + + [System.Runtime.Serialization.EnumMemberAttribute()] + PluginType = 90, + + [System.Runtime.Serialization.EnumMemberAttribute()] + PluginAssembly = 91, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SDKMessageProcessingStep = 92, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SDKMessageProcessingStepImage = 93, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ServiceEndpoint = 95, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RoutingRule = 150, + + [System.Runtime.Serialization.EnumMemberAttribute()] + RoutingRuleItem = 151, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SLA = 152, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SLAItem = 153, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ConvertRule = 154, + + [System.Runtime.Serialization.EnumMemberAttribute()] + ConvertRuleItem = 155, + + [System.Runtime.Serialization.EnumMemberAttribute()] + HierarchyRule = 65, + + [System.Runtime.Serialization.EnumMemberAttribute()] + MobileOfflineProfile = 161, + + [System.Runtime.Serialization.EnumMemberAttribute()] + MobileOfflineProfileItem = 162, + + [System.Runtime.Serialization.EnumMemberAttribute()] + SimilarityRule = 165, + + [System.Runtime.Serialization.EnumMemberAttribute()] + CustomControl = 66, + + [System.Runtime.Serialization.EnumMemberAttribute()] + CustomControlDefaultConfig = 68, } + + + /// - /// A solution which contains CRM customizations. + /// Assembly that contains one or more plug-in types. /// [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("solution")] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("pluginassembly")] [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class Solution : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + public partial class PluginAssembly : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { /// /// Default Constructor. /// - public Solution() : + public PluginAssembly() : base(EntityLogicalName) { } - public const string EntityLogicalName = "solution"; + public const string EntityLogicalName = "pluginassembly"; - public const int EntityTypeCode = 7100; + public const int EntityTypeCode = 4605; public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -85,25 +297,37 @@ private void OnPropertyChanging(string propertyName) } /// - /// A link to an optional configuration page for this solution. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("configurationpageid")] - public Microsoft.Xrm.Sdk.EntityReference ConfigurationPageId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] + public Microsoft.Xrm.Sdk.OptionSetValue ComponentState { get { - return this.GetAttributeValue("configurationpageid"); + return this.GetAttributeValue("componentstate"); + } + } + + /// + /// Bytes of the assembly, in Base64 format. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("content")] + public string Content + { + get + { + return this.GetAttributeValue("content"); } set { - this.OnPropertyChanging("ConfigurationPageId"); - this.SetAttributeValue("configurationpageid", value); - this.OnPropertyChanged("ConfigurationPageId"); + this.OnPropertyChanging("Content"); + this.SetAttributeValue("content", value); + this.OnPropertyChanged("Content"); } } /// - /// Unique identifier of the user who created the solution. + /// Unique identifier of the user who created the plug-in assembly. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] public Microsoft.Xrm.Sdk.EntityReference CreatedBy @@ -115,7 +339,7 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedBy } /// - /// Date and time when the solution was created. + /// Date and time when the plug-in assembly was created. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] public System.Nullable CreatedOn @@ -127,7 +351,7 @@ public System.Nullable CreatedOn } /// - /// Unique identifier of the delegate user who created the solution. + /// Unique identifier of the delegate user who created the pluginassembly. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy @@ -139,11 +363,41 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy } /// - /// Description of the solution. + /// Culture code for the plug-in assembly. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] - public string Description - { + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("culture")] + public string Culture + { + get + { + return this.GetAttributeValue("culture"); + } + set + { + this.OnPropertyChanging("Culture"); + this.SetAttributeValue("culture", value); + this.OnPropertyChanged("Culture"); + } + } + + /// + /// Customization Level. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel + { + get + { + return this.GetAttributeValue>("customizationlevel"); + } + } + + /// + /// Description of the plug-in assembly. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] + public string Description + { get { return this.GetAttributeValue("description"); @@ -157,37 +411,43 @@ public string Description } /// - /// User display name for the solution. + /// Version in which the form is introduced. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("friendlyname")] - public string FriendlyName + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")] + public string IntroducedVersion { get { - return this.GetAttributeValue("friendlyname"); + return this.GetAttributeValue("introducedversion"); } set { - this.OnPropertyChanging("FriendlyName"); - this.SetAttributeValue("friendlyname", value); - this.OnPropertyChanged("FriendlyName"); + this.OnPropertyChanging("IntroducedVersion"); + this.SetAttributeValue("introducedversion", value); + this.OnPropertyChanged("IntroducedVersion"); } } /// - /// Date and time when the solution was installed/upgraded. + /// Information that specifies whether this component should be hidden. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("installedon")] - public System.Nullable InstalledOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ishidden")] + public Microsoft.Xrm.Sdk.BooleanManagedProperty IsHidden { get { - return this.GetAttributeValue>("installedon"); + return this.GetAttributeValue("ishidden"); + } + set + { + this.OnPropertyChanging("IsHidden"); + this.SetAttributeValue("ishidden", value); + this.OnPropertyChanged("IsHidden"); } } /// - /// Indicates whether the solution is managed or unmanaged. + /// Information that specifies whether this component is managed. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] public System.Nullable IsManaged @@ -199,157 +459,157 @@ public System.Nullable IsManaged } /// - /// Indicates whether the solution is visible outside of the platform. + /// Information about how the plugin assembly is to be isolated at execution time; None / Sandboxed. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvisible")] - public System.Nullable IsVisible + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isolationmode")] + public Microsoft.Xrm.Sdk.OptionSetValue IsolationMode { get { - return this.GetAttributeValue>("isvisible"); + return this.GetAttributeValue("isolationmode"); } - } - - /// - /// Unique identifier of the user who last modified the solution. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedBy - { - get + set { - return this.GetAttributeValue("modifiedby"); + this.OnPropertyChanging("IsolationMode"); + this.SetAttributeValue("isolationmode", value); + this.OnPropertyChanged("IsolationMode"); } } /// - /// Date and time when the solution was last modified. + /// Major of the assembly version. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] - public System.Nullable ModifiedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("major")] + public System.Nullable Major { get { - return this.GetAttributeValue>("modifiedon"); + return this.GetAttributeValue>("major"); } } /// - /// Unique identifier of the delegate user who modified the solution. + /// Minor of the assembly version. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minor")] + public System.Nullable Minor { get { - return this.GetAttributeValue("modifiedonbehalfby"); + return this.GetAttributeValue>("minor"); } } /// - /// Unique identifier of the organization associated with the solution. + /// Unique identifier of the user who last modified the plug-in assembly. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] - public Microsoft.Xrm.Sdk.EntityReference OrganizationId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy { get { - return this.GetAttributeValue("organizationid"); + return this.GetAttributeValue("modifiedby"); } } /// - /// Unique identifier of the parent solution. Should only be non-null if this solution is a patch. + /// Date and time when the plug-in assembly was last modified. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsolutionid")] - public Microsoft.Xrm.Sdk.EntityReference ParentSolutionId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn { get { - return this.GetAttributeValue("parentsolutionid"); + return this.GetAttributeValue>("modifiedon"); } } /// - /// + /// Unique identifier of the delegate user who last modified the pluginassembly. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointassetid")] - public string PinpointAssetId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { get { - return this.GetAttributeValue("pinpointassetid"); + return this.GetAttributeValue("modifiedonbehalfby"); } } /// - /// Identifier of the publisher of this solution in Microsoft Pinpoint. + /// Name of the plug-in assembly. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointpublisherid")] - public System.Nullable PinpointPublisherId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] + public string Name { get { - return this.GetAttributeValue>("pinpointpublisherid"); + return this.GetAttributeValue("name"); + } + set + { + this.OnPropertyChanging("Name"); + this.SetAttributeValue("name", value); + this.OnPropertyChanged("Name"); } } /// - /// Default locale of the solution in Microsoft Pinpoint. + /// Unique identifier of the organization with which the plug-in assembly is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointsolutiondefaultlocale")] - public string PinpointSolutionDefaultLocale + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId { get { - return this.GetAttributeValue("pinpointsolutiondefaultlocale"); + return this.GetAttributeValue("organizationid"); } } /// - /// Identifier of the solution in Microsoft Pinpoint. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointsolutionid")] - public System.Nullable PinpointSolutionId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] + public System.Nullable OverwriteTime { get { - return this.GetAttributeValue>("pinpointsolutionid"); + return this.GetAttributeValue>("overwritetime"); } } /// - /// Unique identifier of the publisher. + /// File name of the plug-in assembly. Used when the source type is set to 1. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisherid")] - public Microsoft.Xrm.Sdk.EntityReference PublisherId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("path")] + public string Path { get { - return this.GetAttributeValue("publisherid"); + return this.GetAttributeValue("path"); } set { - this.OnPropertyChanging("PublisherId"); - this.SetAttributeValue("publisherid", value); - this.OnPropertyChanged("PublisherId"); + this.OnPropertyChanging("Path"); + this.SetAttributeValue("path", value); + this.OnPropertyChanged("Path"); } } /// - /// Unique identifier of the solution. + /// Unique identifier of the plug-in assembly. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] - public System.Nullable SolutionId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")] + public System.Nullable PluginAssemblyId { get { - return this.GetAttributeValue>("solutionid"); + return this.GetAttributeValue>("pluginassemblyid"); } set { - this.OnPropertyChanging("SolutionId"); - this.SetAttributeValue("solutionid", value); + this.OnPropertyChanging("PluginAssemblyId"); + this.SetAttributeValue("pluginassemblyid", value); if (value.HasValue) { base.Id = value.Value; @@ -358,11 +618,11 @@ public System.Nullable SolutionId { base.Id = System.Guid.Empty; } - this.OnPropertyChanged("SolutionId"); + this.OnPropertyChanged("PluginAssemblyId"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")] public override System.Guid Id { get @@ -371,299 +631,160 @@ public override System.Guid Id } set { - this.SolutionId = value; + this.PluginAssemblyId = value; } } /// - /// Solution package source organization version + /// Unique identifier of the plug-in assembly. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionpackageversion")] - public string SolutionPackageVersion + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyidunique")] + public System.Nullable PluginAssemblyIdUnique { get { - return this.GetAttributeValue("solutionpackageversion"); - } - set - { - this.OnPropertyChanging("SolutionPackageVersion"); - this.SetAttributeValue("solutionpackageversion", value); - this.OnPropertyChanged("SolutionPackageVersion"); + return this.GetAttributeValue>("pluginassemblyidunique"); } } /// - /// The unique name of this solution + /// Public key token of the assembly. This value can be obtained from the assembly by using reflection. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uniquename")] - public string UniqueName + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publickeytoken")] + public string PublicKeyToken { get { - return this.GetAttributeValue("uniquename"); + return this.GetAttributeValue("publickeytoken"); } set { - this.OnPropertyChanging("UniqueName"); - this.SetAttributeValue("uniquename", value); - this.OnPropertyChanged("UniqueName"); + this.OnPropertyChanging("PublicKeyToken"); + this.SetAttributeValue("publickeytoken", value); + this.OnPropertyChanged("PublicKeyToken"); } } /// - /// Solution version, used to identify a solution for upgrades and hotfixes. + /// Unique identifier of the associated solution. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")] - public string Version + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] + public System.Nullable SolutionId { get { - return this.GetAttributeValue("version"); + return this.GetAttributeValue>("solutionid"); + } + } + + /// + /// Hash of the source of the assembly. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcehash")] + public string SourceHash + { + get + { + return this.GetAttributeValue("sourcehash"); } set { - this.OnPropertyChanging("Version"); - this.SetAttributeValue("version", value); - this.OnPropertyChanged("Version"); + this.OnPropertyChanging("SourceHash"); + this.SetAttributeValue("sourcehash", value); + this.OnPropertyChanged("SourceHash"); } } /// - /// + /// Location of the assembly, for example 0=database, 1=on-disk. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] - public System.Nullable VersionNumber + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcetype")] + public Microsoft.Xrm.Sdk.OptionSetValue SourceType { get { - return this.GetAttributeValue>("versionnumber"); + return this.GetAttributeValue("sourcetype"); + } + set + { + this.OnPropertyChanging("SourceType"); + this.SetAttributeValue("sourcetype", value); + this.OnPropertyChanged("SourceType"); } } - - } - [System.Runtime.Serialization.DataContractAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public enum componenttype - { - - [System.Runtime.Serialization.EnumMemberAttribute()] - Entity = 1, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Attribute = 2, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Relationship = 3, - - [System.Runtime.Serialization.EnumMemberAttribute()] - AttributePicklistValue = 4, - - [System.Runtime.Serialization.EnumMemberAttribute()] - AttributeLookupValue = 5, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ViewAttribute = 6, - - [System.Runtime.Serialization.EnumMemberAttribute()] - LocalizedLabel = 7, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RelationshipExtraCondition = 8, - - [System.Runtime.Serialization.EnumMemberAttribute()] - OptionSet = 9, - - [System.Runtime.Serialization.EnumMemberAttribute()] - EntityRelationship = 10, - - [System.Runtime.Serialization.EnumMemberAttribute()] - EntityRelationshipRole = 11, - - [System.Runtime.Serialization.EnumMemberAttribute()] - EntityRelationshipRelationships = 12, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ManagedProperty = 13, - - [System.Runtime.Serialization.EnumMemberAttribute()] - EntityKey = 14, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Role = 20, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RolePrivilege = 21, - - [System.Runtime.Serialization.EnumMemberAttribute()] - DisplayString = 22, - - [System.Runtime.Serialization.EnumMemberAttribute()] - DisplayStringMap = 23, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Form = 24, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Organization = 25, - - [System.Runtime.Serialization.EnumMemberAttribute()] - SavedQuery = 26, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Workflow = 29, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Report = 31, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ReportEntity = 32, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ReportCategory = 33, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ReportVisibility = 34, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Attachment = 35, - - [System.Runtime.Serialization.EnumMemberAttribute()] - EmailTemplate = 36, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ContractTemplate = 37, - - [System.Runtime.Serialization.EnumMemberAttribute()] - KBArticleTemplate = 38, - - [System.Runtime.Serialization.EnumMemberAttribute()] - MailMergeTemplate = 39, - - [System.Runtime.Serialization.EnumMemberAttribute()] - DuplicateRule = 44, - - [System.Runtime.Serialization.EnumMemberAttribute()] - DuplicateRuleCondition = 45, - - [System.Runtime.Serialization.EnumMemberAttribute()] - EntityMap = 46, - - [System.Runtime.Serialization.EnumMemberAttribute()] - AttributeMap = 47, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RibbonCommand = 48, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RibbonContextGroup = 49, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RibbonCustomization = 50, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RibbonRule = 52, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RibbonTabToCommandMap = 53, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RibbonDiff = 55, - - [System.Runtime.Serialization.EnumMemberAttribute()] - SavedQueryVisualization = 59, - - [System.Runtime.Serialization.EnumMemberAttribute()] - SystemForm = 60, - - [System.Runtime.Serialization.EnumMemberAttribute()] - WebResource = 61, - - [System.Runtime.Serialization.EnumMemberAttribute()] - SiteMap = 62, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ConnectionRole = 63, - - [System.Runtime.Serialization.EnumMemberAttribute()] - FieldSecurityProfile = 70, - - [System.Runtime.Serialization.EnumMemberAttribute()] - FieldPermission = 71, - - [System.Runtime.Serialization.EnumMemberAttribute()] - PluginType = 90, - - [System.Runtime.Serialization.EnumMemberAttribute()] - PluginAssembly = 91, - - [System.Runtime.Serialization.EnumMemberAttribute()] - SDKMessageProcessingStep = 92, - - [System.Runtime.Serialization.EnumMemberAttribute()] - SDKMessageProcessingStepImage = 93, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ServiceEndpoint = 95, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RoutingRule = 150, - - [System.Runtime.Serialization.EnumMemberAttribute()] - RoutingRuleItem = 151, - - [System.Runtime.Serialization.EnumMemberAttribute()] - SLA = 152, - - [System.Runtime.Serialization.EnumMemberAttribute()] - SLAItem = 153, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ConvertRule = 154, - - [System.Runtime.Serialization.EnumMemberAttribute()] - ConvertRuleItem = 155, - - [System.Runtime.Serialization.EnumMemberAttribute()] - HierarchyRule = 65, - - [System.Runtime.Serialization.EnumMemberAttribute()] - MobileOfflineProfile = 161, + /// + /// Version number of the assembly. The value can be obtained from the assembly through reflection. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")] + public string Version + { + get + { + return this.GetAttributeValue("version"); + } + set + { + this.OnPropertyChanging("Version"); + this.SetAttributeValue("version", value); + this.OnPropertyChanged("Version"); + } + } - [System.Runtime.Serialization.EnumMemberAttribute()] - MobileOfflineProfileItem = 162, + /// + /// + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber + { + get + { + return this.GetAttributeValue>("versionnumber"); + } + } - [System.Runtime.Serialization.EnumMemberAttribute()] - SimilarityRule = 165, + /// + /// 1:N pluginassembly_plugintype + /// + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("pluginassembly_plugintype")] + public System.Collections.Generic.IEnumerable pluginassembly_plugintype + { + get + { + return this.GetRelatedEntities("pluginassembly_plugintype", null); + } + set + { + this.OnPropertyChanging("pluginassembly_plugintype"); + this.SetRelatedEntities("pluginassembly_plugintype", null, value); + this.OnPropertyChanged("pluginassembly_plugintype"); + } + } - [System.Runtime.Serialization.EnumMemberAttribute()] - CustomControl = 66, - [System.Runtime.Serialization.EnumMemberAttribute()] - CustomControlDefaultConfig = 68, } + /// - /// Assembly that contains one or more plug-in types. + /// Type that inherits from the IPlugin interface and is contained within a plug-in assembly. /// [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("pluginassembly")] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("plugintype")] [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class PluginAssembly : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + public partial class PluginType : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { /// /// Default Constructor. /// - public PluginAssembly() : + public PluginType() : base(EntityLogicalName) { } - public const string EntityLogicalName = "pluginassembly"; + public const string EntityLogicalName = "plugintype"; - public const int EntityTypeCode = 4605; + public const int EntityTypeCode = 4602; public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -686,37 +807,1284 @@ private void OnPropertyChanging(string propertyName) } /// - /// For internal use only. + /// Full path name of the plug-in assembly. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("assemblyname")] + public string AssemblyName + { + get + { + return this.GetAttributeValue("assemblyname"); + } + } + + /// + /// For internal use only. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] public Microsoft.Xrm.Sdk.OptionSetValue ComponentState { get { - return this.GetAttributeValue("componentstate"); + return this.GetAttributeValue("componentstate"); + } + } + + /// + /// Unique identifier of the user who created the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedBy + { + get + { + return this.GetAttributeValue("createdby"); + } + } + + /// + /// Date and time when the plug-in type was created. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] + public System.Nullable CreatedOn + { + get + { + return this.GetAttributeValue>("createdon"); + } + } + + /// + /// Unique identifier of the delegate user who created the plugintype. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy + { + get + { + return this.GetAttributeValue("createdonbehalfby"); + } + } + + /// + /// Culture code for the plug-in assembly. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("culture")] + public string Culture + { + get + { + return this.GetAttributeValue("culture"); + } + } + + /// + /// Customization level of the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel + { + get + { + return this.GetAttributeValue>("customizationlevel"); + } + } + + /// + /// Serialized Custom Activity Type information, including required arguments. For more information, see SandboxCustomActivityInfo. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customworkflowactivityinfo")] + public string CustomWorkflowActivityInfo + { + get + { + return this.GetAttributeValue("customworkflowactivityinfo"); + } + } + + /// + /// Description of the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] + public string Description + { + get + { + return this.GetAttributeValue("description"); + } + set + { + this.OnPropertyChanging("Description"); + this.SetAttributeValue("description", value); + this.OnPropertyChanged("Description"); + } + } + + /// + /// User friendly name for the plug-in. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("friendlyname")] + public string FriendlyName + { + get + { + return this.GetAttributeValue("friendlyname"); + } + set + { + this.OnPropertyChanging("FriendlyName"); + this.SetAttributeValue("friendlyname", value); + this.OnPropertyChanged("FriendlyName"); + } + } + + /// + /// + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] + public System.Nullable IsManaged + { + get + { + return this.GetAttributeValue>("ismanaged"); + } + } + + /// + /// Indicates if the plug-in is a custom activity for workflows. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowactivity")] + public System.Nullable IsWorkflowActivity + { + get + { + return this.GetAttributeValue>("isworkflowactivity"); + } + } + + /// + /// Major of the version number of the assembly for the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("major")] + public System.Nullable Major + { + get + { + return this.GetAttributeValue>("major"); + } + } + + /// + /// Minor of the version number of the assembly for the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minor")] + public System.Nullable Minor + { + get + { + return this.GetAttributeValue>("minor"); + } + } + + /// + /// Unique identifier of the user who last modified the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + { + get + { + return this.GetAttributeValue("modifiedby"); + } + } + + /// + /// Date and time when the plug-in type was last modified. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn + { + get + { + return this.GetAttributeValue>("modifiedon"); + } + } + + /// + /// Unique identifier of the delegate user who last modified the plugintype. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + { + get + { + return this.GetAttributeValue("modifiedonbehalfby"); + } + } + + /// + /// Name of the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] + public string Name + { + get + { + return this.GetAttributeValue("name"); + } + set + { + this.OnPropertyChanging("Name"); + this.SetAttributeValue("name", value); + this.OnPropertyChanged("Name"); + } + } + + /// + /// Unique identifier of the organization with which the plug-in type is associated. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId + { + get + { + return this.GetAttributeValue("organizationid"); + } + } + + /// + /// For internal use only. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] + public System.Nullable OverwriteTime + { + get + { + return this.GetAttributeValue>("overwritetime"); + } + } + + /// + /// Unique identifier of the plug-in assembly that contains this plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")] + public Microsoft.Xrm.Sdk.EntityReference PluginAssemblyId + { + get + { + return this.GetAttributeValue("pluginassemblyid"); + } + set + { + this.OnPropertyChanging("PluginAssemblyId"); + this.SetAttributeValue("pluginassemblyid", value); + this.OnPropertyChanged("PluginAssemblyId"); + } + } + + /// + /// Unique identifier of the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")] + public System.Nullable PluginTypeId + { + get + { + return this.GetAttributeValue>("plugintypeid"); + } + set + { + this.OnPropertyChanging("PluginTypeId"); + this.SetAttributeValue("plugintypeid", value); + if (value.HasValue) + { + base.Id = value.Value; + } + else + { + base.Id = System.Guid.Empty; + } + this.OnPropertyChanged("PluginTypeId"); + } + } + + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")] + public override System.Guid Id + { + get + { + return base.Id; + } + set + { + this.PluginTypeId = value; + } + } + + /// + /// Unique identifier of the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeidunique")] + public System.Nullable PluginTypeIdUnique + { + get + { + return this.GetAttributeValue>("plugintypeidunique"); + } + } + + /// + /// Public key token of the assembly for the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publickeytoken")] + public string PublicKeyToken + { + get + { + return this.GetAttributeValue("publickeytoken"); + } + } + + /// + /// Unique identifier of the associated solution. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] + public System.Nullable SolutionId + { + get + { + return this.GetAttributeValue>("solutionid"); + } + } + + /// + /// Fully qualified type name of the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("typename")] + public string TypeName + { + get + { + return this.GetAttributeValue("typename"); + } + set + { + this.OnPropertyChanging("TypeName"); + this.SetAttributeValue("typename", value); + this.OnPropertyChanged("TypeName"); + } + } + + /// + /// Version number of the assembly for the plug-in type. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")] + public string Version + { + get + { + return this.GetAttributeValue("version"); + } + } + + /// + /// + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber + { + get + { + return this.GetAttributeValue>("versionnumber"); + } + } + + /// + /// Group name of workflow custom activity. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowactivitygroupname")] + public string WorkflowActivityGroupName + { + get + { + return this.GetAttributeValue("workflowactivitygroupname"); + } + set + { + this.OnPropertyChanging("WorkflowActivityGroupName"); + this.SetAttributeValue("workflowactivitygroupname", value); + this.OnPropertyChanged("WorkflowActivityGroupName"); + } + } + + + + /// + /// 1:N plugintype_sdkmessageprocessingstep + /// + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintype_sdkmessageprocessingstep")] + public System.Collections.Generic.IEnumerable plugintype_sdkmessageprocessingstep + { + get + { + return this.GetRelatedEntities("plugintype_sdkmessageprocessingstep", null); + } + set + { + this.OnPropertyChanging("plugintype_sdkmessageprocessingstep"); + this.SetRelatedEntities("plugintype_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("plugintype_sdkmessageprocessingstep"); + } + } + + /// + /// 1:N plugintypeid_sdkmessageprocessingstep + /// + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintypeid_sdkmessageprocessingstep")] + public System.Collections.Generic.IEnumerable plugintypeid_sdkmessageprocessingstep + { + get + { + return this.GetRelatedEntities("plugintypeid_sdkmessageprocessingstep", null); + } + set + { + this.OnPropertyChanging("plugintypeid_sdkmessageprocessingstep"); + this.SetRelatedEntities("plugintypeid_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("plugintypeid_sdkmessageprocessingstep"); + } + } + + + + /// + /// N:1 pluginassembly_plugintype + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("pluginassembly_plugintype")] + public PluginAssembly pluginassembly_plugintype + { + get + { + return this.GetRelatedEntity("pluginassembly_plugintype", null); + } + set + { + this.OnPropertyChanging("pluginassembly_plugintype"); + this.SetRelatedEntity("pluginassembly_plugintype", null, value); + this.OnPropertyChanged("pluginassembly_plugintype"); + } + } + } + + /// + /// Message that is supported by the SDK. + /// + [System.Runtime.Serialization.DataContractAttribute()] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessage")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public partial class SdkMessage : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + { + + /// + /// Default Constructor. + /// + public SdkMessage() : + base(EntityLogicalName) + { + } + + public const string EntityLogicalName = "sdkmessage"; + + public const string PrimaryIdAttribute = "sdkmessageid"; + + public const string PrimaryNameAttribute = "name"; + + public const int EntityTypeCode = 4606; + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; + + private void OnPropertyChanged(string propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + + private void OnPropertyChanging(string propertyName) + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); + } + } + + /// + /// Information about whether the SDK message is automatically transacted. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("autotransact")] + public System.Nullable AutoTransact + { + get + { + return this.GetAttributeValue>("autotransact"); + } + set + { + this.OnPropertyChanging("AutoTransact"); + this.SetAttributeValue("autotransact", value); + this.OnPropertyChanged("AutoTransact"); + } + } + + /// + /// Identifies where a method will be exposed. 0 - Server, 1 - Client, 2 - both. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("availability")] + public System.Nullable Availability + { + get + { + return this.GetAttributeValue>("availability"); + } + set + { + this.OnPropertyChanging("Availability"); + this.SetAttributeValue("availability", value); + this.OnPropertyChanged("Availability"); + } + } + + /// + /// If this is a categorized method, this is the name, otherwise None. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("categoryname")] + public string CategoryName + { + get + { + return this.GetAttributeValue("categoryname"); + } + set + { + this.OnPropertyChanging("CategoryName"); + this.SetAttributeValue("categoryname", value); + this.OnPropertyChanged("CategoryName"); + } + } + + /// + /// Unique identifier of the user who created the SDK message. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedBy + { + get + { + return this.GetAttributeValue("createdby"); + } + } + + /// + /// Date and time when the SDK message was created. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] + public System.Nullable CreatedOn + { + get + { + return this.GetAttributeValue>("createdon"); + } + } + + /// + /// Unique identifier of the delegate user who created the sdkmessage. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy + { + get + { + return this.GetAttributeValue("createdonbehalfby"); + } + set + { + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); + } + } + + /// + /// Customization level of the SDK message. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel + { + get + { + return this.GetAttributeValue>("customizationlevel"); + } + } + + /// + /// Indicates whether the SDK message should have its requests expanded per primary entity defined in its filters. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expand")] + public System.Nullable Expand + { + get + { + return this.GetAttributeValue>("expand"); + } + set + { + this.OnPropertyChanging("Expand"); + this.SetAttributeValue("expand", value); + this.OnPropertyChanged("Expand"); + } + } + + /// + /// Information about whether the SDK message is active. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isactive")] + public System.Nullable IsActive + { + get + { + return this.GetAttributeValue>("isactive"); + } + set + { + this.OnPropertyChanging("IsActive"); + this.SetAttributeValue("isactive", value); + this.OnPropertyChanged("IsActive"); + } + } + + /// + /// Indicates whether the SDK message is private. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isprivate")] + public System.Nullable IsPrivate + { + get + { + return this.GetAttributeValue>("isprivate"); + } + set + { + this.OnPropertyChanging("IsPrivate"); + this.SetAttributeValue("isprivate", value); + this.OnPropertyChanged("IsPrivate"); + } + } + + /// + /// Identifies whether an SDK message will be ReadOnly or Read Write. false - ReadWrite, true - ReadOnly . + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isreadonly")] + public System.Nullable IsReadOnly + { + get + { + return this.GetAttributeValue>("isreadonly"); + } + set + { + this.OnPropertyChanging("IsReadOnly"); + this.SetAttributeValue("isreadonly", value); + this.OnPropertyChanged("IsReadOnly"); + } + } + + /// + /// For internal use only. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvalidforexecuteasync")] + public System.Nullable IsValidForExecuteAsync + { + get + { + return this.GetAttributeValue>("isvalidforexecuteasync"); + } + } + + /// + /// Unique identifier of the user who last modified the SDK message. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + { + get + { + return this.GetAttributeValue("modifiedby"); + } + } + + /// + /// Date and time when the SDK message was last modified. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn + { + get + { + return this.GetAttributeValue>("modifiedon"); + } + } + + /// + /// Unique identifier of the delegate user who last modified the sdkmessage. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + { + get + { + return this.GetAttributeValue("modifiedonbehalfby"); + } + set + { + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); + } + } + + /// + /// Name of the SDK message. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] + public string Name + { + get + { + return this.GetAttributeValue("name"); + } + set + { + this.OnPropertyChanging("Name"); + this.SetAttributeValue("name", value); + this.OnPropertyChanged("Name"); + } + } + + /// + /// Unique identifier of the organization with which the SDK message is associated. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId + { + get + { + return this.GetAttributeValue("organizationid"); + } + } + + /// + /// Unique identifier of the SDK message entity. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] + public System.Nullable SdkMessageId + { + get + { + return this.GetAttributeValue>("sdkmessageid"); + } + set + { + this.OnPropertyChanging("SdkMessageId"); + this.SetAttributeValue("sdkmessageid", value); + if (value.HasValue) + { + base.Id = value.Value; + } + else + { + base.Id = System.Guid.Empty; + } + this.OnPropertyChanged("SdkMessageId"); + } + } + + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] + public override System.Guid Id + { + get + { + return base.Id; + } + set + { + this.SdkMessageId = value; + } + } + + /// + /// Unique identifier of the SDK message. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageidunique")] + public System.Nullable SdkMessageIdUnique + { + get + { + return this.GetAttributeValue>("sdkmessageidunique"); + } + } + + /// + /// Indicates whether the SDK message is a template. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("template")] + public System.Nullable Template + { + get + { + return this.GetAttributeValue>("template"); + } + set + { + this.OnPropertyChanging("Template"); + this.SetAttributeValue("template", value); + this.OnPropertyChanged("Template"); + } + } + + /// + /// For internal use only. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("throttlesettings")] + public string ThrottleSettings + { + get + { + return this.GetAttributeValue("throttlesettings"); + } + } + + /// + /// Number that identifies a specific revision of the SDK message. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber + { + get + { + return this.GetAttributeValue>("versionnumber"); + } + } + + /// + /// Whether or not the SDK message can be called from a workflow. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowsdkstepenabled")] + public System.Nullable WorkflowSdkStepEnabled + { + get + { + return this.GetAttributeValue>("workflowsdkstepenabled"); + } + } + } + + /// + /// Filter that defines which SDK messages are valid for each type of entity. + /// + [System.Runtime.Serialization.DataContractAttribute()] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagefilter")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] + public partial class SdkMessageFilter : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + { + + /// + /// Default Constructor. + /// + public SdkMessageFilter() : + base(EntityLogicalName) + { + } + + public const string EntityLogicalName = "sdkmessagefilter"; + + public const int EntityTypeCode = 4607; + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; + + private void OnPropertyChanged(string propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + + private void OnPropertyChanging(string propertyName) + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); + } + } + + /// + /// Identifies where a method will be exposed. 0 - Server, 1 - Client, 2 - both. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("availability")] + public System.Nullable Availability + { + get + { + return this.GetAttributeValue>("availability"); + } + set + { + this.OnPropertyChanging("Availability"); + this.SetAttributeValue("availability", value); + this.OnPropertyChanged("Availability"); + } + } + + /// + /// Unique identifier of the user who created the SDK message filter. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedBy + { + get + { + return this.GetAttributeValue("createdby"); + } + } + + /// + /// Date and time when the SDK message filter was created. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] + public System.Nullable CreatedOn + { + get + { + return this.GetAttributeValue>("createdon"); + } + } + + /// + /// Unique identifier of the delegate user who created the sdkmessagefilter. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy + { + get + { + return this.GetAttributeValue("createdonbehalfby"); + } + } + + /// + /// Customization level of the SDK message filter. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel + { + get + { + return this.GetAttributeValue>("customizationlevel"); + } + } + + /// + /// Indicates whether a custom SDK message processing step is allowed. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomprocessingstepallowed")] + public System.Nullable IsCustomProcessingStepAllowed + { + get + { + return this.GetAttributeValue>("iscustomprocessingstepallowed"); + } + set + { + this.OnPropertyChanging("IsCustomProcessingStepAllowed"); + this.SetAttributeValue("iscustomprocessingstepallowed", value); + this.OnPropertyChanged("IsCustomProcessingStepAllowed"); + } + } + + /// + /// Indicates whether the filter should be visible. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvisible")] + public System.Nullable IsVisible + { + get + { + return this.GetAttributeValue>("isvisible"); + } + } + + /// + /// Unique identifier of the user who last modified the SDK message filter. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + { + get + { + return this.GetAttributeValue("modifiedby"); + } + } + + /// + /// Date and time when the SDK message filter was last modified. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn + { + get + { + return this.GetAttributeValue>("modifiedon"); + } + } + + /// + /// Unique identifier of the delegate user who last modified the sdkmessagefilter. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + { + get + { + return this.GetAttributeValue("modifiedonbehalfby"); + } + } + + /// + /// Unique identifier of the organization with which the SDK message filter is associated. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId + { + get + { + return this.GetAttributeValue("organizationid"); + } + } + + /// + /// Type of entity with which the SDK message filter is primarily associated. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryobjecttypecode")] + public string PrimaryObjectTypeCode + { + get + { + return this.GetAttributeValue("primaryobjecttypecode"); + } + set + { + this.OnPropertyChanging("PrimaryObjectTypeCode"); + this.SetAttributeValue("primaryobjecttypecode", value); + this.OnPropertyChanged("PrimaryObjectTypeCode"); + } + } + + /// + /// Unique identifier of the SDK message filter entity. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")] + public System.Nullable SdkMessageFilterId + { + get + { + return this.GetAttributeValue>("sdkmessagefilterid"); + } + set + { + this.OnPropertyChanging("SdkMessageFilterId"); + this.SetAttributeValue("sdkmessagefilterid", value); + if (value.HasValue) + { + base.Id = value.Value; + } + else + { + base.Id = System.Guid.Empty; + } + this.OnPropertyChanged("SdkMessageFilterId"); + } + } + + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")] + public override System.Guid Id + { + get + { + return base.Id; + } + set + { + this.SdkMessageFilterId = value; + } + } + + /// + /// Unique identifier of the SDK message filter. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilteridunique")] + public System.Nullable SdkMessageFilterIdUnique + { + get + { + return this.GetAttributeValue>("sdkmessagefilteridunique"); + } + } + + /// + /// Unique identifier of the related SDK message. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageId + { + get + { + return this.GetAttributeValue("sdkmessageid"); + } + set + { + this.OnPropertyChanging("SdkMessageId"); + this.SetAttributeValue("sdkmessageid", value); + this.OnPropertyChanged("SdkMessageId"); + } + } + + /// + /// Type of entity with which the SDK message filter is secondarily associated. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secondaryobjecttypecode")] + public string SecondaryObjectTypeCode + { + get + { + return this.GetAttributeValue("secondaryobjecttypecode"); + } + } + + /// + /// + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber + { + get + { + return this.GetAttributeValue>("versionnumber"); + } + } + + /// + /// Whether or not the SDK message can be called from a workflow. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowsdkstepenabled")] + public System.Nullable WorkflowSdkStepEnabled + { + get + { + return this.GetAttributeValue>("workflowsdkstepenabled"); + } + } + + /// + /// 1:N sdkmessagefilterid_sdkmessageprocessingstep + /// + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessagefilterid_sdkmessageprocessingstep")] + public System.Collections.Generic.IEnumerable sdkmessagefilterid_sdkmessageprocessingstep + { + get + { + return this.GetRelatedEntities("sdkmessagefilterid_sdkmessageprocessingstep", null); + } + set + { + this.OnPropertyChanging("sdkmessagefilterid_sdkmessageprocessingstep"); + this.SetRelatedEntities("sdkmessagefilterid_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("sdkmessagefilterid_sdkmessageprocessingstep"); + } + } + + + + /// + /// N:1 sdkmessageid_sdkmessagefilter + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessagefilter")] + public SdkMessage sdkmessageid_sdkmessagefilter + { + get + { + return this.GetRelatedEntity("sdkmessageid_sdkmessagefilter", null); + } + set + { + this.OnPropertyChanging("sdkmessageid_sdkmessagefilter"); + this.SetRelatedEntity("sdkmessageid_sdkmessagefilter", null, value); + this.OnPropertyChanged("sdkmessageid_sdkmessagefilter"); + } + } + } + + /// + /// For internal use only. + /// + [System.Runtime.Serialization.DataContractAttribute()] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagepair")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public partial class SdkMessagePair : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + { + + /// + /// Default Constructor. + /// + public SdkMessagePair() : + base(EntityLogicalName) + { + } + + public const string EntityLogicalName = "sdkmessagepair"; + + public const string PrimaryIdAttribute = "sdkmessagepairid"; + + public const int EntityTypeCode = 4613; + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; + + private void OnPropertyChanged(string propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } - /// - /// Bytes of the assembly, in Base64 format. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("content")] - public string Content + private void OnPropertyChanging(string propertyName) { - get - { - return this.GetAttributeValue("content"); - } - set + if ((this.PropertyChanging != null)) { - this.OnPropertyChanging("Content"); - this.SetAttributeValue("content", value); - this.OnPropertyChanged("Content"); + this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); } } /// - /// Unique identifier of the user who created the plug-in assembly. + /// Unique identifier of the user who created the SDK message pair. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] public Microsoft.Xrm.Sdk.EntityReference CreatedBy @@ -728,7 +2096,7 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedBy } /// - /// Date and time when the plug-in assembly was created. + /// Date and time when the SDK message pair was created. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] public System.Nullable CreatedOn @@ -740,7 +2108,7 @@ public System.Nullable CreatedOn } /// - /// Unique identifier of the delegate user who created the pluginassembly. + /// Unique identifier of the delegate user who created the sdkmessagepair. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy @@ -749,943 +2117,1039 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { return this.GetAttributeValue("createdonbehalfby"); } + set + { + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); + } } /// - /// Culture code for the plug-in assembly. + /// Customization level of the SDK message filter. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("culture")] - public string Culture + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel { get { - return this.GetAttributeValue("culture"); + return this.GetAttributeValue>("customizationlevel"); + } + } + + /// + /// Endpoint that the message pair is associated with. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("endpoint")] + public string Endpoint + { + get + { + return this.GetAttributeValue("endpoint"); } set { - this.OnPropertyChanging("Culture"); - this.SetAttributeValue("culture", value); - this.OnPropertyChanged("Culture"); + this.OnPropertyChanging("Endpoint"); + this.SetAttributeValue("endpoint", value); + this.OnPropertyChanged("Endpoint"); } } /// - /// Customization Level. + /// Unique identifier of the user who last modified the SDK message pair. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] - public System.Nullable CustomizationLevel + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy { get { - return this.GetAttributeValue>("customizationlevel"); + return this.GetAttributeValue("modifiedby"); } } /// - /// Description of the plug-in assembly. + /// Date and time when the SDK message pair was last modified. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] - public string Description + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn { get { - return this.GetAttributeValue("description"); - } - set - { - this.OnPropertyChanging("Description"); - this.SetAttributeValue("description", value); - this.OnPropertyChanged("Description"); + return this.GetAttributeValue>("modifiedon"); } } /// - /// Version in which the form is introduced. + /// Unique identifier of the delegate user who last modified the sdkmessagepair. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")] - public string IntroducedVersion + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { get { - return this.GetAttributeValue("introducedversion"); + return this.GetAttributeValue("modifiedonbehalfby"); } set { - this.OnPropertyChanging("IntroducedVersion"); - this.SetAttributeValue("introducedversion", value); - this.OnPropertyChanged("IntroducedVersion"); + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); } } /// - /// Information that specifies whether this component should be hidden. + /// Namespace that the message pair is associated with. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ishidden")] - public Microsoft.Xrm.Sdk.BooleanManagedProperty IsHidden + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("namespace")] + public string Namespace { get { - return this.GetAttributeValue("ishidden"); + return this.GetAttributeValue("namespace"); } set { - this.OnPropertyChanging("IsHidden"); - this.SetAttributeValue("ishidden", value); - this.OnPropertyChanged("IsHidden"); + this.OnPropertyChanging("Namespace"); + this.SetAttributeValue("namespace", value); + this.OnPropertyChanged("Namespace"); } } /// - /// Information that specifies whether this component is managed. + /// Unique identifier of the organization with which the SDK message pair is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] - public System.Nullable IsManaged + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId { get { - return this.GetAttributeValue>("ismanaged"); + return this.GetAttributeValue("organizationid"); } } /// - /// Information about how the plugin assembly is to be isolated at execution time; None / Sandboxed. + /// /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isolationmode")] - public Microsoft.Xrm.Sdk.OptionSetValue IsolationMode + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagebindinginformation")] + public string SdkMessageBindingInformation { get { - return this.GetAttributeValue("isolationmode"); + return this.GetAttributeValue("sdkmessagebindinginformation"); } set { - this.OnPropertyChanging("IsolationMode"); - this.SetAttributeValue("isolationmode", value); - this.OnPropertyChanged("IsolationMode"); + this.OnPropertyChanging("SdkMessageBindingInformation"); + this.SetAttributeValue("sdkmessagebindinginformation", value); + this.OnPropertyChanged("SdkMessageBindingInformation"); } } /// - /// Major of the assembly version. + /// Unique identifier of the message with which the SDK message pair is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("major")] - public System.Nullable Major + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageId { get { - return this.GetAttributeValue>("major"); + return this.GetAttributeValue("sdkmessageid"); } } /// - /// Minor of the assembly version. + /// Unique identifier of the SDK message pair entity. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minor")] - public System.Nullable Minor + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")] + public System.Nullable SdkMessagePairId { get { - return this.GetAttributeValue>("minor"); + return this.GetAttributeValue>("sdkmessagepairid"); + } + set + { + this.OnPropertyChanging("SdkMessagePairId"); + this.SetAttributeValue("sdkmessagepairid", value); + if (value.HasValue) + { + base.Id = value.Value; + } + else + { + base.Id = System.Guid.Empty; + } + this.OnPropertyChanged("SdkMessagePairId"); } } - /// - /// Unique identifier of the user who last modified the plug-in assembly. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")] + public override System.Guid Id { get { - return this.GetAttributeValue("modifiedby"); + return base.Id; + } + set + { + this.SdkMessagePairId = value; } } /// - /// Date and time when the plug-in assembly was last modified. + /// Unique identifier of the SDK message pair. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] - public System.Nullable ModifiedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairidunique")] + public System.Nullable SdkMessagePairIdUnique { get { - return this.GetAttributeValue>("modifiedon"); + return this.GetAttributeValue>("sdkmessagepairidunique"); } } /// - /// Unique identifier of the delegate user who last modified the pluginassembly. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber { get { - return this.GetAttributeValue("modifiedonbehalfby"); + return this.GetAttributeValue>("versionnumber"); } } + } + + [System.Runtime.Serialization.DataContractAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public enum SdkMessageProcessingStepState + { + + [System.Runtime.Serialization.EnumMemberAttribute()] + Enabled = 0, + + [System.Runtime.Serialization.EnumMemberAttribute()] + Disabled = 1, + } + + /// + /// Stage in the execution pipeline that a plug-in is to execute. + /// + [System.Runtime.Serialization.DataContractAttribute()] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstep")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] + public partial class SdkMessageProcessingStep : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + { /// - /// Name of the plug-in assembly. + /// Default Constructor. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] - public string Name + public SdkMessageProcessingStep() : + base(EntityLogicalName) { - get - { - return this.GetAttributeValue("name"); - } - set + } + + public const string EntityLogicalName = "sdkmessageprocessingstep"; + + public const int EntityTypeCode = 4608; + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; + + private void OnPropertyChanged(string propertyName) + { + if ((this.PropertyChanged != null)) { - this.OnPropertyChanging("Name"); - this.SetAttributeValue("name", value); - this.OnPropertyChanged("Name"); + this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } - /// - /// Unique identifier of the organization with which the plug-in assembly is associated. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] - public Microsoft.Xrm.Sdk.EntityReference OrganizationId + private void OnPropertyChanging(string propertyName) { - get + if ((this.PropertyChanging != null)) { - return this.GetAttributeValue("organizationid"); + this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); } } /// - /// For internal use only. + /// Indicates whether the asynchronous system job is automatically deleted on completion. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] - public System.Nullable OverwriteTime + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncautodelete")] + public System.Nullable AsyncAutoDelete { get { - return this.GetAttributeValue>("overwritetime"); + return this.GetAttributeValue>("asyncautodelete"); + } + set + { + this.OnPropertyChanging("AsyncAutoDelete"); + this.SetAttributeValue("asyncautodelete", value); + this.OnPropertyChanged("AsyncAutoDelete"); } } /// - /// File name of the plug-in assembly. Used when the source type is set to 1. + /// Identifies whether a SDK Message Processing Step type will be ReadOnly or Read Write. false - ReadWrite, true - ReadOnly /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("path")] - public string Path + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canusereadonlyconnection")] + public System.Nullable CanUseReadOnlyConnection { get { - return this.GetAttributeValue("path"); + return this.GetAttributeValue>("canusereadonlyconnection"); } set { - this.OnPropertyChanging("Path"); - this.SetAttributeValue("path", value); - this.OnPropertyChanged("Path"); + this.OnPropertyChanging("CanUseReadOnlyConnection"); + this.SetAttributeValue("canusereadonlyconnection", value); + this.OnPropertyChanged("CanUseReadOnlyConnection"); } } /// - /// Unique identifier of the plug-in assembly. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")] - public System.Nullable PluginAssemblyId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] + public Microsoft.Xrm.Sdk.OptionSetValue ComponentState { get { - return this.GetAttributeValue>("pluginassemblyid"); - } - set - { - this.OnPropertyChanging("PluginAssemblyId"); - this.SetAttributeValue("pluginassemblyid", value); - if (value.HasValue) - { - base.Id = value.Value; - } - else - { - base.Id = System.Guid.Empty; - } - this.OnPropertyChanged("PluginAssemblyId"); + return this.GetAttributeValue("componentstate"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")] - public override System.Guid Id + /// + /// Step-specific configuration for the plug-in type. Passed to the plug-in constructor at run time. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("configuration")] + public string Configuration { get { - return base.Id; + return this.GetAttributeValue("configuration"); } set { - this.PluginAssemblyId = value; + this.OnPropertyChanging("Configuration"); + this.SetAttributeValue("configuration", value); + this.OnPropertyChanged("Configuration"); } } /// - /// Unique identifier of the plug-in assembly. + /// Unique identifier of the user who created the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyidunique")] - public System.Nullable PluginAssemblyIdUnique + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedBy { get { - return this.GetAttributeValue>("pluginassemblyidunique"); + return this.GetAttributeValue("createdby"); } } /// - /// Public key token of the assembly. This value can be obtained from the assembly by using reflection. + /// Date and time when the SDK message processing step was created. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publickeytoken")] - public string PublicKeyToken + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] + public System.Nullable CreatedOn { get { - return this.GetAttributeValue("publickeytoken"); - } - set - { - this.OnPropertyChanging("PublicKeyToken"); - this.SetAttributeValue("publickeytoken", value); - this.OnPropertyChanged("PublicKeyToken"); + return this.GetAttributeValue>("createdon"); } } /// - /// Unique identifier of the associated solution. + /// Unique identifier of the delegate user who created the sdkmessageprocessingstep. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] - public System.Nullable SolutionId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { get { - return this.GetAttributeValue>("solutionid"); + return this.GetAttributeValue("createdonbehalfby"); } } /// - /// Hash of the source of the assembly. + /// Customization level of the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcehash")] - public string SourceHash + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel { get { - return this.GetAttributeValue("sourcehash"); - } - set - { - this.OnPropertyChanging("SourceHash"); - this.SetAttributeValue("sourcehash", value); - this.OnPropertyChanged("SourceHash"); + return this.GetAttributeValue>("customizationlevel"); } } /// - /// Location of the assembly, for example 0=database, 1=on-disk. + /// Description of the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sourcetype")] - public Microsoft.Xrm.Sdk.OptionSetValue SourceType + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] + public string Description { get { - return this.GetAttributeValue("sourcetype"); + return this.GetAttributeValue("description"); } set { - this.OnPropertyChanging("SourceType"); - this.SetAttributeValue("sourcetype", value); - this.OnPropertyChanged("SourceType"); + this.OnPropertyChanging("Description"); + this.SetAttributeValue("description", value); + this.OnPropertyChanged("Description"); } } /// - /// Version number of the assembly. The value can be obtained from the assembly through reflection. + /// Unique identifier of the associated event handler. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")] - public string Version + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")] + public Microsoft.Xrm.Sdk.EntityReference EventHandler { get { - return this.GetAttributeValue("version"); + return this.GetAttributeValue("eventhandler"); } set { - this.OnPropertyChanging("Version"); - this.SetAttributeValue("version", value); - this.OnPropertyChanged("Version"); + this.OnPropertyChanging("EventHandler"); + this.SetAttributeValue("eventhandler", value); + this.OnPropertyChanged("EventHandler"); } } /// - /// + /// Comma-separated list of attributes. If at least one of these attributes is modified, the plug-in should execute. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] - public System.Nullable VersionNumber + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filteringattributes")] + public string FilteringAttributes { get { - return this.GetAttributeValue>("versionnumber"); + return this.GetAttributeValue("filteringattributes"); + } + set + { + this.OnPropertyChanging("FilteringAttributes"); + this.SetAttributeValue("filteringattributes", value); + this.OnPropertyChanged("FilteringAttributes"); } } /// - /// 1:N pluginassembly_plugintype + /// Unique identifier of the user to impersonate context when step is executed. /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("pluginassembly_plugintype")] - public System.Collections.Generic.IEnumerable pluginassembly_plugintype + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("impersonatinguserid")] + public Microsoft.Xrm.Sdk.EntityReference ImpersonatingUserId { get { - return this.GetRelatedEntities("pluginassembly_plugintype", null); + return this.GetAttributeValue("impersonatinguserid"); } set { - this.OnPropertyChanging("pluginassembly_plugintype"); - this.SetRelatedEntities("pluginassembly_plugintype", null, value); - this.OnPropertyChanged("pluginassembly_plugintype"); + this.OnPropertyChanging("ImpersonatingUserId"); + this.SetAttributeValue("impersonatinguserid", value); + this.OnPropertyChanged("ImpersonatingUserId"); } } - - } - - - /// - /// Type that inherits from the IPlugin interface and is contained within a plug-in assembly. - /// - [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("plugintype")] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class PluginType : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - { - /// - /// Default Constructor. + /// Version in which the form is introduced. /// - public PluginType() : - base(EntityLogicalName) - { - } - - public const string EntityLogicalName = "plugintype"; - - public const int EntityTypeCode = 4602; - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; - - private void OnPropertyChanged(string propertyName) + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")] + public string IntroducedVersion { - if ((this.PropertyChanged != null)) + get { - this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + return this.GetAttributeValue("introducedversion"); } - } - - private void OnPropertyChanging(string propertyName) - { - if ((this.PropertyChanging != null)) + set { - this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); + this.OnPropertyChanging("IntroducedVersion"); + this.SetAttributeValue("introducedversion", value); + this.OnPropertyChanged("IntroducedVersion"); } } /// - /// Full path name of the plug-in assembly. + /// Identifies if a plug-in should be executed from a parent pipeline, a child pipeline, or both. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("assemblyname")] - public string AssemblyName + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invocationsource")] + [System.ObsoleteAttribute()] + public Microsoft.Xrm.Sdk.OptionSetValue InvocationSource { get { - return this.GetAttributeValue("assemblyname"); + return this.GetAttributeValue("invocationsource"); + } + set + { + this.OnPropertyChanging("InvocationSource"); + this.SetAttributeValue("invocationsource", value); + this.OnPropertyChanged("InvocationSource"); } } /// - /// For internal use only. + /// Information that specifies whether this component can be customized. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] - public Microsoft.Xrm.Sdk.OptionSetValue ComponentState + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")] + public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable { get { - return this.GetAttributeValue("componentstate"); + return this.GetAttributeValue("iscustomizable"); + } + set + { + this.OnPropertyChanging("IsCustomizable"); + this.SetAttributeValue("iscustomizable", value); + this.OnPropertyChanged("IsCustomizable"); } } /// - /// Unique identifier of the user who created the plug-in type. + /// Information that specifies whether this component should be hidden. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] - public Microsoft.Xrm.Sdk.EntityReference CreatedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ishidden")] + public Microsoft.Xrm.Sdk.BooleanManagedProperty IsHidden { get { - return this.GetAttributeValue("createdby"); + return this.GetAttributeValue("ishidden"); + } + set + { + this.OnPropertyChanging("IsHidden"); + this.SetAttributeValue("ishidden", value); + this.OnPropertyChanged("IsHidden"); } } /// - /// Date and time when the plug-in type was created. + /// Information that specifies whether this component is managed. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] - public System.Nullable CreatedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] + public System.Nullable IsManaged { get { - return this.GetAttributeValue>("createdon"); + return this.GetAttributeValue>("ismanaged"); } } /// - /// Unique identifier of the delegate user who created the plugintype. + /// Run-time mode of execution, for example, synchronous or asynchronous. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mode")] + public Microsoft.Xrm.Sdk.OptionSetValue Mode { get { - return this.GetAttributeValue("createdonbehalfby"); + return this.GetAttributeValue("mode"); + } + set + { + this.OnPropertyChanging("Mode"); + this.SetAttributeValue("mode", value); + this.OnPropertyChanged("Mode"); } } /// - /// Culture code for the plug-in assembly. + /// Unique identifier of the user who last modified the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("culture")] - public string Culture + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy { get { - return this.GetAttributeValue("culture"); + return this.GetAttributeValue("modifiedby"); } } /// - /// Customization level of the plug-in type. + /// Date and time when the SDK message processing step was last modified. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] - public System.Nullable CustomizationLevel + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn { get { - return this.GetAttributeValue>("customizationlevel"); + return this.GetAttributeValue>("modifiedon"); } } /// - /// Serialized Custom Activity Type information, including required arguments. For more information, see SandboxCustomActivityInfo. + /// Unique identifier of the delegate user who last modified the sdkmessageprocessingstep. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customworkflowactivityinfo")] - public string CustomWorkflowActivityInfo + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { get { - return this.GetAttributeValue("customworkflowactivityinfo"); + return this.GetAttributeValue("modifiedonbehalfby"); } } /// - /// Description of the plug-in type. + /// Name of SdkMessage processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] - public string Description + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] + public string Name { get { - return this.GetAttributeValue("description"); + return this.GetAttributeValue("name"); } set { - this.OnPropertyChanging("Description"); - this.SetAttributeValue("description", value); - this.OnPropertyChanged("Description"); + this.OnPropertyChanging("Name"); + this.SetAttributeValue("name", value); + this.OnPropertyChanged("Name"); } } /// - /// User friendly name for the plug-in. + /// Unique identifier of the organization with which the SDK message processing step is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("friendlyname")] - public string FriendlyName + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId { get { - return this.GetAttributeValue("friendlyname"); - } - set - { - this.OnPropertyChanging("FriendlyName"); - this.SetAttributeValue("friendlyname", value); - this.OnPropertyChanged("FriendlyName"); + return this.GetAttributeValue("organizationid"); } } /// - /// + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] - public System.Nullable IsManaged + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] + public System.Nullable OverwriteTime { get { - return this.GetAttributeValue>("ismanaged"); + return this.GetAttributeValue>("overwritetime"); } } /// - /// Indicates if the plug-in is a custom activity for workflows. + /// Unique identifier of the plug-in type associated with the step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isworkflowactivity")] - public System.Nullable IsWorkflowActivity + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")] + public Microsoft.Xrm.Sdk.EntityReference PluginTypeId { get { - return this.GetAttributeValue>("isworkflowactivity"); + return this.GetAttributeValue("plugintypeid"); + } + set + { + this.OnPropertyChanging("PluginTypeId"); + this.SetAttributeValue("plugintypeid", value); + this.OnPropertyChanged("PluginTypeId"); } } /// - /// Major of the version number of the assembly for the plug-in type. + /// Processing order within the stage. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("major")] - public System.Nullable Major + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rank")] + public System.Nullable Rank { get { - return this.GetAttributeValue>("major"); + return this.GetAttributeValue>("rank"); + } + set + { + this.OnPropertyChanging("Rank"); + this.SetAttributeValue("rank", value); + this.OnPropertyChanged("Rank"); } } /// - /// Minor of the version number of the assembly for the plug-in type. + /// Unique identifier of the SDK message filter. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("minor")] - public System.Nullable Minor + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageFilterId { get { - return this.GetAttributeValue>("minor"); + return this.GetAttributeValue("sdkmessagefilterid"); + } + set + { + this.OnPropertyChanging("SdkMessageFilterId"); + this.SetAttributeValue("sdkmessagefilterid", value); + this.OnPropertyChanged("SdkMessageFilterId"); } } /// - /// Unique identifier of the user who last modified the plug-in type. + /// Unique identifier of the SDK message. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageId { get { - return this.GetAttributeValue("modifiedby"); + return this.GetAttributeValue("sdkmessageid"); + } + set + { + this.OnPropertyChanging("SdkMessageId"); + this.SetAttributeValue("sdkmessageid", value); + this.OnPropertyChanged("SdkMessageId"); } } /// - /// Date and time when the plug-in type was last modified. + /// Unique identifier of the SDK message processing step entity. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] - public System.Nullable ModifiedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")] + public System.Nullable SdkMessageProcessingStepId { get { - return this.GetAttributeValue>("modifiedon"); + return this.GetAttributeValue>("sdkmessageprocessingstepid"); + } + set + { + this.OnPropertyChanging("SdkMessageProcessingStepId"); + this.SetAttributeValue("sdkmessageprocessingstepid", value); + if (value.HasValue) + { + base.Id = value.Value; + } + else + { + base.Id = System.Guid.Empty; + } + this.OnPropertyChanged("SdkMessageProcessingStepId"); } } - /// - /// Unique identifier of the delegate user who last modified the plugintype. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")] + public override System.Guid Id { get { - return this.GetAttributeValue("modifiedonbehalfby"); + return base.Id; + } + set + { + this.SdkMessageProcessingStepId = value; } } /// - /// Name of the plug-in type. + /// Unique identifier of the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] - public string Name + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepidunique")] + public System.Nullable SdkMessageProcessingStepIdUnique { get { - return this.GetAttributeValue("name"); - } - set - { - this.OnPropertyChanging("Name"); - this.SetAttributeValue("name", value); - this.OnPropertyChanged("Name"); + return this.GetAttributeValue>("sdkmessageprocessingstepidunique"); } } /// - /// Unique identifier of the organization with which the plug-in type is associated. + /// Unique identifier of the Sdk message processing step secure configuration. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] - public Microsoft.Xrm.Sdk.EntityReference OrganizationId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageProcessingStepSecureConfigId { get { - return this.GetAttributeValue("organizationid"); + return this.GetAttributeValue("sdkmessageprocessingstepsecureconfigid"); + } + set + { + this.OnPropertyChanging("SdkMessageProcessingStepSecureConfigId"); + this.SetAttributeValue("sdkmessageprocessingstepsecureconfigid", value); + this.OnPropertyChanged("SdkMessageProcessingStepSecureConfigId"); } } /// - /// For internal use only. + /// Unique identifier of the associated solution. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] - public System.Nullable OverwriteTime + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] + public System.Nullable SolutionId { get { - return this.GetAttributeValue>("overwritetime"); + return this.GetAttributeValue>("solutionid"); } } /// - /// Unique identifier of the plug-in assembly that contains this plug-in type. + /// Stage in the execution pipeline that the SDK message processing step is in. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")] - public Microsoft.Xrm.Sdk.EntityReference PluginAssemblyId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stage")] + public Microsoft.Xrm.Sdk.OptionSetValue Stage { get { - return this.GetAttributeValue("pluginassemblyid"); + return this.GetAttributeValue("stage"); } set { - this.OnPropertyChanging("PluginAssemblyId"); - this.SetAttributeValue("pluginassemblyid", value); - this.OnPropertyChanged("PluginAssemblyId"); + this.OnPropertyChanging("Stage"); + this.SetAttributeValue("stage", value); + this.OnPropertyChanged("Stage"); } } /// - /// Unique identifier of the plug-in type. + /// Status of the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")] - public System.Nullable PluginTypeId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")] + public System.Nullable StateCode { get { - return this.GetAttributeValue>("plugintypeid"); + Microsoft.Xrm.Sdk.OptionSetValue optionSet = this.GetAttributeValue("statecode"); + if ((optionSet != null)) + { + return ((SdkMessageProcessingStepState)(System.Enum.ToObject(typeof(SdkMessageProcessingStepState), optionSet.Value))); + } + else + { + return null; + } } set { - this.OnPropertyChanging("PluginTypeId"); - this.SetAttributeValue("plugintypeid", value); - if (value.HasValue) + this.OnPropertyChanging("StateCode"); + if ((value == null)) { - base.Id = value.Value; + this.SetAttributeValue("statecode", null); } else { - base.Id = System.Guid.Empty; + this.SetAttributeValue("statecode", new Microsoft.Xrm.Sdk.OptionSetValue(((int)(value)))); } - this.OnPropertyChanged("PluginTypeId"); + this.OnPropertyChanged("StateCode"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")] - public override System.Guid Id + /// + /// Reason for the status of the SDK message processing step. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")] + public Microsoft.Xrm.Sdk.OptionSetValue StatusCode { get { - return base.Id; + return this.GetAttributeValue("statuscode"); } set { - this.PluginTypeId = value; - } - } - - /// - /// Unique identifier of the plug-in type. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeidunique")] - public System.Nullable PluginTypeIdUnique - { - get - { - return this.GetAttributeValue>("plugintypeidunique"); + this.OnPropertyChanging("StatusCode"); + this.SetAttributeValue("statuscode", value); + this.OnPropertyChanged("StatusCode"); } } /// - /// Public key token of the assembly for the plug-in type. + /// Deployment that the SDK message processing step should be executed on; server, client, or both. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publickeytoken")] - public string PublicKeyToken + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("supporteddeployment")] + public Microsoft.Xrm.Sdk.OptionSetValue SupportedDeployment { get { - return this.GetAttributeValue("publickeytoken"); + return this.GetAttributeValue("supporteddeployment"); + } + set + { + this.OnPropertyChanging("SupportedDeployment"); + this.SetAttributeValue("supporteddeployment", value); + this.OnPropertyChanged("SupportedDeployment"); } } /// - /// Unique identifier of the associated solution. + /// Number that identifies a specific revision of the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] - public System.Nullable SolutionId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber { get { - return this.GetAttributeValue>("solutionid"); + return this.GetAttributeValue>("versionnumber"); } } + + /// - /// Fully qualified type name of the plug-in type. + /// 1:N sdkmessageprocessingstepid_sdkmessageprocessingstepimage /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("typename")] - public string TypeName + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepid_sdkmessageprocessingstepimage")] + public System.Collections.Generic.IEnumerable sdkmessageprocessingstepid_sdkmessageprocessingstepimage { get { - return this.GetAttributeValue("typename"); + return this.GetRelatedEntities("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null); } set { - this.OnPropertyChanging("TypeName"); - this.SetAttributeValue("typename", value); - this.OnPropertyChanged("TypeName"); + this.OnPropertyChanging("sdkmessageprocessingstepid_sdkmessageprocessingstepimage"); + this.SetRelatedEntities("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null, value); + this.OnPropertyChanged("sdkmessageprocessingstepid_sdkmessageprocessingstepimage"); } } + + /// - /// Version number of the assembly for the plug-in type. + /// N:1 plugintype_sdkmessageprocessingstep /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")] - public string Version + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintype_sdkmessageprocessingstep")] + public PluginType plugintype_sdkmessageprocessingstep { get { - return this.GetAttributeValue("version"); + return this.GetRelatedEntity("plugintype_sdkmessageprocessingstep", null); + } + set + { + this.OnPropertyChanging("plugintype_sdkmessageprocessingstep"); + this.SetRelatedEntity("plugintype_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("plugintype_sdkmessageprocessingstep"); } } /// - /// + /// N:1 plugintypeid_sdkmessageprocessingstep /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] - public System.Nullable VersionNumber + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintypeid_sdkmessageprocessingstep")] + public PluginType plugintypeid_sdkmessageprocessingstep { get { - return this.GetAttributeValue>("versionnumber"); + return this.GetRelatedEntity("plugintypeid_sdkmessageprocessingstep", null); + } + set + { + this.OnPropertyChanging("plugintypeid_sdkmessageprocessingstep"); + this.SetRelatedEntity("plugintypeid_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("plugintypeid_sdkmessageprocessingstep"); } } /// - /// Group name of workflow custom activity. + /// N:1 sdkmessagefilterid_sdkmessageprocessingstep /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowactivitygroupname")] - public string WorkflowActivityGroupName + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessagefilterid_sdkmessageprocessingstep")] + public SdkMessageFilter sdkmessagefilterid_sdkmessageprocessingstep { get { - return this.GetAttributeValue("workflowactivitygroupname"); + return this.GetRelatedEntity("sdkmessagefilterid_sdkmessageprocessingstep", null); } set { - this.OnPropertyChanging("WorkflowActivityGroupName"); - this.SetAttributeValue("workflowactivitygroupname", value); - this.OnPropertyChanged("WorkflowActivityGroupName"); + this.OnPropertyChanging("sdkmessagefilterid_sdkmessageprocessingstep"); + this.SetRelatedEntity("sdkmessagefilterid_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("sdkmessagefilterid_sdkmessageprocessingstep"); } } - - /// - /// 1:N plugintype_sdkmessageprocessingstep + /// N:1 sdkmessageid_sdkmessageprocessingstep /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintype_sdkmessageprocessingstep")] - public System.Collections.Generic.IEnumerable plugintype_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessageprocessingstep")] + public SdkMessage sdkmessageid_sdkmessageprocessingstep { get { - return this.GetRelatedEntities("plugintype_sdkmessageprocessingstep", null); + return this.GetRelatedEntity("sdkmessageid_sdkmessageprocessingstep", null); } set { - this.OnPropertyChanging("plugintype_sdkmessageprocessingstep"); - this.SetRelatedEntities("plugintype_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("plugintype_sdkmessageprocessingstep"); + this.OnPropertyChanging("sdkmessageid_sdkmessageprocessingstep"); + this.SetRelatedEntity("sdkmessageid_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("sdkmessageid_sdkmessageprocessingstep"); } } /// - /// 1:N plugintypeid_sdkmessageprocessingstep + /// N:1 sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintypeid_sdkmessageprocessingstep")] - public System.Collections.Generic.IEnumerable plugintypeid_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep")] + public SdkMessageProcessingStepSecureConfig sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep { get { - return this.GetRelatedEntities("plugintypeid_sdkmessageprocessingstep", null); + return this.GetRelatedEntity("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null); } set { - this.OnPropertyChanging("plugintypeid_sdkmessageprocessingstep"); - this.SetRelatedEntities("plugintypeid_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("plugintypeid_sdkmessageprocessingstep"); + this.OnPropertyChanging("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep"); + this.SetRelatedEntity("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep"); } } - - /// - /// N:1 pluginassembly_plugintype + /// N:1 serviceendpoint_sdkmessageprocessingstep /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pluginassemblyid")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("pluginassembly_plugintype")] - public PluginAssembly pluginassembly_plugintype + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceendpoint_sdkmessageprocessingstep")] + public ServiceEndpoint serviceendpoint_sdkmessageprocessingstep { get { - return this.GetRelatedEntity("pluginassembly_plugintype", null); + return this.GetRelatedEntity("serviceendpoint_sdkmessageprocessingstep", null); } set { - this.OnPropertyChanging("pluginassembly_plugintype"); - this.SetRelatedEntity("pluginassembly_plugintype", null, value); - this.OnPropertyChanged("pluginassembly_plugintype"); + this.OnPropertyChanging("serviceendpoint_sdkmessageprocessingstep"); + this.SetRelatedEntity("serviceendpoint_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("serviceendpoint_sdkmessageprocessingstep"); } } } /// - /// Message that is supported by the SDK. + /// Copy of an entity's attributes before or after the core system operation. /// [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessage")] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstepimage")] [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class SdkMessage : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + public partial class SdkMessageProcessingStepImage : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { /// /// Default Constructor. /// - public SdkMessage() : + public SdkMessageProcessingStepImage() : base(EntityLogicalName) { } - public const string EntityLogicalName = "sdkmessage"; + public const string EntityLogicalName = "sdkmessageprocessingstepimage"; - public const int EntityTypeCode = 4606; + public const int EntityTypeCode = 4615; public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -1708,61 +3172,37 @@ private void OnPropertyChanging(string propertyName) } /// - /// Information about whether the SDK message is automatically transacted. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("autotransact")] - public System.Nullable AutoTransact - { - get - { - return this.GetAttributeValue>("autotransact"); - } - set - { - this.OnPropertyChanging("AutoTransact"); - this.SetAttributeValue("autotransact", value); - this.OnPropertyChanged("AutoTransact"); - } - } - - /// - /// Identifies where a method will be exposed. 0 - Server, 1 - Client, 2 - both. + /// Comma-separated list of attributes that are to be passed into the SDK message processing step image. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("availability")] - public System.Nullable Availability + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributes")] + public string Attributes1 { get { - return this.GetAttributeValue>("availability"); + return this.GetAttributeValue("attributes"); } set { - this.OnPropertyChanging("Availability"); - this.SetAttributeValue("availability", value); - this.OnPropertyChanged("Availability"); + this.OnPropertyChanging("Attributes1"); + this.SetAttributeValue("attributes", value); + this.OnPropertyChanged("Attributes1"); } } /// - /// If this is a categorized method, this is the name, otherwise None. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("categoryname")] - public string CategoryName + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] + public Microsoft.Xrm.Sdk.OptionSetValue ComponentState { get { - return this.GetAttributeValue("categoryname"); - } - set - { - this.OnPropertyChanging("CategoryName"); - this.SetAttributeValue("categoryname", value); - this.OnPropertyChanged("CategoryName"); + return this.GetAttributeValue("componentstate"); } } /// - /// Unique identifier of the user who created the SDK message. + /// Unique identifier of the user who created the SDK message processing step image. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] public Microsoft.Xrm.Sdk.EntityReference CreatedBy @@ -1774,7 +3214,7 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedBy } /// - /// Date and time when the SDK message was created. + /// Date and time when the SDK message processing step image was created. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] public System.Nullable CreatedOn @@ -1786,7 +3226,7 @@ public System.Nullable CreatedOn } /// - /// Unique identifier of the delegate user who created the sdkmessage. + /// Unique identifier of the delegate user who created the sdkmessageprocessingstepimage. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy @@ -1798,7 +3238,7 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy } /// - /// Customization level of the SDK message. + /// Customization level of the SDK message processing step image. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] public System.Nullable CustomizationLevel @@ -1810,91 +3250,127 @@ public System.Nullable CustomizationLevel } /// - /// Indicates whether the SDK message should have its requests expanded per primary entity defined in its filters. + /// Description of the SDK message processing step image. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("expand")] - public System.Nullable Expand + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] + public string Description { get { - return this.GetAttributeValue>("expand"); + return this.GetAttributeValue("description"); } set { - this.OnPropertyChanging("Expand"); - this.SetAttributeValue("expand", value); - this.OnPropertyChanged("Expand"); + this.OnPropertyChanging("Description"); + this.SetAttributeValue("description", value); + this.OnPropertyChanged("Description"); } } /// - /// Information about whether the SDK message is active. + /// Key name used to access the pre-image or post-image property bags in a step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isactive")] - public System.Nullable IsActive + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityalias")] + public string EntityAlias { get { - return this.GetAttributeValue>("isactive"); + return this.GetAttributeValue("entityalias"); } set { - this.OnPropertyChanging("IsActive"); - this.SetAttributeValue("isactive", value); - this.OnPropertyChanged("IsActive"); + this.OnPropertyChanging("EntityAlias"); + this.SetAttributeValue("entityalias", value); + this.OnPropertyChanged("EntityAlias"); + } + } + + /// + /// Type of image requested. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("imagetype")] + public Microsoft.Xrm.Sdk.OptionSetValue ImageType + { + get + { + return this.GetAttributeValue("imagetype"); + } + set + { + this.OnPropertyChanging("ImageType"); + this.SetAttributeValue("imagetype", value); + this.OnPropertyChanged("ImageType"); + } + } + + /// + /// Version in which the form is introduced. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")] + public string IntroducedVersion + { + get + { + return this.GetAttributeValue("introducedversion"); + } + set + { + this.OnPropertyChanging("IntroducedVersion"); + this.SetAttributeValue("introducedversion", value); + this.OnPropertyChanged("IntroducedVersion"); } } /// - /// Indicates whether the SDK message is private. + /// Information that specifies whether this component can be customized. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isprivate")] - public System.Nullable IsPrivate + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")] + public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable { get { - return this.GetAttributeValue>("isprivate"); + return this.GetAttributeValue("iscustomizable"); } set { - this.OnPropertyChanging("IsPrivate"); - this.SetAttributeValue("isprivate", value); - this.OnPropertyChanged("IsPrivate"); + this.OnPropertyChanging("IsCustomizable"); + this.SetAttributeValue("iscustomizable", value); + this.OnPropertyChanged("IsCustomizable"); } } /// - /// Identifies whether an SDK message will be ReadOnly or Read Write. false - ReadWrite, true - ReadOnly . + /// /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isreadonly")] - public System.Nullable IsReadOnly + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] + public System.Nullable IsManaged { get { - return this.GetAttributeValue>("isreadonly"); - } - set - { - this.OnPropertyChanging("IsReadOnly"); - this.SetAttributeValue("isreadonly", value); - this.OnPropertyChanged("IsReadOnly"); + return this.GetAttributeValue>("ismanaged"); } } /// - /// For internal use only. + /// Name of the property on the Request message. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvalidforexecuteasync")] - public System.Nullable IsValidForExecuteAsync + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("messagepropertyname")] + public string MessagePropertyName { get { - return this.GetAttributeValue>("isvalidforexecuteasync"); + return this.GetAttributeValue("messagepropertyname"); + } + set + { + this.OnPropertyChanging("MessagePropertyName"); + this.SetAttributeValue("messagepropertyname", value); + this.OnPropertyChanged("MessagePropertyName"); } } /// - /// Unique identifier of the user who last modified the SDK message. + /// Unique identifier of the user who last modified the SDK message processing step. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] public Microsoft.Xrm.Sdk.EntityReference ModifiedBy @@ -1906,7 +3382,7 @@ public Microsoft.Xrm.Sdk.EntityReference ModifiedBy } /// - /// Date and time when the SDK message was last modified. + /// Date and time when the SDK message processing step was last modified. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] public System.Nullable ModifiedOn @@ -1918,7 +3394,7 @@ public System.Nullable ModifiedOn } /// - /// Unique identifier of the delegate user who last modified the sdkmessage. + /// Unique identifier of the delegate user who last modified the sdkmessageprocessingstepimage. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy @@ -1930,7 +3406,7 @@ public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy } /// - /// Name of the SDK message. + /// Name of SdkMessage processing step image. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] public string Name @@ -1948,7 +3424,7 @@ public string Name } /// - /// Unique identifier of the organization with which the SDK message is associated. + /// Unique identifier of the organization with which the SDK message processing step is associated. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] public Microsoft.Xrm.Sdk.EntityReference OrganizationId @@ -1960,188 +3436,169 @@ public Microsoft.Xrm.Sdk.EntityReference OrganizationId } /// - /// Unique identifier of the SDK message entity. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] - public System.Nullable SdkMessageId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] + public System.Nullable OverwriteTime { get { - return this.GetAttributeValue>("sdkmessageid"); - } - set - { - this.OnPropertyChanging("SdkMessageId"); - this.SetAttributeValue("sdkmessageid", value); - if (value.HasValue) - { - base.Id = value.Value; - } - else - { - base.Id = System.Guid.Empty; - } - this.OnPropertyChanged("SdkMessageId"); + return this.GetAttributeValue>("overwritetime"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] - public override System.Guid Id + /// + /// Name of the related entity. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relatedattributename")] + public string RelatedAttributeName { get { - return base.Id; + return this.GetAttributeValue("relatedattributename"); } set { - this.SdkMessageId = value; + this.OnPropertyChanging("RelatedAttributeName"); + this.SetAttributeValue("relatedattributename", value); + this.OnPropertyChanged("RelatedAttributeName"); } } /// - /// Unique identifier of the SDK message. + /// Unique identifier of the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageidunique")] - public System.Nullable SdkMessageIdUnique + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageProcessingStepId { get { - return this.GetAttributeValue>("sdkmessageidunique"); + return this.GetAttributeValue("sdkmessageprocessingstepid"); + } + set + { + this.OnPropertyChanging("SdkMessageProcessingStepId"); + this.SetAttributeValue("sdkmessageprocessingstepid", value); + this.OnPropertyChanged("SdkMessageProcessingStepId"); } } /// - /// Indicates whether the SDK message is a template. + /// Unique identifier of the SDK message processing step image entity. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("template")] - public System.Nullable Template + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageid")] + public System.Nullable SdkMessageProcessingStepImageId { get { - return this.GetAttributeValue>("template"); + return this.GetAttributeValue>("sdkmessageprocessingstepimageid"); } set { - this.OnPropertyChanging("Template"); - this.SetAttributeValue("template", value); - this.OnPropertyChanged("Template"); + this.OnPropertyChanging("SdkMessageProcessingStepImageId"); + this.SetAttributeValue("sdkmessageprocessingstepimageid", value); + if (value.HasValue) + { + base.Id = value.Value; + } + else + { + base.Id = System.Guid.Empty; + } + this.OnPropertyChanged("SdkMessageProcessingStepImageId"); } } - /// - /// For internal use only. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("throttlesettings")] - public string ThrottleSettings + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageid")] + public override System.Guid Id { get { - return this.GetAttributeValue("throttlesettings"); + return base.Id; } - } - - /// - /// Number that identifies a specific revision of the SDK message. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] - public System.Nullable VersionNumber - { - get + set { - return this.GetAttributeValue>("versionnumber"); + this.SdkMessageProcessingStepImageId = value; } } /// - /// Whether or not the SDK message can be called from a workflow. + /// Unique identifier of the SDK message processing step image. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowsdkstepenabled")] - public System.Nullable WorkflowSdkStepEnabled + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageidunique")] + public System.Nullable SdkMessageProcessingStepImageIdUnique { get { - return this.GetAttributeValue>("workflowsdkstepenabled"); + return this.GetAttributeValue>("sdkmessageprocessingstepimageidunique"); } } /// - /// 1:N message_sdkmessagepair + /// Unique identifier of the associated solution. /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("message_sdkmessagepair")] - public System.Collections.Generic.IEnumerable message_sdkmessagepair + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] + public System.Nullable SolutionId { get { - return this.GetRelatedEntities("message_sdkmessagepair", null); - } - set - { - this.OnPropertyChanging("message_sdkmessagepair"); - this.SetRelatedEntities("message_sdkmessagepair", null, value); - this.OnPropertyChanged("message_sdkmessagepair"); + return this.GetAttributeValue>("solutionid"); } } /// - /// 1:N sdkmessageid_sdkmessagefilter + /// Number that identifies a specific revision of the step image. /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessagefilter")] - public System.Collections.Generic.IEnumerable sdkmessageid_sdkmessagefilter + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber { get { - return this.GetRelatedEntities("sdkmessageid_sdkmessagefilter", null); - } - set - { - this.OnPropertyChanging("sdkmessageid_sdkmessagefilter"); - this.SetRelatedEntities("sdkmessageid_sdkmessagefilter", null, value); - this.OnPropertyChanged("sdkmessageid_sdkmessagefilter"); + return this.GetAttributeValue>("versionnumber"); } } + /// - /// 1:N sdkmessageid_sdkmessageprocessingstep + /// N:1 sdkmessageprocessingstepid_sdkmessageprocessingstepimage /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessageprocessingstep")] - public System.Collections.Generic.IEnumerable sdkmessageid_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")] + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepid_sdkmessageprocessingstepimage")] + public SdkMessageProcessingStep sdkmessageprocessingstepid_sdkmessageprocessingstepimage { get { - return this.GetRelatedEntities("sdkmessageid_sdkmessageprocessingstep", null); + return this.GetRelatedEntity("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null); } set { - this.OnPropertyChanging("sdkmessageid_sdkmessageprocessingstep"); - this.SetRelatedEntities("sdkmessageid_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("sdkmessageid_sdkmessageprocessingstep"); + this.OnPropertyChanging("sdkmessageprocessingstepid_sdkmessageprocessingstepimage"); + this.SetRelatedEntity("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null, value); + this.OnPropertyChanged("sdkmessageprocessingstepid_sdkmessageprocessingstepimage"); } } - - - } /// - /// Filter that defines which SDK messages are valid for each type of entity. + /// Non-public custom configuration that is passed to a plug-in's constructor. /// [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagefilter")] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstepsecureconfig")] [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class SdkMessageFilter : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + public partial class SdkMessageProcessingStepSecureConfig : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { /// /// Default Constructor. /// - public SdkMessageFilter() : + public SdkMessageProcessingStepSecureConfig() : base(EntityLogicalName) { } - public const string EntityLogicalName = "sdkmessagefilter"; + public const string EntityLogicalName = "sdkmessageprocessingstepsecureconfig"; - public const int EntityTypeCode = 4607; + public const int EntityTypeCode = 4616; public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -2164,25 +3621,7 @@ private void OnPropertyChanging(string propertyName) } /// - /// Identifies where a method will be exposed. 0 - Server, 1 - Client, 2 - both. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("availability")] - public System.Nullable Availability - { - get - { - return this.GetAttributeValue>("availability"); - } - set - { - this.OnPropertyChanging("Availability"); - this.SetAttributeValue("availability", value); - this.OnPropertyChanged("Availability"); - } - } - - /// - /// Unique identifier of the user who created the SDK message filter. + /// Unique identifier of the user who created the SDK message processing step. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] public Microsoft.Xrm.Sdk.EntityReference CreatedBy @@ -2194,7 +3633,7 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedBy } /// - /// Date and time when the SDK message filter was created. + /// Date and time when the SDK message processing step was created. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] public System.Nullable CreatedOn @@ -2206,7 +3645,7 @@ public System.Nullable CreatedOn } /// - /// Unique identifier of the delegate user who created the sdkmessagefilter. + /// Unique identifier of the delegate user who created the sdkmessageprocessingstepsecureconfig. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy @@ -2218,49 +3657,19 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy } /// - /// Customization level of the SDK message filter. + /// Customization level of the SDK message processing step secure configuration. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] - public System.Nullable CustomizationLevel - { - get - { - return this.GetAttributeValue>("customizationlevel"); - } - } - - /// - /// Indicates whether a custom SDK message processing step is allowed. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomprocessingstepallowed")] - public System.Nullable IsCustomProcessingStepAllowed - { - get - { - return this.GetAttributeValue>("iscustomprocessingstepallowed"); - } - set - { - this.OnPropertyChanging("IsCustomProcessingStepAllowed"); - this.SetAttributeValue("iscustomprocessingstepallowed", value); - this.OnPropertyChanged("IsCustomProcessingStepAllowed"); - } - } - - /// - /// Indicates whether the filter should be visible. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvisible")] - public System.Nullable IsVisible + public System.Nullable CustomizationLevel { get { - return this.GetAttributeValue>("isvisible"); + return this.GetAttributeValue>("customizationlevel"); } } /// - /// Unique identifier of the user who last modified the SDK message filter. + /// Unique identifier of the user who last modified the SDK message processing step. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] public Microsoft.Xrm.Sdk.EntityReference ModifiedBy @@ -2272,7 +3681,7 @@ public Microsoft.Xrm.Sdk.EntityReference ModifiedBy } /// - /// Date and time when the SDK message filter was last modified. + /// Date and time when the SDK message processing step was last modified. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] public System.Nullable ModifiedOn @@ -2284,7 +3693,7 @@ public System.Nullable ModifiedOn } /// - /// Unique identifier of the delegate user who last modified the sdkmessagefilter. + /// Unique identifier of the delegate user who last modified the sdkmessageprocessingstepsecureconfig. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy @@ -2296,7 +3705,7 @@ public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy } /// - /// Unique identifier of the organization with which the SDK message filter is associated. + /// Unique identifier of the organization with which the SDK message processing step is associated. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] public Microsoft.Xrm.Sdk.EntityReference OrganizationId @@ -2308,37 +3717,19 @@ public Microsoft.Xrm.Sdk.EntityReference OrganizationId } /// - /// Type of entity with which the SDK message filter is primarily associated. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryobjecttypecode")] - public string PrimaryObjectTypeCode - { - get - { - return this.GetAttributeValue("primaryobjecttypecode"); - } - set - { - this.OnPropertyChanging("PrimaryObjectTypeCode"); - this.SetAttributeValue("primaryobjecttypecode", value); - this.OnPropertyChanged("PrimaryObjectTypeCode"); - } - } - - /// - /// Unique identifier of the SDK message filter entity. + /// Unique identifier of the SDK message processing step secure configuration. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")] - public System.Nullable SdkMessageFilterId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")] + public System.Nullable SdkMessageProcessingStepSecureConfigId { get { - return this.GetAttributeValue>("sdkmessagefilterid"); + return this.GetAttributeValue>("sdkmessageprocessingstepsecureconfigid"); } set { - this.OnPropertyChanging("SdkMessageFilterId"); - this.SetAttributeValue("sdkmessagefilterid", value); + this.OnPropertyChanging("SdkMessageProcessingStepSecureConfigId"); + this.SetAttributeValue("sdkmessageprocessingstepsecureconfigid", value); if (value.HasValue) { base.Id = value.Value; @@ -2347,11 +3738,11 @@ public System.Nullable SdkMessageFilterId { base.Id = System.Guid.Empty; } - this.OnPropertyChanged("SdkMessageFilterId"); + this.OnPropertyChanged("SdkMessageProcessingStepSecureConfigId"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")] + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")] public override System.Guid Id { get @@ -2360,112 +3751,55 @@ public override System.Guid Id } set { - this.SdkMessageFilterId = value; - } - } - - /// - /// Unique identifier of the SDK message filter. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilteridunique")] - public System.Nullable SdkMessageFilterIdUnique - { - get - { - return this.GetAttributeValue>("sdkmessagefilteridunique"); - } - } - - /// - /// Unique identifier of the related SDK message. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] - public Microsoft.Xrm.Sdk.EntityReference SdkMessageId - { - get - { - return this.GetAttributeValue("sdkmessageid"); - } - set - { - this.OnPropertyChanging("SdkMessageId"); - this.SetAttributeValue("sdkmessageid", value); - this.OnPropertyChanged("SdkMessageId"); - } - } - - /// - /// Type of entity with which the SDK message filter is secondarily associated. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secondaryobjecttypecode")] - public string SecondaryObjectTypeCode - { - get - { - return this.GetAttributeValue("secondaryobjecttypecode"); - } - } - - /// - /// - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] - public System.Nullable VersionNumber - { - get - { - return this.GetAttributeValue>("versionnumber"); + this.SdkMessageProcessingStepSecureConfigId = value; } } /// - /// Whether or not the SDK message can be called from a workflow. + /// Unique identifier of the SDK message processing step. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("workflowsdkstepenabled")] - public System.Nullable WorkflowSdkStepEnabled + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigidunique")] + public System.Nullable SdkMessageProcessingStepSecureConfigIdUnique { get { - return this.GetAttributeValue>("workflowsdkstepenabled"); + return this.GetAttributeValue>("sdkmessageprocessingstepsecureconfigidunique"); } } /// - /// 1:N sdkmessagefilterid_sdkmessageprocessingstep + /// Secure step-specific configuration for the plug-in type that is passed to the plug-in's constructor at run time. /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessagefilterid_sdkmessageprocessingstep")] - public System.Collections.Generic.IEnumerable sdkmessagefilterid_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secureconfig")] + public string SecureConfig { get { - return this.GetRelatedEntities("sdkmessagefilterid_sdkmessageprocessingstep", null); + return this.GetAttributeValue("secureconfig"); } set { - this.OnPropertyChanging("sdkmessagefilterid_sdkmessageprocessingstep"); - this.SetRelatedEntities("sdkmessagefilterid_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("sdkmessagefilterid_sdkmessageprocessingstep"); + this.OnPropertyChanging("SecureConfig"); + this.SetAttributeValue("secureconfig", value); + this.OnPropertyChanged("SecureConfig"); } } - - /// - /// N:1 sdkmessageid_sdkmessagefilter + /// 1:N sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessagefilter")] - public SdkMessage sdkmessageid_sdkmessagefilter + [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep")] + public System.Collections.Generic.IEnumerable sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep { get { - return this.GetRelatedEntity("sdkmessageid_sdkmessagefilter", null); + return this.GetRelatedEntities("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null); } set { - this.OnPropertyChanging("sdkmessageid_sdkmessagefilter"); - this.SetRelatedEntity("sdkmessageid_sdkmessagefilter", null, value); - this.OnPropertyChanged("sdkmessageid_sdkmessagefilter"); + this.OnPropertyChanging("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep"); + this.SetRelatedEntities("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null, value); + this.OnPropertyChanged("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep"); } } } @@ -2474,22 +3808,24 @@ public SdkMessage sdkmessageid_sdkmessagefilter /// For internal use only. /// [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagepair")] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class SdkMessagePair : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagerequest")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public partial class SdkMessageRequest : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { /// /// Default Constructor. /// - public SdkMessagePair() : + public SdkMessageRequest() : base(EntityLogicalName) { } - public const string EntityLogicalName = "sdkmessagepair"; + public const string EntityLogicalName = "sdkmessagerequest"; - public const int EntityTypeCode = 4613; + public const string PrimaryIdAttribute = "sdkmessagerequestid"; + + public const int EntityTypeCode = 4609; public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -2512,7 +3848,7 @@ private void OnPropertyChanging(string propertyName) } /// - /// Unique identifier of the user who created the SDK message pair. + /// Unique identifier of the user who created the SDK message request. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] public Microsoft.Xrm.Sdk.EntityReference CreatedBy @@ -2524,7 +3860,7 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedBy } /// - /// Date and time when the SDK message pair was created. + /// Date and time when the SDK message request was created. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] public System.Nullable CreatedOn @@ -2536,7 +3872,7 @@ public System.Nullable CreatedOn } /// - /// Unique identifier of the delegate user who created the sdkmessagepair. + /// Unique identifier of the delegate user who created the sdkmessagerequest. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy @@ -2545,10 +3881,16 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { return this.GetAttributeValue("createdonbehalfby"); } + set + { + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); + } } /// - /// Customization level of the SDK message filter. + /// Customization level of the SDK message request. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] public System.Nullable CustomizationLevel @@ -2560,25 +3902,7 @@ public System.Nullable CustomizationLevel } /// - /// Endpoint that the message pair is associated with. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("endpoint")] - public string Endpoint - { - get - { - return this.GetAttributeValue("endpoint"); - } - set - { - this.OnPropertyChanging("Endpoint"); - this.SetAttributeValue("endpoint", value); - this.OnPropertyChanged("Endpoint"); - } - } - - /// - /// Unique identifier of the user who last modified the SDK message pair. + /// Unique identifier of the user who last modified the SDK message request. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] public Microsoft.Xrm.Sdk.EntityReference ModifiedBy @@ -2590,7 +3914,7 @@ public Microsoft.Xrm.Sdk.EntityReference ModifiedBy } /// - /// Date and time when the SDK message pair was last modified. + /// Date and time when the SDK message request was last modified. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] public System.Nullable ModifiedOn @@ -2602,7 +3926,7 @@ public System.Nullable ModifiedOn } /// - /// Unique identifier of the delegate user who last modified the sdkmessagepair. + /// Unique identifier of the delegate user who last modified the sdkmessagerequest. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy @@ -2611,28 +3935,34 @@ public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { return this.GetAttributeValue("modifiedonbehalfby"); } + set + { + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); + } } /// - /// Namespace that the message pair is associated with. + /// Name of the SDK message request. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("namespace")] - public string Namespace + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] + public string Name { get { - return this.GetAttributeValue("namespace"); + return this.GetAttributeValue("name"); } set { - this.OnPropertyChanging("Namespace"); - this.SetAttributeValue("namespace", value); - this.OnPropertyChanged("Namespace"); + this.OnPropertyChanging("Name"); + this.SetAttributeValue("name", value); + this.OnPropertyChanged("Name"); } } /// - /// Unique identifier of the organization with which the SDK message pair is associated. + /// Unique identifier of the organization with which the SDK message request is associated. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] public Microsoft.Xrm.Sdk.EntityReference OrganizationId @@ -2644,49 +3974,43 @@ public Microsoft.Xrm.Sdk.EntityReference OrganizationId } /// - /// + /// Type of entity with which the SDK request is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagebindinginformation")] - public string SdkMessageBindingInformation + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("primaryobjecttypecode")] + public string PrimaryObjectTypeCode { get { - return this.GetAttributeValue("sdkmessagebindinginformation"); - } - set - { - this.OnPropertyChanging("SdkMessageBindingInformation"); - this.SetAttributeValue("sdkmessagebindinginformation", value); - this.OnPropertyChanged("SdkMessageBindingInformation"); + return this.GetAttributeValue("primaryobjecttypecode"); } } /// - /// Unique identifier of the message with which the SDK message pair is associated. + /// Unique identifier of the message pair with which the SDK message request is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] - public Microsoft.Xrm.Sdk.EntityReference SdkMessageId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessagePairId { get { - return this.GetAttributeValue("sdkmessageid"); + return this.GetAttributeValue("sdkmessagepairid"); } } /// - /// Unique identifier of the SDK message pair entity. + /// Unique identifier of the SDK message request entity. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")] - public System.Nullable SdkMessagePairId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")] + public System.Nullable SdkMessageRequestId { get { - return this.GetAttributeValue>("sdkmessagepairid"); + return this.GetAttributeValue>("sdkmessagerequestid"); } set { - this.OnPropertyChanging("SdkMessagePairId"); - this.SetAttributeValue("sdkmessagepairid", value); + this.OnPropertyChanging("SdkMessageRequestId"); + this.SetAttributeValue("sdkmessagerequestid", value); if (value.HasValue) { base.Id = value.Value; @@ -2695,11 +4019,11 @@ public System.Nullable SdkMessagePairId { base.Id = System.Guid.Empty; } - this.OnPropertyChanged("SdkMessagePairId"); + this.OnPropertyChanged("SdkMessageRequestId"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairid")] + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")] public override System.Guid Id { get @@ -2708,86 +4032,57 @@ public override System.Guid Id } set { - this.SdkMessagePairId = value; + this.SdkMessageRequestId = value; } } /// - /// Unique identifier of the SDK message pair. + /// Unique identifier of the SDK message request. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagepairidunique")] - public System.Nullable SdkMessagePairIdUnique + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestidunique")] + public System.Nullable SdkMessageRequestIdUnique { get { - return this.GetAttributeValue>("sdkmessagepairidunique"); + return this.GetAttributeValue>("sdkmessagerequestidunique"); } } /// - /// For internal use only. + /// /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] - public System.Nullable VersionNumber - { - get - { - return this.GetAttributeValue>("versionnumber"); - } - } - - - - - - /// - /// N:1 message_sdkmessagepair - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("message_sdkmessagepair")] - public SdkMessage message_sdkmessagepair - { - get - { - return this.GetRelatedEntity("message_sdkmessagepair", null); - } - } - - - } - - [System.Runtime.Serialization.DataContractAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public enum SdkMessageProcessingStepState - { - - [System.Runtime.Serialization.EnumMemberAttribute()] - Enabled = 0, - - [System.Runtime.Serialization.EnumMemberAttribute()] - Disabled = 1, + public System.Nullable VersionNumber + { + get + { + return this.GetAttributeValue>("versionnumber"); + } + } } /// - /// Stage in the execution pipeline that a plug-in is to execute. + /// For internal use only. /// [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstep")] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class SdkMessageProcessingStep : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessagerequestfield")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public partial class SdkMessageRequestField : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { /// /// Default Constructor. /// - public SdkMessageProcessingStep() : + public SdkMessageRequestField() : base(EntityLogicalName) { } - public const string EntityLogicalName = "sdkmessageprocessingstep"; + public const string EntityLogicalName = "sdkmessagerequestfield"; - public const int EntityTypeCode = 4608; + public const string PrimaryIdAttribute = "sdkmessagerequestfieldid"; + + public const int EntityTypeCode = 4614; public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -2810,614 +4105,537 @@ private void OnPropertyChanging(string propertyName) } /// - /// Indicates whether the asynchronous system job is automatically deleted on completion. + /// Common language runtime (CLR)-based parser for the SDK message request field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("asyncautodelete")] - public System.Nullable AsyncAutoDelete + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("clrparser")] + public string ClrParser { get { - return this.GetAttributeValue>("asyncautodelete"); + return this.GetAttributeValue("clrparser"); } set { - this.OnPropertyChanging("AsyncAutoDelete"); - this.SetAttributeValue("asyncautodelete", value); - this.OnPropertyChanged("AsyncAutoDelete"); + this.OnPropertyChanging("ClrParser"); + this.SetAttributeValue("clrparser", value); + this.OnPropertyChanged("ClrParser"); } } /// - /// Identifies whether a SDK Message Processing Step type will be ReadOnly or Read Write. false - ReadWrite, true - ReadOnly + /// Unique identifier of the user who created the SDK message request field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("canusereadonlyconnection")] - public System.Nullable CanUseReadOnlyConnection + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedBy { get { - return this.GetAttributeValue>("canusereadonlyconnection"); - } - set - { - this.OnPropertyChanging("CanUseReadOnlyConnection"); - this.SetAttributeValue("canusereadonlyconnection", value); - this.OnPropertyChanged("CanUseReadOnlyConnection"); + return this.GetAttributeValue("createdby"); } } /// - /// For internal use only. + /// Date and time when the SDK message request field was created. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] - public Microsoft.Xrm.Sdk.OptionSetValue ComponentState + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] + public System.Nullable CreatedOn { get { - return this.GetAttributeValue("componentstate"); + return this.GetAttributeValue>("createdon"); } } /// - /// Step-specific configuration for the plug-in type. Passed to the plug-in constructor at run time. + /// Unique identifier of the delegate user who created the sdkmessagerequestfield. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("configuration")] - public string Configuration + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { get { - return this.GetAttributeValue("configuration"); + return this.GetAttributeValue("createdonbehalfby"); } set { - this.OnPropertyChanging("Configuration"); - this.SetAttributeValue("configuration", value); - this.OnPropertyChanged("Configuration"); + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); } } /// - /// Unique identifier of the user who created the SDK message processing step. + /// Customization level of the SDK message request field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] - public Microsoft.Xrm.Sdk.EntityReference CreatedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel { get { - return this.GetAttributeValue("createdby"); + return this.GetAttributeValue>("customizationlevel"); } } /// - /// Date and time when the SDK message processing step was created. + /// Indicates how field contents are used during message processing. 1 - Primary entity, 2- Secondary entity /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] - public System.Nullable CreatedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("fieldmask")] + public System.Nullable FieldMask { get { - return this.GetAttributeValue>("createdon"); + return this.GetAttributeValue>("fieldmask"); } } /// - /// Unique identifier of the delegate user who created the sdkmessageprocessingstep. + /// Unique identifier of the user who last modified the SDK message request field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy { get { - return this.GetAttributeValue("createdonbehalfby"); + return this.GetAttributeValue("modifiedby"); } } /// - /// Customization level of the SDK message processing step. + /// Date and time when the SDK message request field was last modified. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] - public System.Nullable CustomizationLevel + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn { get { - return this.GetAttributeValue>("customizationlevel"); + return this.GetAttributeValue>("modifiedon"); } } /// - /// Description of the SDK message processing step. + /// Unique identifier of the delegate user who last modified the sdkmessagerequestfield. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] - public string Description + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { get { - return this.GetAttributeValue("description"); + return this.GetAttributeValue("modifiedonbehalfby"); } set { - this.OnPropertyChanging("Description"); - this.SetAttributeValue("description", value); - this.OnPropertyChanged("Description"); + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); } } /// - /// Unique identifier of the associated event handler. + /// Name of the SDK message request field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")] - public Microsoft.Xrm.Sdk.EntityReference EventHandler + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] + public string Name { get { - return this.GetAttributeValue("eventhandler"); + return this.GetAttributeValue("name"); } set { - this.OnPropertyChanging("EventHandler"); - this.SetAttributeValue("eventhandler", value); - this.OnPropertyChanged("EventHandler"); + this.OnPropertyChanging("Name"); + this.SetAttributeValue("name", value); + this.OnPropertyChanged("Name"); } } /// - /// Comma-separated list of attributes. If at least one of these attributes is modified, the plug-in should execute. + /// Information about whether SDK message request field is optional. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("filteringattributes")] - public string FilteringAttributes + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("optional")] + public System.Nullable Optional { get { - return this.GetAttributeValue("filteringattributes"); + return this.GetAttributeValue>("optional"); } set { - this.OnPropertyChanging("FilteringAttributes"); - this.SetAttributeValue("filteringattributes", value); - this.OnPropertyChanged("FilteringAttributes"); + this.OnPropertyChanging("Optional"); + this.SetAttributeValue("optional", value); + this.OnPropertyChanged("Optional"); } } /// - /// Unique identifier of the user to impersonate context when step is executed. + /// Unique identifier of the organization with which the SDK message request field is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("impersonatinguserid")] - public Microsoft.Xrm.Sdk.EntityReference ImpersonatingUserId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId { get { - return this.GetAttributeValue("impersonatinguserid"); - } - set - { - this.OnPropertyChanging("ImpersonatingUserId"); - this.SetAttributeValue("impersonatinguserid", value); - this.OnPropertyChanged("ImpersonatingUserId"); + return this.GetAttributeValue("organizationid"); } } /// - /// Version in which the form is introduced. + /// /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")] - public string IntroducedVersion + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parameterbindinginformation")] + public string ParameterBindingInformation { get { - return this.GetAttributeValue("introducedversion"); + return this.GetAttributeValue("parameterbindinginformation"); } set { - this.OnPropertyChanging("IntroducedVersion"); - this.SetAttributeValue("introducedversion", value); - this.OnPropertyChanged("IntroducedVersion"); + this.OnPropertyChanging("ParameterBindingInformation"); + this.SetAttributeValue("parameterbindinginformation", value); + this.OnPropertyChanged("ParameterBindingInformation"); } } /// - /// Identifies if a plug-in should be executed from a parent pipeline, a child pipeline, or both. + /// Parser for the SDK message request field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("invocationsource")] - [System.ObsoleteAttribute()] - public Microsoft.Xrm.Sdk.OptionSetValue InvocationSource + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parser")] + public string Parser { get { - return this.GetAttributeValue("invocationsource"); + return this.GetAttributeValue("parser"); } set { - this.OnPropertyChanging("InvocationSource"); - this.SetAttributeValue("invocationsource", value); - this.OnPropertyChanged("InvocationSource"); + this.OnPropertyChanging("Parser"); + this.SetAttributeValue("parser", value); + this.OnPropertyChanged("Parser"); } } /// - /// Information that specifies whether this component can be customized. + /// Position of the Sdk message request field /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")] - public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("position")] + public System.Nullable Position { get { - return this.GetAttributeValue("iscustomizable"); - } - set - { - this.OnPropertyChanging("IsCustomizable"); - this.SetAttributeValue("iscustomizable", value); - this.OnPropertyChanged("IsCustomizable"); + return this.GetAttributeValue>("position"); } } /// - /// Information that specifies whether this component should be hidden. + /// Public name of the SDK message request field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ishidden")] - public Microsoft.Xrm.Sdk.BooleanManagedProperty IsHidden + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publicname")] + public string PublicName { get { - return this.GetAttributeValue("ishidden"); + return this.GetAttributeValue("publicname"); } set { - this.OnPropertyChanging("IsHidden"); - this.SetAttributeValue("ishidden", value); - this.OnPropertyChanged("IsHidden"); + this.OnPropertyChanging("PublicName"); + this.SetAttributeValue("publicname", value); + this.OnPropertyChanged("PublicName"); } } /// - /// Information that specifies whether this component is managed. + /// Unique identifier of the SDK message request field entity. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] - public System.Nullable IsManaged + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestfieldid")] + public System.Nullable SdkMessageRequestFieldId { get { - return this.GetAttributeValue>("ismanaged"); + return this.GetAttributeValue>("sdkmessagerequestfieldid"); + } + set + { + this.OnPropertyChanging("SdkMessageRequestFieldId"); + this.SetAttributeValue("sdkmessagerequestfieldid", value); + if (value.HasValue) + { + base.Id = value.Value; + } + else + { + base.Id = System.Guid.Empty; + } + this.OnPropertyChanged("SdkMessageRequestFieldId"); } } - /// - /// Run-time mode of execution, for example, synchronous or asynchronous. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("mode")] - public Microsoft.Xrm.Sdk.OptionSetValue Mode + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestfieldid")] + public override System.Guid Id { get { - return this.GetAttributeValue("mode"); + return base.Id; } set { - this.OnPropertyChanging("Mode"); - this.SetAttributeValue("mode", value); - this.OnPropertyChanged("Mode"); + this.SdkMessageRequestFieldId = value; } } /// - /// Unique identifier of the user who last modified the SDK message processing step. + /// Entity identifier of the SDK message request field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestfieldidunique")] + public System.Nullable SdkMessageRequestFieldIdUnique { get { - return this.GetAttributeValue("modifiedby"); + return this.GetAttributeValue>("sdkmessagerequestfieldidunique"); } } /// - /// Date and time when the SDK message processing step was last modified. + /// Unique identifier of the message request with which the SDK message request field is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] - public System.Nullable ModifiedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageRequestId { get { - return this.GetAttributeValue>("modifiedon"); + return this.GetAttributeValue("sdkmessagerequestid"); } } /// - /// Unique identifier of the delegate user who last modified the sdkmessageprocessingstep. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber { get { - return this.GetAttributeValue("modifiedonbehalfby"); + return this.GetAttributeValue>("versionnumber"); } } + } - /// - /// Name of SdkMessage processing step. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] - public string Name - { - get - { - return this.GetAttributeValue("name"); - } - set - { - this.OnPropertyChanging("Name"); - this.SetAttributeValue("name", value); - this.OnPropertyChanged("Name"); - } - } + /// + /// For internal use only. + /// + [System.Runtime.Serialization.DataContractAttribute()] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageresponse")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public partial class SdkMessageResponse : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + { /// - /// Unique identifier of the organization with which the SDK message processing step is associated. + /// Default Constructor. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] - public Microsoft.Xrm.Sdk.EntityReference OrganizationId + public SdkMessageResponse() : + base(EntityLogicalName) { - get - { - return this.GetAttributeValue("organizationid"); - } } - /// - /// For internal use only. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] - public System.Nullable OverwriteTime + public const string EntityLogicalName = "sdkmessageresponse"; + + public const string PrimaryIdAttribute = "sdkmessageresponseid"; + + public const int EntityTypeCode = 4610; + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; + + private void OnPropertyChanged(string propertyName) { - get + if ((this.PropertyChanged != null)) { - return this.GetAttributeValue>("overwritetime"); + this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } - /// - /// Unique identifier of the plug-in type associated with the step. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")] - public Microsoft.Xrm.Sdk.EntityReference PluginTypeId - { - get - { - return this.GetAttributeValue("plugintypeid"); - } - set + private void OnPropertyChanging(string propertyName) + { + if ((this.PropertyChanging != null)) { - this.OnPropertyChanging("PluginTypeId"); - this.SetAttributeValue("plugintypeid", value); - this.OnPropertyChanged("PluginTypeId"); + this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); } } /// - /// Processing order within the stage. + /// Unique identifier of the user who created the SDK message response. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("rank")] - public System.Nullable Rank + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedBy { get { - return this.GetAttributeValue>("rank"); - } - set - { - this.OnPropertyChanging("Rank"); - this.SetAttributeValue("rank", value); - this.OnPropertyChanged("Rank"); + return this.GetAttributeValue("createdby"); } } /// - /// Unique identifier of the SDK message filter. + /// Date and time when the SDK message response was created. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")] - public Microsoft.Xrm.Sdk.EntityReference SdkMessageFilterId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] + public System.Nullable CreatedOn { get { - return this.GetAttributeValue("sdkmessagefilterid"); - } - set - { - this.OnPropertyChanging("SdkMessageFilterId"); - this.SetAttributeValue("sdkmessagefilterid", value); - this.OnPropertyChanged("SdkMessageFilterId"); + return this.GetAttributeValue>("createdon"); } } /// - /// Unique identifier of the SDK message. + /// Unique identifier of the delegate user who created the sdkmessageresponse. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] - public Microsoft.Xrm.Sdk.EntityReference SdkMessageId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { get { - return this.GetAttributeValue("sdkmessageid"); + return this.GetAttributeValue("createdonbehalfby"); } set { - this.OnPropertyChanging("SdkMessageId"); - this.SetAttributeValue("sdkmessageid", value); - this.OnPropertyChanged("SdkMessageId"); + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); } } /// - /// Unique identifier of the SDK message processing step entity. + /// Customization level of the SDK message response. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")] - public System.Nullable SdkMessageProcessingStepId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel { get { - return this.GetAttributeValue>("sdkmessageprocessingstepid"); - } - set - { - this.OnPropertyChanging("SdkMessageProcessingStepId"); - this.SetAttributeValue("sdkmessageprocessingstepid", value); - if (value.HasValue) - { - base.Id = value.Value; - } - else - { - base.Id = System.Guid.Empty; - } - this.OnPropertyChanged("SdkMessageProcessingStepId"); + return this.GetAttributeValue>("customizationlevel"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")] - public override System.Guid Id + /// + /// Unique identifier of the user who last modified the SDK message response. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy { get { - return base.Id; - } - set - { - this.SdkMessageProcessingStepId = value; + return this.GetAttributeValue("modifiedby"); } } /// - /// Unique identifier of the SDK message processing step. + /// Date and time when the SDK message response was last modified. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepidunique")] - public System.Nullable SdkMessageProcessingStepIdUnique + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn { get { - return this.GetAttributeValue>("sdkmessageprocessingstepidunique"); + return this.GetAttributeValue>("modifiedon"); } } /// - /// Unique identifier of the Sdk message processing step secure configuration. + /// Unique identifier of the delegate user who last modified the sdkmessageresponse. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")] - public Microsoft.Xrm.Sdk.EntityReference SdkMessageProcessingStepSecureConfigId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { get { - return this.GetAttributeValue("sdkmessageprocessingstepsecureconfigid"); + return this.GetAttributeValue("modifiedonbehalfby"); } set { - this.OnPropertyChanging("SdkMessageProcessingStepSecureConfigId"); - this.SetAttributeValue("sdkmessageprocessingstepsecureconfigid", value); - this.OnPropertyChanged("SdkMessageProcessingStepSecureConfigId"); + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); } } /// - /// Unique identifier of the associated solution. + /// Unique identifier of the organization with which the SDK message response is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] - public System.Nullable SolutionId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId { get { - return this.GetAttributeValue>("solutionid"); + return this.GetAttributeValue("organizationid"); } } /// - /// Stage in the execution pipeline that the SDK message processing step is in. + /// Unique identifier of the message request with which the SDK message response is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stage")] - public Microsoft.Xrm.Sdk.OptionSetValue Stage + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagerequestid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageRequestId { get { - return this.GetAttributeValue("stage"); - } - set - { - this.OnPropertyChanging("Stage"); - this.SetAttributeValue("stage", value); - this.OnPropertyChanged("Stage"); + return this.GetAttributeValue("sdkmessagerequestid"); } } /// - /// Status of the SDK message processing step. + /// Unique identifier of the SDK message response entity. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")] - public System.Nullable StateCode + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseid")] + public System.Nullable SdkMessageResponseId { get { - Microsoft.Xrm.Sdk.OptionSetValue optionSet = this.GetAttributeValue("statecode"); - if ((optionSet != null)) - { - return ((SdkMessageProcessingStepState)(System.Enum.ToObject(typeof(SdkMessageProcessingStepState), optionSet.Value))); - } - else - { - return null; - } + return this.GetAttributeValue>("sdkmessageresponseid"); } set { - this.OnPropertyChanging("StateCode"); - if ((value == null)) + this.OnPropertyChanging("SdkMessageResponseId"); + this.SetAttributeValue("sdkmessageresponseid", value); + if (value.HasValue) { - this.SetAttributeValue("statecode", null); + base.Id = value.Value; } else { - this.SetAttributeValue("statecode", new Microsoft.Xrm.Sdk.OptionSetValue(((int)(value)))); + base.Id = System.Guid.Empty; } - this.OnPropertyChanged("StateCode"); + this.OnPropertyChanged("SdkMessageResponseId"); } } - /// - /// Reason for the status of the SDK message processing step. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")] - public Microsoft.Xrm.Sdk.OptionSetValue StatusCode + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseid")] + public override System.Guid Id { get { - return this.GetAttributeValue("statuscode"); + return base.Id; } set { - this.OnPropertyChanging("StatusCode"); - this.SetAttributeValue("statuscode", value); - this.OnPropertyChanged("StatusCode"); + this.SdkMessageResponseId = value; } } /// - /// Deployment that the SDK message processing step should be executed on; server, client, or both. + /// Unique identifier of the SDK message response. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("supporteddeployment")] - public Microsoft.Xrm.Sdk.OptionSetValue SupportedDeployment + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseidunique")] + public System.Nullable SdkMessageResponseIdUnique { get { - return this.GetAttributeValue("supporteddeployment"); - } - set - { - this.OnPropertyChanging("SupportedDeployment"); - this.SetAttributeValue("supporteddeployment", value); - this.OnPropertyChanged("SupportedDeployment"); + return this.GetAttributeValue>("sdkmessageresponseidunique"); } } /// - /// Number that identifies a specific revision of the SDK message processing step. + /// /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] public System.Nullable VersionNumber @@ -3427,744 +4645,822 @@ public System.Nullable VersionNumber return this.GetAttributeValue>("versionnumber"); } } + } - + /// + /// For internal use only. + /// + [System.Runtime.Serialization.DataContractAttribute()] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageresponsefield")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public partial class SdkMessageResponseField : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + { /// - /// 1:N sdkmessageprocessingstepid_sdkmessageprocessingstepimage + /// Default Constructor. /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepid_sdkmessageprocessingstepimage")] - public System.Collections.Generic.IEnumerable sdkmessageprocessingstepid_sdkmessageprocessingstepimage + public SdkMessageResponseField() : + base(EntityLogicalName) { - get + } + + public const string EntityLogicalName = "sdkmessageresponsefield"; + + public const string PrimaryIdAttribute = "sdkmessageresponsefieldid"; + + public const int EntityTypeCode = 4611; + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; + + private void OnPropertyChanged(string propertyName) + { + if ((this.PropertyChanged != null)) { - return this.GetRelatedEntities("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null); + this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } - set + } + + private void OnPropertyChanging(string propertyName) + { + if ((this.PropertyChanging != null)) { - this.OnPropertyChanging("sdkmessageprocessingstepid_sdkmessageprocessingstepimage"); - this.SetRelatedEntities("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null, value); - this.OnPropertyChanged("sdkmessageprocessingstepid_sdkmessageprocessingstepimage"); + this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); } } - - /// - /// N:1 plugintype_sdkmessageprocessingstep + /// Common language runtime (CLR)-based formatter of the SDK message response field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintype_sdkmessageprocessingstep")] - public PluginType plugintype_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("clrformatter")] + public string ClrFormatter { get { - return this.GetRelatedEntity("plugintype_sdkmessageprocessingstep", null); + return this.GetAttributeValue("clrformatter"); } set { - this.OnPropertyChanging("plugintype_sdkmessageprocessingstep"); - this.SetRelatedEntity("plugintype_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("plugintype_sdkmessageprocessingstep"); + this.OnPropertyChanging("ClrFormatter"); + this.SetAttributeValue("clrformatter", value); + this.OnPropertyChanged("ClrFormatter"); } } /// - /// N:1 plugintypeid_sdkmessageprocessingstep + /// Unique identifier of the user who created the SDK message response field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("plugintypeid")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("plugintypeid_sdkmessageprocessingstep")] - public PluginType plugintypeid_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedBy { get { - return this.GetRelatedEntity("plugintypeid_sdkmessageprocessingstep", null); - } - set - { - this.OnPropertyChanging("plugintypeid_sdkmessageprocessingstep"); - this.SetRelatedEntity("plugintypeid_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("plugintypeid_sdkmessageprocessingstep"); + return this.GetAttributeValue("createdby"); } } /// - /// N:1 sdkmessagefilterid_sdkmessageprocessingstep + /// Date and time when the SDK message response field was created. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessagefilterid")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessagefilterid_sdkmessageprocessingstep")] - public SdkMessageFilter sdkmessagefilterid_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] + public System.Nullable CreatedOn { get { - return this.GetRelatedEntity("sdkmessagefilterid_sdkmessageprocessingstep", null); - } - set - { - this.OnPropertyChanging("sdkmessagefilterid_sdkmessageprocessingstep"); - this.SetRelatedEntity("sdkmessagefilterid_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("sdkmessagefilterid_sdkmessageprocessingstep"); + return this.GetAttributeValue>("createdon"); } } /// - /// N:1 sdkmessageid_sdkmessageprocessingstep + /// Unique identifier of the delegate user who created the sdkmessageresponsefield. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageid")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageid_sdkmessageprocessingstep")] - public SdkMessage sdkmessageid_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { get { - return this.GetRelatedEntity("sdkmessageid_sdkmessageprocessingstep", null); + return this.GetAttributeValue("createdonbehalfby"); } set { - this.OnPropertyChanging("sdkmessageid_sdkmessageprocessingstep"); - this.SetRelatedEntity("sdkmessageid_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("sdkmessageid_sdkmessageprocessingstep"); + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); } } /// - /// N:1 sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep + /// Customization level of the SDK message response field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep")] - public SdkMessageProcessingStepSecureConfig sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] + public System.Nullable CustomizationLevel { get { - return this.GetRelatedEntity("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null); - } - set - { - this.OnPropertyChanging("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep"); - this.SetRelatedEntity("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep"); + return this.GetAttributeValue>("customizationlevel"); } } /// - /// N:1 serviceendpoint_sdkmessageprocessingstep - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("eventhandler")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceendpoint_sdkmessageprocessingstep")] - public ServiceEndpoint serviceendpoint_sdkmessageprocessingstep + /// Formatter for the SDK message response field. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("formatter")] + public string Formatter { get { - return this.GetRelatedEntity("serviceendpoint_sdkmessageprocessingstep", null); + return this.GetAttributeValue("formatter"); } set { - this.OnPropertyChanging("serviceendpoint_sdkmessageprocessingstep"); - this.SetRelatedEntity("serviceendpoint_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("serviceendpoint_sdkmessageprocessingstep"); + this.OnPropertyChanging("Formatter"); + this.SetAttributeValue("formatter", value); + this.OnPropertyChanged("Formatter"); } } - } - - /// - /// Copy of an entity's attributes before or after the core system operation. - /// - [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstepimage")] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class SdkMessageProcessingStepImage : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - { /// - /// Default Constructor. + /// Unique identifier of the user who last modified the SDK message response field. /// - public SdkMessageProcessingStepImage() : - base(EntityLogicalName) - { - } - - public const string EntityLogicalName = "sdkmessageprocessingstepimage"; - - public const int EntityTypeCode = 4615; - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; - - private void OnPropertyChanged(string propertyName) + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy { - if ((this.PropertyChanged != null)) + get { - this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + return this.GetAttributeValue("modifiedby"); } } - private void OnPropertyChanging(string propertyName) + /// + /// Date and time when the SDK message response field was last modified. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn { - if ((this.PropertyChanging != null)) + get { - this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); + return this.GetAttributeValue>("modifiedon"); } } /// - /// Comma-separated list of attributes that are to be passed into the SDK message processing step image. + /// Unique identifier of the delegate user who last modified the sdkmessageresponsefield. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("attributes")] - public string Attributes1 + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { get { - return this.GetAttributeValue("attributes"); + return this.GetAttributeValue("modifiedonbehalfby"); } set { - this.OnPropertyChanging("Attributes1"); - this.SetAttributeValue("attributes", value); - this.OnPropertyChanged("Attributes1"); + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); } } /// - /// For internal use only. + /// Name of the SDK message response field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] - public Microsoft.Xrm.Sdk.OptionSetValue ComponentState + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] + public string Name { get { - return this.GetAttributeValue("componentstate"); + return this.GetAttributeValue("name"); + } + set + { + this.OnPropertyChanging("Name"); + this.SetAttributeValue("name", value); + this.OnPropertyChanged("Name"); } } /// - /// Unique identifier of the user who created the SDK message processing step image. + /// Unique identifier of the organization with which the SDK message response field is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] - public Microsoft.Xrm.Sdk.EntityReference CreatedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId { get { - return this.GetAttributeValue("createdby"); + return this.GetAttributeValue("organizationid"); } } /// - /// Date and time when the SDK message processing step image was created. + /// /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] - public System.Nullable CreatedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parameterbindinginformation")] + public string ParameterBindingInformation { get { - return this.GetAttributeValue>("createdon"); + return this.GetAttributeValue("parameterbindinginformation"); + } + set + { + this.OnPropertyChanging("ParameterBindingInformation"); + this.SetAttributeValue("parameterbindinginformation", value); + this.OnPropertyChanged("ParameterBindingInformation"); } } /// - /// Unique identifier of the delegate user who created the sdkmessageprocessingstepimage. + /// Position of the Sdk message response field /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("position")] + public System.Nullable Position { get { - return this.GetAttributeValue("createdonbehalfby"); + return this.GetAttributeValue>("position"); } } /// - /// Customization level of the SDK message processing step image. + /// Public name of the SDK message response field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] - public System.Nullable CustomizationLevel + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publicname")] + public string PublicName { get { - return this.GetAttributeValue>("customizationlevel"); + return this.GetAttributeValue("publicname"); + } + set + { + this.OnPropertyChanging("PublicName"); + this.SetAttributeValue("publicname", value); + this.OnPropertyChanged("PublicName"); } } /// - /// Description of the SDK message processing step image. + /// Unique identifier of the SDK message response field entity. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] - public string Description + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponsefieldid")] + public System.Nullable SdkMessageResponseFieldId { get { - return this.GetAttributeValue("description"); + return this.GetAttributeValue>("sdkmessageresponsefieldid"); } set { - this.OnPropertyChanging("Description"); - this.SetAttributeValue("description", value); - this.OnPropertyChanged("Description"); + this.OnPropertyChanging("SdkMessageResponseFieldId"); + this.SetAttributeValue("sdkmessageresponsefieldid", value); + if (value.HasValue) + { + base.Id = value.Value; + } + else + { + base.Id = System.Guid.Empty; + } + this.OnPropertyChanged("SdkMessageResponseFieldId"); } } - /// - /// Key name used to access the pre-image or post-image property bags in a step. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("entityalias")] - public string EntityAlias + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponsefieldid")] + public override System.Guid Id { get { - return this.GetAttributeValue("entityalias"); + return base.Id; } set { - this.OnPropertyChanging("EntityAlias"); - this.SetAttributeValue("entityalias", value); - this.OnPropertyChanged("EntityAlias"); + this.SdkMessageResponseFieldId = value; } } /// - /// Type of image requested. + /// Unique identifier of the SDK message response field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("imagetype")] - public Microsoft.Xrm.Sdk.OptionSetValue ImageType + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponsefieldidunique")] + public System.Nullable SdkMessageResponseFieldIdUnique { get { - return this.GetAttributeValue("imagetype"); - } - set - { - this.OnPropertyChanging("ImageType"); - this.SetAttributeValue("imagetype", value); - this.OnPropertyChanged("ImageType"); + return this.GetAttributeValue>("sdkmessageresponsefieldidunique"); } } /// - /// Version in which the form is introduced. + /// Unique identifier of the message response with which the SDK message response field is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")] - public string IntroducedVersion + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageresponseid")] + public Microsoft.Xrm.Sdk.EntityReference SdkMessageResponseId { get { - return this.GetAttributeValue("introducedversion"); - } - set - { - this.OnPropertyChanging("IntroducedVersion"); - this.SetAttributeValue("introducedversion", value); - this.OnPropertyChanged("IntroducedVersion"); + return this.GetAttributeValue("sdkmessageresponseid"); } } /// - /// Information that specifies whether this component can be customized. + /// Actual value of the SDK message response field. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")] - public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("value")] + public string Value { get { - return this.GetAttributeValue("iscustomizable"); + return this.GetAttributeValue("value"); } set { - this.OnPropertyChanging("IsCustomizable"); - this.SetAttributeValue("iscustomizable", value); - this.OnPropertyChanged("IsCustomizable"); + this.OnPropertyChanging("Value"); + this.SetAttributeValue("value", value); + this.OnPropertyChanged("Value"); } } /// - /// + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] - public System.Nullable IsManaged + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber { get { - return this.GetAttributeValue>("ismanaged"); + return this.GetAttributeValue>("versionnumber"); } } + } + + /// + /// Service endpoint that can be contacted. + /// + [System.Runtime.Serialization.DataContractAttribute()] + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("serviceendpoint")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public partial class ServiceEndpoint : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + { /// - /// Name of the property on the Request message. + /// Default Constructor. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("messagepropertyname")] - public string MessagePropertyName + public ServiceEndpoint() : + base(EntityLogicalName) { - get + } + + public const string EntityLogicalName = "serviceendpoint"; + + public const string PrimaryIdAttribute = "serviceendpointid"; + + public const string PrimaryNameAttribute = "name"; + + public const int EntityTypeCode = 4618; + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; + + private void OnPropertyChanged(string propertyName) + { + if ((this.PropertyChanged != null)) { - return this.GetAttributeValue("messagepropertyname"); + this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } - set + } + + private void OnPropertyChanging(string propertyName) + { + if ((this.PropertyChanging != null)) { - this.OnPropertyChanging("MessagePropertyName"); - this.SetAttributeValue("messagepropertyname", value); - this.OnPropertyChanged("MessagePropertyName"); + this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); } } /// - /// Unique identifier of the user who last modified the SDK message processing step. + /// Specifies mode of authentication with SB /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("authtype")] + public Microsoft.Xrm.Sdk.OptionSetValue AuthType { get { - return this.GetAttributeValue("modifiedby"); + return this.GetAttributeValue("authtype"); + } + set + { + this.OnPropertyChanging("AuthType"); + this.SetAttributeValue("authtype", value); + this.OnPropertyChanged("AuthType"); } } /// - /// Date and time when the SDK message processing step was last modified. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] - public System.Nullable ModifiedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] + public Microsoft.Xrm.Sdk.OptionSetValue ComponentState { get { - return this.GetAttributeValue>("modifiedon"); + return this.GetAttributeValue("componentstate"); } } /// - /// Unique identifier of the delegate user who last modified the sdkmessageprocessingstepimage. + /// Connection mode to contact the service endpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionmode")] + public Microsoft.Xrm.Sdk.OptionSetValue ConnectionMode { get { - return this.GetAttributeValue("modifiedonbehalfby"); + return this.GetAttributeValue("connectionmode"); + } + set + { + this.OnPropertyChanging("ConnectionMode"); + this.SetAttributeValue("connectionmode", value); + this.OnPropertyChanged("ConnectionMode"); } } /// - /// Name of SdkMessage processing step image. + /// Type of the endpoint contract. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] - public string Name + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contract")] + public Microsoft.Xrm.Sdk.OptionSetValue Contract { get { - return this.GetAttributeValue("name"); + return this.GetAttributeValue("contract"); } set { - this.OnPropertyChanging("Name"); - this.SetAttributeValue("name", value); - this.OnPropertyChanged("Name"); + this.OnPropertyChanging("Contract"); + this.SetAttributeValue("contract", value); + this.OnPropertyChanged("Contract"); } } /// - /// Unique identifier of the organization with which the SDK message processing step is associated. + /// Unique identifier of the user who created the service endpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] - public Microsoft.Xrm.Sdk.EntityReference OrganizationId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedBy { get { - return this.GetAttributeValue("organizationid"); + return this.GetAttributeValue("createdby"); } } /// - /// For internal use only. + /// Date and time when the service endpoint was created. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] - public System.Nullable OverwriteTime + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] + public System.Nullable CreatedOn { get { - return this.GetAttributeValue>("overwritetime"); + return this.GetAttributeValue>("createdon"); } } /// - /// Name of the related entity. + /// Unique identifier of the delegate user who created the service endpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("relatedattributename")] - public string RelatedAttributeName + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { get { - return this.GetAttributeValue("relatedattributename"); + return this.GetAttributeValue("createdonbehalfby"); } set { - this.OnPropertyChanging("RelatedAttributeName"); - this.SetAttributeValue("relatedattributename", value); - this.OnPropertyChanged("RelatedAttributeName"); + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); } } /// - /// Unique identifier of the SDK message processing step. + /// Description of the service endpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")] - public Microsoft.Xrm.Sdk.EntityReference SdkMessageProcessingStepId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] + public string Description { get { - return this.GetAttributeValue("sdkmessageprocessingstepid"); + return this.GetAttributeValue("description"); } set { - this.OnPropertyChanging("SdkMessageProcessingStepId"); - this.SetAttributeValue("sdkmessageprocessingstepid", value); - this.OnPropertyChanged("SdkMessageProcessingStepId"); + this.OnPropertyChanging("Description"); + this.SetAttributeValue("description", value); + this.OnPropertyChanged("Description"); } } /// - /// Unique identifier of the SDK message processing step image entity. + /// Version in which the form is introduced. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageid")] - public System.Nullable SdkMessageProcessingStepImageId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")] + public string IntroducedVersion { get { - return this.GetAttributeValue>("sdkmessageprocessingstepimageid"); + return this.GetAttributeValue("introducedversion"); } set { - this.OnPropertyChanging("SdkMessageProcessingStepImageId"); - this.SetAttributeValue("sdkmessageprocessingstepimageid", value); - if (value.HasValue) - { - base.Id = value.Value; - } - else - { - base.Id = System.Guid.Empty; - } - this.OnPropertyChanged("SdkMessageProcessingStepImageId"); + this.OnPropertyChanging("IntroducedVersion"); + this.SetAttributeValue("introducedversion", value); + this.OnPropertyChanged("IntroducedVersion"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageid")] - public override System.Guid Id + /// + /// Information that specifies whether this component can be customized. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")] + public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable { get { - return base.Id; + return this.GetAttributeValue("iscustomizable"); } set { - this.SdkMessageProcessingStepImageId = value; + this.OnPropertyChanging("IsCustomizable"); + this.SetAttributeValue("iscustomizable", value); + this.OnPropertyChanged("IsCustomizable"); } } /// - /// Unique identifier of the SDK message processing step image. + /// Information that specifies whether this component is managed. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepimageidunique")] - public System.Nullable SdkMessageProcessingStepImageIdUnique + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] + public System.Nullable IsManaged { get { - return this.GetAttributeValue>("sdkmessageprocessingstepimageidunique"); + return this.GetAttributeValue>("ismanaged"); } } /// - /// Unique identifier of the associated solution. + /// /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] - public System.Nullable SolutionId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issaskeyset")] + public System.Nullable IsSASKeySet { get { - return this.GetAttributeValue>("solutionid"); + return this.GetAttributeValue>("issaskeyset"); } } /// - /// Number that identifies a specific revision of the step image. + /// /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] - public System.Nullable VersionNumber + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issastokenset")] + public System.Nullable IsSASTokenSet { get { - return this.GetAttributeValue>("versionnumber"); + return this.GetAttributeValue>("issastokenset"); } } - /// - /// N:1 sdkmessageprocessingstepid_sdkmessageprocessingstepimage + /// Content type of the message /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepid")] - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepid_sdkmessageprocessingstepimage")] - public SdkMessageProcessingStep sdkmessageprocessingstepid_sdkmessageprocessingstepimage + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("messageformat")] + public Microsoft.Xrm.Sdk.OptionSetValue MessageFormat { get { - return this.GetRelatedEntity("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null); + return this.GetAttributeValue("messageformat"); } set { - this.OnPropertyChanging("sdkmessageprocessingstepid_sdkmessageprocessingstepimage"); - this.SetRelatedEntity("sdkmessageprocessingstepid_sdkmessageprocessingstepimage", null, value); - this.OnPropertyChanged("sdkmessageprocessingstepid_sdkmessageprocessingstepimage"); + this.OnPropertyChanging("MessageFormat"); + this.SetAttributeValue("messageformat", value); + this.OnPropertyChanged("MessageFormat"); } } - } - - /// - /// Non-public custom configuration that is passed to a plug-in's constructor. - /// - [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("sdkmessageprocessingstepsecureconfig")] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class SdkMessageProcessingStepSecureConfig : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged - { /// - /// Default Constructor. + /// Unique identifier of the user who last modified the service endpoint. /// - public SdkMessageProcessingStepSecureConfig() : - base(EntityLogicalName) + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy { + get + { + return this.GetAttributeValue("modifiedby"); + } } - public const string EntityLogicalName = "sdkmessageprocessingstepsecureconfig"; - - public const int EntityTypeCode = 4616; - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - public event System.ComponentModel.PropertyChangingEventHandler PropertyChanging; + /// + /// Date and time when the service endpoint was last modified. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn + { + get + { + return this.GetAttributeValue>("modifiedon"); + } + } - private void OnPropertyChanged(string propertyName) + /// + /// Unique identifier of the delegate user who modified the service endpoint. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { - if ((this.PropertyChanged != null)) + get { - this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + return this.GetAttributeValue("modifiedonbehalfby"); + } + set + { + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); } } - private void OnPropertyChanging(string propertyName) + /// + /// Name of Service end point. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] + public string Name { - if ((this.PropertyChanging != null)) + get { - this.PropertyChanging(this, new System.ComponentModel.PropertyChangingEventArgs(propertyName)); + return this.GetAttributeValue("name"); + } + set + { + this.OnPropertyChanging("Name"); + this.SetAttributeValue("name", value); + this.OnPropertyChanged("Name"); } } /// - /// Unique identifier of the user who created the SDK message processing step. + /// Full service endpoint address. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] - public Microsoft.Xrm.Sdk.EntityReference CreatedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("namespaceaddress")] + public string NamespaceAddress { get { - return this.GetAttributeValue("createdby"); + return this.GetAttributeValue("namespaceaddress"); + } + set + { + this.OnPropertyChanging("NamespaceAddress"); + this.SetAttributeValue("namespaceaddress", value); + this.OnPropertyChanged("NamespaceAddress"); } } /// - /// Date and time when the SDK message processing step was created. + /// Format of Service Bus Namespace /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] - public System.Nullable CreatedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("namespaceformat")] + public Microsoft.Xrm.Sdk.OptionSetValue NamespaceFormat { get { - return this.GetAttributeValue>("createdon"); + return this.GetAttributeValue("namespaceformat"); + } + set + { + this.OnPropertyChanging("NamespaceFormat"); + this.SetAttributeValue("namespaceformat", value); + this.OnPropertyChanged("NamespaceFormat"); } } /// - /// Unique identifier of the delegate user who created the sdkmessageprocessingstepsecureconfig. + /// Unique identifier of the organization with which the service endpoint is associated. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] + public Microsoft.Xrm.Sdk.EntityReference OrganizationId { get { - return this.GetAttributeValue("createdonbehalfby"); + return this.GetAttributeValue("organizationid"); } } /// - /// Customization level of the SDK message processing step secure configuration. + /// For internal use only. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("customizationlevel")] - public System.Nullable CustomizationLevel + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] + public System.Nullable OverwriteTime { get { - return this.GetAttributeValue>("customizationlevel"); + return this.GetAttributeValue>("overwritetime"); } } /// - /// Unique identifier of the user who last modified the SDK message processing step. + /// Path to the service endpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("path")] + public string Path { get { - return this.GetAttributeValue("modifiedby"); + return this.GetAttributeValue("path"); + } + set + { + this.OnPropertyChanging("Path"); + this.SetAttributeValue("path", value); + this.OnPropertyChanged("Path"); } } /// - /// Date and time when the SDK message processing step was last modified. + /// Shared Access Key /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] - public System.Nullable ModifiedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("saskey")] + public string SASKey { get { - return this.GetAttributeValue>("modifiedon"); + return this.GetAttributeValue("saskey"); + } + set + { + this.OnPropertyChanging("SASKey"); + this.SetAttributeValue("saskey", value); + this.OnPropertyChanged("SASKey"); } } /// - /// Unique identifier of the delegate user who last modified the sdkmessageprocessingstepsecureconfig. + /// Shared Access Key Name /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("saskeyname")] + public string SASKeyName { get { - return this.GetAttributeValue("modifiedonbehalfby"); + return this.GetAttributeValue("saskeyname"); + } + set + { + this.OnPropertyChanging("SASKeyName"); + this.SetAttributeValue("saskeyname", value); + this.OnPropertyChanged("SASKeyName"); } } /// - /// Unique identifier of the organization with which the SDK message processing step is associated. + /// Shared Access Token /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] - public Microsoft.Xrm.Sdk.EntityReference OrganizationId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sastoken")] + public string SASToken { get { - return this.GetAttributeValue("organizationid"); + return this.GetAttributeValue("sastoken"); + } + set + { + this.OnPropertyChanging("SASToken"); + this.SetAttributeValue("sastoken", value); + this.OnPropertyChanged("SASToken"); } } /// - /// Unique identifier of the SDK message processing step secure configuration. + /// Unique identifier of the service endpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")] - public System.Nullable SdkMessageProcessingStepSecureConfigId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointid")] + public System.Nullable ServiceEndpointId { get { - return this.GetAttributeValue>("sdkmessageprocessingstepsecureconfigid"); + return this.GetAttributeValue>("serviceendpointid"); } set { - this.OnPropertyChanging("SdkMessageProcessingStepSecureConfigId"); - this.SetAttributeValue("sdkmessageprocessingstepsecureconfigid", value); + this.OnPropertyChanging("ServiceEndpointId"); + this.SetAttributeValue("serviceendpointid", value); if (value.HasValue) { base.Id = value.Value; @@ -4173,11 +5469,11 @@ public System.Nullable SdkMessageProcessingStepSecureConfigId { base.Id = System.Guid.Empty; } - this.OnPropertyChanged("SdkMessageProcessingStepSecureConfigId"); + this.OnPropertyChanged("ServiceEndpointId"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigid")] + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointid")] public override System.Guid Id { get @@ -4186,79 +5482,97 @@ public override System.Guid Id } set { - this.SdkMessageProcessingStepSecureConfigId = value; + this.ServiceEndpointId = value; } } /// - /// Unique identifier of the SDK message processing step. + /// Unique identifier of the service endpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sdkmessageprocessingstepsecureconfigidunique")] - public System.Nullable SdkMessageProcessingStepSecureConfigIdUnique + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointidunique")] + public System.Nullable ServiceEndpointIdUnique { get { - return this.GetAttributeValue>("sdkmessageprocessingstepsecureconfigidunique"); + return this.GetAttributeValue>("serviceendpointidunique"); } } /// - /// Secure step-specific configuration for the plug-in type that is passed to the plug-in's constructor at run time. + /// Unique identifier of the associated solution. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secureconfig")] - public string SecureConfig + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] + public System.Nullable SolutionId { get { - return this.GetAttributeValue("secureconfig"); + return this.GetAttributeValue>("solutionid"); + } + } + + /// + /// Namespace of the App Fabric solution. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionnamespace")] + public string SolutionNamespace + { + get + { + return this.GetAttributeValue("solutionnamespace"); } set { - this.OnPropertyChanging("SecureConfig"); - this.SetAttributeValue("secureconfig", value); - this.OnPropertyChanged("SecureConfig"); + this.OnPropertyChanging("SolutionNamespace"); + this.SetAttributeValue("solutionnamespace", value); + this.OnPropertyChanged("SolutionNamespace"); } } /// - /// 1:N sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep + /// Additional user claim value type. /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep")] - public System.Collections.Generic.IEnumerable sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userclaim")] + public Microsoft.Xrm.Sdk.OptionSetValue UserClaim { get { - return this.GetRelatedEntities("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null); + return this.GetAttributeValue("userclaim"); } set { - this.OnPropertyChanging("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep"); - this.SetRelatedEntities("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("sdkmessageprocessingstepsecureconfigid_sdkmessageprocessingstep"); + this.OnPropertyChanging("UserClaim"); + this.SetAttributeValue("userclaim", value); + this.OnPropertyChanged("UserClaim"); } - } + } + + } /// - /// Service endpoint that can be contacted. + /// A solution which contains CRM customizations. /// [System.Runtime.Serialization.DataContractAttribute()] - [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("serviceendpoint")] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] - public partial class ServiceEndpoint : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged + [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("solution")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] + public partial class Solution : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { /// /// Default Constructor. /// - public ServiceEndpoint() : + public Solution() : base(EntityLogicalName) { } - public const string EntityLogicalName = "serviceendpoint"; + public const string EntityLogicalName = "solution"; - public const int EntityTypeCode = 4618; + public const string PrimaryIdAttribute = "solutionid"; + + public const string PrimaryNameAttribute = "friendlyname"; + + public const int EntityTypeCode = 7100; public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -4281,73 +5595,25 @@ private void OnPropertyChanging(string propertyName) } /// - /// Specifies mode of authentication with SB - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("authtype")] - public Microsoft.Xrm.Sdk.OptionSetValue AuthType - { - get - { - return this.GetAttributeValue("authtype"); - } - set - { - this.OnPropertyChanging("AuthType"); - this.SetAttributeValue("authtype", value); - this.OnPropertyChanged("AuthType"); - } - } - - /// - /// For internal use only. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")] - public Microsoft.Xrm.Sdk.OptionSetValue ComponentState - { - get - { - return this.GetAttributeValue("componentstate"); - } - } - - /// - /// Connection mode to contact the service endpoint. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionmode")] - public Microsoft.Xrm.Sdk.OptionSetValue ConnectionMode - { - get - { - return this.GetAttributeValue("connectionmode"); - } - set - { - this.OnPropertyChanging("ConnectionMode"); - this.SetAttributeValue("connectionmode", value); - this.OnPropertyChanged("ConnectionMode"); - } - } - - /// - /// Type of the endpoint contract. + /// A link to an optional configuration page for this solution. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("contract")] - public Microsoft.Xrm.Sdk.OptionSetValue Contract + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("configurationpageid")] + public Microsoft.Xrm.Sdk.EntityReference ConfigurationPageId { get { - return this.GetAttributeValue("contract"); + return this.GetAttributeValue("configurationpageid"); } set { - this.OnPropertyChanging("Contract"); - this.SetAttributeValue("contract", value); - this.OnPropertyChanged("Contract"); + this.OnPropertyChanging("ConfigurationPageId"); + this.SetAttributeValue("configurationpageid", value); + this.OnPropertyChanged("ConfigurationPageId"); } } /// - /// Unique identifier of the user who created the service endpoint. + /// Unique identifier of the user who created the solution. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] public Microsoft.Xrm.Sdk.EntityReference CreatedBy @@ -4359,7 +5625,7 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedBy } /// - /// Date and time when the service endpoint was created. + /// Date and time when the solution was created. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")] public System.Nullable CreatedOn @@ -4371,7 +5637,7 @@ public System.Nullable CreatedOn } /// - /// Unique identifier of the delegate user who created the service endpoint. + /// Unique identifier of the delegate user who created the solution. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy @@ -4380,10 +5646,16 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { return this.GetAttributeValue("createdonbehalfby"); } + set + { + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); + } } /// - /// Description of the service endpoint. + /// Description of the solution. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")] public string Description @@ -4401,187 +5673,103 @@ public string Description } /// - /// Version in which the form is introduced. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")] - public string IntroducedVersion - { - get - { - return this.GetAttributeValue("introducedversion"); - } - set - { - this.OnPropertyChanging("IntroducedVersion"); - this.SetAttributeValue("introducedversion", value); - this.OnPropertyChanged("IntroducedVersion"); - } - } - - /// - /// Information that specifies whether this component can be customized. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")] - public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable - { - get - { - return this.GetAttributeValue("iscustomizable"); - } - set - { - this.OnPropertyChanging("IsCustomizable"); - this.SetAttributeValue("iscustomizable", value); - this.OnPropertyChanged("IsCustomizable"); - } - } - - /// - /// Information that specifies whether this component is managed. - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] - public System.Nullable IsManaged - { - get - { - return this.GetAttributeValue>("ismanaged"); - } - } - - /// - /// - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issaskeyset")] - public System.Nullable IsSASKeySet - { - get - { - return this.GetAttributeValue>("issaskeyset"); - } - } - - /// - /// - /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("issastokenset")] - public System.Nullable IsSASTokenSet - { - get - { - return this.GetAttributeValue>("issastokenset"); - } - } - - /// - /// Content type of the message + /// User display name for the solution. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("messageformat")] - public Microsoft.Xrm.Sdk.OptionSetValue MessageFormat + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("friendlyname")] + public string FriendlyName { get { - return this.GetAttributeValue("messageformat"); + return this.GetAttributeValue("friendlyname"); } set { - this.OnPropertyChanging("MessageFormat"); - this.SetAttributeValue("messageformat", value); - this.OnPropertyChanged("MessageFormat"); + this.OnPropertyChanging("FriendlyName"); + this.SetAttributeValue("friendlyname", value); + this.OnPropertyChanged("FriendlyName"); } } /// - /// Unique identifier of the user who last modified the service endpoint. + /// Date and time when the solution was installed/upgraded. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("installedon")] + public System.Nullable InstalledOn { get { - return this.GetAttributeValue("modifiedby"); + return this.GetAttributeValue>("installedon"); } } /// - /// Date and time when the service endpoint was last modified. + /// Indicates whether the solution is managed or unmanaged. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] - public System.Nullable ModifiedOn + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")] + public System.Nullable IsManaged { get { - return this.GetAttributeValue>("modifiedon"); + return this.GetAttributeValue>("ismanaged"); } } /// - /// Unique identifier of the delegate user who modified the service endpoint. + /// Indicates whether the solution is visible outside of the platform. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] - public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isvisible")] + public System.Nullable IsVisible { get { - return this.GetAttributeValue("modifiedonbehalfby"); + return this.GetAttributeValue>("isvisible"); } } /// - /// Name of Service end point. + /// Unique identifier of the user who last modified the solution. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("name")] - public string Name + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedBy { get { - return this.GetAttributeValue("name"); - } - set - { - this.OnPropertyChanging("Name"); - this.SetAttributeValue("name", value); - this.OnPropertyChanged("Name"); + return this.GetAttributeValue("modifiedby"); } } /// - /// Full service endpoint address. + /// Date and time when the solution was last modified. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("namespaceaddress")] - public string NamespaceAddress + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")] + public System.Nullable ModifiedOn { get { - return this.GetAttributeValue("namespaceaddress"); - } - set - { - this.OnPropertyChanging("NamespaceAddress"); - this.SetAttributeValue("namespaceaddress", value); - this.OnPropertyChanged("NamespaceAddress"); + return this.GetAttributeValue>("modifiedon"); } } /// - /// Format of Service Bus Namespace + /// Unique identifier of the delegate user who modified the solution. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("namespaceformat")] - public Microsoft.Xrm.Sdk.OptionSetValue NamespaceFormat + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] + public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { get { - return this.GetAttributeValue("namespaceformat"); + return this.GetAttributeValue("modifiedonbehalfby"); } set { - this.OnPropertyChanging("NamespaceFormat"); - this.SetAttributeValue("namespaceformat", value); - this.OnPropertyChanged("NamespaceFormat"); + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); } } /// - /// Unique identifier of the organization with which the service endpoint is associated. + /// Unique identifier of the organization associated with the solution. /// [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("organizationid")] public Microsoft.Xrm.Sdk.EntityReference OrganizationId @@ -4593,103 +5781,97 @@ public Microsoft.Xrm.Sdk.EntityReference OrganizationId } /// - /// For internal use only. + /// Unique identifier of the parent solution. Should only be non-null if this solution is a patch. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")] - public System.Nullable OverwriteTime + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentsolutionid")] + public Microsoft.Xrm.Sdk.EntityReference ParentSolutionId { get { - return this.GetAttributeValue>("overwritetime"); + return this.GetAttributeValue("parentsolutionid"); } } /// - /// Path to the service endpoint. + /// /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("path")] - public string Path + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointassetid")] + public string PinpointAssetId { get { - return this.GetAttributeValue("path"); - } - set - { - this.OnPropertyChanging("Path"); - this.SetAttributeValue("path", value); - this.OnPropertyChanged("Path"); + return this.GetAttributeValue("pinpointassetid"); } } /// - /// Shared Access Key + /// Identifier of the publisher of this solution in Microsoft Pinpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("saskey")] - public string SASKey + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointpublisherid")] + public System.Nullable PinpointPublisherId { get { - return this.GetAttributeValue("saskey"); - } - set - { - this.OnPropertyChanging("SASKey"); - this.SetAttributeValue("saskey", value); - this.OnPropertyChanged("SASKey"); + return this.GetAttributeValue>("pinpointpublisherid"); } } /// - /// Shared Access Key Name + /// Default locale of the solution in Microsoft Pinpoint. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("saskeyname")] - public string SASKeyName + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointsolutiondefaultlocale")] + public string PinpointSolutionDefaultLocale { get { - return this.GetAttributeValue("saskeyname"); + return this.GetAttributeValue("pinpointsolutiondefaultlocale"); } - set + } + + /// + /// Identifier of the solution in Microsoft Pinpoint. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("pinpointsolutionid")] + public System.Nullable PinpointSolutionId + { + get { - this.OnPropertyChanging("SASKeyName"); - this.SetAttributeValue("saskeyname", value); - this.OnPropertyChanged("SASKeyName"); + return this.GetAttributeValue>("pinpointsolutionid"); } } /// - /// Shared Access Token + /// Unique identifier of the publisher. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("sastoken")] - public string SASToken + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("publisherid")] + public Microsoft.Xrm.Sdk.EntityReference PublisherId { get { - return this.GetAttributeValue("sastoken"); + return this.GetAttributeValue("publisherid"); } set { - this.OnPropertyChanging("SASToken"); - this.SetAttributeValue("sastoken", value); - this.OnPropertyChanged("SASToken"); + this.OnPropertyChanging("PublisherId"); + this.SetAttributeValue("publisherid", value); + this.OnPropertyChanged("PublisherId"); } } /// - /// Unique identifier of the service endpoint. + /// Unique identifier of the solution. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointid")] - public System.Nullable ServiceEndpointId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] + public System.Nullable SolutionId { get { - return this.GetAttributeValue>("serviceendpointid"); + return this.GetAttributeValue>("solutionid"); } set { - this.OnPropertyChanging("ServiceEndpointId"); - this.SetAttributeValue("serviceendpointid", value); + this.OnPropertyChanging("SolutionId"); + this.SetAttributeValue("solutionid", value); if (value.HasValue) { base.Id = value.Value; @@ -4698,11 +5880,11 @@ public System.Nullable ServiceEndpointId { base.Id = System.Guid.Empty; } - this.OnPropertyChanged("ServiceEndpointId"); + this.OnPropertyChanged("SolutionId"); } } - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointid")] + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] public override System.Guid Id { get @@ -4711,89 +5893,95 @@ public override System.Guid Id } set { - this.ServiceEndpointId = value; + this.SolutionId = value; } } /// - /// Unique identifier of the service endpoint. + /// Solution package source organization version /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("serviceendpointidunique")] - public System.Nullable ServiceEndpointIdUnique + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionpackageversion")] + public string SolutionPackageVersion { get { - return this.GetAttributeValue>("serviceendpointidunique"); + return this.GetAttributeValue("solutionpackageversion"); + } + set + { + this.OnPropertyChanging("SolutionPackageVersion"); + this.SetAttributeValue("solutionpackageversion", value); + this.OnPropertyChanged("SolutionPackageVersion"); } } /// - /// Unique identifier of the associated solution. + /// Solution Type /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")] - public System.Nullable SolutionId + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutiontype")] + public Microsoft.Xrm.Sdk.OptionSetValue SolutionType { get { - return this.GetAttributeValue>("solutionid"); + return this.GetAttributeValue("solutiontype"); + } + set + { + this.OnPropertyChanging("SolutionType"); + this.SetAttributeValue("solutiontype", value); + this.OnPropertyChanged("SolutionType"); } } /// - /// Namespace of the App Fabric solution. + /// The unique name of this solution /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionnamespace")] - public string SolutionNamespace + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("uniquename")] + public string UniqueName { get { - return this.GetAttributeValue("solutionnamespace"); + return this.GetAttributeValue("uniquename"); } set { - this.OnPropertyChanging("SolutionNamespace"); - this.SetAttributeValue("solutionnamespace", value); - this.OnPropertyChanged("SolutionNamespace"); + this.OnPropertyChanging("UniqueName"); + this.SetAttributeValue("uniquename", value); + this.OnPropertyChanged("UniqueName"); } } /// - /// Additional user claim value type. + /// Solution version, used to identify a solution for upgrades and hotfixes. /// - [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("userclaim")] - public Microsoft.Xrm.Sdk.OptionSetValue UserClaim + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("version")] + public string Version { get { - return this.GetAttributeValue("userclaim"); + return this.GetAttributeValue("version"); } set { - this.OnPropertyChanging("UserClaim"); - this.SetAttributeValue("userclaim", value); - this.OnPropertyChanged("UserClaim"); + this.OnPropertyChanging("Version"); + this.SetAttributeValue("version", value); + this.OnPropertyChanged("Version"); } } /// - /// 1:N serviceendpoint_sdkmessageprocessingstep + /// /// - [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("serviceendpoint_sdkmessageprocessingstep")] - public System.Collections.Generic.IEnumerable serviceendpoint_sdkmessageprocessingstep + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] + public System.Nullable VersionNumber { get { - return this.GetRelatedEntities("serviceendpoint_sdkmessageprocessingstep", null); - } - set - { - this.OnPropertyChanging("serviceendpoint_sdkmessageprocessingstep"); - this.SetRelatedEntities("serviceendpoint_sdkmessageprocessingstep", null, value); - this.OnPropertyChanged("serviceendpoint_sdkmessageprocessingstep"); + return this.GetAttributeValue>("versionnumber"); } } - + } /// @@ -4801,7 +5989,7 @@ public System.Collections.Generic.IEnumerable servicee /// [System.Runtime.Serialization.DataContractAttribute()] [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("webresource")] - [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.1.0.239")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "8.2.1.8676")] public partial class WebResource : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { @@ -4815,6 +6003,10 @@ public WebResource() : public const string EntityLogicalName = "webresource"; + public const string PrimaryIdAttribute = "webresourceid"; + + public const string PrimaryNameAttribute = "name"; + public const int EntityTypeCode = 9333; public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; @@ -4919,6 +6111,30 @@ public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy { return this.GetAttributeValue("createdonbehalfby"); } + set + { + this.OnPropertyChanging("CreatedOnBehalfBy"); + this.SetAttributeValue("createdonbehalfby", value); + this.OnPropertyChanged("CreatedOnBehalfBy"); + } + } + + /// + /// For internal use only. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("dependencyxml")] + public string DependencyXml + { + get + { + return this.GetAttributeValue("dependencyxml"); + } + set + { + this.OnPropertyChanging("DependencyXml"); + this.SetAttributeValue("dependencyxml", value); + this.OnPropertyChanged("DependencyXml"); + } } /// @@ -4975,6 +6191,24 @@ public string IntroducedVersion } } + /// + /// Information that specifies whether this web resource is available for mobile client in offline mode. + /// + [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isavailableformobileoffline")] + public System.Nullable IsAvailableForMobileOffline + { + get + { + return this.GetAttributeValue>("isavailableformobileoffline"); + } + set + { + this.OnPropertyChanging("IsAvailableForMobileOffline"); + this.SetAttributeValue("isavailableformobileoffline", value); + this.OnPropertyChanged("IsAvailableForMobileOffline"); + } + } + /// /// Information that specifies whether this component can be customized. /// @@ -5093,6 +6327,12 @@ public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy { return this.GetAttributeValue("modifiedonbehalfby"); } + set + { + this.OnPropertyChanging("ModifiedOnBehalfBy"); + this.SetAttributeValue("modifiedonbehalfby", value); + this.OnPropertyChanged("ModifiedOnBehalfBy"); + } } /// @@ -5248,8 +6488,6 @@ public Microsoft.Xrm.Sdk.OptionSetValue WebResourceType } } - - } - + } } diff --git a/spkl/SparkleXrm.Tasks/SparkleXrm.Tasks.csproj b/spkl/SparkleXrm.Tasks/SparkleXrm.Tasks.csproj index d7836560..d4eb7f1b 100644 --- a/spkl/SparkleXrm.Tasks/SparkleXrm.Tasks.csproj +++ b/spkl/SparkleXrm.Tasks/SparkleXrm.Tasks.csproj @@ -9,8 +9,9 @@ Properties SparkleXrm.Tasks SparkleXrm.Tasks - v4.5.2 + v4.6.2 512 + true @@ -36,8 +37,8 @@ SparkleXrm.snk - - ..\packages\Microsoft.CrmSdk.CoreAssemblies.8.2.0.2\lib\net452\Microsoft.Crm.Sdk.Proxy.dll + + ..\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.0.7\lib\net452\Microsoft.Crm.Sdk.Proxy.dll ..\packages\Microsoft.IdentityModel.6.1.7600.16394\lib\net35\Microsoft.IdentityModel.dll @@ -46,11 +47,12 @@ False - - ..\packages\Microsoft.CrmSdk.CoreAssemblies.8.2.0.2\lib\net452\Microsoft.Xrm.Sdk.dll + + ..\packages\Microsoft.CrmSdk.CoreAssemblies.9.0.0.7\lib\net452\Microsoft.Xrm.Sdk.dll - ..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll + False + ..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll True @@ -104,15 +106,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +