FrameworkTemplate/SolutionTemplate/Models/Entities/environmentvariablevalue.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> /// Status of the Environment Variable Value /// </summary> [System.Runtime.Serialization.DataContractAttribute()] public enum environmentvariablevalue_statecode { [System.Runtime.Serialization.EnumMemberAttribute()] Active = 0, [System.Runtime.Serialization.EnumMemberAttribute()] Inactive = 1, } /// <summary> /// Reason for the status of the Environment Variable Value /// </summary> [System.Runtime.Serialization.DataContractAttribute()] public enum environmentvariablevalue_statuscode { [System.Runtime.Serialization.EnumMemberAttribute()] Active = 1, [System.Runtime.Serialization.EnumMemberAttribute()] Inactive = 2, } /// <summary> /// Holds the value for the associated EnvironmentVariableDefinition entity. /// </summary> [System.Runtime.Serialization.DataContractAttribute()] [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("environmentvariablevalue")] public partial class EnvironmentVariableValue : Microsoft.Xrm.Sdk.Entity { /// <summary> /// Available fields, a the time of codegen, for the environmentvariablevalue entity /// </summary> public partial class Fields { public const string ComponentState = "componentstate"; public const string CreatedBy = "createdby"; public const string CreatedOn = "createdon"; public const string CreatedOnBehalfBy = "createdonbehalfby"; public const string EnvironmentVariableDefinitionId = "environmentvariabledefinitionid"; public const string EnvironmentVariableValueId = "environmentvariablevalueid"; public const string Id = "environmentvariablevalueid"; public const string EnvironmentVariableValueIdUnique = "environmentvariablevalueidunique"; public const string ImportSequenceNumber = "importsequencenumber"; public const string IntroducedVersion = "introducedversion"; public const string IsCustomizable = "iscustomizable"; public const string IsManaged = "ismanaged"; 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 SchemaName = "schemaname"; public const string SolutionId = "solutionid"; public const string statecode = "statecode"; public const string statuscode = "statuscode"; public const string TimeZoneRuleVersionNumber = "timezoneruleversionnumber"; public const string UTCConversionTimeZoneCode = "utcconversiontimezonecode"; public const string Value = "value"; public const string VersionNumber = "versionnumber"; public const string business_unit_environmentvariablevalue = "business_unit_environmentvariablevalue"; public const string environmentvariabledefinition_environmentvariablevalue = "environmentvariabledefinition_environmentvariablevalue"; public const string lk_environmentvariablevalue_createdby = "lk_environmentvariablevalue_createdby"; public const string lk_environmentvariablevalue_createdonbehalfby = "lk_environmentvariablevalue_createdonbehalfby"; public const string lk_environmentvariablevalue_modifiedby = "lk_environmentvariablevalue_modifiedby"; public const string lk_environmentvariablevalue_modifiedonbehalfby = "lk_environmentvariablevalue_modifiedonbehalfby"; public const string team_environmentvariablevalue = "team_environmentvariablevalue"; public const string user_environmentvariablevalue = "user_environmentvariablevalue"; } /// <summary> /// Default Constructor. /// </summary> public EnvironmentVariableValue() : base(EntityLogicalName) { } public const string EntityLogicalName = "environmentvariablevalue"; public const string EntityLogicalCollectionName = "environmentvariablevalues"; public const string EntitySetName = "environmentvariablevalues"; /// <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 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> /// Unique identifier for Environment Variable Definition associated with Environment Variable Value. /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("environmentvariabledefinitionid")] public Microsoft.Xrm.Sdk.EntityReference EnvironmentVariableDefinitionId { get { return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("environmentvariabledefinitionid"); } set { this.SetAttributeValue("environmentvariabledefinitionid", value); } } /// <summary> /// Unique identifier for entity instances /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("environmentvariablevalueid")] public System.Nullable<System.Guid> EnvironmentVariableValueId { get { return this.GetAttributeValue<System.Nullable<System.Guid>>("environmentvariablevalueid"); } set { this.SetAttributeValue("environmentvariablevalueid", value); if (value.HasValue) { base.Id = value.Value; } else { base.Id = System.Guid.Empty; } } } [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("environmentvariablevalueid")] public override System.Guid Id { get { return base.Id; } set { this.EnvironmentVariableValueId = value; } } /// <summary> /// For internal use only. /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("environmentvariablevalueidunique")] public System.Nullable<System.Guid> EnvironmentVariableValueIdUnique { get { return this.GetAttributeValue<System.Nullable<System.Guid>>("environmentvariablevalueidunique"); } } /// <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> /// 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"); } } /// <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> /// 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 Value /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statecode")] public virtual environmentvariablevalue_statecode? statecode { get { return ((environmentvariablevalue_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 Value /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("statuscode")] public virtual environmentvariablevalue_statuscode? statuscode { get { return ((environmentvariablevalue_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> /// 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> /// Contains the actual variable data. /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("value")] public string Value { get { return this.GetAttributeValue<string>("value"); } set { this.SetAttributeValue("value", value); } } /// <summary> /// Version Number /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("versionnumber")] public System.Nullable<long> VersionNumber { get { return this.GetAttributeValue<System.Nullable<long>>("versionnumber"); } } /// <summary> /// N:1 business_unit_environmentvariablevalue /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningbusinessunit")] [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("business_unit_environmentvariablevalue")] public ModelBuilder.BusinessUnit business_unit_environmentvariablevalue { get { return this.GetRelatedEntity<ModelBuilder.BusinessUnit>("business_unit_environmentvariablevalue", null); } } /// <summary> /// N:1 environmentvariabledefinition_environmentvariablevalue /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("environmentvariabledefinitionid")] [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("environmentvariabledefinition_environmentvariablevalue")] public ModelBuilder.EnvironmentVariableDefinition environmentvariabledefinition_environmentvariablevalue { get { return this.GetRelatedEntity<ModelBuilder.EnvironmentVariableDefinition>("environmentvariabledefinition_environmentvariablevalue", null); } set { this.SetRelatedEntity<ModelBuilder.EnvironmentVariableDefinition>("environmentvariabledefinition_environmentvariablevalue", null, value); } } /// <summary> /// N:1 lk_environmentvariablevalue_createdby /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdby")] [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariablevalue_createdby")] public ModelBuilder.SystemUser lk_environmentvariablevalue_createdby { get { return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_environmentvariablevalue_createdby", null); } } /// <summary> /// N:1 lk_environmentvariablevalue_createdonbehalfby /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("createdonbehalfby")] [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariablevalue_createdonbehalfby")] public ModelBuilder.SystemUser lk_environmentvariablevalue_createdonbehalfby { get { return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_environmentvariablevalue_createdonbehalfby", null); } } /// <summary> /// N:1 lk_environmentvariablevalue_modifiedby /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedby")] [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariablevalue_modifiedby")] public ModelBuilder.SystemUser lk_environmentvariablevalue_modifiedby { get { return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_environmentvariablevalue_modifiedby", null); } } /// <summary> /// N:1 lk_environmentvariablevalue_modifiedonbehalfby /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("modifiedonbehalfby")] [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("lk_environmentvariablevalue_modifiedonbehalfby")] public ModelBuilder.SystemUser lk_environmentvariablevalue_modifiedonbehalfby { get { return this.GetRelatedEntity<ModelBuilder.SystemUser>("lk_environmentvariablevalue_modifiedonbehalfby", null); } } /// <summary> /// N:1 team_environmentvariablevalue /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owningteam")] [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("team_environmentvariablevalue")] public ModelBuilder.Team team_environmentvariablevalue { get { return this.GetRelatedEntity<ModelBuilder.Team>("team_environmentvariablevalue", null); } } /// <summary> /// N:1 user_environmentvariablevalue /// </summary> [Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("owninguser")] [Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("user_environmentvariablevalue")] public ModelBuilder.SystemUser user_environmentvariablevalue { get { return this.GetRelatedEntity<ModelBuilder.SystemUser>("user_environmentvariablevalue", null); } } } } #pragma warning restore CS1591 |