public void LoadFromInfo(aspnet_RolesEntityInfo EntityInfo) { this.ApplicationId = EntityInfo.ApplicationId; this.RoleId = EntityInfo.RoleId; this.RoleName = EntityInfo.RoleName; this.LoweredRoleName = EntityInfo.LoweredRoleName; this.Description = EntityInfo.Description; this.LongDescription = EntityInfo.LongDescription; }
public aspnet_RolesEntityUpdate(aspnet_RolesEntityInfo EntityInfo) { this.Clear(); this.ApplicationId = new Guid?(EntityInfo.ApplicationId); this.RoleId = new Guid?(EntityInfo.RoleId); this.RoleName = EntityInfo.RoleName; this.LoweredRoleName = EntityInfo.LoweredRoleName; this.Description = EntityInfo.Description; this.LongDescription = EntityInfo.LongDescription; }