public MigrationReportIdParameter(MigrationReportId identity)
 {
     if (identity == null)
     {
         throw new ArgumentNullException("identity");
     }
     this.MigrationReportId = identity;
     this.RawIdentity       = identity.ToString();
 }
        public void Initialize(ObjectId objectId)
        {
            MigrationReportId migrationReportId = objectId as MigrationReportId;

            if (migrationReportId == null)
            {
                throw new ArgumentException("objectId");
            }
            this.MigrationReportId = migrationReportId;
        }
Beispiel #3
0
 public Identity(MigrationReportId id) : this(id.ToString(), id.ToString())
 {
 }