Ejemplo n.º 1
0
        public virtual void Initialize(IAttributeSetInstanceStateCreated stateCreated)
        {
            var aggregateId = stateCreated.AttributeSetInstanceEventId.AttributeSetInstanceId;
            var state       = new AttributeSetInstanceState();

            state.AttributeSetInstanceId = aggregateId;
            var aggregate = (AttributeSetInstanceAggregate)GetAttributeSetInstanceAggregate(state);

            var eventStoreAggregateId = ToEventStoreAggregateId(aggregateId);

            aggregate.Apply(stateCreated);
            Persist(eventStoreAggregateId, aggregate, state);
        }
Ejemplo n.º 2
0
        public virtual void When(IAttributeSetInstanceStateCreated e)
        {
            ThrowOnWrongEvent(e);
            this.AttributeSetId = e.AttributeSetId;

            this.OrganizationId = e.OrganizationId;

            this.ReferenceId = e.ReferenceId;

            this.SerialNumber = e.SerialNumber;

            this.LotId = e.LotId;

            this.StatusIds = e.StatusIds;

            this.ImageUrl = e.ImageUrl;

            this.Description = e.Description;

            this.Hash = e.Hash;

            this.WidthInch = e.WidthInch;

            this.DiameterInch = e.DiameterInch;

            this.WeightLbs = e.WeightLbs;

            this.WeightKg = e.WeightKg;

            this.AirDryWeightLbs = e.AirDryWeightLbs;

            this.AirDryWeightKg = e.AirDryWeightKg;

            this.AirDryMetricTon = e.AirDryMetricTon;

            this.RollCnt = e.RollCnt;

            this.AirDryPct = e.AirDryPct;

            this._F_B_0_ = e._F_B_0_;

            this._F_I_0_ = e._F_I_0_;

            this._F_L_0_ = e._F_L_0_;

            this._F_DT_0_ = e._F_DT_0_;

            this._F_N_0_ = e._F_N_0_;

            this._F_C5_0_ = e._F_C5_0_;

            this._F_C10_0_ = e._F_C10_0_;

            this._F_C20_0_ = e._F_C20_0_;

            this._F_C50_0_ = e._F_C50_0_;

            this._F_C100_0_ = e._F_C100_0_;

            this._F_C200_0_ = e._F_C200_0_;

            this._F_C500_0_ = e._F_C500_0_;

            this._F_C1000_0_ = e._F_C1000_0_;

            this._F_B_1_ = e._F_B_1_;

            this._F_I_1_ = e._F_I_1_;

            this._F_L_1_ = e._F_L_1_;

            this._F_DT_1_ = e._F_DT_1_;

            this._F_N_1_ = e._F_N_1_;

            this._F_C5_1_ = e._F_C5_1_;

            this._F_C10_1_ = e._F_C10_1_;

            this._F_C20_1_ = e._F_C20_1_;

            this._F_C50_1_ = e._F_C50_1_;

            this._F_C100_1_ = e._F_C100_1_;

            this._F_C200_1_ = e._F_C200_1_;

            this._F_B_2_ = e._F_B_2_;

            this._F_I_2_ = e._F_I_2_;

            this._F_L_2_ = e._F_L_2_;

            this._F_DT_2_ = e._F_DT_2_;

            this._F_N_2_ = e._F_N_2_;

            this._F_C5_2_ = e._F_C5_2_;

            this._F_C10_2_ = e._F_C10_2_;

            this._F_C20_2_ = e._F_C20_2_;

            this._F_C50_2_ = e._F_C50_2_;

            this._F_B_3_ = e._F_B_3_;

            this._F_I_3_ = e._F_I_3_;

            this._F_L_3_ = e._F_L_3_;

            this._F_DT_3_ = e._F_DT_3_;

            this._F_N_3_ = e._F_N_3_;

            this._F_C5_3_ = e._F_C5_3_;

            this._F_C10_3_ = e._F_C10_3_;

            this._F_C20_3_ = e._F_C20_3_;

            this._F_C50_3_ = e._F_C50_3_;

            this._F_B_4_ = e._F_B_4_;

            this._F_I_4_ = e._F_I_4_;

            this._F_L_4_ = e._F_L_4_;

            this._F_DT_4_ = e._F_DT_4_;

            this._F_N_4_ = e._F_N_4_;

            this._F_C5_4_ = e._F_C5_4_;

            this._F_C10_4_ = e._F_C10_4_;

            this._F_C20_4_ = e._F_C20_4_;

            this._F_C50_4_ = e._F_C50_4_;

            this.Active = (e.Active != null && e.Active.HasValue) ? e.Active.Value : default(bool);

            this.Deleted = false;

            this.CreatedBy = e.CreatedBy;
            this.CreatedAt = e.CreatedAt;
        }
        public static string GetHash(IAttributeSetInstanceStateCreated state)
        {
            StringBuilder sb = new StringBuilder();

            sb.Append("AttributeSetId").Append("=").Append(GetSafeStringValue(state.AttributeSetId)).Append("|");
            sb.Append("OrganizationId").Append("=").Append(GetSafeStringValue(state.OrganizationId)).Append("|");
            sb.Append("ReferenceId").Append("=").Append(GetSafeStringValue(state.ReferenceId)).Append("|");
            sb.Append("SerialNumber").Append("=").Append(GetSafeStringValue(state.SerialNumber)).Append("|");
            sb.Append("LotId").Append("=").Append(GetSafeStringValue(state.LotId)).Append("|");
            sb.Append("Description").Append("=").Append(GetSafeStringValue(state.Description)).Append("|");
            sb.Append("Active").Append("=").Append(state.Active).Append("|");
            sb.Append("WidthInch").Append("=").Append(state.WidthInch).Append("|");
            sb.Append("DiameterInch").Append("=").Append(state.DiameterInch).Append("|");
            sb.Append("WeightLbs").Append("=").Append(state.WeightLbs).Append("|");
            sb.Append("WeightKg").Append("=").Append(state.WeightKg).Append("|");
            sb.Append("AirDryWeightLbs").Append("=").Append(state.AirDryWeightLbs).Append("|");
            sb.Append("AirDryWeightKg").Append("=").Append(state.AirDryWeightKg).Append("|");
            sb.Append("AirDryMetricTon").Append("=").Append(state.AirDryMetricTon).Append("|");
            sb.Append("PackageCount").Append("=").Append(state.PackageCount).Append("|");
            sb.Append("AirDryPct").Append("=").Append(state.AirDryPct).Append("|");
            sb.Append("_F_B_0_").Append("=").Append(state._F_B_0_).Append("|");
            sb.Append("_F_I_0_").Append("=").Append(state._F_I_0_).Append("|");
            sb.Append("_F_L_0_").Append("=").Append(state._F_L_0_).Append("|");
            sb.Append("_F_DT_0_").Append("=").Append(state._F_DT_0_).Append("|");
            sb.Append("_F_N_0_").Append("=").Append(state._F_N_0_).Append("|");
            sb.Append("_F_C5_0_").Append("=").Append(GetSafeStringValue(state._F_C5_0_)).Append("|");
            sb.Append("_F_C10_0_").Append("=").Append(GetSafeStringValue(state._F_C10_0_)).Append("|");
            sb.Append("_F_C20_0_").Append("=").Append(GetSafeStringValue(state._F_C20_0_)).Append("|");
            sb.Append("_F_C50_0_").Append("=").Append(GetSafeStringValue(state._F_C50_0_)).Append("|");
            sb.Append("_F_C100_0_").Append("=").Append(GetSafeStringValue(state._F_C100_0_)).Append("|");
            sb.Append("_F_C200_0_").Append("=").Append(GetSafeStringValue(state._F_C200_0_)).Append("|");
            sb.Append("_F_C500_0_").Append("=").Append(GetSafeStringValue(state._F_C500_0_)).Append("|");
            sb.Append("_F_C1000_0_").Append("=").Append(GetSafeStringValue(state._F_C1000_0_)).Append("|");
            sb.Append("_F_B_1_").Append("=").Append(state._F_B_1_).Append("|");
            sb.Append("_F_I_1_").Append("=").Append(state._F_I_1_).Append("|");
            sb.Append("_F_L_1_").Append("=").Append(state._F_L_1_).Append("|");
            sb.Append("_F_DT_1_").Append("=").Append(state._F_DT_1_).Append("|");
            sb.Append("_F_N_1_").Append("=").Append(state._F_N_1_).Append("|");
            sb.Append("_F_C5_1_").Append("=").Append(GetSafeStringValue(state._F_C5_1_)).Append("|");
            sb.Append("_F_C10_1_").Append("=").Append(GetSafeStringValue(state._F_C10_1_)).Append("|");
            sb.Append("_F_C20_1_").Append("=").Append(GetSafeStringValue(state._F_C20_1_)).Append("|");
            sb.Append("_F_C50_1_").Append("=").Append(GetSafeStringValue(state._F_C50_1_)).Append("|");
            sb.Append("_F_C100_1_").Append("=").Append(GetSafeStringValue(state._F_C100_1_)).Append("|");
            sb.Append("_F_C200_1_").Append("=").Append(GetSafeStringValue(state._F_C200_1_)).Append("|");
            sb.Append("_F_B_2_").Append("=").Append(state._F_B_2_).Append("|");
            sb.Append("_F_I_2_").Append("=").Append(state._F_I_2_).Append("|");
            sb.Append("_F_L_2_").Append("=").Append(state._F_L_2_).Append("|");
            sb.Append("_F_DT_2_").Append("=").Append(state._F_DT_2_).Append("|");
            sb.Append("_F_N_2_").Append("=").Append(state._F_N_2_).Append("|");
            sb.Append("_F_C5_2_").Append("=").Append(GetSafeStringValue(state._F_C5_2_)).Append("|");
            sb.Append("_F_C10_2_").Append("=").Append(GetSafeStringValue(state._F_C10_2_)).Append("|");
            sb.Append("_F_C20_2_").Append("=").Append(GetSafeStringValue(state._F_C20_2_)).Append("|");
            sb.Append("_F_C50_2_").Append("=").Append(GetSafeStringValue(state._F_C50_2_)).Append("|");
            sb.Append("_F_B_3_").Append("=").Append(state._F_B_3_).Append("|");
            sb.Append("_F_I_3_").Append("=").Append(state._F_I_3_).Append("|");
            sb.Append("_F_L_3_").Append("=").Append(state._F_L_3_).Append("|");
            sb.Append("_F_DT_3_").Append("=").Append(state._F_DT_3_).Append("|");
            sb.Append("_F_N_3_").Append("=").Append(state._F_N_3_).Append("|");
            sb.Append("_F_C5_3_").Append("=").Append(GetSafeStringValue(state._F_C5_3_)).Append("|");
            sb.Append("_F_C10_3_").Append("=").Append(GetSafeStringValue(state._F_C10_3_)).Append("|");
            sb.Append("_F_C20_3_").Append("=").Append(GetSafeStringValue(state._F_C20_3_)).Append("|");
            sb.Append("_F_C50_3_").Append("=").Append(GetSafeStringValue(state._F_C50_3_)).Append("|");
            sb.Append("_F_B_4_").Append("=").Append(state._F_B_4_).Append("|");
            sb.Append("_F_I_4_").Append("=").Append(state._F_I_4_).Append("|");
            sb.Append("_F_L_4_").Append("=").Append(state._F_L_4_).Append("|");
            sb.Append("_F_DT_4_").Append("=").Append(state._F_DT_4_).Append("|");
            sb.Append("_F_N_4_").Append("=").Append(state._F_N_4_).Append("|");
            sb.Append("_F_C5_4_").Append("=").Append(GetSafeStringValue(state._F_C5_4_)).Append("|");
            sb.Append("_F_C10_4_").Append("=").Append(GetSafeStringValue(state._F_C10_4_)).Append("|");
            sb.Append("_F_C20_4_").Append("=").Append(GetSafeStringValue(state._F_C20_4_)).Append("|");
            sb.Append("_F_C50_4_").Append("=").Append(GetSafeStringValue(state._F_C50_4_)).Append("|");

            using (MD5 md5Hash = MD5.Create())
            {
                string hash = GetMD5HashString(md5Hash, sb.ToString());
                return(hash);
            }
        }
