/// <summary> /// Create a new Percepcione object. /// </summary> /// <param name="codigoPercepcion">Initial value of the CodigoPercepcion property.</param> /// <param name="nombrePercepcion">Initial value of the NombrePercepcion property.</param> /// <param name="tipoPercepcion">Initial value of the TipoPercepcion property.</param> /// <param name="calculoFijo">Initial value of the CalculoFijo property.</param> /// <param name="usaCantidad">Initial value of the UsaCantidad property.</param> /// <param name="previsionSocial">Initial value of the PrevisionSocial property.</param> /// <param name="tope7SMAG">Initial value of the Tope7SMAG property.</param> /// <param name="activo">Initial value of the Activo property.</param> public static Percepcione CreatePercepcione(global::System.Int32 codigoPercepcion, global::System.String nombrePercepcion, global::System.String tipoPercepcion, global::System.String calculoFijo, global::System.String usaCantidad, global::System.String previsionSocial, global::System.String tope7SMAG, global::System.String activo) { Percepcione percepcione = new Percepcione(); percepcione.CodigoPercepcion = codigoPercepcion; percepcione.NombrePercepcion = nombrePercepcion; percepcione.TipoPercepcion = tipoPercepcion; percepcione.CalculoFijo = calculoFijo; percepcione.UsaCantidad = usaCantidad; percepcione.PrevisionSocial = previsionSocial; percepcione.Tope7SMAG = tope7SMAG; percepcione.Activo = activo; return percepcione; }
/// <summary> /// Deprecated Method for adding a new object to the Percepciones EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPercepciones(Percepcione percepcione) { base.AddObject("Percepciones", percepcione); }