public MigrationBatchIdParameter(string identity)
 {
     if (identity == null)
     {
         throw new ArgumentNullException("identity");
     }
     this.MigrationBatchId = MigrationBatchIdParameter.MigrationBatchIdFromString(identity);
     this.RawIdentity      = identity;
 }
 public MigrationBatchIdParameter(INamedIdentity namedIdentity)
 {
     if (namedIdentity == null)
     {
         throw new ArgumentNullException("namedIdentity");
     }
     this.MigrationBatchId = MigrationBatchIdParameter.MigrationBatchIdFromString(namedIdentity.Identity);
     this.RawIdentity      = namedIdentity.DisplayName;
 }