Ejemplo n.º 4
0
        public virtual AttributeSetInstanceStateCreatedDto ToAttributeSetInstanceStateCreatedDto(IAttributeSetInstanceStateCreated e)
        {
            var dto = new AttributeSetInstanceStateCreatedDto();

            dto.AttributeSetInstanceEventId = e.AttributeSetInstanceEventId;
            dto.CreatedAt       = e.CreatedAt;
            dto.CreatedBy       = e.CreatedBy;
            dto.CommandId       = e.CommandId;
            dto.AttributeSetId  = e.AttributeSetId;
            dto.OrganizationId  = e.OrganizationId;
            dto.ReferenceId     = e.ReferenceId;
            dto.SerialNumber    = e.SerialNumber;
            dto.LotId           = e.LotId;
            dto.Description     = e.Description;
            dto.Hash            = e.Hash;
            dto.WidthInch       = e.WidthInch;
            dto.DiameterInch    = e.DiameterInch;
            dto.WeightLbs       = e.WeightLbs;
            dto.WeightKg        = e.WeightKg;
            dto.AirDryWeightLbs = e.AirDryWeightLbs;
            dto.AirDryWeightKg  = e.AirDryWeightKg;
            dto.AirDryMetricTon = e.AirDryMetricTon;
            dto.PackageCount    = e.PackageCount;
            dto.AirDryPct       = e.AirDryPct;
            dto._F_B_0_         = e._F_B_0_;
            dto._F_I_0_         = e._F_I_0_;
            dto._F_L_0_         = e._F_L_0_;
            dto._F_DT_0_        = e._F_DT_0_;
            dto._F_N_0_         = e._F_N_0_;
            dto._F_C5_0_        = e._F_C5_0_;
            dto._F_C10_0_       = e._F_C10_0_;
            dto._F_C20_0_       = e._F_C20_0_;
            dto._F_C50_0_       = e._F_C50_0_;
            dto._F_C100_0_      = e._F_C100_0_;
            dto._F_C200_0_      = e._F_C200_0_;
            dto._F_C500_0_      = e._F_C500_0_;
            dto._F_C1000_0_     = e._F_C1000_0_;
            dto._F_B_1_         = e._F_B_1_;
            dto._F_I_1_         = e._F_I_1_;
            dto._F_L_1_         = e._F_L_1_;
            dto._F_DT_1_        = e._F_DT_1_;
            dto._F_N_1_         = e._F_N_1_;
            dto._F_C5_1_        = e._F_C5_1_;
            dto._F_C10_1_       = e._F_C10_1_;
            dto._F_C20_1_       = e._F_C20_1_;
            dto._F_C50_1_       = e._F_C50_1_;
            dto._F_C100_1_      = e._F_C100_1_;
            dto._F_C200_1_      = e._F_C200_1_;
            dto._F_B_2_         = e._F_B_2_;
            dto._F_I_2_         = e._F_I_2_;
            dto._F_L_2_         = e._F_L_2_;
            dto._F_DT_2_        = e._F_DT_2_;
            dto._F_N_2_         = e._F_N_2_;
            dto._F_C5_2_        = e._F_C5_2_;
            dto._F_C10_2_       = e._F_C10_2_;
            dto._F_C20_2_       = e._F_C20_2_;
            dto._F_C50_2_       = e._F_C50_2_;
            dto._F_B_3_         = e._F_B_3_;
            dto._F_I_3_         = e._F_I_3_;
            dto._F_L_3_         = e._F_L_3_;
            dto._F_DT_3_        = e._F_DT_3_;
            dto._F_N_3_         = e._F_N_3_;
            dto._F_C5_3_        = e._F_C5_3_;
            dto._F_C10_3_       = e._F_C10_3_;
            dto._F_C20_3_       = e._F_C20_3_;
            dto._F_C50_3_       = e._F_C50_3_;
            dto._F_B_4_         = e._F_B_4_;
            dto._F_I_4_         = e._F_I_4_;
            dto._F_L_4_         = e._F_L_4_;
            dto._F_DT_4_        = e._F_DT_4_;
            dto._F_N_4_         = e._F_N_4_;
            dto._F_C5_4_        = e._F_C5_4_;
            dto._F_C10_4_       = e._F_C10_4_;
            dto._F_C20_4_       = e._F_C20_4_;
            dto._F_C50_4_       = e._F_C50_4_;
            dto.Active          = e.Active;
            return(dto);
        }
