FrameworkTemplate/SolutionTemplate/Models/Entities/environmentvariabledefinition.cs

#pragma warning disable CS1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace ModelBuilder
{
     
     
    /// <summary>
    /// The secret store where the secret is persisted.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum environmentvariabledefinition_secretstore
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AzureKeyVault = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        MicrosoftDataverse = 1,
    }
     
    /// <summary>
    /// Status of the Environment Variable Definition
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum environmentvariabledefinition_statecode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Active = 0,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Inactive = 1,
    }
     
    /// <summary>
    /// Reason for the status of the Environment Variable Definition
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum environmentvariabledefinition_statuscode
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Active = 1,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Inactive = 2,
    }
     
    [System.Runtime.Serialization.DataContractAttribute()]
    public enum environmentvariabledefinition_type
    {
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        String = 100000000,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Number = 100000001,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Boolean = 100000002,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        JSON = 100000003,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DataSource = 100000004,
         
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Secret = 100000005,
    }
     
    /// <summary>
    /// Contains information about the settable variable: its type, default value, and etc.
    /// </summary>
    [System.Runtime.Serialization.DataContractAttribute()]
    [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("environmentvariabledefinition")]
    public partial class EnvironmentVariableDefinition : Microsoft.Xrm.Sdk.Entity
    {
         
        /// <summary>
        /// Available fields, a the time of codegen, for the environmentvariabledefinition entity
        /// </summary>
        public partial class Fields
        {
            public const string ApiId = "apiid";
            public const string ComponentState = "componentstate";
            public const string ConnectionReferenceId = "connectionreferenceid";
            public const string CreatedBy = "createdby";
            public const string CreatedOn = "createdon";
            public const string CreatedOnBehalfBy = "createdonbehalfby";
            public const string DefaultValue = "defaultvalue";
            public const string Description = "description";
            public const string DisplayName = "displayname";
            public const string EnvironmentVariableDefinitionId = "environmentvariabledefinitionid";
            public const string Id = "environmentvariabledefinitionid";
            public const string EnvironmentVariableDefinitionIdUnique = "environmentvariabledefinitionidunique";
            public const string Hint = "hint";
            public const string ImportSequenceNumber = "importsequencenumber";
            public const string IntroducedVersion = "introducedversion";
            public const string IsCustomizable = "iscustomizable";
            public const string IsManaged = "ismanaged";
            public const string IsRequired = "isrequired";
            public const string ModifiedBy = "modifiedby";
            public const string ModifiedOn = "modifiedon";
            public const string ModifiedOnBehalfBy = "modifiedonbehalfby";
            public const string OverriddenCreatedOn = "overriddencreatedon";
            public const string OverwriteTime = "overwritetime";
            public const string OwnerId = "ownerid";
            public const string OwningBusinessUnit = "owningbusinessunit";
            public const string OwningTeam = "owningteam";
            public const string OwningUser = "owninguser";
            public const string ParameterKey = "parameterkey";
            public const string ParentDefinitionId = "parentdefinitionid";
            public const string SchemaName = "schemaname";
            public const string SecretStore = "secretstore";
            public const string SolutionId = "solutionid";
            public const string statecode = "statecode";
            public const string statuscode = "statuscode";
            public const string TimeZoneRuleVersionNumber = "timezoneruleversionnumber";
            public const string Type = "type";
            public const string UTCConversionTimeZoneCode = "utcconversiontimezonecode";
            public const string ValueSchema = "valueschema";
            public const string VersionNumber = "versionnumber";
            public const string Referencedenvdefinition_envdefinition = "Referencedenvdefinition_envdefinition";
            public const string environmentvariabledefinition_environmentvariablevalue = "environmentvariabledefinition_environmentvariablevalue";
            public const string business_unit_environmentvariabledefinition = "business_unit_environmentvariabledefinition";
            public const string Referencingenvdefinition_envdefinition = "envdefinition_envdefinition";
            public const string lk_environmentvariabledefinition_createdby = "lk_environmentvariabledefinition_createdby";
            public const string lk_environmentvariabledefinition_createdonbehalfby = "lk_environmentvariabledefinition_createdonbehalfby";
            public const string lk_environmentvariabledefinition_modifiedby = "lk_environmentvariabledefinition_modifiedby";
            public const string lk_environmentvariabledefinition_modifiedonbehalfby = "lk_environmentvariabledefinition_modifiedonbehalfby";
            public const string team_environmentvariabledefinition = "team_environmentvariabledefinition";
            public const string user_environmentvariabledefinition = "user_environmentvariabledefinition";
        }
         
        /// <summary>
        /// Default Constructor.
        /// </summary>
        public EnvironmentVariableDefinition() :
                base(EntityLogicalName)
        {
        }
         
        public const string EntityLogicalName = "environmentvariabledefinition";
         
        public const string EntityLogicalCollectionName = "environmentvariabledefinitions";
         
        public const string EntitySetName = "environmentvariabledefinitions";
         
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("apiid")]
        public string ApiId
        {
            get
            {
                return this.GetAttributeValue<string>("apiid");
            }
            set
            {
                this.SetAttributeValue("apiid", value);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("componentstate")]
        public virtual componentstate? ComponentState
        {
            get
            {
                return ((componentstate?)(EntityOptionSetEnum.GetEnum(this, "componentstate")));
            }
        }
         
        /// <summary>
        /// Unique identifier for Connection Reference associated with Environment Variable Definition.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("connectionreferenceid")]
        public Microsoft.Xrm.Sdk.EntityReference ConnectionReferenceId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("connectionreferenceid");
            }
            set
            {
                this.SetAttributeValue("connectionreferenceid", value);
            }
        }
         
        /// <summary>
        /// Unique identifier of the user who created the record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
        public Microsoft.Xrm.Sdk.EntityReference CreatedBy
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdby");
            }
        }
         
        /// <summary>
        /// Date and time when the record was created.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdon")]
        public System.Nullable<System.DateTime> CreatedOn
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.DateTime>>("createdon");
            }
        }
         
        /// <summary>
        /// Unique identifier of the delegate user who created the record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
        public Microsoft.Xrm.Sdk.EntityReference CreatedOnBehalfBy
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("createdonbehalfby");
            }
        }
         
        /// <summary>
        /// Default variable value to be used if no associated EnvironmentVariableValue entities exist.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("defaultvalue")]
        public string DefaultValue
        {
            get
            {
                return this.GetAttributeValue<string>("defaultvalue");
            }
            set
            {
                this.SetAttributeValue("defaultvalue", value);
            }
        }
         
        /// <summary>
        /// Description of the variable definition.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("description")]
        public string Description
        {
            get
            {
                return this.GetAttributeValue<string>("description");
            }
            set
            {
                this.SetAttributeValue("description", value);
            }
        }
         
        /// <summary>
        /// Display Name of the variable definition.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("displayname")]
        public string DisplayName
        {
            get
            {
                return this.GetAttributeValue<string>("displayname");
            }
            set
            {
                this.SetAttributeValue("displayname", value);
            }
        }
         
        /// <summary>
        /// Unique identifier for entity instances
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("environmentvariabledefinitionid")]
        public System.Nullable<System.Guid> EnvironmentVariableDefinitionId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("environmentvariabledefinitionid");
            }
            set
            {
                this.SetAttributeValue("environmentvariabledefinitionid", value);
                if (value.HasValue)
                {
                    base.Id = value.Value;
                }
                else
                {
                    base.Id = System.Guid.Empty;
                }
            }
        }
         
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("environmentvariabledefinitionid")]
        public override System.Guid Id
        {
            get
            {
                return base.Id;
            }
            set
            {
                this.EnvironmentVariableDefinitionId = value;
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("environmentvariabledefinitionidunique")]
        public System.Nullable<System.Guid> EnvironmentVariableDefinitionIdUnique
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("environmentvariabledefinitionidunique");
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("hint")]
        public string Hint
        {
            get
            {
                return this.GetAttributeValue<string>("hint");
            }
            set
            {
                this.SetAttributeValue("hint", value);
            }
        }
         
        /// <summary>
        /// Sequence number of the import that created this record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("importsequencenumber")]
        public System.Nullable<int> ImportSequenceNumber
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("importsequencenumber");
            }
            set
            {
                this.SetAttributeValue("importsequencenumber", value);
            }
        }
         
        /// <summary>
        /// Version in which the form is introduced.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("introducedversion")]
        public string IntroducedVersion
        {
            get
            {
                return this.GetAttributeValue<string>("introducedversion");
            }
            set
            {
                this.SetAttributeValue("introducedversion", value);
            }
        }
         
        /// <summary>
        /// Tells whether the component can be customized.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("iscustomizable")]
        public Microsoft.Xrm.Sdk.BooleanManagedProperty IsCustomizable
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.BooleanManagedProperty>("iscustomizable");
            }
            set
            {
                this.SetAttributeValue("iscustomizable", value);
            }
        }
         
        /// <summary>
        /// Indicates whether the solution component is part of a managed solution.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ismanaged")]
        public System.Nullable<bool> IsManaged
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("ismanaged");
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("isrequired")]
        public System.Nullable<bool> IsRequired
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<bool>>("isrequired");
            }
            set
            {
                this.SetAttributeValue("isrequired", value);
            }
        }
         
        /// <summary>
        /// Unique identifier of the user who modified the record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
        public Microsoft.Xrm.Sdk.EntityReference ModifiedBy
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedby");
            }
        }
         
        /// <summary>
        /// Date and time when the record was modified.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedon")]
        public System.Nullable<System.DateTime> ModifiedOn
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.DateTime>>("modifiedon");
            }
        }
         
        /// <summary>
        /// Unique identifier of the delegate user who modified the record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
        public Microsoft.Xrm.Sdk.EntityReference ModifiedOnBehalfBy
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("modifiedonbehalfby");
            }
        }
         
        /// <summary>
        /// Date and time that the record was migrated.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overriddencreatedon")]
        public System.Nullable<System.DateTime> OverriddenCreatedOn
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.DateTime>>("overriddencreatedon");
            }
            set
            {
                this.SetAttributeValue("overriddencreatedon", value);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("overwritetime")]
        public System.Nullable<System.DateTime> OverwriteTime
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.DateTime>>("overwritetime");
            }
        }
         
        /// <summary>
        /// Owner Id
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ownerid")]
        public Microsoft.Xrm.Sdk.EntityReference OwnerId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ownerid");
            }
            set
            {
                this.SetAttributeValue("ownerid", value);
            }
        }
         
        /// <summary>
        /// Unique identifier for the business unit that owns the record
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
        public Microsoft.Xrm.Sdk.EntityReference OwningBusinessUnit
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningbusinessunit");
            }
        }
         
        /// <summary>
        /// Unique identifier for the team that owns the record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
        public Microsoft.Xrm.Sdk.EntityReference OwningTeam
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owningteam");
            }
        }
         
        /// <summary>
        /// Unique identifier for the user that owns the record.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
        public Microsoft.Xrm.Sdk.EntityReference OwningUser
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("owninguser");
            }
        }
         
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parameterkey")]
        public string ParameterKey
        {
            get
            {
                return this.GetAttributeValue<string>("parameterkey");
            }
            set
            {
                this.SetAttributeValue("parameterkey", value);
            }
        }
         
        /// <summary>
        /// Unique identifier for Environment Variable Definition associated with Environment Variable Definition.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentdefinitionid")]
        public Microsoft.Xrm.Sdk.EntityReference ParentDefinitionId
        {
            get
            {
                return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("parentdefinitionid");
            }
            set
            {
                this.SetAttributeValue("parentdefinitionid", value);
            }
        }
         
        /// <summary>
        /// Unique entity name.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("schemaname")]
        public string SchemaName
        {
            get
            {
                return this.GetAttributeValue<string>("schemaname");
            }
            set
            {
                this.SetAttributeValue("schemaname", value);
            }
        }
         
        /// <summary>
        /// Environment variable secret store.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("secretstore")]
        public virtual environmentvariabledefinition_secretstore? SecretStore
        {
            get
            {
                return ((environmentvariabledefinition_secretstore?)(EntityOptionSetEnum.GetEnum(this, "secretstore")));
            }
            set
            {
                this.SetAttributeValue("secretstore", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Unique identifier of the associated solution.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("solutionid")]
        public System.Nullable<System.Guid> SolutionId
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<System.Guid>>("solutionid");
            }
        }
         
        /// <summary>
        /// Status of the Environment Variable Definition
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")]
        public virtual environmentvariabledefinition_statecode? statecode
        {
            get
            {
                return ((environmentvariabledefinition_statecode?)(EntityOptionSetEnum.GetEnum(this, "statecode")));
            }
            set
            {
                this.SetAttributeValue("statecode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Reason for the status of the Environment Variable Definition
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")]
        public virtual environmentvariabledefinition_statuscode? statuscode
        {
            get
            {
                return ((environmentvariabledefinition_statuscode?)(EntityOptionSetEnum.GetEnum(this, "statuscode")));
            }
            set
            {
                this.SetAttributeValue("statuscode", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("timezoneruleversionnumber")]
        public System.Nullable<int> TimeZoneRuleVersionNumber
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("timezoneruleversionnumber");
            }
            set
            {
                this.SetAttributeValue("timezoneruleversionnumber", value);
            }
        }
         
        /// <summary>
        /// Environment variable value type.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("type")]
        public virtual environmentvariabledefinition_type? Type
        {
            get
            {
                return ((environmentvariabledefinition_type?)(EntityOptionSetEnum.GetEnum(this, "type")));
            }
            set
            {
                this.SetAttributeValue("type", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
            }
        }
         
        /// <summary>
        /// Time zone code that was in use when the record was created.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("utcconversiontimezonecode")]
        public System.Nullable<int> UTCConversionTimeZoneCode
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<int>>("utcconversiontimezonecode");
            }
            set
            {
                this.SetAttributeValue("utcconversiontimezonecode", value);
            }
        }
         
        /// <summary>
        /// For internal use only.
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("valueschema")]
        public string ValueSchema
        {
            get
            {
                return this.GetAttributeValue<string>("valueschema");
            }
            set
            {
                this.SetAttributeValue("valueschema", value);
            }
        }
         
        /// <summary>
        /// Version Number
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")]
        public System.Nullable<long> VersionNumber
        {
            get
            {
                return this.GetAttributeValue<System.Nullable<long>>("versionnumber");
            }
        }
         
        /// <summary>
        /// 1:N envdefinition_envdefinition
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("envdefinition_envdefinition", Microsoft.Xrm.Sdk.EntityRole.Referenced)]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableDefinition> Referencedenvdefinition_envdefinition
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("envdefinition_envdefinition", Microsoft.Xrm.Sdk.EntityRole.Referenced);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableDefinition>("envdefinition_envdefinition", Microsoft.Xrm.Sdk.EntityRole.Referenced, value);
            }
        }
         
        /// <summary>
        /// 1:N environmentvariabledefinition_environmentvariablevalue
        /// </summary>
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("environmentvariabledefinition_environmentvariablevalue")]
        public System.Collections.Generic.IEnumerable<ModelBuilder.EnvironmentVariableValue> environmentvariabledefinition_environmentvariablevalue
        {
            get
            {
                return this.GetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("environmentvariabledefinition_environmentvariablevalue", null);
            }
            set
            {
                this.SetRelatedEntities<ModelBuilder.EnvironmentVariableValue>("environmentvariabledefinition_environmentvariablevalue", null, value);
            }
        }
         
        /// <summary>
        /// N:1 business_unit_environmentvariabledefinition
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_environmentvariabledefinition")]
        public ModelBuilder.BusinessUnit business_unit_environmentvariabledefinition
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.BusinessUnit>("business_unit_environmentvariabledefinition", null);
            }
        }
         
        /// <summary>
        /// N:1 envdefinition_envdefinition
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("parentdefinitionid")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("envdefinition_envdefinition", Microsoft.Xrm.Sdk.EntityRole.Referencing)]
        public ModelBuilder.EnvironmentVariableDefinition Referencingenvdefinition_envdefinition
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.EnvironmentVariableDefinition>("envdefinition_envdefinition", Microsoft.Xrm.Sdk.EntityRole.Referencing);
            }
            set
            {
                this.SetRelatedEntity<ModelBuilder.EnvironmentVariableDefinition>("envdefinition_envdefinition", Microsoft.Xrm.Sdk.EntityRole.Referencing, value);
            }
        }
         
        /// <summary>
        /// N:1 lk_environmentvariabledefinition_createdby
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariabledefinition_createdby")]
        public ModelBuilder.SystemUser lk_environmentvariabledefinition_createdby
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_environmentvariabledefinition_createdby", null);
            }
        }
         
        /// <summary>
        /// N:1 lk_environmentvariabledefinition_createdonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariabledefinition_createdonbehalfby")]
        public ModelBuilder.SystemUser lk_environmentvariabledefinition_createdonbehalfby
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_environmentvariabledefinition_createdonbehalfby", null);
            }
        }
         
        /// <summary>
        /// N:1 lk_environmentvariabledefinition_modifiedby
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariabledefinition_modifiedby")]
        public ModelBuilder.SystemUser lk_environmentvariabledefinition_modifiedby
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_environmentvariabledefinition_modifiedby", null);
            }
        }
         
        /// <summary>
        /// N:1 lk_environmentvariabledefinition_modifiedonbehalfby
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariabledefinition_modifiedonbehalfby")]
        public ModelBuilder.SystemUser lk_environmentvariabledefinition_modifiedonbehalfby
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_environmentvariabledefinition_modifiedonbehalfby", null);
            }
        }
         
        /// <summary>
        /// N:1 team_environmentvariabledefinition
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_environmentvariabledefinition")]
        public ModelBuilder.Team team_environmentvariabledefinition
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.Team>("team_environmentvariabledefinition", null);
            }
        }
         
        /// <summary>
        /// N:1 user_environmentvariabledefinition
        /// </summary>
        [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")]
        [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_environmentvariabledefinition")]
        public ModelBuilder.SystemUser user_environmentvariabledefinition
        {
            get
            {
                return this.GetRelatedEntity<ModelBuilder.SystemUser>("user_environmentvariabledefinition", null);
            }
        }
    }
}
#pragma warning restore CS1591