using System; namespace bdAsegasa.db { public partial class modificacionespolizasagrario { public double PorIncAge { get { return (this.previstasIncentivoAgente.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100; } } public double PorComAge { get { return (this.previstasComisionAgente.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100; } } public double PorIncAse { get { return (this.previstasIncentivoAsegasa.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100; } } public double PorComAse { get { return (this.previstasComisionAsegasa.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100; } } public double PorNifNue { get { return (this.previstasNIFNuevo.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100; } } public double PorTomPro { get { return (this.previstasTomadorPropio.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100; } } public double PorTotComPre { get { return (this.totalPrevistas.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100; } } } }