diff --git a/.github/actions/setup-build-env/action.yml b/.github/actions/setup-build-env/action.yml index e97e117..f4d3ad3 100644 --- a/.github/actions/setup-build-env/action.yml +++ b/.github/actions/setup-build-env/action.yml @@ -27,8 +27,11 @@ runs: echo "PATH=$signtool;$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "Located signtool at: $signtool" - - name: Copy Setup files + - name: Copy initial setup files (example branches) shell: pwsh run: | - Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass - ./Setup/copyInitialSetup.ps1 + if (Test-Path "Setup/InitialSetup") { + Copy-Item -Path "Setup/InitialSetup/WebResources" -Destination "src/Dataverse" -Recurse -Force + Copy-Item -Path "Setup/InitialSetup/SharedTest" -Destination "test" -Recurse -Force + Copy-Item -Path "Setup/InitialSetup/SharedContext" -Destination "src/Shared" -Recurse -Force + } diff --git a/.gitignore b/.gitignore index e774a0f..b7a878e 100644 --- a/.gitignore +++ b/.gitignore @@ -360,7 +360,7 @@ MigrationBackup/ /**/Daxif/*.dll *.daxif -/src/Dataverse/Tools/Daxif/username.txt +/src/Tools/Daxif/username.txt /src/Dataverse/WebResources/typings/XRM/* /src/Dataverse/WebResources/src/**/*.js /src/Dataverse/WebResources/src/**/*.map diff --git a/.pipelines/Azure/Validate-DIF-Template.yml b/.pipelines/Azure/Validate-DIF-Template.yml index a922463..f67c2f7 100644 --- a/.pipelines/Azure/Validate-DIF-Template.yml +++ b/.pipelines/Azure/Validate-DIF-Template.yml @@ -6,22 +6,22 @@ parameters: { environment: "Dev", serviceConnectionName: "Dev", - resourceGroupName: "rg-resourcegroupname-dev", + resourceGroupName: "rg-templateresourcegroupname-dev", }, { environment: "Test", serviceConnectionName: "Test", - resourceGroupName: "rg-resourcegroupname-test", + resourceGroupName: "rg-templateresourcegroupname-test", }, { environment: "UAT", serviceConnectionName: "UAT", - resourceGroupName: "rg-resourcegroupname-uat", + resourceGroupName: "rg-templateresourcegroupname-uat", }, { environment: "Prod", serviceConnectionName: "Prod", - resourceGroupName: "rg-resourcegroupname-prod", + resourceGroupName: "rg-templateresourcegroupname-prod", }, ] diff --git a/.template.config/dotnetcli.host.json b/.template.config/dotnetcli.host.json new file mode 100644 index 0000000..b9fd0f5 --- /dev/null +++ b/.template.config/dotnetcli.host.json @@ -0,0 +1,15 @@ +{ + "$schema": "http://json.schemastore.org/dotnetcli.host", + "symbolInfo": { + "companyName": { "longName": "company-name", "shortName": "cn" }, + "publisherPrefix": { "longName": "publisher-prefix", "shortName": "pp" }, + "certPassword": { "longName": "cert-password" }, + "solutionId": { "longName": "solution-id", "shortName": "si" }, + "devUrl": { "longName": "dev-url" }, + "testUrl": { "longName": "test-url" }, + "uatUrl": { "longName": "uat-url" }, + "prodUrl": { "longName": "prod-url" }, + "resourceGroupName": { "longName": "rg-name" }, + "dataverseUsername": { "longName": "username" } + } +} diff --git a/.template.config/template.json b/.template.config/template.json new file mode 100644 index 0000000..b3000f4 --- /dev/null +++ b/.template.config/template.json @@ -0,0 +1,175 @@ +{ + "$schema": "http://json.schemastore.org/template", + "author": "Delegate A/S", + "classifications": ["Dataverse", "Azure", "XRM"], + "identity": "DelegateAS.XrmBedrock", + "name": "XrmBedrock Dataverse + Azure Project", + "shortName": "xrmbedrock", + "description": "Template for Dataverse projects with Azure backend", + "sourceName": "XrmBedrock", + "preferNameDirectory": true, + "tags": { + "language": "C#", + "type": "solution" + }, + "symbols": { + "companyName": { + "type": "parameter", + "datatype": "string", + "description": "Company name used in assembly names and metadata (e.g. 'Acme')", + "defaultValue": "templatecompanyname", + "replaces": "templatecompanyname" + }, + "publisherPrefix": { + "type": "parameter", + "datatype": "string", + "description": "Dataverse publisher prefix (e.g. 'ctx', 'new')", + "defaultValue": "ctx", + "replaces": "templatepublisherprefix" + }, + "certPassword": { + "type": "parameter", + "datatype": "string", + "description": "Password for plugin signing certificate", + "defaultValue": "templatecertpassword", + "replaces": "templatecertpassword" + }, + "solutionId": { + "type": "parameter", + "datatype": "string", + "description": "Azure solution identifier for resource naming", + "defaultValue": "templatesolutionid", + "replaces": "templatesolutionid" + }, + "resourceGroupName": { + "type": "parameter", + "datatype": "string", + "description": "Base name for Azure resource groups so ctx becomes rg-ctx-dev, rg-ctx-test, etc.", + "defaultValue": "templateresourcegroupname", + "replaces": "templateresourcegroupname" + }, + "dataverseUsername": { + "type": "parameter", + "datatype": "string", + "description": "Dataverse dev environment username (e.g. user@org.onmicrosoft.com)", + "defaultValue": "", + "replaces": "TEMPLATE_DATAVERSE_USERNAME" + }, + "devUrl": { + "type": "parameter", + "datatype": "string", + "description": "Dataverse Dev environment URL", + "defaultValue": "https://dev.crm4.dynamics.com", + "replaces": "https://dev.crm4.dynamics.com" + }, + "testUrl": { + "type": "parameter", + "datatype": "string", + "description": "Dataverse Test environment URL", + "defaultValue": "https://test.crm4.dynamics.com", + "replaces": "https://test.crm4.dynamics.com" + }, + "uatUrl": { + "type": "parameter", + "datatype": "string", + "description": "Dataverse UAT environment URL", + "defaultValue": "https://uat.crm4.dynamics.com", + "replaces": "https://uat.crm4.dynamics.com" + }, + "prodUrl": { + "type": "parameter", + "datatype": "string", + "description": "Dataverse Prod environment URL", + "defaultValue": "https://prod.crm4.dynamics.com", + "replaces": "https://prod.crm4.dynamics.com" + }, + "nameLower": { + "type": "generated", + "generator": "casing", + "parameters": { + "source": "name", + "toLower": true + }, + "replaces": "xrmbedrock", + "fileRename": "xrmbedrock" + }, + "prefixedName": { + "type": "generated", + "generator": "join", + "replaces": "templatepublisherprefix_templateprojectname", + "fileRename": "templatepublisherprefix_templateprojectname", + "parameters": { + "symbols": [ + { "type": "ref", "value": "publisherPrefix" }, + { "type": "ref", "value": "name" } + ], + "separator": "_" + } + }, + "companyNameLower": { + "type": "generated", + "generator": "casing", + "parameters": { + "source": "companyName", + "toLower": true + }, + "replaces": "templatecompanyid" + }, + "nameExplicit": { + "type": "generated", + "generator": "join", + "parameters": { + "symbols": [ + { "type": "ref", "value": "name" } + ], + "separator": "" + }, + "replaces": "templateprojectname" + }, + "NET462": { + "type": "generated", + "generator": "constant", + "parameters": { + "value": "true" + } + } + }, + "sources": [ + { + "copyOnly": [ + "**/*.snk", + "**/*.pfx", + "**/*.dll", + "**/*.js.map" + ], + "modifiers": [ + { + "exclude": [ + ".git/**", + "**/node_modules/**", + "xrmbedrock.snk", + "plugincert.pfx" + ] + } + ] + } + ], + "postActions": [ + { + "actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025", + "description": "Restore NuGet packages", + "manualInstructions": [{ "text": "Run 'dotnet restore'" }], + "continueOnError": true + }, + { + "actionId": "3A7C4B45-1F5D-4A30-959A-51B88E82B5D2", + "description": "Run post-template setup (copy initial files, dotnet tool restore, npm install)", + "manualInstructions": [{ "text": "Run 'pwsh Setup/postTemplateSetup.ps1'" }], + "args": { + "executable": "pwsh", + "args": "-File Setup/postTemplateSetup.ps1" + }, + "continueOnError": true + } + ] +} diff --git a/Directory.Build.props b/Directory.Build.props index 17ea662..24238f2 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,8 +2,7 @@ - MGS - DEMO + templatecompanyname diff --git a/Infrastructure/main.bicep b/Infrastructure/main.bicep index 7e15393..d2ff58d 100644 --- a/Infrastructure/main.bicep +++ b/Infrastructure/main.bicep @@ -6,8 +6,8 @@ param existingAppClientObjectId string param DataverseUrl string // Naming (OBS: some resources have limitations to their naming) -var solutionId = 'demo' -var companyId = 'mgs' +var solutionId = 'templatesolutionid' +var companyId = 'templatecompanyid' var namingSuffix = '${toLower(companyId)}-${toLower(solutionId)}-${toLower(env)}' // Variables diff --git a/README.md b/README.md index 4d16404..e4e9bf8 100644 --- a/README.md +++ b/README.md @@ -6,81 +6,74 @@ This template will be updated. The current list is as follows * New way of handling web resources. * Deploying data. -# Initial setup -This project serves both as a template. For examples and demonstrations on how be used go to the examples branches. Generated files that are ignored in git are stored for your convenience in Setup/InitialSetup. It is safe to delete that folder and `copyInitialSetup.ps1`. - -If you want to try it out right away, find an examples branch. Run `Setup/copyInitialSetup.ps1` using PowerShell. The script is not signed, so make sure to first run `Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass`. This copies the context for the demo and you should now be able to build and run all unit tests for the demo. - -# Getting up and running -Follow these steps to setup your project correctly. After this you are ready to setup Azure DevOps. - -# Rename file names and folders -- Rename file `XrmBedrock.slnx` => `ProjectName.slnx` -- Rename folder `src/Dataverse/Webresources/src/ctx_XrmBedrock` => `src/Dataverse/Webresources/src/prefix_SolutionName` - -# Update values in WebResources files -- Update ``ctx_XrmBedrock`` to the new folder name in ``src/Dataverse/WebResources/esbuild.config.mjs`` -- Update ``ctx_XrmBedrock`` to the new folder name in ``src/Dataverse/WebResources/package.json`` -- Update ``ctx_XrmBedrock`` to the new folder name in ``src/Dataverse/WebResources/tsconfig.json`` - -## Generate new strong name key -Open the developer terminal in Visual Studio and write: -`sn -k nameOfSolution.snk` - -## Update values in Plugins.csproj -In the ``src/Dataverse/Plugins.csproj`` file, update the following: -- AssemblyName -- AssemblyOriginatorKeyFile -- Reference to the .snk file in the ``Exec`` element - -## Update DAXIF Config -In the ``src\Tools\Daxif\_Config.fsx`` file, update/configure the following: -- Env - - urls - - The pipeline expects environment names Dev, Test, UAT and Prod - make sure that the names of the environment matches what the pipeline excepts, modify it if needed. -- SolutionInfo -- PublisherInfo -- ``src\Tools\Daxif\GenerateDataverseDomain.fsx`` - - add or remove table names based on your solution and needs -- ``src\Tools\Daxif\GenerateTypeScriptContext.fsx`` - - add or remove table names based on your solution and needs -- ``src\Tools\Daxif\username.txt`` - - add your username - -## Ready for Dataverse -At this point your are ready for Dataverse development. The rest of the setup is regarding Azure setup and pipelines. The example pipeline assumes a full Azure and Dataverse setup. - -## Generate a certificate -We generated a self-signed certificate to use with the Dataverse Managed Identity. - -- Create a new password (at least 12 randomly generated characters is recommended). -- Open an administrator powershell and run the ``Setup/generateNewCertificate.ps1`` file. -- Use the following commands - remember to update "nameOfSolution" and "someRandomPassword": - - `Set-ExecutionPolicy Bypass -Scope Process` - - `./Setup/generateNewCertificate.ps1 -name "nameOfSolution" -friendlyName "nameOfSolution" -password "someRandomPassword" -environmentId "758cc81b-8df9-42cb-9d0a-a59482800d1f" -appId "12ec9b01-e104-4af3-b1f5-2ecfc065e1c2"` - -Set the password in the signing part of the ``src/Dataverse/Plugins.csproj`` file in the ``Exec`` element. - -## Update storage account environment variable -Create a new environment variable that will contain the storage account url - -Update the reference to that variable in ``src\Dataverse\SharedPluginLogic\Logic\Azure\AzureConfigSetter.cs`` - -# Update files in .pipelines and Infrastructure -TODO: There should be a dedicated section for pipelines. Here it should be described what the default configurations do and what the prerequisites are. - -Update values to match your solution: -- In ``.pipelines/Azure/Validate-DIF-Template`` update the resource group names -- In ``.pipelines/Infrastructure/main.bicep`` update the ``solutionId`` and ``companyId`` - -Tip: To locally validate your main.bicep, run the following commands: -``az login`` -``az deployment group validate --resource-group --template-file main.bicep`` -This will validate the template and show you any errors in the template (which the pipeline won't output) +# Quick start (dotnet new) + +1. Install the template from the repository root: + + ```bash + dotnet new install . + ``` + +2. Create a new project, replacing each placeholder value with your own: + + ```bash + dotnet new xrmbedrock -n MyProject \ + --company-name MyOrg \ + --publisher-prefix abc \ + --solution-id mysol \ + --dev-url https://myorg-dev.crm4.dynamics.com \ + --test-url https://myorg-test.crm4.dynamics.com \ + --uat-url https://myorg-uat.crm4.dynamics.com \ + --prod-url https://myorg-prod.crm4.dynamics.com \ + --rg-name myorg-mysol \ + --cert-password MySecurePassword123 \ + --username user@myorg.onmicrosoft.com + ``` + +3. Post-setup runs automatically (generates a strong name key, plugin signing certificate, restores tools, installs npm packages, generates Dataverse context files, and creates an initial git commit). You will be prompted to authenticate with your Dataverse environment via a browser popup. Requires [PowerShell Core](https://github.com/PowerShell/PowerShell) (`pwsh`). + +To uninstall the template: `dotnet new uninstall .` + +# Regenerating Dataverse Context + +The Dataverse context files (C# proxies, TypeScript typings, and test metadata) are generated from your Dataverse environment during post-template setup using the F# scripts in `src/Tools/Daxif/`. You can regenerate them at any time: + +```bash +dotnet fsi src/Tools/Daxif/GenerateCSharpContext.fsx +dotnet fsi src/Tools/Daxif/GenerateTypeScriptContext.fsx +``` + +# Azure Setup + +## Federated Credentials + +To configure federated credentials for the Dataverse Managed Identity, run the following script. It loads the generated `plugincert.pfx` and prints the issuer, subject, thumbprint, and hash needed for Azure AD configuration: + +```bash +pwsh Setup/printFederatedCredentials.ps1 -password "" -environmentId "" -tenantId "" +``` + +## Storage account environment variable + +Create a new environment variable that will contain the storage account URL. + +Update the reference to that variable in `src/Dataverse/SharedPluginLogic/Logic/Azure/AzureConfigSetter.cs`. + +## Infrastructure validation + +To locally validate your `main.bicep`, run: + +```bash +az login +az deployment group validate --resource-group --template-file main.bicep +``` + +Note: When using `dotnet new`, `solutionId` and `companyId` in `Infrastructure/main.bicep` are set automatically via template parameters. # Azure DevOps + ## Environment -Under Pipelines > Environment, create an environment per Dataverse environment. +Under Pipelines > Environment, create an environment per Dataverse environment. Note: The pipeline template uses Dev, Test, UAT, Prod. Use these to control approvals of deployments. @@ -98,7 +91,7 @@ The template assumes the following variables exist. * AzureClientEAObjectId (Object id of the Enterprise Application related to the App registration) ## Service Connection -Under Project Settings > Pipelines > Service connections, create 2 service connections per azure environment of types Power Platform and Azure Resource Manager. +Under Project Settings > Pipelines > Service connections, create 2 service connections per azure environment of types Power Platform and Azure Resource Manager. A service connection is used to authorize the pipeline against other services. The goal is to avoid secrets in the pipeline. Use the recommended settings with Workload Federated Credentials. Note: The pipeline template uses Dev, Test, UAT, Prod. @@ -106,8 +99,8 @@ Note: The pipeline template uses Dev, Test, UAT, Prod. 1. Go to Project Settings > Pipelines > Service connections > New service connection > Power Platform 2. Select Workload Identity federation 3. Server URL = The URL of the Dataverse environment (https://dev.crm4.dynamics.com) -4. TenantI Id = Teant Id, can be found in Azure Portal -5. Service Connection Name = The name of the service connetion (e.g. Dataverse Dev) +4. Tenant Id = Tenant Id, can be found in Azure Portal +5. Service Connection Name = The name of the service connection (e.g. Dataverse Dev) Once created: 1. Copy the service connection id from the url as it is needed in the next step. @@ -119,7 +112,7 @@ You now need to create a federated credential on your app registration. 1. Find your app registration in the Azure Portal 2. Go to Manage > Certificates & secrets > Federated credentials > + Add credential 3. For 'Federated credential scenario' select 'Other issuer' -4. Issuer = https://vstoken.dev.azure.com/{organizationName} +4. Issuer = https://vstoken.dev.azure.com/{organizationName} 5. Type = Explicit subject identifier 6. Value = Paste the `workloadIdentityFederationSubject` from the earlier step 7. Name = Name of your choice (e.g. PipelineDataverse) @@ -128,12 +121,12 @@ You now need to create a federated credential on your app registration. 1. Go to Project Settings > Pipelines > Service connections > New service connection > Azure Resource Manager 2. Identity type = App registration or managed identity (manual) 3. Credential = Workload identity federation -4. Service Connection Name = The name of the service connetion (e.g. Dev) -5. Directory (tenant) Id = Teant Id, can be found in Azure Portal +4. Service Connection Name = The name of the service connection (e.g. Dev) +5. Directory (tenant) Id = Tenant Id, can be found in Azure Portal 6. Click Next 7. Copy the Issuer and Subject Identifier for later use 8. Scope level = Subscription -9. Subcription ID and Subscription Name can be found in the Azure Portal +9. Subscription ID and Subscription Name can be found in the Azure Portal 10. Application (client) ID = The client id of your app registration for the environment. You now need to create a federated credential on your app registration. diff --git a/Setup/InitialSetup/SharedContext/XrmContext.cs b/Setup/InitialSetup/SharedContext/XrmContext.cs deleted file mode 100644 index f583d1a..0000000 --- a/Setup/InitialSetup/SharedContext/XrmContext.cs +++ /dev/null @@ -1,25909 +0,0 @@ -//------------------------------------------------------------------------------ -// -// Denne kode blev oprettet ved hjælp af et værktøj. -// Runtime-version:4.0.30319.42000 -// -// Ændringer af denne fil kan resultere i ukorrekt funktion, og ændringerne mistes, hvis -// koden oprettes igen. -// -//------------------------------------------------------------------------------ - -using Microsoft.Xrm.Sdk; -using Microsoft.Xrm.Sdk.Client; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.ComponentModel.DataAnnotations; -using System.Diagnostics; -using System.Linq; -using System.Linq.Expressions; -using System.Runtime.Serialization; - -[assembly: ProxyTypesAssembly()] - - -namespace XrmBedrock.SharedContext { - - - public interface ICustomer : IEntity { - - Guid? Address1_AddressId { - get; - set; - } - - string Address1_City { - get; - set; - } - - string Address1_Composite { - get; - } - - string Address1_Country { - get; - set; - } - - string Address1_County { - get; - set; - } - - string Address1_Fax { - get; - set; - } - - double? Address1_Latitude { - get; - set; - } - - string Address1_Line1 { - get; - set; - } - - string Address1_Line2 { - get; - set; - } - - string Address1_Line3 { - get; - set; - } - - double? Address1_Longitude { - get; - set; - } - - string Address1_Name { - get; - set; - } - - string Address1_PostalCode { - get; - set; - } - - string Address1_PostOfficeBox { - get; - set; - } - - string Address1_PrimaryContactName { - get; - set; - } - - string Address1_StateOrProvince { - get; - set; - } - - string Address1_Telephone1 { - get; - set; - } - - string Address1_Telephone2 { - get; - set; - } - - string Address1_Telephone3 { - get; - set; - } - - string Address1_UPSZone { - get; - set; - } - - int? Address1_UTCOffset { - get; - set; - } - - Guid? Address2_AddressId { - get; - set; - } - - string Address2_City { - get; - set; - } - - string Address2_Composite { - get; - } - - string Address2_Country { - get; - set; - } - - string Address2_County { - get; - set; - } - - string Address2_Fax { - get; - set; - } - - double? Address2_Latitude { - get; - set; - } - - string Address2_Line1 { - get; - set; - } - - string Address2_Line2 { - get; - set; - } - - string Address2_Line3 { - get; - set; - } - - double? Address2_Longitude { - get; - set; - } - - string Address2_Name { - get; - set; - } - - string Address2_PostalCode { - get; - set; - } - - string Address2_PostOfficeBox { - get; - set; - } - - string Address2_PrimaryContactName { - get; - set; - } - - string Address2_StateOrProvince { - get; - set; - } - - string Address2_Telephone1 { - get; - set; - } - - string Address2_Telephone2 { - get; - set; - } - - string Address2_Telephone3 { - get; - set; - } - - string Address2_UPSZone { - get; - set; - } - - int? Address2_UTCOffset { - get; - set; - } - - string Adx_CreatedByIPAddress { - get; - set; - } - - string Adx_CreatedByUsername { - get; - set; - } - - string Adx_ModifiedByIPAddress { - get; - set; - } - - string Adx_ModifiedByUsername { - get; - set; - } - - decimal? Aging30 { - get; - } - - decimal? Aging30_Base { - get; - } - - decimal? Aging60 { - get; - } - - decimal? Aging60_Base { - get; - } - - decimal? Aging90 { - get; - } - - decimal? Aging90_Base { - get; - } - - EntityReference CreatedBy { - get; - } - - EntityReference CreatedByExternalParty { - get; - } - - DateTime? CreatedOn { - get; - } - - EntityReference CreatedOnBehalfBy { - get; - } - - decimal? CreditLimit { - get; - set; - } - - decimal? CreditLimit_Base { - get; - } - - bool? CreditOnHold { - get; - set; - } - - string Description { - get; - set; - } - - bool? DoNotBulkEMail { - get; - set; - } - - bool? DoNotBulkPostalMail { - get; - set; - } - - bool? DoNotEMail { - get; - set; - } - - bool? DoNotFax { - get; - set; - } - - bool? DoNotPhone { - get; - set; - } - - bool? DoNotPostalMail { - get; - set; - } - - bool? DoNotSendMM { - get; - set; - } - - string EMailAddress1 { - get; - set; - } - - string EMailAddress2 { - get; - set; - } - - string EMailAddress3 { - get; - set; - } - - Guid? EntityImageId { - get; - } - - decimal? ExchangeRate { - get; - } - - string Fax { - get; - set; - } - - bool? FollowEmail { - get; - set; - } - - int? ImportSequenceNumber { - get; - set; - } - - DateTime? LastOnHoldTime { - get; - set; - } - - DateTime? LastUsedInCampaign { - get; - set; - } - - bool? MarketingOnly { - get; - set; - } - - EntityReference MasterId { - get; - } - - bool? Merged { - get; - } - - EntityReference ModifiedBy { - get; - } - - EntityReference ModifiedByExternalParty { - get; - } - - DateTime? ModifiedOn { - get; - } - - EntityReference ModifiedOnBehalfBy { - get; - } - - EntityReference msa_managingpartnerid { - get; - set; - } - - int? OnHoldTime { - get; - } - - DateTime? OverriddenCreatedOn { - get; - set; - } - - EntityReference OwnerId { - get; - set; - } - - EntityReference OwningBusinessUnit { - get; - } - - EntityReference OwningTeam { - get; - } - - EntityReference OwningUser { - get; - } - - bool? ParticipatesInWorkflow { - get; - set; - } - - EntityReference PreferredSystemUserId { - get; - set; - } - - Guid? ProcessId { - get; - set; - } - - EntityReference SLAId { - get; - set; - } - - EntityReference SLAInvokedId { - get; - } - - Guid? StageId { - get; - set; - } - - string Telephone1 { - get; - set; - } - - string Telephone2 { - get; - set; - } - - string Telephone3 { - get; - set; - } - - string TimeSpentByMeOnEmailAndMeetings { - get; - } - - int? TimeZoneRuleVersionNumber { - get; - set; - } - - EntityReference TransactionCurrencyId { - get; - set; - } - - string TraversedPath { - get; - set; - } - - int? UTCConversionTimeZoneCode { - get; - set; - } - - long? VersionNumber { - get; - } - } - - /// - /// Business that represents a customer or potential customer. The company that is billed in business transactions. - /// Display Name: Account - /// - [EntityLogicalName("account")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class Account : ExtendedEntity, ICustomer { - - public const string EntityLogicalName = "account"; - - public const int EntityTypeCode = 1; - - public Account() : - base(EntityLogicalName) { - } - - public Account(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("name"); - } - } - - [AttributeLogicalName("accountid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("accountid", value); - } - } - - /// - /// Unique identifier of the account. - /// Display Name: Account - /// - [AttributeLogicalName("accountid")] - [DisplayName("Account")] - public Guid? AccountId { - get { - return GetAttributeValue("accountid"); - } - set { - SetId("accountid", value); - } - } - - /// - /// Select a category to indicate whether the customer account is standard or preferred. - /// Display Name: Category - /// - [AttributeLogicalName("accountcategorycode")] - [DisplayName("Category")] - public Account_AccountCategoryCode? AccountCategoryCode { - get { - return GetOptionSetValue("accountcategorycode"); - } - set { - SetOptionSetValue("accountcategorycode", value); - } - } - - /// - /// Select a classification code to indicate the potential value of the customer account based on the projected return on investment, cooperation level, sales cycle length or other criteria. - /// Display Name: Classification - /// - [AttributeLogicalName("accountclassificationcode")] - [DisplayName("Classification")] - public Account_AccountClassificationCode? AccountClassificationCode { - get { - return GetOptionSetValue("accountclassificationcode"); - } - set { - SetOptionSetValue("accountclassificationcode", value); - } - } - - /// - /// Type an ID number or code for the account to quickly search and identify the account in system views. - /// Display Name: Account Number - /// - [AttributeLogicalName("accountnumber")] - [DisplayName("Account Number")] - [MaxLength(20)] - public string AccountNumber { - get { - return GetAttributeValue("accountnumber"); - } - set { - SetAttributeValue("accountnumber", value); - } - } - - /// - /// Select a rating to indicate the value of the customer account. - /// Display Name: Account Rating - /// - [AttributeLogicalName("accountratingcode")] - [DisplayName("Account Rating")] - public Account_AccountRatingCode? AccountRatingCode { - get { - return GetOptionSetValue("accountratingcode"); - } - set { - SetOptionSetValue("accountratingcode", value); - } - } - - /// - /// Unique identifier for address 1. - /// Display Name: Address 1: ID - /// - [AttributeLogicalName("address1_addressid")] - [DisplayName("Address 1: ID")] - public Guid? Address1_AddressId { - get { - return GetAttributeValue("address1_addressid"); - } - set { - SetAttributeValue("address1_addressid", value); - } - } - - /// - /// Select the primary address type. - /// Display Name: Address 1: Address Type - /// - [AttributeLogicalName("address1_addresstypecode")] - [DisplayName("Address 1: Address Type")] - public Account_Address1_AddressTypeCode? Address1_AddressTypeCode { - get { - return GetOptionSetValue("address1_addresstypecode"); - } - set { - SetOptionSetValue("address1_addresstypecode", value); - } - } - - /// - /// Type the city for the primary address. - /// Display Name: Address 1: City - /// - [AttributeLogicalName("address1_city")] - [DisplayName("Address 1: City")] - [MaxLength(80)] - public string Address1_City { - get { - return GetAttributeValue("address1_city"); - } - set { - SetAttributeValue("address1_city", value); - } - } - - /// - /// Shows the complete primary address. - /// Display Name: Address 1 - /// - [AttributeLogicalName("address1_composite")] - [DisplayName("Address 1")] - public string Address1_Composite { - get { - return GetAttributeValue("address1_composite"); - } - } - - /// - /// Type the country or region for the primary address. - /// Display Name: Address 1: Country/Region - /// - [AttributeLogicalName("address1_country")] - [DisplayName("Address 1: Country/Region")] - [MaxLength(80)] - public string Address1_Country { - get { - return GetAttributeValue("address1_country"); - } - set { - SetAttributeValue("address1_country", value); - } - } - - /// - /// Type the county for the primary address. - /// Display Name: Address 1: County - /// - [AttributeLogicalName("address1_county")] - [DisplayName("Address 1: County")] - [MaxLength(50)] - public string Address1_County { - get { - return GetAttributeValue("address1_county"); - } - set { - SetAttributeValue("address1_county", value); - } - } - - /// - /// Type the fax number associated with the primary address. - /// Display Name: Address 1: Fax - /// - [AttributeLogicalName("address1_fax")] - [DisplayName("Address 1: Fax")] - [MaxLength(50)] - public string Address1_Fax { - get { - return GetAttributeValue("address1_fax"); - } - set { - SetAttributeValue("address1_fax", value); - } - } - - /// - /// Select the freight terms for the primary address to make sure shipping orders are processed correctly. - /// Display Name: Address 1: Freight Terms - /// - [AttributeLogicalName("address1_freighttermscode")] - [DisplayName("Address 1: Freight Terms")] - public Account_Address1_FreightTermsCode? Address1_FreightTermsCode { - get { - return GetOptionSetValue("address1_freighttermscode"); - } - set { - SetOptionSetValue("address1_freighttermscode", value); - } - } - - /// - /// Type the latitude value for the primary address for use in mapping and other applications. - /// Display Name: Address 1: Latitude - /// - [AttributeLogicalName("address1_latitude")] - [DisplayName("Address 1: Latitude")] - public double? Address1_Latitude { - get { - return GetAttributeValue("address1_latitude"); - } - set { - SetAttributeValue("address1_latitude", value); - } - } - - /// - /// Type the first line of the primary address. - /// Display Name: Address 1: Street 1 - /// - [AttributeLogicalName("address1_line1")] - [DisplayName("Address 1: Street 1")] - [MaxLength(250)] - public string Address1_Line1 { - get { - return GetAttributeValue("address1_line1"); - } - set { - SetAttributeValue("address1_line1", value); - } - } - - /// - /// Type the second line of the primary address. - /// Display Name: Address 1: Street 2 - /// - [AttributeLogicalName("address1_line2")] - [DisplayName("Address 1: Street 2")] - [MaxLength(250)] - public string Address1_Line2 { - get { - return GetAttributeValue("address1_line2"); - } - set { - SetAttributeValue("address1_line2", value); - } - } - - /// - /// Type the third line of the primary address. - /// Display Name: Address 1: Street 3 - /// - [AttributeLogicalName("address1_line3")] - [DisplayName("Address 1: Street 3")] - [MaxLength(250)] - public string Address1_Line3 { - get { - return GetAttributeValue("address1_line3"); - } - set { - SetAttributeValue("address1_line3", value); - } - } - - /// - /// Type the longitude value for the primary address for use in mapping and other applications. - /// Display Name: Address 1: Longitude - /// - [AttributeLogicalName("address1_longitude")] - [DisplayName("Address 1: Longitude")] - public double? Address1_Longitude { - get { - return GetAttributeValue("address1_longitude"); - } - set { - SetAttributeValue("address1_longitude", value); - } - } - - /// - /// Type a descriptive name for the primary address, such as Corporate Headquarters. - /// Display Name: Address 1: Name - /// - [AttributeLogicalName("address1_name")] - [DisplayName("Address 1: Name")] - [MaxLength(200)] - public string Address1_Name { - get { - return GetAttributeValue("address1_name"); - } - set { - SetAttributeValue("address1_name", value); - } - } - - /// - /// Type the post office box number of the primary address. - /// Display Name: Address 1: Post Office Box - /// - [AttributeLogicalName("address1_postofficebox")] - [DisplayName("Address 1: Post Office Box")] - [MaxLength(20)] - public string Address1_PostOfficeBox { - get { - return GetAttributeValue("address1_postofficebox"); - } - set { - SetAttributeValue("address1_postofficebox", value); - } - } - - /// - /// Type the ZIP Code or postal code for the primary address. - /// Display Name: Address 1: ZIP/Postal Code - /// - [AttributeLogicalName("address1_postalcode")] - [DisplayName("Address 1: ZIP/Postal Code")] - [MaxLength(20)] - public string Address1_PostalCode { - get { - return GetAttributeValue("address1_postalcode"); - } - set { - SetAttributeValue("address1_postalcode", value); - } - } - - /// - /// Type the name of the main contact at the account's primary address. - /// Display Name: Address 1: Primary Contact Name - /// - [AttributeLogicalName("address1_primarycontactname")] - [DisplayName("Address 1: Primary Contact Name")] - [MaxLength(100)] - public string Address1_PrimaryContactName { - get { - return GetAttributeValue("address1_primarycontactname"); - } - set { - SetAttributeValue("address1_primarycontactname", value); - } - } - - /// - /// Select a shipping method for deliveries sent to this address. - /// Display Name: Address 1: Shipping Method - /// - [AttributeLogicalName("address1_shippingmethodcode")] - [DisplayName("Address 1: Shipping Method")] - public Account_Address1_ShippingMethodCode? Address1_ShippingMethodCode { - get { - return GetOptionSetValue("address1_shippingmethodcode"); - } - set { - SetOptionSetValue("address1_shippingmethodcode", value); - } - } - - /// - /// Type the state or province of the primary address. - /// Display Name: Address 1: State/Province - /// - [AttributeLogicalName("address1_stateorprovince")] - [DisplayName("Address 1: State/Province")] - [MaxLength(50)] - public string Address1_StateOrProvince { - get { - return GetAttributeValue("address1_stateorprovince"); - } - set { - SetAttributeValue("address1_stateorprovince", value); - } - } - - /// - /// Type the main phone number associated with the primary address. - /// Display Name: Address Phone - /// - [AttributeLogicalName("address1_telephone1")] - [DisplayName("Address Phone")] - [MaxLength(50)] - public string Address1_Telephone1 { - get { - return GetAttributeValue("address1_telephone1"); - } - set { - SetAttributeValue("address1_telephone1", value); - } - } - - /// - /// Type a second phone number associated with the primary address. - /// Display Name: Address 1: Telephone 2 - /// - [AttributeLogicalName("address1_telephone2")] - [DisplayName("Address 1: Telephone 2")] - [MaxLength(50)] - public string Address1_Telephone2 { - get { - return GetAttributeValue("address1_telephone2"); - } - set { - SetAttributeValue("address1_telephone2", value); - } - } - - /// - /// Type a third phone number associated with the primary address. - /// Display Name: Address 1: Telephone 3 - /// - [AttributeLogicalName("address1_telephone3")] - [DisplayName("Address 1: Telephone 3")] - [MaxLength(50)] - public string Address1_Telephone3 { - get { - return GetAttributeValue("address1_telephone3"); - } - set { - SetAttributeValue("address1_telephone3", value); - } - } - - /// - /// Type the UPS zone of the primary address to make sure shipping charges are calculated correctly and deliveries are made promptly, if shipped by UPS. - /// Display Name: Address 1: UPS Zone - /// - [AttributeLogicalName("address1_upszone")] - [DisplayName("Address 1: UPS Zone")] - [MaxLength(4)] - public string Address1_UPSZone { - get { - return GetAttributeValue("address1_upszone"); - } - set { - SetAttributeValue("address1_upszone", value); - } - } - - /// - /// Select the time zone, or UTC offset, for this address so that other people can reference it when they contact someone at this address. - /// Display Name: Address 1: UTC Offset - /// - [AttributeLogicalName("address1_utcoffset")] - [DisplayName("Address 1: UTC Offset")] - [Range(-1500, 1500)] - public int? Address1_UTCOffset { - get { - return GetAttributeValue("address1_utcoffset"); - } - set { - SetAttributeValue("address1_utcoffset", value); - } - } - - /// - /// Unique identifier for address 2. - /// Display Name: Address 2: ID - /// - [AttributeLogicalName("address2_addressid")] - [DisplayName("Address 2: ID")] - public Guid? Address2_AddressId { - get { - return GetAttributeValue("address2_addressid"); - } - set { - SetAttributeValue("address2_addressid", value); - } - } - - /// - /// Select the secondary address type. - /// Display Name: Address 2: Address Type - /// - [AttributeLogicalName("address2_addresstypecode")] - [DisplayName("Address 2: Address Type")] - public Account_Address2_AddressTypeCode? Address2_AddressTypeCode { - get { - return GetOptionSetValue("address2_addresstypecode"); - } - set { - SetOptionSetValue("address2_addresstypecode", value); - } - } - - /// - /// Type the city for the secondary address. - /// Display Name: Address 2: City - /// - [AttributeLogicalName("address2_city")] - [DisplayName("Address 2: City")] - [MaxLength(80)] - public string Address2_City { - get { - return GetAttributeValue("address2_city"); - } - set { - SetAttributeValue("address2_city", value); - } - } - - /// - /// Shows the complete secondary address. - /// Display Name: Address 2 - /// - [AttributeLogicalName("address2_composite")] - [DisplayName("Address 2")] - public string Address2_Composite { - get { - return GetAttributeValue("address2_composite"); - } - } - - /// - /// Type the country or region for the secondary address. - /// Display Name: Address 2: Country/Region - /// - [AttributeLogicalName("address2_country")] - [DisplayName("Address 2: Country/Region")] - [MaxLength(80)] - public string Address2_Country { - get { - return GetAttributeValue("address2_country"); - } - set { - SetAttributeValue("address2_country", value); - } - } - - /// - /// Type the county for the secondary address. - /// Display Name: Address 2: County - /// - [AttributeLogicalName("address2_county")] - [DisplayName("Address 2: County")] - [MaxLength(50)] - public string Address2_County { - get { - return GetAttributeValue("address2_county"); - } - set { - SetAttributeValue("address2_county", value); - } - } - - /// - /// Type the fax number associated with the secondary address. - /// Display Name: Address 2: Fax - /// - [AttributeLogicalName("address2_fax")] - [DisplayName("Address 2: Fax")] - [MaxLength(50)] - public string Address2_Fax { - get { - return GetAttributeValue("address2_fax"); - } - set { - SetAttributeValue("address2_fax", value); - } - } - - /// - /// Select the freight terms for the secondary address to make sure shipping orders are processed correctly. - /// Display Name: Address 2: Freight Terms - /// - [AttributeLogicalName("address2_freighttermscode")] - [DisplayName("Address 2: Freight Terms")] - public Account_Address2_FreightTermsCode? Address2_FreightTermsCode { - get { - return GetOptionSetValue("address2_freighttermscode"); - } - set { - SetOptionSetValue("address2_freighttermscode", value); - } - } - - /// - /// Type the latitude value for the secondary address for use in mapping and other applications. - /// Display Name: Address 2: Latitude - /// - [AttributeLogicalName("address2_latitude")] - [DisplayName("Address 2: Latitude")] - public double? Address2_Latitude { - get { - return GetAttributeValue("address2_latitude"); - } - set { - SetAttributeValue("address2_latitude", value); - } - } - - /// - /// Type the first line of the secondary address. - /// Display Name: Address 2: Street 1 - /// - [AttributeLogicalName("address2_line1")] - [DisplayName("Address 2: Street 1")] - [MaxLength(250)] - public string Address2_Line1 { - get { - return GetAttributeValue("address2_line1"); - } - set { - SetAttributeValue("address2_line1", value); - } - } - - /// - /// Type the second line of the secondary address. - /// Display Name: Address 2: Street 2 - /// - [AttributeLogicalName("address2_line2")] - [DisplayName("Address 2: Street 2")] - [MaxLength(250)] - public string Address2_Line2 { - get { - return GetAttributeValue("address2_line2"); - } - set { - SetAttributeValue("address2_line2", value); - } - } - - /// - /// Type the third line of the secondary address. - /// Display Name: Address 2: Street 3 - /// - [AttributeLogicalName("address2_line3")] - [DisplayName("Address 2: Street 3")] - [MaxLength(250)] - public string Address2_Line3 { - get { - return GetAttributeValue("address2_line3"); - } - set { - SetAttributeValue("address2_line3", value); - } - } - - /// - /// Type the longitude value for the secondary address for use in mapping and other applications. - /// Display Name: Address 2: Longitude - /// - [AttributeLogicalName("address2_longitude")] - [DisplayName("Address 2: Longitude")] - public double? Address2_Longitude { - get { - return GetAttributeValue("address2_longitude"); - } - set { - SetAttributeValue("address2_longitude", value); - } - } - - /// - /// Type a descriptive name for the secondary address, such as Corporate Headquarters. - /// Display Name: Address 2: Name - /// - [AttributeLogicalName("address2_name")] - [DisplayName("Address 2: Name")] - [MaxLength(200)] - public string Address2_Name { - get { - return GetAttributeValue("address2_name"); - } - set { - SetAttributeValue("address2_name", value); - } - } - - /// - /// Type the post office box number of the secondary address. - /// Display Name: Address 2: Post Office Box - /// - [AttributeLogicalName("address2_postofficebox")] - [DisplayName("Address 2: Post Office Box")] - [MaxLength(20)] - public string Address2_PostOfficeBox { - get { - return GetAttributeValue("address2_postofficebox"); - } - set { - SetAttributeValue("address2_postofficebox", value); - } - } - - /// - /// Type the ZIP Code or postal code for the secondary address. - /// Display Name: Address 2: ZIP/Postal Code - /// - [AttributeLogicalName("address2_postalcode")] - [DisplayName("Address 2: ZIP/Postal Code")] - [MaxLength(20)] - public string Address2_PostalCode { - get { - return GetAttributeValue("address2_postalcode"); - } - set { - SetAttributeValue("address2_postalcode", value); - } - } - - /// - /// Type the name of the main contact at the account's secondary address. - /// Display Name: Address 2: Primary Contact Name - /// - [AttributeLogicalName("address2_primarycontactname")] - [DisplayName("Address 2: Primary Contact Name")] - [MaxLength(100)] - public string Address2_PrimaryContactName { - get { - return GetAttributeValue("address2_primarycontactname"); - } - set { - SetAttributeValue("address2_primarycontactname", value); - } - } - - /// - /// Select a shipping method for deliveries sent to this address. - /// Display Name: Address 2: Shipping Method - /// - [AttributeLogicalName("address2_shippingmethodcode")] - [DisplayName("Address 2: Shipping Method")] - public Account_Address2_ShippingMethodCode? Address2_ShippingMethodCode { - get { - return GetOptionSetValue("address2_shippingmethodcode"); - } - set { - SetOptionSetValue("address2_shippingmethodcode", value); - } - } - - /// - /// Type the state or province of the secondary address. - /// Display Name: Address 2: State/Province - /// - [AttributeLogicalName("address2_stateorprovince")] - [DisplayName("Address 2: State/Province")] - [MaxLength(50)] - public string Address2_StateOrProvince { - get { - return GetAttributeValue("address2_stateorprovince"); - } - set { - SetAttributeValue("address2_stateorprovince", value); - } - } - - /// - /// Type the main phone number associated with the secondary address. - /// Display Name: Address 2: Telephone 1 - /// - [AttributeLogicalName("address2_telephone1")] - [DisplayName("Address 2: Telephone 1")] - [MaxLength(50)] - public string Address2_Telephone1 { - get { - return GetAttributeValue("address2_telephone1"); - } - set { - SetAttributeValue("address2_telephone1", value); - } - } - - /// - /// Type a second phone number associated with the secondary address. - /// Display Name: Address 2: Telephone 2 - /// - [AttributeLogicalName("address2_telephone2")] - [DisplayName("Address 2: Telephone 2")] - [MaxLength(50)] - public string Address2_Telephone2 { - get { - return GetAttributeValue("address2_telephone2"); - } - set { - SetAttributeValue("address2_telephone2", value); - } - } - - /// - /// Type a third phone number associated with the secondary address. - /// Display Name: Address 2: Telephone 3 - /// - [AttributeLogicalName("address2_telephone3")] - [DisplayName("Address 2: Telephone 3")] - [MaxLength(50)] - public string Address2_Telephone3 { - get { - return GetAttributeValue("address2_telephone3"); - } - set { - SetAttributeValue("address2_telephone3", value); - } - } - - /// - /// Type the UPS zone of the secondary address to make sure shipping charges are calculated correctly and deliveries are made promptly, if shipped by UPS. - /// Display Name: Address 2: UPS Zone - /// - [AttributeLogicalName("address2_upszone")] - [DisplayName("Address 2: UPS Zone")] - [MaxLength(4)] - public string Address2_UPSZone { - get { - return GetAttributeValue("address2_upszone"); - } - set { - SetAttributeValue("address2_upszone", value); - } - } - - /// - /// Select the time zone, or UTC offset, for this address so that other people can reference it when they contact someone at this address. - /// Display Name: Address 2: UTC Offset - /// - [AttributeLogicalName("address2_utcoffset")] - [DisplayName("Address 2: UTC Offset")] - [Range(-1500, 1500)] - public int? Address2_UTCOffset { - get { - return GetAttributeValue("address2_utcoffset"); - } - set { - SetAttributeValue("address2_utcoffset", value); - } - } - - /// - /// Display Name: Created By (IP Address) - /// - [AttributeLogicalName("adx_createdbyipaddress")] - [DisplayName("Created By (IP Address)")] - [MaxLength(100)] - public string Adx_CreatedByIPAddress { - get { - return GetAttributeValue("adx_createdbyipaddress"); - } - set { - SetAttributeValue("adx_createdbyipaddress", value); - } - } - - /// - /// Display Name: Created By (User Name) - /// - [AttributeLogicalName("adx_createdbyusername")] - [DisplayName("Created By (User Name)")] - [MaxLength(100)] - public string Adx_CreatedByUsername { - get { - return GetAttributeValue("adx_createdbyusername"); - } - set { - SetAttributeValue("adx_createdbyusername", value); - } - } - - /// - /// Display Name: Modified By (IP Address) - /// - [AttributeLogicalName("adx_modifiedbyipaddress")] - [DisplayName("Modified By (IP Address)")] - [MaxLength(100)] - public string Adx_ModifiedByIPAddress { - get { - return GetAttributeValue("adx_modifiedbyipaddress"); - } - set { - SetAttributeValue("adx_modifiedbyipaddress", value); - } - } - - /// - /// Display Name: Modified By (User Name) - /// - [AttributeLogicalName("adx_modifiedbyusername")] - [DisplayName("Modified By (User Name)")] - [MaxLength(100)] - public string Adx_ModifiedByUsername { - get { - return GetAttributeValue("adx_modifiedbyusername"); - } - set { - SetAttributeValue("adx_modifiedbyusername", value); - } - } - - /// - /// For system use only. - /// Display Name: Aging 30 - /// - [AttributeLogicalName("aging30")] - [DisplayName("Aging 30")] - public decimal? Aging30 { - get { - return GetMoneyValue("aging30"); - } - } - - /// - /// The base currency equivalent of the aging 30 field. - /// Display Name: Aging 30 (Base) - /// - [AttributeLogicalName("aging30_base")] - [DisplayName("Aging 30 (Base)")] - public decimal? Aging30_Base { - get { - return GetMoneyValue("aging30_base"); - } - } - - /// - /// For system use only. - /// Display Name: Aging 60 - /// - [AttributeLogicalName("aging60")] - [DisplayName("Aging 60")] - public decimal? Aging60 { - get { - return GetMoneyValue("aging60"); - } - } - - /// - /// The base currency equivalent of the aging 60 field. - /// Display Name: Aging 60 (Base) - /// - [AttributeLogicalName("aging60_base")] - [DisplayName("Aging 60 (Base)")] - public decimal? Aging60_Base { - get { - return GetMoneyValue("aging60_base"); - } - } - - /// - /// For system use only. - /// Display Name: Aging 90 - /// - [AttributeLogicalName("aging90")] - [DisplayName("Aging 90")] - public decimal? Aging90 { - get { - return GetMoneyValue("aging90"); - } - } - - /// - /// The base currency equivalent of the aging 90 field. - /// Display Name: Aging 90 (Base) - /// - [AttributeLogicalName("aging90_base")] - [DisplayName("Aging 90 (Base)")] - public decimal? Aging90_Base { - get { - return GetMoneyValue("aging90_base"); - } - } - - /// - /// Select the legal designation or other business type of the account for contracts or reporting purposes. - /// Display Name: Business Type - /// - [AttributeLogicalName("businesstypecode")] - [DisplayName("Business Type")] - public Account_BusinessTypeCode? BusinessTypeCode { - get { - return GetOptionSetValue("businesstypecode"); - } - set { - SetOptionSetValue("businesstypecode", value); - } - } - - /// - /// Shows who created the record. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Shows the external party who created the record. - /// Display Name: Created By (External Party) - /// - [AttributeLogicalName("createdbyexternalparty")] - [DisplayName("Created By (External Party)")] - public EntityReference CreatedByExternalParty { - get { - return GetAttributeValue("createdbyexternalparty"); - } - } - - /// - /// Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Shows who created the record on behalf of another user. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Type the credit limit of the account. This is a useful reference when you address invoice and accounting issues with the customer. - /// Display Name: Credit Limit - /// - [AttributeLogicalName("creditlimit")] - [DisplayName("Credit Limit")] - public decimal? CreditLimit { - get { - return GetMoneyValue("creditlimit"); - } - set { - SetMoneyValue("creditlimit", value); - } - } - - /// - /// Shows the credit limit converted to the system's default base currency for reporting purposes. - /// Display Name: Credit Limit (Base) - /// - [AttributeLogicalName("creditlimit_base")] - [DisplayName("Credit Limit (Base)")] - public decimal? CreditLimit_Base { - get { - return GetMoneyValue("creditlimit_base"); - } - } - - /// - /// Select whether the credit for the account is on hold. This is a useful reference while addressing the invoice and accounting issues with the customer. - /// Display Name: Credit Hold - /// - [AttributeLogicalName("creditonhold")] - [DisplayName("Credit Hold")] - public bool? CreditOnHold { - get { - return GetAttributeValue("creditonhold"); - } - set { - SetAttributeValue("creditonhold", value); - } - } - - /// - /// Select the size category or range of the account for segmentation and reporting purposes. - /// Display Name: Customer Size - /// - [AttributeLogicalName("customersizecode")] - [DisplayName("Customer Size")] - public Account_CustomerSizeCode? CustomerSizeCode { - get { - return GetOptionSetValue("customersizecode"); - } - set { - SetOptionSetValue("customersizecode", value); - } - } - - /// - /// Select the category that best describes the relationship between the account and your organization. - /// Display Name: Relationship Type - /// - [AttributeLogicalName("customertypecode")] - [DisplayName("Relationship Type")] - public Account_CustomerTypeCode? CustomerTypeCode { - get { - return GetOptionSetValue("customertypecode"); - } - set { - SetOptionSetValue("customertypecode", value); - } - } - - /// - /// Type additional information to describe the account, such as an excerpt from the company's website. - /// Display Name: Description - /// - [AttributeLogicalName("description")] - [DisplayName("Description")] - public string Description { - get { - return GetAttributeValue("description"); - } - set { - SetAttributeValue("description", value); - } - } - - /// - /// Select whether the account allows bulk email sent through campaigns. If Do Not Allow is selected, the account can be added to marketing lists, but is excluded from email. - /// Display Name: Do not allow Bulk Emails - /// - [AttributeLogicalName("donotbulkemail")] - [DisplayName("Do not allow Bulk Emails")] - public bool? DoNotBulkEMail { - get { - return GetAttributeValue("donotbulkemail"); - } - set { - SetAttributeValue("donotbulkemail", value); - } - } - - /// - /// Select whether the account allows bulk postal mail sent through marketing campaigns or quick campaigns. If Do Not Allow is selected, the account can be added to marketing lists, but will be excluded from the postal mail. - /// Display Name: Do not allow Bulk Mails - /// - [AttributeLogicalName("donotbulkpostalmail")] - [DisplayName("Do not allow Bulk Mails")] - public bool? DoNotBulkPostalMail { - get { - return GetAttributeValue("donotbulkpostalmail"); - } - set { - SetAttributeValue("donotbulkpostalmail", value); - } - } - - /// - /// Select whether the account allows direct email sent from Microsoft Dynamics 365. - /// Display Name: Do not allow Emails - /// - [AttributeLogicalName("donotemail")] - [DisplayName("Do not allow Emails")] - public bool? DoNotEMail { - get { - return GetAttributeValue("donotemail"); - } - set { - SetAttributeValue("donotemail", value); - } - } - - /// - /// Select whether the account allows faxes. If Do Not Allow is selected, the account will be excluded from fax activities distributed in marketing campaigns. - /// Display Name: Do not allow Faxes - /// - [AttributeLogicalName("donotfax")] - [DisplayName("Do not allow Faxes")] - public bool? DoNotFax { - get { - return GetAttributeValue("donotfax"); - } - set { - SetAttributeValue("donotfax", value); - } - } - - /// - /// Select whether the account allows phone calls. If Do Not Allow is selected, the account will be excluded from phone call activities distributed in marketing campaigns. - /// Display Name: Do not allow Phone Calls - /// - [AttributeLogicalName("donotphone")] - [DisplayName("Do not allow Phone Calls")] - public bool? DoNotPhone { - get { - return GetAttributeValue("donotphone"); - } - set { - SetAttributeValue("donotphone", value); - } - } - - /// - /// Select whether the account allows direct mail. If Do Not Allow is selected, the account will be excluded from letter activities distributed in marketing campaigns. - /// Display Name: Do not allow Mails - /// - [AttributeLogicalName("donotpostalmail")] - [DisplayName("Do not allow Mails")] - public bool? DoNotPostalMail { - get { - return GetAttributeValue("donotpostalmail"); - } - set { - SetAttributeValue("donotpostalmail", value); - } - } - - /// - /// Select whether the account accepts marketing materials, such as brochures or catalogs. - /// Display Name: Send Marketing Materials - /// - [AttributeLogicalName("donotsendmm")] - [DisplayName("Send Marketing Materials")] - public bool? DoNotSendMM { - get { - return GetAttributeValue("donotsendmm"); - } - set { - SetAttributeValue("donotsendmm", value); - } - } - - /// - /// Type the primary email address for the account. - /// Display Name: Email - /// - [AttributeLogicalName("emailaddress1")] - [DisplayName("Email")] - [MaxLength(100)] - public string EMailAddress1 { - get { - return GetAttributeValue("emailaddress1"); - } - set { - SetAttributeValue("emailaddress1", value); - } - } - - /// - /// Type the secondary email address for the account. - /// Display Name: Email Address 2 - /// - [AttributeLogicalName("emailaddress2")] - [DisplayName("Email Address 2")] - [MaxLength(100)] - public string EMailAddress2 { - get { - return GetAttributeValue("emailaddress2"); - } - set { - SetAttributeValue("emailaddress2", value); - } - } - - /// - /// Type an alternate email address for the account. - /// Display Name: Email Address 3 - /// - [AttributeLogicalName("emailaddress3")] - [DisplayName("Email Address 3")] - [MaxLength(100)] - public string EMailAddress3 { - get { - return GetAttributeValue("emailaddress3"); - } - set { - SetAttributeValue("emailaddress3", value); - } - } - - /// - /// For internal use only. - /// Display Name: Entity Image Id - /// - [AttributeLogicalName("entityimageid")] - [DisplayName("Entity Image Id")] - public Guid? EntityImageId { - get { - return GetAttributeValue("entityimageid"); - } - } - - /// - /// Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency. - /// Display Name: Exchange Rate - /// - [AttributeLogicalName("exchangerate")] - [DisplayName("Exchange Rate")] - public decimal? ExchangeRate { - get { - return GetAttributeValue("exchangerate"); - } - } - - /// - /// Type the fax number for the account. - /// Display Name: Fax - /// - [AttributeLogicalName("fax")] - [DisplayName("Fax")] - [MaxLength(50)] - public string Fax { - get { - return GetAttributeValue("fax"); - } - set { - SetAttributeValue("fax", value); - } - } - - /// - /// Information about whether to allow following email activity like opens, attachment views and link clicks for emails sent to the account. - /// Display Name: Follow Email Activity - /// - [AttributeLogicalName("followemail")] - [DisplayName("Follow Email Activity")] - public bool? FollowEmail { - get { - return GetAttributeValue("followemail"); - } - set { - SetAttributeValue("followemail", value); - } - } - - /// - /// Type the URL for the account's FTP site to enable users to access data and share documents. - /// Display Name: FTP Site - /// - [AttributeLogicalName("ftpsiteurl")] - [DisplayName("FTP Site")] - [MaxLength(200)] - public string FtpSiteURL { - get { - return GetAttributeValue("ftpsiteurl"); - } - set { - SetAttributeValue("ftpsiteurl", value); - } - } - - /// - /// Unique identifier of the data import or data migration that created this record. - /// Display Name: Import Sequence Number - /// - [AttributeLogicalName("importsequencenumber")] - [DisplayName("Import Sequence Number")] - [Range(-2147483648, 2147483647)] - public int? ImportSequenceNumber { - get { - return GetAttributeValue("importsequencenumber"); - } - set { - SetAttributeValue("importsequencenumber", value); - } - } - - /// - /// Select the account's primary industry for use in marketing segmentation and demographic analysis. - /// Display Name: Industry - /// - [AttributeLogicalName("industrycode")] - [DisplayName("Industry")] - public Account_IndustryCode? IndustryCode { - get { - return GetOptionSetValue("industrycode"); - } - set { - SetOptionSetValue("industrycode", value); - } - } - - /// - /// Contains the date and time stamp of the last on hold time. - /// Display Name: Last On Hold Time - /// - [AttributeLogicalName("lastonholdtime")] - [DisplayName("Last On Hold Time")] - public DateTime? LastOnHoldTime { - get { - return GetAttributeValue("lastonholdtime"); - } - set { - SetAttributeValue("lastonholdtime", value); - } - } - - /// - /// Shows the date when the account was last included in a marketing campaign or quick campaign. - /// Display Name: Last Date Included in Campaign - /// - [AttributeLogicalName("lastusedincampaign")] - [DisplayName("Last Date Included in Campaign")] - public DateTime? LastUsedInCampaign { - get { - return GetAttributeValue("lastusedincampaign"); - } - set { - SetAttributeValue("lastusedincampaign", value); - } - } - - /// - /// Type the market capitalization of the account to identify the company's equity, used as an indicator in financial performance analysis. - /// Display Name: Market Capitalization - /// - [AttributeLogicalName("marketcap")] - [DisplayName("Market Capitalization")] - public decimal? MarketCap { - get { - return GetMoneyValue("marketcap"); - } - set { - SetMoneyValue("marketcap", value); - } - } - - /// - /// Shows the market capitalization converted to the system's default base currency. - /// Display Name: Market Capitalization (Base) - /// - [AttributeLogicalName("marketcap_base")] - [DisplayName("Market Capitalization (Base)")] - public decimal? MarketCap_Base { - get { - return GetMoneyValue("marketcap_base"); - } - } - - /// - /// Whether is only for marketing - /// Display Name: Marketing Only - /// - [AttributeLogicalName("marketingonly")] - [DisplayName("Marketing Only")] - public bool? MarketingOnly { - get { - return GetAttributeValue("marketingonly"); - } - set { - SetAttributeValue("marketingonly", value); - } - } - - /// - /// Shows the master account that the account was merged with. - /// Display Name: Master ID - /// - [AttributeLogicalName("masterid")] - [DisplayName("Master ID")] - public EntityReference MasterId { - get { - return GetAttributeValue("masterid"); - } - } - - /// - /// Shows whether the account has been merged with another account. - /// Display Name: Merged - /// - [AttributeLogicalName("merged")] - [DisplayName("Merged")] - public bool? Merged { - get { - return GetAttributeValue("merged"); - } - } - - /// - /// Shows who last updated the record. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Shows the external party who modified the record. - /// Display Name: Modified By (External Party) - /// - [AttributeLogicalName("modifiedbyexternalparty")] - [DisplayName("Modified By (External Party)")] - public EntityReference ModifiedByExternalParty { - get { - return GetAttributeValue("modifiedbyexternalparty"); - } - } - - /// - /// Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Shows who created the record on behalf of another user. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Type the company or business name. - /// Display Name: Account Name - /// - [AttributeLogicalName("name")] - [DisplayName("Account Name")] - [MaxLength(160)] - public string Name { - get { - return GetAttributeValue("name"); - } - set { - SetAttributeValue("name", value); - } - } - - /// - /// Type the number of employees that work at the account for use in marketing segmentation and demographic analysis. - /// Display Name: Number of Employees - /// - [AttributeLogicalName("numberofemployees")] - [DisplayName("Number of Employees")] - [Range(0, 1000000000)] - public int? NumberOfEmployees { - get { - return GetAttributeValue("numberofemployees"); - } - set { - SetAttributeValue("numberofemployees", value); - } - } - - /// - /// Shows how long, in minutes, that the record was on hold. - /// Display Name: On Hold Time (Minutes) - /// - [AttributeLogicalName("onholdtime")] - [DisplayName("On Hold Time (Minutes)")] - [Range(-2147483648, 2147483647)] - public int? OnHoldTime { - get { - return GetAttributeValue("onholdtime"); - } - } - - /// - /// Date and time that the record was migrated. - /// Display Name: Record Created On - /// - [AttributeLogicalName("overriddencreatedon")] - [DisplayName("Record Created On")] - public DateTime? OverriddenCreatedOn { - get { - return GetAttributeValue("overriddencreatedon"); - } - set { - SetAttributeValue("overriddencreatedon", value); - } - } - - /// - /// Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user. - /// Display Name: Owner - /// - [AttributeLogicalName("ownerid")] - [DisplayName("Owner")] - public EntityReference OwnerId { - get { - return GetAttributeValue("ownerid"); - } - set { - SetAttributeValue("ownerid", value); - } - } - - /// - /// Select the account's ownership structure, such as public or private. - /// Display Name: Ownership - /// - [AttributeLogicalName("ownershipcode")] - [DisplayName("Ownership")] - public Account_OwnershipCode? OwnershipCode { - get { - return GetOptionSetValue("ownershipcode"); - } - set { - SetOptionSetValue("ownershipcode", value); - } - } - - /// - /// Shows the business unit that the record owner belongs to. - /// Display Name: Owning Business Unit - /// - [AttributeLogicalName("owningbusinessunit")] - [DisplayName("Owning Business Unit")] - public EntityReference OwningBusinessUnit { - get { - return GetAttributeValue("owningbusinessunit"); - } - } - - /// - /// Unique identifier of the team who owns the account. - /// Display Name: Owning Team - /// - [AttributeLogicalName("owningteam")] - [DisplayName("Owning Team")] - public EntityReference OwningTeam { - get { - return GetAttributeValue("owningteam"); - } - } - - /// - /// Unique identifier of the user who owns the account. - /// Display Name: Owning User - /// - [AttributeLogicalName("owninguser")] - [DisplayName("Owning User")] - public EntityReference OwningUser { - get { - return GetAttributeValue("owninguser"); - } - } - - /// - /// Choose the parent account associated with this account to show parent and child businesses in reporting and analytics. - /// Display Name: Parent Account - /// - [AttributeLogicalName("parentaccountid")] - [DisplayName("Parent Account")] - public EntityReference ParentAccountId { - get { - return GetAttributeValue("parentaccountid"); - } - set { - SetAttributeValue("parentaccountid", value); - } - } - - /// - /// For system use only. Legacy Microsoft Dynamics CRM 3.0 workflow data. - /// Display Name: Participates in Workflow - /// - [AttributeLogicalName("participatesinworkflow")] - [DisplayName("Participates in Workflow")] - public bool? ParticipatesInWorkflow { - get { - return GetAttributeValue("participatesinworkflow"); - } - set { - SetAttributeValue("participatesinworkflow", value); - } - } - - /// - /// Select the payment terms to indicate when the customer needs to pay the total amount. - /// Display Name: Payment Terms - /// - [AttributeLogicalName("paymenttermscode")] - [DisplayName("Payment Terms")] - public Account_PaymentTermsCode? PaymentTermsCode { - get { - return GetOptionSetValue("paymenttermscode"); - } - set { - SetOptionSetValue("paymenttermscode", value); - } - } - - /// - /// Select the preferred day of the week for service appointments. - /// Display Name: Preferred Day - /// - [AttributeLogicalName("preferredappointmentdaycode")] - [DisplayName("Preferred Day")] - public Account_PreferredAppointmentDayCode? PreferredAppointmentDayCode { - get { - return GetOptionSetValue("preferredappointmentdaycode"); - } - set { - SetOptionSetValue("preferredappointmentdaycode", value); - } - } - - /// - /// Select the preferred time of day for service appointments. - /// Display Name: Preferred Time - /// - [AttributeLogicalName("preferredappointmenttimecode")] - [DisplayName("Preferred Time")] - public Account_PreferredAppointmentTimeCode? PreferredAppointmentTimeCode { - get { - return GetOptionSetValue("preferredappointmenttimecode"); - } - set { - SetOptionSetValue("preferredappointmenttimecode", value); - } - } - - /// - /// Select the preferred method of contact. - /// Display Name: Preferred Method of Contact - /// - [AttributeLogicalName("preferredcontactmethodcode")] - [DisplayName("Preferred Method of Contact")] - public Account_PreferredContactMethodCode? PreferredContactMethodCode { - get { - return GetOptionSetValue("preferredcontactmethodcode"); - } - set { - SetOptionSetValue("preferredcontactmethodcode", value); - } - } - - /// - /// Choose the preferred service representative for reference when you schedule service activities for the account. - /// Display Name: Preferred User - /// - [AttributeLogicalName("preferredsystemuserid")] - [DisplayName("Preferred User")] - public EntityReference PreferredSystemUserId { - get { - return GetAttributeValue("preferredsystemuserid"); - } - set { - SetAttributeValue("preferredsystemuserid", value); - } - } - - /// - /// Choose the primary contact for the account to provide quick access to contact details. - /// Display Name: Primary Contact - /// - [AttributeLogicalName("primarycontactid")] - [DisplayName("Primary Contact")] - public EntityReference PrimaryContactId { - get { - return GetAttributeValue("primarycontactid"); - } - set { - SetAttributeValue("primarycontactid", value); - } - } - - /// - /// Type the company or business name. - /// Display Name: Account Name - /// - [AttributeLogicalName("name")] - [DisplayName("Account Name")] - [MaxLength(160)] - public string PrimaryNameField { - get { - return GetAttributeValue("name"); - } - set { - SetAttributeValue("name", value); - } - } - - /// - /// Primary Satori ID for Account - /// Display Name: Primary Satori ID - /// - [AttributeLogicalName("primarysatoriid")] - [DisplayName("Primary Satori ID")] - [MaxLength(200)] - public string PrimarySatoriId { - get { - return GetAttributeValue("primarysatoriid"); - } - set { - SetAttributeValue("primarysatoriid", value); - } - } - - /// - /// Primary Twitter ID for Account - /// Display Name: Primary Twitter ID - /// - [AttributeLogicalName("primarytwitterid")] - [DisplayName("Primary Twitter ID")] - [MaxLength(128)] - public string PrimaryTwitterId { - get { - return GetAttributeValue("primarytwitterid"); - } - set { - SetAttributeValue("primarytwitterid", value); - } - } - - /// - /// Shows the ID of the process. - /// Display Name: Process - /// - [AttributeLogicalName("processid")] - [DisplayName("Process")] - public Guid? ProcessId { - get { - return GetAttributeValue("processid"); - } - set { - SetAttributeValue("processid", value); - } - } - - /// - /// Type the annual revenue for the account, used as an indicator in financial performance analysis. - /// Display Name: Annual Revenue - /// - [AttributeLogicalName("revenue")] - [DisplayName("Annual Revenue")] - public decimal? Revenue { - get { - return GetMoneyValue("revenue"); - } - set { - SetMoneyValue("revenue", value); - } - } - - /// - /// Shows the annual revenue converted to the system's default base currency. The calculations use the exchange rate specified in the Currencies area. - /// Display Name: Annual Revenue (Base) - /// - [AttributeLogicalName("revenue_base")] - [DisplayName("Annual Revenue (Base)")] - public decimal? Revenue_Base { - get { - return GetMoneyValue("revenue_base"); - } - } - - /// - /// Type the Standard Industrial Classification (SIC) code that indicates the account's primary industry of business, for use in marketing segmentation and demographic analysis. - /// Display Name: SIC Code - /// - [AttributeLogicalName("sic")] - [DisplayName("SIC Code")] - [MaxLength(20)] - public string SIC { - get { - return GetAttributeValue("sic"); - } - set { - SetAttributeValue("sic", value); - } - } - - /// - /// Choose the service level agreement (SLA) that you want to apply to the Account record. - /// Display Name: SLA - /// - [AttributeLogicalName("slaid")] - [DisplayName("SLA")] - public EntityReference SLAId { - get { - return GetAttributeValue("slaid"); - } - set { - SetAttributeValue("slaid", value); - } - } - - /// - /// Last SLA that was applied to this case. This field is for internal use only. - /// Display Name: Last SLA applied - /// - [AttributeLogicalName("slainvokedid")] - [DisplayName("Last SLA applied")] - public EntityReference SLAInvokedId { - get { - return GetAttributeValue("slainvokedid"); - } - } - - /// - /// Type the number of shares available to the public for the account. This number is used as an indicator in financial performance analysis. - /// Display Name: Shares Outstanding - /// - [AttributeLogicalName("sharesoutstanding")] - [DisplayName("Shares Outstanding")] - [Range(0, 1000000000)] - public int? SharesOutstanding { - get { - return GetAttributeValue("sharesoutstanding"); - } - set { - SetAttributeValue("sharesoutstanding", value); - } - } - - /// - /// Select a shipping method for deliveries sent to the account's address to designate the preferred carrier or other delivery option. - /// Display Name: Shipping Method - /// - [AttributeLogicalName("shippingmethodcode")] - [DisplayName("Shipping Method")] - public Account_ShippingMethodCode? ShippingMethodCode { - get { - return GetOptionSetValue("shippingmethodcode"); - } - set { - SetOptionSetValue("shippingmethodcode", value); - } - } - - /// - /// Shows the ID of the stage. - /// Display Name: (Deprecated) Process Stage - /// - [AttributeLogicalName("stageid")] - [DisplayName("(Deprecated) Process Stage")] - public Guid? StageId { - get { - return GetAttributeValue("stageid"); - } - set { - SetAttributeValue("stageid", value); - } - } - - /// - /// Shows whether the account is active or inactive. Inactive accounts are read-only and can't be edited unless they are reactivated. - /// Display Name: Status - /// - [AttributeLogicalName("statecode")] - [DisplayName("Status")] - public AccountState? StateCode { - get { - return GetOptionSetValue("statecode"); - } - set { - SetOptionSetValue("statecode", value); - } - } - - /// - /// Select the account's status. - /// Display Name: Status Reason - /// - [AttributeLogicalName("statuscode")] - [DisplayName("Status Reason")] - public Account_StatusCode? StatusCode { - get { - return GetOptionSetValue("statuscode"); - } - set { - SetOptionSetValue("statuscode", value); - } - } - - /// - /// Type the stock exchange at which the account is listed to track their stock and financial performance of the company. - /// Display Name: Stock Exchange - /// - [AttributeLogicalName("stockexchange")] - [DisplayName("Stock Exchange")] - [MaxLength(20)] - public string StockExchange { - get { - return GetAttributeValue("stockexchange"); - } - set { - SetAttributeValue("stockexchange", value); - } - } - - /// - /// Type the main phone number for this account. - /// Display Name: Main Phone - /// - [AttributeLogicalName("telephone1")] - [DisplayName("Main Phone")] - [MaxLength(50)] - public string Telephone1 { - get { - return GetAttributeValue("telephone1"); - } - set { - SetAttributeValue("telephone1", value); - } - } - - /// - /// Type a second phone number for this account. - /// Display Name: Other Phone - /// - [AttributeLogicalName("telephone2")] - [DisplayName("Other Phone")] - [MaxLength(50)] - public string Telephone2 { - get { - return GetAttributeValue("telephone2"); - } - set { - SetAttributeValue("telephone2", value); - } - } - - /// - /// Type a third phone number for this account. - /// Display Name: Telephone 3 - /// - [AttributeLogicalName("telephone3")] - [DisplayName("Telephone 3")] - [MaxLength(50)] - public string Telephone3 { - get { - return GetAttributeValue("telephone3"); - } - set { - SetAttributeValue("telephone3", value); - } - } - - /// - /// Select a region or territory for the account for use in segmentation and analysis. - /// Display Name: Territory Code - /// - [AttributeLogicalName("territorycode")] - [DisplayName("Territory Code")] - public Account_TerritoryCode? TerritoryCode { - get { - return GetOptionSetValue("territorycode"); - } - set { - SetOptionSetValue("territorycode", value); - } - } - - /// - /// Type the stock exchange symbol for the account to track financial performance of the company. You can click the code entered in this field to access the latest trading information from MSN Money. - /// Display Name: Ticker Symbol - /// - [AttributeLogicalName("tickersymbol")] - [DisplayName("Ticker Symbol")] - [MaxLength(10)] - public string TickerSymbol { - get { - return GetAttributeValue("tickersymbol"); - } - set { - SetAttributeValue("tickersymbol", value); - } - } - - /// - /// Total time spent for emails (read and write) and meetings by me in relation to account record. - /// Display Name: Time Spent by me - /// - [AttributeLogicalName("timespentbymeonemailandmeetings")] - [DisplayName("Time Spent by me")] - [MaxLength(1250)] - public string TimeSpentByMeOnEmailAndMeetings { - get { - return GetAttributeValue("timespentbymeonemailandmeetings"); - } - } - - /// - /// For internal use only. - /// Display Name: Time Zone Rule Version Number - /// - [AttributeLogicalName("timezoneruleversionnumber")] - [DisplayName("Time Zone Rule Version Number")] - [Range(-1, 2147483647)] - public int? TimeZoneRuleVersionNumber { - get { - return GetAttributeValue("timezoneruleversionnumber"); - } - set { - SetAttributeValue("timezoneruleversionnumber", value); - } - } - - /// - /// Choose the local currency for the record to make sure budgets are reported in the correct currency. - /// Display Name: Currency - /// - [AttributeLogicalName("transactioncurrencyid")] - [DisplayName("Currency")] - public EntityReference TransactionCurrencyId { - get { - return GetAttributeValue("transactioncurrencyid"); - } - set { - SetAttributeValue("transactioncurrencyid", value); - } - } - - /// - /// For internal use only. - /// Display Name: (Deprecated) Traversed Path - /// - [AttributeLogicalName("traversedpath")] - [DisplayName("(Deprecated) Traversed Path")] - [MaxLength(1250)] - public string TraversedPath { - get { - return GetAttributeValue("traversedpath"); - } - set { - SetAttributeValue("traversedpath", value); - } - } - - /// - /// Time zone code that was in use when the record was created. - /// Display Name: UTC Conversion Time Zone Code - /// - [AttributeLogicalName("utcconversiontimezonecode")] - [DisplayName("UTC Conversion Time Zone Code")] - [Range(-1, 2147483647)] - public int? UTCConversionTimeZoneCode { - get { - return GetAttributeValue("utcconversiontimezonecode"); - } - set { - SetAttributeValue("utcconversiontimezonecode", value); - } - } - - /// - /// Version number of the account. - /// Display Name: Version Number - /// - [AttributeLogicalName("versionnumber")] - [DisplayName("Version Number")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - /// - /// Type the account's website URL to get quick details about the company profile. - /// Display Name: Website - /// - [AttributeLogicalName("websiteurl")] - [DisplayName("Website")] - [MaxLength(200)] - public string WebSiteURL { - get { - return GetAttributeValue("websiteurl"); - } - set { - SetAttributeValue("websiteurl", value); - } - } - - /// - /// Type the phonetic spelling of the company name, if specified in Japanese, to make sure the name is pronounced correctly in phone calls and other communications. - /// Display Name: Yomi Account Name - /// - [AttributeLogicalName("yominame")] - [DisplayName("Yomi Account Name")] - [MaxLength(160)] - public string YomiName { - get { - return GetAttributeValue("yominame"); - } - set { - SetAttributeValue("yominame", value); - } - } - - /// - /// Unique identifier for Account associated with Account. - /// Display Name: Managing Partner - /// - [AttributeLogicalName("msa_managingpartnerid")] - [DisplayName("Managing Partner")] - public EntityReference msa_managingpartnerid { - get { - return GetAttributeValue("msa_managingpartnerid"); - } - set { - SetAttributeValue("msa_managingpartnerid", value); - } - } - - [RelationshipSchemaName("Account_Annotation")] - public IEnumerable Account_Annotation { - get { - return GetRelatedEntities("Account_Annotation", null); - } - set { - SetRelatedEntities("Account_Annotation", null, value); - } - } - - [RelationshipSchemaName("Account_Tasks")] - public IEnumerable Account_Tasks { - get { - return GetRelatedEntities("Account_Tasks", null); - } - set { - SetRelatedEntities("Account_Tasks", null, value); - } - } - - [RelationshipSchemaName("account_master_account", EntityRole.Referenced)] - public IEnumerable Referencedaccount_master_account { - get { - return GetRelatedEntities("account_master_account", EntityRole.Referenced); - } - set { - SetRelatedEntities("account_master_account", EntityRole.Referenced, value); - } - } - - [RelationshipSchemaName("account_parent_account", EntityRole.Referenced)] - public IEnumerable Referencedaccount_parent_account { - get { - return GetRelatedEntities("account_parent_account", EntityRole.Referenced); - } - set { - SetRelatedEntities("account_parent_account", EntityRole.Referenced, value); - } - } - - [RelationshipSchemaName("msa_account_managingpartner", EntityRole.Referenced)] - public IEnumerable Referencedmsa_account_managingpartner { - get { - return GetRelatedEntities("msa_account_managingpartner", EntityRole.Referenced); - } - set { - SetRelatedEntities("msa_account_managingpartner", EntityRole.Referenced, value); - } - } - - [AttributeLogicalName("masterid")] - [RelationshipSchemaName("account_master_account", EntityRole.Referencing)] - public Account Referencingaccount_master_account { - get { - return GetRelatedEntity("account_master_account", EntityRole.Referencing); - } - set { - SetRelatedEntity("account_master_account", EntityRole.Referencing, value); - } - } - - [AttributeLogicalName("parentaccountid")] - [RelationshipSchemaName("account_parent_account", EntityRole.Referencing)] - public Account Referencingaccount_parent_account { - get { - return GetRelatedEntity("account_parent_account", EntityRole.Referencing); - } - set { - SetRelatedEntity("account_parent_account", EntityRole.Referencing, value); - } - } - - [AttributeLogicalName("msa_managingpartnerid")] - [RelationshipSchemaName("msa_account_managingpartner", EntityRole.Referencing)] - public Account Referencingmsa_account_managingpartner { - get { - return GetRelatedEntity("msa_account_managingpartner", EntityRole.Referencing); - } - set { - SetRelatedEntity("msa_account_managingpartner", EntityRole.Referencing, value); - } - } - - [AttributeLogicalName("primarycontactid")] - [RelationshipSchemaName("account_primary_contact")] - public Contact account_primary_contact { - get { - return GetRelatedEntity("account_primary_contact", null); - } - set { - SetRelatedEntity("account_primary_contact", null, value); - } - } - - [RelationshipSchemaName("contact_customer_accounts")] - public IEnumerable contact_customer_accounts { - get { - return GetRelatedEntities("contact_customer_accounts", null); - } - set { - SetRelatedEntities("contact_customer_accounts", null, value); - } - } - - [RelationshipSchemaName("ctx_account_ctx_invoice_112")] - public IEnumerable ctx_account_ctx_invoice_112 { - get { - return GetRelatedEntities("ctx_account_ctx_invoice_112", null); - } - set { - SetRelatedEntities("ctx_account_ctx_invoice_112", null, value); - } - } - - [RelationshipSchemaName("ctx_account_ctx_subscription_367")] - public IEnumerable ctx_account_ctx_subscription_367 { - get { - return GetRelatedEntities("ctx_account_ctx_subscription_367", null); - } - set { - SetRelatedEntities("ctx_account_ctx_subscription_367", null, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_accountbase_createdby")] - public SystemUser lk_accountbase_createdby { - get { - return GetRelatedEntity("lk_accountbase_createdby", null); - } - set { - SetRelatedEntity("lk_accountbase_createdby", null, value); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_accountbase_createdonbehalfby")] - public SystemUser lk_accountbase_createdonbehalfby { - get { - return GetRelatedEntity("lk_accountbase_createdonbehalfby", null); - } - set { - SetRelatedEntity("lk_accountbase_createdonbehalfby", null, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_accountbase_modifiedby")] - public SystemUser lk_accountbase_modifiedby { - get { - return GetRelatedEntity("lk_accountbase_modifiedby", null); - } - set { - SetRelatedEntity("lk_accountbase_modifiedby", null, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_accountbase_modifiedonbehalfby")] - public SystemUser lk_accountbase_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_accountbase_modifiedonbehalfby", null); - } - set { - SetRelatedEntity("lk_accountbase_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("msa_contact_managingpartner")] - public IEnumerable msa_contact_managingpartner { - get { - return GetRelatedEntities("msa_contact_managingpartner", null); - } - set { - SetRelatedEntities("msa_contact_managingpartner", null, value); - } - } - - [AttributeLogicalName("preferredsystemuserid")] - [RelationshipSchemaName("system_user_accounts")] - public SystemUser system_user_accounts { - get { - return GetRelatedEntity("system_user_accounts", null); - } - set { - SetRelatedEntity("system_user_accounts", null, value); - } - } - - [AttributeLogicalName("owninguser")] - [RelationshipSchemaName("user_accounts")] - public SystemUser user_accounts { - get { - return GetRelatedEntity("user_accounts", null); - } - set { - SetRelatedEntity("user_accounts", null, value); - } - } - - public static Account Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - } - - /// - /// Note that is attached to one or more objects, including other notes. - /// Display Name: Note - /// - [EntityLogicalName("annotation")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class Annotation : ExtendedEntity { - - public const string EntityLogicalName = "annotation"; - - public const int EntityTypeCode = 5; - - public Annotation() : - base(EntityLogicalName) { - } - - public Annotation(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("subject"); - } - } - - [AttributeLogicalName("annotationid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("annotationid", value); - } - } - - /// - /// Unique identifier of the note. - /// Display Name: Note - /// - [AttributeLogicalName("annotationid")] - [DisplayName("Note")] - public Guid? AnnotationId { - get { - return GetAttributeValue("annotationid"); - } - set { - SetId("annotationid", value); - } - } - - /// - /// Unique identifier of the user who created the note. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Date and time when the note was created. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Unique identifier of the delegate user who created the annotation. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Contents of the note's attachment. - /// Display Name: Document - /// - [AttributeLogicalName("documentbody")] - [DisplayName("Document")] - [MaxLength(1073741823)] - public string DocumentBody { - get { - return GetAttributeValue("documentbody"); - } - set { - SetAttributeValue("documentbody", value); - } - } - - /// - /// File name of the note. - /// Display Name: File Name - /// - [AttributeLogicalName("filename")] - [DisplayName("File Name")] - [MaxLength(255)] - public string FileName { - get { - return GetAttributeValue("filename"); - } - set { - SetAttributeValue("filename", value); - } - } - - /// - /// File size of the note. - /// Display Name: File Size (Bytes) - /// - [AttributeLogicalName("filesize")] - [DisplayName("File Size (Bytes)")] - [Range(0, 1000000000)] - public int? FileSize { - get { - return GetAttributeValue("filesize"); - } - } - - /// - /// Unique identifier of the data import or data migration that created this record. - /// Display Name: Import Sequence Number - /// - [AttributeLogicalName("importsequencenumber")] - [DisplayName("Import Sequence Number")] - [Range(-2147483648, 2147483647)] - public int? ImportSequenceNumber { - get { - return GetAttributeValue("importsequencenumber"); - } - set { - SetAttributeValue("importsequencenumber", value); - } - } - - /// - /// Specifies whether the note is an attachment. - /// Display Name: Is Document - /// - [AttributeLogicalName("isdocument")] - [DisplayName("Is Document")] - public bool? IsDocument { - get { - return GetAttributeValue("isdocument"); - } - set { - SetAttributeValue("isdocument", value); - } - } - - /// - /// Language identifier for the note. - /// Display Name: Language ID - /// - [AttributeLogicalName("langid")] - [DisplayName("Language ID")] - [MaxLength(2)] - public string LangId { - get { - return GetAttributeValue("langid"); - } - set { - SetAttributeValue("langid", value); - } - } - - /// - /// MIME type of the note's attachment. - /// Display Name: Mime Type - /// - [AttributeLogicalName("mimetype")] - [DisplayName("Mime Type")] - [MaxLength(256)] - public string MimeType { - get { - return GetAttributeValue("mimetype"); - } - set { - SetAttributeValue("mimetype", value); - } - } - - /// - /// Unique identifier of the user who last modified the note. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Date and time when the note was last modified. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Unique identifier of the delegate user who last modified the annotation. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Text of the note. - /// Display Name: Description - /// - [AttributeLogicalName("notetext")] - [DisplayName("Description")] - public string NoteText { - get { - return GetAttributeValue("notetext"); - } - set { - SetAttributeValue("notetext", value); - } - } - - /// - /// Unique identifier of the object with which the note is associated. - /// Display Name: Regarding - /// - [AttributeLogicalName("objectid")] - [DisplayName("Regarding")] - public EntityReference ObjectId { - get { - return GetAttributeValue("objectid"); - } - set { - SetAttributeValue("objectid", value); - } - } - - /// - /// Type of entity with which the note is associated. - /// Display Name: Object Type - /// - [AttributeLogicalName("objecttypecode")] - [DisplayName("Object Type ")] - public string ObjectTypeCode { - get { - return GetAttributeValue("objecttypecode"); - } - set { - SetAttributeValue("objecttypecode", value); - } - } - - /// - /// Date and time that the record was migrated. - /// Display Name: Record Created On - /// - [AttributeLogicalName("overriddencreatedon")] - [DisplayName("Record Created On")] - public DateTime? OverriddenCreatedOn { - get { - return GetAttributeValue("overriddencreatedon"); - } - set { - SetAttributeValue("overriddencreatedon", value); - } - } - - /// - /// Unique identifier of the user or team who owns the note. - /// Display Name: Owner - /// - [AttributeLogicalName("ownerid")] - [DisplayName("Owner")] - public EntityReference OwnerId { - get { - return GetAttributeValue("ownerid"); - } - set { - SetAttributeValue("ownerid", value); - } - } - - /// - /// Unique identifier of the business unit that owns the note. - /// Display Name: Owning Business Unit - /// - [AttributeLogicalName("owningbusinessunit")] - [DisplayName("Owning Business Unit")] - public EntityReference OwningBusinessUnit { - get { - return GetAttributeValue("owningbusinessunit"); - } - } - - /// - /// Unique identifier of the team who owns the note. - /// Display Name: Owning Team - /// - [AttributeLogicalName("owningteam")] - [DisplayName("Owning Team")] - public EntityReference OwningTeam { - get { - return GetAttributeValue("owningteam"); - } - } - - /// - /// Unique identifier of the user who owns the note. - /// Display Name: Owning User - /// - [AttributeLogicalName("owninguser")] - [DisplayName("Owning User")] - public EntityReference OwningUser { - get { - return GetAttributeValue("owninguser"); - } - } - - /// - /// Prefix of the file pointer in blob storage. - /// Display Name: Prefix - /// - [AttributeLogicalName("prefix")] - [DisplayName("Prefix")] - [MaxLength(10)] - public string Prefix { - get { - return GetAttributeValue("prefix"); - } - } - - /// - /// Subject associated with the note. - /// Display Name: Title - /// - [AttributeLogicalName("subject")] - [DisplayName("Title")] - [MaxLength(500)] - public string PrimaryNameField { - get { - return GetAttributeValue("subject"); - } - set { - SetAttributeValue("subject", value); - } - } - - /// - /// workflow step id associated with the note. - /// Display Name: Step Id - /// - [AttributeLogicalName("stepid")] - [DisplayName("Step Id")] - [MaxLength(32)] - public string StepId { - get { - return GetAttributeValue("stepid"); - } - set { - SetAttributeValue("stepid", value); - } - } - - /// - /// Subject associated with the note. - /// Display Name: Title - /// - [AttributeLogicalName("subject")] - [DisplayName("Title")] - [MaxLength(500)] - public string Subject { - get { - return GetAttributeValue("subject"); - } - set { - SetAttributeValue("subject", value); - } - } - - /// - /// Version number of the note. - /// Display Name: Version Number - /// - [AttributeLogicalName("versionnumber")] - [DisplayName("Version Number")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - [AttributeLogicalName("objectid")] - [RelationshipSchemaName("Account_Annotation")] - public Account Account_Annotation { - get { - return GetRelatedEntity("Account_Annotation", null); - } - set { - SetRelatedEntity("Account_Annotation", null, value); - } - } - - [AttributeLogicalName("objectid")] - [RelationshipSchemaName("Contact_Annotation")] - public Contact Contact_Annotation { - get { - return GetRelatedEntity("Contact_Annotation", null); - } - set { - SetRelatedEntity("Contact_Annotation", null, value); - } - } - - [AttributeLogicalName("objectid")] - [RelationshipSchemaName("DuplicateRule_Annotation")] - public DuplicateRule DuplicateRule_Annotation { - get { - return GetRelatedEntity("DuplicateRule_Annotation", null); - } - set { - SetRelatedEntity("DuplicateRule_Annotation", null, value); - } - } - - [AttributeLogicalName("objectid")] - [RelationshipSchemaName("Task_Annotation")] - public Task Task_Annotation { - get { - return GetRelatedEntity("Task_Annotation", null); - } - set { - SetRelatedEntity("Task_Annotation", null, value); - } - } - - [AttributeLogicalName("owninguser")] - [RelationshipSchemaName("annotation_owning_user")] - public SystemUser annotation_owning_user { - get { - return GetRelatedEntity("annotation_owning_user", null); - } - set { - SetRelatedEntity("annotation_owning_user", null, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_annotationbase_createdby")] - public SystemUser lk_annotationbase_createdby { - get { - return GetRelatedEntity("lk_annotationbase_createdby", null); - } - set { - SetRelatedEntity("lk_annotationbase_createdby", null, value); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_annotationbase_createdonbehalfby")] - public SystemUser lk_annotationbase_createdonbehalfby { - get { - return GetRelatedEntity("lk_annotationbase_createdonbehalfby", null); - } - set { - SetRelatedEntity("lk_annotationbase_createdonbehalfby", null, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_annotationbase_modifiedby")] - public SystemUser lk_annotationbase_modifiedby { - get { - return GetRelatedEntity("lk_annotationbase_modifiedby", null); - } - set { - SetRelatedEntity("lk_annotationbase_modifiedby", null, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_annotationbase_modifiedonbehalfby")] - public SystemUser lk_annotationbase_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_annotationbase_modifiedonbehalfby", null); - } - set { - SetRelatedEntity("lk_annotationbase_modifiedonbehalfby", null, value); - } - } - - public static Annotation Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - } - - /// - /// Person with whom a business unit has a relationship, such as customer, supplier, and colleague. - /// Display Name: Contact - /// - [EntityLogicalName("contact")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class Contact : ExtendedEntity, ICustomer { - - public const string EntityLogicalName = "contact"; - - public const int EntityTypeCode = 2; - - public Contact() : - base(EntityLogicalName) { - } - - public Contact(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("fullname"); - } - } - - [AttributeLogicalName("contactid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("contactid", value); - } - } - - /// - /// Unique identifier of the contact. - /// Display Name: Contact - /// - [AttributeLogicalName("contactid")] - [DisplayName("Contact")] - public Guid? ContactId { - get { - return GetAttributeValue("contactid"); - } - set { - SetId("contactid", value); - } - } - - /// - /// Unique identifier of the account with which the contact is associated. - /// Display Name: Account - /// - [AttributeLogicalName("accountid")] - [DisplayName("Account")] - public EntityReference AccountId { - get { - return GetAttributeValue("accountid"); - } - } - - /// - /// Select the contact's role within the company or sales process, such as decision maker, employee, or influencer. - /// Display Name: Role - /// - [AttributeLogicalName("accountrolecode")] - [DisplayName("Role")] - public Contact_AccountRoleCode? AccountRoleCode { - get { - return GetOptionSetValue("accountrolecode"); - } - set { - SetOptionSetValue("accountrolecode", value); - } - } - - /// - /// Unique identifier for address 1. - /// Display Name: Address 1: ID - /// - [AttributeLogicalName("address1_addressid")] - [DisplayName("Address 1: ID")] - public Guid? Address1_AddressId { - get { - return GetAttributeValue("address1_addressid"); - } - set { - SetAttributeValue("address1_addressid", value); - } - } - - /// - /// Select the primary address type. - /// Display Name: Address 1: Address Type - /// - [AttributeLogicalName("address1_addresstypecode")] - [DisplayName("Address 1: Address Type")] - public Contact_Address1_AddressTypeCode? Address1_AddressTypeCode { - get { - return GetOptionSetValue("address1_addresstypecode"); - } - set { - SetOptionSetValue("address1_addresstypecode", value); - } - } - - /// - /// Type the city for the primary address. - /// Display Name: Address 1: City - /// - [AttributeLogicalName("address1_city")] - [DisplayName("Address 1: City")] - [MaxLength(80)] - public string Address1_City { - get { - return GetAttributeValue("address1_city"); - } - set { - SetAttributeValue("address1_city", value); - } - } - - /// - /// Shows the complete primary address. - /// Display Name: Address 1 - /// - [AttributeLogicalName("address1_composite")] - [DisplayName("Address 1")] - public string Address1_Composite { - get { - return GetAttributeValue("address1_composite"); - } - } - - /// - /// Type the country or region for the primary address. - /// Display Name: Address 1: Country/Region - /// - [AttributeLogicalName("address1_country")] - [DisplayName("Address 1: Country/Region")] - [MaxLength(80)] - public string Address1_Country { - get { - return GetAttributeValue("address1_country"); - } - set { - SetAttributeValue("address1_country", value); - } - } - - /// - /// Type the county for the primary address. - /// Display Name: Address 1: County - /// - [AttributeLogicalName("address1_county")] - [DisplayName("Address 1: County")] - [MaxLength(50)] - public string Address1_County { - get { - return GetAttributeValue("address1_county"); - } - set { - SetAttributeValue("address1_county", value); - } - } - - /// - /// Type the fax number associated with the primary address. - /// Display Name: Address 1: Fax - /// - [AttributeLogicalName("address1_fax")] - [DisplayName("Address 1: Fax")] - [MaxLength(50)] - public string Address1_Fax { - get { - return GetAttributeValue("address1_fax"); - } - set { - SetAttributeValue("address1_fax", value); - } - } - - /// - /// Select the freight terms for the primary address to make sure shipping orders are processed correctly. - /// Display Name: Address 1: Freight Terms - /// - [AttributeLogicalName("address1_freighttermscode")] - [DisplayName("Address 1: Freight Terms")] - public Contact_Address1_FreightTermsCode? Address1_FreightTermsCode { - get { - return GetOptionSetValue("address1_freighttermscode"); - } - set { - SetOptionSetValue("address1_freighttermscode", value); - } - } - - /// - /// Type the latitude value for the primary address for use in mapping and other applications. - /// Display Name: Address 1: Latitude - /// - [AttributeLogicalName("address1_latitude")] - [DisplayName("Address 1: Latitude")] - public double? Address1_Latitude { - get { - return GetAttributeValue("address1_latitude"); - } - set { - SetAttributeValue("address1_latitude", value); - } - } - - /// - /// Type the first line of the primary address. - /// Display Name: Address 1: Street 1 - /// - [AttributeLogicalName("address1_line1")] - [DisplayName("Address 1: Street 1")] - [MaxLength(250)] - public string Address1_Line1 { - get { - return GetAttributeValue("address1_line1"); - } - set { - SetAttributeValue("address1_line1", value); - } - } - - /// - /// Type the second line of the primary address. - /// Display Name: Address 1: Street 2 - /// - [AttributeLogicalName("address1_line2")] - [DisplayName("Address 1: Street 2")] - [MaxLength(250)] - public string Address1_Line2 { - get { - return GetAttributeValue("address1_line2"); - } - set { - SetAttributeValue("address1_line2", value); - } - } - - /// - /// Type the third line of the primary address. - /// Display Name: Address 1: Street 3 - /// - [AttributeLogicalName("address1_line3")] - [DisplayName("Address 1: Street 3")] - [MaxLength(250)] - public string Address1_Line3 { - get { - return GetAttributeValue("address1_line3"); - } - set { - SetAttributeValue("address1_line3", value); - } - } - - /// - /// Type the longitude value for the primary address for use in mapping and other applications. - /// Display Name: Address 1: Longitude - /// - [AttributeLogicalName("address1_longitude")] - [DisplayName("Address 1: Longitude")] - public double? Address1_Longitude { - get { - return GetAttributeValue("address1_longitude"); - } - set { - SetAttributeValue("address1_longitude", value); - } - } - - /// - /// Type a descriptive name for the primary address, such as Corporate Headquarters. - /// Display Name: Address 1: Name - /// - [AttributeLogicalName("address1_name")] - [DisplayName("Address 1: Name")] - [MaxLength(200)] - public string Address1_Name { - get { - return GetAttributeValue("address1_name"); - } - set { - SetAttributeValue("address1_name", value); - } - } - - /// - /// Type the post office box number of the primary address. - /// Display Name: Address 1: Post Office Box - /// - [AttributeLogicalName("address1_postofficebox")] - [DisplayName("Address 1: Post Office Box")] - [MaxLength(20)] - public string Address1_PostOfficeBox { - get { - return GetAttributeValue("address1_postofficebox"); - } - set { - SetAttributeValue("address1_postofficebox", value); - } - } - - /// - /// Type the ZIP Code or postal code for the primary address. - /// Display Name: Address 1: ZIP/Postal Code - /// - [AttributeLogicalName("address1_postalcode")] - [DisplayName("Address 1: ZIP/Postal Code")] - [MaxLength(20)] - public string Address1_PostalCode { - get { - return GetAttributeValue("address1_postalcode"); - } - set { - SetAttributeValue("address1_postalcode", value); - } - } - - /// - /// Type the name of the main contact at the account's primary address. - /// Display Name: Address 1: Primary Contact Name - /// - [AttributeLogicalName("address1_primarycontactname")] - [DisplayName("Address 1: Primary Contact Name")] - [MaxLength(100)] - public string Address1_PrimaryContactName { - get { - return GetAttributeValue("address1_primarycontactname"); - } - set { - SetAttributeValue("address1_primarycontactname", value); - } - } - - /// - /// Select a shipping method for deliveries sent to this address. - /// Display Name: Address 1: Shipping Method - /// - [AttributeLogicalName("address1_shippingmethodcode")] - [DisplayName("Address 1: Shipping Method")] - public Contact_Address1_ShippingMethodCode? Address1_ShippingMethodCode { - get { - return GetOptionSetValue("address1_shippingmethodcode"); - } - set { - SetOptionSetValue("address1_shippingmethodcode", value); - } - } - - /// - /// Type the state or province of the primary address. - /// Display Name: Address 1: State/Province - /// - [AttributeLogicalName("address1_stateorprovince")] - [DisplayName("Address 1: State/Province")] - [MaxLength(50)] - public string Address1_StateOrProvince { - get { - return GetAttributeValue("address1_stateorprovince"); - } - set { - SetAttributeValue("address1_stateorprovince", value); - } - } - - /// - /// Type the main phone number associated with the primary address. - /// Display Name: Address 1: Phone - /// - [AttributeLogicalName("address1_telephone1")] - [DisplayName("Address 1: Phone")] - [MaxLength(50)] - public string Address1_Telephone1 { - get { - return GetAttributeValue("address1_telephone1"); - } - set { - SetAttributeValue("address1_telephone1", value); - } - } - - /// - /// Type a second phone number associated with the primary address. - /// Display Name: Address 1: Telephone 2 - /// - [AttributeLogicalName("address1_telephone2")] - [DisplayName("Address 1: Telephone 2")] - [MaxLength(50)] - public string Address1_Telephone2 { - get { - return GetAttributeValue("address1_telephone2"); - } - set { - SetAttributeValue("address1_telephone2", value); - } - } - - /// - /// Type a third phone number associated with the primary address. - /// Display Name: Address 1: Telephone 3 - /// - [AttributeLogicalName("address1_telephone3")] - [DisplayName("Address 1: Telephone 3")] - [MaxLength(50)] - public string Address1_Telephone3 { - get { - return GetAttributeValue("address1_telephone3"); - } - set { - SetAttributeValue("address1_telephone3", value); - } - } - - /// - /// Type the UPS zone of the primary address to make sure shipping charges are calculated correctly and deliveries are made promptly, if shipped by UPS. - /// Display Name: Address 1: UPS Zone - /// - [AttributeLogicalName("address1_upszone")] - [DisplayName("Address 1: UPS Zone")] - [MaxLength(4)] - public string Address1_UPSZone { - get { - return GetAttributeValue("address1_upszone"); - } - set { - SetAttributeValue("address1_upszone", value); - } - } - - /// - /// Select the time zone, or UTC offset, for this address so that other people can reference it when they contact someone at this address. - /// Display Name: Address 1: UTC Offset - /// - [AttributeLogicalName("address1_utcoffset")] - [DisplayName("Address 1: UTC Offset")] - [Range(-1500, 1500)] - public int? Address1_UTCOffset { - get { - return GetAttributeValue("address1_utcoffset"); - } - set { - SetAttributeValue("address1_utcoffset", value); - } - } - - /// - /// Unique identifier for address 2. - /// Display Name: Address 2: ID - /// - [AttributeLogicalName("address2_addressid")] - [DisplayName("Address 2: ID")] - public Guid? Address2_AddressId { - get { - return GetAttributeValue("address2_addressid"); - } - set { - SetAttributeValue("address2_addressid", value); - } - } - - /// - /// Select the secondary address type. - /// Display Name: Address 2: Address Type - /// - [AttributeLogicalName("address2_addresstypecode")] - [DisplayName("Address 2: Address Type")] - public Contact_Address2_AddressTypeCode? Address2_AddressTypeCode { - get { - return GetOptionSetValue("address2_addresstypecode"); - } - set { - SetOptionSetValue("address2_addresstypecode", value); - } - } - - /// - /// Type the city for the secondary address. - /// Display Name: Address 2: City - /// - [AttributeLogicalName("address2_city")] - [DisplayName("Address 2: City")] - [MaxLength(80)] - public string Address2_City { - get { - return GetAttributeValue("address2_city"); - } - set { - SetAttributeValue("address2_city", value); - } - } - - /// - /// Shows the complete secondary address. - /// Display Name: Address 2 - /// - [AttributeLogicalName("address2_composite")] - [DisplayName("Address 2")] - public string Address2_Composite { - get { - return GetAttributeValue("address2_composite"); - } - } - - /// - /// Type the country or region for the secondary address. - /// Display Name: Address 2: Country/Region - /// - [AttributeLogicalName("address2_country")] - [DisplayName("Address 2: Country/Region")] - [MaxLength(80)] - public string Address2_Country { - get { - return GetAttributeValue("address2_country"); - } - set { - SetAttributeValue("address2_country", value); - } - } - - /// - /// Type the county for the secondary address. - /// Display Name: Address 2: County - /// - [AttributeLogicalName("address2_county")] - [DisplayName("Address 2: County")] - [MaxLength(50)] - public string Address2_County { - get { - return GetAttributeValue("address2_county"); - } - set { - SetAttributeValue("address2_county", value); - } - } - - /// - /// Type the fax number associated with the secondary address. - /// Display Name: Address 2: Fax - /// - [AttributeLogicalName("address2_fax")] - [DisplayName("Address 2: Fax")] - [MaxLength(50)] - public string Address2_Fax { - get { - return GetAttributeValue("address2_fax"); - } - set { - SetAttributeValue("address2_fax", value); - } - } - - /// - /// Select the freight terms for the secondary address to make sure shipping orders are processed correctly. - /// Display Name: Address 2: Freight Terms - /// - [AttributeLogicalName("address2_freighttermscode")] - [DisplayName("Address 2: Freight Terms")] - public Contact_Address2_FreightTermsCode? Address2_FreightTermsCode { - get { - return GetOptionSetValue("address2_freighttermscode"); - } - set { - SetOptionSetValue("address2_freighttermscode", value); - } - } - - /// - /// Type the latitude value for the secondary address for use in mapping and other applications. - /// Display Name: Address 2: Latitude - /// - [AttributeLogicalName("address2_latitude")] - [DisplayName("Address 2: Latitude")] - public double? Address2_Latitude { - get { - return GetAttributeValue("address2_latitude"); - } - set { - SetAttributeValue("address2_latitude", value); - } - } - - /// - /// Type the first line of the secondary address. - /// Display Name: Address 2: Street 1 - /// - [AttributeLogicalName("address2_line1")] - [DisplayName("Address 2: Street 1")] - [MaxLength(250)] - public string Address2_Line1 { - get { - return GetAttributeValue("address2_line1"); - } - set { - SetAttributeValue("address2_line1", value); - } - } - - /// - /// Type the second line of the secondary address. - /// Display Name: Address 2: Street 2 - /// - [AttributeLogicalName("address2_line2")] - [DisplayName("Address 2: Street 2")] - [MaxLength(250)] - public string Address2_Line2 { - get { - return GetAttributeValue("address2_line2"); - } - set { - SetAttributeValue("address2_line2", value); - } - } - - /// - /// Type the third line of the secondary address. - /// Display Name: Address 2: Street 3 - /// - [AttributeLogicalName("address2_line3")] - [DisplayName("Address 2: Street 3")] - [MaxLength(250)] - public string Address2_Line3 { - get { - return GetAttributeValue("address2_line3"); - } - set { - SetAttributeValue("address2_line3", value); - } - } - - /// - /// Type the longitude value for the secondary address for use in mapping and other applications. - /// Display Name: Address 2: Longitude - /// - [AttributeLogicalName("address2_longitude")] - [DisplayName("Address 2: Longitude")] - public double? Address2_Longitude { - get { - return GetAttributeValue("address2_longitude"); - } - set { - SetAttributeValue("address2_longitude", value); - } - } - - /// - /// Type a descriptive name for the secondary address, such as Corporate Headquarters. - /// Display Name: Address 2: Name - /// - [AttributeLogicalName("address2_name")] - [DisplayName("Address 2: Name")] - [MaxLength(100)] - public string Address2_Name { - get { - return GetAttributeValue("address2_name"); - } - set { - SetAttributeValue("address2_name", value); - } - } - - /// - /// Type the post office box number of the secondary address. - /// Display Name: Address 2: Post Office Box - /// - [AttributeLogicalName("address2_postofficebox")] - [DisplayName("Address 2: Post Office Box")] - [MaxLength(20)] - public string Address2_PostOfficeBox { - get { - return GetAttributeValue("address2_postofficebox"); - } - set { - SetAttributeValue("address2_postofficebox", value); - } - } - - /// - /// Type the ZIP Code or postal code for the secondary address. - /// Display Name: Address 2: ZIP/Postal Code - /// - [AttributeLogicalName("address2_postalcode")] - [DisplayName("Address 2: ZIP/Postal Code")] - [MaxLength(20)] - public string Address2_PostalCode { - get { - return GetAttributeValue("address2_postalcode"); - } - set { - SetAttributeValue("address2_postalcode", value); - } - } - - /// - /// Type the name of the main contact at the account's secondary address. - /// Display Name: Address 2: Primary Contact Name - /// - [AttributeLogicalName("address2_primarycontactname")] - [DisplayName("Address 2: Primary Contact Name")] - [MaxLength(100)] - public string Address2_PrimaryContactName { - get { - return GetAttributeValue("address2_primarycontactname"); - } - set { - SetAttributeValue("address2_primarycontactname", value); - } - } - - /// - /// Select a shipping method for deliveries sent to this address. - /// Display Name: Address 2: Shipping Method - /// - [AttributeLogicalName("address2_shippingmethodcode")] - [DisplayName("Address 2: Shipping Method")] - public Contact_Address2_ShippingMethodCode? Address2_ShippingMethodCode { - get { - return GetOptionSetValue("address2_shippingmethodcode"); - } - set { - SetOptionSetValue("address2_shippingmethodcode", value); - } - } - - /// - /// Type the state or province of the secondary address. - /// Display Name: Address 2: State/Province - /// - [AttributeLogicalName("address2_stateorprovince")] - [DisplayName("Address 2: State/Province")] - [MaxLength(50)] - public string Address2_StateOrProvince { - get { - return GetAttributeValue("address2_stateorprovince"); - } - set { - SetAttributeValue("address2_stateorprovince", value); - } - } - - /// - /// Type the main phone number associated with the secondary address. - /// Display Name: Address 2: Telephone 1 - /// - [AttributeLogicalName("address2_telephone1")] - [DisplayName("Address 2: Telephone 1")] - [MaxLength(50)] - public string Address2_Telephone1 { - get { - return GetAttributeValue("address2_telephone1"); - } - set { - SetAttributeValue("address2_telephone1", value); - } - } - - /// - /// Type a second phone number associated with the secondary address. - /// Display Name: Address 2: Telephone 2 - /// - [AttributeLogicalName("address2_telephone2")] - [DisplayName("Address 2: Telephone 2")] - [MaxLength(50)] - public string Address2_Telephone2 { - get { - return GetAttributeValue("address2_telephone2"); - } - set { - SetAttributeValue("address2_telephone2", value); - } - } - - /// - /// Type a third phone number associated with the secondary address. - /// Display Name: Address 2: Telephone 3 - /// - [AttributeLogicalName("address2_telephone3")] - [DisplayName("Address 2: Telephone 3")] - [MaxLength(50)] - public string Address2_Telephone3 { - get { - return GetAttributeValue("address2_telephone3"); - } - set { - SetAttributeValue("address2_telephone3", value); - } - } - - /// - /// Type the UPS zone of the secondary address to make sure shipping charges are calculated correctly and deliveries are made promptly, if shipped by UPS. - /// Display Name: Address 2: UPS Zone - /// - [AttributeLogicalName("address2_upszone")] - [DisplayName("Address 2: UPS Zone")] - [MaxLength(4)] - public string Address2_UPSZone { - get { - return GetAttributeValue("address2_upszone"); - } - set { - SetAttributeValue("address2_upszone", value); - } - } - - /// - /// Select the time zone, or UTC offset, for this address so that other people can reference it when they contact someone at this address. - /// Display Name: Address 2: UTC Offset - /// - [AttributeLogicalName("address2_utcoffset")] - [DisplayName("Address 2: UTC Offset")] - [Range(-1500, 1500)] - public int? Address2_UTCOffset { - get { - return GetAttributeValue("address2_utcoffset"); - } - set { - SetAttributeValue("address2_utcoffset", value); - } - } - - /// - /// Unique identifier for address 3. - /// Display Name: Address 3: ID - /// - [AttributeLogicalName("address3_addressid")] - [DisplayName("Address 3: ID")] - public Guid? Address3_AddressId { - get { - return GetAttributeValue("address3_addressid"); - } - set { - SetAttributeValue("address3_addressid", value); - } - } - - /// - /// Select the third address type. - /// Display Name: Address 3: Address Type - /// - [AttributeLogicalName("address3_addresstypecode")] - [DisplayName("Address 3: Address Type")] - public Contact_Address3_AddressTypeCode? Address3_AddressTypeCode { - get { - return GetOptionSetValue("address3_addresstypecode"); - } - set { - SetOptionSetValue("address3_addresstypecode", value); - } - } - - /// - /// Type the city for the 3rd address. - /// Display Name: Address 3: City - /// - [AttributeLogicalName("address3_city")] - [DisplayName("Address 3: City")] - [MaxLength(80)] - public string Address3_City { - get { - return GetAttributeValue("address3_city"); - } - set { - SetAttributeValue("address3_city", value); - } - } - - /// - /// Shows the complete third address. - /// Display Name: Address 3 - /// - [AttributeLogicalName("address3_composite")] - [DisplayName("Address 3")] - public string Address3_Composite { - get { - return GetAttributeValue("address3_composite"); - } - } - - /// - /// the country or region for the 3rd address. - /// Display Name: Address3: Country/Region - /// - [AttributeLogicalName("address3_country")] - [DisplayName("Address3: Country/Region")] - [MaxLength(80)] - public string Address3_Country { - get { - return GetAttributeValue("address3_country"); - } - set { - SetAttributeValue("address3_country", value); - } - } - - /// - /// Type the county for the third address. - /// Display Name: Address 3: County - /// - [AttributeLogicalName("address3_county")] - [DisplayName("Address 3: County")] - [MaxLength(50)] - public string Address3_County { - get { - return GetAttributeValue("address3_county"); - } - set { - SetAttributeValue("address3_county", value); - } - } - - /// - /// Type the fax number associated with the third address. - /// Display Name: Address 3: Fax - /// - [AttributeLogicalName("address3_fax")] - [DisplayName("Address 3: Fax")] - [MaxLength(50)] - public string Address3_Fax { - get { - return GetAttributeValue("address3_fax"); - } - set { - SetAttributeValue("address3_fax", value); - } - } - - /// - /// Select the freight terms for the third address to make sure shipping orders are processed correctly. - /// Display Name: Address 3: Freight Terms - /// - [AttributeLogicalName("address3_freighttermscode")] - [DisplayName("Address 3: Freight Terms")] - public Contact_Address3_FreightTermsCode? Address3_FreightTermsCode { - get { - return GetOptionSetValue("address3_freighttermscode"); - } - set { - SetOptionSetValue("address3_freighttermscode", value); - } - } - - /// - /// Type the latitude value for the third address for use in mapping and other applications. - /// Display Name: Address 3: Latitude - /// - [AttributeLogicalName("address3_latitude")] - [DisplayName("Address 3: Latitude")] - public double? Address3_Latitude { - get { - return GetAttributeValue("address3_latitude"); - } - set { - SetAttributeValue("address3_latitude", value); - } - } - - /// - /// the first line of the 3rd address. - /// Display Name: Address3: Street 1 - /// - [AttributeLogicalName("address3_line1")] - [DisplayName("Address3: Street 1")] - [MaxLength(250)] - public string Address3_Line1 { - get { - return GetAttributeValue("address3_line1"); - } - set { - SetAttributeValue("address3_line1", value); - } - } - - /// - /// the second line of the 3rd address. - /// Display Name: Address3: Street 2 - /// - [AttributeLogicalName("address3_line2")] - [DisplayName("Address3: Street 2")] - [MaxLength(250)] - public string Address3_Line2 { - get { - return GetAttributeValue("address3_line2"); - } - set { - SetAttributeValue("address3_line2", value); - } - } - - /// - /// the third line of the 3rd address. - /// Display Name: Address3: Street 3 - /// - [AttributeLogicalName("address3_line3")] - [DisplayName("Address3: Street 3")] - [MaxLength(250)] - public string Address3_Line3 { - get { - return GetAttributeValue("address3_line3"); - } - set { - SetAttributeValue("address3_line3", value); - } - } - - /// - /// Type the longitude value for the third address for use in mapping and other applications. - /// Display Name: Address 3: Longitude - /// - [AttributeLogicalName("address3_longitude")] - [DisplayName("Address 3: Longitude")] - public double? Address3_Longitude { - get { - return GetAttributeValue("address3_longitude"); - } - set { - SetAttributeValue("address3_longitude", value); - } - } - - /// - /// Type a descriptive name for the third address, such as Corporate Headquarters. - /// Display Name: Address 3: Name - /// - [AttributeLogicalName("address3_name")] - [DisplayName("Address 3: Name")] - [MaxLength(200)] - public string Address3_Name { - get { - return GetAttributeValue("address3_name"); - } - set { - SetAttributeValue("address3_name", value); - } - } - - /// - /// the post office box number of the 3rd address. - /// Display Name: Address 3: Post Office Box - /// - [AttributeLogicalName("address3_postofficebox")] - [DisplayName("Address 3: Post Office Box")] - [MaxLength(20)] - public string Address3_PostOfficeBox { - get { - return GetAttributeValue("address3_postofficebox"); - } - set { - SetAttributeValue("address3_postofficebox", value); - } - } - - /// - /// the ZIP Code or postal code for the 3rd address. - /// Display Name: Address3: ZIP/Postal Code - /// - [AttributeLogicalName("address3_postalcode")] - [DisplayName("Address3: ZIP/Postal Code")] - [MaxLength(20)] - public string Address3_PostalCode { - get { - return GetAttributeValue("address3_postalcode"); - } - set { - SetAttributeValue("address3_postalcode", value); - } - } - - /// - /// Type the name of the main contact at the account's third address. - /// Display Name: Address 3: Primary Contact Name - /// - [AttributeLogicalName("address3_primarycontactname")] - [DisplayName("Address 3: Primary Contact Name")] - [MaxLength(100)] - public string Address3_PrimaryContactName { - get { - return GetAttributeValue("address3_primarycontactname"); - } - set { - SetAttributeValue("address3_primarycontactname", value); - } - } - - /// - /// Select a shipping method for deliveries sent to this address. - /// Display Name: Address 3: Shipping Method - /// - [AttributeLogicalName("address3_shippingmethodcode")] - [DisplayName("Address 3: Shipping Method")] - public Contact_Address3_ShippingMethodCode? Address3_ShippingMethodCode { - get { - return GetOptionSetValue("address3_shippingmethodcode"); - } - set { - SetOptionSetValue("address3_shippingmethodcode", value); - } - } - - /// - /// the state or province of the third address. - /// Display Name: Address3: State/Province - /// - [AttributeLogicalName("address3_stateorprovince")] - [DisplayName("Address3: State/Province")] - [MaxLength(50)] - public string Address3_StateOrProvince { - get { - return GetAttributeValue("address3_stateorprovince"); - } - set { - SetAttributeValue("address3_stateorprovince", value); - } - } - - /// - /// Type the main phone number associated with the third address. - /// Display Name: Address 3: Telephone1 - /// - [AttributeLogicalName("address3_telephone1")] - [DisplayName("Address 3: Telephone1")] - [MaxLength(50)] - public string Address3_Telephone1 { - get { - return GetAttributeValue("address3_telephone1"); - } - set { - SetAttributeValue("address3_telephone1", value); - } - } - - /// - /// Type a second phone number associated with the third address. - /// Display Name: Address 3: Telephone2 - /// - [AttributeLogicalName("address3_telephone2")] - [DisplayName("Address 3: Telephone2")] - [MaxLength(50)] - public string Address3_Telephone2 { - get { - return GetAttributeValue("address3_telephone2"); - } - set { - SetAttributeValue("address3_telephone2", value); - } - } - - /// - /// Type a third phone number associated with the primary address. - /// Display Name: Address 3: Telephone3 - /// - [AttributeLogicalName("address3_telephone3")] - [DisplayName("Address 3: Telephone3")] - [MaxLength(50)] - public string Address3_Telephone3 { - get { - return GetAttributeValue("address3_telephone3"); - } - set { - SetAttributeValue("address3_telephone3", value); - } - } - - /// - /// Type the UPS zone of the third address to make sure shipping charges are calculated correctly and deliveries are made promptly, if shipped by UPS. - /// Display Name: Address 3: UPS Zone - /// - [AttributeLogicalName("address3_upszone")] - [DisplayName("Address 3: UPS Zone")] - [MaxLength(4)] - public string Address3_UPSZone { - get { - return GetAttributeValue("address3_upszone"); - } - set { - SetAttributeValue("address3_upszone", value); - } - } - - /// - /// Select the time zone, or UTC offset, for this address so that other people can reference it when they contact someone at this address. - /// Display Name: Address 3: UTC Offset - /// - [AttributeLogicalName("address3_utcoffset")] - [DisplayName("Address 3: UTC Offset")] - [Range(-1500, 1500)] - public int? Address3_UTCOffset { - get { - return GetAttributeValue("address3_utcoffset"); - } - set { - SetAttributeValue("address3_utcoffset", value); - } - } - - /// - /// Display Name: Created By IP Address - /// - [AttributeLogicalName("adx_createdbyipaddress")] - [DisplayName("Created By IP Address")] - [MaxLength(100)] - public string Adx_CreatedByIPAddress { - get { - return GetAttributeValue("adx_createdbyipaddress"); - } - set { - SetAttributeValue("adx_createdbyipaddress", value); - } - } - - /// - /// Display Name: Created By Username - /// - [AttributeLogicalName("adx_createdbyusername")] - [DisplayName("Created By Username")] - [MaxLength(100)] - public string Adx_CreatedByUsername { - get { - return GetAttributeValue("adx_createdbyusername"); - } - set { - SetAttributeValue("adx_createdbyusername", value); - } - } - - /// - /// Display Name: Modified By IP Address - /// - [AttributeLogicalName("adx_modifiedbyipaddress")] - [DisplayName("Modified By IP Address")] - [MaxLength(100)] - public string Adx_ModifiedByIPAddress { - get { - return GetAttributeValue("adx_modifiedbyipaddress"); - } - set { - SetAttributeValue("adx_modifiedbyipaddress", value); - } - } - - /// - /// Display Name: Modified By Username - /// - [AttributeLogicalName("adx_modifiedbyusername")] - [DisplayName("Modified By Username")] - [MaxLength(100)] - public string Adx_ModifiedByUsername { - get { - return GetAttributeValue("adx_modifiedbyusername"); - } - set { - SetAttributeValue("adx_modifiedbyusername", value); - } - } - - /// - /// Display Name: Organization Name - /// - [AttributeLogicalName("adx_organizationname")] - [DisplayName("Organization Name")] - [MaxLength(250)] - public string Adx_OrganizationName { - get { - return GetAttributeValue("adx_organizationname"); - } - set { - SetAttributeValue("adx_organizationname", value); - } - } - - /// - /// Display Name: Profile Is Anonymous - /// - [AttributeLogicalName("adx_profileisanonymous")] - [DisplayName("Profile Is Anonymous")] - public bool? Adx_ProfileIsAnonymous { - get { - return GetAttributeValue("adx_profileisanonymous"); - } - set { - SetAttributeValue("adx_profileisanonymous", value); - } - } - - /// - /// Display Name: Profile Last Activity - /// - [AttributeLogicalName("adx_profilelastactivity")] - [DisplayName("Profile Last Activity")] - public DateTime? Adx_ProfileLastActivity { - get { - return GetAttributeValue("adx_profilelastactivity"); - } - set { - SetAttributeValue("adx_profilelastactivity", value); - } - } - - /// - /// Display Name: Time Zone - /// - [AttributeLogicalName("adx_timezone")] - [DisplayName("Time Zone")] - [Range(-1500, 1500)] - public int? Adx_TimeZone { - get { - return GetAttributeValue("adx_timezone"); - } - set { - SetAttributeValue("adx_timezone", value); - } - } - - /// - /// For system use only. - /// Display Name: Aging 30 - /// - [AttributeLogicalName("aging30")] - [DisplayName("Aging 30")] - public decimal? Aging30 { - get { - return GetMoneyValue("aging30"); - } - } - - /// - /// Shows the Aging 30 field converted to the system's default base currency. The calculations use the exchange rate specified in the Currencies area. - /// Display Name: Aging 30 (Base) - /// - [AttributeLogicalName("aging30_base")] - [DisplayName("Aging 30 (Base)")] - public decimal? Aging30_Base { - get { - return GetMoneyValue("aging30_base"); - } - } - - /// - /// For system use only. - /// Display Name: Aging 60 - /// - [AttributeLogicalName("aging60")] - [DisplayName("Aging 60")] - public decimal? Aging60 { - get { - return GetMoneyValue("aging60"); - } - } - - /// - /// Shows the Aging 60 field converted to the system's default base currency. The calculations use the exchange rate specified in the Currencies area. - /// Display Name: Aging 60 (Base) - /// - [AttributeLogicalName("aging60_base")] - [DisplayName("Aging 60 (Base)")] - public decimal? Aging60_Base { - get { - return GetMoneyValue("aging60_base"); - } - } - - /// - /// For system use only. - /// Display Name: Aging 90 - /// - [AttributeLogicalName("aging90")] - [DisplayName("Aging 90")] - public decimal? Aging90 { - get { - return GetMoneyValue("aging90"); - } - } - - /// - /// Shows the Aging 90 field converted to the system's default base currency. The calculations use the exchange rate specified in the Currencies area. - /// Display Name: Aging 90 (Base) - /// - [AttributeLogicalName("aging90_base")] - [DisplayName("Aging 90 (Base)")] - public decimal? Aging90_Base { - get { - return GetMoneyValue("aging90_base"); - } - } - - /// - /// Enter the date of the contact's wedding or service anniversary for use in customer gift programs or other communications. - /// Display Name: Anniversary - /// - [AttributeLogicalName("anniversary")] - [DisplayName("Anniversary")] - public DateTime? Anniversary { - get { - return GetAttributeValue("anniversary"); - } - set { - SetAttributeValue("anniversary", value); - } - } - - /// - /// Type the contact's annual income for use in profiling and financial analysis. - /// Display Name: Annual Income - /// - [AttributeLogicalName("annualincome")] - [DisplayName("Annual Income")] - public decimal? AnnualIncome { - get { - return GetMoneyValue("annualincome"); - } - set { - SetMoneyValue("annualincome", value); - } - } - - /// - /// Shows the Annual Income field converted to the system's default base currency. The calculations use the exchange rate specified in the Currencies area. - /// Display Name: Annual Income (Base) - /// - [AttributeLogicalName("annualincome_base")] - [DisplayName("Annual Income (Base)")] - public decimal? AnnualIncome_Base { - get { - return GetMoneyValue("annualincome_base"); - } - } - - /// - /// Type the name of the contact's assistant. - /// Display Name: Assistant - /// - [AttributeLogicalName("assistantname")] - [DisplayName("Assistant")] - [MaxLength(100)] - public string AssistantName { - get { - return GetAttributeValue("assistantname"); - } - set { - SetAttributeValue("assistantname", value); - } - } - - /// - /// Type the phone number for the contact's assistant. - /// Display Name: Assistant Phone - /// - [AttributeLogicalName("assistantphone")] - [DisplayName("Assistant Phone")] - [MaxLength(50)] - public string AssistantPhone { - get { - return GetAttributeValue("assistantphone"); - } - set { - SetAttributeValue("assistantphone", value); - } - } - - /// - /// Enter the contact's birthday for use in customer gift programs or other communications. - /// Display Name: Birthday - /// - [AttributeLogicalName("birthdate")] - [DisplayName("Birthday")] - public DateTime? BirthDate { - get { - return GetAttributeValue("birthdate"); - } - set { - SetAttributeValue("birthdate", value); - } - } - - /// - /// Type a second business phone number for this contact. - /// Display Name: Business Phone 2 - /// - [AttributeLogicalName("business2")] - [DisplayName("Business Phone 2")] - [MaxLength(50)] - public string Business2 { - get { - return GetAttributeValue("business2"); - } - set { - SetAttributeValue("business2", value); - } - } - - /// - /// Type a callback phone number for this contact. - /// Display Name: Callback Number - /// - [AttributeLogicalName("callback")] - [DisplayName("Callback Number")] - [MaxLength(50)] - public string Callback { - get { - return GetAttributeValue("callback"); - } - set { - SetAttributeValue("callback", value); - } - } - - /// - /// Type the names of the contact's children for reference in communications and client programs. - /// Display Name: Children's Names - /// - [AttributeLogicalName("childrensnames")] - [DisplayName("Children\'s Names")] - [MaxLength(255)] - public string ChildrensNames { - get { - return GetAttributeValue("childrensnames"); - } - set { - SetAttributeValue("childrensnames", value); - } - } - - /// - /// Type the company phone of the contact. - /// Display Name: Company Phone - /// - [AttributeLogicalName("company")] - [DisplayName("Company Phone")] - [MaxLength(50)] - public string Company { - get { - return GetAttributeValue("company"); - } - set { - SetAttributeValue("company", value); - } - } - - /// - /// Shows who created the record. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Shows the external party who created the record. - /// Display Name: Created By (External Party) - /// - [AttributeLogicalName("createdbyexternalparty")] - [DisplayName("Created By (External Party)")] - public EntityReference CreatedByExternalParty { - get { - return GetAttributeValue("createdbyexternalparty"); - } - } - - /// - /// Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Shows who created the record on behalf of another user. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Type the credit limit of the contact for reference when you address invoice and accounting issues with the customer. - /// Display Name: Credit Limit - /// - [AttributeLogicalName("creditlimit")] - [DisplayName("Credit Limit")] - public decimal? CreditLimit { - get { - return GetMoneyValue("creditlimit"); - } - set { - SetMoneyValue("creditlimit", value); - } - } - - /// - /// Shows the Credit Limit field converted to the system's default base currency for reporting purposes. The calculations use the exchange rate specified in the Currencies area. - /// Display Name: Credit Limit (Base) - /// - [AttributeLogicalName("creditlimit_base")] - [DisplayName("Credit Limit (Base)")] - public decimal? CreditLimit_Base { - get { - return GetMoneyValue("creditlimit_base"); - } - } - - /// - /// Select whether the contact is on a credit hold, for reference when addressing invoice and accounting issues. - /// Display Name: Credit Hold - /// - [AttributeLogicalName("creditonhold")] - [DisplayName("Credit Hold")] - public bool? CreditOnHold { - get { - return GetAttributeValue("creditonhold"); - } - set { - SetAttributeValue("creditonhold", value); - } - } - - /// - /// Select the size of the contact's company for segmentation and reporting purposes. - /// Display Name: Customer Size - /// - [AttributeLogicalName("customersizecode")] - [DisplayName("Customer Size")] - public Contact_CustomerSizeCode? CustomerSizeCode { - get { - return GetOptionSetValue("customersizecode"); - } - set { - SetOptionSetValue("customersizecode", value); - } - } - - /// - /// Select the category that best describes the relationship between the contact and your organization. - /// Display Name: Relationship Type - /// - [AttributeLogicalName("customertypecode")] - [DisplayName("Relationship Type")] - public Contact_CustomerTypeCode? CustomerTypeCode { - get { - return GetOptionSetValue("customertypecode"); - } - set { - SetOptionSetValue("customertypecode", value); - } - } - - /// - /// Type the department or business unit where the contact works in the parent company or business. - /// Display Name: Department - /// - [AttributeLogicalName("department")] - [DisplayName("Department")] - [MaxLength(100)] - public string Department { - get { - return GetAttributeValue("department"); - } - set { - SetAttributeValue("department", value); - } - } - - /// - /// Type additional information to describe the contact, such as an excerpt from the company's website. - /// Display Name: Description - /// - [AttributeLogicalName("description")] - [DisplayName("Description")] - public string Description { - get { - return GetAttributeValue("description"); - } - set { - SetAttributeValue("description", value); - } - } - - /// - /// Select whether the contact accepts bulk email sent through marketing campaigns or quick campaigns. If Do Not Allow is selected, the contact can be added to marketing lists, but will be excluded from the email. - /// Display Name: Do not allow Bulk Emails - /// - [AttributeLogicalName("donotbulkemail")] - [DisplayName("Do not allow Bulk Emails")] - public bool? DoNotBulkEMail { - get { - return GetAttributeValue("donotbulkemail"); - } - set { - SetAttributeValue("donotbulkemail", value); - } - } - - /// - /// Select whether the contact accepts bulk postal mail sent through marketing campaigns or quick campaigns. If Do Not Allow is selected, the contact can be added to marketing lists, but will be excluded from the letters. - /// Display Name: Do not allow Bulk Mails - /// - [AttributeLogicalName("donotbulkpostalmail")] - [DisplayName("Do not allow Bulk Mails")] - public bool? DoNotBulkPostalMail { - get { - return GetAttributeValue("donotbulkpostalmail"); - } - set { - SetAttributeValue("donotbulkpostalmail", value); - } - } - - /// - /// Select whether the contact allows direct email sent from Microsoft Dynamics 365. If Do Not Allow is selected, Microsoft Dynamics 365 will not send the email. - /// Display Name: Do not allow Emails - /// - [AttributeLogicalName("donotemail")] - [DisplayName("Do not allow Emails")] - public bool? DoNotEMail { - get { - return GetAttributeValue("donotemail"); - } - set { - SetAttributeValue("donotemail", value); - } - } - - /// - /// Select whether the contact allows faxes. If Do Not Allow is selected, the contact will be excluded from any fax activities distributed in marketing campaigns. - /// Display Name: Do not allow Faxes - /// - [AttributeLogicalName("donotfax")] - [DisplayName("Do not allow Faxes")] - public bool? DoNotFax { - get { - return GetAttributeValue("donotfax"); - } - set { - SetAttributeValue("donotfax", value); - } - } - - /// - /// Select whether the contact accepts phone calls. If Do Not Allow is selected, the contact will be excluded from any phone call activities distributed in marketing campaigns. - /// Display Name: Do not allow Phone Calls - /// - [AttributeLogicalName("donotphone")] - [DisplayName("Do not allow Phone Calls")] - public bool? DoNotPhone { - get { - return GetAttributeValue("donotphone"); - } - set { - SetAttributeValue("donotphone", value); - } - } - - /// - /// Select whether the contact allows direct mail. If Do Not Allow is selected, the contact will be excluded from letter activities distributed in marketing campaigns. - /// Display Name: Do not allow Mails - /// - [AttributeLogicalName("donotpostalmail")] - [DisplayName("Do not allow Mails")] - public bool? DoNotPostalMail { - get { - return GetAttributeValue("donotpostalmail"); - } - set { - SetAttributeValue("donotpostalmail", value); - } - } - - /// - /// Select whether the contact accepts marketing materials, such as brochures or catalogs. Contacts that opt out can be excluded from marketing initiatives. - /// Display Name: Send Marketing Materials - /// - [AttributeLogicalName("donotsendmm")] - [DisplayName("Send Marketing Materials")] - public bool? DoNotSendMM { - get { - return GetAttributeValue("donotsendmm"); - } - set { - SetAttributeValue("donotsendmm", value); - } - } - - /// - /// Type the primary email address for the contact. - /// Display Name: Email - /// - [AttributeLogicalName("emailaddress1")] - [DisplayName("Email")] - [MaxLength(100)] - public string EMailAddress1 { - get { - return GetAttributeValue("emailaddress1"); - } - set { - SetAttributeValue("emailaddress1", value); - } - } - - /// - /// Type the secondary email address for the contact. - /// Display Name: Email Address 2 - /// - [AttributeLogicalName("emailaddress2")] - [DisplayName("Email Address 2")] - [MaxLength(100)] - public string EMailAddress2 { - get { - return GetAttributeValue("emailaddress2"); - } - set { - SetAttributeValue("emailaddress2", value); - } - } - - /// - /// Type an alternate email address for the contact. - /// Display Name: Email Address 3 - /// - [AttributeLogicalName("emailaddress3")] - [DisplayName("Email Address 3")] - [MaxLength(100)] - public string EMailAddress3 { - get { - return GetAttributeValue("emailaddress3"); - } - set { - SetAttributeValue("emailaddress3", value); - } - } - - /// - /// Select the contact's highest level of education for use in segmentation and analysis. - /// Display Name: Education - /// - [AttributeLogicalName("educationcode")] - [DisplayName("Education")] - public Contact_EducationCode? EducationCode { - get { - return GetOptionSetValue("educationcode"); - } - set { - SetOptionSetValue("educationcode", value); - } - } - - /// - /// Type the employee ID or number for the contact for reference in orders, service cases, or other communications with the contact's organization. - /// Display Name: Employee - /// - [AttributeLogicalName("employeeid")] - [DisplayName("Employee")] - [MaxLength(50)] - public string EmployeeId { - get { - return GetAttributeValue("employeeid"); - } - set { - SetAttributeValue("employeeid", value); - } - } - - /// - /// For internal use only. - /// Display Name: Entity Image Id - /// - [AttributeLogicalName("entityimageid")] - [DisplayName("Entity Image Id")] - public Guid? EntityImageId { - get { - return GetAttributeValue("entityimageid"); - } - } - - /// - /// Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency. - /// Display Name: Exchange Rate - /// - [AttributeLogicalName("exchangerate")] - [DisplayName("Exchange Rate")] - public decimal? ExchangeRate { - get { - return GetAttributeValue("exchangerate"); - } - } - - /// - /// Identifier for an external user. - /// Display Name: External User Identifier - /// - [AttributeLogicalName("externaluseridentifier")] - [DisplayName("External User Identifier")] - [MaxLength(50)] - public string ExternalUserIdentifier { - get { - return GetAttributeValue("externaluseridentifier"); - } - set { - SetAttributeValue("externaluseridentifier", value); - } - } - - /// - /// Select the marital status of the contact for reference in follow-up phone calls and other communications. - /// Display Name: Marital Status - /// - [AttributeLogicalName("familystatuscode")] - [DisplayName("Marital Status")] - public Contact_FamilyStatusCode? FamilyStatusCode { - get { - return GetOptionSetValue("familystatuscode"); - } - set { - SetOptionSetValue("familystatuscode", value); - } - } - - /// - /// Type the fax number for the contact. - /// Display Name: Fax - /// - [AttributeLogicalName("fax")] - [DisplayName("Fax")] - [MaxLength(50)] - public string Fax { - get { - return GetAttributeValue("fax"); - } - set { - SetAttributeValue("fax", value); - } - } - - /// - /// Type the contact's first name to make sure the contact is addressed correctly in sales calls, email, and marketing campaigns. - /// Display Name: First Name - /// - [AttributeLogicalName("firstname")] - [DisplayName("First Name")] - [MaxLength(50)] - public string FirstName { - get { - return GetAttributeValue("firstname"); - } - set { - SetAttributeValue("firstname", value); - } - } - - /// - /// Information about whether to allow following email activity like opens, attachment views and link clicks for emails sent to the contact. - /// Display Name: Follow Email Activity - /// - [AttributeLogicalName("followemail")] - [DisplayName("Follow Email Activity")] - public bool? FollowEmail { - get { - return GetAttributeValue("followemail"); - } - set { - SetAttributeValue("followemail", value); - } - } - - /// - /// Type the URL for the contact's FTP site to enable users to access data and share documents. - /// Display Name: FTP Site - /// - [AttributeLogicalName("ftpsiteurl")] - [DisplayName("FTP Site")] - [MaxLength(200)] - public string FtpSiteUrl { - get { - return GetAttributeValue("ftpsiteurl"); - } - set { - SetAttributeValue("ftpsiteurl", value); - } - } - - /// - /// Combines and shows the contact's first and last names so that the full name can be displayed in views and reports. - /// Display Name: Full Name - /// - [AttributeLogicalName("fullname")] - [DisplayName("Full Name")] - [MaxLength(160)] - public string FullName { - get { - return GetAttributeValue("fullname"); - } - } - - /// - /// Select the contact's gender to make sure the contact is addressed correctly in sales calls, email, and marketing campaigns. - /// Display Name: Gender - /// - [AttributeLogicalName("gendercode")] - [DisplayName("Gender")] - public Contact_GenderCode? GenderCode { - get { - return GetOptionSetValue("gendercode"); - } - set { - SetOptionSetValue("gendercode", value); - } - } - - /// - /// Type the passport number or other government ID for the contact for use in documents or reports. - /// Display Name: Government - /// - [AttributeLogicalName("governmentid")] - [DisplayName("Government")] - [MaxLength(50)] - public string GovernmentId { - get { - return GetAttributeValue("governmentid"); - } - set { - SetAttributeValue("governmentid", value); - } - } - - /// - /// Select whether the contact has any children for reference in follow-up phone calls and other communications. - /// Display Name: Has Children - /// - [AttributeLogicalName("haschildrencode")] - [DisplayName("Has Children")] - public Contact_HasChildrenCode? HasChildrenCode { - get { - return GetOptionSetValue("haschildrencode"); - } - set { - SetOptionSetValue("haschildrencode", value); - } - } - - /// - /// Type a second home phone number for this contact. - /// Display Name: Home Phone 2 - /// - [AttributeLogicalName("home2")] - [DisplayName("Home Phone 2")] - [MaxLength(50)] - public string Home2 { - get { - return GetAttributeValue("home2"); - } - set { - SetAttributeValue("home2", value); - } - } - - /// - /// Unique identifier of the data import or data migration that created this record. - /// Display Name: Import Sequence Number - /// - [AttributeLogicalName("importsequencenumber")] - [DisplayName("Import Sequence Number")] - [Range(-2147483648, 2147483647)] - public int? ImportSequenceNumber { - get { - return GetAttributeValue("importsequencenumber"); - } - set { - SetAttributeValue("importsequencenumber", value); - } - } - - /// - /// Select whether the contact exists in a separate accounting or other system, such as Microsoft Dynamics GP or another ERP database, for use in integration processes. - /// Display Name: Back Office Customer - /// - [AttributeLogicalName("isbackofficecustomer")] - [DisplayName("Back Office Customer")] - public bool? IsBackofficeCustomer { - get { - return GetAttributeValue("isbackofficecustomer"); - } - set { - SetAttributeValue("isbackofficecustomer", value); - } - } - - /// - /// Type the job title of the contact to make sure the contact is addressed correctly in sales calls, email, and marketing campaigns. - /// Display Name: Job Title - /// - [AttributeLogicalName("jobtitle")] - [DisplayName("Job Title")] - [MaxLength(100)] - public string JobTitle { - get { - return GetAttributeValue("jobtitle"); - } - set { - SetAttributeValue("jobtitle", value); - } - } - - /// - /// Type the contact's last name to make sure the contact is addressed correctly in sales calls, email, and marketing campaigns. - /// Display Name: Last Name - /// - [AttributeLogicalName("lastname")] - [DisplayName("Last Name")] - [MaxLength(50)] - public string LastName { - get { - return GetAttributeValue("lastname"); - } - set { - SetAttributeValue("lastname", value); - } - } - - /// - /// Contains the date and time stamp of the last on hold time. - /// Display Name: Last On Hold Time - /// - [AttributeLogicalName("lastonholdtime")] - [DisplayName("Last On Hold Time")] - public DateTime? LastOnHoldTime { - get { - return GetAttributeValue("lastonholdtime"); - } - set { - SetAttributeValue("lastonholdtime", value); - } - } - - /// - /// Shows the date when the contact was last included in a marketing campaign or quick campaign. - /// Display Name: Last Date Included in Campaign - /// - [AttributeLogicalName("lastusedincampaign")] - [DisplayName("Last Date Included in Campaign")] - public DateTime? LastUsedInCampaign { - get { - return GetAttributeValue("lastusedincampaign"); - } - set { - SetAttributeValue("lastusedincampaign", value); - } - } - - /// - /// Select the primary marketing source that directed the contact to your organization. - /// Display Name: Lead Source - /// - [AttributeLogicalName("leadsourcecode")] - [DisplayName("Lead Source")] - public Contact_LeadSourceCode? LeadSourceCode { - get { - return GetOptionSetValue("leadsourcecode"); - } - set { - SetOptionSetValue("leadsourcecode", value); - } - } - - /// - /// Type the name of the contact's manager for use in escalating issues or other follow-up communications with the contact. - /// Display Name: Manager - /// - [AttributeLogicalName("managername")] - [DisplayName("Manager")] - [MaxLength(100)] - public string ManagerName { - get { - return GetAttributeValue("managername"); - } - set { - SetAttributeValue("managername", value); - } - } - - /// - /// Type the phone number for the contact's manager. - /// Display Name: Manager Phone - /// - [AttributeLogicalName("managerphone")] - [DisplayName("Manager Phone")] - [MaxLength(50)] - public string ManagerPhone { - get { - return GetAttributeValue("managerphone"); - } - set { - SetAttributeValue("managerphone", value); - } - } - - /// - /// Whether is only for marketing - /// Display Name: Marketing Only - /// - [AttributeLogicalName("marketingonly")] - [DisplayName("Marketing Only")] - public bool? MarketingOnly { - get { - return GetAttributeValue("marketingonly"); - } - set { - SetAttributeValue("marketingonly", value); - } - } - - /// - /// Unique identifier of the master contact for merge. - /// Display Name: Master ID - /// - [AttributeLogicalName("masterid")] - [DisplayName("Master ID")] - public EntityReference MasterId { - get { - return GetAttributeValue("masterid"); - } - } - - /// - /// Shows whether the account has been merged with a master contact. - /// Display Name: Merged - /// - [AttributeLogicalName("merged")] - [DisplayName("Merged")] - public bool? Merged { - get { - return GetAttributeValue("merged"); - } - } - - /// - /// Type the contact's middle name or initial to make sure the contact is addressed correctly. - /// Display Name: Middle Name - /// - [AttributeLogicalName("middlename")] - [DisplayName("Middle Name")] - [MaxLength(50)] - public string MiddleName { - get { - return GetAttributeValue("middlename"); - } - set { - SetAttributeValue("middlename", value); - } - } - - /// - /// Type the mobile phone number for the contact. - /// Display Name: Mobile Phone - /// - [AttributeLogicalName("mobilephone")] - [DisplayName("Mobile Phone")] - [MaxLength(50)] - public string MobilePhone { - get { - return GetAttributeValue("mobilephone"); - } - set { - SetAttributeValue("mobilephone", value); - } - } - - /// - /// Shows who last updated the record. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Shows the external party who modified the record. - /// Display Name: Modified By (External Party) - /// - [AttributeLogicalName("modifiedbyexternalparty")] - [DisplayName("Modified By (External Party)")] - public EntityReference ModifiedByExternalParty { - get { - return GetAttributeValue("modifiedbyexternalparty"); - } - } - - /// - /// Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Shows who last updated the record on behalf of another user. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Type the contact's nickname. - /// Display Name: Nickname - /// - [AttributeLogicalName("nickname")] - [DisplayName("Nickname")] - [MaxLength(100)] - public string NickName { - get { - return GetAttributeValue("nickname"); - } - set { - SetAttributeValue("nickname", value); - } - } - - /// - /// Type the number of children the contact has for reference in follow-up phone calls and other communications. - /// Display Name: No. of Children - /// - [AttributeLogicalName("numberofchildren")] - [DisplayName("No. of Children")] - [Range(0, 1000000000)] - public int? NumberOfChildren { - get { - return GetAttributeValue("numberofchildren"); - } - set { - SetAttributeValue("numberofchildren", value); - } - } - - /// - /// Shows how long, in minutes, that the record was on hold. - /// Display Name: On Hold Time (Minutes) - /// - [AttributeLogicalName("onholdtime")] - [DisplayName("On Hold Time (Minutes)")] - [Range(-2147483648, 2147483647)] - public int? OnHoldTime { - get { - return GetAttributeValue("onholdtime"); - } - } - - /// - /// Date and time that the record was migrated. - /// Display Name: Record Created On - /// - [AttributeLogicalName("overriddencreatedon")] - [DisplayName("Record Created On")] - public DateTime? OverriddenCreatedOn { - get { - return GetAttributeValue("overriddencreatedon"); - } - set { - SetAttributeValue("overriddencreatedon", value); - } - } - - /// - /// Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user. - /// Display Name: Owner - /// - [AttributeLogicalName("ownerid")] - [DisplayName("Owner")] - public EntityReference OwnerId { - get { - return GetAttributeValue("ownerid"); - } - set { - SetAttributeValue("ownerid", value); - } - } - - /// - /// Unique identifier of the business unit that owns the contact. - /// Display Name: Owning Business Unit - /// - [AttributeLogicalName("owningbusinessunit")] - [DisplayName("Owning Business Unit")] - public EntityReference OwningBusinessUnit { - get { - return GetAttributeValue("owningbusinessunit"); - } - } - - /// - /// Unique identifier of the team who owns the contact. - /// Display Name: Owning Team - /// - [AttributeLogicalName("owningteam")] - [DisplayName("Owning Team")] - public EntityReference OwningTeam { - get { - return GetAttributeValue("owningteam"); - } - } - - /// - /// Unique identifier of the user who owns the contact. - /// Display Name: Owning User - /// - [AttributeLogicalName("owninguser")] - [DisplayName("Owning User")] - public EntityReference OwningUser { - get { - return GetAttributeValue("owninguser"); - } - } - - /// - /// Type the pager number for the contact. - /// Display Name: Pager - /// - [AttributeLogicalName("pager")] - [DisplayName("Pager")] - [MaxLength(50)] - public string Pager { - get { - return GetAttributeValue("pager"); - } - set { - SetAttributeValue("pager", value); - } - } - - /// - /// Unique identifier of the parent contact. - /// Display Name: Parent Contact - /// - [AttributeLogicalName("parentcontactid")] - [DisplayName("Parent Contact")] - public EntityReference ParentContactId { - get { - return GetAttributeValue("parentcontactid"); - } - } - - /// - /// Select the parent account or parent contact for the contact to provide a quick link to additional details, such as financial information, activities, and opportunities. - /// Display Name: Company Name - /// - [AttributeLogicalName("parentcustomerid")] - [DisplayName("Company Name")] - public EntityReference ParentCustomerId { - get { - return GetAttributeValue("parentcustomerid"); - } - set { - SetAttributeValue("parentcustomerid", value); - } - } - - /// - /// Shows whether the contact participates in workflow rules. - /// Display Name: Participates in Workflow - /// - [AttributeLogicalName("participatesinworkflow")] - [DisplayName("Participates in Workflow")] - public bool? ParticipatesInWorkflow { - get { - return GetAttributeValue("participatesinworkflow"); - } - set { - SetAttributeValue("participatesinworkflow", value); - } - } - - /// - /// Select the payment terms to indicate when the customer needs to pay the total amount. - /// Display Name: Payment Terms - /// - [AttributeLogicalName("paymenttermscode")] - [DisplayName("Payment Terms")] - public Contact_PaymentTermsCode? PaymentTermsCode { - get { - return GetOptionSetValue("paymenttermscode"); - } - set { - SetOptionSetValue("paymenttermscode", value); - } - } - - /// - /// Select the preferred day of the week for service appointments. - /// Display Name: Preferred Day - /// - [AttributeLogicalName("preferredappointmentdaycode")] - [DisplayName("Preferred Day")] - public Contact_PreferredAppointmentDayCode? PreferredAppointmentDayCode { - get { - return GetOptionSetValue("preferredappointmentdaycode"); - } - set { - SetOptionSetValue("preferredappointmentdaycode", value); - } - } - - /// - /// Select the preferred time of day for service appointments. - /// Display Name: Preferred Time - /// - [AttributeLogicalName("preferredappointmenttimecode")] - [DisplayName("Preferred Time")] - public Contact_PreferredAppointmentTimeCode? PreferredAppointmentTimeCode { - get { - return GetOptionSetValue("preferredappointmenttimecode"); - } - set { - SetOptionSetValue("preferredappointmenttimecode", value); - } - } - - /// - /// Select the preferred method of contact. - /// Display Name: Preferred Method of Contact - /// - [AttributeLogicalName("preferredcontactmethodcode")] - [DisplayName("Preferred Method of Contact")] - public Contact_PreferredContactMethodCode? PreferredContactMethodCode { - get { - return GetOptionSetValue("preferredcontactmethodcode"); - } - set { - SetOptionSetValue("preferredcontactmethodcode", value); - } - } - - /// - /// Choose the regular or preferred customer service representative for reference when scheduling service activities for the contact. - /// Display Name: Preferred User - /// - [AttributeLogicalName("preferredsystemuserid")] - [DisplayName("Preferred User")] - public EntityReference PreferredSystemUserId { - get { - return GetAttributeValue("preferredsystemuserid"); - } - set { - SetAttributeValue("preferredsystemuserid", value); - } - } - - /// - /// Combines and shows the contact's first and last names so that the full name can be displayed in views and reports. - /// Display Name: Full Name - /// - [AttributeLogicalName("fullname")] - [DisplayName("Full Name")] - [MaxLength(160)] - public string PrimaryNameField { - get { - return GetAttributeValue("fullname"); - } - } - - /// - /// Shows the ID of the process. - /// Display Name: Process - /// - [AttributeLogicalName("processid")] - [DisplayName("Process")] - public Guid? ProcessId { - get { - return GetAttributeValue("processid"); - } - set { - SetAttributeValue("processid", value); - } - } - - /// - /// Choose the service level agreement (SLA) that you want to apply to the Contact record. - /// Display Name: SLA - /// - [AttributeLogicalName("slaid")] - [DisplayName("SLA")] - public EntityReference SLAId { - get { - return GetAttributeValue("slaid"); - } - set { - SetAttributeValue("slaid", value); - } - } - - /// - /// Last SLA that was applied to this case. This field is for internal use only. - /// Display Name: Last SLA applied - /// - [AttributeLogicalName("slainvokedid")] - [DisplayName("Last SLA applied")] - public EntityReference SLAInvokedId { - get { - return GetAttributeValue("slainvokedid"); - } - } - - /// - /// Type the salutation of the contact to make sure the contact is addressed correctly in sales calls, email messages, and marketing campaigns. - /// Display Name: Salutation - /// - [AttributeLogicalName("salutation")] - [DisplayName("Salutation")] - [MaxLength(100)] - public string Salutation { - get { - return GetAttributeValue("salutation"); - } - set { - SetAttributeValue("salutation", value); - } - } - - /// - /// Select a shipping method for deliveries sent to this address. - /// Display Name: Shipping Method - /// - [AttributeLogicalName("shippingmethodcode")] - [DisplayName("Shipping Method")] - public Contact_ShippingMethodCode? ShippingMethodCode { - get { - return GetOptionSetValue("shippingmethodcode"); - } - set { - SetOptionSetValue("shippingmethodcode", value); - } - } - - /// - /// Type the name of the contact's spouse or partner for reference during calls, events, or other communications with the contact. - /// Display Name: Spouse/Partner Name - /// - [AttributeLogicalName("spousesname")] - [DisplayName("Spouse/Partner Name")] - [MaxLength(100)] - public string SpousesName { - get { - return GetAttributeValue("spousesname"); - } - set { - SetAttributeValue("spousesname", value); - } - } - - /// - /// Shows the ID of the stage. - /// Display Name: (Deprecated) Process Stage - /// - [AttributeLogicalName("stageid")] - [DisplayName("(Deprecated) Process Stage")] - public Guid? StageId { - get { - return GetAttributeValue("stageid"); - } - set { - SetAttributeValue("stageid", value); - } - } - - /// - /// Shows whether the contact is active or inactive. Inactive contacts are read-only and can't be edited unless they are reactivated. - /// Display Name: Status - /// - [AttributeLogicalName("statecode")] - [DisplayName("Status")] - public ContactState? StateCode { - get { - return GetOptionSetValue("statecode"); - } - set { - SetOptionSetValue("statecode", value); - } - } - - /// - /// Select the contact's status. - /// Display Name: Status Reason - /// - [AttributeLogicalName("statuscode")] - [DisplayName("Status Reason")] - public Contact_StatusCode? StatusCode { - get { - return GetOptionSetValue("statuscode"); - } - set { - SetOptionSetValue("statuscode", value); - } - } - - /// - /// For internal use only. - /// Display Name: Subscription - /// - [AttributeLogicalName("subscriptionid")] - [DisplayName("Subscription")] - public Guid? SubscriptionId { - get { - return GetAttributeValue("subscriptionid"); - } - set { - SetAttributeValue("subscriptionid", value); - } - } - - /// - /// Type the suffix used in the contact's name, such as Jr. or Sr. to make sure the contact is addressed correctly in sales calls, email, and marketing campaigns. - /// Display Name: Suffix - /// - [AttributeLogicalName("suffix")] - [DisplayName("Suffix")] - [MaxLength(10)] - public string Suffix { - get { - return GetAttributeValue("suffix"); - } - set { - SetAttributeValue("suffix", value); - } - } - - /// - /// Type the main phone number for this contact. - /// Display Name: Business Phone - /// - [AttributeLogicalName("telephone1")] - [DisplayName("Business Phone")] - [MaxLength(50)] - public string Telephone1 { - get { - return GetAttributeValue("telephone1"); - } - set { - SetAttributeValue("telephone1", value); - } - } - - /// - /// Type a second phone number for this contact. - /// Display Name: Home Phone - /// - [AttributeLogicalName("telephone2")] - [DisplayName("Home Phone")] - [MaxLength(50)] - public string Telephone2 { - get { - return GetAttributeValue("telephone2"); - } - set { - SetAttributeValue("telephone2", value); - } - } - - /// - /// Type a third phone number for this contact. - /// Display Name: Telephone 3 - /// - [AttributeLogicalName("telephone3")] - [DisplayName("Telephone 3")] - [MaxLength(50)] - public string Telephone3 { - get { - return GetAttributeValue("telephone3"); - } - set { - SetAttributeValue("telephone3", value); - } - } - - /// - /// Select a region or territory for the contact for use in segmentation and analysis. - /// Display Name: Territory - /// - [AttributeLogicalName("territorycode")] - [DisplayName("Territory")] - public Contact_TerritoryCode? TerritoryCode { - get { - return GetOptionSetValue("territorycode"); - } - set { - SetOptionSetValue("territorycode", value); - } - } - - /// - /// Total time spent for emails (read and write) and meetings by me in relation to the contact record. - /// Display Name: Time Spent by me - /// - [AttributeLogicalName("timespentbymeonemailandmeetings")] - [DisplayName("Time Spent by me")] - [MaxLength(1250)] - public string TimeSpentByMeOnEmailAndMeetings { - get { - return GetAttributeValue("timespentbymeonemailandmeetings"); - } - } - - /// - /// For internal use only. - /// Display Name: Time Zone Rule Version Number - /// - [AttributeLogicalName("timezoneruleversionnumber")] - [DisplayName("Time Zone Rule Version Number")] - [Range(-1, 2147483647)] - public int? TimeZoneRuleVersionNumber { - get { - return GetAttributeValue("timezoneruleversionnumber"); - } - set { - SetAttributeValue("timezoneruleversionnumber", value); - } - } - - /// - /// Choose the local currency for the record to make sure budgets are reported in the correct currency. - /// Display Name: Currency - /// - [AttributeLogicalName("transactioncurrencyid")] - [DisplayName("Currency")] - public EntityReference TransactionCurrencyId { - get { - return GetAttributeValue("transactioncurrencyid"); - } - set { - SetAttributeValue("transactioncurrencyid", value); - } - } - - /// - /// For internal use only. - /// Display Name: (Deprecated) Traversed Path - /// - [AttributeLogicalName("traversedpath")] - [DisplayName("(Deprecated) Traversed Path")] - [MaxLength(1250)] - public string TraversedPath { - get { - return GetAttributeValue("traversedpath"); - } - set { - SetAttributeValue("traversedpath", value); - } - } - - /// - /// Time zone code that was in use when the record was created. - /// Display Name: UTC Conversion Time Zone Code - /// - [AttributeLogicalName("utcconversiontimezonecode")] - [DisplayName("UTC Conversion Time Zone Code")] - [Range(-1, 2147483647)] - public int? UTCConversionTimeZoneCode { - get { - return GetAttributeValue("utcconversiontimezonecode"); - } - set { - SetAttributeValue("utcconversiontimezonecode", value); - } - } - - /// - /// Version number of the contact. - /// Display Name: Version Number - /// - [AttributeLogicalName("versionnumber")] - [DisplayName("Version Number")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - /// - /// Type the contact's professional or personal website or blog URL. - /// Display Name: Website - /// - [AttributeLogicalName("websiteurl")] - [DisplayName("Website")] - [MaxLength(200)] - public string WebSiteUrl { - get { - return GetAttributeValue("websiteurl"); - } - set { - SetAttributeValue("websiteurl", value); - } - } - - /// - /// Type the phonetic spelling of the contact's first name, if the name is specified in Japanese, to make sure the name is pronounced correctly in phone calls with the contact. - /// Display Name: Yomi First Name - /// - [AttributeLogicalName("yomifirstname")] - [DisplayName("Yomi First Name")] - [MaxLength(150)] - public string YomiFirstName { - get { - return GetAttributeValue("yomifirstname"); - } - set { - SetAttributeValue("yomifirstname", value); - } - } - - /// - /// Shows the combined Yomi first and last names of the contact so that the full phonetic name can be displayed in views and reports. - /// Display Name: Yomi Full Name - /// - [AttributeLogicalName("yomifullname")] - [DisplayName("Yomi Full Name")] - [MaxLength(450)] - public string YomiFullName { - get { - return GetAttributeValue("yomifullname"); - } - } - - /// - /// Type the phonetic spelling of the contact's last name, if the name is specified in Japanese, to make sure the name is pronounced correctly in phone calls with the contact. - /// Display Name: Yomi Last Name - /// - [AttributeLogicalName("yomilastname")] - [DisplayName("Yomi Last Name")] - [MaxLength(150)] - public string YomiLastName { - get { - return GetAttributeValue("yomilastname"); - } - set { - SetAttributeValue("yomilastname", value); - } - } - - /// - /// Type the phonetic spelling of the contact's middle name, if the name is specified in Japanese, to make sure the name is pronounced correctly in phone calls with the contact. - /// Display Name: Yomi Middle Name - /// - [AttributeLogicalName("yomimiddlename")] - [DisplayName("Yomi Middle Name")] - [MaxLength(150)] - public string YomiMiddleName { - get { - return GetAttributeValue("yomimiddlename"); - } - set { - SetAttributeValue("yomimiddlename", value); - } - } - - /// - /// Display Name: Confirm Remove Password - /// - [AttributeLogicalName("adx_confirmremovepassword")] - [DisplayName("Confirm Remove Password")] - public bool? adx_ConfirmRemovePassword { - get { - return GetAttributeValue("adx_confirmremovepassword"); - } - set { - SetAttributeValue("adx_confirmremovepassword", value); - } - } - - /// - /// Display Name: Public Profile Copy - /// - [AttributeLogicalName("adx_publicprofilecopy")] - [DisplayName("Public Profile Copy")] - public string adx_PublicProfileCopy { - get { - return GetAttributeValue("adx_publicprofilecopy"); - } - set { - SetAttributeValue("adx_publicprofilecopy", value); - } - } - - /// - /// Shows the current count of failed password attempts for the contact. - /// Display Name: Access Failed Count - /// - [AttributeLogicalName("adx_identity_accessfailedcount")] - [DisplayName("Access Failed Count")] - [Range(-2147483648, 2147483647)] - public int? adx_identity_accessfailedcount { - get { - return GetAttributeValue("adx_identity_accessfailedcount"); - } - set { - SetAttributeValue("adx_identity_accessfailedcount", value); - } - } - - /// - /// Determines if the email is confirmed by the contact. - /// Display Name: Email Confirmed - /// - [AttributeLogicalName("adx_identity_emailaddress1confirmed")] - [DisplayName("Email Confirmed")] - public bool? adx_identity_emailaddress1confirmed { - get { - return GetAttributeValue("adx_identity_emailaddress1confirmed"); - } - set { - SetAttributeValue("adx_identity_emailaddress1confirmed", value); - } - } - - /// - /// Indicates the last date and time the user successfully signed in to a portal. - /// Display Name: Last Successful Login - /// - [AttributeLogicalName("adx_identity_lastsuccessfullogin")] - [DisplayName("Last Successful Login")] - public DateTime? adx_identity_lastsuccessfullogin { - get { - return GetAttributeValue("adx_identity_lastsuccessfullogin"); - } - set { - SetAttributeValue("adx_identity_lastsuccessfullogin", value); - } - } - - /// - /// Indicates that the contact can no longer sign in to the portal using the local account. - /// Display Name: Local Login Disabled - /// - [AttributeLogicalName("adx_identity_locallogindisabled")] - [DisplayName("Local Login Disabled")] - public bool? adx_identity_locallogindisabled { - get { - return GetAttributeValue("adx_identity_locallogindisabled"); - } - set { - SetAttributeValue("adx_identity_locallogindisabled", value); - } - } - - /// - /// Determines if this contact will track failed access attempts and become locked after too many failed attempts. To prevent the contact from becoming locked, you can disable this setting. - /// Display Name: Lockout Enabled - /// - [AttributeLogicalName("adx_identity_lockoutenabled")] - [DisplayName("Lockout Enabled")] - public bool? adx_identity_lockoutenabled { - get { - return GetAttributeValue("adx_identity_lockoutenabled"); - } - set { - SetAttributeValue("adx_identity_lockoutenabled", value); - } - } - - /// - /// Shows the moment in time when the locked contact becomes unlocked again. - /// Display Name: Lockout End Date - /// - [AttributeLogicalName("adx_identity_lockoutenddate")] - [DisplayName("Lockout End Date")] - public DateTime? adx_identity_lockoutenddate { - get { - return GetAttributeValue("adx_identity_lockoutenddate"); - } - set { - SetAttributeValue("adx_identity_lockoutenddate", value); - } - } - - /// - /// Determines if web authentication is enabled for the contact. - /// Display Name: Login Enabled - /// - [AttributeLogicalName("adx_identity_logonenabled")] - [DisplayName("Login Enabled")] - public bool? adx_identity_logonenabled { - get { - return GetAttributeValue("adx_identity_logonenabled"); - } - set { - SetAttributeValue("adx_identity_logonenabled", value); - } - } - - /// - /// Determines if the phone number is confirmed by the contact. - /// Display Name: Mobile Phone Confirmed - /// - [AttributeLogicalName("adx_identity_mobilephoneconfirmed")] - [DisplayName("Mobile Phone Confirmed")] - public bool? adx_identity_mobilephoneconfirmed { - get { - return GetAttributeValue("adx_identity_mobilephoneconfirmed"); - } - set { - SetAttributeValue("adx_identity_mobilephoneconfirmed", value); - } - } - - /// - /// Display Name: New Password Input - /// - [AttributeLogicalName("adx_identity_newpassword")] - [DisplayName("New Password Input")] - [MaxLength(100)] - public string adx_identity_newpassword { - get { - return GetAttributeValue("adx_identity_newpassword"); - } - set { - SetAttributeValue("adx_identity_newpassword", value); - } - } - - /// - /// Display Name: Password Hash - /// - [AttributeLogicalName("adx_identity_passwordhash")] - [DisplayName("Password Hash")] - [MaxLength(128)] - public string adx_identity_passwordhash { - get { - return GetAttributeValue("adx_identity_passwordhash"); - } - set { - SetAttributeValue("adx_identity_passwordhash", value); - } - } - - /// - /// A token used to manage the web authentication session. - /// Display Name: Security Stamp - /// - [AttributeLogicalName("adx_identity_securitystamp")] - [DisplayName("Security Stamp")] - [MaxLength(100)] - public string adx_identity_securitystamp { - get { - return GetAttributeValue("adx_identity_securitystamp"); - } - set { - SetAttributeValue("adx_identity_securitystamp", value); - } - } - - /// - /// Determines if two-factor authentication is enabled for the contact. - /// Display Name: Two Factor Enabled - /// - [AttributeLogicalName("adx_identity_twofactorenabled")] - [DisplayName("Two Factor Enabled")] - public bool? adx_identity_twofactorenabled { - get { - return GetAttributeValue("adx_identity_twofactorenabled"); - } - set { - SetAttributeValue("adx_identity_twofactorenabled", value); - } - } - - /// - /// Shows the user identity for local web authentication. - /// Display Name: User Name - /// - [AttributeLogicalName("adx_identity_username")] - [DisplayName("User Name")] - [MaxLength(100)] - public string adx_identity_username { - get { - return GetAttributeValue("adx_identity_username"); - } - set { - SetAttributeValue("adx_identity_username", value); - } - } - - /// - /// User’s preferred portal LCID - /// Display Name: Preferred LCID (Deprecated) - /// - [AttributeLogicalName("adx_preferredlcid")] - [DisplayName("Preferred LCID (Deprecated)")] - [Range(-2147483648, 2147483647)] - public int? adx_preferredlcid { - get { - return GetAttributeValue("adx_preferredlcid"); - } - set { - SetAttributeValue("adx_preferredlcid", value); - } - } - - /// - /// Display Name: Profile Alert - /// - [AttributeLogicalName("adx_profilealert")] - [DisplayName("Profile Alert")] - public bool? adx_profilealert { - get { - return GetAttributeValue("adx_profilealert"); - } - set { - SetAttributeValue("adx_profilealert", value); - } - } - - /// - /// Display Name: Profile Alert Date - /// - [AttributeLogicalName("adx_profilealertdate")] - [DisplayName("Profile Alert Date")] - public DateTime? adx_profilealertdate { - get { - return GetAttributeValue("adx_profilealertdate"); - } - set { - SetAttributeValue("adx_profilealertdate", value); - } - } - - /// - /// Display Name: Profile Alert Instructions - /// - [AttributeLogicalName("adx_profilealertinstructions")] - [DisplayName("Profile Alert Instructions")] - public string adx_profilealertinstructions { - get { - return GetAttributeValue("adx_profilealertinstructions"); - } - set { - SetAttributeValue("adx_profilealertinstructions", value); - } - } - - /// - /// Display Name: Profile Modified On - /// - [AttributeLogicalName("adx_profilemodifiedon")] - [DisplayName("Profile Modified On")] - public DateTime? adx_profilemodifiedon { - get { - return GetAttributeValue("adx_profilemodifiedon"); - } - set { - SetAttributeValue("adx_profilemodifiedon", value); - } - } - - /// - /// Unique identifier for Account associated with Contact. - /// Display Name: Managing Partner - /// - [AttributeLogicalName("msa_managingpartnerid")] - [DisplayName("Managing Partner")] - public EntityReference msa_managingpartnerid { - get { - return GetAttributeValue("msa_managingpartnerid"); - } - set { - SetAttributeValue("msa_managingpartnerid", value); - } - } - - /// - /// Indicates that the contact has opted out of web tracking. - /// Display Name: Disable Web Tracking - /// - [AttributeLogicalName("msdyn_disablewebtracking")] - [DisplayName("Disable Web Tracking")] - public bool? msdyn_disablewebtracking { - get { - return GetAttributeValue("msdyn_disablewebtracking"); - } - set { - SetAttributeValue("msdyn_disablewebtracking", value); - } - } - - /// - /// Indicates that the contact is considered a minor in their jurisdiction. - /// Display Name: Is Minor - /// - [AttributeLogicalName("msdyn_isminor")] - [DisplayName("Is Minor")] - public bool? msdyn_isminor { - get { - return GetAttributeValue("msdyn_isminor"); - } - set { - SetAttributeValue("msdyn_isminor", value); - } - } - - /// - /// Indicates that the contact is considered a minor in their jurisdiction and has parental consent. - /// Display Name: Is Minor with Parental Consent - /// - [AttributeLogicalName("msdyn_isminorwithparentalconsent")] - [DisplayName("Is Minor with Parental Consent")] - public bool? msdyn_isminorwithparentalconsent { - get { - return GetAttributeValue("msdyn_isminorwithparentalconsent"); - } - set { - SetAttributeValue("msdyn_isminorwithparentalconsent", value); - } - } - - /// - /// Indicates the date and time that the person agreed to the portal terms and conditions. - /// Display Name: Portal Terms Agreement Date - /// - [AttributeLogicalName("msdyn_portaltermsagreementdate")] - [DisplayName("Portal Terms Agreement Date")] - public DateTime? msdyn_portaltermsagreementdate { - get { - return GetAttributeValue("msdyn_portaltermsagreementdate"); - } - set { - SetAttributeValue("msdyn_portaltermsagreementdate", value); - } - } - - /// - /// User’s preferred portal language - /// Display Name: Preferred Language - /// - [AttributeLogicalName("mspp_userpreferredlcid")] - [DisplayName("Preferred Language")] - public powerpagelanguages? mspp_userpreferredlcid { - get { - return GetOptionSetValue("mspp_userpreferredlcid"); - } - set { - SetOptionSetValue("mspp_userpreferredlcid", value); - } - } - - [RelationshipSchemaName("Contact_Annotation")] - public IEnumerable Contact_Annotation { - get { - return GetRelatedEntities("Contact_Annotation", null); - } - set { - SetRelatedEntities("Contact_Annotation", null, value); - } - } - - [RelationshipSchemaName("Contact_Tasks")] - public IEnumerable Contact_Tasks { - get { - return GetRelatedEntities("Contact_Tasks", null); - } - set { - SetRelatedEntities("Contact_Tasks", null, value); - } - } - - [RelationshipSchemaName("contact_customer_contacts", EntityRole.Referenced)] - public IEnumerable Referencedcontact_customer_contacts { - get { - return GetRelatedEntities("contact_customer_contacts", EntityRole.Referenced); - } - set { - SetRelatedEntities("contact_customer_contacts", EntityRole.Referenced, value); - } - } - - [RelationshipSchemaName("contact_master_contact", EntityRole.Referenced)] - public IEnumerable Referencedcontact_master_contact { - get { - return GetRelatedEntities("contact_master_contact", EntityRole.Referenced); - } - set { - SetRelatedEntities("contact_master_contact", EntityRole.Referenced, value); - } - } - - [AttributeLogicalName("parentcustomerid")] - [RelationshipSchemaName("contact_customer_contacts", EntityRole.Referencing)] - public Contact Referencingcontact_customer_contacts { - get { - return GetRelatedEntity("contact_customer_contacts", EntityRole.Referencing); - } - set { - SetRelatedEntity("contact_customer_contacts", EntityRole.Referencing, value); - } - } - - [AttributeLogicalName("masterid")] - [RelationshipSchemaName("contact_master_contact", EntityRole.Referencing)] - public Contact Referencingcontact_master_contact { - get { - return GetRelatedEntity("contact_master_contact", EntityRole.Referencing); - } - set { - SetRelatedEntity("contact_master_contact", EntityRole.Referencing, value); - } - } - - [RelationshipSchemaName("account_primary_contact")] - public IEnumerable account_primary_contact { - get { - return GetRelatedEntities("account_primary_contact", null); - } - set { - SetRelatedEntities("account_primary_contact", null, value); - } - } - - [AttributeLogicalName("parentcustomerid")] - [RelationshipSchemaName("contact_customer_accounts")] - public Account contact_customer_accounts { - get { - return GetRelatedEntity("contact_customer_accounts", null); - } - set { - SetRelatedEntity("contact_customer_accounts", null, value); - } - } - - [AttributeLogicalName("owninguser")] - [RelationshipSchemaName("contact_owning_user")] - public SystemUser contact_owning_user { - get { - return GetRelatedEntity("contact_owning_user", null); - } - set { - SetRelatedEntity("contact_owning_user", null, value); - } - } - - [RelationshipSchemaName("ctx_contact_ctx_invoice_112")] - public IEnumerable ctx_contact_ctx_invoice_112 { - get { - return GetRelatedEntities("ctx_contact_ctx_invoice_112", null); - } - set { - SetRelatedEntities("ctx_contact_ctx_invoice_112", null, value); - } - } - - [RelationshipSchemaName("ctx_contact_ctx_subscription_367")] - public IEnumerable ctx_contact_ctx_subscription_367 { - get { - return GetRelatedEntities("ctx_contact_ctx_subscription_367", null); - } - set { - SetRelatedEntities("ctx_contact_ctx_subscription_367", null, value); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_contact_createdonbehalfby")] - public SystemUser lk_contact_createdonbehalfby { - get { - return GetRelatedEntity("lk_contact_createdonbehalfby", null); - } - set { - SetRelatedEntity("lk_contact_createdonbehalfby", null, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_contact_modifiedonbehalfby")] - public SystemUser lk_contact_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_contact_modifiedonbehalfby", null); - } - set { - SetRelatedEntity("lk_contact_modifiedonbehalfby", null, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_contactbase_createdby")] - public SystemUser lk_contactbase_createdby { - get { - return GetRelatedEntity("lk_contactbase_createdby", null); - } - set { - SetRelatedEntity("lk_contactbase_createdby", null, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_contactbase_modifiedby")] - public SystemUser lk_contactbase_modifiedby { - get { - return GetRelatedEntity("lk_contactbase_modifiedby", null); - } - set { - SetRelatedEntity("lk_contactbase_modifiedby", null, value); - } - } - - [AttributeLogicalName("msa_managingpartnerid")] - [RelationshipSchemaName("msa_contact_managingpartner")] - public Account msa_contact_managingpartner { - get { - return GetRelatedEntity("msa_contact_managingpartner", null); - } - set { - SetRelatedEntity("msa_contact_managingpartner", null, value); - } - } - - [AttributeLogicalName("preferredsystemuserid")] - [RelationshipSchemaName("system_user_contacts")] - public SystemUser system_user_contacts { - get { - return GetRelatedEntity("system_user_contacts", null); - } - set { - SetRelatedEntity("system_user_contacts", null, value); - } - } - - public static Contact Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - } - - /// - /// Rule used to identify potential duplicates. - /// Display Name: Duplicate Detection Rule - /// - [EntityLogicalName("duplicaterule")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class DuplicateRule : ExtendedEntity { - - public const string EntityLogicalName = "duplicaterule"; - - public const int EntityTypeCode = 4414; - - public DuplicateRule() : - base(EntityLogicalName) { - } - - public DuplicateRule(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("name"); - } - } - - [AttributeLogicalName("duplicateruleid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("duplicateruleid", value); - } - } - - /// - /// Unique identifier of the duplicate detection rule. - /// Display Name: Duplicate Detection Rule - /// - [AttributeLogicalName("duplicateruleid")] - [DisplayName("Duplicate Detection Rule")] - public Guid? DuplicateRuleId { - get { - return GetAttributeValue("duplicateruleid"); - } - set { - SetId("duplicateruleid", value); - } - } - - /// - /// Database table that stores match codes for the record type being evaluated for potential duplicates. - /// Display Name: Base Record Type Match Code Table - /// - [AttributeLogicalName("baseentitymatchcodetable")] - [DisplayName("Base Record Type Match Code Table")] - [MaxLength(50)] - public string BaseEntityMatchCodeTable { - get { - return GetAttributeValue("baseentitymatchcodetable"); - } - } - - /// - /// Record type of the record being evaluated for potential duplicates. - /// Display Name: Base Record Type - /// - [AttributeLogicalName("baseentityname")] - [DisplayName("Base Record Type")] - [MaxLength(160)] - public string BaseEntityName { - get { - return GetAttributeValue("baseentityname"); - } - set { - SetAttributeValue("baseentityname", value); - } - } - - /// - /// Record type of the record being evaluated for potential duplicates. - /// Display Name: Base Record Type - /// - [AttributeLogicalName("baseentitytypecode")] - [DisplayName("Base Record Type")] - public DuplicateRule_BaseEntityTypeCode? BaseEntityTypeCode { - get { - return GetOptionSetValue("baseentitytypecode"); - } - } - - /// - /// For internal use only. - /// Display Name: Row id unique - /// - [AttributeLogicalName("componentidunique")] - [DisplayName("Row id unique")] - public Guid? ComponentIdUnique { - get { - return GetAttributeValue("componentidunique"); - } - } - - /// - /// For internal use only. - /// Display Name: Component State - /// - [AttributeLogicalName("componentstate")] - [DisplayName("Component State")] - public componentstate? ComponentState { - get { - return GetOptionSetValue("componentstate"); - } - } - - /// - /// Unique identifier of the user who created the duplicate detection rule. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Date and time when the duplicate detection rule was created. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Unique identifier of the delegate user who created the duplicaterule. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Description of the duplicate detection rule. - /// Display Name: Description - /// - [AttributeLogicalName("description")] - [DisplayName("Description")] - [MaxLength(2000)] - public string Description { - get { - return GetAttributeValue("description"); - } - set { - SetAttributeValue("description", value); - } - } - - /// - /// Determines whether to flag inactive records as duplicates - /// Display Name: Exclude Inactive Records - /// - [AttributeLogicalName("excludeinactiverecords")] - [DisplayName("Exclude Inactive Records")] - public bool? ExcludeInactiveRecords { - get { - return GetAttributeValue("excludeinactiverecords"); - } - set { - SetAttributeValue("excludeinactiverecords", value); - } - } - - /// - /// Indicates if the operator is case-sensitive. - /// Display Name: Case Sensitive - /// - [AttributeLogicalName("iscasesensitive")] - [DisplayName("Case Sensitive")] - public bool? IsCaseSensitive { - get { - return GetAttributeValue("iscasesensitive"); - } - set { - SetAttributeValue("iscasesensitive", value); - } - } - - /// - /// For internal use only. - /// Display Name: Is Customizable - /// - [AttributeLogicalName("iscustomizable")] - [DisplayName("Is Customizable")] - public BooleanManagedProperty IsCustomizable { - get { - return GetAttributeValue("iscustomizable"); - } - set { - SetAttributeValue("iscustomizable", value); - } - } - - /// - /// Indicates whether the solution component is part of a managed solution. - /// Display Name: Is Managed - /// - [AttributeLogicalName("ismanaged")] - [DisplayName("Is Managed")] - public bool? IsManaged { - get { - return GetAttributeValue("ismanaged"); - } - } - - /// - /// Database table that stores match codes for potential duplicate records. - /// Display Name: Matching Record Type Match Code Table - /// - [AttributeLogicalName("matchingentitymatchcodetable")] - [DisplayName("Matching Record Type Match Code Table")] - [MaxLength(50)] - public string MatchingEntityMatchCodeTable { - get { - return GetAttributeValue("matchingentitymatchcodetable"); - } - } - - /// - /// Record type of the records being evaluated as potential duplicates. - /// Display Name: Matching Record Type - /// - [AttributeLogicalName("matchingentityname")] - [DisplayName("Matching Record Type")] - [MaxLength(160)] - public string MatchingEntityName { - get { - return GetAttributeValue("matchingentityname"); - } - set { - SetAttributeValue("matchingentityname", value); - } - } - - /// - /// Record type of the records being evaluated as potential duplicates. - /// Display Name: Matching Record Type - /// - [AttributeLogicalName("matchingentitytypecode")] - [DisplayName("Matching Record Type")] - public DuplicateRule_MatchingEntityTypeCode? MatchingEntityTypeCode { - get { - return GetOptionSetValue("matchingentitytypecode"); - } - } - - /// - /// Unique identifier of the user who last modified the duplicate detection rule. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Date and time when the duplicate detection rule was last modified. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Unique identifier of the delegate user who last modified the duplicaterule. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Name of the duplicate detection rule. - /// Display Name: Rule Name - /// - [AttributeLogicalName("name")] - [DisplayName("Rule Name")] - [MaxLength(160)] - public string Name { - get { - return GetAttributeValue("name"); - } - set { - SetAttributeValue("name", value); - } - } - - /// - /// For internal use only. - /// Display Name: Record Overwrite Time - /// - [AttributeLogicalName("overwritetime")] - [DisplayName("Record Overwrite Time")] - public DateTime? OverwriteTime { - get { - return GetAttributeValue("overwritetime"); - } - } - - /// - /// Unique identifier of the user or team who owns the duplicate detection rule. - /// Display Name: Owner - /// - [AttributeLogicalName("ownerid")] - [DisplayName("Owner")] - public EntityReference OwnerId { - get { - return GetAttributeValue("ownerid"); - } - set { - SetAttributeValue("ownerid", value); - } - } - - /// - /// Unique identifier of the business unit that owns duplicate detection rule. - /// - [AttributeLogicalName("owningbusinessunit")] - public EntityReference OwningBusinessUnit { - get { - return GetAttributeValue("owningbusinessunit"); - } - } - - /// - /// Unique identifier of the team who owns the duplicate detection rule. - /// Display Name: Owning Team - /// - [AttributeLogicalName("owningteam")] - [DisplayName("Owning Team")] - public EntityReference OwningTeam { - get { - return GetAttributeValue("owningteam"); - } - } - - /// - /// Unique identifier of the user who owns the duplicate detection rule. - /// Display Name: Owning User - /// - [AttributeLogicalName("owninguser")] - [DisplayName("Owning User")] - public EntityReference OwningUser { - get { - return GetAttributeValue("owninguser"); - } - } - - /// - /// Name of the duplicate detection rule. - /// Display Name: Rule Name - /// - [AttributeLogicalName("name")] - [DisplayName("Rule Name")] - [MaxLength(160)] - public string PrimaryNameField { - get { - return GetAttributeValue("name"); - } - set { - SetAttributeValue("name", value); - } - } - - /// - /// Unique identifier of the associated solution. - /// Display Name: Solution - /// - [AttributeLogicalName("solutionid")] - [DisplayName("Solution")] - public Guid? SolutionId { - get { - return GetAttributeValue("solutionid"); - } - } - - /// - /// Status of the duplicate detection rule. - /// Display Name: Status - /// - [AttributeLogicalName("statecode")] - [DisplayName("Status")] - public DuplicateRuleState? StateCode { - get { - return GetOptionSetValue("statecode"); - } - } - - /// - /// Reason for the status of the duplicate detection rule. - /// Display Name: Status Reason - /// - [AttributeLogicalName("statuscode")] - [DisplayName("Status Reason")] - public DuplicateRule_StatusCode? StatusCode { - get { - return GetOptionSetValue("statuscode"); - } - set { - SetOptionSetValue("statuscode", value); - } - } - - /// - /// For internal use only. - /// - [AttributeLogicalName("timezoneruleversionnumber")] - [Range(-1, 2147483647)] - public int? TimeZoneRuleVersionNumber { - get { - return GetAttributeValue("timezoneruleversionnumber"); - } - set { - SetAttributeValue("timezoneruleversionnumber", value); - } - } - - /// - /// Time zone code that was in use when the record was created. - /// - [AttributeLogicalName("utcconversiontimezonecode")] - [Range(-1, 2147483647)] - public int? UTCConversionTimeZoneCode { - get { - return GetAttributeValue("utcconversiontimezonecode"); - } - set { - SetAttributeValue("utcconversiontimezonecode", value); - } - } - - /// - /// Display Name: UniqueName - /// - [AttributeLogicalName("uniquename")] - [DisplayName("UniqueName")] - [MaxLength(100)] - public string UniqueName { - get { - return GetAttributeValue("uniquename"); - } - set { - SetAttributeValue("uniquename", value); - } - } - - [RelationshipSchemaName("DuplicateRule_Annotation")] - public IEnumerable DuplicateRule_Annotation { - get { - return GetRelatedEntities("DuplicateRule_Annotation", null); - } - set { - SetRelatedEntities("DuplicateRule_Annotation", null, value); - } - } - - [AttributeLogicalName("owninguser")] - [RelationshipSchemaName("SystemUser_DuplicateRules")] - public SystemUser SystemUser_DuplicateRules { - get { - return GetRelatedEntity("SystemUser_DuplicateRules", null); - } - set { - SetRelatedEntity("SystemUser_DuplicateRules", null, value); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_duplicaterule_createdonbehalfby")] - public SystemUser lk_duplicaterule_createdonbehalfby { - get { - return GetRelatedEntity("lk_duplicaterule_createdonbehalfby", null); - } - set { - SetRelatedEntity("lk_duplicaterule_createdonbehalfby", null, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_duplicaterule_modifiedonbehalfby")] - public SystemUser lk_duplicaterule_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_duplicaterule_modifiedonbehalfby", null); - } - set { - SetRelatedEntity("lk_duplicaterule_modifiedonbehalfby", null, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_duplicaterulebase_createdby")] - public SystemUser lk_duplicaterulebase_createdby { - get { - return GetRelatedEntity("lk_duplicaterulebase_createdby", null); - } - set { - SetRelatedEntity("lk_duplicaterulebase_createdby", null, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_duplicaterulebase_modifiedby")] - public SystemUser lk_duplicaterulebase_modifiedby { - get { - return GetRelatedEntity("lk_duplicaterulebase_modifiedby", null); - } - set { - SetRelatedEntity("lk_duplicaterulebase_modifiedby", null, value); - } - } - - public static DuplicateRule Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - - /// - /// Retrieves the record using the alternate key called 'dupdetectionuniquekey' - /// - public static DuplicateRule Retrieve_dupdetectionuniquekey(IOrganizationService service, componentstate ComponentState, DateTime OverwriteTime, string UniqueName, params Expression>[] attrs) { - KeyAttributeCollection keys = new KeyAttributeCollection(); - keys.Add("componentstate", ComponentState); - keys.Add("overwritetime", OverwriteTime); - keys.Add("uniquename", UniqueName); - return Retrieve_AltKey(service, keys, attrs); - } - - /// - /// Set values for the alternate key called 'dupdetectionuniquekey' - /// - public void AltKey_dupdetectionuniquekey(componentstate ComponentState, DateTime OverwriteTime, string UniqueName) { - KeyAttributes.Clear(); - KeyAttributes.Add("componentstate", ComponentState); - KeyAttributes.Add("overwritetime", OverwriteTime); - KeyAttributes.Add("uniquename", UniqueName); - } - } - - /// - /// Contains information about the settable variable: its type, default value, and etc. - /// Display Name: Environment Variable Definition - /// - [EntityLogicalName("environmentvariabledefinition")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class EnvironmentVariableDefinition : ExtendedEntity { - - public const string EntityLogicalName = "environmentvariabledefinition"; - - public const int EntityTypeCode = 380; - - public EnvironmentVariableDefinition() : - base(EntityLogicalName) { - } - - public EnvironmentVariableDefinition(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("schemaname"); - } - } - - [AttributeLogicalName("environmentvariabledefinitionid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("environmentvariabledefinitionid", value); - } - } - - /// - /// Unique identifier for entity instances - /// Display Name: Environment Variable Definition - /// - [AttributeLogicalName("environmentvariabledefinitionid")] - [DisplayName("Environment Variable Definition")] - public Guid? EnvironmentVariableDefinitionId { - get { - return GetAttributeValue("environmentvariabledefinitionid"); - } - set { - SetId("environmentvariabledefinitionid", value); - } - } - - /// - /// Display Name: API Id - /// - [AttributeLogicalName("apiid")] - [DisplayName("API Id")] - [MaxLength(150)] - public string ApiId { - get { - return GetAttributeValue("apiid"); - } - set { - SetAttributeValue("apiid", value); - } - } - - /// - /// For internal use only. - /// Display Name: Component State - /// - [AttributeLogicalName("componentstate")] - [DisplayName("Component State")] - public componentstate? ComponentState { - get { - return GetOptionSetValue("componentstate"); - } - } - - /// - /// Unique identifier for Connection Reference associated with Environment Variable Definition. - /// Display Name: Connection Reference - /// - [AttributeLogicalName("connectionreferenceid")] - [DisplayName("Connection Reference")] - public EntityReference ConnectionReferenceId { - get { - return GetAttributeValue("connectionreferenceid"); - } - set { - SetAttributeValue("connectionreferenceid", value); - } - } - - /// - /// Unique identifier of the user who created the record. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Date and time when the record was created. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Unique identifier of the delegate user who created the record. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Default variable value to be used if no associated EnvironmentVariableValue entities exist. - /// Display Name: Default Value - /// - [AttributeLogicalName("defaultvalue")] - [DisplayName("Default Value")] - public string DefaultValue { - get { - return GetAttributeValue("defaultvalue"); - } - set { - SetAttributeValue("defaultvalue", value); - } - } - - /// - /// Description of the variable definition. - /// Display Name: Description - /// - [AttributeLogicalName("description")] - [DisplayName("Description")] - public string Description { - get { - return GetAttributeValue("description"); - } - set { - SetAttributeValue("description", value); - } - } - - /// - /// Display Name of the variable definition. - /// Display Name: Display Name - /// - [AttributeLogicalName("displayname")] - [DisplayName("Display Name")] - [MaxLength(100)] - public string DisplayName { - get { - return GetAttributeValue("displayname"); - } - set { - SetAttributeValue("displayname", value); - } - } - - /// - /// For internal use only. - /// - [AttributeLogicalName("environmentvariabledefinitionidunique")] - public Guid? EnvironmentVariableDefinitionIdUnique { - get { - return GetAttributeValue("environmentvariabledefinitionidunique"); - } - } - - /// - /// For internal use only. - /// Display Name: Hint - /// - [AttributeLogicalName("hint")] - [DisplayName("Hint")] - public string Hint { - get { - return GetAttributeValue("hint"); - } - set { - SetAttributeValue("hint", value); - } - } - - /// - /// Sequence number of the import that created this record. - /// Display Name: Import Sequence Number - /// - [AttributeLogicalName("importsequencenumber")] - [DisplayName("Import Sequence Number")] - [Range(-2147483648, 2147483647)] - public int? ImportSequenceNumber { - get { - return GetAttributeValue("importsequencenumber"); - } - set { - SetAttributeValue("importsequencenumber", value); - } - } - - /// - /// A JSON object describing the options for the input control that should be presented to the user for setting the current value of the Environment variable. - /// Display Name: Input Control Config - /// - [AttributeLogicalName("inputcontrolconfig")] - [DisplayName("Input Control Config")] - public string InputControlConfig { - get { - return GetAttributeValue("inputcontrolconfig"); - } - set { - SetAttributeValue("inputcontrolconfig", value); - } - } - - /// - /// Version in which the form is introduced. - /// Display Name: Introduced Version - /// - [AttributeLogicalName("introducedversion")] - [DisplayName("Introduced Version")] - [MaxLength(48)] - public string IntroducedVersion { - get { - return GetAttributeValue("introducedversion"); - } - set { - SetAttributeValue("introducedversion", value); - } - } - - /// - /// Tells whether the component can be customized. - /// Display Name: Customizable - /// - [AttributeLogicalName("iscustomizable")] - [DisplayName("Customizable")] - public BooleanManagedProperty IsCustomizable { - get { - return GetAttributeValue("iscustomizable"); - } - set { - SetAttributeValue("iscustomizable", value); - } - } - - /// - /// Indicates whether the solution component is part of a managed solution. - /// Display Name: Is Managed - /// - [AttributeLogicalName("ismanaged")] - [DisplayName("Is Managed")] - public bool? IsManaged { - get { - return GetAttributeValue("ismanaged"); - } - } - - /// - /// For internal use only. - /// Display Name: Is Required - /// - [AttributeLogicalName("isrequired")] - [DisplayName("Is Required")] - public bool? IsRequired { - get { - return GetAttributeValue("isrequired"); - } - set { - SetAttributeValue("isrequired", value); - } - } - - /// - /// Clicking on this url will take the user to a webpage which further explains the environment variable being populated. - /// Display Name: Learn More Url - /// - [AttributeLogicalName("learnmoreurl")] - [DisplayName("Learn More Url")] - [MaxLength(2000)] - public string LearnMoreUrl { - get { - return GetAttributeValue("learnmoreurl"); - } - set { - SetAttributeValue("learnmoreurl", value); - } - } - - /// - /// Unique identifier of the user who modified the record. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Date and time when the record was modified. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Unique identifier of the delegate user who modified the record. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Date and time that the record was migrated. - /// Display Name: Record Created On - /// - [AttributeLogicalName("overriddencreatedon")] - [DisplayName("Record Created On")] - public DateTime? OverriddenCreatedOn { - get { - return GetAttributeValue("overriddencreatedon"); - } - set { - SetAttributeValue("overriddencreatedon", value); - } - } - - /// - /// For internal use only. - /// Display Name: Record Overwrite Time - /// - [AttributeLogicalName("overwritetime")] - [DisplayName("Record Overwrite Time")] - public DateTime? OverwriteTime { - get { - return GetAttributeValue("overwritetime"); - } - } - - /// - /// Owner Id - /// Display Name: Owner - /// - [AttributeLogicalName("ownerid")] - [DisplayName("Owner")] - public EntityReference OwnerId { - get { - return GetAttributeValue("ownerid"); - } - set { - SetAttributeValue("ownerid", value); - } - } - - /// - /// Unique identifier for the business unit that owns the record - /// Display Name: Owning Business Unit - /// - [AttributeLogicalName("owningbusinessunit")] - [DisplayName("Owning Business Unit")] - public EntityReference OwningBusinessUnit { - get { - return GetAttributeValue("owningbusinessunit"); - } - } - - /// - /// Unique identifier for the team that owns the record. - /// Display Name: Owning Team - /// - [AttributeLogicalName("owningteam")] - [DisplayName("Owning Team")] - public EntityReference OwningTeam { - get { - return GetAttributeValue("owningteam"); - } - } - - /// - /// Unique identifier for the user that owns the record. - /// Display Name: Owning User - /// - [AttributeLogicalName("owninguser")] - [DisplayName("Owning User")] - public EntityReference OwningUser { - get { - return GetAttributeValue("owninguser"); - } - } - - /// - /// Display Name: Parameter Key - /// - [AttributeLogicalName("parameterkey")] - [DisplayName("Parameter Key")] - [MaxLength(150)] - public string ParameterKey { - get { - return GetAttributeValue("parameterkey"); - } - set { - SetAttributeValue("parameterkey", value); - } - } - - /// - /// Unique identifier for Environment Variable Definition associated with Environment Variable Definition. - /// Display Name: Parent Definition - /// - [AttributeLogicalName("parentdefinitionid")] - [DisplayName("Parent Definition")] - public EntityReference ParentDefinitionId { - get { - return GetAttributeValue("parentdefinitionid"); - } - set { - SetAttributeValue("parentdefinitionid", value); - } - } - - /// - /// Unique entity name. - /// Display Name: Schema Name - /// - [AttributeLogicalName("schemaname")] - [DisplayName("Schema Name")] - [MaxLength(100)] - public string PrimaryNameField { - get { - return GetAttributeValue("schemaname"); - } - set { - SetAttributeValue("schemaname", value); - } - } - - /// - /// Unique entity name. - /// Display Name: Schema Name - /// - [AttributeLogicalName("schemaname")] - [DisplayName("Schema Name")] - [MaxLength(100)] - public string SchemaName { - get { - return GetAttributeValue("schemaname"); - } - set { - SetAttributeValue("schemaname", value); - } - } - - /// - /// Environment variable secret store. - /// Display Name: SecretStore - /// - [AttributeLogicalName("secretstore")] - [DisplayName("SecretStore")] - public EnvironmentVariableDefinition_SecretStore? SecretStore { - get { - return GetOptionSetValue("secretstore"); - } - set { - SetOptionSetValue("secretstore", value); - } - } - - /// - /// Unique identifier of the associated solution. - /// Display Name: Solution - /// - [AttributeLogicalName("solutionid")] - [DisplayName("Solution")] - public Guid? SolutionId { - get { - return GetAttributeValue("solutionid"); - } - } - - /// - /// For internal use only. - /// Display Name: Time Zone Rule Version Number - /// - [AttributeLogicalName("timezoneruleversionnumber")] - [DisplayName("Time Zone Rule Version Number")] - [Range(-1, 2147483647)] - public int? TimeZoneRuleVersionNumber { - get { - return GetAttributeValue("timezoneruleversionnumber"); - } - set { - SetAttributeValue("timezoneruleversionnumber", value); - } - } - - /// - /// Environment variable value type. - /// Display Name: Type - /// - [AttributeLogicalName("type")] - [DisplayName("Type")] - public EnvironmentVariableDefinition_Type? Type { - get { - return GetOptionSetValue("type"); - } - set { - SetOptionSetValue("type", value); - } - } - - /// - /// Time zone code that was in use when the record was created. - /// Display Name: UTC Conversion Time Zone Code - /// - [AttributeLogicalName("utcconversiontimezonecode")] - [DisplayName("UTC Conversion Time Zone Code")] - [Range(-1, 2147483647)] - public int? UTCConversionTimeZoneCode { - get { - return GetAttributeValue("utcconversiontimezonecode"); - } - set { - SetAttributeValue("utcconversiontimezonecode", value); - } - } - - /// - /// For internal use only. - /// Display Name: Value Schema - /// - [AttributeLogicalName("valueschema")] - [DisplayName("Value Schema")] - public string ValueSchema { - get { - return GetAttributeValue("valueschema"); - } - set { - SetAttributeValue("valueschema", value); - } - } - - /// - /// Version Number - /// Display Name: Version Number - /// - [AttributeLogicalName("versionnumber")] - [DisplayName("Version Number")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - /// - /// Status of the Environment Variable Definition - /// Display Name: Status - /// - [AttributeLogicalName("statecode")] - [DisplayName("Status")] - public EnvironmentVariableDefinitionState? statecode { - get { - return GetOptionSetValue("statecode"); - } - set { - SetOptionSetValue("statecode", value); - } - } - - /// - /// Reason for the status of the Environment Variable Definition - /// Display Name: Status Reason - /// - [AttributeLogicalName("statuscode")] - [DisplayName("Status Reason")] - public EnvironmentVariableDefinition_statuscode? statuscode { - get { - return GetOptionSetValue("statuscode"); - } - set { - SetOptionSetValue("statuscode", value); - } - } - - [RelationshipSchemaName("envdefinition_envdefinition", EntityRole.Referenced)] - public IEnumerable Referencedenvdefinition_envdefinition { - get { - return GetRelatedEntities("envdefinition_envdefinition", EntityRole.Referenced); - } - set { - SetRelatedEntities("envdefinition_envdefinition", EntityRole.Referenced, value); - } - } - - [AttributeLogicalName("parentdefinitionid")] - [RelationshipSchemaName("envdefinition_envdefinition", EntityRole.Referencing)] - public EnvironmentVariableDefinition Referencingenvdefinition_envdefinition { - get { - return GetRelatedEntity("envdefinition_envdefinition", EntityRole.Referencing); - } - set { - SetRelatedEntity("envdefinition_envdefinition", EntityRole.Referencing, value); - } - } - - [RelationshipSchemaName("environmentvariabledefinition_environmentvariablevalue")] - public IEnumerable environmentvariabledefinition_environmentvariablevalue { - get { - return GetRelatedEntities("environmentvariabledefinition_environmentvariablevalue", null); - } - set { - SetRelatedEntities("environmentvariabledefinition_environmentvariablevalue", null, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_environmentvariabledefinition_createdby")] - public SystemUser lk_environmentvariabledefinition_createdby { - get { - return GetRelatedEntity("lk_environmentvariabledefinition_createdby", null); - } - set { - SetRelatedEntity("lk_environmentvariabledefinition_createdby", null, value); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_environmentvariabledefinition_createdonbehalfby")] - public SystemUser lk_environmentvariabledefinition_createdonbehalfby { - get { - return GetRelatedEntity("lk_environmentvariabledefinition_createdonbehalfby", null); - } - set { - SetRelatedEntity("lk_environmentvariabledefinition_createdonbehalfby", null, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_environmentvariabledefinition_modifiedby")] - public SystemUser lk_environmentvariabledefinition_modifiedby { - get { - return GetRelatedEntity("lk_environmentvariabledefinition_modifiedby", null); - } - set { - SetRelatedEntity("lk_environmentvariabledefinition_modifiedby", null, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_environmentvariabledefinition_modifiedonbehalfby")] - public SystemUser lk_environmentvariabledefinition_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_environmentvariabledefinition_modifiedonbehalfby", null); - } - set { - SetRelatedEntity("lk_environmentvariabledefinition_modifiedonbehalfby", null, value); - } - } - - [AttributeLogicalName("owninguser")] - [RelationshipSchemaName("user_environmentvariabledefinition")] - public SystemUser user_environmentvariabledefinition { - get { - return GetRelatedEntity("user_environmentvariabledefinition", null); - } - set { - SetRelatedEntity("user_environmentvariabledefinition", null, value); - } - } - - public static EnvironmentVariableDefinition Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - - /// - /// Retrieves the record using the alternate key called 'Environment Variable Definition Key' - /// - public static EnvironmentVariableDefinition Retrieve_DefinitionKey(IOrganizationService service, componentstate ComponentState, string SchemaName, DateTime OverwriteTime, params Expression>[] attrs) { - KeyAttributeCollection keys = new KeyAttributeCollection(); - keys.Add("componentstate", ComponentState); - keys.Add("schemaname", SchemaName); - keys.Add("overwritetime", OverwriteTime); - return Retrieve_AltKey(service, keys, attrs); - } - - /// - /// Set values for the alternate key called 'Environment Variable Definition Key' - /// - public void AltKey_DefinitionKey(componentstate ComponentState, string SchemaName, DateTime OverwriteTime) { - KeyAttributes.Clear(); - KeyAttributes.Add("componentstate", ComponentState); - KeyAttributes.Add("schemaname", SchemaName); - KeyAttributes.Add("overwritetime", OverwriteTime); - } - } - - /// - /// Holds the value for the associated EnvironmentVariableDefinition entity. - /// Display Name: Environment Variable Value - /// - [EntityLogicalName("environmentvariablevalue")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class EnvironmentVariableValue : ExtendedEntity { - - public const string EntityLogicalName = "environmentvariablevalue"; - - public const int EntityTypeCode = 381; - - public EnvironmentVariableValue() : - base(EntityLogicalName) { - } - - public EnvironmentVariableValue(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("schemaname"); - } - } - - [AttributeLogicalName("environmentvariablevalueid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("environmentvariablevalueid", value); - } - } - - /// - /// Unique identifier for entity instances - /// Display Name: Environment Variable Value - /// - [AttributeLogicalName("environmentvariablevalueid")] - [DisplayName("Environment Variable Value")] - public Guid? EnvironmentVariableValueId { - get { - return GetAttributeValue("environmentvariablevalueid"); - } - set { - SetId("environmentvariablevalueid", value); - } - } - - /// - /// For internal use only. - /// Display Name: Component State - /// - [AttributeLogicalName("componentstate")] - [DisplayName("Component State")] - public componentstate? ComponentState { - get { - return GetOptionSetValue("componentstate"); - } - } - - /// - /// Unique identifier of the user who created the record. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Date and time when the record was created. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Unique identifier of the delegate user who created the record. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Unique identifier for Environment Variable Definition associated with Environment Variable Value. - /// Display Name: Environment Variable Definition - /// - [AttributeLogicalName("environmentvariabledefinitionid")] - [DisplayName("Environment Variable Definition")] - public EntityReference EnvironmentVariableDefinitionId { - get { - return GetAttributeValue("environmentvariabledefinitionid"); - } - set { - SetAttributeValue("environmentvariabledefinitionid", value); - } - } - - /// - /// For internal use only. - /// - [AttributeLogicalName("environmentvariablevalueidunique")] - public Guid? EnvironmentVariableValueIdUnique { - get { - return GetAttributeValue("environmentvariablevalueidunique"); - } - } - - /// - /// Sequence number of the import that created this record. - /// Display Name: Import Sequence Number - /// - [AttributeLogicalName("importsequencenumber")] - [DisplayName("Import Sequence Number")] - [Range(-2147483648, 2147483647)] - public int? ImportSequenceNumber { - get { - return GetAttributeValue("importsequencenumber"); - } - set { - SetAttributeValue("importsequencenumber", value); - } - } - - /// - /// Version in which the form is introduced. - /// Display Name: Introduced Version - /// - [AttributeLogicalName("introducedversion")] - [DisplayName("Introduced Version")] - [MaxLength(48)] - public string IntroducedVersion { - get { - return GetAttributeValue("introducedversion"); - } - set { - SetAttributeValue("introducedversion", value); - } - } - - /// - /// Tells whether the component can be customized. - /// Display Name: Customizable - /// - [AttributeLogicalName("iscustomizable")] - [DisplayName("Customizable")] - public BooleanManagedProperty IsCustomizable { - get { - return GetAttributeValue("iscustomizable"); - } - set { - SetAttributeValue("iscustomizable", value); - } - } - - /// - /// Indicates whether the solution component is part of a managed solution. - /// Display Name: Is Managed - /// - [AttributeLogicalName("ismanaged")] - [DisplayName("Is Managed")] - public bool? IsManaged { - get { - return GetAttributeValue("ismanaged"); - } - } - - /// - /// Unique identifier of the user who modified the record. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Date and time when the record was modified. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Unique identifier of the delegate user who modified the record. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Date and time that the record was migrated. - /// Display Name: Record Created On - /// - [AttributeLogicalName("overriddencreatedon")] - [DisplayName("Record Created On")] - public DateTime? OverriddenCreatedOn { - get { - return GetAttributeValue("overriddencreatedon"); - } - set { - SetAttributeValue("overriddencreatedon", value); - } - } - - /// - /// For internal use only. - /// Display Name: Record Overwrite Time - /// - [AttributeLogicalName("overwritetime")] - [DisplayName("Record Overwrite Time")] - public DateTime? OverwriteTime { - get { - return GetAttributeValue("overwritetime"); - } - } - - /// - /// Owner Id - /// Display Name: Owner - /// - [AttributeLogicalName("ownerid")] - [DisplayName("Owner")] - public EntityReference OwnerId { - get { - return GetAttributeValue("ownerid"); - } - } - - /// - /// Unique identifier for the business unit that owns the record - /// Display Name: Owning Business Unit - /// - [AttributeLogicalName("owningbusinessunit")] - [DisplayName("Owning Business Unit")] - public EntityReference OwningBusinessUnit { - get { - return GetAttributeValue("owningbusinessunit"); - } - } - - /// - /// Unique identifier for the team that owns the record. - /// Display Name: Owning Team - /// - [AttributeLogicalName("owningteam")] - [DisplayName("Owning Team")] - public EntityReference OwningTeam { - get { - return GetAttributeValue("owningteam"); - } - } - - /// - /// Unique identifier for the user that owns the record. - /// Display Name: Owning User - /// - [AttributeLogicalName("owninguser")] - [DisplayName("Owning User")] - public EntityReference OwningUser { - get { - return GetAttributeValue("owninguser"); - } - } - - /// - /// Unique entity name. - /// Display Name: Schema Name - /// - [AttributeLogicalName("schemaname")] - [DisplayName("Schema Name")] - [MaxLength(100)] - public string PrimaryNameField { - get { - return GetAttributeValue("schemaname"); - } - set { - SetAttributeValue("schemaname", value); - } - } - - /// - /// Unique entity name. - /// Display Name: Schema Name - /// - [AttributeLogicalName("schemaname")] - [DisplayName("Schema Name")] - [MaxLength(100)] - public string SchemaName { - get { - return GetAttributeValue("schemaname"); - } - set { - SetAttributeValue("schemaname", value); - } - } - - /// - /// Unique identifier of the associated solution. - /// Display Name: Solution - /// - [AttributeLogicalName("solutionid")] - [DisplayName("Solution")] - public Guid? SolutionId { - get { - return GetAttributeValue("solutionid"); - } - } - - /// - /// For internal use only. - /// Display Name: Time Zone Rule Version Number - /// - [AttributeLogicalName("timezoneruleversionnumber")] - [DisplayName("Time Zone Rule Version Number")] - [Range(-1, 2147483647)] - public int? TimeZoneRuleVersionNumber { - get { - return GetAttributeValue("timezoneruleversionnumber"); - } - set { - SetAttributeValue("timezoneruleversionnumber", value); - } - } - - /// - /// Time zone code that was in use when the record was created. - /// Display Name: UTC Conversion Time Zone Code - /// - [AttributeLogicalName("utcconversiontimezonecode")] - [DisplayName("UTC Conversion Time Zone Code")] - [Range(-1, 2147483647)] - public int? UTCConversionTimeZoneCode { - get { - return GetAttributeValue("utcconversiontimezonecode"); - } - set { - SetAttributeValue("utcconversiontimezonecode", value); - } - } - - /// - /// Contains the actual variable data. - /// Display Name: Value - /// - [AttributeLogicalName("value")] - [DisplayName("Value")] - public string Value { - get { - return GetAttributeValue("value"); - } - set { - SetAttributeValue("value", value); - } - } - - /// - /// Version Number - /// Display Name: Version Number - /// - [AttributeLogicalName("versionnumber")] - [DisplayName("Version Number")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - /// - /// Status of the Environment Variable Value - /// Display Name: Status - /// - [AttributeLogicalName("statecode")] - [DisplayName("Status")] - public EnvironmentVariableValueState? statecode { - get { - return GetOptionSetValue("statecode"); - } - set { - SetOptionSetValue("statecode", value); - } - } - - /// - /// Reason for the status of the Environment Variable Value - /// Display Name: Status Reason - /// - [AttributeLogicalName("statuscode")] - [DisplayName("Status Reason")] - public EnvironmentVariableValue_statuscode? statuscode { - get { - return GetOptionSetValue("statuscode"); - } - set { - SetOptionSetValue("statuscode", value); - } - } - - [AttributeLogicalName("environmentvariabledefinitionid")] - [RelationshipSchemaName("environmentvariabledefinition_environmentvariablevalue")] - public EnvironmentVariableDefinition environmentvariabledefinition_environmentvariablevalue { - get { - return GetRelatedEntity("environmentvariabledefinition_environmentvariablevalue", null); - } - set { - SetRelatedEntity("environmentvariabledefinition_environmentvariablevalue", null, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_environmentvariablevalue_createdby")] - public SystemUser lk_environmentvariablevalue_createdby { - get { - return GetRelatedEntity("lk_environmentvariablevalue_createdby", null); - } - set { - SetRelatedEntity("lk_environmentvariablevalue_createdby", null, value); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_environmentvariablevalue_createdonbehalfby")] - public SystemUser lk_environmentvariablevalue_createdonbehalfby { - get { - return GetRelatedEntity("lk_environmentvariablevalue_createdonbehalfby", null); - } - set { - SetRelatedEntity("lk_environmentvariablevalue_createdonbehalfby", null, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_environmentvariablevalue_modifiedby")] - public SystemUser lk_environmentvariablevalue_modifiedby { - get { - return GetRelatedEntity("lk_environmentvariablevalue_modifiedby", null); - } - set { - SetRelatedEntity("lk_environmentvariablevalue_modifiedby", null, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_environmentvariablevalue_modifiedonbehalfby")] - public SystemUser lk_environmentvariablevalue_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_environmentvariablevalue_modifiedonbehalfby", null); - } - set { - SetRelatedEntity("lk_environmentvariablevalue_modifiedonbehalfby", null, value); - } - } - - public static EnvironmentVariableValue Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - - /// - /// Retrieves the record using the alternate key called 'Environmentvariable Definition Id Key' - /// - public static EnvironmentVariableValue Retrieve_EnvironmentvariableDefinitionIdKey(IOrganizationService service, componentstate ComponentState, EntityReference EnvironmentVariableDefinitionId, DateTime OverwriteTime, params Expression>[] attrs) { - KeyAttributeCollection keys = new KeyAttributeCollection(); - keys.Add("componentstate", ComponentState); - keys.Add("environmentvariabledefinitionid", EnvironmentVariableDefinitionId); - keys.Add("overwritetime", OverwriteTime); - return Retrieve_AltKey(service, keys, attrs); - } - - /// - /// Set values for the alternate key called 'Environmentvariable Definition Id Key' - /// - public void AltKey_EnvironmentvariableDefinitionIdKey(componentstate ComponentState, EntityReference EnvironmentVariableDefinitionId, DateTime OverwriteTime) { - KeyAttributes.Clear(); - KeyAttributes.Add("componentstate", ComponentState); - KeyAttributes.Add("environmentvariabledefinitionid", EnvironmentVariableDefinitionId); - KeyAttributes.Add("overwritetime", OverwriteTime); - } - } - - /// - /// A list of records that require action, such as accounts, activities, and cases. - /// Display Name: Queue - /// - [EntityLogicalName("queue")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class Queue : ExtendedEntity { - - public const string EntityLogicalName = "queue"; - - public const int EntityTypeCode = 2020; - - public Queue() : - base(EntityLogicalName) { - } - - public Queue(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("name"); - } - } - - [AttributeLogicalName("queueid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("queueid", value); - } - } - - /// - /// Unique identifier of the queue. - /// Display Name: Queue - /// - [AttributeLogicalName("queueid")] - [DisplayName("Queue")] - public Guid? QueueId { - get { - return GetAttributeValue("queueid"); - } - set { - SetId("queueid", value); - } - } - - /// - /// This attribute is no longer used. The data is now in the Mailbox.AllowEmailConnectorToUseCredentials attribute. - /// Display Name: Allow to Use Credentials for Email Processing (Obsolete) - /// - [AttributeLogicalName("allowemailcredentials")] - [DisplayName("Allow to Use Credentials for Email Processing (Obsolete)")] - public bool? AllowEmailCredentials { - get { - return GetAttributeValue("allowemailcredentials"); - } - } - - /// - /// Unique identifier of the business unit with which the queue is associated. - /// Display Name: Business Unit - /// - [AttributeLogicalName("businessunitid")] - [DisplayName("Business Unit")] - public EntityReference BusinessUnitId { - get { - return GetAttributeValue("businessunitid"); - } - set { - SetAttributeValue("businessunitid", value); - } - } - - /// - /// Unique identifier of the user who created the queue record. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Date and time when the queue was created. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Unique identifier of the delegate user who created the queue. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Select the mailbox associated with this queue. - /// Display Name: Mailbox - /// - [AttributeLogicalName("defaultmailbox")] - [DisplayName("Mailbox")] - public EntityReference DefaultMailbox { - get { - return GetAttributeValue("defaultmailbox"); - } - } - - /// - /// Description of the queue. - /// Display Name: Description - /// - [AttributeLogicalName("description")] - [DisplayName("Description")] - public string Description { - get { - return GetAttributeValue("description"); - } - set { - SetAttributeValue("description", value); - } - } - - /// - /// Email address that is associated with the queue. - /// Display Name: Incoming Email - /// - [AttributeLogicalName("emailaddress")] - [DisplayName("Incoming Email")] - [MaxLength(100)] - public string EMailAddress { - get { - return GetAttributeValue("emailaddress"); - } - set { - SetAttributeValue("emailaddress", value); - } - } - - /// - /// This attribute is no longer used. The data is now in the Mailbox.Password attribute. - /// Display Name: Password (Obsolete) - /// - [AttributeLogicalName("emailpassword")] - [DisplayName("Password (Obsolete)")] - [MaxLength(200)] - public string EmailPassword { - get { - return GetAttributeValue("emailpassword"); - } - } - - /// - /// Shows the status of the primary email address. - /// Display Name: Primary Email Status - /// - [AttributeLogicalName("emailrouteraccessapproval")] - [DisplayName("Primary Email Status")] - public Queue_EmailRouterAccessApproval? EmailRouterAccessApproval { - get { - return GetOptionSetValue("emailrouteraccessapproval"); - } - set { - SetOptionSetValue("emailrouteraccessapproval", value); - } - } - - /// - /// This attribute is no longer used. The data is now in the Mailbox.UserName attribute. - /// Display Name: User Name (Obsolete) - /// - [AttributeLogicalName("emailusername")] - [DisplayName("User Name (Obsolete)")] - [MaxLength(200)] - public string EmailUsername { - get { - return GetAttributeValue("emailusername"); - } - } - - /// - /// For internal use only. - /// Display Name: Entity Image Id - /// - [AttributeLogicalName("entityimageid")] - [DisplayName("Entity Image Id")] - public Guid? EntityImageId { - get { - return GetAttributeValue("entityimageid"); - } - } - - /// - /// Exchange rate for the currency associated with the queue with respect to the base currency. - /// Display Name: Exchange Rate - /// - [AttributeLogicalName("exchangerate")] - [DisplayName("Exchange Rate")] - public decimal? ExchangeRate { - get { - return GetAttributeValue("exchangerate"); - } - } - - /// - /// Information that specifies whether a queue is to ignore unsolicited email (deprecated). - /// Display Name: Convert To Email Activities - /// - [AttributeLogicalName("ignoreunsolicitedemail")] - [DisplayName("Convert To Email Activities")] - public bool? IgnoreUnsolicitedEmail { - get { - return GetAttributeValue("ignoreunsolicitedemail"); - } - set { - SetAttributeValue("ignoreunsolicitedemail", value); - } - } - - /// - /// Unique identifier of the data import or data migration that created this record. - /// Display Name: Import Sequence Number - /// - [AttributeLogicalName("importsequencenumber")] - [DisplayName("Import Sequence Number")] - [Range(-2147483648, 2147483647)] - public int? ImportSequenceNumber { - get { - return GetAttributeValue("importsequencenumber"); - } - set { - SetAttributeValue("importsequencenumber", value); - } - } - - /// - /// Incoming email delivery method for the queue. - /// Display Name: Incoming Email Delivery Method - /// - [AttributeLogicalName("incomingemaildeliverymethod")] - [DisplayName("Incoming Email Delivery Method")] - public Queue_IncomingEmailDeliveryMethod? IncomingEmailDeliveryMethod { - get { - return GetOptionSetValue("incomingemaildeliverymethod"); - } - set { - SetOptionSetValue("incomingemaildeliverymethod", value); - } - } - - /// - /// Convert Incoming Email To Activities - /// Display Name: Convert Incoming Email To Activities - /// - [AttributeLogicalName("incomingemailfilteringmethod")] - [DisplayName("Convert Incoming Email To Activities")] - public Queue_IncomingEmailFilteringMethod? IncomingEmailFilteringMethod { - get { - return GetOptionSetValue("incomingemailfilteringmethod"); - } - set { - SetOptionSetValue("incomingemailfilteringmethod", value); - } - } - - /// - /// Shows the status of approval of the email address by O365 Admin. - /// Display Name: Email Address O365 Admin Approval Status - /// - [AttributeLogicalName("isemailaddressapprovedbyo365admin")] - [DisplayName("Email Address O365 Admin Approval Status")] - public bool? IsEmailAddressApprovedByO365Admin { - get { - return GetAttributeValue("isemailaddressapprovedbyo365admin"); - } - } - - /// - /// Indication of whether a queue is the fax delivery queue. - /// Display Name: Fax Queue - /// - [AttributeLogicalName("isfaxqueue")] - [DisplayName("Fax Queue")] - public bool? IsFaxQueue { - get { - return GetAttributeValue("isfaxqueue"); - } - } - - /// - /// Unique identifier of the user who last modified the queue. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Date and time when the queue was last modified. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Unique identifier of the delegate user who last modified the queue. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Name of the queue. - /// Display Name: Name - /// - [AttributeLogicalName("name")] - [DisplayName("Name")] - [MaxLength(200)] - public string Name { - get { - return GetAttributeValue("name"); - } - set { - SetAttributeValue("name", value); - } - } - - /// - /// Number of Queue items associated with the queue. - /// Display Name: Queue Items - /// - [AttributeLogicalName("numberofitems")] - [DisplayName("Queue Items")] - [Range(-2147483648, 2147483647)] - public int? NumberOfItems { - get { - return GetAttributeValue("numberofitems"); - } - } - - /// - /// Number of Members associated with the queue. - /// Display Name: No. of Members - /// - [AttributeLogicalName("numberofmembers")] - [DisplayName("No. of Members")] - [Range(-2147483648, 2147483647)] - public int? NumberOfMembers { - get { - return GetAttributeValue("numberofmembers"); - } - } - - /// - /// Unique identifier of the organization associated with the queue. - /// Display Name: Organization - /// - [AttributeLogicalName("organizationid")] - [DisplayName("Organization")] - public EntityReference OrganizationId { - get { - return GetAttributeValue("organizationid"); - } - } - - /// - /// Outgoing email delivery method for the queue. - /// Display Name: Outgoing Email Delivery Method - /// - [AttributeLogicalName("outgoingemaildeliverymethod")] - [DisplayName("Outgoing Email Delivery Method")] - public Queue_OutgoingEmailDeliveryMethod? OutgoingEmailDeliveryMethod { - get { - return GetOptionSetValue("outgoingemaildeliverymethod"); - } - set { - SetOptionSetValue("outgoingemaildeliverymethod", value); - } - } - - /// - /// Date and time that the record was migrated. - /// Display Name: Record Created On - /// - [AttributeLogicalName("overriddencreatedon")] - [DisplayName("Record Created On")] - public DateTime? OverriddenCreatedOn { - get { - return GetAttributeValue("overriddencreatedon"); - } - set { - SetAttributeValue("overriddencreatedon", value); - } - } - - /// - /// Unique identifier of the user or team who owns the queue. - /// Display Name: Owner - /// - [AttributeLogicalName("ownerid")] - [DisplayName("Owner")] - public EntityReference OwnerId { - get { - return GetAttributeValue("ownerid"); - } - set { - SetAttributeValue("ownerid", value); - } - } - - /// - /// Unique identifier of the business unit that owns the queue. - /// Display Name: Owning Business Unit - /// - [AttributeLogicalName("owningbusinessunit")] - [DisplayName("Owning Business Unit")] - public EntityReference OwningBusinessUnit { - get { - return GetAttributeValue("owningbusinessunit"); - } - } - - /// - /// Unique identifier of the team who owns the queue. - /// Display Name: Owning Team - /// - [AttributeLogicalName("owningteam")] - [DisplayName("Owning Team")] - public EntityReference OwningTeam { - get { - return GetAttributeValue("owningteam"); - } - } - - /// - /// Unique identifier of the user who owns the queue. - /// Display Name: Owning User - /// - [AttributeLogicalName("owninguser")] - [DisplayName("Owning User")] - public EntityReference OwningUser { - get { - return GetAttributeValue("owninguser"); - } - } - - /// - /// Name of the queue. - /// Display Name: Name - /// - [AttributeLogicalName("name")] - [DisplayName("Name")] - [MaxLength(200)] - public string PrimaryNameField { - get { - return GetAttributeValue("name"); - } - set { - SetAttributeValue("name", value); - } - } - - /// - /// Unique identifier of the owner of the queue. - /// Display Name: Owner (deprecated) - /// - [AttributeLogicalName("primaryuserid")] - [DisplayName("Owner (deprecated)")] - public EntityReference PrimaryUserId { - get { - return GetAttributeValue("primaryuserid"); - } - set { - SetAttributeValue("primaryuserid", value); - } - } - - /// - /// Type of queue that is automatically assigned when a user or queue is created. The type can be public, private, or work in process. - /// Display Name: Queue Type - /// - [AttributeLogicalName("queuetypecode")] - [DisplayName("Queue Type")] - public Queue_QueueTypeCode? QueueTypeCode { - get { - return GetOptionSetValue("queuetypecode"); - } - } - - /// - /// Select whether the queue is public or private. A public queue can be viewed by all. A private queue can be viewed only by the members added to the queue. - /// Display Name: Type - /// - [AttributeLogicalName("queueviewtype")] - [DisplayName("Type")] - public Queue_QueueViewType? QueueViewType { - get { - return GetOptionSetValue("queueviewtype"); - } - set { - SetOptionSetValue("queueviewtype", value); - } - } - - /// - /// Status of the queue. - /// Display Name: Status - /// - [AttributeLogicalName("statecode")] - [DisplayName("Status")] - public QueueState? StateCode { - get { - return GetOptionSetValue("statecode"); - } - set { - SetOptionSetValue("statecode", value); - } - } - - /// - /// Reason for the status of the queue. - /// Display Name: Status Reason - /// - [AttributeLogicalName("statuscode")] - [DisplayName("Status Reason")] - public Queue_StatusCode? StatusCode { - get { - return GetOptionSetValue("statuscode"); - } - set { - SetOptionSetValue("statuscode", value); - } - } - - /// - /// Unique identifier of the currency associated with the queue. - /// Display Name: Currency - /// - [AttributeLogicalName("transactioncurrencyid")] - [DisplayName("Currency")] - public EntityReference TransactionCurrencyId { - get { - return GetAttributeValue("transactioncurrencyid"); - } - set { - SetAttributeValue("transactioncurrencyid", value); - } - } - - /// - /// Version number of the queue. - /// Display Name: Version Number - /// - [AttributeLogicalName("versionnumber")] - [DisplayName("Version Number")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_queue_createdonbehalfby")] - public SystemUser lk_queue_createdonbehalfby { - get { - return GetRelatedEntity("lk_queue_createdonbehalfby", null); - } - set { - SetRelatedEntity("lk_queue_createdonbehalfby", null, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_queue_modifiedonbehalfby")] - public SystemUser lk_queue_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_queue_modifiedonbehalfby", null); - } - set { - SetRelatedEntity("lk_queue_modifiedonbehalfby", null, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_queuebase_createdby")] - public SystemUser lk_queuebase_createdby { - get { - return GetRelatedEntity("lk_queuebase_createdby", null); - } - set { - SetRelatedEntity("lk_queuebase_createdby", null, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_queuebase_modifiedby")] - public SystemUser lk_queuebase_modifiedby { - get { - return GetRelatedEntity("lk_queuebase_modifiedby", null); - } - set { - SetRelatedEntity("lk_queuebase_modifiedby", null, value); - } - } - - [AttributeLogicalName("primaryuserid")] - [RelationshipSchemaName("queue_primary_user")] - public SystemUser queue_primary_user { - get { - return GetRelatedEntity("queue_primary_user", null); - } - set { - SetRelatedEntity("queue_primary_user", null, value); - } - } - - [RelationshipSchemaName("queue_system_user")] - public IEnumerable queue_system_user { - get { - return GetRelatedEntities("queue_system_user", null); - } - set { - SetRelatedEntities("queue_system_user", null, value); - } - } - - [RelationshipSchemaName("queuemembership_association")] - public IEnumerable queuemembership_association { - get { - return GetRelatedEntities("queuemembership_association", null); - } - set { - SetRelatedEntities("queuemembership_association", null, value); - } - } - - public static Queue Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - } - - [EntityLogicalName("queuemembership")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class QueueMembership : ExtendedEntity { - - public const string EntityLogicalName = "queuemembership"; - - public const string RelationshipSchemaName = "QueueMembership"; - - public const int EntityTypeCode = 1213; - - public QueueMembership() : - base(EntityLogicalName) { - } - - public QueueMembership(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay(null); - } - } - - [AttributeLogicalName("queuemembershipid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("queuemembershipid", value); - } - } - - /// - /// Unique identifier of the queue membership. - /// - [AttributeLogicalName("queuemembershipid")] - public Guid? QueueMembershipId { - get { - return GetAttributeValue("queuemembershipid"); - } - set { - SetId("queuemembershipid", value); - } - } - - [AttributeLogicalName("queueid")] - public Guid? QueueId { - get { - return GetAttributeValue("queueid"); - } - } - - [AttributeLogicalName("systemuserid")] - public Guid? SystemUserId { - get { - return GetAttributeValue("systemuserid"); - } - } - - [AttributeLogicalName("versionnumber")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - public static QueueMembership Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - } - - /// - /// Saved query against the database. - /// Display Name: View - /// - [EntityLogicalName("savedquery")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class SavedQuery : ExtendedEntity { - - public const string EntityLogicalName = "savedquery"; - - public const int EntityTypeCode = 1039; - - public SavedQuery() : - base(EntityLogicalName) { - } - - public SavedQuery(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("name"); - } - } - - [AttributeLogicalName("savedqueryid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("savedqueryid", value); - } - } - - /// - /// Unique identifier of the view. - /// Display Name: View - /// - [AttributeLogicalName("savedqueryid")] - [DisplayName("View")] - public Guid? SavedQueryId { - get { - return GetAttributeValue("savedqueryid"); - } - set { - SetId("savedqueryid", value); - } - } - - /// - /// Type the column name that will be used to group the results from the data collected across multiple records from a system view. - /// Display Name: Advanced Group By - /// - [AttributeLogicalName("advancedgroupby")] - [DisplayName("Advanced Group By")] - [MaxLength(2000)] - public string AdvancedGroupBy { - get { - return GetAttributeValue("advancedgroupby"); - } - set { - SetAttributeValue("advancedgroupby", value); - } - } - - /// - /// Tells whether the view can be deleted. - /// Display Name: Can Be Deleted - /// - [AttributeLogicalName("canbedeleted")] - [DisplayName("Can Be Deleted")] - public BooleanManagedProperty CanBeDeleted { - get { - return GetAttributeValue("canbedeleted"); - } - set { - SetAttributeValue("canbedeleted", value); - } - } - - /// - /// Contains the columns and sorting criteria for the view, stored in XML format. - /// Display Name: Column Set XML - /// - [AttributeLogicalName("columnsetxml")] - [DisplayName("Column Set XML")] - public string ColumnSetXml { - get { - return GetAttributeValue("columnsetxml"); - } - set { - SetAttributeValue("columnsetxml", value); - } - } - - /// - /// For internal use only. - /// Display Name: Component State - /// - [AttributeLogicalName("componentstate")] - [DisplayName("Component State")] - public componentstate? ComponentState { - get { - return GetOptionSetValue("componentstate"); - } - } - - /// - /// Type information about how the items in the system view are formatted. - /// Display Name: Conditional formatting - /// - [AttributeLogicalName("conditionalformatting")] - [DisplayName("Conditional formatting")] - public string ConditionalFormatting { - get { - return GetAttributeValue("conditionalformatting"); - } - set { - SetAttributeValue("conditionalformatting", value); - } - } - - /// - /// Shows who created the record. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Shows who created the record on behalf of another user. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Type additional information to describe the view, such as the filter criteria or intended results set. - /// Display Name: Description - /// - [AttributeLogicalName("description")] - [DisplayName("Description")] - public string Description { - get { - return GetAttributeValue("description"); - } - set { - SetAttributeValue("description", value); - } - } - - /// - /// Tells whether the view can retrieve data from all cluster partitions. - /// Display Name: Default - /// - [AttributeLogicalName("enablecrosspartition")] - [DisplayName("Default")] - public bool? EnableCrossPartition { - get { - return GetAttributeValue("enablecrosspartition"); - } - set { - SetAttributeValue("enablecrosspartition", value); - } - } - - /// - /// String specifying the query in Fetch XML language. - /// Display Name: Fetch XML - /// - [AttributeLogicalName("fetchxml")] - [DisplayName("Fetch XML")] - public string FetchXml { - get { - return GetAttributeValue("fetchxml"); - } - set { - SetAttributeValue("fetchxml", value); - } - } - - /// - /// Version in which the form is introduced. - /// Display Name: Introduced Version - /// - [AttributeLogicalName("introducedversion")] - [DisplayName("Introduced Version")] - [MaxLength(48)] - public string IntroducedVersion { - get { - return GetAttributeValue("introducedversion"); - } - set { - SetAttributeValue("introducedversion", value); - } - } - - /// - /// Tells whether a user created the view. - /// Display Name: Is Custom - /// - [AttributeLogicalName("iscustom")] - [DisplayName("Is Custom")] - public bool? IsCustom { - get { - return GetAttributeValue("iscustom"); - } - } - - /// - /// Tells whether the component can be customized. - /// Display Name: Customizable - /// - [AttributeLogicalName("iscustomizable")] - [DisplayName("Customizable")] - public BooleanManagedProperty IsCustomizable { - get { - return GetAttributeValue("iscustomizable"); - } - set { - SetAttributeValue("iscustomizable", value); - } - } - - /// - /// Tells whether the view is the default view for the specified record type (entity). - /// Display Name: Default - /// - [AttributeLogicalName("isdefault")] - [DisplayName("Default")] - public bool? IsDefault { - get { - return GetAttributeValue("isdefault"); - } - set { - SetAttributeValue("isdefault", value); - } - } - - /// - /// Tells whether the record is part of a managed solution. - /// Display Name: State - /// - [AttributeLogicalName("ismanaged")] - [DisplayName("State")] - public bool? IsManaged { - get { - return GetAttributeValue("ismanaged"); - } - } - - /// - /// Indicates whether or not this is viewable by the entire organization. - /// Display Name: Is Private - /// - [AttributeLogicalName("isprivate")] - [DisplayName("Is Private")] - public bool? IsPrivate { - get { - return GetAttributeValue("isprivate"); - } - } - - /// - /// Choose whether the view is compatible with Quick Find. When users search for specific items, you define the fields that are searched in. - /// Display Name: Quick Find Compatible - /// - [AttributeLogicalName("isquickfindquery")] - [DisplayName("Quick Find Compatible")] - public bool? IsQuickFindQuery { - get { - return GetAttributeValue("isquickfindquery"); - } - set { - SetAttributeValue("isquickfindquery", value); - } - } - - /// - /// Tells whether the view was created by a user. - /// Display Name: User Defined - /// - [AttributeLogicalName("isuserdefined")] - [DisplayName("User Defined")] - public bool? IsUserDefined { - get { - return GetAttributeValue("isuserdefined"); - } - } - - /// - /// Layout data in JSON format. - /// Display Name: Layout data in JSON format. - /// - [AttributeLogicalName("layoutjson")] - [DisplayName("Layout data in JSON format.")] - public string LayoutJson { - get { - return GetAttributeValue("layoutjson"); - } - set { - SetAttributeValue("layoutjson", value); - } - } - - /// - /// For internal use only. - /// Display Name: Layout XML - /// - [AttributeLogicalName("layoutxml")] - [DisplayName("Layout XML")] - public string LayoutXml { - get { - return GetAttributeValue("layoutxml"); - } - set { - SetAttributeValue("layoutxml", value); - } - } - - /// - /// Shows who last updated the record. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics 365 options. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Shows who last updated the record on behalf of another user. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Type a name for the view to describe what results the view will contain. This name is visible to users in the View list. - /// Display Name: Name - /// - [AttributeLogicalName("name")] - [DisplayName("Name")] - [MaxLength(200)] - public string Name { - get { - return GetAttributeValue("name"); - } - set { - SetAttributeValue("name", value); - } - } - - /// - /// String specifying the corresponding sql query for the fetch xml specified for offline use. - /// Display Name: Offline SQL Query - /// - [AttributeLogicalName("offlinesqlquery")] - [DisplayName("Offline SQL Query")] - public string OfflineSqlQuery { - get { - return GetAttributeValue("offlinesqlquery"); - } - set { - SetAttributeValue("offlinesqlquery", value); - } - } - - /// - /// Choose the ID of the organization that the record is associated with. - /// Display Name: Organization - /// - [AttributeLogicalName("organizationid")] - [DisplayName("Organization")] - public EntityReference OrganizationId { - get { - return GetAttributeValue("organizationid"); - } - } - - /// - /// For the organization, type the tab order to determine how users navigate through the screen using only the Tab key. - /// Display Name: Default Organization tab order - /// - [AttributeLogicalName("organizationtaborder")] - [DisplayName("Default Organization tab order")] - [Range(0, 2147483647)] - public int? OrganizationTabOrder { - get { - return GetAttributeValue("organizationtaborder"); - } - } - - /// - /// For internal use only. - /// Display Name: Record Overwrite Time - /// - [AttributeLogicalName("overwritetime")] - [DisplayName("Record Overwrite Time")] - public DateTime? OverwriteTime { - get { - return GetAttributeValue("overwritetime"); - } - } - - /// - /// Type a name for the view to describe what results the view will contain. This name is visible to users in the View list. - /// Display Name: Name - /// - [AttributeLogicalName("name")] - [DisplayName("Name")] - [MaxLength(200)] - public string PrimaryNameField { - get { - return GetAttributeValue("name"); - } - set { - SetAttributeValue("name", value); - } - } - - /// - /// For internal use only. - /// Display Name: Query API - /// - [AttributeLogicalName("queryapi")] - [DisplayName("Query API")] - [MaxLength(100)] - public string QueryAPI { - get { - return GetAttributeValue("queryapi"); - } - } - - /// - /// For internal use only. - /// Display Name: Query Application Usage - /// - [AttributeLogicalName("queryappusage")] - [DisplayName("Query Application Usage")] - [Range(0, 1000000000)] - public int? QueryAppUsage { - get { - return GetAttributeValue("queryappusage"); - } - set { - SetAttributeValue("queryappusage", value); - } - } - - /// - /// Shows the type of the query. - /// Display Name: Query Type - /// - [AttributeLogicalName("querytype")] - [DisplayName("Query Type")] - [Range(0, 1000000000)] - public int? QueryType { - get { - return GetAttributeValue("querytype"); - } - set { - SetAttributeValue("querytype", value); - } - } - - /// - /// Type of entity displayed in the view. - /// Display Name: Entity Name - /// - [AttributeLogicalName("returnedtypecode")] - [DisplayName("Entity Name")] - public string ReturnedTypeCode { - get { - return GetAttributeValue("returnedtypecode"); - } - set { - SetAttributeValue("returnedtypecode", value); - } - } - - /// - /// Contains the role display conditions for the SavedQuery. - /// Display Name: Role display conditions for the SavedQuery - /// - [AttributeLogicalName("roledisplayconditionsxml")] - [DisplayName("Role display conditions for the SavedQuery")] - public string RoleDisplayConditionsXml { - get { - return GetAttributeValue("roledisplayconditionsxml"); - } - set { - SetAttributeValue("roledisplayconditionsxml", value); - } - } - - /// - /// For internal use only. - /// - [AttributeLogicalName("savedqueryidunique")] - public Guid? SavedQueryIdUnique { - get { - return GetAttributeValue("savedqueryidunique"); - } - } - - /// - /// Unique identifier of the associated solution. - /// Display Name: Solution - /// - [AttributeLogicalName("solutionid")] - [DisplayName("Solution")] - public Guid? SolutionId { - get { - return GetAttributeValue("solutionid"); - } - } - - /// - /// Shows the status of the view. - /// Display Name: Status - /// - [AttributeLogicalName("statecode")] - [DisplayName("Status")] - public SavedQueryState? StateCode { - get { - return GetOptionSetValue("statecode"); - } - set { - SetOptionSetValue("statecode", value); - } - } - - /// - /// Shows the reason code that explains the status of the record. - /// Display Name: Status Reason - /// - [AttributeLogicalName("statuscode")] - [DisplayName("Status Reason")] - public SavedQuery_StatusCode? StatusCode { - get { - return GetOptionSetValue("statuscode"); - } - set { - SetOptionSetValue("statuscode", value); - } - } - - /// - /// Version number of the view. - /// Display Name: Version Number - /// - [AttributeLogicalName("versionnumber")] - [DisplayName("Version Number")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_savedquery_createdonbehalfby")] - public SystemUser lk_savedquery_createdonbehalfby { - get { - return GetRelatedEntity("lk_savedquery_createdonbehalfby", null); - } - set { - SetRelatedEntity("lk_savedquery_createdonbehalfby", null, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_savedquery_modifiedonbehalfby")] - public SystemUser lk_savedquery_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_savedquery_modifiedonbehalfby", null); - } - set { - SetRelatedEntity("lk_savedquery_modifiedonbehalfby", null, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_savedquerybase_createdby")] - public SystemUser lk_savedquerybase_createdby { - get { - return GetRelatedEntity("lk_savedquerybase_createdby", null); - } - set { - SetRelatedEntity("lk_savedquerybase_createdby", null, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_savedquerybase_modifiedby")] - public SystemUser lk_savedquerybase_modifiedby { - get { - return GetRelatedEntity("lk_savedquerybase_modifiedby", null); - } - set { - SetRelatedEntity("lk_savedquerybase_modifiedby", null, value); - } - } - - public static SavedQuery Retrieve(IOrganizationService service, Guid id, params Expression>[] attrs) { - return service.Retrieve(id, attrs); - } - } - - /// - /// Person with access to the Microsoft CRM system and who owns objects in the Microsoft CRM database. - /// Display Name: User - /// - [EntityLogicalName("systemuser")] - [DebuggerDisplay("{DebuggerDisplay,nq}")] - [DataContract()] - public partial class SystemUser : ExtendedEntity { - - public const string EntityLogicalName = "systemuser"; - - public const int EntityTypeCode = 8; - - public SystemUser() : - base(EntityLogicalName) { - } - - public SystemUser(Guid Id) : - base(EntityLogicalName, Id) { - } - - private string DebuggerDisplay { - get { - return GetDebuggerDisplay("fullname"); - } - } - - [AttributeLogicalName("systemuserid")] - public override Guid Id { - get { - return base.Id; - } - set { - SetId("systemuserid", value); - } - } - - /// - /// Unique identifier for the user. - /// Display Name: User - /// - [AttributeLogicalName("systemuserid")] - [DisplayName("User")] - public Guid? SystemUserId { - get { - return GetAttributeValue("systemuserid"); - } - set { - SetId("systemuserid", value); - } - } - - /// - /// Type of user. - /// Display Name: Access Mode - /// - [AttributeLogicalName("accessmode")] - [DisplayName("Access Mode")] - public SystemUser_AccessMode? AccessMode { - get { - return GetOptionSetValue("accessmode"); - } - set { - SetOptionSetValue("accessmode", value); - } - } - - /// - /// Unique identifier for address 1. - /// Display Name: Address 1: ID - /// - [AttributeLogicalName("address1_addressid")] - [DisplayName("Address 1: ID")] - public Guid? Address1_AddressId { - get { - return GetAttributeValue("address1_addressid"); - } - set { - SetAttributeValue("address1_addressid", value); - } - } - - /// - /// Type of address for address 1, such as billing, shipping, or primary address. - /// Display Name: Address 1: Address Type - /// - [AttributeLogicalName("address1_addresstypecode")] - [DisplayName("Address 1: Address Type")] - public SystemUser_Address1_AddressTypeCode? Address1_AddressTypeCode { - get { - return GetOptionSetValue("address1_addresstypecode"); - } - set { - SetOptionSetValue("address1_addresstypecode", value); - } - } - - /// - /// City name for address 1. - /// Display Name: City - /// - [AttributeLogicalName("address1_city")] - [DisplayName("City")] - [MaxLength(128)] - public string Address1_City { - get { - return GetAttributeValue("address1_city"); - } - set { - SetAttributeValue("address1_city", value); - } - } - - /// - /// Shows the complete primary address. - /// Display Name: Address - /// - [AttributeLogicalName("address1_composite")] - [DisplayName("Address")] - public string Address1_Composite { - get { - return GetAttributeValue("address1_composite"); - } - } - - /// - /// Country/region name in address 1. - /// Display Name: Country/Region - /// - [AttributeLogicalName("address1_country")] - [DisplayName("Country/Region")] - [MaxLength(128)] - public string Address1_Country { - get { - return GetAttributeValue("address1_country"); - } - set { - SetAttributeValue("address1_country", value); - } - } - - /// - /// County name for address 1. - /// Display Name: Address 1: County - /// - [AttributeLogicalName("address1_county")] - [DisplayName("Address 1: County")] - [MaxLength(128)] - public string Address1_County { - get { - return GetAttributeValue("address1_county"); - } - set { - SetAttributeValue("address1_county", value); - } - } - - /// - /// Fax number for address 1. - /// Display Name: Address 1: Fax - /// - [AttributeLogicalName("address1_fax")] - [DisplayName("Address 1: Fax")] - [MaxLength(64)] - public string Address1_Fax { - get { - return GetAttributeValue("address1_fax"); - } - set { - SetAttributeValue("address1_fax", value); - } - } - - /// - /// Latitude for address 1. - /// Display Name: Address 1: Latitude - /// - [AttributeLogicalName("address1_latitude")] - [DisplayName("Address 1: Latitude")] - public double? Address1_Latitude { - get { - return GetAttributeValue("address1_latitude"); - } - set { - SetAttributeValue("address1_latitude", value); - } - } - - /// - /// First line for entering address 1 information. - /// Display Name: Street 1 - /// - [AttributeLogicalName("address1_line1")] - [DisplayName("Street 1")] - [MaxLength(1024)] - public string Address1_Line1 { - get { - return GetAttributeValue("address1_line1"); - } - set { - SetAttributeValue("address1_line1", value); - } - } - - /// - /// Second line for entering address 1 information. - /// Display Name: Street 2 - /// - [AttributeLogicalName("address1_line2")] - [DisplayName("Street 2")] - [MaxLength(1024)] - public string Address1_Line2 { - get { - return GetAttributeValue("address1_line2"); - } - set { - SetAttributeValue("address1_line2", value); - } - } - - /// - /// Third line for entering address 1 information. - /// Display Name: Street 3 - /// - [AttributeLogicalName("address1_line3")] - [DisplayName("Street 3")] - [MaxLength(1024)] - public string Address1_Line3 { - get { - return GetAttributeValue("address1_line3"); - } - set { - SetAttributeValue("address1_line3", value); - } - } - - /// - /// Longitude for address 1. - /// Display Name: Address 1: Longitude - /// - [AttributeLogicalName("address1_longitude")] - [DisplayName("Address 1: Longitude")] - public double? Address1_Longitude { - get { - return GetAttributeValue("address1_longitude"); - } - set { - SetAttributeValue("address1_longitude", value); - } - } - - /// - /// Name to enter for address 1. - /// Display Name: Address 1: Name - /// - [AttributeLogicalName("address1_name")] - [DisplayName("Address 1: Name")] - [MaxLength(100)] - public string Address1_Name { - get { - return GetAttributeValue("address1_name"); - } - set { - SetAttributeValue("address1_name", value); - } - } - - /// - /// Post office box number for address 1. - /// Display Name: Address 1: Post Office Box - /// - [AttributeLogicalName("address1_postofficebox")] - [DisplayName("Address 1: Post Office Box")] - [MaxLength(40)] - public string Address1_PostOfficeBox { - get { - return GetAttributeValue("address1_postofficebox"); - } - set { - SetAttributeValue("address1_postofficebox", value); - } - } - - /// - /// ZIP Code or postal code for address 1. - /// Display Name: ZIP/Postal Code - /// - [AttributeLogicalName("address1_postalcode")] - [DisplayName("ZIP/Postal Code")] - [MaxLength(40)] - public string Address1_PostalCode { - get { - return GetAttributeValue("address1_postalcode"); - } - set { - SetAttributeValue("address1_postalcode", value); - } - } - - /// - /// Method of shipment for address 1. - /// Display Name: Address 1: Shipping Method - /// - [AttributeLogicalName("address1_shippingmethodcode")] - [DisplayName("Address 1: Shipping Method")] - public SystemUser_Address1_ShippingMethodCode? Address1_ShippingMethodCode { - get { - return GetOptionSetValue("address1_shippingmethodcode"); - } - set { - SetOptionSetValue("address1_shippingmethodcode", value); - } - } - - /// - /// State or province for address 1. - /// Display Name: State/Province - /// - [AttributeLogicalName("address1_stateorprovince")] - [DisplayName("State/Province")] - [MaxLength(128)] - public string Address1_StateOrProvince { - get { - return GetAttributeValue("address1_stateorprovince"); - } - set { - SetAttributeValue("address1_stateorprovince", value); - } - } - - /// - /// First telephone number associated with address 1. - /// Display Name: Main Phone - /// - [AttributeLogicalName("address1_telephone1")] - [DisplayName("Main Phone")] - [MaxLength(64)] - public string Address1_Telephone1 { - get { - return GetAttributeValue("address1_telephone1"); - } - set { - SetAttributeValue("address1_telephone1", value); - } - } - - /// - /// Second telephone number associated with address 1. - /// Display Name: Other Phone - /// - [AttributeLogicalName("address1_telephone2")] - [DisplayName("Other Phone")] - [MaxLength(50)] - public string Address1_Telephone2 { - get { - return GetAttributeValue("address1_telephone2"); - } - set { - SetAttributeValue("address1_telephone2", value); - } - } - - /// - /// Third telephone number associated with address 1. - /// Display Name: Pager - /// - [AttributeLogicalName("address1_telephone3")] - [DisplayName("Pager")] - [MaxLength(50)] - public string Address1_Telephone3 { - get { - return GetAttributeValue("address1_telephone3"); - } - set { - SetAttributeValue("address1_telephone3", value); - } - } - - /// - /// United Parcel Service (UPS) zone for address 1. - /// Display Name: Address 1: UPS Zone - /// - [AttributeLogicalName("address1_upszone")] - [DisplayName("Address 1: UPS Zone")] - [MaxLength(4)] - public string Address1_UPSZone { - get { - return GetAttributeValue("address1_upszone"); - } - set { - SetAttributeValue("address1_upszone", value); - } - } - - /// - /// UTC offset for address 1. This is the difference between local time and standard Coordinated Universal Time. - /// Display Name: Address 1: UTC Offset - /// - [AttributeLogicalName("address1_utcoffset")] - [DisplayName("Address 1: UTC Offset")] - [Range(-1500, 1500)] - public int? Address1_UTCOffset { - get { - return GetAttributeValue("address1_utcoffset"); - } - set { - SetAttributeValue("address1_utcoffset", value); - } - } - - /// - /// Unique identifier for address 2. - /// Display Name: Address 2: ID - /// - [AttributeLogicalName("address2_addressid")] - [DisplayName("Address 2: ID")] - public Guid? Address2_AddressId { - get { - return GetAttributeValue("address2_addressid"); - } - set { - SetAttributeValue("address2_addressid", value); - } - } - - /// - /// Type of address for address 2, such as billing, shipping, or primary address. - /// Display Name: Address 2: Address Type - /// - [AttributeLogicalName("address2_addresstypecode")] - [DisplayName("Address 2: Address Type")] - public SystemUser_Address2_AddressTypeCode? Address2_AddressTypeCode { - get { - return GetOptionSetValue("address2_addresstypecode"); - } - set { - SetOptionSetValue("address2_addresstypecode", value); - } - } - - /// - /// City name for address 2. - /// Display Name: Other City - /// - [AttributeLogicalName("address2_city")] - [DisplayName("Other City")] - [MaxLength(128)] - public string Address2_City { - get { - return GetAttributeValue("address2_city"); - } - set { - SetAttributeValue("address2_city", value); - } - } - - /// - /// Shows the complete secondary address. - /// Display Name: Other Address - /// - [AttributeLogicalName("address2_composite")] - [DisplayName("Other Address")] - public string Address2_Composite { - get { - return GetAttributeValue("address2_composite"); - } - } - - /// - /// Country/region name in address 2. - /// Display Name: Other Country/Region - /// - [AttributeLogicalName("address2_country")] - [DisplayName("Other Country/Region")] - [MaxLength(128)] - public string Address2_Country { - get { - return GetAttributeValue("address2_country"); - } - set { - SetAttributeValue("address2_country", value); - } - } - - /// - /// County name for address 2. - /// Display Name: Address 2: County - /// - [AttributeLogicalName("address2_county")] - [DisplayName("Address 2: County")] - [MaxLength(128)] - public string Address2_County { - get { - return GetAttributeValue("address2_county"); - } - set { - SetAttributeValue("address2_county", value); - } - } - - /// - /// Fax number for address 2. - /// Display Name: Address 2: Fax - /// - [AttributeLogicalName("address2_fax")] - [DisplayName("Address 2: Fax")] - [MaxLength(50)] - public string Address2_Fax { - get { - return GetAttributeValue("address2_fax"); - } - set { - SetAttributeValue("address2_fax", value); - } - } - - /// - /// Latitude for address 2. - /// Display Name: Address 2: Latitude - /// - [AttributeLogicalName("address2_latitude")] - [DisplayName("Address 2: Latitude")] - public double? Address2_Latitude { - get { - return GetAttributeValue("address2_latitude"); - } - set { - SetAttributeValue("address2_latitude", value); - } - } - - /// - /// First line for entering address 2 information. - /// Display Name: Other Street 1 - /// - [AttributeLogicalName("address2_line1")] - [DisplayName("Other Street 1")] - [MaxLength(1024)] - public string Address2_Line1 { - get { - return GetAttributeValue("address2_line1"); - } - set { - SetAttributeValue("address2_line1", value); - } - } - - /// - /// Second line for entering address 2 information. - /// Display Name: Other Street 2 - /// - [AttributeLogicalName("address2_line2")] - [DisplayName("Other Street 2")] - [MaxLength(1024)] - public string Address2_Line2 { - get { - return GetAttributeValue("address2_line2"); - } - set { - SetAttributeValue("address2_line2", value); - } - } - - /// - /// Third line for entering address 2 information. - /// Display Name: Other Street 3 - /// - [AttributeLogicalName("address2_line3")] - [DisplayName("Other Street 3")] - [MaxLength(1024)] - public string Address2_Line3 { - get { - return GetAttributeValue("address2_line3"); - } - set { - SetAttributeValue("address2_line3", value); - } - } - - /// - /// Longitude for address 2. - /// Display Name: Address 2: Longitude - /// - [AttributeLogicalName("address2_longitude")] - [DisplayName("Address 2: Longitude")] - public double? Address2_Longitude { - get { - return GetAttributeValue("address2_longitude"); - } - set { - SetAttributeValue("address2_longitude", value); - } - } - - /// - /// Name to enter for address 2. - /// Display Name: Address 2: Name - /// - [AttributeLogicalName("address2_name")] - [DisplayName("Address 2: Name")] - [MaxLength(100)] - public string Address2_Name { - get { - return GetAttributeValue("address2_name"); - } - set { - SetAttributeValue("address2_name", value); - } - } - - /// - /// Post office box number for address 2. - /// Display Name: Address 2: Post Office Box - /// - [AttributeLogicalName("address2_postofficebox")] - [DisplayName("Address 2: Post Office Box")] - [MaxLength(40)] - public string Address2_PostOfficeBox { - get { - return GetAttributeValue("address2_postofficebox"); - } - set { - SetAttributeValue("address2_postofficebox", value); - } - } - - /// - /// ZIP Code or postal code for address 2. - /// Display Name: Other ZIP/Postal Code - /// - [AttributeLogicalName("address2_postalcode")] - [DisplayName("Other ZIP/Postal Code")] - [MaxLength(40)] - public string Address2_PostalCode { - get { - return GetAttributeValue("address2_postalcode"); - } - set { - SetAttributeValue("address2_postalcode", value); - } - } - - /// - /// Method of shipment for address 2. - /// Display Name: Address 2: Shipping Method - /// - [AttributeLogicalName("address2_shippingmethodcode")] - [DisplayName("Address 2: Shipping Method")] - public SystemUser_Address2_ShippingMethodCode? Address2_ShippingMethodCode { - get { - return GetOptionSetValue("address2_shippingmethodcode"); - } - set { - SetOptionSetValue("address2_shippingmethodcode", value); - } - } - - /// - /// State or province for address 2. - /// Display Name: Other State/Province - /// - [AttributeLogicalName("address2_stateorprovince")] - [DisplayName("Other State/Province")] - [MaxLength(128)] - public string Address2_StateOrProvince { - get { - return GetAttributeValue("address2_stateorprovince"); - } - set { - SetAttributeValue("address2_stateorprovince", value); - } - } - - /// - /// First telephone number associated with address 2. - /// Display Name: Address 2: Telephone 1 - /// - [AttributeLogicalName("address2_telephone1")] - [DisplayName("Address 2: Telephone 1")] - [MaxLength(50)] - public string Address2_Telephone1 { - get { - return GetAttributeValue("address2_telephone1"); - } - set { - SetAttributeValue("address2_telephone1", value); - } - } - - /// - /// Second telephone number associated with address 2. - /// Display Name: Address 2: Telephone 2 - /// - [AttributeLogicalName("address2_telephone2")] - [DisplayName("Address 2: Telephone 2")] - [MaxLength(50)] - public string Address2_Telephone2 { - get { - return GetAttributeValue("address2_telephone2"); - } - set { - SetAttributeValue("address2_telephone2", value); - } - } - - /// - /// Third telephone number associated with address 2. - /// Display Name: Address 2: Telephone 3 - /// - [AttributeLogicalName("address2_telephone3")] - [DisplayName("Address 2: Telephone 3")] - [MaxLength(50)] - public string Address2_Telephone3 { - get { - return GetAttributeValue("address2_telephone3"); - } - set { - SetAttributeValue("address2_telephone3", value); - } - } - - /// - /// United Parcel Service (UPS) zone for address 2. - /// Display Name: Address 2: UPS Zone - /// - [AttributeLogicalName("address2_upszone")] - [DisplayName("Address 2: UPS Zone")] - [MaxLength(4)] - public string Address2_UPSZone { - get { - return GetAttributeValue("address2_upszone"); - } - set { - SetAttributeValue("address2_upszone", value); - } - } - - /// - /// UTC offset for address 2. This is the difference between local time and standard Coordinated Universal Time. - /// Display Name: Address 2: UTC Offset - /// - [AttributeLogicalName("address2_utcoffset")] - [DisplayName("Address 2: UTC Offset")] - [Range(-1500, 1500)] - public int? Address2_UTCOffset { - get { - return GetAttributeValue("address2_utcoffset"); - } - set { - SetAttributeValue("address2_utcoffset", value); - } - } - - /// - /// The identifier for the application. This is used to access data in another application. - /// Display Name: Application ID - /// - [AttributeLogicalName("applicationid")] - [DisplayName("Application ID")] - public Guid? ApplicationId { - get { - return GetAttributeValue("applicationid"); - } - set { - SetAttributeValue("applicationid", value); - } - } - - /// - /// The URI used as a unique logical identifier for the external app. This can be used to validate the application. - /// Display Name: Application ID URI - /// - [AttributeLogicalName("applicationiduri")] - [DisplayName("Application ID URI")] - [MaxLength(1024)] - public string ApplicationIdUri { - get { - return GetAttributeValue("applicationiduri"); - } - } - - /// - /// This is the application directory object Id. - /// Display Name: Azure AD Object ID - /// - [AttributeLogicalName("azureactivedirectoryobjectid")] - [DisplayName("Azure AD Object ID")] - public Guid? AzureActiveDirectoryObjectId { - get { - return GetAttributeValue("azureactivedirectoryobjectid"); - } - } - - /// - /// Date and time when the user was set as soft deleted in Azure. - /// Display Name: Azure Deleted On - /// - [AttributeLogicalName("azuredeletedon")] - [DisplayName("Azure Deleted On")] - public DateTime? AzureDeletedOn { - get { - return GetAttributeValue("azuredeletedon"); - } - } - - /// - /// Azure state of user - /// Display Name: Azure State - /// - [AttributeLogicalName("azurestate")] - [DisplayName("Azure State")] - public SystemUser_AzureState? AzureState { - get { - return GetOptionSetValue("azurestate"); - } - set { - SetOptionSetValue("azurestate", value); - } - } - - /// - /// Unique identifier of the business unit with which the user is associated. - /// Display Name: Business Unit - /// - [AttributeLogicalName("businessunitid")] - [DisplayName("Business Unit")] - public EntityReference BusinessUnitId { - get { - return GetAttributeValue("businessunitid"); - } - set { - SetAttributeValue("businessunitid", value); - } - } - - /// - /// License type of user. This is used only in the on-premises version of the product. Online licenses are managed through Microsoft 365 Office Portal - /// Display Name: License Type - /// - [AttributeLogicalName("caltype")] - [DisplayName("License Type")] - public SystemUser_CALType? CALType { - get { - return GetOptionSetValue("caltype"); - } - set { - SetOptionSetValue("caltype", value); - } - } - - /// - /// Fiscal calendar associated with the user. - /// Display Name: Calendar - /// - [AttributeLogicalName("calendarid")] - [DisplayName("Calendar")] - public EntityReference CalendarId { - get { - return GetAttributeValue("calendarid"); - } - set { - SetAttributeValue("calendarid", value); - } - } - - /// - /// Unique identifier of the user who created the user. - /// Display Name: Created By - /// - [AttributeLogicalName("createdby")] - [DisplayName("Created By")] - public EntityReference CreatedBy { - get { - return GetAttributeValue("createdby"); - } - } - - /// - /// Date and time when the user was created. - /// Display Name: Created On - /// - [AttributeLogicalName("createdon")] - [DisplayName("Created On")] - public DateTime? CreatedOn { - get { - return GetAttributeValue("createdon"); - } - } - - /// - /// Unique identifier of the delegate user who created the systemuser. - /// Display Name: Created By (Delegate) - /// - [AttributeLogicalName("createdonbehalfby")] - [DisplayName("Created By (Delegate)")] - public EntityReference CreatedOnBehalfBy { - get { - return GetAttributeValue("createdonbehalfby"); - } - } - - /// - /// Indicates if default outlook filters have been populated. - /// Display Name: Default Filters Populated - /// - [AttributeLogicalName("defaultfilterspopulated")] - [DisplayName("Default Filters Populated")] - public bool? DefaultFiltersPopulated { - get { - return GetAttributeValue("defaultfilterspopulated"); - } - } - - /// - /// Select the mailbox associated with this user. - /// Display Name: Mailbox - /// - [AttributeLogicalName("defaultmailbox")] - [DisplayName("Mailbox")] - public EntityReference DefaultMailbox { - get { - return GetAttributeValue("defaultmailbox"); - } - } - - /// - /// Type a default folder name for the user's OneDrive For Business location. - /// Display Name: Default OneDrive for Business Folder Name - /// - [AttributeLogicalName("defaultodbfoldername")] - [DisplayName("Default OneDrive for Business Folder Name")] - [MaxLength(200)] - public string DefaultOdbFolderName { - get { - return GetAttributeValue("defaultodbfoldername"); - } - } - - /// - /// User delete state - /// Display Name: Deleted State - /// - [AttributeLogicalName("deletedstate")] - [DisplayName("Deleted State")] - public SystemUser_DeletedState? DeletedState { - get { - return GetOptionSetValue("deletedstate"); - } - } - - /// - /// Reason for disabling the user. - /// Display Name: Disabled Reason - /// - [AttributeLogicalName("disabledreason")] - [DisplayName("Disabled Reason")] - [MaxLength(500)] - public string DisabledReason { - get { - return GetAttributeValue("disabledreason"); - } - } - - /// - /// Whether to display the user in service views. - /// Display Name: Display in Service Views - /// - [AttributeLogicalName("displayinserviceviews")] - [DisplayName("Display in Service Views")] - public bool? DisplayInServiceViews { - get { - return GetAttributeValue("displayinserviceviews"); - } - set { - SetAttributeValue("displayinserviceviews", value); - } - } - - /// - /// Active Directory domain of which the user is a member. - /// Display Name: User Name - /// - [AttributeLogicalName("domainname")] - [DisplayName("User Name")] - [MaxLength(1024)] - public string DomainName { - get { - return GetAttributeValue("domainname"); - } - set { - SetAttributeValue("domainname", value); - } - } - - /// - /// Shows the status of the primary email address. - /// Display Name: Primary Email Status - /// - [AttributeLogicalName("emailrouteraccessapproval")] - [DisplayName("Primary Email Status")] - public SystemUser_EmailRouterAccessApproval? EmailRouterAccessApproval { - get { - return GetOptionSetValue("emailrouteraccessapproval"); - } - set { - SetOptionSetValue("emailrouteraccessapproval", value); - } - } - - /// - /// Employee identifier for the user. - /// Display Name: Employee - /// - [AttributeLogicalName("employeeid")] - [DisplayName("Employee")] - [MaxLength(100)] - public string EmployeeId { - get { - return GetAttributeValue("employeeid"); - } - set { - SetAttributeValue("employeeid", value); - } - } - - /// - /// For internal use only. - /// Display Name: Entity Image Id - /// - [AttributeLogicalName("entityimageid")] - [DisplayName("Entity Image Id")] - public Guid? EntityImageId { - get { - return GetAttributeValue("entityimageid"); - } - } - - /// - /// Exchange rate for the currency associated with the systemuser with respect to the base currency. - /// Display Name: Exchange Rate - /// - [AttributeLogicalName("exchangerate")] - [DisplayName("Exchange Rate")] - public decimal? ExchangeRate { - get { - return GetAttributeValue("exchangerate"); - } - } - - /// - /// First name of the user. - /// Display Name: First Name - /// - [AttributeLogicalName("firstname")] - [DisplayName("First Name")] - [MaxLength(256)] - public string FirstName { - get { - return GetAttributeValue("firstname"); - } - set { - SetAttributeValue("firstname", value); - } - } - - /// - /// Full name of the user. - /// Display Name: Full Name - /// - [AttributeLogicalName("fullname")] - [DisplayName("Full Name")] - [MaxLength(200)] - public string FullName { - get { - return GetAttributeValue("fullname"); - } - } - - /// - /// Government identifier for the user. - /// Display Name: Government - /// - [AttributeLogicalName("governmentid")] - [DisplayName("Government")] - [MaxLength(100)] - public string GovernmentId { - get { - return GetAttributeValue("governmentid"); - } - set { - SetAttributeValue("governmentid", value); - } - } - - /// - /// Home phone number for the user. - /// Display Name: Home Phone - /// - [AttributeLogicalName("homephone")] - [DisplayName("Home Phone")] - [MaxLength(50)] - public string HomePhone { - get { - return GetAttributeValue("homephone"); - } - set { - SetAttributeValue("homephone", value); - } - } - - /// - /// For internal use only. - /// Display Name: Unique user identity id - /// - [AttributeLogicalName("identityid")] - [DisplayName("Unique user identity id")] - [Range(-2147483648, 2147483647)] - public int? IdentityId { - get { - return GetAttributeValue("identityid"); - } - } - - /// - /// Unique identifier of the data import or data migration that created this record. - /// Display Name: Import Sequence Number - /// - [AttributeLogicalName("importsequencenumber")] - [DisplayName("Import Sequence Number")] - [Range(-2147483648, 2147483647)] - public int? ImportSequenceNumber { - get { - return GetAttributeValue("importsequencenumber"); - } - set { - SetAttributeValue("importsequencenumber", value); - } - } - - /// - /// Incoming email delivery method for the user. - /// Display Name: Incoming Email Delivery Method - /// - [AttributeLogicalName("incomingemaildeliverymethod")] - [DisplayName("Incoming Email Delivery Method")] - public SystemUser_IncomingEmailDeliveryMethod? IncomingEmailDeliveryMethod { - get { - return GetOptionSetValue("incomingemaildeliverymethod"); - } - set { - SetOptionSetValue("incomingemaildeliverymethod", value); - } - } - - /// - /// Internal email address for the user. - /// Display Name: Primary Email - /// - [AttributeLogicalName("internalemailaddress")] - [DisplayName("Primary Email")] - [MaxLength(100)] - public string InternalEMailAddress { - get { - return GetAttributeValue("internalemailaddress"); - } - set { - SetAttributeValue("internalemailaddress", value); - } - } - - /// - /// User invitation status. - /// Display Name: Invitation Status - /// - [AttributeLogicalName("invitestatuscode")] - [DisplayName("Invitation Status")] - public SystemUser_InviteStatusCode? InviteStatusCode { - get { - return GetOptionSetValue("invitestatuscode"); - } - set { - SetOptionSetValue("invitestatuscode", value); - } - } - - /// - /// Bypasses the selected user from IP firewall restriction - /// Display Name: To bypass IP firewall restriction on the user - /// - [AttributeLogicalName("isallowedbyipfirewall")] - [DisplayName("To bypass IP firewall restriction on the user")] - public bool? IsAllowedByIpFirewall { - get { - return GetAttributeValue("isallowedbyipfirewall"); - } - set { - SetAttributeValue("isallowedbyipfirewall", value); - } - } - - /// - /// Information about whether the user is enabled. - /// Display Name: Status - /// - [AttributeLogicalName("isdisabled")] - [DisplayName("Status")] - public bool? IsDisabled { - get { - return GetAttributeValue("isdisabled"); - } - set { - SetAttributeValue("isdisabled", value); - } - } - - /// - /// Shows the status of approval of the email address by O365 Admin. - /// Display Name: Email Address O365 Admin Approval Status - /// - [AttributeLogicalName("isemailaddressapprovedbyo365admin")] - [DisplayName("Email Address O365 Admin Approval Status")] - public bool? IsEmailAddressApprovedByO365Admin { - get { - return GetAttributeValue("isemailaddressapprovedbyo365admin"); - } - } - - /// - /// Check if user is an integration user. - /// Display Name: Integration user mode - /// - [AttributeLogicalName("isintegrationuser")] - [DisplayName("Integration user mode")] - public bool? IsIntegrationUser { - get { - return GetAttributeValue("isintegrationuser"); - } - set { - SetAttributeValue("isintegrationuser", value); - } - } - - /// - /// Information about whether the user is licensed. - /// Display Name: User Licensed - /// - [AttributeLogicalName("islicensed")] - [DisplayName("User Licensed")] - public bool? IsLicensed { - get { - return GetAttributeValue("islicensed"); - } - set { - SetAttributeValue("islicensed", value); - } - } - - /// - /// Information about whether the user is synced with the directory. - /// Display Name: User Synced - /// - [AttributeLogicalName("issyncwithdirectory")] - [DisplayName("User Synced")] - public bool? IsSyncWithDirectory { - get { - return GetAttributeValue("issyncwithdirectory"); - } - set { - SetAttributeValue("issyncwithdirectory", value); - } - } - - /// - /// Job title of the user. - /// Display Name: Job Title - /// - [AttributeLogicalName("jobtitle")] - [DisplayName("Job Title")] - [MaxLength(100)] - public string JobTitle { - get { - return GetAttributeValue("jobtitle"); - } - set { - SetAttributeValue("jobtitle", value); - } - } - - /// - /// Last name of the user. - /// Display Name: Last Name - /// - [AttributeLogicalName("lastname")] - [DisplayName("Last Name")] - [MaxLength(256)] - public string LastName { - get { - return GetAttributeValue("lastname"); - } - set { - SetAttributeValue("lastname", value); - } - } - - /// - /// Middle name of the user. - /// Display Name: Middle Name - /// - [AttributeLogicalName("middlename")] - [DisplayName("Middle Name")] - [MaxLength(50)] - public string MiddleName { - get { - return GetAttributeValue("middlename"); - } - set { - SetAttributeValue("middlename", value); - } - } - - /// - /// Mobile alert email address for the user. - /// Display Name: Mobile Alert Email - /// - [AttributeLogicalName("mobilealertemail")] - [DisplayName("Mobile Alert Email")] - [MaxLength(100)] - public string MobileAlertEMail { - get { - return GetAttributeValue("mobilealertemail"); - } - set { - SetAttributeValue("mobilealertemail", value); - } - } - - /// - /// Items contained with a particular SystemUser. - /// Display Name: Mobile Offline Profile - /// - [AttributeLogicalName("mobileofflineprofileid")] - [DisplayName("Mobile Offline Profile")] - public EntityReference MobileOfflineProfileId { - get { - return GetAttributeValue("mobileofflineprofileid"); - } - set { - SetAttributeValue("mobileofflineprofileid", value); - } - } - - /// - /// Mobile phone number for the user. - /// Display Name: Mobile Phone - /// - [AttributeLogicalName("mobilephone")] - [DisplayName("Mobile Phone")] - [MaxLength(64)] - public string MobilePhone { - get { - return GetAttributeValue("mobilephone"); - } - set { - SetAttributeValue("mobilephone", value); - } - } - - /// - /// Unique identifier of the user who last modified the user. - /// Display Name: Modified By - /// - [AttributeLogicalName("modifiedby")] - [DisplayName("Modified By")] - public EntityReference ModifiedBy { - get { - return GetAttributeValue("modifiedby"); - } - } - - /// - /// Date and time when the user was last modified. - /// Display Name: Modified On - /// - [AttributeLogicalName("modifiedon")] - [DisplayName("Modified On")] - public DateTime? ModifiedOn { - get { - return GetAttributeValue("modifiedon"); - } - } - - /// - /// Unique identifier of the delegate user who last modified the systemuser. - /// Display Name: Modified By (Delegate) - /// - [AttributeLogicalName("modifiedonbehalfby")] - [DisplayName("Modified By (Delegate)")] - public EntityReference ModifiedOnBehalfBy { - get { - return GetAttributeValue("modifiedonbehalfby"); - } - } - - /// - /// Nickname of the user. - /// Display Name: Nickname - /// - [AttributeLogicalName("nickname")] - [DisplayName("Nickname")] - [MaxLength(50)] - public string NickName { - get { - return GetAttributeValue("nickname"); - } - set { - SetAttributeValue("nickname", value); - } - } - - /// - /// Unique identifier of the organization associated with the user. - /// Display Name: Organization - /// - [AttributeLogicalName("organizationid")] - [DisplayName("Organization ")] - public Guid? OrganizationId { - get { - return GetAttributeValue("organizationid"); - } - } - - /// - /// Outgoing email delivery method for the user. - /// Display Name: Outgoing Email Delivery Method - /// - [AttributeLogicalName("outgoingemaildeliverymethod")] - [DisplayName("Outgoing Email Delivery Method")] - public SystemUser_OutgoingEmailDeliveryMethod? OutgoingEmailDeliveryMethod { - get { - return GetOptionSetValue("outgoingemaildeliverymethod"); - } - set { - SetOptionSetValue("outgoingemaildeliverymethod", value); - } - } - - /// - /// Date and time that the record was migrated. - /// Display Name: Record Created On - /// - [AttributeLogicalName("overriddencreatedon")] - [DisplayName("Record Created On")] - public DateTime? OverriddenCreatedOn { - get { - return GetAttributeValue("overriddencreatedon"); - } - set { - SetAttributeValue("overriddencreatedon", value); - } - } - - /// - /// Unique identifier of the manager of the user. - /// Display Name: Manager - /// - [AttributeLogicalName("parentsystemuserid")] - [DisplayName("Manager")] - public EntityReference ParentSystemUserId { - get { - return GetAttributeValue("parentsystemuserid"); - } - set { - SetAttributeValue("parentsystemuserid", value); - } - } - - /// - /// For internal use only. - /// Display Name: Passport Hi - /// - [AttributeLogicalName("passporthi")] - [DisplayName("Passport Hi")] - [Range(0, 1000000000)] - public int? PassportHi { - get { - return GetAttributeValue("passporthi"); - } - set { - SetAttributeValue("passporthi", value); - } - } - - /// - /// For internal use only. - /// Display Name: Passport Lo - /// - [AttributeLogicalName("passportlo")] - [DisplayName("Passport Lo")] - [Range(0, 1000000000)] - public int? PassportLo { - get { - return GetAttributeValue("passportlo"); - } - set { - SetAttributeValue("passportlo", value); - } - } - - /// - /// Personal email address of the user. - /// Display Name: Email 2 - /// - [AttributeLogicalName("personalemailaddress")] - [DisplayName("Email 2")] - [MaxLength(100)] - public string PersonalEMailAddress { - get { - return GetAttributeValue("personalemailaddress"); - } - set { - SetAttributeValue("personalemailaddress", value); - } - } - - /// - /// URL for the Website on which a photo of the user is located. - /// Display Name: Photo URL - /// - [AttributeLogicalName("photourl")] - [DisplayName("Photo URL")] - [MaxLength(200)] - public string PhotoUrl { - get { - return GetAttributeValue("photourl"); - } - set { - SetAttributeValue("photourl", value); - } - } - - /// - /// User's position in hierarchical security model. - /// Display Name: Position - /// - [AttributeLogicalName("positionid")] - [DisplayName("Position")] - public EntityReference PositionId { - get { - return GetAttributeValue("positionid"); - } - set { - SetAttributeValue("positionid", value); - } - } - - /// - /// Preferred address for the user. - /// Display Name: Preferred Address - /// - [AttributeLogicalName("preferredaddresscode")] - [DisplayName("Preferred Address")] - public SystemUser_PreferredAddressCode? PreferredAddressCode { - get { - return GetOptionSetValue("preferredaddresscode"); - } - set { - SetOptionSetValue("preferredaddresscode", value); - } - } - - /// - /// Preferred email address for the user. - /// Display Name: Preferred Email - /// - [AttributeLogicalName("preferredemailcode")] - [DisplayName("Preferred Email")] - public SystemUser_PreferredEmailCode? PreferredEmailCode { - get { - return GetOptionSetValue("preferredemailcode"); - } - set { - SetOptionSetValue("preferredemailcode", value); - } - } - - /// - /// Preferred phone number for the user. - /// Display Name: Preferred Phone - /// - [AttributeLogicalName("preferredphonecode")] - [DisplayName("Preferred Phone")] - public SystemUser_PreferredPhoneCode? PreferredPhoneCode { - get { - return GetOptionSetValue("preferredphonecode"); - } - set { - SetOptionSetValue("preferredphonecode", value); - } - } - - /// - /// Full name of the user. - /// Display Name: Full Name - /// - [AttributeLogicalName("fullname")] - [DisplayName("Full Name")] - [MaxLength(200)] - public string PrimaryNameField { - get { - return GetAttributeValue("fullname"); - } - } - - /// - /// Shows the ID of the process. - /// Display Name: Process - /// - [AttributeLogicalName("processid")] - [DisplayName("Process")] - public Guid? ProcessId { - get { - return GetAttributeValue("processid"); - } - set { - SetAttributeValue("processid", value); - } - } - - /// - /// Unique identifier of the default queue for the user. - /// Display Name: Default Queue - /// - [AttributeLogicalName("queueid")] - [DisplayName("Default Queue")] - public EntityReference QueueId { - get { - return GetAttributeValue("queueid"); - } - set { - SetAttributeValue("queueid", value); - } - } - - /// - /// Salutation for correspondence with the user. - /// Display Name: Salutation - /// - [AttributeLogicalName("salutation")] - [DisplayName("Salutation")] - [MaxLength(20)] - public string Salutation { - get { - return GetAttributeValue("salutation"); - } - set { - SetAttributeValue("salutation", value); - } - } - - /// - /// Check if user is a setup user. - /// Display Name: Restricted Access Mode - /// - [AttributeLogicalName("setupuser")] - [DisplayName("Restricted Access Mode")] - public bool? SetupUser { - get { - return GetAttributeValue("setupuser"); - } - set { - SetAttributeValue("setupuser", value); - } - } - - /// - /// SharePoint Work Email Address - /// Display Name: SharePoint Email Address - /// - [AttributeLogicalName("sharepointemailaddress")] - [DisplayName("SharePoint Email Address")] - [MaxLength(1024)] - public string SharePointEmailAddress { - get { - return GetAttributeValue("sharepointemailaddress"); - } - set { - SetAttributeValue("sharepointemailaddress", value); - } - } - - /// - /// Skill set of the user. - /// Display Name: Skills - /// - [AttributeLogicalName("skills")] - [DisplayName("Skills")] - [MaxLength(100)] - public string Skills { - get { - return GetAttributeValue("skills"); - } - set { - SetAttributeValue("skills", value); - } - } - - /// - /// Shows the ID of the stage. - /// Display Name: (Deprecated) Process Stage - /// - [AttributeLogicalName("stageid")] - [DisplayName("(Deprecated) Process Stage")] - public Guid? StageId { - get { - return GetAttributeValue("stageid"); - } - set { - SetAttributeValue("stageid", value); - } - } - - /// - /// The type of user - /// Display Name: System Managed User Type - /// - [AttributeLogicalName("systemmanagedusertype")] - [DisplayName("System Managed User Type")] - public SystemUser_SystemManagedUserType? SystemManagedUserType { - get { - return GetOptionSetValue("systemmanagedusertype"); - } - set { - SetOptionSetValue("systemmanagedusertype", value); - } - } - - /// - /// Unique identifier of the territory to which the user is assigned. - /// Display Name: Territory - /// - [AttributeLogicalName("territoryid")] - [DisplayName("Territory")] - public EntityReference TerritoryId { - get { - return GetAttributeValue("territoryid"); - } - set { - SetAttributeValue("territoryid", value); - } - } - - /// - /// For internal use only. - /// Display Name: Time Zone Rule Version Number - /// - [AttributeLogicalName("timezoneruleversionnumber")] - [DisplayName("Time Zone Rule Version Number")] - [Range(-1, 2147483647)] - public int? TimeZoneRuleVersionNumber { - get { - return GetAttributeValue("timezoneruleversionnumber"); - } - set { - SetAttributeValue("timezoneruleversionnumber", value); - } - } - - /// - /// Title of the user. - /// Display Name: Title - /// - [AttributeLogicalName("title")] - [DisplayName("Title")] - [MaxLength(128)] - public string Title { - get { - return GetAttributeValue("title"); - } - set { - SetAttributeValue("title", value); - } - } - - /// - /// Unique identifier of the currency associated with the systemuser. - /// Display Name: Currency - /// - [AttributeLogicalName("transactioncurrencyid")] - [DisplayName("Currency")] - public EntityReference TransactionCurrencyId { - get { - return GetAttributeValue("transactioncurrencyid"); - } - set { - SetAttributeValue("transactioncurrencyid", value); - } - } - - /// - /// For internal use only. - /// Display Name: (Deprecated) Traversed Path - /// - [AttributeLogicalName("traversedpath")] - [DisplayName("(Deprecated) Traversed Path")] - [MaxLength(1250)] - public string TraversedPath { - get { - return GetAttributeValue("traversedpath"); - } - set { - SetAttributeValue("traversedpath", value); - } - } - - /// - /// Time zone code that was in use when the record was created. - /// Display Name: UTC Conversion Time Zone Code - /// - [AttributeLogicalName("utcconversiontimezonecode")] - [DisplayName("UTC Conversion Time Zone Code")] - [Range(-1, 2147483647)] - public int? UTCConversionTimeZoneCode { - get { - return GetAttributeValue("utcconversiontimezonecode"); - } - set { - SetAttributeValue("utcconversiontimezonecode", value); - } - } - - /// - /// Shows the type of user license. - /// Display Name: User License Type - /// - [AttributeLogicalName("userlicensetype")] - [DisplayName("User License Type")] - [Range(-2147483648, 2147483647)] - public int? UserLicenseType { - get { - return GetAttributeValue("userlicensetype"); - } - set { - SetAttributeValue("userlicensetype", value); - } - } - - /// - /// User PUID User Identifiable Information - /// Display Name: User PUID - /// - [AttributeLogicalName("userpuid")] - [DisplayName("User PUID")] - [MaxLength(100)] - public string UserPuid { - get { - return GetAttributeValue("userpuid"); - } - } - - /// - /// Version number of the user. - /// Display Name: Version number - /// - [AttributeLogicalName("versionnumber")] - [DisplayName("Version number")] - public long? VersionNumber { - get { - return GetAttributeValue("versionnumber"); - } - } - - /// - /// Windows Live ID - /// Display Name: Windows Live ID - /// - [AttributeLogicalName("windowsliveid")] - [DisplayName("Windows Live ID")] - [MaxLength(1024)] - public string WindowsLiveID { - get { - return GetAttributeValue("windowsliveid"); - } - set { - SetAttributeValue("windowsliveid", value); - } - } - - /// - /// User's Yammer login email address - /// Display Name: Yammer Email - /// - [AttributeLogicalName("yammeremailaddress")] - [DisplayName("Yammer Email")] - [MaxLength(200)] - public string YammerEmailAddress { - get { - return GetAttributeValue("yammeremailaddress"); - } - set { - SetAttributeValue("yammeremailaddress", value); - } - } - - /// - /// User's Yammer ID - /// Display Name: Yammer User ID - /// - [AttributeLogicalName("yammeruserid")] - [DisplayName("Yammer User ID")] - [MaxLength(128)] - public string YammerUserId { - get { - return GetAttributeValue("yammeruserid"); - } - set { - SetAttributeValue("yammeruserid", value); - } - } - - /// - /// Pronunciation of the first name of the user, written in phonetic hiragana or katakana characters. - /// Display Name: Yomi First Name - /// - [AttributeLogicalName("yomifirstname")] - [DisplayName("Yomi First Name")] - [MaxLength(64)] - public string YomiFirstName { - get { - return GetAttributeValue("yomifirstname"); - } - set { - SetAttributeValue("yomifirstname", value); - } - } - - /// - /// Pronunciation of the full name of the user, written in phonetic hiragana or katakana characters. - /// Display Name: Yomi Full Name - /// - [AttributeLogicalName("yomifullname")] - [DisplayName("Yomi Full Name")] - [MaxLength(200)] - public string YomiFullName { - get { - return GetAttributeValue("yomifullname"); - } - } - - /// - /// Pronunciation of the last name of the user, written in phonetic hiragana or katakana characters. - /// Display Name: Yomi Last Name - /// - [AttributeLogicalName("yomilastname")] - [DisplayName("Yomi Last Name")] - [MaxLength(64)] - public string YomiLastName { - get { - return GetAttributeValue("yomilastname"); - } - set { - SetAttributeValue("yomilastname", value); - } - } - - /// - /// Pronunciation of the middle name of the user, written in phonetic hiragana or katakana characters. - /// Display Name: Yomi Middle Name - /// - [AttributeLogicalName("yomimiddlename")] - [DisplayName("Yomi Middle Name")] - [MaxLength(50)] - public string YomiMiddleName { - get { - return GetAttributeValue("yomimiddlename"); - } - set { - SetAttributeValue("yomimiddlename", value); - } - } - - [RelationshipSchemaName("lk_systemuser_createdonbehalfby", EntityRole.Referenced)] - public IEnumerable Referencedlk_systemuser_createdonbehalfby { - get { - return GetRelatedEntities("lk_systemuser_createdonbehalfby", EntityRole.Referenced); - } - set { - SetRelatedEntities("lk_systemuser_createdonbehalfby", EntityRole.Referenced, value); - } - } - - [RelationshipSchemaName("lk_systemuser_modifiedonbehalfby", EntityRole.Referenced)] - public IEnumerable Referencedlk_systemuser_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_systemuser_modifiedonbehalfby", EntityRole.Referenced); - } - set { - SetRelatedEntities("lk_systemuser_modifiedonbehalfby", EntityRole.Referenced, value); - } - } - - [RelationshipSchemaName("lk_systemuserbase_createdby", EntityRole.Referenced)] - public IEnumerable Referencedlk_systemuserbase_createdby { - get { - return GetRelatedEntities("lk_systemuserbase_createdby", EntityRole.Referenced); - } - set { - SetRelatedEntities("lk_systemuserbase_createdby", EntityRole.Referenced, value); - } - } - - [RelationshipSchemaName("lk_systemuserbase_modifiedby", EntityRole.Referenced)] - public IEnumerable Referencedlk_systemuserbase_modifiedby { - get { - return GetRelatedEntities("lk_systemuserbase_modifiedby", EntityRole.Referenced); - } - set { - SetRelatedEntities("lk_systemuserbase_modifiedby", EntityRole.Referenced, value); - } - } - - [RelationshipSchemaName("user_parent_user", EntityRole.Referenced)] - public IEnumerable Referenceduser_parent_user { - get { - return GetRelatedEntities("user_parent_user", EntityRole.Referenced); - } - set { - SetRelatedEntities("user_parent_user", EntityRole.Referenced, value); - } - } - - [AttributeLogicalName("createdonbehalfby")] - [RelationshipSchemaName("lk_systemuser_createdonbehalfby", EntityRole.Referencing)] - public SystemUser Referencinglk_systemuser_createdonbehalfby { - get { - return GetRelatedEntity("lk_systemuser_createdonbehalfby", EntityRole.Referencing); - } - set { - SetRelatedEntity("lk_systemuser_createdonbehalfby", EntityRole.Referencing, value); - } - } - - [AttributeLogicalName("modifiedonbehalfby")] - [RelationshipSchemaName("lk_systemuser_modifiedonbehalfby", EntityRole.Referencing)] - public SystemUser Referencinglk_systemuser_modifiedonbehalfby { - get { - return GetRelatedEntity("lk_systemuser_modifiedonbehalfby", EntityRole.Referencing); - } - set { - SetRelatedEntity("lk_systemuser_modifiedonbehalfby", EntityRole.Referencing, value); - } - } - - [AttributeLogicalName("createdby")] - [RelationshipSchemaName("lk_systemuserbase_createdby", EntityRole.Referencing)] - public SystemUser Referencinglk_systemuserbase_createdby { - get { - return GetRelatedEntity("lk_systemuserbase_createdby", EntityRole.Referencing); - } - set { - SetRelatedEntity("lk_systemuserbase_createdby", EntityRole.Referencing, value); - } - } - - [AttributeLogicalName("modifiedby")] - [RelationshipSchemaName("lk_systemuserbase_modifiedby", EntityRole.Referencing)] - public SystemUser Referencinglk_systemuserbase_modifiedby { - get { - return GetRelatedEntity("lk_systemuserbase_modifiedby", EntityRole.Referencing); - } - set { - SetRelatedEntity("lk_systemuserbase_modifiedby", EntityRole.Referencing, value); - } - } - - [AttributeLogicalName("parentsystemuserid")] - [RelationshipSchemaName("user_parent_user", EntityRole.Referencing)] - public SystemUser Referencinguser_parent_user { - get { - return GetRelatedEntity("user_parent_user", EntityRole.Referencing); - } - set { - SetRelatedEntity("user_parent_user", EntityRole.Referencing, value); - } - } - - [RelationshipSchemaName("SystemUser_DuplicateRules")] - public IEnumerable SystemUser_DuplicateRules { - get { - return GetRelatedEntities("SystemUser_DuplicateRules", null); - } - set { - SetRelatedEntities("SystemUser_DuplicateRules", null, value); - } - } - - [RelationshipSchemaName("annotation_owning_user")] - public IEnumerable annotation_owning_user { - get { - return GetRelatedEntities("annotation_owning_user", null); - } - set { - SetRelatedEntities("annotation_owning_user", null, value); - } - } - - [RelationshipSchemaName("contact_owning_user")] - public IEnumerable contact_owning_user { - get { - return GetRelatedEntities("contact_owning_user", null); - } - set { - SetRelatedEntities("contact_owning_user", null, value); - } - } - - [RelationshipSchemaName("lk_accountbase_createdby")] - public IEnumerable lk_accountbase_createdby { - get { - return GetRelatedEntities("lk_accountbase_createdby", null); - } - set { - SetRelatedEntities("lk_accountbase_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_accountbase_createdonbehalfby")] - public IEnumerable lk_accountbase_createdonbehalfby { - get { - return GetRelatedEntities("lk_accountbase_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_accountbase_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_accountbase_modifiedby")] - public IEnumerable lk_accountbase_modifiedby { - get { - return GetRelatedEntities("lk_accountbase_modifiedby", null); - } - set { - SetRelatedEntities("lk_accountbase_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_accountbase_modifiedonbehalfby")] - public IEnumerable lk_accountbase_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_accountbase_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_accountbase_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_annotationbase_createdby")] - public IEnumerable lk_annotationbase_createdby { - get { - return GetRelatedEntities("lk_annotationbase_createdby", null); - } - set { - SetRelatedEntities("lk_annotationbase_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_annotationbase_createdonbehalfby")] - public IEnumerable lk_annotationbase_createdonbehalfby { - get { - return GetRelatedEntities("lk_annotationbase_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_annotationbase_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_annotationbase_modifiedby")] - public IEnumerable lk_annotationbase_modifiedby { - get { - return GetRelatedEntities("lk_annotationbase_modifiedby", null); - } - set { - SetRelatedEntities("lk_annotationbase_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_annotationbase_modifiedonbehalfby")] - public IEnumerable lk_annotationbase_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_annotationbase_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_annotationbase_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_appnotification_createdby")] - public IEnumerable lk_appnotification_createdby { - get { - return GetRelatedEntities("lk_appnotification_createdby", null); - } - set { - SetRelatedEntities("lk_appnotification_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_appnotification_createdonbehalfby")] - public IEnumerable lk_appnotification_createdonbehalfby { - get { - return GetRelatedEntities("lk_appnotification_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_appnotification_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_appnotification_modifiedby")] - public IEnumerable lk_appnotification_modifiedby { - get { - return GetRelatedEntities("lk_appnotification_modifiedby", null); - } - set { - SetRelatedEntities("lk_appnotification_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_appnotification_modifiedonbehalfby")] - public IEnumerable lk_appnotification_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_appnotification_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_appnotification_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_contact_createdonbehalfby")] - public IEnumerable lk_contact_createdonbehalfby { - get { - return GetRelatedEntities("lk_contact_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_contact_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_contact_modifiedonbehalfby")] - public IEnumerable lk_contact_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_contact_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_contact_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_contactbase_createdby")] - public IEnumerable lk_contactbase_createdby { - get { - return GetRelatedEntities("lk_contactbase_createdby", null); - } - set { - SetRelatedEntities("lk_contactbase_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_contactbase_modifiedby")] - public IEnumerable lk_contactbase_modifiedby { - get { - return GetRelatedEntities("lk_contactbase_modifiedby", null); - } - set { - SetRelatedEntities("lk_contactbase_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_invoice_createdby")] - public IEnumerable lk_ctx_invoice_createdby { - get { - return GetRelatedEntities("lk_ctx_invoice_createdby", null); - } - set { - SetRelatedEntities("lk_ctx_invoice_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_invoice_createdonbehalfby")] - public IEnumerable lk_ctx_invoice_createdonbehalfby { - get { - return GetRelatedEntities("lk_ctx_invoice_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_invoice_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_invoice_modifiedby")] - public IEnumerable lk_ctx_invoice_modifiedby { - get { - return GetRelatedEntities("lk_ctx_invoice_modifiedby", null); - } - set { - SetRelatedEntities("lk_ctx_invoice_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_invoice_modifiedonbehalfby")] - public IEnumerable lk_ctx_invoice_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_ctx_invoice_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_invoice_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_invoicecollection_createdby")] - public IEnumerable lk_ctx_invoicecollection_createdby { - get { - return GetRelatedEntities("lk_ctx_invoicecollection_createdby", null); - } - set { - SetRelatedEntities("lk_ctx_invoicecollection_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_invoicecollection_createdonbehalfby")] - public IEnumerable lk_ctx_invoicecollection_createdonbehalfby { - get { - return GetRelatedEntities("lk_ctx_invoicecollection_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_invoicecollection_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_invoicecollection_modifiedby")] - public IEnumerable lk_ctx_invoicecollection_modifiedby { - get { - return GetRelatedEntities("lk_ctx_invoicecollection_modifiedby", null); - } - set { - SetRelatedEntities("lk_ctx_invoicecollection_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_invoicecollection_modifiedonbehalfby")] - public IEnumerable lk_ctx_invoicecollection_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_ctx_invoicecollection_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_invoicecollection_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_product_createdby")] - public IEnumerable lk_ctx_product_createdby { - get { - return GetRelatedEntities("lk_ctx_product_createdby", null); - } - set { - SetRelatedEntities("lk_ctx_product_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_product_createdonbehalfby")] - public IEnumerable lk_ctx_product_createdonbehalfby { - get { - return GetRelatedEntities("lk_ctx_product_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_product_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_product_modifiedby")] - public IEnumerable lk_ctx_product_modifiedby { - get { - return GetRelatedEntities("lk_ctx_product_modifiedby", null); - } - set { - SetRelatedEntities("lk_ctx_product_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_product_modifiedonbehalfby")] - public IEnumerable lk_ctx_product_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_ctx_product_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_product_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_subscription_createdby")] - public IEnumerable lk_ctx_subscription_createdby { - get { - return GetRelatedEntities("lk_ctx_subscription_createdby", null); - } - set { - SetRelatedEntities("lk_ctx_subscription_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_subscription_createdonbehalfby")] - public IEnumerable lk_ctx_subscription_createdonbehalfby { - get { - return GetRelatedEntities("lk_ctx_subscription_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_subscription_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_subscription_modifiedby")] - public IEnumerable lk_ctx_subscription_modifiedby { - get { - return GetRelatedEntities("lk_ctx_subscription_modifiedby", null); - } - set { - SetRelatedEntities("lk_ctx_subscription_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_subscription_modifiedonbehalfby")] - public IEnumerable lk_ctx_subscription_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_ctx_subscription_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_subscription_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_transaction_createdby")] - public IEnumerable lk_ctx_transaction_createdby { - get { - return GetRelatedEntities("lk_ctx_transaction_createdby", null); - } - set { - SetRelatedEntities("lk_ctx_transaction_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_transaction_createdonbehalfby")] - public IEnumerable lk_ctx_transaction_createdonbehalfby { - get { - return GetRelatedEntities("lk_ctx_transaction_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_transaction_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_transaction_modifiedby")] - public IEnumerable lk_ctx_transaction_modifiedby { - get { - return GetRelatedEntities("lk_ctx_transaction_modifiedby", null); - } - set { - SetRelatedEntities("lk_ctx_transaction_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_ctx_transaction_modifiedonbehalfby")] - public IEnumerable lk_ctx_transaction_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_ctx_transaction_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_ctx_transaction_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_duplicaterule_createdonbehalfby")] - public IEnumerable lk_duplicaterule_createdonbehalfby { - get { - return GetRelatedEntities("lk_duplicaterule_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_duplicaterule_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_duplicaterule_modifiedonbehalfby")] - public IEnumerable lk_duplicaterule_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_duplicaterule_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_duplicaterule_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_duplicaterulebase_createdby")] - public IEnumerable lk_duplicaterulebase_createdby { - get { - return GetRelatedEntities("lk_duplicaterulebase_createdby", null); - } - set { - SetRelatedEntities("lk_duplicaterulebase_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_duplicaterulebase_modifiedby")] - public IEnumerable lk_duplicaterulebase_modifiedby { - get { - return GetRelatedEntities("lk_duplicaterulebase_modifiedby", null); - } - set { - SetRelatedEntities("lk_duplicaterulebase_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_environmentvariabledefinition_createdby")] - public IEnumerable lk_environmentvariabledefinition_createdby { - get { - return GetRelatedEntities("lk_environmentvariabledefinition_createdby", null); - } - set { - SetRelatedEntities("lk_environmentvariabledefinition_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_environmentvariabledefinition_createdonbehalfby")] - public IEnumerable lk_environmentvariabledefinition_createdonbehalfby { - get { - return GetRelatedEntities("lk_environmentvariabledefinition_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_environmentvariabledefinition_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_environmentvariabledefinition_modifiedby")] - public IEnumerable lk_environmentvariabledefinition_modifiedby { - get { - return GetRelatedEntities("lk_environmentvariabledefinition_modifiedby", null); - } - set { - SetRelatedEntities("lk_environmentvariabledefinition_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_environmentvariabledefinition_modifiedonbehalfby")] - public IEnumerable lk_environmentvariabledefinition_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_environmentvariabledefinition_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_environmentvariabledefinition_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_environmentvariablevalue_createdby")] - public IEnumerable lk_environmentvariablevalue_createdby { - get { - return GetRelatedEntities("lk_environmentvariablevalue_createdby", null); - } - set { - SetRelatedEntities("lk_environmentvariablevalue_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_environmentvariablevalue_createdonbehalfby")] - public IEnumerable lk_environmentvariablevalue_createdonbehalfby { - get { - return GetRelatedEntities("lk_environmentvariablevalue_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_environmentvariablevalue_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_environmentvariablevalue_modifiedby")] - public IEnumerable lk_environmentvariablevalue_modifiedby { - get { - return GetRelatedEntities("lk_environmentvariablevalue_modifiedby", null); - } - set { - SetRelatedEntities("lk_environmentvariablevalue_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_environmentvariablevalue_modifiedonbehalfby")] - public IEnumerable lk_environmentvariablevalue_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_environmentvariablevalue_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_environmentvariablevalue_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_queue_createdonbehalfby")] - public IEnumerable lk_queue_createdonbehalfby { - get { - return GetRelatedEntities("lk_queue_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_queue_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_queue_modifiedonbehalfby")] - public IEnumerable lk_queue_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_queue_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_queue_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_queuebase_createdby")] - public IEnumerable lk_queuebase_createdby { - get { - return GetRelatedEntities("lk_queuebase_createdby", null); - } - set { - SetRelatedEntities("lk_queuebase_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_queuebase_modifiedby")] - public IEnumerable lk_queuebase_modifiedby { - get { - return GetRelatedEntities("lk_queuebase_modifiedby", null); - } - set { - SetRelatedEntities("lk_queuebase_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_savedquery_createdonbehalfby")] - public IEnumerable lk_savedquery_createdonbehalfby { - get { - return GetRelatedEntities("lk_savedquery_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_savedquery_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_savedquery_modifiedonbehalfby")] - public IEnumerable lk_savedquery_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_savedquery_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_savedquery_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_savedquerybase_createdby")] - public IEnumerable lk_savedquerybase_createdby { - get { - return GetRelatedEntities("lk_savedquerybase_createdby", null); - } - set { - SetRelatedEntities("lk_savedquerybase_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_savedquerybase_modifiedby")] - public IEnumerable lk_savedquerybase_modifiedby { - get { - return GetRelatedEntities("lk_savedquerybase_modifiedby", null); - } - set { - SetRelatedEntities("lk_savedquerybase_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_task_createdby")] - public IEnumerable lk_task_createdby { - get { - return GetRelatedEntities("lk_task_createdby", null); - } - set { - SetRelatedEntities("lk_task_createdby", null, value); - } - } - - [RelationshipSchemaName("lk_task_createdonbehalfby")] - public IEnumerable lk_task_createdonbehalfby { - get { - return GetRelatedEntities("lk_task_createdonbehalfby", null); - } - set { - SetRelatedEntities("lk_task_createdonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_task_modifiedby")] - public IEnumerable lk_task_modifiedby { - get { - return GetRelatedEntities("lk_task_modifiedby", null); - } - set { - SetRelatedEntities("lk_task_modifiedby", null, value); - } - } - - [RelationshipSchemaName("lk_task_modifiedonbehalfby")] - public IEnumerable lk_task_modifiedonbehalfby { - get { - return GetRelatedEntities("lk_task_modifiedonbehalfby", null); - } - set { - SetRelatedEntities("lk_task_modifiedonbehalfby", null, value); - } - } - - [RelationshipSchemaName("lk_templatebase_createdby")] - public IEnumerable