Exemplo n.º 1
0
 public MigrationStatisticsIdParameter(MigrationStatisticsId identity)
 {
     if (identity == null)
     {
         throw new ArgumentNullException("identity");
     }
     this.Id          = identity;
     this.RawIdentity = identity.ToString();
 }
Exemplo n.º 2
0
        public void Initialize(ObjectId objectId)
        {
            MigrationStatisticsId migrationStatisticsId = objectId as MigrationStatisticsId;

            if (migrationStatisticsId == null)
            {
                throw new ArgumentException("objectId");
            }
            this.Id          = migrationStatisticsId;
            this.RawIdentity = migrationStatisticsId.ToString();
        }
Exemplo n.º 3
0
 public Identity(MigrationStatisticsId id) : this(id.ToString(), id.ToString())
 {
 }