public MigrationConfigIdParameter(MigrationConfigId identity)
 {
     if (identity == null)
     {
         throw new ArgumentNullException("identity");
     }
     this.Id          = identity;
     this.RawIdentity = identity.ToString();
 }
        public void Initialize(ObjectId objectId)
        {
            MigrationConfigId migrationConfigId = objectId as MigrationConfigId;

            if (migrationConfigId == null)
            {
                throw new ArgumentException("objectId");
            }
            this.Id          = migrationConfigId;
            this.RawIdentity = migrationConfigId.ToString();
        }