/// <summary> /// Create a new MedioPago object. /// </summary> /// <param name="idMedioPago">Initial value of the IdMedioPago property.</param> /// <param name="descripcion">Initial value of the Descripcion property.</param> /// <param name="fechaRegistro">Initial value of the fechaRegistro property.</param> /// <param name="estado">Initial value of the Estado property.</param> /// <param name="idEmpresa">Initial value of the IdEmpresa property.</param> /// <param name="idUsuario">Initial value of the IdUsuario property.</param> public static MedioPago CreateMedioPago(global::System.Int32 idMedioPago, global::System.String descripcion, global::System.DateTime fechaRegistro, global::System.Int32 estado, global::System.Int32 idEmpresa, global::System.Int32 idUsuario) { MedioPago medioPago = new MedioPago(); medioPago.IdMedioPago = idMedioPago; medioPago.Descripcion = descripcion; medioPago.fechaRegistro = fechaRegistro; medioPago.Estado = estado; medioPago.IdEmpresa = idEmpresa; medioPago.IdUsuario = idUsuario; return medioPago; }
/// <summary> /// Deprecated Method for adding a new object to the MedioPago EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMedioPago(MedioPago medioPago) { base.AddObject("MedioPago", medioPago); }