Ejemplo n.º 5
0
        public virtual void When(IAttributeSetInstanceStateCreated e)
        {
            ThrowOnWrongEvent(e);
            this.AttributeSetId = e.AttributeSetId;

            this.OrganizationId = e.OrganizationId;

            this.ReferenceId = e.ReferenceId;

            this.SerialNumber = e.SerialNumber;

            this.Lot = e.Lot;

            this.Description = e.Description;

            this.Hash = e.Hash;

            this._F_B_0_ = e._F_B_0_;

            this._F_I_0_ = e._F_I_0_;

            this._F_L_0_ = e._F_L_0_;

            this._F_DT_0_ = e._F_DT_0_;

            this._F_N_0_ = e._F_N_0_;

            this._F_C5_0_ = e._F_C5_0_;

            this._F_C10_0_ = e._F_C10_0_;

            this._F_C20_0_ = e._F_C20_0_;

            this._F_C50_0_ = e._F_C50_0_;

            this._F_C100_0_ = e._F_C100_0_;

            this._F_C200_0_ = e._F_C200_0_;

            this._F_C500_0_ = e._F_C500_0_;

            this._F_C1000_0_ = e._F_C1000_0_;

            this._F_B_1_ = e._F_B_1_;

            this._F_I_1_ = e._F_I_1_;

            this._F_L_1_ = e._F_L_1_;

            this._F_DT_1_ = e._F_DT_1_;

            this._F_N_1_ = e._F_N_1_;

            this._F_C5_1_ = e._F_C5_1_;

            this._F_C10_1_ = e._F_C10_1_;

            this._F_C20_1_ = e._F_C20_1_;

            this._F_C50_1_ = e._F_C50_1_;

            this._F_C100_1_ = e._F_C100_1_;

            this._F_C200_1_ = e._F_C200_1_;

            this._F_C500_1_ = e._F_C500_1_;

            this._F_C1000_1_ = e._F_C1000_1_;

            this._F_B_2_ = e._F_B_2_;

            this._F_I_2_ = e._F_I_2_;

            this._F_L_2_ = e._F_L_2_;

            this._F_DT_2_ = e._F_DT_2_;

            this._F_N_2_ = e._F_N_2_;

            this._F_C5_2_ = e._F_C5_2_;

            this._F_C10_2_ = e._F_C10_2_;

            this._F_C20_2_ = e._F_C20_2_;

            this._F_C50_2_ = e._F_C50_2_;

            this._F_C100_2_ = e._F_C100_2_;

            this._F_C200_2_ = e._F_C200_2_;

            this._F_C500_2_ = e._F_C500_2_;

            this._F_C1000_2_ = e._F_C1000_2_;

            this._F_B_3_ = e._F_B_3_;

            this._F_I_3_ = e._F_I_3_;

            this._F_L_3_ = e._F_L_3_;

            this._F_DT_3_ = e._F_DT_3_;

            this._F_N_3_ = e._F_N_3_;

            this._F_C5_3_ = e._F_C5_3_;

            this._F_C10_3_ = e._F_C10_3_;

            this._F_C20_3_ = e._F_C20_3_;

            this._F_C50_3_ = e._F_C50_3_;

            this._F_C100_3_ = e._F_C100_3_;

            this._F_C200_3_ = e._F_C200_3_;

            this._F_C500_3_ = e._F_C500_3_;

            this._F_C1000_3_ = e._F_C1000_3_;

            this._F_B_4_ = e._F_B_4_;

            this._F_I_4_ = e._F_I_4_;

            this._F_L_4_ = e._F_L_4_;

            this._F_DT_4_ = e._F_DT_4_;

            this._F_N_4_ = e._F_N_4_;

            this._F_C5_4_ = e._F_C5_4_;

            this._F_C10_4_ = e._F_C10_4_;

            this._F_C20_4_ = e._F_C20_4_;

            this._F_C50_4_ = e._F_C50_4_;

            this._F_C100_4_ = e._F_C100_4_;

            this._F_C200_4_ = e._F_C200_4_;

            this._F_C500_4_ = e._F_C500_4_;

            this._F_C1000_4_ = e._F_C1000_4_;

            this._F_B_5_ = e._F_B_5_;

            this._F_I_5_ = e._F_I_5_;

            this._F_L_5_ = e._F_L_5_;

            this._F_DT_5_ = e._F_DT_5_;

            this._F_N_5_ = e._F_N_5_;

            this._F_C5_5_ = e._F_C5_5_;

            this._F_C10_5_ = e._F_C10_5_;

            this._F_C20_5_ = e._F_C20_5_;

            this._F_C50_5_ = e._F_C50_5_;

            this._F_C100_5_ = e._F_C100_5_;

            this._F_C200_5_ = e._F_C200_5_;

            this._F_C500_5_ = e._F_C500_5_;

            this._F_B_6_ = e._F_B_6_;

            this._F_I_6_ = e._F_I_6_;

            this._F_L_6_ = e._F_L_6_;

            this._F_DT_6_ = e._F_DT_6_;

            this._F_N_6_ = e._F_N_6_;

            this._F_C5_6_ = e._F_C5_6_;

            this._F_C10_6_ = e._F_C10_6_;

            this._F_C20_6_ = e._F_C20_6_;

            this._F_C50_6_ = e._F_C50_6_;

            this._F_C100_6_ = e._F_C100_6_;

            this._F_C200_6_ = e._F_C200_6_;

            this._F_C500_6_ = e._F_C500_6_;

            this._F_B_7_ = e._F_B_7_;

            this._F_I_7_ = e._F_I_7_;

            this._F_L_7_ = e._F_L_7_;

            this._F_DT_7_ = e._F_DT_7_;

            this._F_N_7_ = e._F_N_7_;

            this._F_C5_7_ = e._F_C5_7_;

            this._F_C10_7_ = e._F_C10_7_;

            this._F_C20_7_ = e._F_C20_7_;

            this._F_C50_7_ = e._F_C50_7_;

            this._F_C100_7_ = e._F_C100_7_;

            this._F_C200_7_ = e._F_C200_7_;

            this._F_C500_7_ = e._F_C500_7_;

            this._F_B_8_ = e._F_B_8_;

            this._F_I_8_ = e._F_I_8_;

            this._F_L_8_ = e._F_L_8_;

            this._F_DT_8_ = e._F_DT_8_;

            this._F_N_8_ = e._F_N_8_;

            this._F_C5_8_ = e._F_C5_8_;

            this._F_C10_8_ = e._F_C10_8_;

            this._F_C20_8_ = e._F_C20_8_;

            this._F_C50_8_ = e._F_C50_8_;

            this._F_C100_8_ = e._F_C100_8_;

            this._F_C200_8_ = e._F_C200_8_;

            this._F_C500_8_ = e._F_C500_8_;

            this._F_B_9_ = e._F_B_9_;

            this._F_I_9_ = e._F_I_9_;

            this._F_L_9_ = e._F_L_9_;

            this._F_DT_9_ = e._F_DT_9_;

            this._F_N_9_ = e._F_N_9_;

            this._F_C5_9_ = e._F_C5_9_;

            this._F_C10_9_ = e._F_C10_9_;

            this._F_C20_9_ = e._F_C20_9_;

            this._F_C50_9_ = e._F_C50_9_;

            this._F_C100_9_ = e._F_C100_9_;

            this._F_C200_9_ = e._F_C200_9_;

            this._F_C500_9_ = e._F_C500_9_;

            this._F_B_10_ = e._F_B_10_;

            this._F_I_10_ = e._F_I_10_;

            this._F_L_10_ = e._F_L_10_;

            this._F_DT_10_ = e._F_DT_10_;

            this._F_N_10_ = e._F_N_10_;

            this._F_C5_10_ = e._F_C5_10_;

            this._F_C10_10_ = e._F_C10_10_;

            this._F_C20_10_ = e._F_C20_10_;

            this._F_C50_10_ = e._F_C50_10_;

            this._F_C100_10_ = e._F_C100_10_;

            this._F_C200_10_ = e._F_C200_10_;

            this._F_B_11_ = e._F_B_11_;

            this._F_I_11_ = e._F_I_11_;

            this._F_L_11_ = e._F_L_11_;

            this._F_DT_11_ = e._F_DT_11_;

            this._F_N_11_ = e._F_N_11_;

            this._F_C5_11_ = e._F_C5_11_;

            this._F_C10_11_ = e._F_C10_11_;

            this._F_C20_11_ = e._F_C20_11_;

            this._F_C50_11_ = e._F_C50_11_;

            this._F_C100_11_ = e._F_C100_11_;

            this._F_C200_11_ = e._F_C200_11_;

            this._F_B_12_ = e._F_B_12_;

            this._F_I_12_ = e._F_I_12_;

            this._F_L_12_ = e._F_L_12_;

            this._F_DT_12_ = e._F_DT_12_;

            this._F_N_12_ = e._F_N_12_;

            this._F_C5_12_ = e._F_C5_12_;

            this._F_C10_12_ = e._F_C10_12_;

            this._F_C20_12_ = e._F_C20_12_;

            this._F_C50_12_ = e._F_C50_12_;

            this._F_C100_12_ = e._F_C100_12_;

            this._F_C200_12_ = e._F_C200_12_;

            this._F_B_13_ = e._F_B_13_;

            this._F_I_13_ = e._F_I_13_;

            this._F_L_13_ = e._F_L_13_;

            this._F_DT_13_ = e._F_DT_13_;

            this._F_N_13_ = e._F_N_13_;

            this._F_C5_13_ = e._F_C5_13_;

            this._F_C10_13_ = e._F_C10_13_;

            this._F_C20_13_ = e._F_C20_13_;

            this._F_C50_13_ = e._F_C50_13_;

            this._F_C100_13_ = e._F_C100_13_;

            this._F_C200_13_ = e._F_C200_13_;

            this._F_B_14_ = e._F_B_14_;

            this._F_I_14_ = e._F_I_14_;

            this._F_L_14_ = e._F_L_14_;

            this._F_DT_14_ = e._F_DT_14_;

            this._F_N_14_ = e._F_N_14_;

            this._F_C5_14_ = e._F_C5_14_;

            this._F_C10_14_ = e._F_C10_14_;

            this._F_C20_14_ = e._F_C20_14_;

            this._F_C50_14_ = e._F_C50_14_;

            this._F_C100_14_ = e._F_C100_14_;

            this._F_C200_14_ = e._F_C200_14_;

            this._F_B_15_ = e._F_B_15_;

            this._F_I_15_ = e._F_I_15_;

            this._F_L_15_ = e._F_L_15_;

            this._F_DT_15_ = e._F_DT_15_;

            this._F_N_15_ = e._F_N_15_;

            this._F_C5_15_ = e._F_C5_15_;

            this._F_C10_15_ = e._F_C10_15_;

            this._F_C20_15_ = e._F_C20_15_;

            this._F_C50_15_ = e._F_C50_15_;

            this._F_C100_15_ = e._F_C100_15_;

            this._F_C200_15_ = e._F_C200_15_;

            this._F_B_16_ = e._F_B_16_;

            this._F_I_16_ = e._F_I_16_;

            this._F_L_16_ = e._F_L_16_;

            this._F_DT_16_ = e._F_DT_16_;

            this._F_N_16_ = e._F_N_16_;

            this._F_C5_16_ = e._F_C5_16_;

            this._F_C10_16_ = e._F_C10_16_;

            this._F_C20_16_ = e._F_C20_16_;

            this._F_C50_16_ = e._F_C50_16_;

            this._F_C100_16_ = e._F_C100_16_;

            this._F_C200_16_ = e._F_C200_16_;

            this._F_B_17_ = e._F_B_17_;

            this._F_I_17_ = e._F_I_17_;

            this._F_L_17_ = e._F_L_17_;

            this._F_DT_17_ = e._F_DT_17_;

            this._F_N_17_ = e._F_N_17_;

            this._F_C5_17_ = e._F_C5_17_;

            this._F_C10_17_ = e._F_C10_17_;

            this._F_C20_17_ = e._F_C20_17_;

            this._F_C50_17_ = e._F_C50_17_;

            this._F_C100_17_ = e._F_C100_17_;

            this._F_C200_17_ = e._F_C200_17_;

            this._F_B_18_ = e._F_B_18_;

            this._F_I_18_ = e._F_I_18_;

            this._F_L_18_ = e._F_L_18_;

            this._F_DT_18_ = e._F_DT_18_;

            this._F_N_18_ = e._F_N_18_;

            this._F_C5_18_ = e._F_C5_18_;

            this._F_C10_18_ = e._F_C10_18_;

            this._F_C20_18_ = e._F_C20_18_;

            this._F_C50_18_ = e._F_C50_18_;

            this._F_C100_18_ = e._F_C100_18_;

            this._F_C200_18_ = e._F_C200_18_;

            this._F_B_19_ = e._F_B_19_;

            this._F_I_19_ = e._F_I_19_;

            this._F_L_19_ = e._F_L_19_;

            this._F_DT_19_ = e._F_DT_19_;

            this._F_N_19_ = e._F_N_19_;

            this._F_C5_19_ = e._F_C5_19_;

            this._F_C10_19_ = e._F_C10_19_;

            this._F_C20_19_ = e._F_C20_19_;

            this._F_C50_19_ = e._F_C50_19_;

            this._F_C100_19_ = e._F_C100_19_;

            this._F_C200_19_ = e._F_C200_19_;

            this._F_B_20_ = e._F_B_20_;

            this._F_I_20_ = e._F_I_20_;

            this._F_L_20_ = e._F_L_20_;

            this._F_N_20_ = e._F_N_20_;

            this._F_C5_20_ = e._F_C5_20_;

            this._F_C10_20_ = e._F_C10_20_;

            this._F_C20_20_ = e._F_C20_20_;

            this._F_C50_20_ = e._F_C50_20_;

            this._F_B_21_ = e._F_B_21_;

            this._F_I_21_ = e._F_I_21_;

            this._F_L_21_ = e._F_L_21_;

            this._F_N_21_ = e._F_N_21_;

            this._F_C5_21_ = e._F_C5_21_;

            this._F_C10_21_ = e._F_C10_21_;

            this._F_C20_21_ = e._F_C20_21_;

            this._F_C50_21_ = e._F_C50_21_;

            this._F_B_22_ = e._F_B_22_;

            this._F_I_22_ = e._F_I_22_;

            this._F_L_22_ = e._F_L_22_;

            this._F_N_22_ = e._F_N_22_;

            this._F_C5_22_ = e._F_C5_22_;

            this._F_C10_22_ = e._F_C10_22_;

            this._F_C20_22_ = e._F_C20_22_;

            this._F_C50_22_ = e._F_C50_22_;

            this._F_B_23_ = e._F_B_23_;

            this._F_I_23_ = e._F_I_23_;

            this._F_L_23_ = e._F_L_23_;

            this._F_N_23_ = e._F_N_23_;

            this._F_C5_23_ = e._F_C5_23_;

            this._F_C10_23_ = e._F_C10_23_;

            this._F_C20_23_ = e._F_C20_23_;

            this._F_C50_23_ = e._F_C50_23_;

            this._F_B_24_ = e._F_B_24_;

            this._F_I_24_ = e._F_I_24_;

            this._F_L_24_ = e._F_L_24_;

            this._F_N_24_ = e._F_N_24_;

            this._F_C5_24_ = e._F_C5_24_;

            this._F_C10_24_ = e._F_C10_24_;

            this._F_C20_24_ = e._F_C20_24_;

            this._F_C50_24_ = e._F_C50_24_;

            this._F_B_25_ = e._F_B_25_;

            this._F_I_25_ = e._F_I_25_;

            this._F_L_25_ = e._F_L_25_;

            this._F_N_25_ = e._F_N_25_;

            this._F_C5_25_ = e._F_C5_25_;

            this._F_C10_25_ = e._F_C10_25_;

            this._F_C20_25_ = e._F_C20_25_;

            this._F_C50_25_ = e._F_C50_25_;

            this._F_B_26_ = e._F_B_26_;

            this._F_I_26_ = e._F_I_26_;

            this._F_L_26_ = e._F_L_26_;

            this._F_N_26_ = e._F_N_26_;

            this._F_C5_26_ = e._F_C5_26_;

            this._F_C10_26_ = e._F_C10_26_;

            this._F_C20_26_ = e._F_C20_26_;

            this._F_C50_26_ = e._F_C50_26_;

            this._F_B_27_ = e._F_B_27_;

            this._F_I_27_ = e._F_I_27_;

            this._F_L_27_ = e._F_L_27_;

            this._F_N_27_ = e._F_N_27_;

            this._F_C5_27_ = e._F_C5_27_;

            this._F_C10_27_ = e._F_C10_27_;

            this._F_C20_27_ = e._F_C20_27_;

            this._F_C50_27_ = e._F_C50_27_;

            this._F_B_28_ = e._F_B_28_;

            this._F_I_28_ = e._F_I_28_;

            this._F_L_28_ = e._F_L_28_;

            this._F_N_28_ = e._F_N_28_;

            this._F_C5_28_ = e._F_C5_28_;

            this._F_C10_28_ = e._F_C10_28_;

            this._F_C20_28_ = e._F_C20_28_;

            this._F_C50_28_ = e._F_C50_28_;

            this._F_B_29_ = e._F_B_29_;

            this._F_I_29_ = e._F_I_29_;

            this._F_L_29_ = e._F_L_29_;

            this._F_N_29_ = e._F_N_29_;

            this._F_C5_29_ = e._F_C5_29_;

            this._F_C10_29_ = e._F_C10_29_;

            this._F_C20_29_ = e._F_C20_29_;

            this._F_C50_29_ = e._F_C50_29_;

            this._F_B_30_ = e._F_B_30_;

            this._F_I_30_ = e._F_I_30_;

            this._F_N_30_ = e._F_N_30_;

            this._F_C5_30_ = e._F_C5_30_;

            this._F_C10_30_ = e._F_C10_30_;

            this._F_C20_30_ = e._F_C20_30_;

            this._F_C50_30_ = e._F_C50_30_;

            this._F_B_31_ = e._F_B_31_;

            this._F_I_31_ = e._F_I_31_;

            this._F_N_31_ = e._F_N_31_;

            this._F_C5_31_ = e._F_C5_31_;

            this._F_C10_31_ = e._F_C10_31_;

            this._F_C20_31_ = e._F_C20_31_;

            this._F_C50_31_ = e._F_C50_31_;

            this._F_B_32_ = e._F_B_32_;

            this._F_I_32_ = e._F_I_32_;

            this._F_N_32_ = e._F_N_32_;

            this._F_C5_32_ = e._F_C5_32_;

            this._F_C10_32_ = e._F_C10_32_;

            this._F_C20_32_ = e._F_C20_32_;

            this._F_C50_32_ = e._F_C50_32_;

            this._F_B_33_ = e._F_B_33_;

            this._F_I_33_ = e._F_I_33_;

            this._F_N_33_ = e._F_N_33_;

            this._F_C5_33_ = e._F_C5_33_;

            this._F_C10_33_ = e._F_C10_33_;

            this._F_C20_33_ = e._F_C20_33_;

            this._F_C50_33_ = e._F_C50_33_;

            this._F_B_34_ = e._F_B_34_;

            this._F_I_34_ = e._F_I_34_;

            this._F_N_34_ = e._F_N_34_;

            this._F_C5_34_ = e._F_C5_34_;

            this._F_C10_34_ = e._F_C10_34_;

            this._F_C20_34_ = e._F_C20_34_;

            this._F_C50_34_ = e._F_C50_34_;

            this._F_B_35_ = e._F_B_35_;

            this._F_I_35_ = e._F_I_35_;

            this._F_N_35_ = e._F_N_35_;

            this._F_C5_35_ = e._F_C5_35_;

            this._F_C10_35_ = e._F_C10_35_;

            this._F_C20_35_ = e._F_C20_35_;

            this._F_C50_35_ = e._F_C50_35_;

            this._F_B_36_ = e._F_B_36_;

            this._F_I_36_ = e._F_I_36_;

            this._F_N_36_ = e._F_N_36_;

            this._F_C5_36_ = e._F_C5_36_;

            this._F_C10_36_ = e._F_C10_36_;

            this._F_C20_36_ = e._F_C20_36_;

            this._F_C50_36_ = e._F_C50_36_;

            this._F_B_37_ = e._F_B_37_;

            this._F_I_37_ = e._F_I_37_;

            this._F_N_37_ = e._F_N_37_;

            this._F_C5_37_ = e._F_C5_37_;

            this._F_C10_37_ = e._F_C10_37_;

            this._F_C20_37_ = e._F_C20_37_;

            this._F_C50_37_ = e._F_C50_37_;

            this._F_B_38_ = e._F_B_38_;

            this._F_I_38_ = e._F_I_38_;

            this._F_N_38_ = e._F_N_38_;

            this._F_C5_38_ = e._F_C5_38_;

            this._F_C10_38_ = e._F_C10_38_;

            this._F_C20_38_ = e._F_C20_38_;

            this._F_C50_38_ = e._F_C50_38_;

            this._F_B_39_ = e._F_B_39_;

            this._F_I_39_ = e._F_I_39_;

            this._F_N_39_ = e._F_N_39_;

            this._F_C5_39_ = e._F_C5_39_;

            this._F_C10_39_ = e._F_C10_39_;

            this._F_C20_39_ = e._F_C20_39_;

            this._F_C50_39_ = e._F_C50_39_;

            this._F_B_40_ = e._F_B_40_;

            this._F_I_40_ = e._F_I_40_;

            this._F_N_40_ = e._F_N_40_;

            this._F_C5_40_ = e._F_C5_40_;

            this._F_C10_40_ = e._F_C10_40_;

            this._F_C20_40_ = e._F_C20_40_;

            this._F_C50_40_ = e._F_C50_40_;

            this._F_B_41_ = e._F_B_41_;

            this._F_I_41_ = e._F_I_41_;

            this._F_N_41_ = e._F_N_41_;

            this._F_C5_41_ = e._F_C5_41_;

            this._F_C10_41_ = e._F_C10_41_;

            this._F_C20_41_ = e._F_C20_41_;

            this._F_C50_41_ = e._F_C50_41_;

            this._F_B_42_ = e._F_B_42_;

            this._F_I_42_ = e._F_I_42_;

            this._F_N_42_ = e._F_N_42_;

            this._F_C5_42_ = e._F_C5_42_;

            this._F_C10_42_ = e._F_C10_42_;

            this._F_C20_42_ = e._F_C20_42_;

            this._F_C50_42_ = e._F_C50_42_;

            this._F_B_43_ = e._F_B_43_;

            this._F_I_43_ = e._F_I_43_;

            this._F_N_43_ = e._F_N_43_;

            this._F_C5_43_ = e._F_C5_43_;

            this._F_C10_43_ = e._F_C10_43_;

            this._F_C20_43_ = e._F_C20_43_;

            this._F_C50_43_ = e._F_C50_43_;

            this._F_B_44_ = e._F_B_44_;

            this._F_I_44_ = e._F_I_44_;

            this._F_N_44_ = e._F_N_44_;

            this._F_C5_44_ = e._F_C5_44_;

            this._F_C10_44_ = e._F_C10_44_;

            this._F_C20_44_ = e._F_C20_44_;

            this._F_C50_44_ = e._F_C50_44_;

            this._F_B_45_ = e._F_B_45_;

            this._F_I_45_ = e._F_I_45_;

            this._F_N_45_ = e._F_N_45_;

            this._F_C5_45_ = e._F_C5_45_;

            this._F_C10_45_ = e._F_C10_45_;

            this._F_C20_45_ = e._F_C20_45_;

            this._F_C50_45_ = e._F_C50_45_;

            this._F_B_46_ = e._F_B_46_;

            this._F_I_46_ = e._F_I_46_;

            this._F_N_46_ = e._F_N_46_;

            this._F_C5_46_ = e._F_C5_46_;

            this._F_C10_46_ = e._F_C10_46_;

            this._F_C20_46_ = e._F_C20_46_;

            this._F_C50_46_ = e._F_C50_46_;

            this._F_B_47_ = e._F_B_47_;

            this._F_I_47_ = e._F_I_47_;

            this._F_N_47_ = e._F_N_47_;

            this._F_C5_47_ = e._F_C5_47_;

            this._F_C10_47_ = e._F_C10_47_;

            this._F_C20_47_ = e._F_C20_47_;

            this._F_C50_47_ = e._F_C50_47_;

            this._F_B_48_ = e._F_B_48_;

            this._F_I_48_ = e._F_I_48_;

            this._F_N_48_ = e._F_N_48_;

            this._F_C5_48_ = e._F_C5_48_;

            this._F_C10_48_ = e._F_C10_48_;

            this._F_C20_48_ = e._F_C20_48_;

            this._F_C50_48_ = e._F_C50_48_;

            this._F_B_49_ = e._F_B_49_;

            this._F_I_49_ = e._F_I_49_;

            this._F_N_49_ = e._F_N_49_;

            this._F_C5_49_ = e._F_C5_49_;

            this._F_C10_49_ = e._F_C10_49_;

            this._F_C20_49_ = e._F_C20_49_;

            this._F_C50_49_ = e._F_C50_49_;

            this.Active = (e.Active != null && e.Active.HasValue) ? e.Active.Value : default(bool);

            this.Deleted = false;

            this.CreatedBy = e.CreatedBy;
            this.CreatedAt = e.CreatedAt;
        }
Ejemplo n.º 6
0
        protected virtual IAttributeSetInstanceStateCreated Map(ICreateAttributeSetInstance c)
        {
            var stateEventId = new AttributeSetInstanceEventId(c.AttributeSetInstanceId, c.Version);
            IAttributeSetInstanceStateCreated e = NewAttributeSetInstanceStateCreated(stateEventId);

            e.AttributeSetId  = c.AttributeSetId;
            e.OrganizationId  = c.OrganizationId;
            e.ReferenceId     = c.ReferenceId;
            e.SerialNumber    = c.SerialNumber;
            e.LotId           = c.LotId;
            e.StatusIds       = c.StatusIds;
            e.ImageUrl        = c.ImageUrl;
            e.Description     = c.Description;
            e.Hash            = c.Hash;
            e.WidthInch       = c.WidthInch;
            e.DiameterInch    = c.DiameterInch;
            e.WeightLbs       = c.WeightLbs;
            e.WeightKg        = c.WeightKg;
            e.AirDryWeightLbs = c.AirDryWeightLbs;
            e.AirDryWeightKg  = c.AirDryWeightKg;
            e.AirDryMetricTon = c.AirDryMetricTon;
            e.RollCnt         = c.RollCnt;
            e.AirDryPct       = c.AirDryPct;
            e._F_B_0_         = c._F_B_0_;
            e._F_I_0_         = c._F_I_0_;
            e._F_L_0_         = c._F_L_0_;
            e._F_DT_0_        = c._F_DT_0_;
            e._F_N_0_         = c._F_N_0_;
            e._F_C5_0_        = c._F_C5_0_;
            e._F_C10_0_       = c._F_C10_0_;
            e._F_C20_0_       = c._F_C20_0_;
            e._F_C50_0_       = c._F_C50_0_;
            e._F_C100_0_      = c._F_C100_0_;
            e._F_C200_0_      = c._F_C200_0_;
            e._F_C500_0_      = c._F_C500_0_;
            e._F_C1000_0_     = c._F_C1000_0_;
            e._F_B_1_         = c._F_B_1_;
            e._F_I_1_         = c._F_I_1_;
            e._F_L_1_         = c._F_L_1_;
            e._F_DT_1_        = c._F_DT_1_;
            e._F_N_1_         = c._F_N_1_;
            e._F_C5_1_        = c._F_C5_1_;
            e._F_C10_1_       = c._F_C10_1_;
            e._F_C20_1_       = c._F_C20_1_;
            e._F_C50_1_       = c._F_C50_1_;
            e._F_C100_1_      = c._F_C100_1_;
            e._F_C200_1_      = c._F_C200_1_;
            e._F_B_2_         = c._F_B_2_;
            e._F_I_2_         = c._F_I_2_;
            e._F_L_2_         = c._F_L_2_;
            e._F_DT_2_        = c._F_DT_2_;
            e._F_N_2_         = c._F_N_2_;
            e._F_C5_2_        = c._F_C5_2_;
            e._F_C10_2_       = c._F_C10_2_;
            e._F_C20_2_       = c._F_C20_2_;
            e._F_C50_2_       = c._F_C50_2_;
            e._F_B_3_         = c._F_B_3_;
            e._F_I_3_         = c._F_I_3_;
            e._F_L_3_         = c._F_L_3_;
            e._F_DT_3_        = c._F_DT_3_;
            e._F_N_3_         = c._F_N_3_;
            e._F_C5_3_        = c._F_C5_3_;
            e._F_C10_3_       = c._F_C10_3_;
            e._F_C20_3_       = c._F_C20_3_;
            e._F_C50_3_       = c._F_C50_3_;
            e._F_B_4_         = c._F_B_4_;
            e._F_I_4_         = c._F_I_4_;
            e._F_L_4_         = c._F_L_4_;
            e._F_DT_4_        = c._F_DT_4_;
            e._F_N_4_         = c._F_N_4_;
            e._F_C5_4_        = c._F_C5_4_;
            e._F_C10_4_       = c._F_C10_4_;
            e._F_C20_4_       = c._F_C20_4_;
            e._F_C50_4_       = c._F_C50_4_;
            e.Active          = c.Active;
            e.CommandId       = c.CommandId;


            e.CreatedBy = (string)c.RequesterId;
            e.CreatedAt = ApplicationContext.Current.TimestampService.Now <DateTime>();
            var version = c.Version;


            return(e);
        }
Ejemplo n.º 7
0
        public virtual void Create(ICreateAttributeSetInstance c)
        {
            IAttributeSetInstanceStateCreated e = Map(c);

            Apply(e);
        }
        public virtual AttributeSetInstanceStateCreatedDto ToAttributeSetInstanceStateCreatedDto(IAttributeSetInstanceStateCreated e)
        {
            var dto = new AttributeSetInstanceStateCreatedDto();

            dto.StateEventId   = new AttributeSetInstanceStateEventIdDtoWrapper(e.StateEventId);
            dto.CreatedAt      = e.CreatedAt;
            dto.CreatedBy      = e.CreatedBy;
            dto.CommandId      = e.CommandId;
            dto.AttributeSetId = e.AttributeSetId;
            dto.OrganizationId = e.OrganizationId;
            dto.ReferenceId    = e.ReferenceId;
            dto.SerialNumber   = e.SerialNumber;
            dto.Lot            = e.Lot;
            dto.Description    = e.Description;
            dto.Hash           = e.Hash;
            dto._F_B_0_        = e._F_B_0_;
            dto._F_I_0_        = e._F_I_0_;
            dto._F_L_0_        = e._F_L_0_;
            dto._F_DT_0_       = e._F_DT_0_;
            dto._F_N_0_        = e._F_N_0_;
            dto._F_C5_0_       = e._F_C5_0_;
            dto._F_C10_0_      = e._F_C10_0_;
            dto._F_C20_0_      = e._F_C20_0_;
            dto._F_C50_0_      = e._F_C50_0_;
            dto._F_C100_0_     = e._F_C100_0_;
            dto._F_C200_0_     = e._F_C200_0_;
            dto._F_C500_0_     = e._F_C500_0_;
            dto._F_C1000_0_    = e._F_C1000_0_;
            dto._F_B_1_        = e._F_B_1_;
            dto._F_I_1_        = e._F_I_1_;
            dto._F_L_1_        = e._F_L_1_;
            dto._F_DT_1_       = e._F_DT_1_;
            dto._F_N_1_        = e._F_N_1_;
            dto._F_C5_1_       = e._F_C5_1_;
            dto._F_C10_1_      = e._F_C10_1_;
            dto._F_C20_1_      = e._F_C20_1_;
            dto._F_C50_1_      = e._F_C50_1_;
            dto._F_C100_1_     = e._F_C100_1_;
            dto._F_C200_1_     = e._F_C200_1_;
            dto._F_C500_1_     = e._F_C500_1_;
            dto._F_C1000_1_    = e._F_C1000_1_;
            dto._F_B_2_        = e._F_B_2_;
            dto._F_I_2_        = e._F_I_2_;
            dto._F_L_2_        = e._F_L_2_;
            dto._F_DT_2_       = e._F_DT_2_;
            dto._F_N_2_        = e._F_N_2_;
            dto._F_C5_2_       = e._F_C5_2_;
            dto._F_C10_2_      = e._F_C10_2_;
            dto._F_C20_2_      = e._F_C20_2_;
            dto._F_C50_2_      = e._F_C50_2_;
            dto._F_C100_2_     = e._F_C100_2_;
            dto._F_C200_2_     = e._F_C200_2_;
            dto._F_C500_2_     = e._F_C500_2_;
            dto._F_C1000_2_    = e._F_C1000_2_;
            dto._F_B_3_        = e._F_B_3_;
            dto._F_I_3_        = e._F_I_3_;
            dto._F_L_3_        = e._F_L_3_;
            dto._F_DT_3_       = e._F_DT_3_;
            dto._F_N_3_        = e._F_N_3_;
            dto._F_C5_3_       = e._F_C5_3_;
            dto._F_C10_3_      = e._F_C10_3_;
            dto._F_C20_3_      = e._F_C20_3_;
            dto._F_C50_3_      = e._F_C50_3_;
            dto._F_C100_3_     = e._F_C100_3_;
            dto._F_C200_3_     = e._F_C200_3_;
            dto._F_C500_3_     = e._F_C500_3_;
            dto._F_C1000_3_    = e._F_C1000_3_;
            dto._F_B_4_        = e._F_B_4_;
            dto._F_I_4_        = e._F_I_4_;
            dto._F_L_4_        = e._F_L_4_;
            dto._F_DT_4_       = e._F_DT_4_;
            dto._F_N_4_        = e._F_N_4_;
            dto._F_C5_4_       = e._F_C5_4_;
            dto._F_C10_4_      = e._F_C10_4_;
            dto._F_C20_4_      = e._F_C20_4_;
            dto._F_C50_4_      = e._F_C50_4_;
            dto._F_C100_4_     = e._F_C100_4_;
            dto._F_C200_4_     = e._F_C200_4_;
            dto._F_C500_4_     = e._F_C500_4_;
            dto._F_C1000_4_    = e._F_C1000_4_;
            dto._F_B_5_        = e._F_B_5_;
            dto._F_I_5_        = e._F_I_5_;
            dto._F_L_5_        = e._F_L_5_;
            dto._F_DT_5_       = e._F_DT_5_;
            dto._F_N_5_        = e._F_N_5_;
            dto._F_C5_5_       = e._F_C5_5_;
            dto._F_C10_5_      = e._F_C10_5_;
            dto._F_C20_5_      = e._F_C20_5_;
            dto._F_C50_5_      = e._F_C50_5_;
            dto._F_C100_5_     = e._F_C100_5_;
            dto._F_C200_5_     = e._F_C200_5_;
            dto._F_C500_5_     = e._F_C500_5_;
            dto._F_B_6_        = e._F_B_6_;
            dto._F_I_6_        = e._F_I_6_;
            dto._F_L_6_        = e._F_L_6_;
            dto._F_DT_6_       = e._F_DT_6_;
            dto._F_N_6_        = e._F_N_6_;
            dto._F_C5_6_       = e._F_C5_6_;
            dto._F_C10_6_      = e._F_C10_6_;
            dto._F_C20_6_      = e._F_C20_6_;
            dto._F_C50_6_      = e._F_C50_6_;
            dto._F_C100_6_     = e._F_C100_6_;
            dto._F_C200_6_     = e._F_C200_6_;
            dto._F_C500_6_     = e._F_C500_6_;
            dto._F_B_7_        = e._F_B_7_;
            dto._F_I_7_        = e._F_I_7_;
            dto._F_L_7_        = e._F_L_7_;
            dto._F_DT_7_       = e._F_DT_7_;
            dto._F_N_7_        = e._F_N_7_;
            dto._F_C5_7_       = e._F_C5_7_;
            dto._F_C10_7_      = e._F_C10_7_;
            dto._F_C20_7_      = e._F_C20_7_;
            dto._F_C50_7_      = e._F_C50_7_;
            dto._F_C100_7_     = e._F_C100_7_;
            dto._F_C200_7_     = e._F_C200_7_;
            dto._F_C500_7_     = e._F_C500_7_;
            dto._F_B_8_        = e._F_B_8_;
            dto._F_I_8_        = e._F_I_8_;
            dto._F_L_8_        = e._F_L_8_;
            dto._F_DT_8_       = e._F_DT_8_;
            dto._F_N_8_        = e._F_N_8_;
            dto._F_C5_8_       = e._F_C5_8_;
            dto._F_C10_8_      = e._F_C10_8_;
            dto._F_C20_8_      = e._F_C20_8_;
            dto._F_C50_8_      = e._F_C50_8_;
            dto._F_C100_8_     = e._F_C100_8_;
            dto._F_C200_8_     = e._F_C200_8_;
            dto._F_C500_8_     = e._F_C500_8_;
            dto._F_B_9_        = e._F_B_9_;
            dto._F_I_9_        = e._F_I_9_;
            dto._F_L_9_        = e._F_L_9_;
            dto._F_DT_9_       = e._F_DT_9_;
            dto._F_N_9_        = e._F_N_9_;
            dto._F_C5_9_       = e._F_C5_9_;
            dto._F_C10_9_      = e._F_C10_9_;
            dto._F_C20_9_      = e._F_C20_9_;
            dto._F_C50_9_      = e._F_C50_9_;
            dto._F_C100_9_     = e._F_C100_9_;
            dto._F_C200_9_     = e._F_C200_9_;
            dto._F_C500_9_     = e._F_C500_9_;
            dto._F_B_10_       = e._F_B_10_;
            dto._F_I_10_       = e._F_I_10_;
            dto._F_L_10_       = e._F_L_10_;
            dto._F_DT_10_      = e._F_DT_10_;
            dto._F_N_10_       = e._F_N_10_;
            dto._F_C5_10_      = e._F_C5_10_;
            dto._F_C10_10_     = e._F_C10_10_;
            dto._F_C20_10_     = e._F_C20_10_;
            dto._F_C50_10_     = e._F_C50_10_;
            dto._F_C100_10_    = e._F_C100_10_;
            dto._F_C200_10_    = e._F_C200_10_;
            dto._F_B_11_       = e._F_B_11_;
            dto._F_I_11_       = e._F_I_11_;
            dto._F_L_11_       = e._F_L_11_;
            dto._F_DT_11_      = e._F_DT_11_;
            dto._F_N_11_       = e._F_N_11_;
            dto._F_C5_11_      = e._F_C5_11_;
            dto._F_C10_11_     = e._F_C10_11_;
            dto._F_C20_11_     = e._F_C20_11_;
            dto._F_C50_11_     = e._F_C50_11_;
            dto._F_C100_11_    = e._F_C100_11_;
            dto._F_C200_11_    = e._F_C200_11_;
            dto._F_B_12_       = e._F_B_12_;
            dto._F_I_12_       = e._F_I_12_;
            dto._F_L_12_       = e._F_L_12_;
            dto._F_DT_12_      = e._F_DT_12_;
            dto._F_N_12_       = e._F_N_12_;
            dto._F_C5_12_      = e._F_C5_12_;
            dto._F_C10_12_     = e._F_C10_12_;
            dto._F_C20_12_     = e._F_C20_12_;
            dto._F_C50_12_     = e._F_C50_12_;
            dto._F_C100_12_    = e._F_C100_12_;
            dto._F_C200_12_    = e._F_C200_12_;
            dto._F_B_13_       = e._F_B_13_;
            dto._F_I_13_       = e._F_I_13_;
            dto._F_L_13_       = e._F_L_13_;
            dto._F_DT_13_      = e._F_DT_13_;
            dto._F_N_13_       = e._F_N_13_;
            dto._F_C5_13_      = e._F_C5_13_;
            dto._F_C10_13_     = e._F_C10_13_;
            dto._F_C20_13_     = e._F_C20_13_;
            dto._F_C50_13_     = e._F_C50_13_;
            dto._F_C100_13_    = e._F_C100_13_;
            dto._F_C200_13_    = e._F_C200_13_;
            dto._F_B_14_       = e._F_B_14_;
            dto._F_I_14_       = e._F_I_14_;
            dto._F_L_14_       = e._F_L_14_;
            dto._F_DT_14_      = e._F_DT_14_;
            dto._F_N_14_       = e._F_N_14_;
            dto._F_C5_14_      = e._F_C5_14_;
            dto._F_C10_14_     = e._F_C10_14_;
            dto._F_C20_14_     = e._F_C20_14_;
            dto._F_C50_14_     = e._F_C50_14_;
            dto._F_C100_14_    = e._F_C100_14_;
            dto._F_C200_14_    = e._F_C200_14_;
            dto._F_B_15_       = e._F_B_15_;
            dto._F_I_15_       = e._F_I_15_;
            dto._F_L_15_       = e._F_L_15_;
            dto._F_DT_15_      = e._F_DT_15_;
            dto._F_N_15_       = e._F_N_15_;
            dto._F_C5_15_      = e._F_C5_15_;
            dto._F_C10_15_     = e._F_C10_15_;
            dto._F_C20_15_     = e._F_C20_15_;
            dto._F_C50_15_     = e._F_C50_15_;
            dto._F_C100_15_    = e._F_C100_15_;
            dto._F_C200_15_    = e._F_C200_15_;
            dto._F_B_16_       = e._F_B_16_;
            dto._F_I_16_       = e._F_I_16_;
            dto._F_L_16_       = e._F_L_16_;
            dto._F_DT_16_      = e._F_DT_16_;
            dto._F_N_16_       = e._F_N_16_;
            dto._F_C5_16_      = e._F_C5_16_;
            dto._F_C10_16_     = e._F_C10_16_;
            dto._F_C20_16_     = e._F_C20_16_;
            dto._F_C50_16_     = e._F_C50_16_;
            dto._F_C100_16_    = e._F_C100_16_;
            dto._F_C200_16_    = e._F_C200_16_;
            dto._F_B_17_       = e._F_B_17_;
            dto._F_I_17_       = e._F_I_17_;
            dto._F_L_17_       = e._F_L_17_;
            dto._F_DT_17_      = e._F_DT_17_;
            dto._F_N_17_       = e._F_N_17_;
            dto._F_C5_17_      = e._F_C5_17_;
            dto._F_C10_17_     = e._F_C10_17_;
            dto._F_C20_17_     = e._F_C20_17_;
            dto._F_C50_17_     = e._F_C50_17_;
            dto._F_C100_17_    = e._F_C100_17_;
            dto._F_C200_17_    = e._F_C200_17_;
            dto._F_B_18_       = e._F_B_18_;
            dto._F_I_18_       = e._F_I_18_;
            dto._F_L_18_       = e._F_L_18_;
            dto._F_DT_18_      = e._F_DT_18_;
            dto._F_N_18_       = e._F_N_18_;
            dto._F_C5_18_      = e._F_C5_18_;
            dto._F_C10_18_     = e._F_C10_18_;
            dto._F_C20_18_     = e._F_C20_18_;
            dto._F_C50_18_     = e._F_C50_18_;
            dto._F_C100_18_    = e._F_C100_18_;
            dto._F_C200_18_    = e._F_C200_18_;
            dto._F_B_19_       = e._F_B_19_;
            dto._F_I_19_       = e._F_I_19_;
            dto._F_L_19_       = e._F_L_19_;
            dto._F_DT_19_      = e._F_DT_19_;
            dto._F_N_19_       = e._F_N_19_;
            dto._F_C5_19_      = e._F_C5_19_;
            dto._F_C10_19_     = e._F_C10_19_;
            dto._F_C20_19_     = e._F_C20_19_;
            dto._F_C50_19_     = e._F_C50_19_;
            dto._F_C100_19_    = e._F_C100_19_;
            dto._F_C200_19_    = e._F_C200_19_;
            dto._F_B_20_       = e._F_B_20_;
            dto._F_I_20_       = e._F_I_20_;
            dto._F_L_20_       = e._F_L_20_;
            dto._F_N_20_       = e._F_N_20_;
            dto._F_C5_20_      = e._F_C5_20_;
            dto._F_C10_20_     = e._F_C10_20_;
            dto._F_C20_20_     = e._F_C20_20_;
            dto._F_C50_20_     = e._F_C50_20_;
            dto._F_B_21_       = e._F_B_21_;
            dto._F_I_21_       = e._F_I_21_;
            dto._F_L_21_       = e._F_L_21_;
            dto._F_N_21_       = e._F_N_21_;
            dto._F_C5_21_      = e._F_C5_21_;
            dto._F_C10_21_     = e._F_C10_21_;
            dto._F_C20_21_     = e._F_C20_21_;
            dto._F_C50_21_     = e._F_C50_21_;
            dto._F_B_22_       = e._F_B_22_;
            dto._F_I_22_       = e._F_I_22_;
            dto._F_L_22_       = e._F_L_22_;
            dto._F_N_22_       = e._F_N_22_;
            dto._F_C5_22_      = e._F_C5_22_;
            dto._F_C10_22_     = e._F_C10_22_;
            dto._F_C20_22_     = e._F_C20_22_;
            dto._F_C50_22_     = e._F_C50_22_;
            dto._F_B_23_       = e._F_B_23_;
            dto._F_I_23_       = e._F_I_23_;
            dto._F_L_23_       = e._F_L_23_;
            dto._F_N_23_       = e._F_N_23_;
            dto._F_C5_23_      = e._F_C5_23_;
            dto._F_C10_23_     = e._F_C10_23_;
            dto._F_C20_23_     = e._F_C20_23_;
            dto._F_C50_23_     = e._F_C50_23_;
            dto._F_B_24_       = e._F_B_24_;
            dto._F_I_24_       = e._F_I_24_;
            dto._F_L_24_       = e._F_L_24_;
            dto._F_N_24_       = e._F_N_24_;
            dto._F_C5_24_      = e._F_C5_24_;
            dto._F_C10_24_     = e._F_C10_24_;
            dto._F_C20_24_     = e._F_C20_24_;
            dto._F_C50_24_     = e._F_C50_24_;
            dto._F_B_25_       = e._F_B_25_;
            dto._F_I_25_       = e._F_I_25_;
            dto._F_L_25_       = e._F_L_25_;
            dto._F_N_25_       = e._F_N_25_;
            dto._F_C5_25_      = e._F_C5_25_;
            dto._F_C10_25_     = e._F_C10_25_;
            dto._F_C20_25_     = e._F_C20_25_;
            dto._F_C50_25_     = e._F_C50_25_;
            dto._F_B_26_       = e._F_B_26_;
            dto._F_I_26_       = e._F_I_26_;
            dto._F_L_26_       = e._F_L_26_;
            dto._F_N_26_       = e._F_N_26_;
            dto._F_C5_26_      = e._F_C5_26_;
            dto._F_C10_26_     = e._F_C10_26_;
            dto._F_C20_26_     = e._F_C20_26_;
            dto._F_C50_26_     = e._F_C50_26_;
            dto._F_B_27_       = e._F_B_27_;
            dto._F_I_27_       = e._F_I_27_;
            dto._F_L_27_       = e._F_L_27_;
            dto._F_N_27_       = e._F_N_27_;
            dto._F_C5_27_      = e._F_C5_27_;
            dto._F_C10_27_     = e._F_C10_27_;
            dto._F_C20_27_     = e._F_C20_27_;
            dto._F_C50_27_     = e._F_C50_27_;
            dto._F_B_28_       = e._F_B_28_;
            dto._F_I_28_       = e._F_I_28_;
            dto._F_L_28_       = e._F_L_28_;
            dto._F_N_28_       = e._F_N_28_;
            dto._F_C5_28_      = e._F_C5_28_;
            dto._F_C10_28_     = e._F_C10_28_;
            dto._F_C20_28_     = e._F_C20_28_;
            dto._F_C50_28_     = e._F_C50_28_;
            dto._F_B_29_       = e._F_B_29_;
            dto._F_I_29_       = e._F_I_29_;
            dto._F_L_29_       = e._F_L_29_;
            dto._F_N_29_       = e._F_N_29_;
            dto._F_C5_29_      = e._F_C5_29_;
            dto._F_C10_29_     = e._F_C10_29_;
            dto._F_C20_29_     = e._F_C20_29_;
            dto._F_C50_29_     = e._F_C50_29_;
            dto._F_B_30_       = e._F_B_30_;
            dto._F_I_30_       = e._F_I_30_;
            dto._F_N_30_       = e._F_N_30_;
            dto._F_C5_30_      = e._F_C5_30_;
            dto._F_C10_30_     = e._F_C10_30_;
            dto._F_C20_30_     = e._F_C20_30_;
            dto._F_C50_30_     = e._F_C50_30_;
            dto._F_B_31_       = e._F_B_31_;
            dto._F_I_31_       = e._F_I_31_;
            dto._F_N_31_       = e._F_N_31_;
            dto._F_C5_31_      = e._F_C5_31_;
            dto._F_C10_31_     = e._F_C10_31_;
            dto._F_C20_31_     = e._F_C20_31_;
            dto._F_C50_31_     = e._F_C50_31_;
            dto._F_B_32_       = e._F_B_32_;
            dto._F_I_32_       = e._F_I_32_;
            dto._F_N_32_       = e._F_N_32_;
            dto._F_C5_32_      = e._F_C5_32_;
            dto._F_C10_32_     = e._F_C10_32_;
            dto._F_C20_32_     = e._F_C20_32_;
            dto._F_C50_32_     = e._F_C50_32_;
            dto._F_B_33_       = e._F_B_33_;
            dto._F_I_33_       = e._F_I_33_;
            dto._F_N_33_       = e._F_N_33_;
            dto._F_C5_33_      = e._F_C5_33_;
            dto._F_C10_33_     = e._F_C10_33_;
            dto._F_C20_33_     = e._F_C20_33_;
            dto._F_C50_33_     = e._F_C50_33_;
            dto._F_B_34_       = e._F_B_34_;
            dto._F_I_34_       = e._F_I_34_;
            dto._F_N_34_       = e._F_N_34_;
            dto._F_C5_34_      = e._F_C5_34_;
            dto._F_C10_34_     = e._F_C10_34_;
            dto._F_C20_34_     = e._F_C20_34_;
            dto._F_C50_34_     = e._F_C50_34_;
            dto._F_B_35_       = e._F_B_35_;
            dto._F_I_35_       = e._F_I_35_;
            dto._F_N_35_       = e._F_N_35_;
            dto._F_C5_35_      = e._F_C5_35_;
            dto._F_C10_35_     = e._F_C10_35_;
            dto._F_C20_35_     = e._F_C20_35_;
            dto._F_C50_35_     = e._F_C50_35_;
            dto._F_B_36_       = e._F_B_36_;
            dto._F_I_36_       = e._F_I_36_;
            dto._F_N_36_       = e._F_N_36_;
            dto._F_C5_36_      = e._F_C5_36_;
            dto._F_C10_36_     = e._F_C10_36_;
            dto._F_C20_36_     = e._F_C20_36_;
            dto._F_C50_36_     = e._F_C50_36_;
            dto._F_B_37_       = e._F_B_37_;
            dto._F_I_37_       = e._F_I_37_;
            dto._F_N_37_       = e._F_N_37_;
            dto._F_C5_37_      = e._F_C5_37_;
            dto._F_C10_37_     = e._F_C10_37_;
            dto._F_C20_37_     = e._F_C20_37_;
            dto._F_C50_37_     = e._F_C50_37_;
            dto._F_B_38_       = e._F_B_38_;
            dto._F_I_38_       = e._F_I_38_;
            dto._F_N_38_       = e._F_N_38_;
            dto._F_C5_38_      = e._F_C5_38_;
            dto._F_C10_38_     = e._F_C10_38_;
            dto._F_C20_38_     = e._F_C20_38_;
            dto._F_C50_38_     = e._F_C50_38_;
            dto._F_B_39_       = e._F_B_39_;
            dto._F_I_39_       = e._F_I_39_;
            dto._F_N_39_       = e._F_N_39_;
            dto._F_C5_39_      = e._F_C5_39_;
            dto._F_C10_39_     = e._F_C10_39_;
            dto._F_C20_39_     = e._F_C20_39_;
            dto._F_C50_39_     = e._F_C50_39_;
            dto._F_B_40_       = e._F_B_40_;
            dto._F_I_40_       = e._F_I_40_;
            dto._F_N_40_       = e._F_N_40_;
            dto._F_C5_40_      = e._F_C5_40_;
            dto._F_C10_40_     = e._F_C10_40_;
            dto._F_C20_40_     = e._F_C20_40_;
            dto._F_C50_40_     = e._F_C50_40_;
            dto._F_B_41_       = e._F_B_41_;
            dto._F_I_41_       = e._F_I_41_;
            dto._F_N_41_       = e._F_N_41_;
            dto._F_C5_41_      = e._F_C5_41_;
            dto._F_C10_41_     = e._F_C10_41_;
            dto._F_C20_41_     = e._F_C20_41_;
            dto._F_C50_41_     = e._F_C50_41_;
            dto._F_B_42_       = e._F_B_42_;
            dto._F_I_42_       = e._F_I_42_;
            dto._F_N_42_       = e._F_N_42_;
            dto._F_C5_42_      = e._F_C5_42_;
            dto._F_C10_42_     = e._F_C10_42_;
            dto._F_C20_42_     = e._F_C20_42_;
            dto._F_C50_42_     = e._F_C50_42_;
            dto._F_B_43_       = e._F_B_43_;
            dto._F_I_43_       = e._F_I_43_;
            dto._F_N_43_       = e._F_N_43_;
            dto._F_C5_43_      = e._F_C5_43_;
            dto._F_C10_43_     = e._F_C10_43_;
            dto._F_C20_43_     = e._F_C20_43_;
            dto._F_C50_43_     = e._F_C50_43_;
            dto._F_B_44_       = e._F_B_44_;
            dto._F_I_44_       = e._F_I_44_;
            dto._F_N_44_       = e._F_N_44_;
            dto._F_C5_44_      = e._F_C5_44_;
            dto._F_C10_44_     = e._F_C10_44_;
            dto._F_C20_44_     = e._F_C20_44_;
            dto._F_C50_44_     = e._F_C50_44_;
            dto._F_B_45_       = e._F_B_45_;
            dto._F_I_45_       = e._F_I_45_;
            dto._F_N_45_       = e._F_N_45_;
            dto._F_C5_45_      = e._F_C5_45_;
            dto._F_C10_45_     = e._F_C10_45_;
            dto._F_C20_45_     = e._F_C20_45_;
            dto._F_C50_45_     = e._F_C50_45_;
            dto._F_B_46_       = e._F_B_46_;
            dto._F_I_46_       = e._F_I_46_;
            dto._F_N_46_       = e._F_N_46_;
            dto._F_C5_46_      = e._F_C5_46_;
            dto._F_C10_46_     = e._F_C10_46_;
            dto._F_C20_46_     = e._F_C20_46_;
            dto._F_C50_46_     = e._F_C50_46_;
            dto._F_B_47_       = e._F_B_47_;
            dto._F_I_47_       = e._F_I_47_;
            dto._F_N_47_       = e._F_N_47_;
            dto._F_C5_47_      = e._F_C5_47_;
            dto._F_C10_47_     = e._F_C10_47_;
            dto._F_C20_47_     = e._F_C20_47_;
            dto._F_C50_47_     = e._F_C50_47_;
            dto._F_B_48_       = e._F_B_48_;
            dto._F_I_48_       = e._F_I_48_;
            dto._F_N_48_       = e._F_N_48_;
            dto._F_C5_48_      = e._F_C5_48_;
            dto._F_C10_48_     = e._F_C10_48_;
            dto._F_C20_48_     = e._F_C20_48_;
            dto._F_C50_48_     = e._F_C50_48_;
            dto._F_B_49_       = e._F_B_49_;
            dto._F_I_49_       = e._F_I_49_;
            dto._F_N_49_       = e._F_N_49_;
            dto._F_C5_49_      = e._F_C5_49_;
            dto._F_C10_49_     = e._F_C10_49_;
            dto._F_C20_49_     = e._F_C20_49_;
            dto._F_C50_49_     = e._F_C50_49_;
            dto.Active         = e.Active;
            return(dto);
        }
        protected virtual IAttributeSetInstanceStateCreated Map(ICreateAttributeSetInstance c)
        {
            var stateEventId = new AttributeSetInstanceStateEventId(c.AttributeSetInstanceId, c.Version);
            IAttributeSetInstanceStateCreated e = NewAttributeSetInstanceStateCreated(stateEventId);

            e.AttributeSetId = c.AttributeSetId;
            e.OrganizationId = c.OrganizationId;
            e.ReferenceId    = c.ReferenceId;
            e.SerialNumber   = c.SerialNumber;
            e.Lot            = c.Lot;
            e.Description    = c.Description;
            e.Hash           = c.Hash;
            e._F_B_0_        = c._F_B_0_;
            e._F_I_0_        = c._F_I_0_;
            e._F_L_0_        = c._F_L_0_;
            e._F_DT_0_       = c._F_DT_0_;
            e._F_N_0_        = c._F_N_0_;
            e._F_C5_0_       = c._F_C5_0_;
            e._F_C10_0_      = c._F_C10_0_;
            e._F_C20_0_      = c._F_C20_0_;
            e._F_C50_0_      = c._F_C50_0_;
            e._F_C100_0_     = c._F_C100_0_;
            e._F_C200_0_     = c._F_C200_0_;
            e._F_C500_0_     = c._F_C500_0_;
            e._F_C1000_0_    = c._F_C1000_0_;
            e._F_B_1_        = c._F_B_1_;
            e._F_I_1_        = c._F_I_1_;
            e._F_L_1_        = c._F_L_1_;
            e._F_DT_1_       = c._F_DT_1_;
            e._F_N_1_        = c._F_N_1_;
            e._F_C5_1_       = c._F_C5_1_;
            e._F_C10_1_      = c._F_C10_1_;
            e._F_C20_1_      = c._F_C20_1_;
            e._F_C50_1_      = c._F_C50_1_;
            e._F_C100_1_     = c._F_C100_1_;
            e._F_C200_1_     = c._F_C200_1_;
            e._F_C500_1_     = c._F_C500_1_;
            e._F_C1000_1_    = c._F_C1000_1_;
            e._F_B_2_        = c._F_B_2_;
            e._F_I_2_        = c._F_I_2_;
            e._F_L_2_        = c._F_L_2_;
            e._F_DT_2_       = c._F_DT_2_;
            e._F_N_2_        = c._F_N_2_;
            e._F_C5_2_       = c._F_C5_2_;
            e._F_C10_2_      = c._F_C10_2_;
            e._F_C20_2_      = c._F_C20_2_;
            e._F_C50_2_      = c._F_C50_2_;
            e._F_C100_2_     = c._F_C100_2_;
            e._F_C200_2_     = c._F_C200_2_;
            e._F_C500_2_     = c._F_C500_2_;
            e._F_C1000_2_    = c._F_C1000_2_;
            e._F_B_3_        = c._F_B_3_;
            e._F_I_3_        = c._F_I_3_;
            e._F_L_3_        = c._F_L_3_;
            e._F_DT_3_       = c._F_DT_3_;
            e._F_N_3_        = c._F_N_3_;
            e._F_C5_3_       = c._F_C5_3_;
            e._F_C10_3_      = c._F_C10_3_;
            e._F_C20_3_      = c._F_C20_3_;
            e._F_C50_3_      = c._F_C50_3_;
            e._F_C100_3_     = c._F_C100_3_;
            e._F_C200_3_     = c._F_C200_3_;
            e._F_C500_3_     = c._F_C500_3_;
            e._F_C1000_3_    = c._F_C1000_3_;
            e._F_B_4_        = c._F_B_4_;
            e._F_I_4_        = c._F_I_4_;
            e._F_L_4_        = c._F_L_4_;
            e._F_DT_4_       = c._F_DT_4_;
            e._F_N_4_        = c._F_N_4_;
            e._F_C5_4_       = c._F_C5_4_;
            e._F_C10_4_      = c._F_C10_4_;
            e._F_C20_4_      = c._F_C20_4_;
            e._F_C50_4_      = c._F_C50_4_;
            e._F_C100_4_     = c._F_C100_4_;
            e._F_C200_4_     = c._F_C200_4_;
            e._F_C500_4_     = c._F_C500_4_;
            e._F_C1000_4_    = c._F_C1000_4_;
            e._F_B_5_        = c._F_B_5_;
            e._F_I_5_        = c._F_I_5_;
            e._F_L_5_        = c._F_L_5_;
            e._F_DT_5_       = c._F_DT_5_;
            e._F_N_5_        = c._F_N_5_;
            e._F_C5_5_       = c._F_C5_5_;
            e._F_C10_5_      = c._F_C10_5_;
            e._F_C20_5_      = c._F_C20_5_;
            e._F_C50_5_      = c._F_C50_5_;
            e._F_C100_5_     = c._F_C100_5_;
            e._F_C200_5_     = c._F_C200_5_;
            e._F_C500_5_     = c._F_C500_5_;
            e._F_B_6_        = c._F_B_6_;
            e._F_I_6_        = c._F_I_6_;
            e._F_L_6_        = c._F_L_6_;
            e._F_DT_6_       = c._F_DT_6_;
            e._F_N_6_        = c._F_N_6_;
            e._F_C5_6_       = c._F_C5_6_;
            e._F_C10_6_      = c._F_C10_6_;
            e._F_C20_6_      = c._F_C20_6_;
            e._F_C50_6_      = c._F_C50_6_;
            e._F_C100_6_     = c._F_C100_6_;
            e._F_C200_6_     = c._F_C200_6_;
            e._F_C500_6_     = c._F_C500_6_;
            e._F_B_7_        = c._F_B_7_;
            e._F_I_7_        = c._F_I_7_;
            e._F_L_7_        = c._F_L_7_;
            e._F_DT_7_       = c._F_DT_7_;
            e._F_N_7_        = c._F_N_7_;
            e._F_C5_7_       = c._F_C5_7_;
            e._F_C10_7_      = c._F_C10_7_;
            e._F_C20_7_      = c._F_C20_7_;
            e._F_C50_7_      = c._F_C50_7_;
            e._F_C100_7_     = c._F_C100_7_;
            e._F_C200_7_     = c._F_C200_7_;
            e._F_C500_7_     = c._F_C500_7_;
            e._F_B_8_        = c._F_B_8_;
            e._F_I_8_        = c._F_I_8_;
            e._F_L_8_        = c._F_L_8_;
            e._F_DT_8_       = c._F_DT_8_;
            e._F_N_8_        = c._F_N_8_;
            e._F_C5_8_       = c._F_C5_8_;
            e._F_C10_8_      = c._F_C10_8_;
            e._F_C20_8_      = c._F_C20_8_;
            e._F_C50_8_      = c._F_C50_8_;
            e._F_C100_8_     = c._F_C100_8_;
            e._F_C200_8_     = c._F_C200_8_;
            e._F_C500_8_     = c._F_C500_8_;
            e._F_B_9_        = c._F_B_9_;
            e._F_I_9_        = c._F_I_9_;
            e._F_L_9_        = c._F_L_9_;
            e._F_DT_9_       = c._F_DT_9_;
            e._F_N_9_        = c._F_N_9_;
            e._F_C5_9_       = c._F_C5_9_;
            e._F_C10_9_      = c._F_C10_9_;
            e._F_C20_9_      = c._F_C20_9_;
            e._F_C50_9_      = c._F_C50_9_;
            e._F_C100_9_     = c._F_C100_9_;
            e._F_C200_9_     = c._F_C200_9_;
            e._F_C500_9_     = c._F_C500_9_;
            e._F_B_10_       = c._F_B_10_;
            e._F_I_10_       = c._F_I_10_;
            e._F_L_10_       = c._F_L_10_;
            e._F_DT_10_      = c._F_DT_10_;
            e._F_N_10_       = c._F_N_10_;
            e._F_C5_10_      = c._F_C5_10_;
            e._F_C10_10_     = c._F_C10_10_;
            e._F_C20_10_     = c._F_C20_10_;
            e._F_C50_10_     = c._F_C50_10_;
            e._F_C100_10_    = c._F_C100_10_;
            e._F_C200_10_    = c._F_C200_10_;
            e._F_B_11_       = c._F_B_11_;
            e._F_I_11_       = c._F_I_11_;
            e._F_L_11_       = c._F_L_11_;
            e._F_DT_11_      = c._F_DT_11_;
            e._F_N_11_       = c._F_N_11_;
            e._F_C5_11_      = c._F_C5_11_;
            e._F_C10_11_     = c._F_C10_11_;
            e._F_C20_11_     = c._F_C20_11_;
            e._F_C50_11_     = c._F_C50_11_;
            e._F_C100_11_    = c._F_C100_11_;
            e._F_C200_11_    = c._F_C200_11_;
            e._F_B_12_       = c._F_B_12_;
            e._F_I_12_       = c._F_I_12_;
            e._F_L_12_       = c._F_L_12_;
            e._F_DT_12_      = c._F_DT_12_;
            e._F_N_12_       = c._F_N_12_;
            e._F_C5_12_      = c._F_C5_12_;
            e._F_C10_12_     = c._F_C10_12_;
            e._F_C20_12_     = c._F_C20_12_;
            e._F_C50_12_     = c._F_C50_12_;
            e._F_C100_12_    = c._F_C100_12_;
            e._F_C200_12_    = c._F_C200_12_;
            e._F_B_13_       = c._F_B_13_;
            e._F_I_13_       = c._F_I_13_;
            e._F_L_13_       = c._F_L_13_;
            e._F_DT_13_      = c._F_DT_13_;
            e._F_N_13_       = c._F_N_13_;
            e._F_C5_13_      = c._F_C5_13_;
            e._F_C10_13_     = c._F_C10_13_;
            e._F_C20_13_     = c._F_C20_13_;
            e._F_C50_13_     = c._F_C50_13_;
            e._F_C100_13_    = c._F_C100_13_;
            e._F_C200_13_    = c._F_C200_13_;
            e._F_B_14_       = c._F_B_14_;
            e._F_I_14_       = c._F_I_14_;
            e._F_L_14_       = c._F_L_14_;
            e._F_DT_14_      = c._F_DT_14_;
            e._F_N_14_       = c._F_N_14_;
            e._F_C5_14_      = c._F_C5_14_;
            e._F_C10_14_     = c._F_C10_14_;
            e._F_C20_14_     = c._F_C20_14_;
            e._F_C50_14_     = c._F_C50_14_;
            e._F_C100_14_    = c._F_C100_14_;
            e._F_C200_14_    = c._F_C200_14_;
            e._F_B_15_       = c._F_B_15_;
            e._F_I_15_       = c._F_I_15_;
            e._F_L_15_       = c._F_L_15_;
            e._F_DT_15_      = c._F_DT_15_;
            e._F_N_15_       = c._F_N_15_;
            e._F_C5_15_      = c._F_C5_15_;
            e._F_C10_15_     = c._F_C10_15_;
            e._F_C20_15_     = c._F_C20_15_;
            e._F_C50_15_     = c._F_C50_15_;
            e._F_C100_15_    = c._F_C100_15_;
            e._F_C200_15_    = c._F_C200_15_;
            e._F_B_16_       = c._F_B_16_;
            e._F_I_16_       = c._F_I_16_;
            e._F_L_16_       = c._F_L_16_;
            e._F_DT_16_      = c._F_DT_16_;
            e._F_N_16_       = c._F_N_16_;
            e._F_C5_16_      = c._F_C5_16_;
            e._F_C10_16_     = c._F_C10_16_;
            e._F_C20_16_     = c._F_C20_16_;
            e._F_C50_16_     = c._F_C50_16_;
            e._F_C100_16_    = c._F_C100_16_;
            e._F_C200_16_    = c._F_C200_16_;
            e._F_B_17_       = c._F_B_17_;
            e._F_I_17_       = c._F_I_17_;
            e._F_L_17_       = c._F_L_17_;
            e._F_DT_17_      = c._F_DT_17_;
            e._F_N_17_       = c._F_N_17_;
            e._F_C5_17_      = c._F_C5_17_;
            e._F_C10_17_     = c._F_C10_17_;
            e._F_C20_17_     = c._F_C20_17_;
            e._F_C50_17_     = c._F_C50_17_;
            e._F_C100_17_    = c._F_C100_17_;
            e._F_C200_17_    = c._F_C200_17_;
            e._F_B_18_       = c._F_B_18_;
            e._F_I_18_       = c._F_I_18_;
            e._F_L_18_       = c._F_L_18_;
            e._F_DT_18_      = c._F_DT_18_;
            e._F_N_18_       = c._F_N_18_;
            e._F_C5_18_      = c._F_C5_18_;
            e._F_C10_18_     = c._F_C10_18_;
            e._F_C20_18_     = c._F_C20_18_;
            e._F_C50_18_     = c._F_C50_18_;
            e._F_C100_18_    = c._F_C100_18_;
            e._F_C200_18_    = c._F_C200_18_;
            e._F_B_19_       = c._F_B_19_;
            e._F_I_19_       = c._F_I_19_;
            e._F_L_19_       = c._F_L_19_;
            e._F_DT_19_      = c._F_DT_19_;
            e._F_N_19_       = c._F_N_19_;
            e._F_C5_19_      = c._F_C5_19_;
            e._F_C10_19_     = c._F_C10_19_;
            e._F_C20_19_     = c._F_C20_19_;
            e._F_C50_19_     = c._F_C50_19_;
            e._F_C100_19_    = c._F_C100_19_;
            e._F_C200_19_    = c._F_C200_19_;
            e._F_B_20_       = c._F_B_20_;
            e._F_I_20_       = c._F_I_20_;
            e._F_L_20_       = c._F_L_20_;
            e._F_N_20_       = c._F_N_20_;
            e._F_C5_20_      = c._F_C5_20_;
            e._F_C10_20_     = c._F_C10_20_;
            e._F_C20_20_     = c._F_C20_20_;
            e._F_C50_20_     = c._F_C50_20_;
            e._F_B_21_       = c._F_B_21_;
            e._F_I_21_       = c._F_I_21_;
            e._F_L_21_       = c._F_L_21_;
            e._F_N_21_       = c._F_N_21_;
            e._F_C5_21_      = c._F_C5_21_;
            e._F_C10_21_     = c._F_C10_21_;
            e._F_C20_21_     = c._F_C20_21_;
            e._F_C50_21_     = c._F_C50_21_;
            e._F_B_22_       = c._F_B_22_;
            e._F_I_22_       = c._F_I_22_;
            e._F_L_22_       = c._F_L_22_;
            e._F_N_22_       = c._F_N_22_;
            e._F_C5_22_      = c._F_C5_22_;
            e._F_C10_22_     = c._F_C10_22_;
            e._F_C20_22_     = c._F_C20_22_;
            e._F_C50_22_     = c._F_C50_22_;
            e._F_B_23_       = c._F_B_23_;
            e._F_I_23_       = c._F_I_23_;
            e._F_L_23_       = c._F_L_23_;
            e._F_N_23_       = c._F_N_23_;
            e._F_C5_23_      = c._F_C5_23_;
            e._F_C10_23_     = c._F_C10_23_;
            e._F_C20_23_     = c._F_C20_23_;
            e._F_C50_23_     = c._F_C50_23_;
            e._F_B_24_       = c._F_B_24_;
            e._F_I_24_       = c._F_I_24_;
            e._F_L_24_       = c._F_L_24_;
            e._F_N_24_       = c._F_N_24_;
            e._F_C5_24_      = c._F_C5_24_;
            e._F_C10_24_     = c._F_C10_24_;
            e._F_C20_24_     = c._F_C20_24_;
            e._F_C50_24_     = c._F_C50_24_;
            e._F_B_25_       = c._F_B_25_;
            e._F_I_25_       = c._F_I_25_;
            e._F_L_25_       = c._F_L_25_;
            e._F_N_25_       = c._F_N_25_;
            e._F_C5_25_      = c._F_C5_25_;
            e._F_C10_25_     = c._F_C10_25_;
            e._F_C20_25_     = c._F_C20_25_;
            e._F_C50_25_     = c._F_C50_25_;
            e._F_B_26_       = c._F_B_26_;
            e._F_I_26_       = c._F_I_26_;
            e._F_L_26_       = c._F_L_26_;
            e._F_N_26_       = c._F_N_26_;
            e._F_C5_26_      = c._F_C5_26_;
            e._F_C10_26_     = c._F_C10_26_;
            e._F_C20_26_     = c._F_C20_26_;
            e._F_C50_26_     = c._F_C50_26_;
            e._F_B_27_       = c._F_B_27_;
            e._F_I_27_       = c._F_I_27_;
            e._F_L_27_       = c._F_L_27_;
            e._F_N_27_       = c._F_N_27_;
            e._F_C5_27_      = c._F_C5_27_;
            e._F_C10_27_     = c._F_C10_27_;
            e._F_C20_27_     = c._F_C20_27_;
            e._F_C50_27_     = c._F_C50_27_;
            e._F_B_28_       = c._F_B_28_;
            e._F_I_28_       = c._F_I_28_;
            e._F_L_28_       = c._F_L_28_;
            e._F_N_28_       = c._F_N_28_;
            e._F_C5_28_      = c._F_C5_28_;
            e._F_C10_28_     = c._F_C10_28_;
            e._F_C20_28_     = c._F_C20_28_;
            e._F_C50_28_     = c._F_C50_28_;
            e._F_B_29_       = c._F_B_29_;
            e._F_I_29_       = c._F_I_29_;
            e._F_L_29_       = c._F_L_29_;
            e._F_N_29_       = c._F_N_29_;
            e._F_C5_29_      = c._F_C5_29_;
            e._F_C10_29_     = c._F_C10_29_;
            e._F_C20_29_     = c._F_C20_29_;
            e._F_C50_29_     = c._F_C50_29_;
            e._F_B_30_       = c._F_B_30_;
            e._F_I_30_       = c._F_I_30_;
            e._F_N_30_       = c._F_N_30_;
            e._F_C5_30_      = c._F_C5_30_;
            e._F_C10_30_     = c._F_C10_30_;
            e._F_C20_30_     = c._F_C20_30_;
            e._F_C50_30_     = c._F_C50_30_;
            e._F_B_31_       = c._F_B_31_;
            e._F_I_31_       = c._F_I_31_;
            e._F_N_31_       = c._F_N_31_;
            e._F_C5_31_      = c._F_C5_31_;
            e._F_C10_31_     = c._F_C10_31_;
            e._F_C20_31_     = c._F_C20_31_;
            e._F_C50_31_     = c._F_C50_31_;
            e._F_B_32_       = c._F_B_32_;
            e._F_I_32_       = c._F_I_32_;
            e._F_N_32_       = c._F_N_32_;
            e._F_C5_32_      = c._F_C5_32_;
            e._F_C10_32_     = c._F_C10_32_;
            e._F_C20_32_     = c._F_C20_32_;
            e._F_C50_32_     = c._F_C50_32_;
            e._F_B_33_       = c._F_B_33_;
            e._F_I_33_       = c._F_I_33_;
            e._F_N_33_       = c._F_N_33_;
            e._F_C5_33_      = c._F_C5_33_;
            e._F_C10_33_     = c._F_C10_33_;
            e._F_C20_33_     = c._F_C20_33_;
            e._F_C50_33_     = c._F_C50_33_;
            e._F_B_34_       = c._F_B_34_;
            e._F_I_34_       = c._F_I_34_;
            e._F_N_34_       = c._F_N_34_;
            e._F_C5_34_      = c._F_C5_34_;
            e._F_C10_34_     = c._F_C10_34_;
            e._F_C20_34_     = c._F_C20_34_;
            e._F_C50_34_     = c._F_C50_34_;
            e._F_B_35_       = c._F_B_35_;
            e._F_I_35_       = c._F_I_35_;
            e._F_N_35_       = c._F_N_35_;
            e._F_C5_35_      = c._F_C5_35_;
            e._F_C10_35_     = c._F_C10_35_;
            e._F_C20_35_     = c._F_C20_35_;
            e._F_C50_35_     = c._F_C50_35_;
            e._F_B_36_       = c._F_B_36_;
            e._F_I_36_       = c._F_I_36_;
            e._F_N_36_       = c._F_N_36_;
            e._F_C5_36_      = c._F_C5_36_;
            e._F_C10_36_     = c._F_C10_36_;
            e._F_C20_36_     = c._F_C20_36_;
            e._F_C50_36_     = c._F_C50_36_;
            e._F_B_37_       = c._F_B_37_;
            e._F_I_37_       = c._F_I_37_;
            e._F_N_37_       = c._F_N_37_;
            e._F_C5_37_      = c._F_C5_37_;
            e._F_C10_37_     = c._F_C10_37_;
            e._F_C20_37_     = c._F_C20_37_;
            e._F_C50_37_     = c._F_C50_37_;
            e._F_B_38_       = c._F_B_38_;
            e._F_I_38_       = c._F_I_38_;
            e._F_N_38_       = c._F_N_38_;
            e._F_C5_38_      = c._F_C5_38_;
            e._F_C10_38_     = c._F_C10_38_;
            e._F_C20_38_     = c._F_C20_38_;
            e._F_C50_38_     = c._F_C50_38_;
            e._F_B_39_       = c._F_B_39_;
            e._F_I_39_       = c._F_I_39_;
            e._F_N_39_       = c._F_N_39_;
            e._F_C5_39_      = c._F_C5_39_;
            e._F_C10_39_     = c._F_C10_39_;
            e._F_C20_39_     = c._F_C20_39_;
            e._F_C50_39_     = c._F_C50_39_;
            e._F_B_40_       = c._F_B_40_;
            e._F_I_40_       = c._F_I_40_;
            e._F_N_40_       = c._F_N_40_;
            e._F_C5_40_      = c._F_C5_40_;
            e._F_C10_40_     = c._F_C10_40_;
            e._F_C20_40_     = c._F_C20_40_;
            e._F_C50_40_     = c._F_C50_40_;
            e._F_B_41_       = c._F_B_41_;
            e._F_I_41_       = c._F_I_41_;
            e._F_N_41_       = c._F_N_41_;
            e._F_C5_41_      = c._F_C5_41_;
            e._F_C10_41_     = c._F_C10_41_;
            e._F_C20_41_     = c._F_C20_41_;
            e._F_C50_41_     = c._F_C50_41_;
            e._F_B_42_       = c._F_B_42_;
            e._F_I_42_       = c._F_I_42_;
            e._F_N_42_       = c._F_N_42_;
            e._F_C5_42_      = c._F_C5_42_;
            e._F_C10_42_     = c._F_C10_42_;
            e._F_C20_42_     = c._F_C20_42_;
            e._F_C50_42_     = c._F_C50_42_;
            e._F_B_43_       = c._F_B_43_;
            e._F_I_43_       = c._F_I_43_;
            e._F_N_43_       = c._F_N_43_;
            e._F_C5_43_      = c._F_C5_43_;
            e._F_C10_43_     = c._F_C10_43_;
            e._F_C20_43_     = c._F_C20_43_;
            e._F_C50_43_     = c._F_C50_43_;
            e._F_B_44_       = c._F_B_44_;
            e._F_I_44_       = c._F_I_44_;
            e._F_N_44_       = c._F_N_44_;
            e._F_C5_44_      = c._F_C5_44_;
            e._F_C10_44_     = c._F_C10_44_;
            e._F_C20_44_     = c._F_C20_44_;
            e._F_C50_44_     = c._F_C50_44_;
            e._F_B_45_       = c._F_B_45_;
            e._F_I_45_       = c._F_I_45_;
            e._F_N_45_       = c._F_N_45_;
            e._F_C5_45_      = c._F_C5_45_;
            e._F_C10_45_     = c._F_C10_45_;
            e._F_C20_45_     = c._F_C20_45_;
            e._F_C50_45_     = c._F_C50_45_;
            e._F_B_46_       = c._F_B_46_;
            e._F_I_46_       = c._F_I_46_;
            e._F_N_46_       = c._F_N_46_;
            e._F_C5_46_      = c._F_C5_46_;
            e._F_C10_46_     = c._F_C10_46_;
            e._F_C20_46_     = c._F_C20_46_;
            e._F_C50_46_     = c._F_C50_46_;
            e._F_B_47_       = c._F_B_47_;
            e._F_I_47_       = c._F_I_47_;
            e._F_N_47_       = c._F_N_47_;
            e._F_C5_47_      = c._F_C5_47_;
            e._F_C10_47_     = c._F_C10_47_;
            e._F_C20_47_     = c._F_C20_47_;
            e._F_C50_47_     = c._F_C50_47_;
            e._F_B_48_       = c._F_B_48_;
            e._F_I_48_       = c._F_I_48_;
            e._F_N_48_       = c._F_N_48_;
            e._F_C5_48_      = c._F_C5_48_;
            e._F_C10_48_     = c._F_C10_48_;
            e._F_C20_48_     = c._F_C20_48_;
            e._F_C50_48_     = c._F_C50_48_;
            e._F_B_49_       = c._F_B_49_;
            e._F_I_49_       = c._F_I_49_;
            e._F_N_49_       = c._F_N_49_;
            e._F_C5_49_      = c._F_C5_49_;
            e._F_C10_49_     = c._F_C10_49_;
            e._F_C20_49_     = c._F_C20_49_;
            e._F_C50_49_     = c._F_C50_49_;
            e.Active         = c.Active;
            e.CommandId      = c.CommandId;


            e.CreatedBy = (string)c.RequesterId;
            e.CreatedAt = DateTime.Now;
            var version = c.Version;


            return(e);
        }