Client model for DefinedType that includes all the fields that are available for GETs. Use this for GETs (use DefinedTypeEntity for POST/PUTs)
Inheritance: DefinedTypeEntity
Ejemplo n.º 1
0
 /// <summary>
 /// Copies the base properties from a source DefinedType object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(DefinedType source)
 {
     this.Id          = source.Id;
     this.CategoryId  = source.CategoryId;
     this.Description = source.Description;
     this.FieldTypeId = source.FieldTypeId;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey  = source.ForeignKey;
     this.HelpText    = source.HelpText;
     this.IsSystem    = source.IsSystem;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name                    = source.Name;
     this.Order                   = source.Order;
     this.CreatedDateTime         = source.CreatedDateTime;
     this.ModifiedDateTime        = source.ModifiedDateTime;
     this.CreatedByPersonAliasId  = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid                    = source.Guid;
     this.ForeignId               = source.ForeignId;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Copies the base properties from a source DefinedType object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( DefinedType source )
 {
     this.Id = source.Id;
     this.CategoryId = source.CategoryId;
     this.Description = source.Description;
     this.FieldTypeId = source.FieldTypeId;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.HelpText = source.HelpText;
     this.IsSystem = source.IsSystem;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.Order = source.Order;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }