/// <summary>
        /// Setzt die Werte des Formulares in der entity.
        /// </summary>
        /// <param name="dataProducer">Dataaccess Objekt eines Produzenten</param>
        private void setEntityWithFormData(ProducerDataAccess dataProducer)
        {
            this.entity.Description = this.RamDescription.Text.ToString();
            this.entity.ClockRate = double.Parse(this.RamClockRate.Text.Replace('.', ','));
            this.entity.Producer = dataProducer.GetEntityByName<Producer>("Firma", this.RamProducer.Text.ToString());

            if (this.RamStorageUnit.Text == "MB")
            {
                this.entity.Memory = ulong.Parse(this.RamStorage.Text);
            }
            else if (this.RamStorageUnit.Text == "GB")
            {
                this.entity.Memory = UnitConverter.ConvertToLower(Convert.ToDouble(this.RamStorage.Text));
            }
        }
        /// <summary>
        /// Setzt die Werte des Formulares in der entity.
        /// </summary>
        /// <param name="dataProducer">Dataaccess Objekt eines Produzenten</param>
        private void setEntityWithFormData(ProducerDataAccess dataProducer)
        {
            this.entity.Description = this.DiskDescription.Text;
            if (this.DiskCapacityUnit.Text == "MB")
            {
                this.entity.Capacity = Convert.ToUInt32(this.DiskCapacity.Text);
            }
            else if (this.DiskCapacityUnit.Text == "GB")
            {
                this.entity.Capacity = UnitConverter.ConvertToLower(Convert.ToUInt32(this.DiskCapacity.Text));
            }

            this.entity.Inch = Convert.ToDouble(this.DiskSize.Text.Replace('.', ','));
            this.entity.Ssd = Convert.ToBoolean(this.DiskType.IsChecked);
            this.entity.Producer = dataProducer.GetEntityByName<Producer>("Firma", this.DiskProducer.Text.ToString());
        }
 /// <summary>
 /// Setzt die Werte des Formulares in der entity.
 /// </summary>
 /// <param name="dataProducer">Dataaccess Objekt eines Produzenten</param>
 private void setEntityWithFormData(ProducerDataAccess dataProducer)
 {
     this.entity.Description = this.description.Text;
     this.entity.Resolution = this.resolution.Text;
     this.entity.Inch = double.Parse(this.inch.Text.Replace('.',','));
     this.entity.AspectRatio = this.aspectRatio.Text;
     this.entity.Producer = dataProducer.GetEntityByName<Producer>("Firma", this.producer.Text.ToString());
 }
 /// <summary>
 /// Setzt die Werte des Formulares in der entity.
 /// </summary>
 /// <param name="dataProducer">Dataaccess Objekt eines Produzenten</param>
 private void setEntityWithFormData(ProducerDataAccess dataProducer)
 {
     this.entity.Description = this.description.Text;
     this.entity.Inch = Convert.ToDouble(this.size.Text.Replace('.', ','));
     this.entity.Producer = dataProducer.GetEntityByName<Producer>("Firma", this.producer.Text.ToString());
     this.entity.Socket = this.socket.Text;
 }
 /// <summary>
 /// Setzt die Werte des Formulares in der entity.
 /// </summary>
 /// <param name="dataProducer">Dataaccess Objekt eines Produzenten</param>
 private void setEntityWithFormData(ProducerDataAccess dataProducer)
 {
     this.entity.Description = this.description.Text;
     this.entity.Model = this.model.Text;
     this.entity.Producer = dataProducer.GetEntityByName<Producer>("Firma", this.producer.Text.ToString());
     this.entity.CommandSet = this.commandSet.Text;
     this.entity.Architecture = uint.Parse(this.architecture.Text);
     this.entity.ClockRate = double.Parse(this.clockRate.Text.Replace(".", ","));
     this.entity.Core = uint.Parse(this.cores.Text);
 }