Client model for Auth that includes all the fields that are available for GETs. Use this for GETs (use AuthEntity for POST/PUTs)
Inheritance: AuthEntity
コード例 #1
0
ファイル: Auth.cs プロジェクト: NewSpring/Rock
 /// <summary>
 /// Copies the base properties from a source Auth object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( Auth source )
 {
     this.Id = source.Id;
     this.Action = source.Action;
     this.AllowOrDeny = source.AllowOrDeny;
     this.EntityId = source.EntityId;
     this.EntityTypeId = source.EntityTypeId;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.GroupId = source.GroupId;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Order = source.Order;
     this.PersonAliasId = source.PersonAliasId;
     this.SpecialRole = source.SpecialRole;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }
コード例 #2
0
 /// <summary>
 /// Copies the base properties from a source Auth object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( Auth source )
 {
     this.Id = source.Id;
     this.Action = source.Action;
     this.AllowOrDeny = source.AllowOrDeny;
     this.EntityId = source.EntityId;
     this.EntityTypeId = source.EntityTypeId;
     this.GroupId = source.GroupId;
     this.Order = source.Order;
     this.PersonAliasId = source.PersonAliasId;
     this.SpecialRole = source.SpecialRole;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }