/// <summary>
 /// Deprecated Method for adding a new object to the facturas EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTofacturas(factura factura)
 {
     base.AddObject("facturas", factura);
 }
 /// <summary>
 /// Create a new factura object.
 /// </summary>
 /// <param name="idfactura">Initial value of the idfactura property.</param>
 /// <param name="valorfactura">Initial value of the valorfactura property.</param>
 /// <param name="cedulacliente">Initial value of the cedulacliente property.</param>
 /// <param name="iddetallefactura">Initial value of the iddetallefactura property.</param>
 /// <param name="cedulaempleado">Initial value of the cedulaempleado property.</param>
 public static factura Createfactura(global::System.Int32 idfactura, global::System.Int32 valorfactura, global::System.String cedulacliente, global::System.Int32 iddetallefactura, global::System.String cedulaempleado)
 {
     factura factura = new factura();
     factura.idfactura = idfactura;
     factura.valorfactura = valorfactura;
     factura.cedulacliente = cedulacliente;
     factura.iddetallefactura = iddetallefactura;
     factura.cedulaempleado = cedulaempleado;
     return factura;
 }