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