/// <summary> /// Create a new HistoricoVotacion object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="id_muestra">Initial value of the id_muestra property.</param> /// <param name="tag">Initial value of the tag property.</param> /// <param name="unidadGeograficaIndex">Initial value of the unidadGeograficaIndex property.</param> /// <param name="unidadGeografica">Initial value of the unidadGeografica property.</param> /// <param name="pctChavismo">Initial value of the pctChavismo property.</param> /// <param name="pctOposicion">Initial value of the pctOposicion property.</param> /// <param name="pctOtros">Initial value of the pctOtros property.</param> public static HistoricoVotacion CreateHistoricoVotacion(global::System.Int32 id, global::System.Int32 id_muestra, global::System.String tag, global::System.Int32 unidadGeograficaIndex, global::System.String unidadGeografica, global::System.Double pctChavismo, global::System.Double pctOposicion, global::System.Double pctOtros) { HistoricoVotacion historicoVotacion = new HistoricoVotacion(); historicoVotacion.id = id; historicoVotacion.id_muestra = id_muestra; historicoVotacion.tag = tag; historicoVotacion.unidadGeograficaIndex = unidadGeograficaIndex; historicoVotacion.unidadGeografica = unidadGeografica; historicoVotacion.pctChavismo = pctChavismo; historicoVotacion.pctOposicion = pctOposicion; historicoVotacion.pctOtros = pctOtros; return historicoVotacion; }
/// <summary> /// Deprecated Method for adding a new object to the HistoricoVotacions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHistoricoVotacions(HistoricoVotacion historicoVotacion) { base.AddObject("HistoricoVotacions", historicoVotacion); }