public MigrationStatisticsIdParameter(MigrationStatisticsId identity) { if (identity == null) { throw new ArgumentNullException("identity"); } this.Id = identity; this.RawIdentity = identity.ToString(); }
public void Initialize(ObjectId objectId) { MigrationStatisticsId migrationStatisticsId = objectId as MigrationStatisticsId; if (migrationStatisticsId == null) { throw new ArgumentException("objectId"); } this.Id = migrationStatisticsId; this.RawIdentity = migrationStatisticsId.ToString(); }
public Identity(MigrationStatisticsId id) : this(id.ToString(), id.ToString()) { }